Archives week 20 of 2005

May 16, 2005 - May 22, 2005

People who are too good (I feel like such a disappointment sometimes...)


Was chatting this evening with a friend. She's one of those people who are pretty close to perfect; sweet, gentle, intelligent, funny, curious, and actively improving herself all the time. Felt quite trollish in comparison. What am I doing to pursue my dreams? What have I learned in the last few years? Am I a ...

Continue reading

Parties take a lot of prep-time (Especially when you've been letting the housework get behind...)


Having a birthday party for Shane this evening. Result is that I'm not going to get any more work done on the OpenGL ctypes wrapper. Last night I fixed a few problems with the pointer-setting mechanism, and began breaking out the platform-specific code into separate modules. Spent quite a bit of time trying to figure ...

Continue reading

Bug turns out to be a logic problem with parallel operation (It only waits until an op is finished, if it finishes instantly it never waits)


Finally tracked down the hanging Twisted code. It was a big operation that happens every 20 minutes. The first time through every operation has to wait for a network connection or 2, so there's always a deferred. Subsequent times none of the (3000+) operations has to wait, but they are very heavy in terms of ...

Continue reading

Neat debugging trick from James Knight (Finding out what's hanging in your Twisted application...)


In response to my queries about how to catch a hanging application, James posted this wonderful little snippet of code:
import signal, pdb, sys
from twisted.internet import task

def timeout(*args):
sys.stderr.write("SIGALRM timeout, breaking into debugger.\n")
import pdb; pdb.set_trace()

signal.signal(signal.SIGALRM, timeout)

task.LoopingCall(signal.alarm, 10).start(1)

The reason that works is that the alarm call cancels all previous alarm ...

Continue reading

Urgh, I didn't even notice the trackback spam! (120+ spams likely sitting there for days helping the blaggards...)


Okay, so I've turned on trackback moderation to keep that from happening again. Still means I'll have to click "delete" hundreds of times, but at least they won't get anything out of it. I get so few legitimate trackbacks it's not a huge loss to have them have a delay before publishing.

Incidentally; die, spammers, ...

Continue reading

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

We all hate dream journals (Yet still I post...)


I know my dreams generally bore others; so won't describe them. Just note that last night was full of dreams of cleaning and clearing out, of moving forward and fixing broken things that are impeding progress.

There was also some point where I was composing poetry... not sure if I was awake or asleep at ...

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

My mysqld fails to restart (Mysteriously reconfiguring Linux...)


For some strange reason the /var/run/mysqld directory wound up with incorrect permissions to allow the user mysql to write to it. Neither the mysqld or mythbackend init.d scripts caught the failure, so the machine was sitting with neither service running for the better part of a day (since I rebooted fairly early this morning to ...

Continue reading

Holy disappearing weekend (Nary a bit of production to be seen...)


Comes right down to it, I didn't produce anything this weekend. I once again sat down to work on my examination of Modernist Architecture and once again had to stop when I realised that I needed to read more. Read more, but didn't get back to the writing. Kinda felt like talking to <elided> this ...

Continue reading

Daily archives

Previous week

Week 19 of 2005

Next week

Week 21 of 2005

Archives