Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Frame Buffer Objects are Easy (ish)

Felt a little under the weather after a good party (apparently I picked up some soy, which I can't digest well) I decided to learn a little bit about Frame Buffer Objects in OpenGL. These are the new system that allows you to do "off screen" rendering and "rendering to texture" behaviours. Turns out they ...

Continue reading

OpenGL Vertex Buffer Objects (VBO)

Only had 1/2 day to work on PyOpenGL today (client needed work done this morning), so just played around with the Vertex Buffer Object (VBO) extension. In particular I added support for mapping data into the arrays and automatically deleting the arrays if the user forgets to do so. For those following along at home... ...

Continue reading

Programming Limits

Work with old, large systems enough and you start to get a persistent feeling of Deja Vu. Get large enough and you always seem to grow a set of features that is almost like every other large system, just implemented in a completely different way so that code sharing is simply impossible.

How many file-system ...

Continue reading

OpenGLContext Updated to wxPython 2.8 (finally)

Finally got around to fixing my wxPython install on my workstation. Turns out you need to do an "eselect wxwidgets" operation to get the wxPython links to set up properly. With that done, updated the OpenGLContext wxPython context so that it works with wxPython 2.8.

That lets the "browser.visual" module work again. This is a ...

Continue reading

PyOpenGL 3.0.0b3 without a Jukebox

Spent the day mostly on PyOpenGL.  Released a new beta3 of 3.0.0, mostly just a bug-fix release.  Also hacked up a test/demo of a vertex-buffer-object data-storage mechanism that seems to work quite elegantly.

I was intending to build a Celestial Jukebox... then I actually sat down and described it to Dave at the caffe.  He's ...

Continue reading

StarPy Unexpectedly a Hot Topic? (Half a dozen inquiries in a week)


Weird. Have been having a huge run on number of people asking about StarPy recently. Haven't mentioned it on my blog, haven't really done anything on it in a while. Anyway, walked a paying client through the process of setting up an originate-to-custom-ivr application today. Was fun, though I've obviously forgotten a lot of my ...

Continue reading

Time to get off CoreBlog (Scaling issues...)


Zope instance holding basically just this blog and Soni's wound up taking 7GB on disk and is unable to reliably load the blog. That's kind of ridiculous, so we're going to have to migrate to some new software. Tim has spent some time packing the DB so that we're temporarily running, but the spammers are ...

Continue reading

Want to use Pyglet's Generator (Time, time...)


Getting finished work the Beta2 for PyOpenGL (mostly bug-fixes so far), looking through the missing pieces I thought I'd bite the bullet and set up ctypes' code generator so I could produce the WGL extension... but then realized the refactoring patch isn't in there. Browsed through the wgl module in pyglet and started thinking "why ...

Continue reading

PyGTA Web Testing (Forum-ish with an intro to Selenium as kick-start)


PyGTA this evening, 7pm @ Linux Caffe will be on the subject of web testing. I'll kick it off with a quick demo/overview of Selenium, then open the floor to discussions of the best patterns, anti-patterns, tools and approaches that people have found. We'll try to come up with something more concrete than "different tools ...

Continue reading