A Quick Note: Avoiding Those Pesky vim Backup Files
I use vi in the OS X terminal pretty much exclusively. A few weeks ago I did something to blow away my original .vimrc file - I have no idea how I did that, which is a little scary. One of the results was that vi automatically started creating backup ...
Read More
Annoying Heroku Error Messages
(venv)[me@my project]$ heroku open
! A new version of the Heroku toolbelt is available, run `heroku update` to upgrade.
(venv)[me@my project]$ heroku update
! `heroku update` has been disabled in favor of autoupdate.
(venv)[me@my project]$ heroku autoupdate
! `autoupdate` is not a heroku command.
! See `heroku help` for a list of available commands.
(venv)[me@my project]$ autoupdate
autoupdate: `configure.ac' or `configure.in' is required
Read More
DjangoCon 2012 Recap
Note: I started writing this on the evening of the last day of sprints at this year's DjangoCon.
I can't believe the week is over already. It's Saturday night at the Hyatt in Crystal City, just south of Washington D.C. The last of the die-hard sprinters have packed up their ...
Read More
Coding for Good: Working with the Sunlight Labs APIs
If you're looking to get your feet wet when it comes to working with open U.S. government data, I can think of no better place to start than with the Sunlight Laps APIs. They're not kidding when they say that using their APIs is absurdly easy.
Sunlight Labs is ...
Read More
QuerySets, Q Objects, datetime, and Far Too Much Context
Currently I'm working on a project that involves collections of activities that take place over the course of 12 weeks. I'm using Postgres, Django 1.3, and the DateTimeField class (which translates to the timestamptz type in Postgres) to handle dates in my models. (A note: Although it creates a few ...
Read More


