Older blog entries for bstpierre (starting at number 45)

Who Else Wants Better Short Term Memory?

In “Talent is Overrated”, Geoff Colvin at one point discusses how superstars in many fields use the memory technique of “chunking” to boost their short term memory. His simple...

(Click through for full post...)

Syndicated 2009-11-12 13:13:24 from The Daily Build

3 Easy Ways to Stick to a Coding Standard

When you’re writing python, you don’t need a lot of debate over the minutiae of most coding standards. PEP 8 does that for you. Even better, there are some tools that make it really easy...

(Click through for full post...)

Syndicated 2009-08-25 18:40:58 from The Daily Build

Hassle Free Way to Kill Sudo’d Jobs

Every now and then I have to run a foreground job under sudo that doesn’t want to die when I hit ^C. Then it’s a hassle to ^Z, get the pid of the sudo job, and sudo kill that pid. So I...

(Click through for full post...)

Syndicated 2009-08-13 00:45:28 from The Daily Build

Using Python’s ctypes to Call Into C Libraries

The ctypes module makes loading and calling into a dynamic library incredibly easy. Related posts:Python Exception Handling: Cleanup and Reraise I’ve had this code around...Five Days to a...

(Click through for full post...)

Syndicated 2009-08-05 10:35:55 from The Daily Build

Yet Another Python Enum Module

I didn't like the existing enum recipes, so I cooked up what I feel is a better way of working with enumerations in python. The result is yapyenum, hosted on github. Rather than come up with...

(Click through for full post...)

Syndicated 2009-07-20 02:21:36 from The Daily Build

Python Exception Handling: Cleanup and Reraise

I’ve had this code around for a while and had an opportunity to drag it out the other day and dust it off. The problem: Every now and again there’s a situation where you don’t...

(Click through for full post...)

Syndicated 2009-07-16 03:35:49 from The Daily Build

Makefiles are Software Too

This post was inspired by recent experience with some horrible build scripts from the open source world — but I’ve seen enough in-house badness over the years that I wanted to establish...

(Click through for full post...)

Syndicated 2009-04-14 03:17:48 from The Daily Build

Five Days to a Django Web App: Day Four, Deployment

Thanks for your patience, and for coming back for a discussion of deploying our Django web app. In case you missed any of the previous posts in this series, here they are: Day One, Get Ready...

(Click through for full post...)

Syndicated 2009-03-02 16:48:20 from The Daily Build

Firefox Quick Search for Google Maps

I recently found myself wanting to quickly figure out how far (both miles and driving time) it is to various destinations. At first I was keeping a Firefox tab open to Google Maps and kept keying in...

(Click through for full post...)

Syndicated 2009-02-18 13:43:19 from The Daily Build

Five Days to a Django Web App: Day Three, Coding

Thanks for coming back for Day Three! [Note: Sorry this post is a day late. It was all ready to go late yesterday, but some of the code included below triggered a bug either in WordPress or...

(Click through for full post...)

Syndicated 2009-02-11 15:14:41 from The Daily Build

36 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!