Mohammed Sameer: katoob under maemo.

So the svn repository now contains what should be katoob 0.5.9 (Hopefully). Which can now run under maemo. read more

So the svn repository now contains what should be katoob 0.5.9 (Hopefully). Which can now run under maemo. read more
Everything seems to work, so just releasing it. I think it's becoming an amazing tool to do archive rebuild.
It just misses a good Web interface.
Patents are the best way to improve development, and software inventors have just the natural right to their algorithms and designs. Research and Development in industry wouldn’t just work without patent protection, and technology improvements would just stop, right?
Well, I’m not so sure of that.
Key arguments against software patents, stolen from Pieter Hintjens’ article:
For various reasons, I need to secure access to some resources using two-factor authentication, and thus have been looking at smartcards. These little devices store digital keys and certificates, protected by a passphrase, and calculate digital signatures on-device. Hence the two factors: possession of the card, and knowledge of the password.This sort of scheme is widely used by government agencies and large corporations (and largely reliant on Windows, too), but I wanted to find the low cost way in for the small operator using open source.
The NW-Europe Programming Contest NWERC is over (for two weeks already). The winners were from Oxford, and the best Dutch team were our Utrecht prodigies at number 7 (full standings). If I may, I think it's been a great success, but of course, there's in our eyes much to be improved. And we will, in 2008. We also got some compliments about our own jury system DOMjudge, which is nice to hear.
Even more good news is that we were allowed to send three teams off to the ICPC World Finals. These finals are in Bannf, Canada and I'll probably be there aswell.
I've just uploaded the first (hopefully) working version of langupdate to Emdebian. Full details on the emdebian website.touch /tmp/keyfile chmod 600 /tmp/keyfile dd if=/dev/sda2 bs=1k count=1 of=/tmp/keyfile cryptsetup luksAddKey /dev/hda5 /tmp/keyfile wipe /tmp/keyfileNote the careful handling of the temporary key file (luksKeyAdd won't read from stdin, whereas luksOpen will), I recommend storing it on a ramdisk and you should certainly use wipe rather than rm if you don't. Once you have added your USB key you could remove the passphrase from the key list with luksDelKey, but if for any reason you lose the USB hdd you will be unable to decrypt the partition; I recommend leaving both keys available. Booting automatically In order to boot using the USB key we need to provide a couple of helper scripts in order for the initramfs to work. We also need to set some parameters on the kernel command line. In Debian these scripts can be added to the initramfs by putting them in /etc/initramfs-tools/. The first script is a helper script used when building the initramfs. This writes a second script into the initramfs itself which takes the partition as a parameter and prints the key on stdout. This should be written to /etc/initramfs-tools/hooks/cryptkey (executable) and contain:
#!/bin/sh -- PREREQ="" prereqs() echo "$PREREQ" case $1 in prereqs) prereqs exit 0 ;; esac . /usr/share/initramfs-tools/hook-functions cat > $ DESTDIR /bin/loadkeyThe second script runs immediately before the cryptsetup script in the initramfs and ensures that the USB disk is available. This will cause the boot sequence to block until the USB disk is inserted and the device nodes created by udev. It can be provided directly in /etc/initramfs-tools/scripts/local-top/00ensureusb (executable) and should contain:
#!/bin/sh --
PREREQ=""
prereqs()
echo "$PREREQ"
case $1 in
prereqs)
prereqs
exit 0
;;
esac
if ! grep cryptopts /proc/cmdline >/dev/null; then return; fi
. /scripts/functions
log_begin_msg "Waiting for USB to become available..."
modprobe usbcore
modprobe uhci_hcd
modprobe ehci_hcd
modprobe usb_storage
while [ ! -b /dev/sda2 ]; do
sleep 1
done
log_end_msg
exit 0
The cryptsetup script itself reads configuration from the kernel command
line. Here you can give it a script which will read the key and the
source for the key to read. Edit your grub or lilo config and append
the following to the kernel command line:
cryptopts=keyscript=/bin/loadkey,key=/dev/sda2,source=/dev/hda5,target=hda5_crypt,lvm=hecate-root
You will obviously have to change the name of your lvm root partition
(volumegroup-logicalvolume). I recommend having two entries in the
boot menu, one with the cryptopts and one without to allow easy
decryption using the passphrase instead.
Conclusion
That should be everything. Boot your computer and inset the usb hdd.
When the boot process passes decryption you can remove it again. You
may have to replug it if you boot with it inserted to start with.
awesome beiing in rc state, that leaves me a small amount of spare time. I decided to spend it on rebuildd. I had started the 0.3.0 version back in August, but never touched it again until now.
I was afraid because I did not remember in which state I left the code repository. And, good surprise, the code was in a quite good shape!
I just implemented and fixed some stuff that were reported on the BTS, and then, I only had to test it out.
For that I used the servers kindly provided by TuxFamily.org:
rebuildd-job stats says that 20 % of the archive is now built in less than 24h, seems fast, cool.
Bad point is that I'm building and trashing logs into /dev/null because I've no QA idea to implement right now.
I’m a developer, and my primary tool is my computer. Unfortunately, about 3 months ago, my computer died an untimely death, and I have resorted to using a pentium 200MHz machine with 256MB Ram, which lets me keep up with regular communications, but significantly slows the pace of development.
As a computer is a big purchase, and represents most of what I want to receive for the holidays, I’ve set up a fundraiser so that people who wanted to help towards this gift could do so without needing to purchase the entire thing (and to avoid the all too common problem of receiving 8 video cards and no RAM).
www.fundable.com allows me to accept pledges via paypal but NOT collect any unless the goal is met, so if you feel giving and pledge something, it will only be charged if the goal is met ( this is set at $250, which seems to be the minimum for a decent system, if more is collected, I can look at something better). You can read more about how fundable works from www.fundable.com/faq, and I’m more than happy to answer any questions via email, IRC, Jabber, etc.
My migration to mercurial is now complete. I've completed the last step, which was the migration of all the $foo-commits mailing lists.
It is at times like this that I remember two things:
We popped out and bought a MacBook Pro for Sarah today, as her PowerBook G4
is starting to really fall apart.
Despite Leopard being well and truly out now, it came with Tiger
preinstalled, but included a Leopard upgrade DVD. No big deal.
So we fired up the laptop, and went through the final install steps for
Tiger. I was trying to preempt any networking problems by adding the
MAC addresses to my DHCP server and wireless access point before it
went to try and connect to the network. I have a whitelist of allowed MAC
addresses in my access point, and DHCP server is only configured for static
reservations on that interface.
The onboard Ethernet MAC address was easily determined. It's printed inside
the battery cavity. Finding out the wireless Ethernet MAC address is another
story altogether. Basically I couldn't, so I gave up, hoping maybe the
access point would log the unauthorised MAC address, and I could then add it
where it was needed.
Well, the access point didn't appear to log anything useful. The Mac did
however pop up a dialog box saying something the effect of the laptop
needing to be added to the wireless access point's access control list. The
one piece of useful information to display at this point would be, you
guessed it, the very MAC address I need to be adding to the access control
list!
I ended up temporarily disabling MAC address restrictions in the access
point and then the DHCP server happily logged the MAC address that didn't
have a lease, and we were able to proceed.
Maybe preinstalled Leopard does it better. We'll never know.
Update
Aww crap. Seems I didn't study the box closely enough. There's a
sticker with all that pertinent information on it.














I'm really tired of people pushing the adoption of svn because it's a better CVS. The only people who that argument hasn't swayed are those who don't care what vcs they use, and that's because they don't care about the argument. Despite its name, svn is the status quo now, so do try to compare it to systems that it hasn't already made obsolete.
Atheros has released a AR5007EG chipset patch that makes wifi work for Debian on the Eee PC.
I have used the instructions in the ticket to build and install the patched driver. As noted in the comments, you’ll need the snapshot, not the latest release source for the patch to apply cleanly.
--author
option for commit.
One of the hard things about getting started with mpd is that there seems
to be little documentation about the details of how other people use it.
Instead you're given a collection of great tools and an excellently
designed system, and expected to build your own personal music playing
setup out of them with little direction. So I thought I'd document mine.
There are several computers around the house that run mpd. One in my
office, one has speakers in the bedroom. My laptop, of course. And I put a
nslu2 in the living room in a fun lego case that embeds the little computer
into a remote controlled speaker (photos when I find a camera). All of
these machines have their music libraries synchronised using unison.
I use sonata as a graphical frontend and browser. I keep one instance of
sonata running on my desktop in the office, so I can go there to change
music if my laptop's not on. Also so guests can change the music.
I like to listen to whole albums at a time, and sonata doesn't make this
especially easy in its user interface. I eventually realised that the best
way to do it, for me, was to create a separate playlist for each album.
Sonata does make it really easy to click on a playlist and start playing
it. I wrote mpgenplaylists to automatically generate those playlists for
me.
I wrote a set of commands that I can use to transfer state between my mpd
daemons. The easiest to use and most useful of these is mpswap, which
swaps the state of two daemons. Generally I only have one mpd playing at a
time, and the others are paused, though it'll also swap the states of two
running mpds. So if I run "mpswap dodo dragon", the music that had been
playing in my bedroom starts coming out the speakers in the office. Same
song, not a single missed note. That's pretty handy. Or I can run "mpswap
dodo" to swap state with my laptop, and carry the music out of the
house with me. (This would be more seamless if I carried some bluetooth
wundergadget so my computers knew where I am, but I think I'll pass.)
Another tool I wrote is mpstore, which dumps the mpd daemon state out to
stdout, so it can be saved to a file and later loaded with mpload. I
use this when I'm listening to audiobooks, to store my place. Another one
is mpfade, that can wake me up by slowly fading in music. Or slowly
fade out and stop. Writing these little hacks is addictive, but I won't
bore you with the rest.
On some of the servers I run mpd-dynamic, a daemon that watches the
playlist and makes sure it always has 10 unplayed items in it, chosing new
items at random. It also removes old played items from the playlist.
This is nice if I want music going without the bother of picking what.
I typically add some albums to the playlist, and then when they're done, it
keeps playing random stuff until I manually add something else. I do want
to find something that can more intelligently pick things to play. I
tried lastfmpdqc, but didn't like its results.
Switching to mpd has meant that the filenames of mp3s matter again, since
mpd UIs expose the filenames (a pity). I used exfalso to clean up all my
file names based on the music's tags. I also added ReplayGain information
to all my music so mpd can use it to normalise volume.
BTW, after all this, I'll probably still only listen to music for an
average of 3 hours per week.
mpd-dynamic is in the Audio::MPD perl module.
mpdswap, mpdstore, mpfade, mpgenplaylists, and more are in
mpdtoys.
Next.