Author archives: Mike

RSS feed of Mike

Lara's back (Yay)


Picked up Lara at the airport yesterday... didn't do much else really, went to bed almost as soon as I got back from doing that (I've been working very late hours all week and wanted to get back to normal-ish). Today's going to be occupied primarily with the mundane details of grocery shopping, cleaning, and ...

Continue reading

Dipping a toe into pb connection pooling (Brr, these pools get cold in the Canadian autumn...)


Okay, this is a hack written in the middle of the night, so expect there to be problems, but it does seem to basically work. What it is is a collection of three object types.

The first, the ConnectionStats, is a simple utility object that tracks statistics and the semaphor used to throttle the number ...

Continue reading

PB connection pooling eludes me (Sigh)


It really seems there should be something in Twisted that does something along these lines, but I can't find anything quite right:

Create and monitor a pool of pb (twisted.spread) connections (this is to spread a CPU-intensive operation across many servers)

On disconnect or connect failure, do retries (forever), but with scaling frequency (i.e. if ...

Continue reading

Around the Corner


Resignation lurks around the corner
Can't see it but you know it's there
Subtle scent of rotting hopes
Hanging in the stagnant air

Lucky you don't have to move
You can hang around all day
Something will happen soon
You'll find a truth to bray

You think you hear it chortle
Something stirs within you ...

Continue reading

Screencasting via Gstreamer from Python (Playing with streaming media on Linux...)


Rather than charge back into doing work on Cinemon when it's late, I decided to focus instead on one of the side projects that's been sitting there in the project for a while, namely producing a screencast of basic usage for Cinemon. I'm considering one for the VoIP project as well.

What I want is ...

Continue reading

Change is as good as a rest (As old men like me are want to say...)


Spent the entire day on importing CAD maps into Cinemon. I don't know whether it's just being back in a Twisted-based environment with full sessions, persistent state, a full ORM and the rest, but it seems like it was a far more pleasant 9 hours than 9 hours coding raw CGI with no templating system, ...

Continue reading

Sometimes it's just easier to code something new (That's a bad thing...)


I finally got time today to work seriously on Cinemon again. Spent the time working on a remoted SNMP query server (i.e. something that can be put in a remote network to do the actual querying while the Cinemon server is outside the network). I initially tried using Twisted's jelly module (via pb), but couldn't ...

Continue reading

Quick hint for running Gentoo stable (Without constantly having to upgrade...)


I realise this is probably covered somewhere in the documentation, but it's something I only figured out a few weeks ago, so here ya go:

When you want to merge an unstable package onto your Gentoo stable system, you often have to set unstable keywords on that package and half a dozen dependencies. Now, I've ...

Continue reading

It's always the code that's a PITA to code... (That turns out to be superfluous)


I just ripped out one of those annoying little bits of code; the ones where you check 3 or 4 times saying "are you absolutely sure you want this, it really seems like a bad idea, it's going to cause this problem and that problem and be a pain to implement". It's not that it's ...

Continue reading

Bit of practice with Inkscape (A little guardian lion for the Open Clip-art peoples...)


PNG output of the SVG graphicFelt like producing something pretty, but not quite awake enough to do anything complex, so created a piece of clip-art for the Open Clip-art project. Inkscape really doesn't like zooming in too far to an image, it becomes basically unusable and I wind up having to zoom out again. It also really needs a ...

Continue reading