Archives week 18 of 2005
May 2, 2005 - May 8, 2005
Mmm ctypes goodness and chocolate (Shane gave me dark-chocolate raspberries!)
Written by
on
in
Snaking.
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 ...!-->!-->
Ah, conversations (The point of life...)
Written by
on
in
Vindaloo.
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 ...!-->!-->
Rework all of the tests? (Or try to make it work...)
Written by
on
in
Snaking.
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 ...!-->!-->
Was that really only 5 functions? (Hope the rest of it is not this slow...)
Written by
on
in
Snaking.
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 ...
To experiment, to read, or to write? (I'd rather be having coffee with friends...)
Written by
on
in
Vindaloo.
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 ...
Hmm, first comment spam invades (Guess I'll have to put something in to stop that...)
Written by
on
in
Snaking.
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 ...!-->!-->
Long day's hacking (Forgot how fast the time goes when listening to lectures as I work...)
Written by
on
in
Snaking,
Tuxedo.
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. ...
Long day's typing (Post-meeting discussions on twisted-list)
Written by
on
in
Snaking.
Had a mite of trouble debugging a small Twisted app this afternoon. Spent most of the afternoon and evening discussing that trouble with the Twisted folks. My hands are pretty much chutneyed at this point. Think I need to take a break and relax.
Display MythTV recording status in system tray (Quicky script just in case someone wants it...)
Written by
on
in
Tuxedo.
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 ...!-->!-->
Ironic that post had the real answer within it (I should *read* now...)
Written by
on
in
Design Theory.
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, ...!-->!-->