Search

Archive for 'Uncategorized'

python-mysql under Snow Leopard

Getting python-mysql to work under OS X has always required a bit of prodding. Here’s what worked for me after upgrading to Snow Leopard:

Make sure you are running the 32-bit (x86) version of MySQL. The python bindings compile against the 64-bit version, but don’t seem to work. Get it here.
Check out the python-mysql [...]

Slim

Something I whipped up recently and wanted to share: Slim is a module for Axiom Stack that can automatically create minified, concatenated copies of your client-side javascript and css. It takes care of which version to include in your page headers: you can switch back and forth between the minified copies and development copies with [...]

Changing commit authors in Git

One of the projects I work on, Axiom Stack, has been through three different version control systems. It was originally hosted in Subversion. We moved to Baazar about half a year ago because we needed a sane branching/merging system. Now we’re switching again, this time to Git.[*]
With our share of migrations between [...]

Unrepentant Metapost

Long time no post. As freeing as constraints are, I think I’ve been putting a few bogus constraints on myself that’ve kept me from writing here lately.
With apologies to Jeff Atwood, I’m going to call this the Coding Horror Trap. For all of Jeff’s regular self-deprecation, he consistently writes in the voice of [...]

New Digs

We’ve moved! I felt it was time this blag got it’s own domain. Looks like the move went smoothly, but let me know if you find something not working.