Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

That sickening, sinking feeling... (If you don't run all of your tests every day (at least), this is what happens)


Spent the whole afternoon and evening working on OpenGLContext. Mostly doing some long-pending refactoring and reorganisation. I moved the "scripts" into their own directory, made the mainloops classmethods of the various context types, and then started in to unify the API for specifying context parameters on startup (via a definition object).

Now, as I got ...

Continue reading

Guess I should really just go to sleep (Don't seem to be producing any deep insights for PyCon this evening...)


Getting a little too sharp in writing the PyCon paper (egads, it's something like 3.5 weeks away now, we should get a hotel some day soon). It's too easy to start pointing out the little flaws and problems in the conceptualisation of the two protocols (data and non-data descriptors). I don't want the paper to ...

Continue reading

Have to rebuild Windows yet again (It would be *so* nice if the hardware worked in Linux so I could ditch Windows entirely...)


Woke up this morning to find that there are half a dozen infected (system) files on the Windows partition. I'd really like to know what vector they came in on :( . AVG found the problems, but the free version couldn't heal, quarantine, or otherwise touch them. I suppose I could futz around replacing the ...

Continue reading

What would have been different (If I knew when first writing OpenGLContext what I know now...)


Did a bit more work on OpenGLContext cleanup, fixing bugs with degenerate geometry handling, then beginning work on making the "mainloop" easier to work with. Currently the mainloop is defined in each "testing" context module, and needs to be separately imported from the base context class. Thing is, it really has nothing to do with ...

Continue reading

Poor little MEC bag (Lost in the wilds of suburbia...)


On the way up to a client meeting I lost my Mountain Equipment Co-op bag (a gift from Rosey), nice little over-the-shoulder/bandolier-style thing, just the perfect size for carting around a few (paper) notebooks. Just forgot it on the bus as I got off, and couldn't get the bus driver to stop as I ran ...

Continue reading

OpenGLContext still not out the door (Trivial little details piled one atop another...)


Wound up sleeping very poorly last night, so didn't get up until 2pm today. Spent the day working on OpenGLContext again. Mostly just tracking down little bugs here and there. I've probably done enough changes that I should do another beta before the final release... especially as some of the tessellation changes appear to have ...

Continue reading

Little fixes and enhancements here and there (OpenGLContext evening...)


Spent the evening on OpenGLContext, enhancing a few demos, cleaning up code to use new features, finding a few bugs in the PyGame context; little things mostly. Only got through about 3/4 of the tests with the PyGame context, so I suppose tomorrow will be more of the same.

Grams is sick again, so won't ...

Continue reading

Hardware is evil (Or, at least frustrating...)


Ken dropped off the replacement case exhaust fans, CPU heatsink and UPS this afternoon. No problem at all with the UPS or the case exhaust fans, but the CPU heatsink turned out to be a serious PITA.

I started on replacing the CPU cooler... read the instructions and realised there was a little plate that ...

Continue reading

Blockage leads to learning (The wild and wacky worlds of VOIP and Web Services)


Wow, I'm really upping my buzzword-compliance today! Since we're still working on getting the Cinemon CVS repository online, I've been blocked on my primary project, so I figured I'd spend the day familiarising myself with the various tools we'll be using for the upcoming VOIP/Web Service project (starting Monday morning).

I'm just going to be ...

Continue reading

Substrate failures (Source-code control and patch both mess up my day's productivity...)


Today's work was all about migrating to the live server. As I've mentioned before, there are problems with the patch on the server that prevent me applying the diffs from the dev machine for PySNMP. After quite a long period fighting with patch I decided that I'd produce an internal "version" of the software, PySNMP ...

Continue reading