I Live in New Jersey

September 1, 2008 Well, I've gone and moved to New Jersey. It's a bit different from North Carolina, Kentucky, and Japan, but not the end of the world. Some people might even say its quite nice. Other than people who use their horns. That's just unnecessary.

Filed under nj

Dynamic Ad Targeting With django-monetize

August 29, 2008 For the past few days I have been working out this project in my head, and I finally sat down this morning to finish the implementation. django_monetize is a pluggable Django application for easily using a diverse array of monetization techniques in your Django project, and also for targeting different ads/monetization options based on the viewer and page content.

Filed under djangodjango_monetize

Transcending Search-as-You-Type Stickiness

August 29, 2008 A look at improving the standard search-as-you-type search field for non-instant searches, which in naive implementations can create a lagged or sticky feel to your user interface.

Filed under designui

Epic PyObjC, Part 5: Resources and Farewell

August 27, 2008 This brief final segment of the Epic PyObjC tutorial series looks at a few statistics from the series, and also I recommend a few resources for moving forward.

Filed under pythonos-xcocoapyobjc

Epic PyObjc, Part 4: Drag & Drop, Multiple Nibs

August 27, 2008 In this fourth segment of the Epic PyObjC tutorial we take a look at implementing drag and drop in two different ways, as well as using multiple nibs in one application. This is the final segment of Epic PyObjC that focuses on this project; the fifth one will be a collection of resources about continuing with Cocoa and PyObjC.

Filed under pythonos-xcocoapyobjc

Epic PyObjC, Part 3: Browsing, Caching, Indicating

August 25, 2008 In this third segment of the Epic Introduction to PyObjC and Cocoa we spend some time in the standard application development workflow of iterating new idea from concept into feature. First, we have double clicking an entry open its page on FreeBase.com, then add disk based caching of results, and we end by adding an indicator to reassure users that the app hasn't frozen while retrieving data from Metaweb.

Filed under pythonos-xcocoapyobjc

Epic PyObjC, Part 2: Adding a Library & Bindings

August 24, 2008 This is the second segment of the Epic Introduction to PyObjC tutorial series. This time we're looking at integrating the simple metaweb.py library into our project, as well as using Cocoa Bindings and an NSArrayController to make setting up an NSTableView as easy as possible.

Filed under pythoncocoapyobjc

An Epic Introduction to PyObjC and Cocoa

August 22, 2008 PyObjC is one of the most helpful projects I have ever used, but a number of individuals have been having trouble getting started with PyObjC on Leopard because the documentation is in a bit of a disarray. In particular, there didn't seem to be a comprehensive tutorial that could introduce a newcomer to all the important aspects of PyobjC, and that was completely up to date. Here is my attempt to fill that void. With a vengeance.

Filed under pythoncocoapyobjc

Writing to Application Support in PyObjC

August 22, 2008 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.

Filed under cocoapyobjc

Writing Titles Under Ninety-Five Characters

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

Filed under fail

Deleting From NSOutlineView With the Delete Key

August 21, 2008 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.

Filed under cocoapyobjc