Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Have to figure out a better billing scheme ($2025 for 1.5 weeks of work just isn't functional...)


The root of the problem, of course, is discounting the time spent on learning, the time spent working through problems with libraries, etceteras. The "debugging is free" stuff is probably not a great idea either.

When I look at it over the last week-and-a-half, I've spent more than 60 hours on various aspects of the ...

Continue reading

Oh happy day (maybe) (A pox on relational databases...)


I seem to have worked around the big nasty evil database bug. And how, you may ask? By adding a completely extraneous commit into the middle of the hierarchy parsing code. ARGH. There's no reason for it to help, there's no way it should change anything. It's just some silly locking artefact where a SELECT ...

Continue reading

Long, fruitless day trying to reproduce an error (And it's only 4-1/2 hours old)


Bryan and one of his peoples are experiencing what appears to be the "big nasty evil database bug" (formerly the "evil database bug") where the database (b)locks in the middle of a hierarchy import (which is the only database operation that's occuring).

This has a lot of secondary effects, as once the database thread is ...

Continue reading

BasicProperty boundaries (A simple example of use...)


Instead of going to bed I wound up creating a use-case sample for boundaries. This is actually one of the tasks Tim was wanting to accomplish. I don't actually have the huge regex he was using to do the "is it the correct format" check, so I cobbled one together for demonstration purposes.

I've linked ...

Continue reading

Pair programming twice in one day! (Weird...)


Wound up doing a code review (I know, not really pair programming) for D'Arcy and then some actual pair programming with Tim this evening. Tim was trying to use BasicProperty's data-value checking for doing web-form validation and was rather frustrated with it.

No reason it couldn't work, it's just that the generality of BasicProperty would ...

Continue reading

PyOpenGL grows FreeGLUT support (And other little post-work tasks...)


Spent three or four hours getting PyOpenGL to support FreeGLUT 2.x, no big deal really, just a hack to tell the build system to consider it to be the most modern version of GLUT (and thus to build the whole base-GLUT API), and then wrappers for the FreeGLUT-specific methods/constants.

After that turned my attention to ...

Continue reading

Oh, and speaking of billing (Though I try not to do that as much as possible...)


Turns out that my time on Monday at the client's client was un-billable... grrr.

Six hours of high-stress "emergency" @#$P dealing with someone else's poor planning (pulling us off of other projects with 10 minutes notice and then neglecting to give us key information), and we can't even charge regular rates for the two of ...

Continue reading

Long day with Nevow (SIP project UI redesign...)


Well, since I got the first 90% done in 11 hours, I guess I should expect that the last 10% will take 99 hours (using the old 90:10 rule). Today was all just web-UI stuff, creating forms, wiring them up to the database, realising that they needed schema changes, changing that, then changing all the ...

Continue reading

Hmm, OpenGLUT/FreeGLUT steals my weekend (Well, part of it...)


Apparently Fedora Core 2 is now using FreeGLUT, so PyOpenGL needs to grow somewhat to support that (it uses different API version declarations at the very least, and has some extra features as well).

Not that upset about it, I've also got an invitation to a b-day party for a pair of very attractive and ...

Continue reading