R4 Cards Now Illegal in the UK

*Sigh*

R4 (and similar) cards have now been declared illegal in the UK. Personally I think this is a significant injustice, as it further erodes individuals’ ability to use their purchased hardware for non-approved (but legal) uses, under the flag of preventing piracy.

Don’t get me wrong, I’m generally against piracy and have purchased all my DS games legally. But I do own and use an R4 card. There are two reasons for this: firstly I do play the occasional homebrew game; secondly I use it as a means to conveniently carry all my games with me without the need to keep swapping cartridges. If there was a legitimate way to achieve this then I wouldn’t have any need of this “piracy device”.

The most worrying part of the article is this quote:

“The mere fact that the device can be used for a non-infringing purpose is not a defence,” read the ruling by Justice Floyd.

By that argument we’d better all get rid of our cameras, CD writers, PVRs, video capture cards and any other technology that may be used for copyright violations as well as legal uses.

I use an iPod as a means to aggregate hundreds of CDs into one device: my R4 is a means to aggregate dozens of games into one cartridge. I could put illegally downloaded music onto my iPod just as easily as I could put illegally downloaded games onto my R4. Yet one device is seen as a successful stalwart of consumer electronics, whilst the other is a scurrilous device used by pirates and ne’er-do-wells. The main difference I can see is that Apple are a big, rich company whereas the defendants in this case were small independent suppliers.

Yet again it would seem that money talks – or at least buys expensive lawyers to do the talking for you.

sudo? sudon’t! Stupid “sudoers.d”

If you don’t know what “sudo” is, then this isn’t the post for you… it’s going to get technical and Linuxy. Let’s start with the summary, as it’s the most important part of this post:

If you use /etc/sudoers.d/ don’t create files in the directory – create them elsewhere, ‘chmod’ them, and only then copy them in

Now for the story about how I came to this discovery…

For reasons that I’ll describe in a future post, I have a need to be able to trigger the “chvt” command from a keyboard shortcut. More specifically I want to run “gksudo chvt 1″, as using chvt to switch from a graphical screen to a console requires superuser privileges on my Ubuntu box. This prompts for my password, which seems a little redundant as I can use CTRL-ALT-F1 to the same effect without having to enter a password. So I decided to add an entry to the sudoers file in order to grant myself passwordless access to the chvt command.

I went wandering over to /etc and found not only the expected “sudoers” file, but also a “sudoers.d” directory. This directory contained a single README file, as follows:

#
# As of Debian version 1.7.2p1-1, the default /etc/sudoers file created on
# installation of the package now includes the directive:
#
# #includedir /etc/sudoers.d
#
# This will cause sudo to read and parse any files in the /etc/sudoers.d
# directory that do not end in ‘~’ or contain a ‘.’ character.
#
# Note that there must be at least one file in the sudoers.d directory (this
# one will do), and all files in this directory should be mode 0440.
#
# Note also, that because the sudoers file is not a ‘conffile’ in the Debian
# sense, and sudoers contents can vary widely, no attempt is made to add this
# directive to existing sudoers files on upgrade. Feel free to add the above
# directive to the end of your /etc/sudoers file to enable this functionality
# for existing installations if you wish!
#

That seemed like just what I wanted. I could create my sudoers command in a file of its own, safe in the knowledge that it wouldn’t get trampled by any future upgrades that affect the sudoers file itself. I copied and pasted the #includedir line into my sudoers file (using “sudo visudo”), then set about adding my sudoers directive in a file I named “chvt”:


> cd /etc/sudoers.d/
> sudo touch chvt
> sudo chmod 0440 chvt

BANG!

My terminal was filled with a lengthy backtrace, but scrolling back up to the top, I found this little nugget:

sudo: /etc/sudoers.d/chvt is mode 0644, should be 0440

Well thanks for that marvellous insight – I was just trying to set it to 0440 when you stopped me, you stupid machine.

Because I committed the heinous crime of creating an empty file in /etc/sudoers.d/ “sudo” won’t work at all. I can’t correct the permissions, I can’t delete or move the file: in short, I’ve lost administrator access to my machine. All for the sake of an empty file.

Now I can understand sudo throwing a wobbly and quitting if it can’t parse the sudoers file – blindly proceeding to read a malformed file could be a quick route to a buffer overflow attack or similar. But dying completely because an empty file has the wrong permissions seems a little draconian. Yes, that README did say “…and all files in this directory should be mode 0440″ – but “should be” isn’t quite the same as “…MUST be 0440, or I’ll DIE!!!”. Here’s an idea: if you don’t like the permissions, just don’t read the file – there’s no need to get all suicidal about it.

It seems that the only way to recover from this situation is to reboot the machine: either booting from a Live CD, or selecting the recovery console during the GRUB boot sequence. You can then remove or change the permissions of the offending file and everything will be back to normal after you restart the machine. It does seem like a lot of hassle caused by a zero length file though – thank goodness I didn’t do this on a production server!

All of which leads back to the summary at the top of this post: Don’t create files directly in /etc/sudoers.d/ If you do use the #includedir directive in your sudoers file, make sure you create your files elsewhere, set the permissions to 0440, and only then copy them into place.

Top-left, top-right: why not let me choose?

As I mentioned in this post, the migration of Ubuntu’s window controls from the top right to the top-left were a precursor to other changes which would make use of the now-empty corner of the title bar. I’m still not sure why the controls had to move before any of these new widgets even exist, but at least now we have a little more information about the plans for the top-right corner of Ubuntu windows, as Mark Shuttleworth has posted a blog entry about the so-called “windicators” that they plan to put there.

On the whole I approve of the idea of adding more functionality to the title bar – it’s largely wasted space at the moment. But there’s one thing about this proposal which concerns me: the user has no choice about the position of the windicators. From the proposal it appears that the user can either accept the window controls at the top-left and the windicators at the top-right, or they will have to live without the windicators completely.

When you look at this suggestion in the context of the plans for the Ubuntu Netbook Remix it makes a lot of sense. By positioning the windicators at the top right they appear alongside the main panel indicators in the planned version of UNR which combines the window titlebar with the menu and the top panel into one composite element. But just because this positioning makes sense for UNR, that doesn’t necessarily mean it makes sense for normal desktop installations.

My personal preference would be to retain the close button in the top-right, but move the minimise and maximise buttons (which I rarely use) to the top-left. Windicators would appear in the top-right, but to the left of the close button. Of course this layout wouldn’t suit everyone. Perhaps you would rather have the windicators in the centre of the title bar, with the application name to the left and the window controls to the right? Perhaps you would prefer not to have windicators at all, or perhaps you could live without the maximise button if you’re one of those people who religiously use a double-click on the title bar for the same purpose.

The point is that a single layout arrangement, dictated from above, doesn’t suit everybody. So why not make it configurable? Why not turn the title bar into a container-like element, with the ability to host various widgets that are aligned to the left, right or center. The close button would be a widget. The minimise and maximise buttons would be widgets. Even the window title would be a widget. Windicators would probably be treated as one composite widget, rather than making the user deal with each one individually.

In this scenario the window title bar is more akin to the existing Gnome panels in Ubuntu. If you want to rearrange your window widgets you could just drag them around, much like you can with objects in a panel. If you want to remove a widget entirely you could do that too – although a sanity check would probably prevent you removing the only close button. All this configurability would be hidden away in a tab on the “Appearence” preferences panel, making it easy to get to when needed, but not so obvious that it distracts the average user who wants to stick with the defaults.

I suspect that the basics of this scheme are already in place. The fact that there are instructions floating around for using gconf-editor to switch the window controls back to the right would certainly suggest that title bars are already treated as simple containers for other widgets. So why not expose the functionality in a nice user-friendly way? Why can’t I tailor the title bar to my needs as easily as I can the Gnome panel?

Oh well, maybe next time (extended remix)

This is an extended version of a post associated with my webcomic, The Greys. I’ve posted it here because the extended version reflects my personal opinion, and not necessarily that of my comic strip co-author.

The winners for this year’s Ubuntu Free Culture Showcase have been announced, and unfortunately (for us, at least) our submission, “Ubuntufied Flying Object” didn’t make the cut (even after a quick change of clothes). Congratulations to the two guys who did get in, and whose works will be gracing many thousands of ISO downloads come April 29th.

I don’t want this to come across as sour grapes, but I’m a little disappointed with the Free Culture Showcase. Not with the winners, or any of the other submissions that were entered, but with the premise of the competition as a whole. Yes, it showcases Free Culture – deemed to be works released under a particular set of licenses which allow for free distribution and re-use – but that’s all it does. And it could do more.

Ubuntu – like any Linux distribution – relies on the fact that thousands of people around the world have licensed and shared their source code for free distribution and re-use. That the source code results in executable files which can also be freely distributed and re-used is largely irrelevant – it’s the license of the original source that is important.

But, with the exception of our entry*, every submission to the Free Culture Showcase was an “output” file – ogg audio, ogg video and a pdf. None of them include the “input” files – the audio samples, midi files, video footage or original text from which the final submission was created. None of them included information about how they were created, or what Ubuntu software could be used to edit them. None of them specify what software was used to create them in the first place. Note that such omissions are the result of the rules of the competition, not the fault of the submitters.

What is the purpose of the Free Culture Showcase? If it’s just to show that there’s more to “Free” than software, then perhaps it serves its purpose. But it could be so much more than that. It could be a way to demonstrate to new users some ways in which a Free software stack can be used, and as a very basic tutorial on how to get started in creating their own works. When I look at a Free Culture Showcase winner, I’d like to know how I can produce something similar using the operating system and tools I’ve just downloaded. What extra packages do I need to install? Where can I get the source files in order to recreate the work – or to remix them into my own creation? If the original creator used proprietary software or source material (such as sampled audio), then why? Does this represent a gap in the Free Software stack, or the Free Culture archives, which needs to be addressed?

My personal choice would be to modify the rules of the Free Culture Showcase in future:

  • Show a preference not only for open file formats, but also for those works which make their source files available as well (these could get very large, so Canonical should be prepared to mirror them somewhere). Space limitations will likely prevent these assets being put on the CD, so the winning entries should have an accompanying document added when the CD is mastered, detailing the download locations.
  • Show a preference for pieces created entirely using a Free Software stack.
  • Require a brief description of how the piece was created – what software was used, where audio samples were sourced from – enough to give an interested consumer somewhere to start with their own creations. If proprietary software or source files were used, a short explanation as to why.

This doesn’t prevent binary-only submissions to the competition, but does encourage the submission of files that not only represent Free Culture, but also indicate just what can be achieved using a Free Software stack and Free assets (clipart, samples, stock footage, and so on). Where proprietary software was used, it might indicate an area where Free Software needs to improve. Where source files can’t be released due to license restrictions, it might indicate a need for more comprehensive libraries of assets, or it might motivate another user to re-create the missing file as an equivalent, freely licensed alternative.

Let’s not waste the space on those thousands of ISOs with “here’s some Free stuff”. Let’s use that space with “here are some examples of what you can do with your new Operating System – and some pointers as to how you can do it”.


* Our entry was an SVG file, which is both an input and an output file – it is its own source code. It was created entirely using Inkscape on Ubuntu machines. Anyone can edit our file using the same software stack – or by using Inkscape on Windows or MacOS.

Credit Card (in)Security

My girlfriend is a partner in a small print and design business. As such, she has a company credit card – but it usually only sees service to buy stamps and other minor things.

She’s finally decided that it’s time to replace some of the computers in the company and, being the designery types that they are, Macs were the order of the day. First to go was her ageing PowerBook, replaced by a shiny new MacBook Pro. We pointed a browser at Apple’s online store, loaded up the basket, and tried to check out.

The credit card was declined.

After getting past the usual defensive bluster that overcomes people when they think their creditworthiness is being questioned, she conceded that it might possibly make sense that an expensive laptop purchase on a card that’s usually used for stamps might have triggered some alarms. She called the credit card company to sort it out.

“It’s been flagged as possibly being used fraudulently,” they said.

“Do you mean the purchase I just tried to make, or has it been used fraudulently before then?” she enquired.

“I can’t see anything before then – but I’ll cancel the card and send a new one out to you, just in case.”

“That doesn’t really help me right now. Can you at least let the current purchase go through?”

“Well I’ll need to ensure that you’re really the owner of the card. I’ll need you to confirm your history by identifying a purchase that’s been made with it…”

Not particularly good security, but the chances of a casual card thief knowing that she bought stamps last Thursday are slim, right? Except that the person at the credit card company didn’t want her to name a date and purchase – that would be far too secure…

“Have you just tried to buy something from the Apple Store?”

“Erm… yes.”

“Okay then. I can unlock the card for you to make the purchase now, then I’ll cancel it and get a new one sent out.”

This beggars belief. If they think the card is being used fraudulently enough to cancel it, then why let the laptop purchase go through? If they think it’s safe enough to let that go through, why cancel the card? And why, oh why, oh why does the transaction that was stopped count as a good enough example of the customer’s history for them to conclude that the person on the phone is genuinely the card holder?

What have they done to Bitzer?

I’m going to come out of the toy-chest here and reveal that I watch Shaun The Sheep. Yes it might nominally be a kids’ show, but if you think of it as “Wallace and Gromit Lite” then it’s not a bad way to spend a few minutes of downtime. Besides, you only have to look at the list of references to popular culture on Wikipedia to realise that it’s not aimed solely at children.

So I was quite pleased when I noticed that my MythTV box had recorded a couple of episodes that I hadn’t noticed in the schedules: it turns out that the second series has started. I settled down to watch it with my girlfriend (who is quite the Shaun fan) only to raise my eyebrows at what they’d done to the farmer.

The farmer used to look like this:
farmer_1024
[Original Source]

Now he looks like this:
farmer-1024x768
[Original Source - zip file of images]

The key difference isn’t easy to spot in those images, so I’ve combined and re-oriented them to make it a bit clearer:
farmer_diff

The key point is the line running around the farmer’s mouth. It’s a lot more pronounced on the show itself. It appears to me that Aardman have decided to speed up their work (or reduce costs, depending on how you look at it) by making the mouth section removable. This lets them animate the mouth movement independently of the rest of the body – and indeed the rest of the head. They did a similar trick on Chicken Run, where it was less noticeable due to the difference in colour and texture between the chickens’ beaks and faces. It stands out more on the farmer, but it’s not too bad, as it generally just makes it look like he’s got a five o’clock shadow.

So, a reasonably subtle change to the design of the farmer. He’s a secondary character anyway, so it wasn’t too distracting. But next to the eponymous Shaun, possibly the most prominent character is the farmer’s dog, Bitzer. Yes, you’ve guessed it, they’ve changed that character too. But unlike the relatively minor change to the farmer’s face, Bitzer has had a complete overhaul. And not in a good way.

Old Bitzer:
bitzer_1024
[Original Source]

New Bitzer:
bitzer-golf-1024x768
[Original Source - zip file of images]

The new Bitzer has acquired a furry texture… but not on his head. Maybe I missed the episode titled “Bitzer gets alopecia”. Perhaps the hair loss is a side effect of his efforts to dye his fur, as indicated by the colour change on his chest, throat and lower jaw. That’s the most egregious change and one which, in my opinion, really spoils the design of the character. It’s pretty obvious that, much like the farmer, they’ve decided to reduce costs by making the mouth into a removable section, independent of the rest of the head. But on the Bitzer model the distinction between the two parts – especially once animated – makes it look like Bitzer has been attacked by a bestial Hannibal Lecter, and his skin turned into a mask covering the top of the imposter’s face.

Watch out Shaun, I think there might be a serial killer on the farm. One who plans to destroy your very soul. I think his name is Aardman.

That porridge is too cold. This porridge is too hot.

But I can’t seem to find any porridge that is just right. Except that for “porridge” you should read “software”, and for “too hot” read “too expensive”.

For years now it’s been possible to request CDs of Ubuntu releases, which were delivered completely free of charge – as mentioned a couple of times before on this blog. Alas! That is now set to stop.

More specifically it’s set to stop for people like me, who have had free CDs in the past, and who seemingly don’t contribute to Ubuntu. If you’re a new user who has never requested any CDs before, you can still have one. If you’re a developer or artist who has made significant contributions to Ubuntu then you can become a Ubuntu Member in order to continue receiving free CDs.

Other than a few bug reports, I don’t really contribute much to Ubuntu itself – certainly not enough to become a Ubuntu Member. But that doesn’t mean that I do nothing. I’m one of the many users round the world who know enough about computers to be the local go-to guy when things go wrong. As such I’ve used Ubuntu CDs for proving that hardware is (or isn’t) working, even on a Windows machine. I’ve used Ubuntu CDs to recover data from otherwise non-functional systems which won’t boot from the resident OS. I’ve used them as sandboxed environments for examining potentially dangerous files. I’ve installed several virtual machines from them. And of course I’ve installed a full copy of Ubuntu onto several real machines – converting a few Windows users in the process.

Many of these tasks are made a bit easier by having a properly pressed CD in a sleeve which explicitly states that it can be installed on more than one machine. It gives an air of legitimacy. If fixing a machine appears to involve an OS burned onto a CD-R, with a hand scribbled label, some people might wonder what makes that OS better than the dodgy copy of Windows that their friend got off eBay.

I understand why Canonical has taken this step – but it does seem like a step too far to me. I’d be more than happy to pay the delivery costs for my Ubuntu CD, they don’t have to send it to me for free. I’d be happy to pay for the CD and sleeve itself, so that they’re not out of pocket. I’d even be happy to pay a little over the odds so that they can make a small profit, or to subsidise those CDs that are still sent out for free.

But I don’t want five CDs. I particularly don’t want five CDs at a cost of £5 + VAT + carriage. Yet that’s the smallest quantity I can order from the Canonical shop. Sure, £5+ isn’t hideously expensive for a fully-featured OS, but compared to downloading it for free it feels that way, given that four of them will probably join my pile of prospective drinks coasters. Here’s an idea: if you really want a fiver off me, then send me a variety pack – a Ubuntu CD, a Kubuntu CD, a Xubuntu CD and a Ubuntu Server CD. That’s one less CD for you to send, but a better value prospect for me.

So the CD’s have gone from being too cold, to being too hot. They’re too cheap for Canonical to continue sending out, but too expensive for me to want to buy five at a time.


With the imminent release of Ubuntu 9.10 (“Karmic Koala”) Canonical are integrating support for “Ubuntu One” – a storage facility hosted on their servers. You can get 2GB of storage space for free, which is a pretty good deal by anyone’s standards. Need more space? Perhaps you want 5GB or maybe 10GB. Sorry, you’re out of luck – the next step from “2GB for free” is “50GB for $10 per month”. That’s $120 per year, or just shy of £75 at the current exchange rate.

For £75 I could buy a 1TB external hard drive, and still have change. For £80 I could get a 500GB NAS if I want to put my backups a little further away. Even 64GB USB flash drives have dropped down to about £80 now, if I want to be able to access the data wherever I go. None of these options offers quite the same facilities as a cloud-based storage service, but if all you want is somewhere to back-up some important files you might find they’re good enough.

2GB for free is great. 50GB for £75 per year is too much space for too much money for a lot of people. Where’s the middle tier option of 15GB for £25 per year?


My girlfriend’s company has a Linux server. On that server is a copy of VMWare Server, running two Windows virtual machines. She’s a partner in a small design and print business, working mostly with Macs. They have one Windows VM to run Sage (accounting software), and one to run MS Office (for those annoying customers who come in with their “artwork” prepared in Publisher or Word). Apart from her business partner, there is one employee and an occasional part-time worker. That’s three-and-a-bit members of staff in total – it’s not exactly a big business.

VMWare Server is great except for a couple of things. Firstly it has a dreadful web interface to manage it (replacing the stand-alone application, which worked quite well, from earlier versions). Secondly the web interface doesn’t work on Macs. The latter point is a real problem, as it means that any use of the virtual machines takes place via a Linux box they’ve got in the office. One Linux box to manage two VMs means inevitable time-sharing.

An obvious solution would be to switch from VMWare Server to VirtualBox, which does at least have a Mac client. But whereas VMWare Server is free of charge, VirtualBox is only free if you use the Open Source edition – which lacks support for USB devices and RDP connections, both of which would be invaluable. The commercial version, however, starts at $50 per user. That’s $200 (or $150 if they never let the part-timer anywhere near it). Compared with free-of-charge, that’s a lot of money.

So they make do with the porridge that’s too cold, because despite the annoying time-sharing, they can’t really justify spending that much money just to open a few Publisher documents. Sun’s porridge is just too hot.


I work for a small company with about a dozen employees. We have a copy of the Open Source version of SugarCRM which we use for our minimal CRM requirements. Our requirements are so minimal that the CRM software only gets accessed once or twice a day, and only then by three members of staff.

But the Open Source version of SugarCRM isn’t perfect, even for our modest requirements. There are some features of the commercial version that we’d really like to have. But the cheapest commercial version costs $360 per user, per year – with a minimum of five users. So that’s at least $1800 per year! We’ll make do with the Open Source version, thanks. Sure, the cold porridge might lack some flavour, but at least it won’t scald us.


What all these situations have in common is that they involve Open Source software which is available free of charge, or for too much money. Where is the middle ground? The £2 Ubuntu CD? The £20 per year storage solution? The £20 VirtualBox licence? The £200 SugarCRM licence?

Note to software vendors: if you offer your wares for free, make sure the step up to the first tier of your paid offerings isn’t too steep, or you might end up getting burned by your own porridge.

Spoiler Alert!

I own a lot of DVD box sets of various TV programmes – some of them long-running affairs spanning several years when originally broadcast, and featuring characters who leave, return, leave again, and crop up for the occasional surprise appearance.

Or at least they’re supposed to be surprise appearances. That’s usually the way they were written.

So why do the creators of the tediously animated DVD menus almost always insist on including a big picture of the “surprise” guest when you select the episode you want to watch? Worse still are those that drop you straight into a graphical “chapter selection” screen, which not only gives spoilers about any surprise appearances, but often spoilers about the entire episode.

Equally bad are the “Special Guest Star” credits which often appear at the start of the programme before the special guest has even appeared.

Worst of all – and this crime is thankfully reserved for TV broadcasts rather than DVDs (at least at the moment) – are the “In Next Week’s Episode…” trailers at the end of a programme. What’s the point of the scriptwriter creating a cliffhanger ending if post-production slaps on a spoiler-laden trailer immediately afterwards?

“My god! Surely they haven’t killed off [insert character name here]? Oh no, it’s alright, he’s still in next week’s episode, and looks absolutely fine.”

I can only imagine that the post-production-trailer-people and the ghastly-animated-DVD-menu people are what you get when impatient kids, who read the last page of a book first, grow up and get jobs. If they want to read the last page first, that’s fine – just don’t read it aloud to me!

In the next blog entry…
We investigate more annoying DVD menu sins… and it turns out that I managed to leap out of the car just before you saw it careering off the edge of a cliff and disintegrating in a ball of flames.

Where are my six honest serving men?

I keep six honest serving-men
(They taught me all I knew);
Their names are What and Why and When
And How and Where and Who.

- Rudyard Kipling

Kipling’s six honest serving men – sometimes known as the five Ws (and an H), is a well-known maxim encompassing the basic questions to ask when gathering information about something. Whether you’re a journalist writing an article, or a police officer investigating a crime, answering these common questions will get you a long way towards a useful answer.

So if these questions are used for finding information, why don’t they form the basis of querying a computer? In particular, why can’t I easily search for files by answering these questions to reduce the number of possible matches. At the moment computers deal with some of these questions, but certainly not all of them…

  • Who created the file? Most computer file systems keep track of that. Who last modified it? In fact, who has ever modified it? For that you need a versioning file system. They do exist, but they’re not something you’ll commonly find on your desktop just yet.
  • What is the file? An audio file? Document? Web page? This information is usually stored as part of the filename, using a short extension – often limited to three characters for historical reasons. Encoding this information in a file extension isn’t great, and has been the source of several exploits on Windows systems. But at least the information is present, and generally easy to search for or sort by.
  • Why did I create/download/copy this file? Unless you add your own metadata by hand, this data is bound to be missing. Making it easy to “tag” files might go some way to addressing this question without creating a huge burden on the user.
  • When did I create/modify/read this file? Like “who”, some of this information is stored, but much of it is not – and it’s often the stuff that’s not which is most useful. I’m more likely to remember that I want the file I was looking at on Thursday, rather than remembering that it was the one I created last July.
  • Where was I when I created it? With the cost of GPS devices dropping, I’d love to start seeing laptops with integrated geolocation, and filesystems which store that data. “I remember reading it at home”, “I was working on it at the Oxford office”.
  • How was it created? Macs used to (and probably still do) keep track of the “creator” application in their filesystems – but that was more about being able to reopen the file in the application, than allowing the user to search by that information.

Most file systems – and the tools that we use to access them – still only expose the same metadata that was present in the 1970s. Each file has a name (plus extension), and a little information about who created it and when. You often get shown the size of the file by default as well – but in a next-to-useless format that mixes units (100KB can easily look bigger than 1GB if you’re not an expert). And most of the time file sizes aren’t a concern these days anyway: does it really matter if a file is 100KB or 200KB when your nice new machine has a 500GB hard drive in it?

Meanwhile the information we really want – those five Ws and an H – are lost. Sure you could stuff some of that information into metadata fields on some file systems, but if it doesn’t happen by default – or at least very easily – it’s not likely to happen at all. And with no real consensus over the format of that metadata, it’s much harder to search or index.

The creators of ID3 tags for MP3 and other audio files have done a good job of standardising on a few bits of data that are relevant to music files. I can easily search a large corpus of music files by track name, artist name, composer, genre, year, album and so on. Without a similar standard for general file metadata (plus support in archiving, management and searching tools), I’ll never be able to efficiently search for

  • That file I created last week and looked at a couple of days ago
  • The presentation that I was working on when I was staying at the Travelodge in Nuneaton
  • The letter I wrote in OpenOffice, which I remember tagging as “Personal”, while I was working late at the office a couple of weeks ago

Our current collection of file managers don’t even do a great job with what little metadata they do have. F-Spot, the photo manager in Ubuntu, lets me browse photos using a simple timeline based on their creation dates, while Nautilus (the file manager) offers no such convenience. Meanwhile Nautilus has tags in the form of “emblems” – but no means to search or filter by them, or even to assign them in the standard Ubuntu “Save” dialogue.

I know all about Spotlight, Beagle, Google Desktop and other similar applications, but these are all just after-the-fact additions to paper over the cracks in computer file systems. Adding some new, standardised attributes to files would actually make these applications work even more efficiently, as it would make it easier to restrict the list of files that they even need to consider in their searches.

This is the 21st century: GPS is fast becoming a ubiquitous technology; drive sizes are no longer a limiting factor; we’re storing ever larger numbers of files. Why are we still stuck with a few little bits of technical data about each file instead of a lot of bits of human-centred data?

Where are the Firefox GPS add-ons?

Firefox 3.5 has been out for a few weeks now, and amongst all the exciting new features is an API for geolocation.

In theory this means that a website can ask the browser where you are, and you then get prompted as to whether or not to let the site know. Of course that raises the question of how the browser knows where you are in the first place.

Firefox uses “geolocation providers” – small bits of software that can provide geolocation information to Firefox, so that Firefox can provide it to the website. By default Firefox ships with a geolocation provider which makes an educated guess about your location based on the wifi hotspots in the area – assuming your computer has a wireless card. This works reasonably well for a wifi-enabled laptop, but it’s far from GPS-level accuracy, and doesn’t help if you’re on a machine with no wifi card at all (in which case it bases its location information on your IP address – which puts my desktop machine about 100 miles away from its real location!).

So what can you do if wifi-based location just isn’t suitable for you? In theory it’s possible to use different geolocation providers which source their data from different places. On “Fennec”, the mobile browser based on Firefox, there’s a provider for the built-in GPS of the Nokia web tablets. But there doesn’t seem to be an add-on to let the normal version of Firefox get that same information.

There is an extension that lets you put in a fixed latitude and longitude, which is fine for a desktop machine – but that hasn’t been updated to work with the release versions of Firefox 3.5. Most GPS units connect to a PC using fairly standard and well-known serial protocols running over a Bluetooth or USB connection – yet I can’t find any add-ons which will allow Firefox to access those data.

I hope that either I’ve just missed them in my searches – or that suitable geolocation providers are coming soon – because it would be a real shame to see the potential for geolocation in the browser get ignored for want of such a little bit of code.

There’s more about the geolocation feature at the Mozilla Hacks site, and based on the comments there, I’m not the only one wondering where the GPS integration is.