Recent pages

The Subtle Joys of Generic Methods

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


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).

Full-Text Search in CouchDB Using... CouchDB


I spent a bit of time this past Sunday trying to figure out implementing a full-text search in CouchDB, without relying upon a secondary library like Lucene or Solr. In a very read way, I succeeded, but in an equally real way the success may not be particularly helpful in most situations.

Blogging as People


Looking at the Life articles, I realize that the last entry I wrote for it was also about blogging. Woops. Not trying to fixate, just getting the years blogging thoughts out of the way on a cold Saturday. As a bonus I actually edited an article for once.

Intro to HTTP::Server::Simple::CGI


A quick introduction to using HTTP::Server::Simple::CGI, which is a helpful Perl module on CPAN for creating a standalone web server.

Finally Waving The White Flag to Objective-C 2.0


I've been fighting a very private moral war against Objective-C 2.0 ever since it was released, but I've finally given in and as of a couple weeks ago all my new projects are being written with all the new syntactic sugar. This post looks at the small shoves that finally got me over the edge.

Fixing What Ails LifeFlow


I like LifeFlow. I like it a lot, you'd hope so, because I'm probably the only person who seriously uses it. That said, there are a number of issues that make it difficult to work with, and they need to be resolved before the blog platform is genuinely usable.

Prevent Cron Cancer With a File-based Mutex


For a recent work task I used the file-based mutex technique to prevent a Cron script from running two copies simultaniously. Although incredibly basic, I think it's a nice trick to add to the old toolbox.

Parallel HTTP Requests in Python


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.

Reading XML Files on the iPhone


Loading data from XML files can really clean up your iPhone applications, and the Objective-C code to do so is pretty easy once you figure out a couple of tricks and gotchas. This entry takes a look at how it's done.

All Rights Reserved, Will Larson 2007 - 2015.