Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Maybe it's time to add a Bayesian classifier for comments (More spam... evil spam...)


Spambayes is just sitting there, beckoning me. The idea is that you would configure a Hammie instance as a Zope object pointing to an on-disk database (to avoid balooning the ZODB). You would train on all comments in your blog (assuming you have only good comments), then train on any spam that comes in.

The ...

Continue reading

Days of marketing splendour (Drat it, how many t's in that word!)


Spent the bulk of yesterday on various marketing tasks, reviewing and rewriting the product introduction, recreating screenshots in higher resolutions, finalising the demo install for the San Antonio conference.

The annoying part is that I didn't really enjoy it. Normally I love doing marketing-type work, it's a design discipline, after all. This time I just ...

Continue reading

We need a pydoc replacement (Modularity and extensibility being the things that are missing...)


Working on the ctypes wrappers some more this evening. Spent some time making the code generate names for the arguments. Got deeper and deeper into that until I realised I was considering rewriting the whole generation engine... that's generally a bad sign.

So, back up a little and look at something else. Realised that pydoc ...

Continue reading

Enough with the long days already (This one's trying to turn into a run-away)


Spent the first half of the day installing the demo on the laptop. Lot of headaches with PostgreSQL until I decided to install the native (instead of the CYGWIN) version. The last half of the day was spent dealing with stupid little bugs in the live systems. Lot of annoying junk. Worse, it's still going ...

Continue reading

I forgot how pretty Cinemon can be (Windows laptop and a data transfer switch makes it so obvious!)


So, after another extended day, went to the UU meeting to see Bryan and pick up the laptop. It's an IBM X31 ThinkPad with a busted screen, so I have to connect it to my monitor, making it entirely non-portable. Luckily, Steve Holden gave me a switch and cables for sharing a monitor at PyCon, ...

Continue reading

Sleep refuses to come (A little ctypes-ing to calm the mind...)


Since I couldn't sleep, decided to build a wrapper to create an OpenGL context for testing the new ctypes-based code. Simple enough with PyGame, just import, init and set the mode and we're off to the races. Found a few small bugs when the code started running, and enhanced the error reporting a little, but ...

Continue reading

These productive days are killing me (It's not the productivity, it's the length)


So, for the second day, I work 9+ straight hours w/out a break other than to grab more coffee and cookies. Sitting here at the end of that, with my hands chutneyed, and my eyes blurring from fatigue I suddenly think "why?"

It's nice that the test suite is running again. It's nice that the ...

Continue reading

Very productive day (Major feature finished for 2.0)


Spent the bulk of the day on two projects. The first was eliminating stalls in the scanning process where the scanner is processing huge numbers of modems. Previously I was using a batching mechanism (actually, multiple batching mechanisms) that was (were) rather fragile and required lots of testing for each mechanism.

Started off looking for ...

Continue reading

PyCon audio is up (Not as bad as I'd feared, not as good as I'd been told...)


The audio recording for my PyCon 2005 talk is available now. The pre-slides-coming-back stuff wasn't as bad as I'd feared, in fact, I prefer it to the stuff after the slides appearing, especially as there's a lot of dead air where I'm wrestling with the computer rather than talking to the audience.

There's nothing recorded ...

Continue reading