Author archives: Mike
Argh, two hours wasted (Testing is useless if the app you're using to record results crashes...)
Written by
on
in
Snaking.
Spent almost 2 solid hours running tests for OpenGL-ctypes on AMD64 Linux this afternoon. Unfortunately, NVU crashed as I was entering the result for the second-to-last test. Argh. Apparently I didn't save during the entire period, so the recorded tests are at exactly the same point they were yesterday.
I'm going to skip doing the ...!-->!-->
Bit of project maintenance work on OpenGL (Before and after work...)
Written by
on
in
Snaking.
Integrated a patch from Marco and answered various project-related emails this morning. Then started writing a "Using OpenGL in Python" document for the new release. Lastly started going through the demos and creating an up-to-date table showing passing/failing demos for each platform (well, just the one at the moment, but with space for the others). ...
A lesson from years of PyOpenGL (Not quite Zen, but oh well...)
Written by
on
in
Snaking.
I took over managing the PyOpenGL project a very long time ago. Over that period it's had a complete rewrite (two if you count OpenGL-ctypes) and has dramatically grown in complexity. However, for the most part it has "just worked"... once you got it installed.
Over the years, however, we've been dogged by extensive problems ...!-->!-->
Reversal on Ubuntu (I know they don't build from source very often, but really...)
Written by
on
in
Snaking.
I sat down briefly at Soni's last night to try to test OpenGL-ctypes, and OpenGLContext. After a bit of wrestling to get a non-admin setuptools install I realised that Soni didn't have ctypes installed. Okay, so download and build ctypes... except that the libffi failed to build (compilation errors).
I was too sick/out-of-it to think ...!-->!-->
A weekend of little tasks (Bits and pieces but no great accomplishments)
Written by
on
in
Snaking,
Vindaloo.
I took a 4 day weekend intending to spend the entire time on OpenGL-ctypes and related projects, trying to get the whole enchilada moved to an alpha release. Somehow out of the entire weekend I only seemed to get about 1 day of hacking in.
During that short period I ported SimpleParse and TTFQuery to ...!-->!-->
VRML97 converted to use numpy or Numeric (and setuptools...)
Written by
on
in
Snaking.
I've converted the VRML97 scenegraph accellerator modules to use numpy (preferred) or Numeric. I also discovered a subtle import error, I had used from
ctypes import * in one of the modules and as a result it was shadowing a Numeric/numpy function (resize). I'll have to go through and eliminate all from ctypes import * ...
On puppy love and training (First session with the trainer)
Written by
on
in
Vindaloo.
We had our first session with the puppy trainer this evening. Biggest revelation for me is that you can demand far more from the puppy than I'd expected. I'd somehow understood that you had to wait until they are 4 or 5 months before you start demanding close-leash walking and the like. She demonstrated that ...
Don't get anywhere particularly useful on Win32 (Do get past the particular failure)
Written by
on
in
Snaking.
The proximate failure on Win32 appears to be a problem with how distutils handles "spawning" processes. If I replace the spawning code with os.system calls then SimpleParse builds correctly from distutils.
However, there's no Numeric for Python 2.5 against which to build, and I eventually just got tired of trying to figure out what I ...!-->!-->
Architecture
Written by
on
in
Vindaloo.
Piling stones one atop another
Is not my gift
Nor training dull machines
To count
What I offer is my sight
Peering within
Showing patterns hidden in problems
As paths
Of stones piled one atop another
Chipmunks Wonder
Written by
on
in
Vindaloo.
Sometimes little chipmunks
Wonder if they should probe
Random nuts lying abandoned
On industry's busy sidewalks