DjangoCon 2012 Videos

Posted by: barbara | Date: Oct 09, 2012 | Category: Django DjangoCon Python

Read More

Open Source Contributions Come In All Shapes And Sizes

Posted by: barbara | Date: Oct 08, 2012 | Category: Django Python

Listen: Billy Pilgrim has come unstuck in time.

Okay, that has nothing to do with the subject of this post, but when I tweeted out a request for suggestions for an opening line, that was the most interesting response (thank you, @kantrn). I got others that were a lot ...

Read More

Problem Solved: Using PIL with ImageMagick

Posted by: barbara | Date: Sep 28, 2012 | Category: Python

I was tasked with a fairly simple project:

  • Traverse a directory with several hundred subdirectories, each containing up to half a dozen images of different sizes
  • If a directory already contained an image where [-8:] == "_175.jpg", just delete the entire directory, it was not needed
  • If the directory ...

    Read More

A Quick Note: Avoiding Those Pesky vim Backup Files

Posted by: barbara | Date: Sep 27, 2012 | Category: Mac OS X

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

Posted by: barbara | Date: Sep 27, 2012 | Category: Tools
(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: `' or `' is required

Read More