Recent Posts
Introducing ej, an Erlang JSON helper library
I wrote ej to make it easier to work with JSON in Erlang. There are a number of options available for parsing and encoding JSON in Erlang such as mochijson2, ejson, and jiffy. These libraries do a good job of serialization/deserialization, but don't p... more
Erlang Factory SF 2011
Erlang Factory did not disappoint. I've been wanting to attend an Erlang Factory conference since I started working with Erlang in 2009 and this year the stars aligned so that I could attend (thanks Opscode!). I had a great time putting faces to nam... more
Using RSA Public Keys in Erlang
This all started with an effort to make it easier to build Erlang-based services at work. I decided to port Opscode's mixlib-authentication library to Erlang (see chef_authn, if you're curious) and ran into some limitations of Erlang's public_key mod... more
Generating XML in Erlang Using xmerl
Here's a quick example of how to build XML documents in Erlang using xmerl. The basic idea is to first transform your data into xmerl's "simple" format of tagged tuples and then use xmerl:export_simple to generate the XML.The xmerl module's simple fo... more
Optimizing Nanoc Based Websites for Fun and Profit
One of the tasks that recently came my way at work was to improve the performance of a new nanoc-based website we will be rolling out soon. I went to YSlow and Page Speed (especially this) for advice and came up with some nice optimizations that can ... more
installing-homebrew-for-OSX
A little less than a year ago, I started managing open source packages on my OS X laptops using Homebrew. Since then, I've completely stopped using Fink and macports and happiness has ensued. If you are looking for a package manager for OSX, Homebrew... more
