Debugging Crashes With Small Scripts

January 23, 2010 Last week at work we ran into a fairly strange crashing bug. Writing a handful of simple scripts to test language/vm settings made it straightforward to debug a fairly confusing issue without trying to deal with the richness of a real application.

Filed under erlang

A Python-Markdown Extension for Embedding Graphviz

January 16, 2010 I use Markdown for most of my online writing, and also as the format for most of my personal notes. Since I also use Graphviz quite frequently, adding an extension to handle both seemed like a reasonable next step.

Filed under pythonmarkdown

Formatting Multipart Formdata in Erlang

January 10, 2010 I couldn't find a way to format multipart formdata in Erlang while including post fields and file data, so I went about copying a Python example into Erlang. It certainly isn't pretty, but is working well enough for me thus far.

Filed under erlang

A Photo Album with Python and PIL

January 4, 2010 I wanted to do a fairly mindless little scripting project after spending too much time on well documented and maintained code. It's important to let your hair down sometimes. In this project I use Python and the Python Imaging Library to create a simple photo album.

Filed under pythonpil

Refactoring & Testing Our Dynamo Clone

January 2, 2010 This third part of the series working on Dynamo works on refactoring the code thus far into something more workable. In particular we add unittests and convert the message-passing based implementation into an OTP gen_server.

Filed under erlangdistributed-systems

Quick Notes for Starting 2010

January 2, 2010 A few very brief notes on this and that to clear out some of my congested thoughts before getting focused on the technical writing that people actually read.

Crash on Compiling App With MKMapView

December 31, 2009 Quick note on how to resolve the crash immediately after launching an application which has adds a MapView via Interface Builder.

Filed under iphone

Nagios Monitoring for Erlang

December 30, 2009 A few notes about a short project to support active Nagios checks for Erlang nodes, applications and process groups.

Filed under erlang

Replicating receive-after in an Erlang gen_server

December 13, 2009 Very brief post on how to reproduce the behavior of receive-after in an Erlang gen_server. Useful for recurring tasks.

Filed under erlang

Durable Writes & Consistent Reads

December 1, 2009 In this second part in the "Hands On Review of the Dynamo Paper" we take a look at only acknowledging update to user after it has been written to multiple stores, and comparing read values from multiple sources to ensure consistent reads.

Filed under erlangdistributed-systems

Hands On Review of the Dynamo Paper

November 30, 2009 Instead of just listing off the myriad interesting ideas in the Amazon Dynamo paper, I decided it would be more interesting for both myself and readers to actually walk through implementing a distributed key-value store and incrementally evolve it using the ideas introduced in the Amazon Dynamo paper.

Filed under erlangdistributed-systems