Anyway, I skipped lunch and instead worked a bit on this problem. After much head scratching, came up with a O (N^2*M) dynamic programming solution (with N the length of the sequence and M the size of the alphabet). Was really proud of myself for about 3 minutes, until I noticed that N can be as large as 100000. Boom. Anyway, my worthless non- solution is here (sorry, in Java - as I said, I did it at work). Space can be reduced to just O(N*M), but that doesn't help with time.
laburu: I'll get around to answering your e-mail eventually, I swear.
FOAF updates: Trust rankings are now exported, making the data available to other users and websites. An external FOAF URI has been added, allowing users to link to an additional FOAF file.
Keep up with the latest Advogato features by reading the Advogato status blog.
If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!