Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Widgets should be determined w/out if/elif junk (Things you know you should do right in the first place but never get around to...)

Well, mostly wound up generalising the planned-object editing system today (modulo a few hours trying to figure out what was wrong with my SNMP queries, (it was just a system mis-configuration in the end, nothing to do with my code)). Got the "choose an existing or other-new-planned" control working nicely. Whipped up a street view, ...

Continue reading

The end of the first day (Blogging day one is finished...)

Seems like forever since I got up "this morning" and started blogging (I had a 2 or 3 hour nap around 9 or 10 pm, but not a full night's sleep). The sun is lighting up the haze now, "The Time Warp" (original cast version) is now playing over the (loud) traffic outside. The weekend ...

Continue reading

Pythius.aop, aspect-oriented toolkit (Maybe I'm missing the point...)

Aspect oriented programming is an attempt to allow for defining orthogonal aspects of an application in such way that they can be (seamlessly) woven together at run time. pythius' module provides the machinery for weaving things together (and yes, it does use a metaclass), but doesn't seem to provide global weaving functionality.

PyProtocols needs documentation... (Who am I to throw stones)

Okay, dirty little secret, PyProtocols uses metaclasses in a really extreme way. I assumed they would, and in looking, yes they do. There's rather a lack of real code being demo'd though. For instance, what does a "normal" class + interface declaration look like? Hard to tell, as the test cases are quite round-about in ...

Continue reading

Yet more licensing silliness... (GPL licensing kills another hour)

Wasted almost an hour there on debate regarding GPL and FSF licensing issues. There's a weird entry in the GPL FAQ which tries to claim that using a GPL plug-in with a proprietary application is somehow violating the GPL on the plug-in. Can't see the logic of it. Oh well, glad I avoid the whole ...

Continue reading

Flushing... (New specs for old projects...)

Doing some work this morning on customer-related business. Basically just flushing some (very large) caches so old data doesn't show up in a report. This, of course, has never been done before, as it's not part of the spec for how the system works. Worse yet, need to do it on the live system. Not ...

Continue reading

Metaclasses must be done... (How even licensing screeds seem important when procrastinating...)

Last night was almost a total wash for getting the metaclass presentation done. I spent most of the time just rearranging the text and realising that it's pretty tight already. I've come to the conclusion that most of the problems are just organisational (and the lack of support for alternate learning modes). Wound up wasting ...

Continue reading