Recent Posts

Have Your SHA and Bcrypt Too

archived 2014-02-17T11:08:04-08:00 in: ,

I've been putting off sharing this idea because I've heard the rumors about what happens to folks who aren't security experts when they post about security on the internet. If this blog is replaced with cat photos and rainbows, you'll know what happen... more

A Rebar Plugin for Locking Deps: Reproducible Erlang Project Builds For Fun and Profit

archived 2013-12-26T16:20:00Z in:

If you use rebar to generate an OTP release project and want to have reproducible builds, you need the rebar_lock_deps_plugin plugin. The plugin provides a lock-deps command that will generate a rebar.config.lock file containing the complete flattened... more

Introducing ej, an Erlang JSON helper library

archived 2012-06-16T05:00:00Z in:

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

archived 2011-03-28T15:00:00-07:00 in: ,

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

archived 2011-02-23T19:54:31-08:00 in: ,

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

archived 2011-02-16T21:54:17-08:00 in: ,

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