Simon Willison’s Weblog

Items tagged python in May, 2007

Filters: Year: 2007 × Month: May × python ×


’tie’ considered harmful (via) Rich Skrenta on the disadvantages of abstractions like Perl’s tie, which lets you create hash data structures that aren’t actually hashes. Operator overloading (as seen in Python) suffers the same problems. # 30th May 2007, 11:11 pm

oxfordgeeks.net

Nat and I had a bit of a mini-hackday this bank holiday Monday. Nat’s been doing a great job summoning local geeks out of the woodwork with Oxford Geek Nights event, but it’s still pretty hard to find other interesting events in the Oxfordshire area. It’s not that there aren’t any, it’s just that the geek community in Oxford is currently pretty fragmented.

[... 295 words]

Levenshtein. Python C extension for Levenshtein distance and other advanced diff functions. # 27th May 2007, 6:51 pm

Test stubbing httplib2. Nice demonstration of monkey-patching as part of unit testing in Python. # 10th May 2007, 11:24 pm

Just because Java was once aimed at a set-top box OS that didn’t support multiple address spaces, and just because process creation in Windows used to be slow as a dog, doesn’t mean that multiple processes (with judicious use of IPC) aren’t a much better approach to writing apps for multi-CPU boxes than threads.

Guido van Rossum # 8th May 2007, 9:21 pm

The One True Object (Part 2). Jim Hugunin describes how the DLR let’s Python / JavaScript / Ruby talk to each other using a message passing abstraction. # 5th May 2007, 1:27 am