A MythTV Jabber bot

Share

While I love my wife and kids to distraction, the distraction bit is real. Then again, I’m sure they have a counter argument that I tend to end up deep in thought, and which point you could probably push me off my chair and I wouldn’t notice. Anyway, that’s mostly beside the point. What is relevant is for the first time in nearly a year (since 18 November 2005 to be exact, but who is counting?) I’m alone. All alone.

So, apart from watching the West Wing (which I haven’t seen before, and is fantastic), sleeping in, and going to a party tonight, I am coding.

What I’m writing is a follow on from my night hacking the other day, which was getting PyXMPP working with Google Talk. What I want is a bot which will take IM messages, and execute them using the MythTV front end. Oh, and it will display text using the on screen display if you ask nicely.

So, does anyone have any thoughts on if that sort of thing is useful to them? I think it sounds useful to me, but perhaps I’m odd.

Back to hacking.

Share

Hypothetically speaking

Share

Hypothetically speaking, if you needed to write a four hour long presentation (probably around 200 slides), shared with another speaker, and wanted to keep the style consistent and conforming with your approved corporate style, how would you do it?

I’m thinking of some sort of intermediate language, which can then be used to generate slides from a template? Is there anything like that out there?

Share

Slashdot, Google and Slack

Share

Rodney Gedda’s writeup of my talk on Slack (which by the way is in no way a comment on Slackware, or derived from Slackware) got slashdotted today. I am assured by Alan that the download link stayed up just fine, despite benley’s best efforts. To be honest, I wasn’t expecting this level of attention, although the tool is very cool.

Other press coverage (that I am aware of) for my AUUG talks includes:

Obviously many of these articles recycle content, and the links above still include the Google News redirects, because it’s easier than editting them out by hand.

(I have been slashdotted before, for TwinkleTux, and another time with the review for the ImageMagick book. Then there was the time that one of my articles about ImageMagick got slashdotted (direct link), but for some reason the sequel didn’t.)

Share

In Sydney!

Share

So now I am in Sydney, with Grant and Lindsay (old friends from Canberra). Newtown seems nice, in fact the house itself is very nice. However, the streets are pretty Victorian and built up, which is a bit oppressive. Then again, I am told there are a bunch of parks I haven’t seen yet, so I’ll delay any further comment until then. It appears it’s only about 15 minutes on the train from here to work, which will be nice during the week. More news later…

Share

MythArchive, best failure mode ever!

Share

So, you’re creating a native archive with MythArchive. You’ve never run it before, so you just give it a go. It can’t write data files to the place the videos are at, so what is it’s failure mode? Well, how about trying to change permissions on every file on the machine? Lovely.

2006-10-13 22:32:23.025 Options - createiso: 0, doburn: 1, mediatype: 3, erasedvdrw: 0
2006-10-13 22:32:23.026 savedirectory: /
2006-10-13 22:32:23.026 Saving files to : /
2006-10-13 22:32:23.077 Archiving Christmas (/share/Movies/dvd/Christmas.avi), do delete: 1
2006-10-13 22:32:23.108 Creating xml file for Christmas
2006-10-13 22:32:23.170 Created videometadata element for Christmas
2006-10-13 22:32:23.204 MythNativeWizard: Failed to open file for writing - /Christmas/Christmas.avi.xml
2006-10-13 22:32:23.204 Archiving Easter (/share/Movies/dvd/Easter.avi), do delete: 1
2006-10-13 22:32:23.204 Creating xml file for Easter
2006-10-13 22:32:23.205 Created videometadata element for Easter
2006-10-13 22:32:23.206 MythNativeWizard: Failed to open file for writing - /Easter/Easter.avi.xml
2006-10-13 22:32:23.206 Archiving Thanksgiving (/share/Movies/dvd/Thanksgiving.avi), do delete: 1
2006-10-13 22:32:23.207 Creating xml file for Thanksgiving
2006-10-13 22:32:23.207 Created videometadata element for Thanksgiving
2006-10-13 22:32:23.208 MythNativeWizard: Failed to open file for writing - /Thanksgiving/Thanksgiving.avi.xml
chmod: changing permissions of `/': Operation not permitted
chmod: changing permissions of `/lost+found': Operation not permitted
chmod: changing permissions of `/var': Operation not permitted
chmod: changing permissions of `/var/lock': Operation not permitted
chmod: changing permissions of `/var/lock/apache2': Operation not permitted
chmod: changing permissions of `/var/lock/evms-engine': Operation not permitted
chmod: changing permissions of `/var/lock/lvm': Operation not permitted
chmod: `/var/lock/lvm': Permission denied
chmod: changing permissions of `/var/run': Operation not permitted
chmod: changing permissions of `/var/run/dhclient.eth0.pid': Operation not permitted
chmod: changing permissions of `/var/run/iptraf': Operation not permitted
chmod: `/var/run/iptraf': Permission denied
chmod: changing permissions of `/var/run/dhclient.pid': Operation not permitted
chmod: changing permissions of `/var/run/sudo': Operation not permitted
chmod: `/var/run/sudo': Permission denied
chmod: changing permissions of `/var/run/console': Operation not permitted
chmod: changing permissions of `/var/run/console/test:7': Operation not permitted
chmod: changing permissions of `/var/run/console/mikal:7': Operation not permitted
chmod: changing permissions of `/var/run/apache2.pid': Operation not permitted
chmod: changing permissions of `/var/run/apache2': Operation not permitted
chmod: changing permissions of `/var/run/apache2/cgisock': Operation not permitted
chmod: changing permissions of `/var/run/crond.reboot': Operation not permitted
chmod: changing permissions of `/var/run/crond.pid': Operation not permitted
chmod: changing permissions of `/var/run/atd.pid': Operation not permitted
...snip...
Share