Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Working through bug reports for PyOpenGL (Little fixes here and there...)


Spent the whole day (around a nap) working through the PyOpenGL bug-tracker. A number of minor fixes here and there, a few new test cases, and a lot of stale-dated stuff. Got the vertex buffer object Demo working again along the way.

Need to test Win32 extension handling (I have a report that it's broken ...

Continue reading

Cortical Algorithm at PyGTA Tonight (Book precis and implementation discussion)


Since I didn't get anyone else standing up with a "deep" topic for tonight, I'm proposing that we look at the cortical algorithm put forward by Hawkins in On Intelligence, and then see if we can hash out how you'd go about creating such a thing in Python (efficiently enough to make it useful). ...

Continue reading

OpenGLContext 2.1.0a1 Installation Streamlining (SetupTools re-cursing...)


(I'm testing on a Win32 box). Download and install Python 2.5, put the Python directory on your path. Install Win32 GLUT and GLE, then download ez_install.py and run the following:
python ez_install.py OpenGLContext
python ez_install.py Pygame
python ez_install.py numpy
python ez_install.py PIL
python ez_install.py SimpleParse
python ez_install.py TTFQuery

If I got everything properly put ...

Continue reading

Unexpected 'free' day (More of an "I want to do something else" day...)


I got up this morning fully intending to work on billing/provisioning stuff for ACI all day... I only wound up doing 2 hours total work for them (well, so far), exhausted the stuff that can be done during the day (most of the changes need to be done after-close-of-business) and decided to brush up on ...

Continue reading

Galcon Is Fun (Advertising the crack cocaine of games...)


Needed to unwind last night. Went to the Galcon tournament. We (well, I) had a lot of trouble with the networking setup, but it was extremely fun when it worked. I wound up with network timeouts on quite a few games, I'd have to exit, restart and jump back in, finding nothing left of my ...

Continue reading

Booth Work (Long day's chatting into night...)


Spent the whole day in the OLPC booth today, didn't wind up seeing any talks at all (including the keynotes, though luckily that meant that I didn't wind up with a blood-pressure issue over the whole Py3K mess :) ).

After that needed some decompression. Had a pleasant dinner with Tony and Val. Took a ...

Continue reading

Centre of Attention Moving (PyCon in the focus...)


Have been doing a lot of PyCon preparations lately (mostly on the tutorial), working around the paying stuff. But some time this morning I switched to "PyCon Mode", with the work at home falling into secondary position. Got the Airline ticket printed, got the hotel information updated for my roomie, copied out the Hotel information ...

Continue reading

Speed up PySNMP for Free? (Upgrade to Python 2.6, apparently...)


Apparently there *is* going to be some performance changes in CPython (though it's from the PyPy folks, so I suppose the "most of the recent performance-oriented work happens in PyPy" analysis stands). There's a patch that adds an __mro__ function cache. This is a pretty straightforward operation that caches the function-object lookup on types via ...

Continue reading