Archiv für Mai 2008

New Jockey upstream release 0.4

I finally sorted out some remaining issues and released a new Jockey. This brings support for third-party package repositories, and implements an XML-RPC driver database client, aside from the usual load of bug fixes. The test suite improved again, too, it (optionally) uses python-coverage now.

Planning ahead, the next things I want to get to are

* Find some interested people to work on a driver database server (I will write a specification page for it soon).

* Write a driver DB implementation for the OpenPrinting driver database.

* Implement a dbus service to request a device driver. For now this will be used by system-config-printer to request a printer driver, but I guess it will be generally useful for other parts of the desktop as well.

* Change the upstream default implementation of the package related bits in OSLib from “not implemented exception” to PackageKit. I hope we can find a way soon to make PK work on Ubuntu as well.

Apport retracers are back

As a lot of you were rightfully complaining, the automatic Apport crash bug retracers had been offline for about two weeks. The main reason was that the hardy chroot became totally broken, due to bugs in fakechroot.

Yesterday I finally took some hours to track them down and fix them (see LP #228534). Now, after also dealing with the usual breakage of python-launchpad-bugs and Launchpad getting out of sync, the retracers have been restarted and are working happily again.

Now they are grinding through a huge backlog, I guess it will take them a few days to process all the crash reports that piled up.

HAL is dead, long live DeviceKit

Thanks to David for summarizing the future of hardware management. Interesting read, and the thread promises an interesting discussion.

My computer discovered playing games

The other day I read about the current c’t programming contest and got addicted immediately. The task is to create a program which plays the Atari Asteroids game from 1979:

Unfortunately they do not send that gem to everyone :-), but they do send the original 8 KB of ROM, so you can play it on the MAME emulator.

So far I got the emulator and the game running, and have a Python script which tracks the objects and their velocity vectors. I spent half of the weekend doing the vector analysis bits with good old pencil and paper. Reviving all the maths bits from school (about 11 years ago) was a lot of fun! Now I have useful formulas for determining the shooting angle to hit a moving comet from a moving and decelerating ship, determining if and when two moving objects with given radius collide, etc. In my head I have a first cut of a strategy, too.

Now I just need to find some time to actually implement all of this…

Once the contest is over, I’ll publish my sources, in case anyone else is interested.

Tags: , ,