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.

(code, debugging, howto, opensource)

Ian Bicking: a blog :: Re-raising Exceptions

Everything you ever wanted to know about re-raising exceptions in Python.

(code, debugging, exceptions, programming, python, traceback)

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.

(algorithms, code, computerscience, datastructures, programming, python, sorting, visualization)

Annotype

Neat script I wrote for a friend to annotate a Python script with the types observed during a run of the program.”

(code, languages, programming, python, types)

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.

(code, django, libraries, reviewboard)

Eventlet - Second Life Wiki

Non-blocking IO library by Linden Lab. I've heard awesome things about this; gotta give it a try.

(code, concurrency, networking, programming, python)

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.

(code, ip, network, programming, python)

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.

(batch, code, list, programming, python)

su2stl.rb

Export SketchUp documents to STL.

(cad, code, conversion, ruby, sketchup, stl, via:mcroydon)

http://svn.colorstudy.com/home/ianb/recipes/patmatch.py

Erlang-ish pattern matching in Python, from Ian Bicking.

(code, erlang, patternmatching, python)

Python Cheese Shop : threadpool 1.2.2

A nice and simple producer/consumer threadpool utility. Hooray for doing the simplest possible thing.

(code, python, threading)

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.

(c, code, codegeneration, ctypes, generated-by-a-computer, headers, opengl, parsing, python)

iphonedisk - Google Code

a MacFUSE filesystem for the iPhone. Works with a jailbreak'd phone, too.

(apple, code, fuse, iphone)

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.

(code, distributed, messaging, programming, python, queue, scaling)

Ned Batchelder: hyphenate

Frank Liang's hypenation algorithm (i.e. the good one that TeX uses) in Python.

(code, hyphenation, library, 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.

(code, friends, python, scraping)

Book - NLTK

A book on natural language processing in Python.

(book, code, language, opensource, programming, python)

Home - Garmin Developer

Garmin's new developer website. APIs, device communication toolkits, services… must investigate further…

(api, code, for:mcroydon, garmin, geo, gps, maps, programming)

How to Write a Spelling Corrector

Awesome article on how you can write a simple spelling corrector in a handful of lines of Python.

(code, probability, programming, python, spelling)

CPS Project: NXLucene

Another Lucene-based web service tool (this one based on Plone)

(code, indexing, java, lucene, pycon2007, python, search)

PythonTestingToolsTaxonomy - Cheesecake - Trac

An amazing breakdown of the various Python testing tools — there are even more of them then web frameworks!

(code, lists, pycon2007, python, testing, tools, webdev)

rnc2rng

Python code to convert RelaxNG Compact to the XML syntax.

(code, python, relaxng, xml)

Second Life | Open Source: Overview

Linden Lab open sources the client side of Second Life. Interesting…

(code, opensource, secondlife)

VObject Home

Matt says this is a better iCal library than the other two I just bookmarked…

(calendar, code, dataformats, ical, library, python, via:mcroydon)

Entries

Backwards compatibility

Backwards compatibility is a pain sometimes.

(backwards-compat, code, django)