Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

My petard, it is exploding! (glutInit failure was due to an auto-generated wrapper)


Finally got the glutInit function working (and, in fact, enough of GLUT to do a "hello world" with it). I even went to the extreme of adding a test case to ctypes that deals with a similarly structured argument set. The problem, it turned out, was that I was using the auto-generated wrapper, which had ...

Continue reading

The joy of infinite rebuilding


Well, not the most productive of evenings. Hung the computer a couple of times trying to get K3B to work. Discovered a dependency was needing rebuilding (revdep-rebuild), so rebuilt that, am now trying to build KDE, just to see if that was the problem on that front, so haven't tested to see if K3B is ...

Continue reading

To work on side-projects (Or to sleep...)


It's been a long week. What I feel like doing is getting together with someone and chatting for a few hours, then dropping off to sleep. Just dropping off to sleep is pretty tempting too. Ah sleep, that glorious absence of reading and typing...

Did the sun forget to come up today? (Or did I just miss it?)


I'm sure the sun must have been up at some point during the day, but I can't recall actually looking out to see that it did. Rather a long day of hacking and communicating. I seem to be missing a key (a primary key in particular) when attempting to create new telephone-number ENUM mappings. They ...

Continue reading

Grotty low-level coding is nay fun (Lowest-common-denominator does not a happy coder make...)


Well, the second day of work on the VOIP platform front end has now drawn to a close. The first day was spent familiarising myself with the platform and writing test scripts to make sure that the platform really does work the way it's advertised. A few bugs have shown up here and there, but ...

Continue reading

They want Justice


The pools of history
Are filled with enmity
Dark plans and evil plots
Revolution by haves and nots
Iron wheels of economy
Married with brutality

In hearts robbed of hope
Beneath the hanging rope
Can you wonder at their cries
In the deadness of their lives

In a crowded square
Hate fills the air
The ...

Continue reading

It's quite hard to debug past the ctypes layer (Arguments are marshalled at a lower level than GDB seems to understand...)


Since I didn't figure I'd actually get to sleep, decided to spend some time trying to figure out why the glutInit function is failing. The function is failing when GLUT tries to copy one of the strings in the argv array. Unfortunately, I can't see what that array is (easily), as the ctypes stuff has ...

Continue reading

Trial now has a default timeout for test cases (Yes, yes, I know, I wasn't going to work any more this evening...)


I've been getting annoyed with twisted.trial all day, as I look at test results declaring that there's a problem in test case <lambda>. So I decided (unable to just sit about) that I'd update to the lastest Twisted SVN root and produce a fix for it.

Apparently someone else was annoyed by the effect and ...

Continue reading