Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

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

Gee these days are getting a bit too long... (Oh well, SIP project is basically finished...)


Moved the SIP project to about 90% finished. Everything is there technically (save actually testing with the hardware, which I can't do myself), but needs some UI polishing to be pretty enough for a real demo.

Went to the restaurant Jerusalem this evening for the management meeting... the food was far better than the usual ...

Continue reading

Should have looked at Shtoom (He realises too late in the evening to do it...)


Just realised that Shtoom will have the authentication mechanism already written (somewhere), since it acts as a client to normal (authenticating) servers. Should have just wandered over there and pulled out the authentication-generation code.

I've developed a bit of a blind spot there I guess, wanting to avoid learning a large package while on a ...

Continue reading