Postr 0.3

Postr 0.3 is out. A few typo fixes in my code, and an update to the latest flickrapi.py to fix uploads after the Flickr servers decided to be more pedantic. This was proof that I am the only user of Postr, as it didn't work for a good week or so.

You can follow the development in the Bazaar branch, or get the Postr 0.3 tarball.

10:06 Saturday, 16 Dec 2006 [#] [computers/postr] (10 comments)

KVM Broken By Lenovo

God damn it, I spent the last hour fixing the Debian packaging for KVM and building it for Edgy, and I'm rewarded with this:

[17179660.420000] kvm: disabled by bios

I had a look in the BIOS but couldn't see anything obious to enable this again.

Lenovo, you suck. And I was loving the X60 so much.

21:30 Tuesday, 12 Dec 2006 [#] [computers] (15 comments)

Devil's Pie in Fedora

Sebastian Vahl just mailed me to say that he has packaged Devil's Pie for Fedora Core (5, 6, and development) in Extras. Thanks Sebastian!

17:00 Sunday, 10 Dec 2006 [#] [computers/devilspie] (2 comments)

Managing an APT Repository via WebDAV

At work we've just bought online another server, so we have a true public/private server split. The private server is only accessible via secure methods, and the public server only has a few users to reduce the possibility of people brute-forcing their way in. However, the public server holds the APT repositories for debian.o-hand.com and maemo.o-hand.com. Before the split this was not a problem, after building the package dput was used with the scp method, and then mini-dinstall was run as the user to update the repository. Now that there are minimal accounts on the new server, we can't scp the packages to the server, or ssh in to run mini-dinstall. Running m-d in daemon mode solves the latter, but there is still the problem of getting the files on the server in the first place.

Enter WebDAV. The public server already has a number of WebDAV shares (secure client shares, Subversion, and so on) so it was trivial to export the mini-dinstall incoming queues over WebDAV. With a custom init script to start mini-dinstall in daemon mode, anyone with the right permissions can upload files via WebDAV. One option here is to use Nautilus, but I like the safety of dput. A day of hacking, with lots of screaming at Python's urllib2, produced this patch to dput that adds HTTP uploading. I've been using it for a few days now and it seems to be working well, so hopefully it will be merged into Sid soon.

NP: Xmas in Frisko, soma.fm

11:30 Wednesday, 06 Dec 2006 [#] [computers] (1 comments)

Postr 0.2

Postr

Postr 0.2 is finally out. I didn't get around to finished the all new Flickr API, but instead there are a lot of bug fixes.

You can follow the development in the Bazaar branch, or get the Postr 0.2 tarball.

20:55 Tuesday, 05 Dec 2006 [#] [computers/postr] (8 comments)

Via EPIA Media Box?

I'm considering building myself a Via EPIA-based media/NAS box in the new year, as a replacement for the LinkStation NAS I have upstairs (my latest Unison run took 24 hours due to the limited RAM) and the ThinkPad X22 I have under the hifi (as it only plays music, and doesn't do video).

I notice that all of the EPIAs have hardware MPEG acceleration, though I'm not sure what models have what features. I plan eventually on using the box to play DVDs and random MPEG streams from (say) BitTorrent, and play and record DVB-T streams. Can anyone say if the Via EPIA MII 6000 is capable of this, or should I go for something a little more powerful like the SP8000EG? The former has an "MPEG Accelerator" whereas the latter explictly states accelerated MPEG decoding and encoding. Please email me or leave comments, thanks!

17:00 Sunday, 03 Dec 2006 [#] [computers] (11 comments)

Contacts 0.2 for Ubuntu Edgy Eft

I've build a package for all the Contacts users running Edgy who don't fancy building Contacts 0.2 from source. Simply add the following source to sources.list:

deb http://debian.o-hand.com edgy/

Remember to report any bugs to our Bugzilla!

20:20 Friday, 01 Dec 2006 [#] [computers] (2 comments)

Devil's Pie "Sell Sell Sell" 0.19

Devil's Pie (someones favourite window manipulation tool) 0.19 is out. Just a fix for older systems here.

Downloads are in the usual place.

16:56 Friday, 01 Dec 2006 [#] [computers/devilspie] (0 comments)

bprobe

Wow. Behdad makes a casual mention to the coolest hack in the world. Yes, there are better solutions but they are heavy, this is quick and lean. Love it! The only problem is that typically GTK+ is built with PLT hacks, so the probes cannot intercept the calls. With a GTK+ built without the PLT manipulations, this should do exactly what you expect:

#include <gtk/gtk.h>
#include <bprobe.h>
PKG_CONFIG_CFLAGS(gtk+-2.0)

PROBE
void
gtk_widget_show (GtkWidget *w)
{
        LOG ("gtk_widget_show");
        return SUPER(gtk_widget_show) (w);
}

NP: Londinium, Archive

10:40 Friday, 01 Dec 2006 [#] [computers] (0 comments)