Monthly Archive for December, 2006

Vista DRM

The long gestation of Microsoft Windows Vista has in some way taken attention away from what is probably the most important feature of the software — the integration of [DRM](http://en.wikipedia.org/wiki/Digital_Rights_Management) deep into every component of the Operating System.

Techworld have [an article](http://www.techworld.com/opsys/news/index.cfm?newsid=7675) describing some of the effects. None of this is news really, these features are in many ways the raison d’être of the Vista project.

Basically, Microsoft have taken DRM to it’s logical conclusion. Right now, DRM is only able to restrict content in very specialised circumstances. Let’s take iTunes as an example (since the Zune doesn’t work with Vista). Apple get a copy of, lets say, … Baby One More Time by Britney Spears. Clearly access to this work needs to be restricted as much as possible, for the good of humanity.

Apple take this masterpiece and encrypt it. The file they transmit to end users is unplayable as-is, because of the encryption, preserving the unwitting purchaser from hearing the dulcit tones of Miss Spears. This is why they call it “protection”. Now, if the purchaser wishes to listen to this record, they must play it using the iTunes player. This sees the encryption, and asks Apple for the key to play the record. Apple’s servers check that the user has indeed purchased the record and, if they have, provide the key. The iTunes player then decrypts the record and plays it.

And right now this is as far as technology can go with protecting the user from Miss Spears. During playback the computer has access to the unencrypted content, and with properly crafted drivers the content could be duplicated in it’s unprotected state. Similarly many computers have an S/PDIF socket which lets you send digital music from your computer to a digital amplifier, allowing much higher quality music reproduction — and also record it.

Apple can’t stop you doing this — their software can just hand off the music, bit by bit, for the OS to play. This is the “Digital Hole”.

But no longer! Now, with Vista the encryption can extend all the way to the speakers (well, nearly). iTunes can inform Vista that the content is dangerous, and that releasing it on an unsuspecting consumer could damage them (as in the case of the lovely Miss Spears). In this case, Vista will refuse to allow the unencrypted content to be played on unsafe devices. This means the content must be re-encrypted before being sent to a sound card. The sound card then unencrypts the music before playing it. If your sound card doesn’t do this, then you can’t use it.

Your S/PDIF interface will be disabled when playing restricted content. Every way you can imagine for getting at the actual raw music has been removed or massively reduced in quality when you are playing this sort of content.

This is a really seriously challenging exercise in computing. If you can imagine the number of lines of code, and the complex cooperation between vendor components that’s needed to orchestrate this sort of behaviour, this is going to introduce a slew of bugs, complexities and incompatibilities. It also uses quite a lot of system resources, in all the extra crypto work and in monitoring devices to make sure they aren’t doing what they oughtn’t.

The cost of implementing all of this, by Microsoft originally, by all the vendors who need to cooperate to make it work and to the user in the extra oomph they need to purchase and the time spent rebooting broken computers is immense. Over the lifetime of Vista, with the billions of possible users, this could easily add a few trillion dollars of extra expense. Well worth every penny to protect the innocent public from unadulterated exposure to the lovely Miss Spears I am sure you will agree.

But say, for example, the user chose to listen to something less incendiary. Who precisely benefits from this quite significant economic cost? A cost born entirely by the purchaser of this shiny new Operating System. One person we can conclude confidently that it does not benefit is the very person who buys Vista — all the software does is let them play some music they could play before.

Does it benefit Microsoft? You’d assume so, for the huge amounts they’ve spent on it. I can imagine a world where all media owners required this sort of technology and only Vista offers these features. In this hypothetical world, Vista would have a massive advantage. Who is going to buy an iBook when they can’t even listen to “… One More Time”?

In the music industry it’s becoming pretty clear that the world is not like this. If Vista had existed ten years ago, then this would be plausible. The industry has faced it’s demons now though, and is slowly coming to accept a world where their product can be easily duplicated. They are finding other business models. They make a lot of money out of iTunes as it is, and are not going to cut off Apple when Vista is released.

Other industries, such as the (probably most massive of everything, ever) burgeoning Internet television business are going to have to come to their own conclusions about DRM — but I’d be willing to bet quite a bit that in the final analysis they’ll settle for the vast oodles of cash they’ll make without DRM as it is. Making it more difficult for your customer to buy or use your product is bad for business. c.f. [YouTube](http://youtube.com).

So if Microsoft won’t sell more copies of Vista, then why have they gone to all this effort? I bet if you ask Bill Gates, even he won’t know. Certainly he seems to have [gone off DRM](http://www.boingboing.net/2006/12/14/bill_gates_dont_buy_.html) (his legal advice is very suspect incidentally).

Personally I reckon this is a case of an organisation gone mad — something that isn’t uncommon in large organisations with a lot of management. Some senior bod has decreed that DRM is “good”, and the organisation has swung ponderously into motion. Vast teams of architects and engineers spend years crafting a solution, none of them willing, able or interested in asking whether their efforts are worthwhile. By the time the effort has been expended and the product completed, who is going to ask it if it was worthwhile? Is there anyone with the cojones to pull the features?

Mr Gates was always the one with the cojones — and he certainly had them. He understood at a fundamental level that you can’t allow this sort of thing to drift — business strategies take on a life of their own, and that vitality is enough to defeat lesser men. I think those in charge at Microsoft now are all lesser men, and that these features, and others driven by the same attitude, will eventually be their downfall.

Update 15/1/2007: some [real detail](http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt) from Peter Gutmann, who has done some research on this.

Merry Christmas

[since](http://www.adrian.tk/2006/12/what.html) [everyone](http://www.akester.net/2006/12/injustice-of-being-parent-at-christmas.html) [else](http://www.solveig.co.uk/2006/12/merry-christmas.html) [has](http://yetanotherbloomingblog.blogspot.com/2006/12/its-beginning-to-look-bit-like.html), some xmas bloggage.

A typical christmas I think — lots of family about and the kids were ill. I rather enjoyed it myself, even though I can agree with Rowan’s [lack of christmas spirit](http://www.akester.net/2006/12/injustice-of-being-parent-at-christmas.html). I’ve never expected much christmas spirit though, so it doesn’t bother me ;)

Poor Jacob has been teething and so had tonsillitis, which meant lots of disturbed sleep. He is getting slowly better, but his nights are worse than his days, and he’s not been eating much. He’ll be fine in a few days though I think.

We now need a new house to contain all the toys. Our first mission of today (once the kids are dressed) is to go down the road to buy enough plastic stacking storage to contain all the new toys. Next year we’re asking everyone to give us books and clothes.

The christmas dinner was a success, with the best turkey we’ve had yet, and a very nice ham, both from [Scott's](http://www.scottsofyork.co.uk/) [random plugins required]. I got to Scott’s at 8.30am on the 23rd and there was a queue down the road already.

I’ll stick a few photos up when I find the camera.

UK Statute Law website

This is a really neat new site from the Department for Constitutional Affairs: a website with a complete database of UK Statute Law. It has law going right back from the present day to the 1267 [Statute of Marlborough](http://www.statutelaw.gov.uk/legResults.aspx?LegType=All%20Primary&PageNumber=105&NavFrom=2&activeTextDocId=1517427), which includes what is apparently a [Remedy against Accountants](http://www.statutelaw.gov.uk/content.aspx?LegType=All+Primary&PageNumber=105&NavFrom=2&parentActiveTextDocId=1517427&ActiveTextDocId=1517431&filesize=2624) .

It also has, of course, the 1297 [Magna Carta](http://www.statutelaw.gov.uk/legResults.aspx?LegType=All+Legislation&title=magna+carta&searchEnacted=0&extentMatchOnly=0&confersPower=0&blanketAmendment=0&TYPE=QS&NavFrom=0&activeTextDocId=1517519&PageNumber=1&SortAlpha=0), which is worth a flick through. Particularly this [remarkable restraint](http://www.statutelaw.gov.uk/content.aspx?LegType=All+Legislation&title=magna+carta&searchEnacted=0&extentMatchOnly=0&confersPower=0&blanketAmendment=0&sortAlpha=0&TYPE=QS&PageNumber=1&NavFrom=0&parentActiveTextDocId=1517519&ActiveTextDocId=1517542&filesize=1490) on the king. In these days of Guantanamo Bay, ASBOs and Control Orders it’s maybe worth remembering just how far back these principles go.

We’ve been, er, Vecosysed

Mike Butcher has [posted](http://samsethi.glaxstar.com/?p=37) about one of our favorite apps, [Sleevenotez](http://www.sleevenotez.com) over on his and Sam Sethi’s [Techcrunch UK](http://uk.techcrunch.com) competitor/replacement/thing currently called [Vecosys](http://www.vecosys.com).

It’s a really nice writeup, thanks Mike :)

463 days

Well, it was nice to have them, for a bit at least. What a depressing way to lose them though: 3-0, out of 3 games. I had hoped that we would do rather better than that. England have had a torrid time since the last ashes with a lot of injuries and the rest of the team unable to settle, while Australia have clobbered all-comers and Ricky Ponting has discovered the inner Bradman. It wasn’t very auspicious, but I had managed the same level of unquestioning hope that I had for the 2005 Ashes, and that proved virtually Delphic then.

A lot of the responsibility for this catastrophic failure has to go on the team management who have consistently failed to look forwards and play their best team. The business about Michael Vaughan being the real England Captain, even when he was in a different country, was just weird. Flintoff’s selection as (Acting?) Captain now looks very suspect too. Strauss would have been a better choice I think, especially after Flintoff’s injury (although I defended the Flintoff decision at the time).

Geraint Jones now looks like a cock-up too, although I don’t think anyone is to blame for that other than Jones himself. He has the ability, he just didn’t make use of it. In the circumstances in which England found themselves Read might have been a better batsman. He doesn’t have great technique, but he has a lot of guts.

And of course there is Monty Panesar. Selecting him instead of Giles wouldn’t have made much difference on it’s own I think, but it certainly is a sign of the management’s attitude.

Finally the decision to only play a couple of short games against state sides as warm up seems very suspect too. The players themselves will never blame lack of match practice, since they want to spend more time with their families — but several players looked distinctly undercooked: Harmison and Flintoff especially, both of whom had to perform if England were going to retain the Ashes.

I wonder how different things might have been if we’d had Strauss as captain, with Monty and Read in the side for Giles and Jones. I suspect those who have to decide on Fletcher’s future will be wondering that too.

Blaming Fletcher for everything is unfair, of course. He only pursued the same selectorial policy begun at the start of his reign, which successfully built a team to win the 2005 Ashes.

To put things in perspective, the Australians in Australia are very, very hard to beat. [Very few have managed it](http://stats.cricinfo.com/guru?sdb=team;team=AUS;class=testteam;filter=advanced;opposition=0;notopposition=0;homeaway=home;continent=0;country=0;notcountry=0;groundid=0;season=0;startdefault=1877-03-15;start=1877-03-15;decade=0;enddefault=2006-12-05;end=2006-12-05;tourneyid=0;finals=0;daynight=0;toss=0;scheduleddays=0;scheduledovers=0;innings=0;followon=0;result=0;seriesresult=lost;captainid=0;recent=;viewtype=series;runslow=;runshigh=;wicketslow=;wicketshigh=;ballslow=;ballshigh=;overslow=;overslow=;overshigh=;overshigh=;bpo=0;batevent=0;conclow=;conchigh=;takenlow=;takenhigh=;ballsbowledlow=;ballsbowledhigh=;oversbowledlow=;oversbowledlow=;oversbowledhigh=;oversbowledhigh=;bpobowled=0;bowlevent=0;submit=1;.cgifields=viewtype) (England 13 times, West Indies 4 times and New Zealand once). It is quite possible that no matter which team we fielded, with no injuries and clairvoyant management, we would still have lost the Ashes.

Iguanadon

The arms of Maidstone:

Weird. As.

Bizarre run out

You need to go to around 02:40.

I am in two minds about this. Leaving your crease before the ball is dead is pretty dumb — but poor show from the kiwis frankly, even if this was within the laws.