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

Recurring Events and Message Passing

November 25, 2009 This article looks at a couple of approaches for implementing systems with recurring events using message-passing based concurrency (Erlang and Clojure are used in code snippets). In particular it looks at the ping-pong, circle, coordinator and gossip approaches to distributed communication.

Filed under actorserlangclojureagentsconcurrency

Scalable Scraping in Clojure

November 24, 2009 A fairly indepth tutorial which takes a look at using Clojure to extract data from webpages, using agents to process data, and a few other knickknacks.

Filed under screen-scrapingclojureagentsconcurrency