Thom Nichols

Thom

Technology is evolution outside the gene pool

Articles from the year 2010

Python Concurrency using a State Machine

I've been doing steadily heavier Python development, lately running into some concurrency programming problems.  I never thought I'd say this, but Python's concurrency APIs look java.util.concurrent look light-years ahead.  Some of Python's libraries seem designed after the Java equivalents (see threading.Thread and threading.Condition) but there's still definitely a gap. 

One notable omission is a Thread.interrupt() call.  Of course ...

The Suckless JSP Tag Library

So I implemented the Python Web Console in plain Java and JSP on AppEngine.  Maybe this wasn't a great idea, but given the limited scope of the application, I was hard-pressed to complicate it with Spring or an alternative markup language.  Plain JSP and servlets seemed 'good enough' in this case.

I couldn't, however, ignore that there are a couple glaring problems with JSP, probably the ...

Introducing the Python Web Console

I'd like to show off my latest project - the Python Web Console!

It's inspired by sites like the Groovy Web Console and TryPython.  Since I teach a Python programming class, I wanted to create an application for my students to experiment and share scripts they write. 

Ironically, the site is written using Java (not Python) for Google AppEngine.  The reason for this is, I've been ...

HTTPBuilder 0.5.0-RC3 Released!

So my pet project HTTPBuilder has been hanging out in pre-0.5.0 state for quite a while, and I suspect most people have been using the SNAPSHOT versions since they've been relatively stable and infrequent. 

Well, I'm trying to finally push 0.5.0 out the door.  I've just released RC3 and unless any new defects are found, the final version will be released ...

Prev,