Author archives: Mike

RSS feed of Mike

Don't get anywhere particularly useful on Win32 (Do get past the particular failure)


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

Continue reading

Architecture


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

Croikeys it's warm here (35+ degrees in my room)


The heat got turned on in the building a few days ago. This is one of those old buildings that doesn't have individual apartment control of the (steam) heat so they have to turn the temperature up so that the coldest apartment in the building has a reasonable temperature. Unfortunately that means that many of ...

Continue reading

Daily Drudgery


I want to be with you
Because when you are gone
Bitter tears will streak my face
And I will curse not being there
Yet somehow this cold world
Does not allow excuses
As trivial as life and death
To interfere with daily drudgery

SimpleParse has a Win32 Python 2.5 binary (Egads what a pain...)


Managed to convince the MSToolkit toolchain to create a binary for SimpleParse, though it required manually copying the individual commands distutils was spitting out and running them from the command line. Bah.

Apparently the MSToolkit as I have it set up always tries to run the linker and fails. There is also some problem with ...

Continue reading

Bit of work with TurboGears (Have to work with it more often)


Spent the day doing mock-up of a Voicemail configuration and "viewing" web-site in Turbogears. Still just early moments, such little things as actually hooking it up to Asterisk realtime and the like haven't been touched, I'm just populating the tables it requires. I like the jsonify mechanism, makes it easy to define how to linearise ...

Continue reading

Win32 goes reasonably well (With a few annoyances...)


A few changes to the Win32 platform module and a few tweaks to deal with problems on Win32 (particularly with one of the image-packing settings that gets rejected as invalid, but which is just a belt-and-suspenders setting anyway).

Considerable number of the OpenGLContext demos are now working on Win32. I'll need to get various (compiled) ...

Continue reading

Hacking the night away (Optimising with OpenGL-ctypes)


I added the ability to set a flag on the numpy format handler to raise errors when a numpy array is passed in that requires a copy to be passed to ctypes. The idea is that you can use it to catch unwanted copying (during development). Found quite a few instances in OpenGLContext where I ...

Continue reading