Jacob Kaplan-Moss
Activity tagged “code”
Bookmarks
Ksplice » Source diving for sysadmins - System administration and software blog
Fantastic article about how to effectively dive into the source to debug problems with a system in production. A bit of a misleading title: anyone who deploys open source code should know how to do this stuff.
Ian Bicking: a blog :: Re-raising Exceptions
Everything you ever wanted to know about re-raising exceptions in Python.
hatful of hollow - Visualising Sorting Algorithms
Really awesome, and I think I finally understand how heapsort works. Oh, and it comes with bonus Python+Cairo examples.
Annotype
“Neat script I wrote for a friend to annotate a Python script with the types observed during a run of the program.”
ChipLog » Blog Archive » Django Development with Djblets
The Review Board team have extracted some of the utilities they wrote into an external library. Neat code; unfortunate name.
Eventlet - Second Life Wiki
Non-blocking IO library by Linden Lab. I've heard awesome things about this; gotta give it a try.
Python Package Index : IPy 0.51
Nice utility class for dealing with IPv4/IPv6 addresses. Especially nice is the netmask handling; I never have been very good at calculating netmasks by hand.
ASPN : Python Cookbook : Getting items in batches
I never remember how to do this right. Don't miss the comments for Raymon Hettinger's amazingly clever version.
su2stl.rb
Export SketchUp documents to STL.
http://svn.colorstudy.com/home/ianb/recipes/patmatch.py
Erlang-ish pattern matching in Python, from Ian Bicking.
Python Cheese Shop : threadpool 1.2.2
A nice and simple producer/consumer threadpool utility. Hooray for doing the simplest possible thing.
Pyglet: /trunk/tools/wraptypes
A tool for parsing C header files and generating ctypes wrappers. From the pyglet project, which includes ctypes wrappers for OpenGL. I'm not sure if this is tunned specially for OpenGL, but if it's roughly generic it could save *lots* of time.
iphonedisk - Google Code
a MacFUSE filesystem for the iPhone. Works with a jailbreak'd phone, too.
lwqueue: Lightweight cross-language message queue system
A stab at a memcached-like message queue. Looks super-simple, and 1000 op/s isn't half shabby.
Ned Batchelder: hyphenate
Frank Liang's hypenation algorithm (i.e. the good one that TeX uses) in Python.
templatemaker - Google Code
Adrian's “reverse template engine:” take a series of files and construct a template that could have been used to generate those pages. Obviously extremely useful for data scraping.
Book - NLTK
A book on natural language processing in Python.
Home - Garmin Developer
Garmin's new developer website. APIs, device communication toolkits, services… must investigate further…
How to Write a Spelling Corrector
Awesome article on how you can write a simple spelling corrector in a handful of lines of Python.
CPS Project: NXLucene
Another Lucene-based web service tool (this one based on Plone)
PythonTestingToolsTaxonomy - Cheesecake - Trac
An amazing breakdown of the various Python testing tools — there are even more of them then web frameworks!
rnc2rng
Python code to convert RelaxNG Compact to the XML syntax.
Second Life | Open Source: Overview
Linden Lab open sources the client side of Second Life. Interesting…
VObject Home
Matt says this is a better iCal library than the other two I just bookmarked…
[this is aaronland] Imagine it : Baconmelon
Gotta play with this someday
Entries
Backwards compatibility
Backwards compatibility is a pain sometimes.