On git You can have multiple persons involved in a single git commit: an author and a committer.
The difference is explained by Manuel Doninger 1:
The author is the one who did the code change. The committer is the person who committed that change to a repository.
an example, by the same author:
Example: I’m not a committer in the EGit project, so i have no rights to push directly to the EGit repository at Eclipse.
Software and all that comes with it I’ve read these slides about creating software and asking questions to deliver value, by Alberto Brandolini
Tags: alberto-brandolini, software, slide, team-management, agile
Driving your DBA crazy in 3 easy steps I’ve read these slides about dealing with the knowledge that is present in the database, not expressed in ubiquitous language and cause of the low bus factor, by Alberto Brandolini
Analogy between the movie The Shining and a model / entities / aggregates.
Test cases in inner classes with JUnit I’ve read this answer in stackoverflow about nested test runners in JUnit
Tags: junit, stackoverflow, answer, nested-runner
Recording a Great Coding Screencast I’ve read this article by John Lindquist where he explains how he sets up the recording environment for egghead.
Tags: john-lindquist, record, screencast, egghead, code-screencast, record-video, video
React Testing Course I’ve watched the full course by Trevor D. Miller on how to test react components and the libraries to make it possible.
Books I’ve read this quarter1:
Practical Object-Oriented Design in Ruby, An Agile Primer (POODR) by Sandi Metz, with the ‘@deAprendices’s reading club’. Blog posts under the tag poodr. Books started, not yet finished (WIP):
Haskell Programming, By Chris Allen and Julie Moronuki. This book is still in progress and I’m reviewing it Pragmatic Thinking and Learning: Refactor Your Wetware by Andy Hunt Structure and Interpretation of Computer Programs by Abelson, Sussman, and Sussman, with the ‘@deAprendices’s reading club’.
At a client, we have CSVs of data that can be simplified to this 1:
(def data [ ["total" 6 8 13] ["0" 1 2 3] ["0" 2 0 4] ["0" 3 0 6] ]) In this case, some of the row named total is the sum of the rest of the rows, but only for some columns (second and fourth). We do not want to get rid of the columns, as they need to be printed at the end.
While on the REPL, I tried this:
simple.core=> (reduce and true [true]) CompilerException java.lang.RuntimeException: Can't take value of a macro: #'clojure.core/and, compiling:(form-init7116694665186998245.clj:1:1) Reading the clojuredocs for and, you can find this:
Note add is a macro, so you cannot apply it. For example, there is a vector of some Boolean values [true true false true], which you want to test to see if they are all true. The code below will not work: