Free Software That’s Trouble-free

My latest Times Online article is about the state of usability in the Free Software world. It’s been a bit more than two weeks since the last one; the hiatus was caused by some personnel changes at The Times.

Perhaps “Trouble-Free Software” might have been a catchier title; but I don’t write those, and that’s with the benefit of hindsight. As always, comments and cluesticks welcome.

Linux Desktop Strategy

Wise words from “cantsin” over at the excellent LWN weekly news site. (No, that’s not really tautologous. Read their FAQ.)

IMHO a working Linux desktop strategy for mainstream users needs to refocus from OS installations on existing PC hardware to a platform strategy similar to the Apple Macintosh: computers with 100% Linux-supported components (without the need of proprietary drivers or third-party patches), a pre-installed, simple to use, plug-and-play, 100% free distribution (Ubuntu IMHO), built as boxes that also look differently from an ordinary PC, with a Penguin logo where a Mac would have an Apple logo.

Could Linux on the desktop be pushed forward by a funky and unusual case design? If some company were to come up with one, and sell it only to companies preloading Linux, so you had “Linux machines” available from a number of different vendors but with identifiable common physical features…

Free Java Licensing

As many people know, Sun are planning to make their Java implementation free software. The biggest open question, upon which Simon Phipps continues to be tight-lipped, is what licence or licences they are going to use.

There are two free Java efforts – divided by licensing. There’s the GPL effort, containing projects like Kaffe and Classpath, and the Apache effort (“Harmony“), using the ASL.

As Dalibor Topic wisely points out, when picking their licence Sun need to choose which side to be compatible with – or, better, be compatible with both. A third free Java implementation, further splitting the community, doesn’t bear thinking about.

Patent Rights In GPL Upgrade

At some point, I plan to make some comments on draft 2 of the GPLv3 free software licence, which came out a couple of weeks ago (high level summary: much better). However, there’s one thought I want to throw out there now.

The GPL v2, as commonly used, has an upgrade clause – that is, the boilerplate allows you to use the code under “either version 2 of the License, or (at your option) any later version”. The GPLv3 section 11 has a covenant not to sue with regard to patents, which was not in GPL v2:

You receive the Program with a covenant from each author and conveyor of the Program, and of any material, conveyed under this License, on which the Program is based, that the covenanting party will not assert (or cause others to assert) any of the party’s essential patent claims in the material that the party conveyed, against you, arising from your exercise of rights under this License.

Here’s the scenario. Company X contributes code to a GPLed project under “v2 or later”. They have a patent on something that code does, but don’t tell anyone and aren’t enforcing it. The project maintainer subsequently upgrades the licence on the development version to v3. Does Joe User, who takes a copy of the code under GPL v3, have protection from being sued by Company X for patent infringement? After all, the licence under which Joe received the code states that he received it with a covenant from each author, which includes Company X, that they won’t.

One could argue that yes, by licensing the code under GPL v2 or later, Company X has implicitly given away any rights that future versions of the GPL state that they have given up. One could also argue that no, they didn’t give away that right and they can’t be forced to do so now.

I wonder if this is a scenario which the FSF has considered?

Desymbolizer

A friend of mine is learning Greek before he goes to theological college, and is getting in a mess over fonts. He keeps finding that if he copies and pastes some Greek, it magically turns into transliterated Latin letters. Guess what? It’s the Symbol font problem again.

It’s 4.30am and I’m awake and jet-lagged so, to help him out, and anyone else who doesn’t have Symbol installed but may want to read some text written to require it, I’ve written the Desymbolizer. You paste some text designed for Symbol into the text box, and it gives it back to you as the correct Unicode codepoints (encoded as HTML numeric entities).

You can try it out with text from greekbible.com.

GPL v3 Allows Source Download For Physical Distribution

RMS has picked up the second point of my GPL v3 draft 1 comments (yes, I’m sure a lot of other people made it too), and it will now be permissible to allow source download for binaries distributed on physical media.

However, we’re now considering a major change in this policy. The coming draft of GPL version 3 will propose a new alternative allowing, for the first time, distribution of binaries on physical media and providing the source code over the network. This will require a commitment to keep the corresponding source code version available on a network server for three years.

Wahey :-)

LUGRadio Live

I’ll be at LUGRadio Live in Wolverhampton this weekend, giving a talk on “How To Destroy The Free Software Movement”. Be there if you can; last year’s event was excellent and this year’s promises to be even better.

What About…

A FUSE loopback filesystem with COW semantics for hard links that could be used with a tweaked SVN client to remove the 2x disk space penalty you pay for keeping a pristine copy of everything and being able to do local diff?

Or a digibox which detected the “ad break beginning”/”ad break ending” signals that British channels send out for VCRs to use, and blanked the screen during the ads?

Or a law which said that patents were non-transferable? So that if a particular company or person invented something, they would be the only ones ever who could licence it, or sue for infringement? This would make patents more likely to be used to protect innovation and far less like a tradeable asset which let you sue your competitors.

Ubuntu Treo Woe

It seems that, unless I’ve misunderstood the situation, more than a month after release Ubuntu 6.06 “Long Term Support” Dapper Drake still can’t sync with any form of Palm Pilot over USB due to a kernel bug. And I haven’t seen any activity which suggests this situation might change any time soon. Are they planning to leave this device class long term unsupported, then?

My Treo 600 coordinates my life, so when it died (an unfortunate incident involving leaving a charger in a hotel room in Amsterdam, and trying to jerry-rig a temporary one; the sort of thing that could happen to anyone) I bought a new one and had to restore a backup ASAP using jpilot. But, having upgraded both my machines to Dapper a day or two before, I just couldn’t get it to sync.

Fortunately, my flatmate’s old machine hadn’t yet been upgraded, and I copied the backup over and restored it from his machine. But I could have been completely stuffed.

Insecure PIN Mailers

I just sent the following email to Nominet, the UK domain registration authority:

Dear Nominet,

Today I received two “Confirmation of Registration” letters from you – one for a recently-registered domain, and one for a renewal. These had the “secure” PIN mailers in the bottom right hand corner, which are supposed to assure me that, if they have not been tampered with, no-one else knows the PIN to manage my domain.

You will be unhappy to hear that I was able to read the PINs from these PIN mailers in about 45 seconds using nothing more than a bright light at an oblique angle, and without tampering with them or peeling them back in any way. If you want to try this yourself, I can tell you that closing one eye helps.

This type of problem with PIN mailer technology was highlighted back in 2005 by Mike Bond and his research team at the University of Cambridge, who published a report (PDF). This was covered in the news at the time.

Unless your PIN protection is snake oil security, I hope you will consider upgrading it to a version which addresses the technical shortcomings outlined in the Bond paper.

Yours,

Gervase Markham

I read the Bond paper a few weeks ago; when the Nominet letters arrived I decided to try it – and it really works! Next time you get a PIN mailed to you with one of these things, give it a go. Find a nice bright point light source, shine it on the paper from a very shallow angle, and look with one eye from the equal angle on the other side.

Patch Maker 3.0 Released

Patch Maker is my software for quickening the process of making, testing, getting reviewed and generally managing patches to a bit of software stored in a CVS or SVN repository. It particularly helps when you are making multiple, possibly conflicting patches at the same time.

After two and a half years, I’ve just released version 3.0. The key changes are the addition of initial support for SVN as well as CVS, and removal of the old “build mode”, which was used for editing Mozilla project products in-place. This required a file called chromelist.txt to map from installed chrome paths to CVS paths, and this is no longer shipped for size reasons. So it’s not nearly as useful as it was. This and other feature removals has reduced the code size by 25%.

Chip and SPIN

My latest article for The Times Online, called “Chip and SPIN“, points out that the much-trumpeted switchover to using PINs rather than signatures for plastic card transactions in the UK may not have been as consumer-beneficial as the banks would like us to believe.

Since it was published, someone has emailed me the following additional information:

  • In 2005, fraud at ATMs stood at £74.6M, a rise of 81% on the previous year. (Source: Card Fraud the Facts)
  • A recent announcement from Tesco, relating to their attempts to combat card fraud, said: “Statistics show that skimming accounted for over £95 million-worth of losses to customer accounts across the entire network of ATMs.”
    This is another rise (of about 27%) for 2006 so far.

  • It should be possible to contact your bank and opt for a “Chip and Signature” card if you feel unsafe using a PIN.

Markup As Art

Here is an extremely cool way of looking at websites – it turns the HTML code tree into a graph, with nodes coloured according to tag type, and then lays them out in an aesthetically-pleasing manner. And, of course, modern clean HTML looks much nicer than old crufty table-based tag soup.

The applet which generates them is also online (requires Java). Put your favourite URLs into it, and post any here which make particularly beautiful pictures.