Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Little bits and pieces all day (Cleaning up after construction...)


Spent the day on Cinemon cleanup and tightening. Nothing dramatic, just little ducts and wires poking through the finish that needed to be poked back in behind the plaster.

I finished the TAL-to-Nevow conversion for the modems page, then made a Content adapter that allows the Content page-fragments to be rendered directly as though they ...

Continue reading

First day of the new schedule (Makes for a very long day, even with a pleasant dinner...)


I'm trying out a new work schedule this week. Basically I'm working an extra 2 (billable) hours/day and taking both Friday and Saturday to work on the thesis. There's not much else to say about the day, most of it was project management, testing, and minor tweaks/fixes. The last 3.5 hours was taking in an ...

Continue reading

Oh, right, PyOpenGL (I did a few minutes of that this afternoon)


I fixed the longstanding bug in PyOpenGL where it fails when used with py2exe because of Tarn's "version" file. PyOpenGL's C configuration code uses that file and I've always broken something or other when I change it, so I now just read it and create a version.py file that is imported at runtime.

Numpy goes nuts? (Weird error shows up deep inside OpenGLContext...)


This error popped up about a week ago, but it showed up just as I was finishing work on OpenGL-ctypes, so I never looked into it. This evening it's back in full swing, rendering basically all of OpenGLContext useless. It's showing up with the Numpy 23.7 release (Gentoo stable), and seems to be an obvious ...

Continue reading

Convenience during development (Forgotten during release...)


So it appears that the recent spate of failures to build PyOpenGL are all basically the same problem. As I was developing PyOpenGL 2.0.2 I removed a check that was looking for an explicit version of SWIG (1.3.13), as I was moving to SWIG 1.3.23. I didn't spend the 10 seconds or so it would ...

Continue reading

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