Ordnance Survey Opens Data

Awesome. Awesome, awesome, awesome. First great thing: we can finally have decent postcode geocoding in the UK for free maps like OpenStreetMap. And, in time, I’m sure the UK will have the best free map on the planet. (Although I know the Germans are working hard.)

Did I mention this was awesome?

Why We Need Open Video Hosting

[Note: I lost my usage report and have now rediscovered it; data revised downwards on 2010-04-06 15:30 BST]

Length of “Why Theology Is Important” video 2 minutes 7 seconds
Size of video in Ogg format (already reduced to 1/4 the resolution of the original) 26MB
Total gerv.net bandwidth used in 1 week 69GB
Inclusive bandwidth allowance with my package in 1 month 32GB
Cost of additional bandwidth per GB £1.40
Additional cost to me, so far, of hosting one single 2-minute Open video (unless my provider is merciful) £51.80 (€58.80; US$78.65)

My blog isn’t particularly high-traffic, although the post was also syndicated on Planet Mozilla. On the basis of the figures above, I assert that self-hosted video is a non-starter for most people. Big video sharing sites need to start supporting embeddable open video ASAP.

Please Upgrade

Inspired by something Asa said, I think we really need a website which clearly explains to people why using unsupported browsers or OSes on the Internet is a bad idea, and why they should fix it (even if it costs money). If we can find the best and most convincing words to do this, everyone else can point people with old software at the site.

Does anyone know of anything like this which exists already? I know we did “Internet Health Check“, but that was only about browsers, and seems to be dormant now. Still, we could reuse the name.

Here’s some wordsmith brainstorming; further contributions welcomed:

Using old software is normally fine – if it works for you, that’s great. No-one should be able to tell you what to do in the privacy of your home. But when you take that software onto the Internet, your choices start to affect other people. If you use insecure software, your computer is at much greater risk from Internet attackers who are trying to recruit it as a “zombie” or “bot” and use it to send spam or attack other sites. These attackers know about security problems with old software that they can use to take control of your computer, if you accidentally visit a malicious website, or even visit a website you trust that itself has had a security problem.

Upgrading can be expensive – we know that. Consider it a cost of being a good net citizen. Just as maintaining a car or house costs money, maintaining a computer can do as well. Having said that, there are some ways to make it less expensive. …

The site would read your User Agent and then provide appropriate custom text for your out-of-date OS, or browser, or both. (It would need a database of which versions were out of date and which were not.) For old OSes it would suggest:

  • Buy a new computer (the easiest option, but the most expensive)
  • Upgrade your OS (get upgrade disks on eBay?)
  • Install Linux (links to useful resources)

For old browsers, it would suggest upgrading to the most recent version of your existing browser – except that the IE section would have a note about the importance of web standards, and a suggestion to switch. If the OS was so old that no supported browsers run on it, it would say that.

If their browser and OS were fine, we could move on to plugins, using the great work done by the Plugin Check people. (Although after several months, their database still doesn’t seem to handle Totem…)

Software Modding For Everyone

An article on LWN (do subscribe; it’s totally worth it) contained the following quote:

Skateboarding started with proto-skaters modifying surfboards and scooters, and today, “extreme” sports vendors bring customer’s modifications in-house and base products on them.

This got me thinking: how can we make people modding their software as common and as well-understood for everyday people as modding their skateboard, bicycle or console?

Some of the pieces are in place. It’s possible on Debian to download and compile the source for a package, and use your version in place of the shipped version, with a reasonable amount of ease. Projects like Project Awesome Opportunity are working on making that even easier, and doable without a command line.

However, unlike a skateboard, operating systems are regularly upgraded.

How cool would it be if your Linux distribution remembered that you were using a modded version of a package and, when you started a distribution upgrade, first downloaded the new source, tried to merge it in in a newly-created branch in your local copy, and let you know if there was a conflict so you could fix it before running the upgrade? If it merged fine, or after you fixed the conflicts, it would then rebuild the package on top of the newer source, with your mods, and install it as part of the upgrade. The end result would be an upgraded system which retained your changes.

Dedication

What would you do if you were sitting on a beach in Fiji? Sunbathe? Go for a swim? Climb a coconut tree? Order a cocktail?

If you are Taras Glek, the answer appears to be “read the ld info page a few times” in order to choose the right linker options to make Firefox start up 0.2 seconds faster.

Now that’s dedication…

Nav4All Loses Data Licence, Shuts Down

In a follow-up to my previous post, here’s an example of what can happen if your build your business on non-free data or software from a single supplier:

Nav4All navigation shut down by Navteq

Letter to 27,625,631 Nav4All navigation customers

Dear Customers,

It is with the deepest regret that we hereby notify you that the global navigation of Nav4All and the Tracking & Tracing will go offline in 3 days. The reason for the same is that the data licence agreement with Navteq (a 100% Nokia subsidiary) was not extended, in a totally unexpected manner. …

Nav4All worked on “hundreds of different mobile telephones of many makes such as Blackberry, Sony Ericsson, Samsung, Motorola, Android, HTC, Nokia, LG, Iphone, Ipod etc.” Navteq is now owned by Nokia. It’s not hard to join the dots. I’m somewhat surprised Nav4All call this “totally unexpected”, though. It’s the obvious thing for Nokia to do. And they bought Navteq over two years ago. If I were a Nav4All shareholder, I’d be having strong words with the management right now…

A New Use For JavaScript URLs…

I was just invited by a ‘friend’ to join a Facebook “free laptop” group whose real aim is to get you to take surveys.

Facebook have obviously decided not to have a “Select All” button on your list of friends when you share stuff, to try and reduce spamming. Here’s this group’s way around that, from their instructions:

3) After that, Click the ‘Invite People to Join’ link on the left hand side of the page. (Must do it, it’s part of how we can give these buttons away for free!)

4) Erase everything in your address bar… (The address bar is where http://www.facebook.com is typed, where you type in a website to go to.)

Then copy and paste the following code in there and hit ENTER.

javascript:elms=document.getElementById(‘friends’).getElementsByTagName(‘li’);for(var fid in elms){if(typeof elms[fid] === ‘object’){fs.click(elms[fid]);}}

5) Once you’ve done that, all of your friends in the box should turn BLUE, Click ‘Send Invitations’

So, how about a JS URL which creates form elements mimicing a Facebook login form, waits for them to autofill, and then posts the contents off to a server? (Or did we fix that?) Or one which inserts a <script> tag with a src at an attack site? If people get used to blindly following instructions like this, no good will come of it…

Bugzilla API 0.2 Released

Version 0.2 of the Bugzilla REST API has been released. New in this version:

  • Read/write support for flags, groups, custom fields and comment privacy
  • Access to all aspects of Bugzilla’s configuration with a new /configuration call
  • Even more high-quality and comprehensive documentation
  • Better logging so I can debug problems

Note that these new capabilities will not be available on the copy of the API pointed at bugzilla.mozilla.org until the upgrade :-( But in the mean time, you can test them on the staging server. Although that seems very slow at the moment.

I consider this the first version of the API with which you should be able to write a capable Bugzilla client of some sort. Let me know if you find stuff missing which would be required for this usage.

Lastly, there is now a Bugzilla component for you to file bugs in :-)

Open Source Canteen Booking?

Does anyone know of any open source software for managing bookings in a canteen, say at a university? So each student can say e.g. “I’m in on Monday, Wednesday and Friday lunchtimes, and I’m a vegetarian”, and a report comes out of the back end telling the kitchen how much food to cook? I’ve searched, but I can’t find anything – and yet I’d expect it to be a fairly common problem.

Möbius Strip e-Scroll

I saw the Infinite Book on O’Reilly Radar, and that got me thinking: when we have flexible electronic paper, how about an eBook reader that either is, or can be clipped together as, a möbius strip, the width of a bit of A4? So you just keep moving it through your fingers as you read and the book goes on and on and on. Like an infinite scroll (the paper sort).

Someone else can come up with the concept art :-) I publish the idea here to make sure no-one can patent it.

iTunes LP

I don’t own any Apple hardware, and I don’t run iTunes. But one part of this review of iTunes LP, Apple’s new HTML/JS/CSS multimedia experience album format for iTunes, struck me:

As a music fan, and as a web developer, I couldn’t be more pleased with the new iTunes LP offering. If your audience is significantly Apple-oriented (e.g. a site about Mac rumors or a popular iPhone app) this proves that you can provide an incredible experience using only JavaScript and some proposed CSS3 properties.

The visualizer is a fun way to watch your music. And impressive; a friend of mine asked, “Is that Flash?” I may learn a thing or two about CSS animation by diving into the code and I encourage you to as well.

That’s the web as an open platform, right there. The ability to “dive in and learn a thing or two” is what makes it great.

.ics Files and Google Calendar

Dear Lazyweb,

I’d like to open .ics calendar files, like those provided by Facebook’s “Export” button on an event, with Google Calendar. However, Google has not yet seen fit to provide a suitable URL for use with registerContentHandler(), as they have for Gmail with mailto: and registerProtocolHandler().

Please write a Jetpack or Greasemonkey script which does the following:

  • Adds a “Register” button to the Google Calendar interface, which registers the “add event” web form URL as the handler, with a “icsfile=%s” parameter.
  • Runs code on that form’s URL which detects the parameter, XMLHttpRequests the .ics file, parses it, fills in the fields on the form, and presses “Submit”.

For bonus points, reuse the JavaScript .ics file parser to do the same trick for Yahoo! and other web calendars.

Thanks,

Gerv