Category archives: Snaking
Discussions of programming, particularly of programming Python
Some are merely bronze (nVidia doesn't appear too stable at the moment...)
Written by
on
in
Snaking.
First the good news: I just squeaked through by the hair of my teeth to defeat grams at pool. I messed up twice trying to snooker her, winding up instead giving her perfect 2 or 3 foot shots to win the game. But the second time (the last game of the day) she horribly miss-shot, ...
Meetings stretch days (Temporal hamburger helper...)
Written by
on
in
Snaking,
Vindaloo.
I like meetings (I'm a people junkie), but they leave me with this nagging little voice that tells me I need to make up for the time spent in them. So I wind up working a full day after the meeting, which turns the day into a long grind.
Anyway, we're finally getting a permanent ...!-->!-->
Controllers in Nevow begin to take shape (Now just have to figure out how to make them reusable...)
Written by
on
in
Snaking.
Wound up making the trigger-definition code capable of building nested trees of objects, rather than a simple list. It was a fairly straightforward refactoring of the list-handling code. Still haven't figured out how to make the pattern reusable for other projects. Not a high priority just yet.
Should get the hard disk tomorrow to stop ...!-->!-->
Nevow needs some model:view:controller mechanisms (Gets repetitive coding controls manually for each property...)
Written by
on
in
Snaking.
Spent the bulk of the day getting the trigger mechanisms cleaned up and ready-to-run. These are set up using a Nevow LivePage. Thing is that every control on the page winds up with 2 different pieces of code to set/render the values for the control. One to do the first-pass render, and one to do ...
I seem to have lost all patience with Windows (Should probably get someone else to maintain the toolkit compiler document...)
Written by
on
in
Snaking.
Booted into Windows intending to do the Win32 platform module for OpenGL-ctypes. To get that working I need to get ctypes built from CVS. Unfortunately, the code requires the _ftol2 function, which isn't available in the toolkit compiler. After 30 minutes of poking at it and only getting the _ctypes (but not the _ctypes_test) extension ...
GLE flies the OpenGL-ctypes skies (Along with major reconstruction of the wrapper module...)
Written by
on
in
Snaking.
One of the things I'm trying to do with building OpenGL-ctypes is to figure out just what's needed to wrap complex software using the package, and (eventually) to be able to suggest ways to make ctypes easier to use for such tasks. Part of doing that is getting it wrong a couple of times, and ...
What to work on when I get back? (GLU, GLE, GLUT, or Win32 and WGL)
Written by
on
in
Snaking.
Waiting for Rosey to get her hair dried before I can head off to gram's place. I'm hesitant to plow back into the GLU or GLUT stuff because I've burned so many hours spinning my wheels in there. GLE would be a nice "easy win" (I hope), and the Win32/WGL stuff should be straightforward. I ...
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 ...
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 ...!-->!-->