February 2010
1 post
5 tags
Easy document revisions with RelaxDB
I’ve been using CouchDB/RelaxDB for a project I’m working on, and I wanted an easy way to access CouchDB’s document versioning for my models. Here’s what I came up with.
Without going into too much detail, CouchDB doesn’t update documents in place, instead it creates a new document with the same ID and a new revision string. This gives you access to a rudimentary...
January 2010
3 posts
The Parrot AR.Drone is the first quadricopter that... →
December 2009
3 posts
November 2009
6 posts
Is your Johnson Rod broken? In need of a quality... →
Giordano Bruno, philosopher, astronomer, satirist,... →
Finish each day and be done with it. You have done what you could. Some blunders...
– Ralph Waldo Emerson
October 2009
5 posts
Bottle Web Framework for Python →
Bottle is a fast and simple WSGI-framework for the Python Programming Language.
Commence bombing the moon in T-minus 16 hours.... →
Make Like a Dolphin: Learn Echolocation →
September 2009
4 posts
Fuck You And Your H2 →
Courtney Love explains the basics of BGP →
August 2009
8 posts
I am the man with no name, and that name is certainly not Justin.
– Not Justin
3 tags
Five Features from Mercurial That Would Make Git... →
A lucid and interesting view of some of the weirdness in Git. I might have to try out Hg one of these days.
Some people have no business thinking.
July 2009
4 posts
ZSH includes a robust TCP/IP module to provide... →
Your very own Apollo lunar lander and command... →
June 2009
12 posts
Go away or I shall taunt you a second time
This is an actual law in Boulder, Co. I have to remember this the next time I’m drunk on Pearl St.
5-3-6 Use of Fighting Words.
No person shall insult, taunt, or challenge another in a manner likely to provoke a disorderly response. If the person to whom such insult, taunt, or challenge is directed is a police officer, there is no violation of this section until the police officer requests...
5 tags
Mine eyes, they have opened
The rules for counting references to objects in ObjC/Cocoa has been haunting me for months. But today I found such a simple rule:
If you +alloc, -copy, or -retain, you must -release or -autorelease. If you did not +alloc, -copy, or -retain an object, getting rid of it is not your responsibility.
If you can't hit a note, at least scare it as you...
So glad to be back in Boulder. Really. I’ve been working on Pearl St. for 3 days now, and I’ve already seen a hairy-mountain-man-looking bum pass out in front of a fancy perfume store (hopefully he wasn’t drinking the perfume), and then get hauled away in an ambulance after a bicycle cop found him. And I saw all of this from the comfort of my office window.
And yesterday, I got...
3 tags
Early Apple business documents at the Computer... →
BREAKING NEWS: General Motors doesn’t know how to make good cars. Of course not; he’s a general, not an engineer. (lol please)
May 2009
20 posts
Poindexter, thy time has come. →
Anyone using ZSH and Subversion 1.5 will notice that the command completion is all busted up:
_arguments:comparguments:303: invalid argument: ARG
I ran into this on OS X Leopard. To fix it, open Terminal.app, and do this:
$ cp /usr/share/zsh/4.3.4/functions/_subversion ~/Desktop
$ cd ~/Desktop
$ wget http://launchpadlibrarian.net/18286954/_subversion.diff
$ patch -p1 < _subversion.diff
File...