categories: Contribution Libre

Elixir amqp 1.2 et confirm handler

RabbitMq permet de recevoir des confirmations de ventilation des messages par l'exchange. Le client Elixir, amqp (> 1.2) permet d'attendre de manière bloquante ces confirmations, mais ne propose pas d'API pour enregistrer un handler. Ce qui m'a donné l'opportunité de faire cette…

Archlinux, Rmagick and HDRI

Earlier versions of Rmagick will not compile with newer version of imagemagick with --enable-hdri compilaton flag. The first recommandation would be to upgrade your library to the newest version (=< 2.13.3), but for some reasons it is not possible. If you are…

Airbrake fix

After installing airbrake gem my collection's request Rspec.specs stoped working as expected. I encounterd this error: RuntimeError: can't add a new key into hash during iteration Since Ruby 1.9(.3?) you cant modify Hash within iteration (even if they are ordered). After some hours spent…