Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Good first day at the "office" (Linux Caffe is a good place to work so far...)


Spent the day at Linux Caffe training Seneca on the VoIP project. Went well. I only wound up having 7 drinks in total, for about $20. Given that wireless access alone often costs $7/hr (and we were there 8.25 hrs) a good deal.

Seneca and I got interviewed by a chap from CBC radio about ...

Continue reading

Have to release a new StarPy soon (One more bug to fix...)


I've got one bug fix added to StarPy (manager API commands that return ':' in the data payload weren't properly returning the value), but I'm still working on another one. I've got a request in to SourceForge to create a starpy project there (hopefully letting others work on the code-base).

Did a few hours of ...

Continue reading

Makes for a late day when you start at midnight (Caffeine helps...)


I had two coffee's at Cafe Diplomatica after the PyGTA meeting. They've kept me productive enough to turn in a fairly full day's work. I'm still not really sleepy, but my hands are on fire. Guess it's time to call it a night. Tomorrow the 7.5 hour dental appointment starts. The TAUG meeting has been ...

Continue reading

Still no nVidia driver (Another couple of burned hours...)


Spent the couple of hours between getting the wifi card working and the PyGTA meeting trying to get the nvidia driver to work with X windows. No luck (even with Seneca helping). Burned far too much time on the laptop today... I really should have just let it go and used the hard-link for access... ...

Continue reading

PyGTA is tomorrow (Tuesday) (Toronto Python User's group meeting...)


Tomorrow at 7PM is the monthly PyGTA meeting at Linux Caffe. It'll be a less formal meeting than normal, with short talks and discussions and more free socialisation time. If you want to do a 5-10 minute presentation on a project or topic, let me know and I'll put you on the schedule.

Need to speed up PySNMP 3.5.x (PySNMP-se (let alone PySNMP) is still too slow...)


In one of those cases where I'm too clever for my own good, I coded Cinemon to automatically back off from SNMP v2c to SNMP v1 when there were timeouts with the v2c software. The problem is that with v2c I get timeouts all the time due to the rather slow processing of the (large) ...

Continue reading

Minor TwistedSNMP release is up (0.3.13)


This release just adds an errback so that failures during tabular-retrieval message integration (which shouldn't, but apparently can, occur) will cause the overall table retrieval to raise the error (instead of reporting an uncaught exception). You can get it from the TwistedSNMP homepage, as normal.

Why isn't the inclusion of ctypes the biggest news in 2.5? (I would be sleeping, but the poor little project stared at me with its big brown eyes...)


Did well over a full day's work on Cinemon yesterday, another full day today, but when I was wrapping up today I figured I really did need to get some work done on the VoIP project. So here I am, hours later, with a bit of a caffeine buzz.

Did anyone else note that the ...

Continue reading

Cleaning up the history of a project (Things you need to do on really long-running projects...)


I spent much of yesterday (when I wasn't trying to recover from multiple caffeine-driven nights this week and last) working on code cleanup for Cinemon. Cinemon is a rather old project, having had 3 or 4 major revisions (despite the 2.0 version number). The current code-base started off as a spike test to rewrite the ...

Continue reading

Dratted memory leak appears (Haven't figured out how yet...)


We have a line-of-last-defense script that monitors a Cinemon server for failures/performance problems and kills/restarts the server if problems are detected. It's been running perfectly well for months upon months on multiple machines, but somehow it's started leaking memory on one (production-but-running-CVS-head) machine.

It's a ridiculously simple script (intentionally). It just retrieves a page using ...

Continue reading