Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Little things add up (UI issues all night...)


Got an email from customer' tech asking me to review the logs and see if there was a problem on our end during a given period. So, I check, which takes an hour or so of poking around in various log tables on various running instances, and then start drafting email to say basically "no, ...

Continue reading

Metaclass lovin (Clarity seems to be infusing the presentation)


So either I'm getting too deep and forgetting the audience, or the whole of the presentation is starting to make sense. Still need the section discussing how to decide when to use them, and a review of how metaclasses fit into the goals of meta-programming. It's fairly clear IMO, however, so yay. It's a much ...

Continue reading

TwistedSNMP 0.2.8 release (Using something is the best way to get the kinks out...)


Getting there on the full-plant simulation front. Discovered a serious bug in the OIDStore implementations in TwistedSNMP this evening, they were storing with naive alphabetical order when the requirement is for numeric ordering. There's a new release on SourceForge.

Metaclassing for fun and profit (Sometimes you get too deep)


The computer is basically rebuilt. Spent 3 or 4 hours on mechanism to mock up entire SNMP plants, then switched to doing the metaclass presentation. The presentation is going well. Working out kinks in the original, expanding more on what "meta-programming" is, with far more detail on use-cases for metaclasses as examples of meta-programming.

Yay new toy! (Well, just a hard-disk, but important nonetheless)


Ken dropped off the hard-disk a few minutes ago. Suppose I should start planning how to move over to using it. However, for now, work on creating a full-plant simulator in TwistedSNMP. Then track down why we hang with > 3500 modems on a single CMTS, then do something about tomorrow's visit by mom and dad ...

Continue reading

Testing can be a bit of a PITA (But it does tend to make you refactor ugly old code)


So, how does one test an entire Cable Plant with 7000 modems where the need is to test, not a few modems, but interactions with the entire system, when the system itself can't (obviously) be put into a given state at will (and, in fact, will never get back to the state you need to ...

Continue reading

And there's the cmon instance back (Only 3 levels of seperation left...)


For some brain-dead reason the zopectl script doesn't take the parent environment's PYTHONPATH for the loaded Zope. Result is that the code was using the old version of the code with the new version of the database. Nice to have movement again. Though now I'm back to the "don't have the failing scanner any more" ...

Continue reading

Deadlock broken (Yes, gentle readers, the deadlock is broken)


Finally managed to convince PostgreSQL to import an older version of the database, so I'm now working through various minor glitches (version mismatches) on my way to actually being able to determine whether the old scanner really is hosed... you know, that sounds dumb even to me. I mean, I knew it was hosed already, ...

Continue reading