Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

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 it ...

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 N ...

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

You don't realize you're addicted to variables...

We started off the PyGTA meeting with brainstorming for fun projects that we could do in a "pure functional" manner. Lots of complex and involved things that we'd whip off in a few minutes. But first, just to be sure we were all on the same page, let's whip off a quicky...

  • given a file ...

Continue reading

Register Early for PyCon

Just finished registering for PyCon 2010.  Early-bird corporate rate is only $450USD, very good value for the money.  Direct flights from Toronto run ~$920CDN (taking ~2 hrs), 1-stop flights are ~$600CDN (taking 6+ hrs).  Hotel is around $80/night or around $560 if you intend to arrive the night before the conference-proper and stay through the ...

Continue reading