Exponential Backoff with Java 8

Exponential backoff is an algorithm that uses feedback to multiplicatively decrease the rate of some process, in order to gradually find an acceptable rate. - Wikipedia

Elections, in Ruby

Updated with second round script in Oct 26, 2014.

Install JDK on OSX Yosemite


Java 8

Earlier this year, the new version of the Java Programming Language was released. Finally, it enters in the field of the “cool guys” with some features it should have since some years ago, like Lambdas.

Find the slowest tests of a Java project

I found that it’s pretty hard to have a project with high test coverage and fast build… if the tests are slow, people will feel the need to skip them to speed up the build, and will probably write less tests than they should, afraid that the build will became even slower. You go out for a walk and when you come back no one is running or writing tests anymore…