Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

I need to write faster (Get the paper done and work on the presentation!)


Worked on the PyCon paper some more this evening (when I wasn't bumping into bugs here and there in OOo). Mostly just getting the section introducing data descriptors roughed out and doing some more work on the functions-to-non-data-descriptors generalisation.

Problem is, I still have a lot of material to cover and I'm spending entirely too ...

Continue reading

Even with sample code a whole day disappears creating 1 XMLRPC method! (Well, probably 90% of it was getting the server running...)


Spent the whole day working on porting the few bits of old-Cinemon that are actually used by ACI over to the new-Cinemon codebase so that we can use the old Cinemon box as a query server. Stephen over on the twisted discussion list sent me some sample code for the operation on Friday, but it ...

Continue reading

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