Sunday, 28 April 2013

Bells And Whistles

After eight years and almost 30,000 photos our main digital camera, a Sony DSC-F828, has finally died. It had been suffering for a while from randomly misbehaving pixels, but the more recent problems are rather more fatal. It will still take photos but only if you don't try zooming in. Once you get past a zoom level of x3 (which isn't really very much) then pressing the shutter doesn't result in any mechanical sounds and the photo is highly over exposed. If you turn the camera on when zoomed in then you can feel the motor inside the lens buzzing rather than doing anything useful. So while I might continue to use it for close up macro work (especially given that I own a macro lens adaptor for it) it isn't going to see much use.

Given that we've had no problems (until recently) with the Sony camera and have found it easy to use we have replaced it with another Sony bridge camera; specifically the DSC-HX200V. This camera, while costing half what the old one cost, has a x30 optical zoom compared with x7 and an 18 megapixel sensor compared to the 8 megapixel sensor in the old camera. It's the number of new features though that amazes me, and these are just the ones I've found so far:
  • sweep panorama
  • 3D still images
  • 3D panoramas
  • HDR still images
  • tracking focus
  • background defocus
  • face/smile detection
  • GPS tagging
I'm assuming that some of these are more of a gimmick than truly useful (I don't see how you can do true 3D photography with a single non-moving lens), but others, like the GPS (which will mean I don't need to carry my GPS track logger around), might turn out to be really useful. It is also supposed to support full HD quality video recording, although any video recording would be better than that supported by the DSC-F828 (very poor quality VGA resolution), so I might start doing some video work as well.

So far it looks like a really good replacement for the old camera, what we need now is a holiday to give it a really good test!

Sunday, 14 April 2013

Blink And Remeber It Wholesale

If you've been reading this blog for a while you may well remember that while I'm in favour of bundling digital copies of movies with a DVD purchase, I haven't always found the experience to be particularly enjoyable. Recently though I've been very impressed with Tesco's blinkbox service.

While blinkbox is mainly aimed at the digital distribution of movies and TV shows (you can rent or buy digital copies of most of their offerings) I haven't actually paid them any money directly. My only contact with blinkbox has been the checkout at my local Tesco store.

Basically if you buy a supported DVD (one that is also available through blinkbox) in Tesco they give you access to a free digital copy through blinkbox as well. If you use your club card when paying then you will find an e-mail waiting for you when you get home reminding you about the digital copy, otherwise you'll find there is a code on your receipt that gives you access. The first time I came across this was when I picked up a copy of the new Total Recall film (which is actually pretty good, and which explains the title of this post) but I've had the same experience with quite a few other films now as well. I've only tried watching these digital copies on my computer (it even seems to work under Ubuntu although it isn't listed as supported) but blinkbox supports a whole range of devices from computers, to TVs, consoles, and various set-top boxes.

Amazon are doing something similar in the US with CDs which they call AutoRip, where if you buy a supported CD you will instantly get access to an MP3 copy of the CD to listen to while you wait for the physical version to arrive. This sounds like a really useful service which I hope they extend to the UK at some point.

While I think both services are a great idea I can see one small wrinkle; copyright law. Both services are essentially providing you with a digital copy when you buy a physical copy, not purely to make your life easier, but to move people away from performing format shifting themselves. The digital copies these services provided can't be easily shared (either they use DRM to lock them to your account or watermarking to make them easily traceable) and the hope is that if they provide the flexibility of a digital copy you won't need to create and share an untraceable copy. That is all well and good, but what about if you buy a DVD from Tesco (or a CD from Amazon) as a gift? If you give away the physical copy do you still have the legal right to watch the digital copy? I would assume that you don't although I can't find any details in the terms and conditions. Usually the assumption is that you can format shift for personal use, but if you get rid of the original copy then you must get rid of the copies you made as well (i.e. you can't rip your CDs to MP3 files and then sell the CDs while keeping the copies). I would assume the same legal restrictions would apply to blinkbox and AutoRip. One day copyright law might catch up with the modern world and answer such questions.

Sunday, 3 March 2013

Cold Storage

Over the years I've had quite a few hard drives fail on me. Fortunately, most of the time they've failed gracefully allowing me a short window in which I've been able to rescue their contents. In other words I've been exceedingly lucky not to have lost anything important, especially as I'm not particularly good at taking regular backups. The one thing I do tend to backup quite well are the digital photos we take.

My photo backup routine is simple. Firstly the photos end up on both my computer and Bryony's so we each have a separate copy. I also burn all the photos to two DVDs. One DVD I keep in the house and the other I periodically ship off to my parents for an off site backup. The off site backup is probably the most important, as while the copies in the house allow me to recover easily from a hard disk failure they don't insure me against a catastrophic incident at the house; fire, flood etc. Unfortunately DVD-R disks (and this also applies to CD-Rs) don't last forever.

As I've mentioned before we are trying to have a good go at tidying the house and getting rid of things we really don't need. Over the last 15 years or so I've burnt probably thousands of CD-Rs and DVD-Rs and most of the data on them is no longer need -- a lot of them contain installers for old versions of software or backups that have since been superseded by newer backups etc. Before throwing any of these disks away though I need to go through each one to check what was on them. So far I've managed to amalgamate around 50 DVD and CDs down into a single DVD, which is quite a good space saving. Unfortunately this hasn't been quite as easy as I'd expected as some of the disks had developed bit rot. Fortunately, with the help of ddrescue, I managed to extract everything I wanted from the damaged disks.

Some of the damaged disks I had to process were only around five years old and if they had been left much longer may not have been readable at all. Now while I've never bought the most expensive of blank CD-Rs or DVD-Rs I had expected that they would last for more than five years. Clearly if I want to ensure that my digital photos are still safe in ten or twenty years, as well as for future generations, then relying on DVD-Rs as the final backup probably isn't very wise. The solution, I think, is cold storage.

As I mentioned recently I've just started work on a new project called ForgetIT. ForgetIT, is essentially, an archiving project, with the interesting research focusing on incorporating human inspired models of memory and forgetting to ensure that we archive enough extra content to make the information understandable years after it was archived. In discussion one thing that kept being raised was where we intend to archive data to, and of course the current buzz word is The Cloud. While there are many possible online storage solutions (Google Drive and Dropbox being two popular services) they can all start to become expensive quickly. For example, with Google Drive you can store 5GB for free, but then an extra 25GB will cost you $2.49 a month and I've already got approximately 100GB of photos I want to store. These services are also designed around frequent and fast access; they are designed to act as a remote hard drive. This can be useful for syncing files across devices, but isn't necessary for long term archival storage. Cold storage takes a different approach to storage.

The idea behind cold storage is that it is for data you will want to access very infrequently, if ever. This approach allows service providers to take a different hardware approach (possibly turning off hard drives when they aren't needed or using tapes). This allows the cost to be reduced at the expense of access times. I think cold storage is perfect for the backup of last resort for photos as hopefully I'll never need to access them and if I do I won't need instantaneous access. I can also see this form of archiving being useful to companies for auditing or legal purposes where documents have to be be kept for a number of years but may never actually be requested.

Last year Amazon started to offer a cold storage service called Glacier. The headline information is that storage costs are just $0.01 per GB per month but that retrieval requests take four hours before you can start downloading your data. This means that I can store my current 100GB of photos for just $12 a year, and should I ever need to access them I won't mind a four hour wait. Before you all start rushing to copy your backups to Glacier there are a couple of points I've glossed over that need raising.

Firstly Glacier is part of the Amazon Web Servies (AWS) framework. AWS is a set of web services designed for developers and as such Glacier doesn't have an Amazon provided end user interface of any sort. Fortunately a number of people have started building applications. Some are command line tools which are great for scripted backup solutions, but there are also a few graphical interfaces. I've discussed these in more detail over on one of my other blogs where I'm currently recommending SAGU (Simple Amazon Glacier Uploader) although I'm also developing an application which I'm calling CORPSE (or COld stoRage backuP SoftwarE).

The more important issue is the cost. While the headline price of $0.01 per GB per month is certainly enticing it's worth noting that you are also charged for retrievals (although not for uploads). Firstly there is a per GB cost for transferring data out of Amazons servers (this is a standard AWS data out charge) which is free for the first GB each month but is then charged at $0.120 per GB (assuming you retrieve less than 10TB). This cost is at least easy to calculate. The more worrying cost is for the retrieval.

The retrieval pricing structure is really quite complex. Essentially "you can retrieve up to 5% of your data stored in Glacier for free each month ... [which] is calculated and metered on a daily prorated basis. For example, if on a given day you have 12 terabytes of data stored in Glacier, you can retrieve up to 20.5 gigabytes of data for free that day (12 terabytes x 5% / 30 days = 20.5 gigabytes, assuming it is a 30 day month)." This means, of course, that if you are willing to spread your retrieval out over a number of days/weeks/months/years then you can retrieve as much as you want without paying a retrieval fee. If you need your data quicker though then you will pay for the retrieval.

Calculating the amount you pay is complicated and I can't really summarise it without simply reproducing Amazon's examples so I suggest you go and read the details they have given. Their examples can, however, be summarised in a table. Essentially assume you have stored 75TB of data, so you're daily free limit is 128GB, and you want to retrieve 140GB. Depending how you spread out the retrieval changes how much you pay, as follows:

HoursPeak Retrieval RatePeak Billable Retrieval RateCost
435GB per hour3GB per hour$21.60
817.5GB per hour1.5GB per hour$10.80
28within your daily allowance$0.00

As you can see, as you spread out the retrieval over time the price drops to the point at which the cost for retrieval becomes $0. The problem is going to be keeping track of your downloads over time in order to try and estimate what a retrieval will cost. The best calculator I've found for this so far is unfortunately unofficial but seems to match up with Amazon's examples so should be a good starting point for estimating your costs. Of course my use of Glacier is predicated on the fact that I'm hopping never to need to access the data as it is the backup of last resort.

Even if you don't like the idea of cold storage, or Amazon's pricing structure, then I hope that this blog post will at least have made you think about when you last took a backup of any data you wouldn't want to lose and, more importantly, how long those backups are going to last for.

Saturday, 2 March 2013

Individually Wrapped

While digging around for something sweet to eat yesterday (I made the Moffat Toffee last quite a while, thanks Adrian) I came across one of the more random things I brought back from my trip to Beijing back in 2010; an individually wrapped Polo mint!


Now I know that individually wrapped sweets aren't that uncommon, but individually wrapped Polo mints were a new one for me. The meeting room at the hotel we were staying in was always well setup in a morning with cups for the tea that was brought in at regular intervals as well as large bowls full of these mints. Needless to say I think we all found them quite intriguing and we certainly ate quite a lot of them.

It's now been over two years since my trip to China but I think that is probably the last of the blog worthy things I saw or did!

Tuesday, 12 February 2013

The Physics of Rubbish Cheese

I'm not sure where I'd end up come a revolution, but this is the view from where I'm currently sat; a hotel room in Hannover.

I had great fun trying to translate the message this morning. As you might have guessed the three possible translations for quark are the elementary particle, a type of cheese, and a concept that seems to cover nonsense, rubbish and piddling little details. I'm guessing they weren't refering to physics or cheese which leaves the message reading "The revolution is great; everything else is rubbish."

Political messages aside, I'm in Hannover for the kick-off meeting of a new project I'll be working on called ForgetIT; the project is so new it doesn't even seem to have a website I can point you at. I'll get a better understanding of the project over the next few days of meetings, but essentially it's about archiving digital data, taking into account duplication and context, to allow for some things to be forgotten, while ensuring that everything else is preserved with enough context to enable it to be understood if/when it is needed in the future. That of course is an over simplification of around 100 pages of proposal that resulted in the funding being awarded! What makes this project different from the others I've worked on in the past, is that I'm going to be the lead researcher from Sheffield. This is great in that I'll have a bigger say in the direction of some of the work, although I'll also be responsible if it goes pear shaped. Wish me luck?

Sunday, 10 February 2013

Tear-And-Share Cake

Tuesday, 5 February 2013

Only In California?