Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

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

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

StarPy Unexpectedly a Hot Topic? (Half a dozen inquiries in a week)


Weird. Have been having a huge run on number of people asking about StarPy recently. Haven't mentioned it on my blog, haven't really done anything on it in a while. Anyway, walked a paying client through the process of setting up an originate-to-custom-ivr application today. Was fun, though I've obviously forgotten a lot of my ...

Continue reading

Time to get off CoreBlog (Scaling issues...)


Zope instance holding basically just this blog and Soni's wound up taking 7GB on disk and is unable to reliably load the blog. That's kind of ridiculous, so we're going to have to migrate to some new software. Tim has spent some time packing the DB so that we're temporarily running, but the spammers are ...

Continue reading