Monthly Archives: November, 2013

Being social…

Some people find these scribblings through Google, others through RSS, Tweets, Facebook or App.net posts. And you lovely readers often write comments, but in all these different places, so only a subset of other readers are likely to see them.

In an attempt to make it easier to post comments here on the site, I’ve now enabled one of these newfangled social login things, so you can post using your Facebook or Google account if preferred. Other options may come along in due course!

Sometimes a phone is the only camera you have…

…but on some mornings, it’s enough.

2013-11-26_08-10-58

Gold ‘n’ Brown

If you combine beech trees, autumn, and evening sunshine, it’s hard to go wrong, but Weds was particularly pretty.

20131120-15114509

More pictures here.

Just wondering…

What is it that estate agents really mean when they talk of a “deceptively spacious” property? It’s one of their favourite phrases, after all.

If I say that my wallet felt deceptively full before I left the house, doesn’t that suggest that later, at some inconvenient moment, I discovered I had less money than I thought? Still, perhaps the operative word there is felt, which implies that I was mistaken?

OK, then, so if a house actually is deceptively spacious, that must mean that it does have a lot of space, but for some reason that doesn’t bring with it the characteristics that you’d normally associate with spaciousness. It’s a very inconvenient shape, for example, so you can’t actually use it as you would expect.

Or there is occasionally some warping of the space-time continuum in that area, so that when you visit, it is spacious, but later on you’ll discover it’s only suitable for hobbits? As in, “it’s deceptively spacious at the moment”.

Yes, I guess that must be it. Good of them to warn you in advance.

Welcome To My Humble Adobe

adobe-logoAs many of you will know, two months ago, Adobe’s servers were hacked into and the user information stolen. At first this was thought to be a major breach, with about 3M records lost. Then the number went to abut ten times that. Now, however, there is talk of it heading for the Guinness Book of Records, as it appears the number may be closer to 150M!

Now, the passwords were encrypted (or, more technically, ‘hashed’), so the bad guys can’t just read them off. But they weren’t encrypted as well as they might be, in particular because if several people use the same password, the system stores the same thing. So if you know one person’s password, perhaps because you got it from a previous hacking incident elsewhere and can tie it to their email address, you can now work out anybody else who uses the same password.

But it’s more fun than that… and there’s a great article on the Sophos site going into more gory detail if you’re interested.

One column that wasn’t encrypted in the database was the one holding the ‘password hints’… you know, the phrases you can put in on some sites to remind you if you forget your password.

Now, the most popular password is “123456”, which encrypts to “110edf2294fb8bf4” in the Adobe database. Hundreds of thousands of people use this one. Another very popular one, believe it or not, is “password”, which becomes “2fca9b003de79778 e2a311ba09ab4707”. (You can see more of the most common choices here.)

If you know the encrypted form, you may not be able to work out the original. But if many thousands of people use it, and just one of them gives it away in the password hint, then things become trivial. And it turns out that there are lots of lovely examples in the Adobe file, where users have put in hints like “Rhymes with assword”, or ‘1-6’…

Anyway, if you’re curious about whether you appear in this list, which you might if, say, you’ve ever downloaded Acrobat, there’s a a very nice service that LastPass have put together at:

https://lastpass.com/adobe/

where you can type in your email address and it will let you know if you’re in the database. It can also email you a link showing how many other people used the same password as you, and what some of their hints were. Which can be quite sobering.

I’m embarrassed to say that mine, which was mildly obscure, I originally thought, had 40 other users. That’s only 40 in 150 million, but it’s still not good for precisely the above reasons. I’ve had an Adobe account for a very long time, and this password predated my use of 1Password to generate unique and complex passwords for each site. Thankfully, since I’ve been storing my passwords in 1Password for quite a long time, it’s easy now (if somewhat tedious) to find the other elderly accounts on which I’ve used it, and fix them…

How about you?

Time travel

As we know, people in the past were black and white – you can see that in the photos…

But there are some very dedicated artists who, using today’s technology, are doing a fabulous job of recolouring some iconic images from the past.

higheststandard

There’s a great selection here. I find them very compelling.

crash

Thoughts on home data storage: Drobos and Time Capsules

Drobo Right AngleI am fortunate to be the owner of three Drobos. One I bought, and two I have inherited from past companies etc, and they’ve served me very well. I have had many hard drives die over the years – and another goes every six months or so – but I’ve never lost any data if the drive was in a Drobo. And the flexibility just to plug in a new drive of any size at any time is great. They’re not perfect, but overall, they’ve been a very good place to put my music, photos and video-editing projects, without covering my desk with lots of different individual drives and their related cables and power supplies. The youngest one is more than four years old now, and they’re not particularly fast, but I’ve never had one fail.

Having said that, there is the problem of ‘How do you back up the Drobo’? If the unit should fail, I suspect getting the data off the drives would be very tricky, since they use their own custom filesystem – though, to be fair, that’s true of quite a lot of RAID systems. In some circumstances you can take the drive set out of one Drobo and plug it into another, so that’s probably the best route, unless you have the luxury, as I do, of backing your Drobo up to another Drobo! (A good use for older, slower Drobos). In any case, it’s worth remembering that however reliable the underlying hardware may be, filesystems can get corrupted, malware can attack, fire, burglary, or lightning strikes can take you by surprise, or users can accidentally delete things. Having a system which is resilient to hard drive failures isn’t the whole solution to the data storage problem. But it certainly helps!

None of my units, however, have network interfaces: they’re too old for that. And once you’ve dealt with the hard disk failure problem, most of those other threats are not going to be mitigated simply by backing up onto another Drobo sitting next to it on the shelf. In the past I’ve made Drobos available on the network by plugging them into various other machines: home-built Linux fileservers etc, but the Linux support for the Apple filesystems is not great, so it was never wholly satisfactory, especially for Time Machine backups.

timecapsuleThen, some months ago, I decided I needed a new wifi router which supported dual-band wireless, and so splashed out and got an Apple Time Capsule, which is essentially their Airport Extreme base station with an internal hard disk added, and it gave me both very good wifi and Time Machine backup space for every machine in the house. That’s really how it’s marketed, but you can also just use it as a generic file server, and in my experience, it’s a very good one.

I was nervous that I was being too much of an Apple fanboy in paying a premium price for a router plus disk, but I have never once regretted it. I don’t think I’ve ever used any networked storage which has been so simple and so reliable. I should mention that this is the previous generation of TC, not the latest, that I’m in an almost-all-Apple environment, and that I haven’t required it to do anything particularly unusual in the way of file-serving or router configuration, but for this scenario, it’s been quite superb.

And that’s not all. It has a USB port. So, as well as the internal disk, which I use for the Time Machine backups, I’ve plugged in a Drobo, and now have a few TB of nicely-redundant file storage for all my other backups humming away in a cupboard. Occasionally, I’ve opened the door and everything’s quiet, and after a moment of worry I realise that the Time Capsule is just very good about putting its disks into standby when not in use.

So this is really just a recommendation, both for the Time Capsule, and for Drobos (even elderly ones), and for the combination. If I were starting from scratch and looking for networked storage, I’d have to consider Synology, who also have a very loyal following, and whose devices can arguably do rather more than even the newer, networked Drobos.

But, for now, this arrangement is working well for me.

IMAP, Sent mail, Apple Mail and Mavericks

This is one of those posts that’s chiefly intended for those Googling for a particular problem. It might still make gripping reading, though, for those of you interested in the internals of email protocols…

Most email programs nowadays allow you to specify the folder in which you want to save your outgoing messages, and choose whether that should be stored locally or on your email server. (Assuming you’re using IMAP to fetch your mail, that is. If you’re still using POP, you should get another mail provider. And if you’re using Exchange… well, you have my sympathy…)

But different apps have traditionally had different names for this folder: some call it ‘Sent’, others ‘Sent Items’ or ‘Sent Messages’ and some will use a folder with one name and display it as something else to the user. (The same is sometimes true of ‘Drafts’, ‘Trash’, and ‘Junk Mail/Spam’). So, over the years, I’ve tended to standardise on ‘Sent’, and when I set up a new mail app or a new machine, I configure it to use that folder.

But recently, that setting didn’t always seem to be stick, and I found some of my mail would end up in different folders when sent from some devices. Still, I persevered, until I installed Mavericks on my Mac, and found that the setting wasn’t even available on Apple Mail, at least, not for my main account – it was greyed out! What could be going on?

Screen Shot 2013-11-16 at 08.37.45

So I started to investigate. I dug into the file that Mail uses to store information about its accounts (currently ~/Library/Mail/V2/MailData/Accounts.plist) and I came across a setting which gave me a clue: it was called HasServerDefinedSentMailbox, and for this account it was set to YES. Mmm…

In the past, IMAP basically just provided you with a smart filing system for your mail, and it’s proved a remarkably resilient one, when compared to other formats. As an aside, I felt very old recently when I told a colleague in the lab that I had used the same method for storing my mail for ages, and had emails from 1991/92 in there that were just as accessible now as they had been then. He laughed, and said, “That’s the year I was born!”. Sigh… Still, compare that to data stored n tapes and floppies.

Anyway, a few extra features have been added since then, and one of these came just a couple of years ago. RFC 6154 describes ‘new optional mailbox attributes that a server may include in IMAP LIST command responses, to identify special-use mailboxes to the client, easing configuration’. In other words, the server can tell your app which folders to use for these key functions. This makes a lot of sense, particularly when your email provider also has a webmail interface, for example. I use Fastmail, which has a really good one, and, of course, it needs to know what you want to use for sent mail, drafts, etc when you’re using it via the web. Fastmail reflect these folder choices in the IMAP protocol, to keep everything consistent. Which is fine by me: I now simply stick to using the ‘Sent Items’ folder that the server recommends, and all is well on all my devices.

Anyway, all of that is a long way of explaining why you may find the ‘Use this mailbox for’ menu items are greyed out, and why on iOS devices you may try changing the ‘Sent Mailbox’, only to find that your new setting doesn’t stick. If your server is specific about which folders should be used, Apple will take that setting seriously, which I think makes sense, but they aren’t yet very clear in the UI about why you can’t then change it yourself.

Hope that’s useful to somebody!

Segway-lite?

Continuing the electric bike theme…

http://www.youtube.com/watch?v=t6StgpukFNk

The invisible bicycle helmet

My friend Hap sent me a link to this video.

A nice idea. But it didn’t really say much, so I presumed it was just a design concept, perhaps with a patent or two just in case.

However, if you go to this site, you can apparently buy one. As someone who detests wearing a helmet and feels guilty for not doing so, this is intriguing…

Mourning, recycling and reincarnation

A poignant message, I felt, spotted in a country churchyard.

20131101-17152515

Down to the waterline

Byron's Pool, Grantchester, Cambridge

Lord Byron used to swim just near here, they say. But not, I suspect, at this time of year.

20131104-17012308

Byron’s Pool, near Grantchester

© Copyright Quentin Stafford-Fraser