Author archives: Mike

RSS feed of Mike

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

Testability and code-size (Refactoring statistics-gathering code so I can write unit tests)


Well, the 3 or 4 hour server outage (upgrade) kind of mucked up the middle of my day. Wound up starting a refactoring of the statistics code so that I could do offline testing with unit-tests to see why I'm not getting record-counts.

Continue reading

Stupid things that cross my desk (Child pornography charges against the child?)


As I sit here waiting for the server to be re-built, I'm trolling through my regular news sources. What should I see but this story. Wherein a 15 year old is charged with charged with child pornography offences for having created and shared pictures of herself.

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 ...

Continue reading

Sheesh, $117CDN total income for a year? (I know, I know, I was doing open-source all year, but still...)


Just finished sorting everything out for the 2002 and 2003 years. $117 total income in 2002 (all bank-account interest), with $40 spent on the PSF membership and $40 donated to charity. Net income of $37 dollars (CDN, so about $4US). Hardly seems worth filing, but I'll have to anyway. Of course, turns out I *didn't* ...

Continue reading

Oh yes, that stuff... (In case anyone cares)


I know no-one really cares about how the internal project is going, but I did finally manage to get the front-page tree control to display the (now recorded) summary data. So far only one piece of it, but the data is now getting in there, so it's just a matter for tweaking what's stored and ...

Continue reading

Inevitabilities... (Chores and taxes...)


Did a few hours after work on getting the bit-rot out of ConflictSolver last night... not a lot of progress, though it's now able to at least load the main screen. The zcollection code is still seriously messed up, as the CS code is now expecting the new (heavily refactored) API, while zcollection itself is ...

Continue reading

Well, I suppose that's one way (Silly things that trip across my desktop...)


Apparently university girls are selling themselves on eBay as "e-girlfriends" for those men too "busy, lazy or shy" to actually connect with a woman in real life. Sort of the kiddie-pool of escort services I guess. Tres étrange! and somewhat sad.

Continue reading