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).
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.
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.
A quick introduction to using HTTP::Server::Simple::CGI, which is a helpful Perl module on CPAN for creating a standalone web server.
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.
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.
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.
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.
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.
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.
Software engineer, technical leader, sci-fi reader, and so on. Born in NC, living in SF, and glad to grab a coffee.