Category archives: Snaking
Discussions of programming, particularly of programming Python
Little bits and pieces all day (Cleaning up after construction...)
Written by
on
in
Snaking.
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 ...!-->!-->
First day of the new schedule (Makes for a very long day, even with a pleasant dinner...)
Written by
on
in
Snaking.
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 ...
Oh, right, PyOpenGL (I did a few minutes of that this afternoon)
Written by
on
in
Snaking.
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...)
Written by
on
in
Snaking.
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 ...
Convenience during development (Forgotten during release...)
Written by
on
in
Snaking.
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 ...
Dribs and drabs (Phone project cleanup, mostly)
Written by
on
in
Snaking.
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 ...
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...)
Written by
on
in
Snaking.
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 ...!-->!-->
Optimising and bug-fixing and upgrading all day... (Guess I really should produce new PySNMP-SE and TwistedSNMP releases)
Written by
on
in
Snaking.
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 ...
Need to do something fun (Sitting in my room coding week after week after week is not entertaining...)
Written by
on
in
Snaking.
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 ...
Tree-editing with Nevow LivePage (A quick hack... erm... demo...)
Written by
on
in
Snaking.
Since Tim Parkin asked for this (I didn't miss the comment, just didn't really have time to set aside for pulling the code together), I've sketched out a simple approach for making tree-of-object editors with Nevow's LivePage.