Recent pages

Writing to Application Support in PyObjC


Applications may thrive on data, but programmers only thrive on data that is coherently organized. For Cocoa applications, user specific data is stored in an application specific subfolder of the '~Library/Application Support/' folder. Here is a quick look at the code necessary to calculate that Path in PyObjC.

Writing Titles Under Ninety-Five Characters


A short, dull, and pointless story about why my recent blog entries all have titles under the length of 95 characters.

Deleting From NSOutlineView With the Delete Key


I was trying to figure out how to delete items from an NSOutlineView with the delete key (and without simply binding the delete key to an NSButton), and it took a bit longer than necessary to figure it out. Here is a simple example that will hopefully help out those in a similar situation.

How to Use Selectors in PyObjC


Working on a current project I ran into a bit of confusion about how to get selectors working in PyObjC. After a bit of digging I found out that information I needed, and have crafted it into a mildly cohesive document for your development pleasure.

An Introduction to Using CouchDB with Django


This is the final installment of my series of articles looking at how Django's loose coupling philosophy impacts day to day development. Here we'll be looking at using CouchDB with Django to create a simple web application.

Global Popularity of Programming Languages


I used Google Insights to look at the global search popularity for a dozen programming languages. Although I wasn't inspired with any particularly valuable insights, its still fairly interesting to see the distributions.

An Introduction to Compassionate Screen Scraping

One of the most common quickie projects on the web is to screenscrape a website and play around with its data. These projects are a lot of fun, and can allow for inventive mashups, but often the screepscraping scripts cause unnecessary load on the site's servers due to inconsiderate technique. This is an introduction to the art of compassionate screenscraping.

A Syntax Coloring Template Filter for Django


I spent a bit of time this evening writing a template filter for Django that accepts a string of code (and optionally the name of the Pygments lexer to use for highlighting) and returns the code nicely syntax colored. A simple but slightly helpful addition to your templating arsenal.

A Year Later, Home From Japan


As many of you (if anyone actually reads these) already know, I am back from Japan. Here are a few thoughts about returning back to America.

Python Content Scraper for

I spent a while today writing a fairly kind content scraper for, which shows how to use Python's httplib2 and BeautifulSoup to scrape data with a flexible api and minimal http connections.

All Rights Reserved, Will Larson 2007 - 2015.