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

Filed under pythoncouchdb

Full-Text Search in CouchDB Using... CouchDB

December 8, 2008 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.

Filed under couchdb

Blogging as People

December 7, 2008 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.

Filed under writing

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

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

Filed under perl

Finally Waving The White Flag to Objective-C 2.0

December 4, 2008 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.

Filed under objc

Fixing What Ails LifeFlow

December 4, 2008 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.

Filed under lifeflow

Prevent Cron Cancer With a File-based Mutex

December 3, 2008 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.

Filed under perl

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.

Filed under python

Reading XML Files on the iPhone

November 30, 2008 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.

Filed under objciphone

A Different Approach to local_settings.py

November 28, 2008 A concise look at an alternative way to use local_settings.py with Django, which makes it possible to store more specific settings in version control without mucking up deployment.

Filed under django

XML::Twig for Large XML Files in Perl

November 20, 2008 This week I needed to rewrite a Perl script that used XML::Simple for some XML handling. The cause? The script it needed to parse grew from 13k to 80 megs. All of the sudden the in memory approach wasn't looking so hot.

Filed under perl