Archives September 2006

Ctypes arrays as storage format (Seems natural given the implementation...)


Today (and yesterday) I added support for making ctypes arrays first-class array-storage formats for OpenGL-ctypes. That is, you can do this:
import OpenGL
OpenGL.preferredArray( 'ctypesarrays' )

Before you import OpenGL functions in your application and array-producing calls will then use ctypes arrays for the produced arrays (i.e. glGet* will return ctypes arrays instead of Numpy ...

Continue reading

Adding a type for documentation in epydoc (ctypes "Functions" as routine data-types...)


As mentioned a few posts ago, I've been looking at how to make the OpenGL-ctypes auto-generated documentation useful. What I want to do is to register the ctypes "functions" as regular routines, with docstrings and preferably with structured meta-data such as the data-types of arguments, error-checker and the like displayed in a consistent way.

The ...

Continue reading

That was unbelievably frustrating! (Subversions silliness all day...)


Spent the whole day on the CVS to Subversion migration for one of our projects. Wound up with the mime-types screwed up, then somehow got the repository into a state where it was impossible to merge between a branch and the trunk because the resulting merged file would always be out-of-date.

Eventually just decided to ...

Continue reading

Running an email server at home is great (Until it gets turned off while you're out...)


It seems that either my workstation or my internet connection at home has gone down. Last time this happened it was a cable I'd mistakenly unplugged when grabbing a router. Time before that it was my cousin turning off the machine because it was keeping her awake. Both times, however, there was someone at home ...

Continue reading

To His Lips


He stares out the dark window
Half-eaten sandwich rising to his lips
Without seeing the undead suits
Crowded around him to feast
On the dark corpse of hope
He doesn't consider the taste
Perhaps
It has no great taste
Still
It rises unbidden to his lips

Need a better documentation-generation system (Pydoc and pydoc2 just don't cut it...)


Spent the full work-day today on OpenGL-ctypes. The glGet* variables are now getting automatically registered. Image types, it turns out, seem to already be registered. I've also started work on making the docstrings more reasonable, little things like including the extension's Overview section in the docstring (so you can tell what the extension is intended ...

Continue reading

Should have set up Gentoo instead (Package managment falls down...)


We installed Ubuntu on Soni's machine a while ago, forgoing Gentoo because we figured she should start with a "consumer" oriented distribution. Problem is, first time she runs into a problem I haven't the confidence to fix it by "remote control" (as it were).

In particular, Eric3, though it shows up on the Ubuntu web-site ...

Continue reading

Tweaking the auto-generation (More work tomorrow...)


Spent the rest of the day on the auto-generation system for producing GL extension wrappers. Mostly I'm looking at parsing the extension definition files and turning them into instructions to do such things as registering glGet* extensions, automatically registering image types for support, that kind of thing. Also tweaked the code so that marking a ...

Continue reading

Daily archives

Previous month

August 2006

Next month

October 2006

Archives