Archives week 18 of 2005

May 2, 2005 - May 8, 2005

Mmm ctypes goodness and chocolate (Shane gave me dark-chocolate raspberries!)


So, after everyone left I went back to work on the ctypes version of PyOpenGL. Finished the pointer-setting functions, mostly just a matter of generalising the code so that it creates all of the various permutations for the Pythonic wrappers.

Then I started in on making the API look like the original, so importing everything ...

Continue reading

Ah, conversations (The point of life...)


Had a lunch meeting with a potential partner/client/employee this afternoon. We had Vietnamese at a little hole-in-the-wall up around Keele and Wilson. I would probably never have chosen anything with "soft tendon" in the title, had he not recommended it. It was a surprisingly good, large, bowl of extremely hearty soup.

Took a bit of ...

Continue reading

Rework all of the tests? (Or try to make it work...)


So, it turns out that Twisted has some serious problems related to starting and stopping the reactor multiple times during a run, which is, of course, what we do all the time when doing test-driven development in the "normal" (twisted.trial-like) style.

Have just spent more than 2 hours trying to build something that would let ...

Continue reading

Was that really only 5 functions? (Hope the rest of it is not this slow...)


Began work on creating wrappers for ctypes that work approximately the same as the ones planned for the 3.0 release (though written in Python, rather than C). Basically each function that needs array processing gets a number of annotations with callable objects. Those callable objects will eventually be written in C (for the performance critical ...

Continue reading

To experiment, to read, or to write? (I'd rather be having coffee with friends...)


What I'd like to do this evening is sit around chatting with Natasha, Shane, Alexei, Shademan, Lara, Simon, Eric, Dan, Diana, Kim, Nadia, Lisa, Christine, Dave, Mark, Brendan, or any of a dozen other people with whom I don't get enough chance to talk. But they're all either busy people who will already have plans ...

Continue reading

Hmm, first comment spam invades (Guess I'll have to put something in to stop that...)


Wouldn't it be nice if we could just issue network-death-penalties for comment spammers? Of course, then the spammers would start using it as a DOS technique, or even an extortion technique. Blah.

[Later] Doesn't look as though CoreBlog has anything to use for eliminating the spam other than turning on comment-moderation. Really don't like doing ...

Continue reading

Long day's hacking (Forgot how fast the time goes when listening to lectures as I work...)


I've only recently fixed the sound on my machine so that I can reliably play sound files without requiring a reboot before I start MythTV. So far I've been listening to music, but today I decided to pick up with one of the lecture series to which I'd stopped listening just a few chapters in. ...

Continue reading

Display MythTV recording status in system tray (Quicky script just in case someone wants it...)


Wrote a simple script that uses wxPython to create a system-tray icon which displays whether you are currently recording anything on the local MythTV back-end (playing live TV also counts as recording).

When the /dev/video* devices are in use, the icon shows red, when not, it shows black. Mouse-over shows the number of active recording ...

Continue reading

Ironic that post had the real answer within it (I should *read* now...)


Began by editing the play-in-design paper. Realised that it's too dense still. It needs to lead the reader in far more slowly than it does. So decided instead to write a quick piece about Modernism, and what about it was successful and useful (as well as what didn't tend to work).

That went well enough, ...

Continue reading

Daily archives

Previous week

Week 17 of 2005

Next week

Week 19 of 2005

Archives