Doctest for Ruby
Finally, someone wrote a version of doctest for Ruby.Recently I’ve been writing most of my tests using stand-alone doctest files. It’s a great way to do TDD— mostly because the cognitive load is so...
View ArticleThe Shrinking Python Web Framework World
When I was writing the summary of differences between WebOb and other request objects, to remind myself of web frameworks I might have forgotten I went to the WebFrameworks page on the Python...
View ArticleWebOb
I’ve have it in my head to extract/rewrite parts of Paste lately. Tempita was one example.The request and response functions in Paste grew very organically. I wasn’t trying to create a framework, so I...
View ArticleDictMixin
Quite some time ago I gave a little presentation on DictMixin at ChiPy. If you haven’t used DictMixin before, it’s a class that implements all the derivative methods of dictionaries so you only have to...
View ArticleReflection and Description Of Meaning
After writing my last post I thought I might follow up with a bit of cognitive speculation. Since the first comment was exactly about the issue I was thinking about writing on, I might as well follow...
View ArticleOf Microformats and the Semantic Web
I was talking a little with Daniel Krech (author of rdflib) about Semantic Web stuff and microformats and what they all mean. And he was saying that microformats were nice, because you could do...
View ArticleAtom Publishing Protocol: Atompub
Doing stuff with the Atom Publishing Protocol, I’ve noticed that it goes by two (shortened) names: APP and Atompub. I’d become used to calling it APP, but I’ve decided to make a conscious effort to...
View ArticleDefaults & Inheritance
I thought I’d note a way I try to make classes reasonably customizable without creating lots of classes, but letting other people create classes if they want.Here’s a common technique; I’m going to use...
View ArticleOpening Python Classes
So, I was reading through comments to despam my old posts before archiving them, and came upon this old reply to this old post of mine which was a reply to this much older post.I won’t reply to that...
View ArticleXO B4
I recently received a Beta-4 XO laptop. I won’t describe the hardware on the whole, but probably a number of readers here have seen the B2 laptops so I thought I’d write up a quick description of the...
View ArticleTempita
I mentioned a templating language I put into Paste a while ago, but since then I extracted it into a separate package called Tempita. I think the documentation is fairly complete (it’s a small...
View ArticleAtompub & OpenID
One of the thinmgs I would like to do is to interact with Atompub (aka Atom Publishing Protocol) stores in Javascript through the browser. Since this effectively the browser itself interacting with the...
View ArticleZonbu & S3
I read Edd Dumbill’s post on the Zonbu computer with interest. The Zonbu is a small and inexpensive computer, reminiscent of the Mac Mini but running Linux. The disk is fairly small (4Gb flash) and is...
View ArticleFast CGI that isn’t FastCGI
There’s a bunch of techniques for doing deployments of long-running processes (Zope, Python server, Rails, etc). A pretty good technique is to do HTTP proxying. There’s some details and conventions I’d...
View ArticlePronouncing “Django”
I’m not saying this to anyone in particular, but I’ve heard people pronounce Django incorrectly way too often. The “dj” in Django is a hard J, like in the word “jury” or “jolly”. You don’t pronounce...
View ArticleEnvironmental Theater
If you read Bruce Schneier, as any good geek should, you probably are familiar with the term “security theater”: measures that provide the feeling of security while doing little or nothing to actually...
View ArticleAtom Models
I’ve been doing a bit more with Atom lately.First, I started writing a library to manipulate Atom feeds and entries. For the moment this is located in atom.py. It uses lxml, as does everything markup...
View ArticleNew Blog Software (Previous)
I’ve switched my software over to WordPress. This was long overdue, as anyone who ever wanted to read anything at all on this site probably knows. Sometime I should really write an article reflecting...
View ArticleAbout
Hi, I’m Ian Bicking. I work at The Open Planning Project. I do lots of programming in Python. I keep a list of projects I participate in, though I don’t always update it. Lots of stuff in...
View Article
More Pages to Explore .....