Archives December 2004

Moving code from C to Python (Maintainability and robustness)


Spent the evening after work on trying to track down why there's a memory leak in the pointer-management functions in PyOpenGL. Problem is, the code there is this grotty low-level stuff that winds up re-creating the reference-counting mechanism in Python just to track whether anything is referencing a pointer.

Decided to rework it as ...

Continue reading

This getting up early business sure warps the day... (Working before noon is wrong in some way)


Other than some brief over-the-phone debugging, mostly worked on little issues all day, adding links to various pages, refactoring things, adding paging to a long table views, the kind of cleanup you need to do before a project becomes a product.

Still quite a bit to do that way, but that's tomorrow's bugbear ...

Continue reading

New TwistedSNMP goodness heading into the world (Happy little SNMP sprite challenges the darkness...)


Only changes are to the BisectOIDStore; allowing it to have sub-OIDStores registered for handling a given table, and allowing it to have callable objects registered to return dynamically calculated values for a given OID.

Those were just features I needed for testing Cinemon, but they should make the writing of test code far simpler in ...

Continue reading

Test fixtures for fun and profit (Extending TwistedSNMP to allow for more complex Agent-side code)


TwistedSNMP is fairly minimal in what it allows on the Agent side, basically static tables mapping OID to value. That's been fine up to now, but I realised as I was trying to track down a bug in Cinemon this afternoon that the reason all of my modems are showing 0-values for their counters ...

Continue reading

New hierarchy types are fun! (Though we got our collective arses whipped in Cranium...)


Spent the bulk of the day finishing and then debugging the new hierarchy type, and then figuring out why an old hierarchy type seemed to have been messed up (it wasn't, it's always worked like that, I just never noticed it).

After that, went to our cousin's husband's sister's house ...

Continue reading

Histogram turns out to be useless (So switched to working on "political" hierarchy)


Got the histogram code to the point where it proved it would be largely useless. Need to rethink that now. Interestingly, it proved out some of the wisdom of an "agile" approach. I've actually been bogged down for a while figuring out all of the logic required for the (rather generic) graph-drawing code. Today ...

Continue reading

Seriously considering not working tomorrow (Could use a week to catch up on everything...)


I've got so much piling up in PyOpenGL (and other projects) that I really should take a day or 5 to catch up. Though I suppose I could just focus on the work remaining for Cinemon. I don't know. This weekend has been a complete wash. Maybe I should just become a monk ...

Continue reading

Not much done this evening (Began working on "inexactitude" section...)


Finally saw "The Incredibles", it was definitely worth the money. Anyway, got home and didn't really feel up to doing any work, so spent a few hours vegging on the couch.

Eventually pulled my lazy bones out of bed and started work on the next section of the Play in Design document. This one ...

Continue reading

Sending email in Twisted (This should *not* be so hard to find...)


As D'Arcy was winding down his work on the EFT2 server, he asked the very obvious question "how does one send email in Twisted". It took me something like 30 minutes to track down the proper response. Once you know where the function is, it's trivial, but finding out which module/function to ...

Continue reading

Pause admidst the orgy of consumerism... (Last minute shopping often turns ugly)


Rosey did most of our gift-shopping for the year, but I still have a couple of gifts to pick up, and I just got back from doing the grocery shopping.

Nice thing: as I was leaving, the bus driver pulled to the stop and waited for a break in traffic so I could catch the ...

Continue reading

Daily archives

Previous month

November 2004

Next month

January 2005

Archives