Blog

  1. Profiling OCaml with gprof and jbuilder

    I am currently using OCaml for part of my research and ran into more trouble than expected when trying to profile my program. This post details step by step how to compile an OCaml program using dune(jbuilder) to profile the binary using gprof. …


  2. assertRaises in Python

    A friend asked me about Python unittest’s assertRaises and the answer was becoming too long for Slack, so I decided to write a short blog post about it. …


  3. What's coming in Elixir 1.3

    I recently gave a talk about Elixir 1.3 in Tokyo, and spoke about the changes, new features, improvements and all the awesome stuff coming in Elixir 1.3. I decided to write this as a blog post, with a little more details, and some links for those who want to check in more details. …


  4. Use Atom to edit in Chrome

    After GitHub added plenty of shortcuts to edit markdown in the browser, I had some problem editing directly, having all the native Emacs like shortcuts overridden. …


  5. Run commands only on git update with Ansible

    I have recently switched my automation workflow from Chef to Ansible, and just bumped into a simple issue. …


  6. Persistent history in Elixir repl IEx

    This post has been updated to take in account OTP 20 new features. …


  7. Image orientation bug with Picasso

    Short memo about an issue I just had some issue on Android with Picasso library when loading an image from a URI on KitKat. …


  8. Go serialization

    I have been using Golang to build some REST API recently, and I was having some trouble to serialize my data properly to JSON. …


  9. SSH invalid byte sequence

    Small memo about an issue I had with Chef knife and Capistrano commands. …


  10. Optional parameters and decorators in JavaScript

    Optional parameters is a widely used programming pattern and is available by default in many languages. For example, an example in Python could be: …