Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Want to use Pyglet's Generator (Time, time...)


Getting finished work the Beta2 for PyOpenGL (mostly bug-fixes so far), looking through the missing pieces I thought I'd bite the bullet and set up ctypes' code generator so I could produce the WGL extension... but then realized the refactoring patch isn't in there. Browsed through the wgl module in pyglet and started thinking "why ...

Continue reading

PyGTA Web Testing (Forum-ish with an intro to Selenium as kick-start)


PyGTA this evening, 7pm @ Linux Caffe will be on the subject of web testing. I'll kick it off with a quick demo/overview of Selenium, then open the floor to discussions of the best patterns, anti-patterns, tools and approaches that people have found. We'll try to come up with something more concrete than "different tools ...

Continue reading

TurboGears Weirdness (Validators don't Run)


Ran into a weird situation with TurboGears validators on a client project. It seems like they're just plain broken for the most common use case, at least one other user seems to agree. That's disturbing me primarily because it means I'm somehow "missing" the normal pattern for validator usage (people can't be using them in ...

Continue reading

Spammers Clobbering the Blog (Killing the server...)


Zope really isn't intended for extremely write-heavy applications. With the comment spammers dumping hundreds to thousands of spams per hour on the blog now, the blog is now officially a write-heavy application.

If I've done this right, then the spams should now be moderated, so they shouldn't have any benefit for the spammers. Still, it's ...

Continue reading

Galcon Is Fun (Advertising the crack cocaine of games...)


Needed to unwind last night. Went to the Galcon tournament. We (well, I) had a lot of trouble with the networking setup, but it was extremely fun when it worked. I wound up with network timeouts on quite a few games, I'd have to exit, restart and jump back in, finding nothing left of my ...

Continue reading

Booth Work (Long day's chatting into night...)


Spent the whole day in the OLPC booth today, didn't wind up seeing any talks at all (including the keynotes, though luckily that meant that I didn't wind up with a blood-pressure issue over the whole Py3K mess :) ).

After that needed some decompression. Had a pleasant dinner with Tony and Val. Took a ...

Continue reading

Centre of Attention Moving (PyCon in the focus...)


Have been doing a lot of PyCon preparations lately (mostly on the tutorial), working around the paying stuff. But some time this morning I switched to "PyCon Mode", with the work at home falling into secondary position. Got the Airline ticket printed, got the hotel information updated for my roomie, copied out the Hotel information ...

Continue reading

Speed up PySNMP for Free? (Upgrade to Python 2.6, apparently...)


Apparently there *is* going to be some performance changes in CPython (though it's from the PyPy folks, so I suppose the "most of the recent performance-oriented work happens in PyPy" analysis stands). There's a patch that adds an __mro__ function cache. This is a pretty straightforward operation that caches the function-object lookup on types via ...

Continue reading

PyOpenGL is Offline (DMCA takedown notice...)


For those asking, yes, PyOpenGL has disappeared from SourceForge. Gentleman sent a DMCA notice thinking that gle32.dll was his, it is actually just a compiled version of the (BSD licensed) GLE library for Win32. I've sent in a DMCA Notification Response, and the gentleman who issued the initial request has asked for them to rescind ...

Continue reading

Unexpected 'free' day (More of an "I want to do something else" day...)


I got up this morning fully intending to work on billing/provisioning stuff for ACI all day... I only wound up doing 2 hours total work for them (well, so far), exhausted the stuff that can be done during the day (most of the changes need to be done after-close-of-business) and decided to brush up on ...

Continue reading