Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Dribs and drabs (Phone project cleanup, mostly)


Spent the day working on the VOIP front-end, mostly just fixing little bugs, tracking down bug reports to see if they were really bugs, testing and fixing minor UI bugs that cropped up, that kind of thing. I could probably just go to bed now, but that seems so horrible on a Friday night. Have ...

Continue reading

I was going to stop working a little while ago (Absolute URLs are evil... but oh so nice... but they're evil you said... yes... but evil can be very attractive...)


Don't know why, but I was suddenly struck with a feeling of loathing toward the absolute URLs scattered throughout Cinemon. These were relics of a time when I was considering emailing the whole web-front-end interface to users. All URL references are generated by code, so the code would add the site URL to everything.

Problem ...

Continue reading

Optimising and bug-fixing and upgrading all day... (Guess I really should produce new PySNMP-SE and TwistedSNMP releases)


First few hours of the day were spent optimising PySNMP and TwistedSNMP. Nothing huge, but about a 10% speedup in the Cinemon demo, which makes for a far more responsive web front-end. Then spent hours tracking down a bug in Adobe SVG (well, poor handling of a missing piece of data). Topped it off with ...

Continue reading

Need to do something fun (Sitting in my room coding week after week after week is not entertaining...)


For the second time in a month or so I've been asked "do you enjoy it" about coding. Which is something I used to be able to say "yes" to, after all, coding was something I did as a relaxing hobby that took far less effort or thought than design. These days, though, I just ...

Continue reading

OpenGL-ctypes extensions inching forward (Autogeneration (and working) are the sticky parts...)


Today (after defeating grams 4 games to 2) I started in on the OpenGL-ctypes extensions. Weird thing is, I can't see in PyOpenGL where it's passing in the GL context to the function-binding code. I could have sworn we needed the extension initialised for each context, but it looks as though the context is only ...

Continue reading

When graphs attack! (I'm such an OpenGL tease...)


Nothing to do with OpenGL-ctypes. Spent what little time I was awake yesterday on getting the upstream channel signal-quality monitor graphs written for Cinemon. Matplotlib is fine, but somehow the interface feels... mushy... like I just dump data in and hope that it comes out okay.

That kind of mushiness is good for what the ...

Continue reading

Nights of poker and programming gambles (Push the queuing effects lower in the software stack...)


Got into a mental exhaustion state last night. Decided to go out to Starbucks with Shane instead of pushing at the code. As has become normal for him, he wanted to play poker.

We each won one game (that is, took all the chips in multiple hands). My win was rather fast, I just played ...

Continue reading

A day with Nevow and LivePage (Good news is that the SVN version fixes the bug...)


I discovered a bug in the released Nevow that I am using for the trigger configuration pages in Cinemon. The bug is fairly simple, when a user returns to a page (loading it from their browser's cache), the server has not rendered the page for this loading. Because Nevow constructs the client connection object during ...

Continue reading

Wow, this feels good (Realisations while boring other people...)


Dave was mentioning that he's getting into the cable-modem running business after dinner (in turn after UU). So of course I blathered on and on about Cinemon.

And somewhere in the middle of blathering it hit me "this is a really good product". Sure, it's a tiny niche application. Sure, there are things that could ...

Continue reading