Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

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

Another big-ticket item added to the feature-list (Long day's coding, though)


One of the things that kinda freaks me out is just how huge a feature set we're packing into this product. The one I built today is available from one of our competitors as a stand-alone tool that costs as much as our entire product. Sure, it'll take a few more days of work to ...

Continue reading

More finishing and polishing (LivePages get a little closer to real-world usability...)


Day was filled with reversion of some changes on Friday, and then moving forward to get the LivePages looking and working more like the Zope TAL Template wrappers. Quite a bit of housekeeping in there as well. Toward the end of the day I modified the trigger LivePage so that as you enter trigger values ...

Continue reading

I need to do *something* tonight (Too pitiful to sit here working all weekend)


Spent hours last night borking up all my lovely work on Cinemon with an attempt to go way too far way too fast. I should try to back out all the extra stuff this afternoon.

Problem is, I'm in the mood to talk. <Elided> is off visiting her dad. I've invited some people over, but ...

Continue reading

What a wonderous thing is integration (Making the enhanced Zope Templates accessible to the Nevow LivePages...)


Today was largely a "completion" day. I finished the trigger-editing LivePage spike test as a spike test and converted it into a real page in the system. That worked nicely, it was just a matter of changing a few lines to make the right triggers show up when editing instead of always being a temporary/testing ...

Continue reading

Adding handlers to Nevow template tags (How do you keep the code separate from the presentation)


After a bit of annoyance with nevow:attr, I did figure out how one works with it, but in doing so, I found what seems to me to be a far more reasonable approach. Rather than having an extra nevow:attr tag, with a slot inside it that you fill from your render method, you can simply ...

Continue reading