Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Blocked on ResourcePackage/wxPython conflict (I hate being blocked by silly things)


I decided to update the generated ResourcePackage-hosted resources directory to use wxPython 2.5 style naming. This should have been a few seconds of effort, but as soon as I re-generated the embedded resources everything went all to heck. Though the old generated files worked fine in wxPython 2.5, the new ones are fubarred, they cause ...

Continue reading

Pleasant afternoon with Golnar (Now back to work (sigh))


Same old feeling of needing to cram my consciousness back into boring coding again. Today I'm going to try to finish off the wxoo conversion to wxPython 2.5 and maybe get some decent demos set up for PyTable's wxoo mechanisms. Last night I spent a few hours rewriting the current hotspot in PySNMP, unfortunately, though ...

Continue reading

Rot13 silliness (Saw a post on rot13 and had to run it...)


There was a post on Leonard Richardson's blog about him playing with rot13 encodings of words that turn into other words. So, I did some interactive Python poking for a few moments using the international aspell dictionary/word-list. I stripped out all the 1 and 2 character matches, and here's the result.

Minimalism in design (Difficult)


Been working on the email alert design for Cinemon. The challenge here is to teach a computer to extract the "important" bits of information about an anomalous condition and report only that information in a clean-looking and readily understood format for the user.

Lots of UI tweaks (Feedback at last...)


We're going to try for more regular and robust feedback, so today we actually got some concrete directions on what needs to change in the UI. Nothing major, all pretty tiny changes, but enough to take at least a few days of work.

Tim was here with the laptop he has on loan from a ...

Continue reading

Management meetings, argh! (Just when you're in the middle of debugging)


Trying to figure out what to do about this situation that has re-occurred. Basically, the CMTS can talk to the modems fine, so Cinemon sees them as online (because they CMTS says they are), but Cinemon itself can't talk to them. The question is do I report them as online or offline? Oh well, Tim's ...

Continue reading

PyDispatcher should be standard... (Just so I can use it everywhere)


I have to promote PyDispatcher more, particularly the "robust apply" and "safe ref" modules, which I find myself wanting in other projects all the time. Robust apply looks at the parameters a callable object takes and filters a set of parameters to only include those declared. Safe ref allows for registering callbacks to instance methods ...

Continue reading

Auto-conversions and distutils (Or how I spent my afternoon)


Turns out the auto-conversion script I was given is actually pretty limited in what it does. I wound up hacking in a few extra features (such as actually using the new import wx form), but I really should have just gone ahead and rewritten it. It's using a manually-maintained mapping set that's seriously limited, so ...

Continue reading

Kinda late getting started today (Up all night with wxPython migration)


wxPython 2.5 is finally making the import wx style "normal", so I figure wxoo should be converted to it. Ah, thinks I, 2 or 3 hour task I can do before going to bed (forgetting that it's the leap-forward-day). 6 clock hours (5 actual) later I've only converted 1/5th of the project. I did fix ...

Continue reading