Latest codinsanities
-
Push-based GenStage with acknowledgement
16 Nov 2019These days I wanted to have a strong grasp at the inner working of GenStage so that I could use it efficiently at work.
-
The joy of ActiveRecord
11 Apr 2016Today I’ve stumbled on a clearly annoying behavior of ActiveRecord. Basically the problem is that, when given a
long
as parameters for a timestamp in the constructor, it silently skips it and putnil
instead. -
Always specify the exception in RSpec
28 Feb 2016This week-end I’ve upgraded all tests (1000+) in one of my projects from old RSpec 2.14 to RSpec 3.4. I did this according to RSpec site. It went all good - except for CarrierWave tests, which relies on a deprecated protocol.
-
It's not about the language ...
19 Jan 2014I’ve been a Java programmer for the last seven years, I’ve mostly used it in a professional context. But when coding during my spare times I often looked at other programming languages, in no particular order : Python, Ruby, Groovy, Scala, Clojure, Erlang, Elixir, …
But why would I look anywhere else if I have such proficiency in Java ?
-
Gradle plugin for TestFlight
13 Sep 2013Since august I’ve got a new job. We are currently a team of three developers working on a client/server application. The server is developed in Rails. The client is developed on the Android platform.
A few months ago Google decided to use the excellent Gradle build system as its tool for building Android applications, instead of Ant + Ivy combo. I really see it as a huge improvement. I won’t discuss the pros and cons of Gradle here, there are plenty of resources on that topic on the web.Gradle makes it easy to add custom tasks and plugins, and that’s what I want to discuss here.