Author archives: Mike

RSS feed of Mike

Python's Too Easy

As I work on my little Tornado project I occasionally run into things that are packaged for other frameworks, CouchDB, Recaptcha, that kind of thing. They're the kind of thing that you can write a basic client for in a few hours (less for Recaptcha, of course), but then you realize there's corner cases, little ...

Continue reading

IE6 Can Bite My Shiny

Figured I should test on IE7 and 8, and as usual when I go to test on IE, I found myself thinking "really?" about the bugs that showed up... missing "push" and "forEach" on arrays? Crashing because of a check for whether an attribute is defined? Requiring a different event-binding to capture <return>? Sigh. Whatever. ...

Continue reading

Simple Channels for Tornado (rev 0.0.1)

I pushed some of the refactored code from my little test project out today. Can't say I'm in love with the code, nor with how it was written (I'm afraid I hacked it from spike test right up to final implementation). Anyway, the result is a poll/long-poll/streaming channel-server for Tornado + JQuery. You use ...

Continue reading

Are we having fun yet?

Okay, there's fun, and then there's fun. I think I've passed the point of diminishing entertainment playing with the little tool/site for my PyCon talk... somewhere in there I implemented a publish-subscribe system that looks a lot like a simpler version of Bayeux (with fewer transports, mind you, just poll and long-poll). While learning Tornado ...

Continue reading

More CouchDB Fun...

Continuing to work on my little project. Mostly messing about with UI and getting CouchDB to do what I want it to do. The query mechanism is a little weird when you're used to SQL(Alchemy) and complex referential schemas. For instance, say you want to be able to total votes across M objects with ...

Continue reading

Tornado, CouchDB Clients, LaunchPad OpenID and other fun explorations...

I've been working on something for my PyCon talk for *far* too long now. I started in Nevow + Athena, which is a technology I'm moderately familiar with, having written Cinemon using it (though that was years ago now). I got a nice single-person implementation done with Athena and then started looking into how to ...

Continue reading

Cross-platform Shaders can be a Pain

I've been trying to push out the next beta of PyOpenGL 3.0.1 for a while now. However, as noted before, I've now got a semi-automatic test suite... and it's failing on Win32. So far all of the problems have come down to test-suite issues, but they've been exposing some annoying behaviors of the ATI Win32 ...

Continue reading