Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Linux rises from the grave of the dead tablet (Well, almost...)


Decided to give another shot at fixing the wacom tablet in my Gentoo install. I've got a fix, but it's pretty ugly. The problem was that the tablet would, when the pen approached it, start running the cursor along either the left or right side of the screen up and down (very fast). From the ...

Continue reading

Hmm, last post sounded very negative... (Don't post before the first coffee of the morning)


Looking at the problem again, it seems obvious that there is a story trying to get through the mess of the presentation;

"Descriptors: from functions to decorators".

That is, a sort of creation myth of the generalisation of the wart/exception in Python 2.1 into a generic, but somewhat difficult to use mechanism in Python 2.2 ...

Continue reading

Feedback on the presentation (Apparently far worse from the other side...)


Got some feedback from John via email. In summary, needed to be designed more, have less information (always one of my problems), and use more anecdotes.

All good points. Doing it again, I'd probably have focused solely on descriptors. Don't know about his preference for story-centred organisation. I tend to come from the "theory first, ...

Continue reading

Presentation isn't a total blowout (Going to be moving next time, likely...)


PyGTA is likely going to relocate to another office around the corner from Givex come January (next meeting), in order to accomodate the larger crowds (it's getting kinda stuffy in the Givex conference room).

The pool hall to which we normally retire is also closing on the 16th of December, so will have to find ...

Continue reading

Free debugging kills another day (Old code adapter grows yet another barnacle...)


Today was largely a blowout. After spending an hour or two reviewing and trying to plan out the hotspot project I realised I wasn't functional and took a nap (didn't sleep well last night). Nap turned into 3 hours of not sleeping, so got up and started working on a bug Bryan had submitted.

Just ...

Continue reading

One goal basically complete (Other not even touched...)


The presentation for the PyGTA meeting on Tuesday is mostly complete. I have everything save a sample for the subclassing built-in types section. Still some polishing to do, but it's basically ready to go.

Tomorrow begins work on the Hot Spot project in earnest. Hopefully it'll just be a week or two, I'd like to ...

Continue reading

Tomorrow's plans (Just to keep myself honest...)


After the games, I need to get PyOpenGL 2.0.2 out the door, with or without the new extension modules. Then I need to spend the rest of the day working on the presentation for Tuesday. So there, that's what I must do. Watch this space tomorrow night to see if I managed to stay on ...

Continue reading

Hope they aren't all this slow (First extension for testing goes very poorly...)


Decided to test the wrapper for one of the few PyOpenGL extensions to which I actually have access, ARB vertex object buffer. Unfortunately, so far 2 out of 3 functions have required completely custom wrappers. This is going to be a very slow process if all 180+ new wrappers need this kind of attention.

The ...

Continue reading

New PyTable is out girls and boys (0.8.0 adds the PySQLite support)


Did a release of PyTable last night. Only significant changes are the PySQLite 2.0 support and the general support for non-pyformat database drivers.

Today, as my dinner and a movie plans have fallen through :( , I shall endeavour to get some groceries laid in, and then see if we can't get PyOpenGL 2.0.2 built, ...

Continue reading