post

What exactly is UK Keyboard Layout anyway?

It’s not what you think it is, that’s for sure.  Basically, it depends on the manufacturer and for which operating system it was designed to be used with.  One thing to note is that the Windows/IBM standard of putting the hash # on UK keyboards just to the left of the return key (on the same key as the tilde ~) was so we could have the more useful GBP sign £, not because that’s where it belongs.  Essentially, you’ll see that it was put there to hide it away as it was little used.

Regarding the Mac keyboard layout for UK, I struggle to sympathise with their decision that the ‘standard’ position of the hash key # being ⎇ alt +3 instead of Shift + 3, so we can have the pound key £ – but I have learned it’s there all the same.

Just like anything else, many standards arise from sheer tradition.  It is therefore simply tradition that sees Ctrl+C, Ctrl+X et al being the keyboard shortcut on IBM/Windows devices, in opposition to the view held by many that it’s “the correct keyboard shortcut”. In fact, the IBM keyboard didn’t feature a Ctrl key until 1986, 6 years after Apple had the Command Key  on their 1980 model.  So if anything is the standard, it’s the Apple Cmd+C, Cmd+X et al.

In case you’re interested, here’s a look at a UK BBC computer keyboard layout,the Mac keyboard from 1980 and an IBM keyboard from 1986.

bbc keyboard

bbc keyboard

Apple keyboard

Apple keyboard

ibm keyboard 1986

ibm keyboard 1986

 

post

24th January 1984

I was copying a large file and noticed that the Date Modified field in Finder showed “24 January 1984 09:00”.  I thought for a second that it was a result of being copied from a Windows to a Mac OS, but turns out it’s an easter egg and a reference back to the launch of the Macintosh 128K on that date.

Macintosh_128k_transparency

Wikipedia: Macintosh 128K

post

What is the capacity of Scarlett Johansson?

I recently watched Lucy, the sci-fi film starring Scarlett Johansson and [spoilers] through a long chain of extraordinary events she ends up turning into a USB Pen Drive.  No, really.

The film was enjoyable, full of nonsense CGI and an adorably unfathomable scene where Ms Johansson’s character, the eponymous Lucy, phones her mother while having surgery performed on her torso, shortly after shooting a man with inoperable tumour in his brain.  Apparently, the internet gave the film a thumbs down, but I liked it.  Any way, it got me thinking, how can she fit on a pen drive?

Pen Drive

Pen Drive

Pen drives, you see, are formatted with a file system, just like any other data storage device.   They most likely are found with the file storage format of FAT or FAT32, a rather simple data storage format that has physical limits.  This tied in neatly with a recent requirement that I wanted to move a Virtual Machine Image from my office (Mac) to home (Windows 7).  Turns out a bottleneck is Windows and FAT32.

According to wikipedia, FAT32 allows for a maximum capacity of any partition (e.g. a portion of the device’s capacity) to max out at 16 TB.  Sounds a lot, but she turned into the pen drive hoping to disseminate to Morgan Freeman and his team the entire knowledge of human life and essentially the entire knowledge of reality.  I’d doubt any file compression methodology could crush down that knowledge on a pen drive of capacity 16 TB.  Plus it’d be relatively slow and possibly run into issues of data integrity.  My personal pen drive problem led me to abandon FAT32 and use exFAT, but more on that later.

You see the limitation here isn’t necessarily on the pen drive itself, but the computer into which you stick it – the Operating System on the host computer would need to be able to understand the drive formatting so choosing the disk format is critical.  Another solution might be to have a rather large number of partitions of 16 TB, but that would mean the Operating System would need to be something other than Windows – as far as I recall, Windows can only see one partition on any given thumb drive, which is rather annoying.  Furthermore, my pen drive problem ran into the issue that FAT32 can’t store single files with a size exceeding approximately 4GB.  So Lucy would need to separate up her data into chunks or look into another format.

data

data

I ended up with a solution of exFAT, with limits recommended at 512 TB for the partition and a maximum files size of 127 PB – confusingly you can have a larger file than the capacity of a partition.  So this is better.  However, as I discovered, exFAT isn’t a walk in the park to get a disk to be formatted as if you’re not on Windows (it’s a licensed technology) and if you use something like Mac OSX’s disk manager tool to format it, Windows won’t play nicely straight away.  But accepting that Lucy came with appropriate licensing, could she fit on this format?  Well, it’s estimated by someone somewhere (I googled) that a human brain is equivalent to 2.5 PB.  But in the role of the film, Lucy used ten times the average human’s capacity in the pen drive evolved form, so exFAT is problematic here.

So we’re left with two alternatives, which both will fit (depending on the actual files required to interface with Lucy) the knowledge on.  HFS+ which is used on the Mac OSX operating system and ext4 which is available on Linux.  ext4 is limiting as most other operating systems won’t work with it and single files are limited to rather small in comparison sizes.  So Lucy would have avoided this.

HFS+ is a proprietary system and would need to be licensed beforehand, but essentially, we can surmise that Lucy chose it as her file system for two reasons: one, it’s more widely supported.  Two: the lab in which she was in when she morphed into a pen drive apparently made of actual space with a USB A male connector jammed in one end, was adorned with many Apple computers.