Jun 18, 2013

Git hooks may need to execute deployment actions they have no permissions for. Messaging provides a simple way to bridge that gap.

Oct 11, 2012

The RPC example that comes with the AMQP gem has all the dangly callback stuff on the outside; I thought I’d try to hide some of the loose ends. It’s pretty much standard EM+Fiber magic. I might try to further improve on it later on.

Aug 24, 2012

I’m using thin for several apps on my server, and the default init.d script only knows how to restart all of them at once, which obviously can sometimes be too drastic, so I hacked up a gentler version:

Jan 17, 2009

Suppose you’re running an Erlang application (ejabberd, for instance). It’s been up for months and months but then you try to use a remote control script (like ejabberdctl) and it fails, probably saying things like “nodedown”, indicating it cannot communicate with the Erlang node; yet the application itself is apparently running just fine. Running out of ideas, you run epmd -names and, to your horror, it shows an empty list.