Search Recipes for Yahoo's BOSS in Python

July 12, 2008 This entry is a bit of a cookbook for using Yahoo's Python library for accessing the BOSS Mashup Framework. It has full examples for searching the web, images, news , for paginating results, and for limiting searches to specific domains.

Filed under pythonboss

Filtering Arrays in Objective C

February 16, 2008 A quick look at how to filter NSArrays in Objective C.

Filed under functionalobjc

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

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

Intricate Static Websites With Django Templates

September 15, 2008 Over the weekend I needed to create a slightly complex static website, and decided to make a go at using Django templates to build it. I was not disappointed.

Filed under djangopython

Python Default Parameter Value Gotchas

September 11, 2010 Knowing when default parameter values are initialized can save you some pain. A lot of pain. A whole, whole lot of pain.

Filed under python

Stripping Illegal Characters from XML in Python

January 25, 2009 This is a simple Python script for stripping illegal entities from XML, which doesn't require any external libraries. It can be run from the command-line, or imported and called within Python code.

Filed under python

Two-Faced Django Part 2: Models and Django Testing

December 4, 2007 In the second part of this series we put together our models for this project, and also introduce the Django testing framework.

Filed under djangotesting

Company Culture and Managing Freedoms

February 9, 2014 In management we often find ourselves balancing the freedoms of the few against the freedoms of the many. This is, as you might imagine, a tricky business.

Filed under managementsoftware-engineering

Porting Django's urlpatterns to Node.js

March 7, 2010 A quick look at a bringing the Django patterns for urlpatterns.py and views.py to Node.js.

Filed under javascriptnode-js

Time to Load Redis Snapshots

August 23, 2010 Here are some quick notes on the time to load Redis snapshots, perhaps useful when investigating Redis as an architectural component.

Filed under redis