Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

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

PyCon paper writing goes well (Though there was a section missing in the outline)


Started working on writing the paper for my PyCon presentation. Did about 3 pages from the first section (of 5), so likely going to be around 15 printed pages of text, with quite a few code listings as well. Idea is to have the paper provide in-depth exploration and usage details so that the presentation ...

Continue reading

Argh! What an incredibly long day! (7 hours to do an hour meeting)


Somehow Stephen wound up going to the Second Cup when we rescheduled the meeting, so another 1.5 hours spent sitting and waiting... almost enough to justify getting a cell phone.

Good thing we met though. Turns out the simplest-I-could-imagine mechanism for generating the new demo types was just way too complex for them. So we ...

Continue reading

Voicemail should just show up in my inbox... (Since I never check it on the phone)


Got wires crossed in trying to arrange a meeting with Stephen this afternoon. He both phoned and sent an email asking to meet at 2 at a coffee shop of my choice. I replied to the email saying, "sure, we'll use this one". Then beetled off to get to the coffee shop on time. Then ...

Continue reading

Cool! It got accepted! (All those nights tossing and turning were not for nought...)


My proposal for a 45 minute PyCon presentation was accepted (I guess the key was giving up hope). Yay! I'm thinking I'll make the presentation much livelier than last year's... even if the message is quite similar (avoid introducing spurious magic).

Now I'm all excited and can't sit at my desk. Luckily I have ...

Continue reading

Naps and plans (The weekend completes its disappearing act...)


Realised I was exhausted, so took a 6 or 7 hour nap somewhere in there. Now I'm considering getting an early start on the week.

Sometime soon now I should be getting the SIP-server project redesign spec, but Bryan wants me to see if I can get old-cmon running again. Sigh. I'm extremely tempted to ...

Continue reading