Jacob Kaplan-Moss

38 items tagged โ€œcodeโ€

๐Ÿ“Œ Auditing code for crypto flaws: the first 30 minutes #
๐Ÿ“Œ algorithm - How to rank a million images with a crowdsourced sort - Stack Overflow #
๐Ÿ“Œ Code to Read When Learning Go โ€“ Something Similar #
๐Ÿ“Œ Wat #
๐Ÿ“Œ Redis: under the hood

Paul read the source to Redis so that you donโ€™t have to. #

๐Ÿ“Œ 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. #

๐Ÿ“Œ CSS3 Please! The Cross-Browser CSS3 Rule Generator

Nifty. #

๐Ÿ“Œ Ian Bicking: a blog :: Re-raising Exceptions

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

๐Ÿ“Œ Pyntch - Static Code Analysis for Python

Typeflow analysis for Python. Looks pretty cool; donโ€™t know how well itโ€™ll work on larger projects. #

๐Ÿ“Œ Testing Django Views for Concurrency Issues

Django, testing, and concurrency. These are a few of my favorite things. #

๐Ÿ“Œ 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 #
๐Ÿ“Œ 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. #