Posts in 2009

Editor Sampling

December 28th, 2009

As part of my upcoming talk, I asked on twitter for editor screenshots. The sample size was quite small (22) and its biased towards people I know (so heavy python ...

What is My Encoding?

December 13th, 2009

I've setup a neat little one-page website using the Bottle micro-framework. The general idea of the site is you paste in a URL or string, and it will make a ...

A fix for your fixtures and your models subdir

October 27th, 2009

For those of you who keep your models in a subdirectory, you may have noticed that you can't properly load fixtures. This is because Django checks for the location of ...

A better way to handle settings files

October 23rd, 2009

At work, we tend to have several people working on a project at once. When its time to deploy, we deploy to several servers at once. One pain point that ...

Google account suspended: A post mortem

August 6th, 2009

A few weeks back, I had my Google account disabled. If you're anything like me, your first reaction is a lackadaisical, "That sucks." Then the realization of what that really ...

My first time using TipJoy

July 21st, 2009

So I just used tipjoy for the first time. A few thoughts. I like that they allow me to pay people without first having to dole out my credit card. ...

Piping stdout when using Buildbot

July 8th, 2009

Just a quick tidbit for anyone googling like I have been all morning: If you're attempting to pipe a command in a buildbot script, you need to issue it as ...

6 things I learned about setuptools

July 5th, 2009

While building pyvcs and django-vcs over 4th of July weekend with Alex Gaynor [ announcement ], there were a few interesting lessons learned, mostly revolving around how setuptools works. As ...

Using Database Views in Django

June 20th, 2009

Database Views will make their appearance in the upcoming Django 1.1 release. Having used them for my latest project, there are a few gotchas when it comes to using them. ...

EuroDjangoCon: Django @ 30,000 feet

May 4th, 2009

So I gave my talk related to django from the ideas of a manager at EuroDjangoCon. It was a blast and thanks to all of those who were present and ...

Customizing Django Forms with Multiwidget

April 27th, 2009

Before my talk at django-nyc tonight, I thought it might be good to post some slides so I can point people at where to find the code and slides from ...

Virtualenv Wrapper Helper

March 28th, 2009

A bit inspired by all the awesome stuff happening at PyCon, I've done a bit of hacking on my shell to improve the use of virtualenv_wrapper. Remembering to checkout the ...

NameError: global name 'log' is not defined

March 21st, 2009

I've spent a portion of this evening trying to get caught up with the crazy amounts of development that have been going on with the oebfare blogging engine over the ...

psycopg2 InternalError ?

March 13th, 2009

For those who've hit the following complaint with django (like I just did): psycopg2.InternalError: current transaction is aborted, commands ignored until end of transaction block You need to set up ...

A better look for Comments

February 9th, 2009

I've been in the process of unforking my code from brosner's oebfare blogging engine. In doing so, I've decided to remove some of the pain points along the way. For ...

Django App Engine Doc Fix

February 6th, 2009

For those setting up Django on Google App Engine on version after the signals refactor, the following fix is needed for the code supplied by Google. # Log errors. django.dispatch.dispatcher.connect( ...

Application Meme

January 22nd, 2009

In IRC today, we were talking about applications and free vs. shareware vs. payware, etc. And I had an idea for a silly fit of memery. What applications do you ...

Django at 30,000ft Presentation

January 17th, 2009

I recently gave a talk at this past django-nyc meeting based on my article in PyMag. While the slides likely won't make much sense without hearing me talk over them, ...