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...
Feb 9th
1 note
January 2010
3 posts
Jan 13th
5 notes
Jan 9th
2 notes
The Parrot AR.Drone is the first quadricopter that... →
Jan 9th
December 2009
3 posts
Dec 21st
Dec 15th
1 note
Dec 11th
November 2009
6 posts
Nov 21st
Is your Johnson Rod broken? In need of a quality... →
Nov 19th
2 notes
Nov 18th
Nov 16th
Giordano Bruno, philosopher, astronomer, satirist,... →
Nov 11th
“Finish each day and be done with it. You have done what you could. Some blunders...”
– Ralph Waldo Emerson
Nov 10th
October 2009
5 posts
Bottle Web Framework for Python →
Bottle is a fast and simple WSGI-framework for the Python Programming Language.
Oct 9th
Commence bombing the moon in T-minus 16 hours.... →
Oct 8th
Make Like a Dolphin: Learn Echolocation →
Oct 6th
Oct 2nd
Oct 1st
September 2009
4 posts
Fuck You And Your H2 →
Sep 23rd
Courtney Love explains the basics of BGP →
Sep 22nd
Sep 11th
Sep 10th
August 2009
8 posts
“I am the man with no name, and that name is certainly not Justin.”
– Not Justin
Aug 25th
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.
Aug 25th
“Some people have no business thinking.”
Aug 20th
Aug 19th
Aug 8th
Aug 7th
1 note
Aug 6th
Aug 6th
July 2009
4 posts
ZSH includes a robust TCP/IP module to provide... →
Jul 23rd
Your very own Apollo lunar lander and command... →
Jul 22nd
Jul 20th
Jul 5th
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...
Jun 28th
Jun 27th
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.
Jun 26th
Jun 26th
Jun 26th
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...
Jun 17th
3 tags
Jun 17th
Jun 4th
Early Apple business documents at the Computer... →
Jun 2nd
Jun 2nd
BREAKING NEWS: General Motors doesn’t know how to make good cars. Of course not; he’s a general, not an engineer. (lol please)
Jun 1st
May 2009
20 posts
Poindexter, thy time has come. →
May 29th
May 29th
3 notes
May 29th
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...
May 27th
May 21st