Category archives: Snaking
Discussions of programming, particularly of programming Python
Want to use Pyglet's Generator (Time, time...)
Written by
on
in
Snaking.
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 ...
PyGTA Web Testing (Forum-ish with an intro to Selenium as kick-start)
Written by
on
in
Snaking.
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 ...
TurboGears Weirdness (Validators don't Run)
Written by
on
in
Knight Errant,
Snaking.
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 ...
Spammers Clobbering the Blog (Killing the server...)
Written by
on
in
Snaking.
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 ...!-->!-->
Galcon Is Fun (Advertising the crack cocaine of games...)
Written by
on
in
Snaking.
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 ...
Booth Work (Long day's chatting into night...)
Written by
on
in
Snaking,
Vindaloo,
Young Coders.
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 ...!-->!-->
Centre of Attention Moving (PyCon in the focus...)
Written by
on
in
Snaking,
Young Coders.
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 ...
Speed up PySNMP for Free? (Upgrade to Python 2.6, apparently...)
Written by
on
in
Snaking.
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 ...
PyOpenGL is Offline (DMCA takedown notice...)
Written by
on
in
Snaking.
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 ...
Unexpected 'free' day (More of an "I want to do something else" day...)
Written by
on
in
Knight Errant,
Snaking.
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 ...