Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Catching up with Twisted and Zope (Ressurecting old projects...)


Developed a product a few years ago using Twisted, which got left on a shelf due to unavoidable complications at the business level. Client with a license to alter the code asked me to make some changes to it, so I sat down today to rebuild the development environment...

Twisted and Nevow have moved along, ...

Continue reading

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

PyOpenGL 3.0.0b1 is out (Lots of bug fixes...)


Spent the whole day yesterday and today on PyOpenGL 3.x. Fixed quite a few show-stopping bugs, such as a silly little failure in the array handling and using the wrong function-types for callbacks on Win32. As mentioned, got the Nurbs working yesterday.

I've uploaded a compiled version of GLE for Win32 folks as well. I've ...

Continue reading

Nurbs finally fixed in PyOpenGL 3.x (Strange behaviour...)


I finally tracked down the problem with nurbs rendering in PyOpenGL 3.x. Apparently passing a bald integer where a void-pointer is expected was causing ctypes to re-interpret the value. I went with returning a void_p and the nurbs started flowing again.

Added support for saving/viewing the depth buffer to one of the OpenGLContext tests. Added ...

Continue reading

Too many regressions to release PyOpenGL (Way too long since I worked on it...)


I was intending to just sit down with PyOpenGL and do a release... but apparently I was right in the middle of something when I last worked on it. Nurbs was broken. Win32 just wouldn't work. Lots of little things.

Anyway, long story short, spent 12 hours or so on it, but it's just not ...

Continue reading

Argh! Proposals! (Completely forgot them today...)


Way too few hours in the day. Need to get proposals put together for PyCon Tutorial and Talk. So little time, so much to get done.

Got the XO and the big laptop sharing via bzr on the workstation at home at least. Big laptop is currently in the middle of upgrading itself as a ...

Continue reading