Author archives: Mike

RSS feed of Mike

One small step for Mikey-kind (One ever-so-tiny leap for OpenGL-ctypes)


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 ...

Continue reading

Once more on the upgrade path (Trying to update Gentoo profile again)


Okay, I'm going to try updating my system to the 2005.1 profile (again). First task is to try to get a gcc version built with multilib support. Previously I managed to get it built, but then everything I built with the new compiler was non-functional (luckily it hadn't clobbered the old version yet or I ...

Continue reading

Shouldn't libglut.so be linked against libGL.so? (Refuses to load on Linux with ctypes...)


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. ...

Continue reading

I need to spend a few years studying philosophy (Wikipedia addiction takes hold again...)


Just couldn't force myself to sit down and program today, but neither could I find anyone who wanted to get together and discuss ideas. So, being a hopeless geek, I started writing some political screed or another for you screed-loving people; but every time I referenced someone I found myself tripping through the highways and ...

Continue reading

Clintonian Virgin (Why hasn't this phrasing taken off?)


There are a few uses of it on Google, and there's a number of references to "virgin in the Clintonian sense", but the phrase itself just doesn't seem to have picked up the momentum I'd thought it would based on its coolness factor.

I mean, it's an oblique enough reference not to be too salty ...

Continue reading

Datetime goodness (Long overdue todo items for BasicProperty)


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 ...

Continue reading

Floor the accelerator (Module, that is)


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 ...

Continue reading

Features they are a springing (Ajax sneaks in too...)


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 ...

Continue reading