Irrational Exuberance!

Huge CSV and XML Files in Python

January 22, 2009 Quick walkthrough of my code for converting a very large CSV file into a very large XML file using the Python standard libraries. Despite a few issues along the way, was a very pleasant experience.

The Subtle Joys of Generic Methods

December 11, 2008 The object system in Common Lisp has something that almost no one else does: generic methods. Also called multi-methods, these allow a flexible and safe approach to dynamically adding functionality to a class at runtime. It's monkey patching without the monkey. When I write my programming language in a few decades, these are going to be there.

A Command Line Tool for Loading CouchDB Documents

December 9, 2008 This is a simple command line tool, implemented in Python, which makes it easy to use JSON and Python data structures as the data-source of CouchDB documents. Handles bulk and individual submission, and has a handful of command-line options (specify hostname, port, path, etc).

Parallel HTTP Requests in Python

December 2, 2008 Last week I was doing parallel HTTP Requests in PHP, and it seemed like a crying shame I was doing something in PHP that I had never figured out in Python. Like it often happens, it only takes a couple dozen lines to teach Python this new trick.

Python-Brightkite for... you get the idea

November 16, 2008 As the highly redundant title might lead one to expect, Python-Brightkite is a simple wrapper around Brightkite's restful API, and makes it straightforward to do most anything you can imagine from the safety of your Python console or scripts.