Author archives: Mike
New ctypes error-handling protocol (Simplifying code here and there...)
Written by
on
in
Snaking.
Thomas added a spiffy new protocol to ctypes to allow for registering error-checking functions for a ctypes cFunction. It's a pretty simple protocol, just assign to the errcheck attribute of the cFunction a function with a signature like so:
def glCheckError(
result,
function,
cArguments,
*args
):
"""Return final result or raise error"""
return result
With ...!-->!-->
Full-content feeds for CoreBlog (Haven't yet figured out how to make the stylesheets work properly)
Written by
on
in
Snaking.
One of my readers noted that the Plumbing Life's Depths RDF feeds are rather skimpy in the amount of information included in them (only a very small snippet from the main body of the text). So I've added a full-content (but not extended-content) feed, i.e. a feed that has everything that appears on the main ...
Why aren't I there? (Because I got the gist of the post but didn't think to read the details...)
Written by
on
in
Vindaloo.
I know, I know, not another post pointing to a blog entry, but I will keep in short. I read this little entry rather quickly yesterday and thought "oh, cool, Stacey is playing at the Danforth music festival all weekend". So, when I had work to do that pushed me past 6:00pm I didn't ...
Long day's Ajax into night (Nevow livepage for Cinemon)
Written by
on
in
Snaking.
Some part of me is definitely a geek. I wound up working more than 14 hours straight today, mostly because I just couldn't stop working on the problem until it was solved, but the problem refused to solve itself.
What I've been doing is creating a trigger definition mechanism using Nevow's LivePage (Ajax) technology. The ...!-->!-->
Now that was pleasant! (Meet new people, friendly people, good people...)
Written by
on
in
Vindaloo.
Simon's poker night was quite enjoyable. Met Leigh again (I know the spelling is wrong, I just don't know what it really is, but I know it has at least one 'h' in it) again, had seen her at a Unix Unanimous meeting once, but we never talked. Sarah (another of Simon's friends) was also ...
Substrates are important for productivity (Servers, for instance)
Written by
on
in
Snaking.
The whole dratted day has been a server-less mess. I did a major graphic re-kit of the VOIP front-end and then tried to pick up all of the little extra pieces that don't require a working server, but when the project is "a front end to this server" it's... uh... less than spectacularly easy to ...
Charlie and the Chocolate Factory (Fates are kind to Mikey...)
Written by
on
in
Vindaloo.
As noted in the last post, I wasn't really thrilled with the idea of seeing Star Wars III (trust issues after being scr*w*d over on I and II). So when I got to the theatre and it didn't show up on the playbill I wasn't exactly crying in my beer :) . Turns out that ...
Off to the movies I go (I really have no great desire to see Star Wars III)
Written by
on
in
Vindaloo.
Shademan just called, he's running late, so I'll have to get down to Young and Bloor on my own, which means I have to leave a bit earlier. Oh well, at least I won't need to type while I'm down there :) .
Windows steals another 5 or 6 hours of my life (79 trojan horses of various descriptions)
Written by
on
in
Vindaloo.
Got the new video card for Delcina's computer. Installed it and finally logged onto the machine. Thing was in rather rough shape; Norton AV with the subscription long-since expired, half a dozen questionable IE plugins, something that was taking over the IE executable, suspicious-looking card-games, and 79 trojan horse programs installed.
I didn't have their ...!-->!-->
Well at least the redbook demos work (Running tests is a good thing...)
Written by
on
in
Snaking.
So, I decided I would try running all of the demos/tests that could be expected to run with the current state of OpenGL-ctypes. There's a considerable number of working tests (see the "continue reading" link below for more detail than anyone could possibly care about).
What's better, in doing so, I discovered a fairly big ...!-->!-->