Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Setup work for Jelle's project (Install/port radiance to AMD64 Gentoo...)


Jelle's project is scripting Radiance, so I need to install it. So far it's not marked as working on AMD64 in Gentoo portage. Hopefully it will just build and run :) . My eyes are not in great shape (kinda blurring as I try to read the screen), so I'm trying to avoid doing anything ...

Continue reading

Long day's hacking (Not much to show...)


I try to at least make everything modestly testable, but sometimes it just seems to bog down the day's work...

I've got this fairly simple requirement; rescan unresolved records in the CMTS tables every minute or two to determine whether the modem has come back online. That was pretty easy to write. The problem is ...

Continue reading

TV-on-Linux almost working... (Or so I tell myself)


Okay, decided to spend my jittery hours seeing about getting those last few items keeping me off of linux taken care of. Item number one; Personal Video Recorder. As regular readers may remember, I've given up on MythTV and am concentrating on FreeVO (mostly because, as it's written in Python, I might have a chance ...

Continue reading

Beautiful waitresses are always trying to get me to overdose on caffeine (Unfortunately, I always seem to fall for their tricks...)


PyGTA meeting was this evening. Greg Wilson gave a talk about his course at the University of Toronto and about his attempts to make Python more acceptable to the academic community (for which he got a PSF grant for this year).

Was interesting to hear his perspective, and I agree with the general principle that ...

Continue reading

My punishment for continuing to run Windows (And buying a cheap consumer router/firewall...)


Woke up this morning to AVG flashing messages telling me that multiple files in the system32 folder were infected (and that it didn't know how to fix them). Fixed that (eventually) by deleting the DLLs and then manually unpacking them from their source CDs, AVG now reports the whole machine is clean. However, it really ...

Continue reading

Evening doesn't go as planned (Though hopefully the memory leak is fixed now...)


Did a bit of work tracking down memory leaks in TwistedSNMP. As Glyph and I had discussed, eliminating the __del__ methods from the Deferred object eliminated the leaks. My fix so far is pretty ugly (introduces two descriptors and a sub-object with a __del__ to provide the functionality, but it does work, so just a ...

Continue reading

More Picassa goodness (Ooh, look, old projects resurrected...)


This is an old project I designed way back in the Holodesk days. It was a simple "workshop" space with a demo (a personal information manager display, written using Zope for the non-3D parts of the UI).

I rather liked the effect of the space, which was extremely lightweight, but gave a rather rich look ...

Continue reading

Resetting didn't occur because it wasn't wired up (Still need a test fixture to test the situation...)


Think I figured out why the CMTS-reset situation wasn't getting handled correctly. It was never wired up to do the actual checks to see if there had been a reboot (though it was retrieving the data to allow the check). Spent much of the day on that and one other bug, as well as on ...

Continue reading

Finally get history data-recording back in Cinemon (Should learn a better way of doing iterative operations in Twisted one of these days...)


Gave up for a while on finding the reason the CMTS wasn't properly doing a reset. Instead, I concentrated on finishing the feature I was working on previously; namely recording history for various counters. (Should there be a comma after namely? Looks like it, but then the sentence reads awkwardly.)

That feature took a surprisingly ...

Continue reading

IronPython does appear to be a bit moribund (Still thinking...)


John mentioned that IronPython development seemed to have stalled, so I did some poking around, and indeed, there doesn't seem to be much going on in the mailing list. It's just so dangerous sounding, big project likely to take months of work w/out any way to support myself with it; and if Jim really is ...

Continue reading