Category archives: Snaking
Discussions of programming, particularly of programming Python
Bit'a Open Source house cleaning (Working through the backlog of todo items...)
Written by
on
in
Snaking.
I have literally hundreds of todo items piling up in the various Open Source projects I run, so I figure I may as well plow through a few tonight. For instance, I fixed a small bug in PySNMP-se (that is, the speed-enhanced version of PySNMP 3.x) and re-released it. Spent quite a bit of time ...
It's so much nicer when you can *see* progress (Get OpenGL-ctypes to the point where something shows up on-screen)
Written by
on
in
Snaking.
My primary interest in computers is graphics. Comes right down to it, I like computers because they let you create virtual worlds, and while a simple cube floating in space isn't much of a virtual world, it's just enough of a reward to make me happy :) . Basically I'm just loading the PyGame context ...
Choose between fixing trivial regression bugs and management meetings... (Tough choice, eh-what?)
Written by
on
in
Snaking.
Management meeting went longer than normal (and it start the day much earlier than normal for me). After that I fixed a stupid refactoring bug that had crept in while I was trying to simplify a very rarely used case... unfortunately it showed up on one of the live systems!
I'm actually done for the ...!-->!-->
Notes from the Ajax front (Fought a good battle...)
Written by
on
in
Snaking.
Okay, this is going to seem trivial to you Nevow gurus out there, but bear with those of us just starting out (and thanks to dialtone for pointing out both things I'd missed (rend.Fragment) and the eventual hack-around)...
Task: create a single-page editor wherein you click on a button (set of buttons) to add a ...!-->!-->
Web-client javascript is even worse than VRML-client javascript (And VRML-client javascript was pretty fundamentally broken)
Written by
on
in
Snaking.
Today has been an all-consuming quest to get new Ajax features working. Spent a huge part of the day looking for a standard, reliable way to convert a passed XML string (i.e. passed from the Nevow LivePage) into a set of XML DOM nodes.
AFAICT there's no standard mechanism available, though there's an article which ...!-->!-->
One small step for Mikey-kind (One ever-so-tiny leap for OpenGL-ctypes)
Written by
on
in
Snaking.
I've just now managed to get GLUT to load on Linux using ctypes. It turns out that GLUT requires the use of the "RTLD_GLOBAL" flag when loading GL and GLU so that it can resolve its references to those libraries. At the moment ctypes doesn't support passing in the flag, but with a patch to ...
Shouldn't libglut.so be linked against libGL.so? (Refuses to load on Linux with ctypes...)
Written by
on
in
Snaking.
Doing some work on OpenGL-in-ctypes, I hit a bit of a wall, namely the GLUT library refuses to even load. Whenever I try it gives me a warning that it can't find glPixelStorei. Looking at the module with ldd, it does appear that there's no link to libGL.so to allow for resolving the references.
Sigh. ...!-->!-->
Datetime goodness (Long overdue todo items for BasicProperty)
Written by
on
in
Snaking.
After the party at gram's place (Canada Day) I took a bit of a nap, then started working on BasicProperty again. Decided to focus on the date/time types, as they really need to get updated to allow using Python 2.3+ datetime types (they currently only allow using mxDateTime).
I should probably also work on stripping ...!-->!-->
Floor the accelerator (Module, that is)
Written by
on
in
Snaking.
Decided last night I'd work on something that, while part of one of my Open Source projects, would help Cinemon. We use BasicProperty all through Cinemon, and the property overhead for retrievals has bothered me on and off, so I decided to write a little accelerator module that does the trivial __get__ and _getValue functions ...
Features they are a springing (Ajax sneaks in too...)
Written by
on
in
Snaking.
Spent the day primarily on new-feature requests, including some very large next-gen features. One of them requires a rather involved, interactive process for defining limiting values, so I decided I'd try to integrate a Nevow LivePage into the web front-end.
It was a bit annoying having to reverse engineer the approach from the examples, (especially ...!-->!-->