The B-List is the personal blog (entries, links) of James Bennett (about, contact), a web developer in Lawrence, Kansas.

A fun little bug

Entry published June 26, 2009

About two months ago, I quietly wrote and released a little Django application which generates cross-domain policy files for Flash (if you’ve never encountered this aspect of Flash, here’s an introductory article on how it works). I’ve done a bit of hacking on it in my spare time, and I’m pretty happy with it as an example of a simple, tightly-focused application; sometime soon I hope to write a bit more about the development process behind it, because it provides a useful real-world guide to some ...

Read full entry and comments

Second edition

Entry published June 23, 2009

So just after lunch today a box arrived, containing copies of the second edition of Practical Django Projects, which went through final editing about a month ago (Apress tends to be pretty quick at getting the book printed and shipping). Since I assume that means other people will be getting copies of the book soon, I’d like to cover a couple important bits of information.

First of all, the second edition (as the cover proudly declares) covers Django 1.1. Which hasn’t yet released. There are three actual ...

Read full entry and comments

Slicehost is smarter than I am

Entry published June 3, 2009

So this afternoon I took a little break from running unit tests to head to the store and pick up a couple things. When I got back, I noticed I was no longer on IRC, and my client was reporting it couldn’t connect to the bouncer I run to stay online. I tried to SSH in to see if the bouncer had died, and discovered I couldn’t connect.

And couldn’t ping the box.

And couldn’t get this site to come up in a browser.

This site ...

Read full entry and comments

PyCon ORM panel liveblog

Entry published March 28, 2009

I’m sitting about five rows back in the ballroom at the Hyatt, waiting for the ORM panel to begin.

Panel’s starting. Moderator Alex Gaynor introduces himself and panelists:

First question: brief history of your ORM

SQLALchemy: wanted to do a CMS, but never ended up writing it. Had idea for a modular library to talk to databases, different bits you could use or not use — connection pooling, SQL expressions, ORM — as ...

Read full entry and comments

Slides

Entry published March 28, 2009

For anyone who missed it: I gave a lightning talk during the morning session here at PyCon today, following up on my earlier questions about distributed version control. Slides are available as a PDF.

Next up: attempting to live-blog the ORM panel.

Read full entry and comments

Sunshine Soundtrack available on iTunes — Link published January 30, 2009 (read comments)

PhilPapers — Link published January 28, 2009 (read comments)

Simple PostgreSQL Database Mapping — Link published January 21, 2009 (read comments)

UA Profiler — Link published January 19, 2009 (read comments)

The Borg design pattern — Link published January 13, 2009 (read comments)

assertNoDiff — Link published January 9, 2009 (read comments)

queues — Link published January 8, 2009 (read comments)

ADVII: Nine Programmer’s Notes — Link published January 5, 2009 (read comments)

Terry Pratchett knighted in Queen’s new year honours list — Link published December 31, 2008 (read comments)

Scrapy — Link published December 30, 2008 (read comments)

ponybadge