ScanR – image services by email

ScanR is a lovely service. Take a picture of a document, whiteboard or business card with your digital camera or mobile phone. Email it to ScanR:

  • to wb@scanr.com if it’s a whiteboard image – you’ll get back a nice clean PDF version
  • to doc@scanr.com if a document – you get back a clean PDF that has supposedly been OCRed – the OCR didn’t really work for me, though the image was good.
  • to bc@scanr.com if it’s a business card, and you get back not just an image but a .vcf file as well, which you can just double-click to put into your address book. On the card I tried, the text was OCRed perfectly but not put into the correct fields – however, all the data was there in the comments section, so I could find the card by searching for any of it, and copy and paste it into the right fields if wanted.

The nice thing, of course, is that you can do all of this directly from your phone. If you have a phone with a camera in it, which at present I don’t…

Copying the copy-protection

Jon Lech Johansen, best known for breaking the encryption on DVDs so that Linux users could also watch them, is now creating encryption. Well, sort of…

He has reverse-engineered Apple’s Fairplay and is starting to license it to companies who want their media to play on Apple’s devices. Instead of breaking the DRM (something he’s already done), Jon has replicated it…

(from GigaOM)

This lets media-producers use Apple’s DRM without having to talk to Apple. (Of course, it’s worth remembering that Apple’s system will also play non-DRMed material). It’s not a long-term business strategy, I shouldn’t think, because Apple owns the whole chain at the moment and so can change Fairplay to an incompatible system in future without affecting their users too much. That would, however, involve re-encoding the media that currently works, so it’s probably something they wouldn’t want to do…

LZW: Don’t it feel good when a patent dies?

LZW stands for Lempel-Ziv Welch, and is the name of a very elegant compression algorithm suitable for a variety of applications, but it is best known for being the foundation of the GIF image format created by CompuServe.

GIF images were in very wide use in the early days of the web; it was a good way to compress images such as logos that need to have sharp edges. (This is as compared to photo-type pictures, which need a lot more colours, but still look good if you sacrifice some sharpness – that’s roughly how JPEG works.) However, for all their elegance, efficiency, and former widespread use, images with a .gif suffix are rather seldom seen today? Why?

Both GIF and LZW received a lot of bad press over the last decade after the emergence of some relevant software patents owned by Unisys and IBM. In the second half of the 90s, Unisys started threatening to prosecute websites and application vendors that used the GIF format, which resulted in a lot of bad publicity for them and the gradual transition of most of the world’s websites to the new, open, PNG format which has taken its place today. Purveyors of closed, proprietary standards beware!

A company called Forgent tried to pull the same trick in 2002, claiming a patent on JPEG images. The patent was declared invalid in 2006, but not before Forgent had collected $90M in licensing fees, according to Wikipedia. I wonder if they had to give any of that back? The sad thing is that such legal action can often be rather profitable, even if you lose in the end.

Three years ago I pointed out the rather distressing effect on SCO’s share price when it started claiming ownership of parts of Linux in early ’03. The claims have been rebutted one after another as SCO failed to produce any convincing evidence, and the share price has now fallen back to where it was when the whole thing started.

SCO share price

I enjoyed the latest developments in SCO’s attempt to sue IBM for $5bn, as reported by Dow Jones Newswire:

Wells ruled in June that SCO had “willfully failed to comply” with court orders to show IBM which of millions of lines of computer code in Linux were supposedly misappropriated.

SCO argued that was IBM’s job, a stance Wells likened to a security guard who accuses a shopper of stealing merchandise and demanding the shopper show proof of the theft.

The case remains scheduled for a February 2007 trial, but the ruling by Wells gutted SCO’s case.

So SCO managed to keep alive for a while on the back of this, but everybody now thinks of them primarily as a litigation company, not as a software company, and no techie worth his salt would ever want to work there now, which must spell doom in the long term.

But, anyway, back to LZW. The GIF format is nearly dead, and long live PNG, which has quite a few technical advantages in addition to giving its users freedom from litigation. Unisys’s actions not only damaged their brand, but spurred the rapid development of a superior replacement over which they had no control. And now, at long last, the patents have finally all expired – hurrah! – which means that, GIFs or no GIFs, the LZW algorithm can be restored to its rightful place as a rather useful implement in the Computer Science toolbox.

Thanks to E-Scribe news for the reminder.

Mojopac on the Mac?

There’s a lot of interest in Mojopac at the moment – a piece of software which lets you carry a complete Windows environment around on an iPod or other storage device and use it – your entire Windows world, desktop, applications and all – on any XP PC you happen to plug it into, alongside the already-running OS. Here’s a video of it in use.

Part of the interest is that nobody seems to know quite how it works underneath. There’s a ‘How it works’ page on the website which really doesn’t tell you how it works at all. Is it a full virtual machine? That seems the most obvious, and if so, they’ve done quite a nice job of getting it to run without an installer.

But I’ve seen comments to the effect that there isn’t a copy of Windows in the Mojopac you carry around, which would suggest that it must be running the OS that’s on the host machine. So is it making use of Windows’ fast user-switching combined with some kind of chroot environment? The Windows registry tends not to be so easily switched around… Who knows…?

Anyway, I started wondering how easy this would be to do on a Mac. In one sense, Mac users have always had it easier because you can generally put applications anywhere and run them from anywhere. So if you keep your documents and your favourite apps on a portable drive you can plug it into any Mac and usually get a lot of work done. But it’s not your own environment; you’re running as somebody else unless you have a login on that machine, and things like your email configuration won’t be there. If you DO have a login on the machine then you can also get it to use the portable drive as your home directory, and your environment will then be there when you login, perhaps using the fast user switching on the Mac.

Or you can reboot and use what, for me, has always been one of the most valuable aspects of the Mac: its ability to boot and run entirely off external drives. That’s proved incredibly useful on a number of occasions, especially when my own machine has died and I’ve been able to borrow somebody else’s, use my whole world as normal, be upa and running again in a few minutes, and return the system untouched to its owner at a later date.

None of these is quite the ‘walk up to any machine’ scenario that Mojopac are claiming, though.

It did occur to me that I might put a copy of Parallels Desktop on a drive, along with a virtual machine image, and simply plug in the drive and double-click the image, at least on Intel machines. But, understandably, Parallels is one of the few things that really does require an installation, so unless it’s already present on the machine, this doesn’t work either. And besides, wonderful though Parallels is, the one operating system you can’t run under it is Mac OS X, so for the user experience would always be sub-optimal!

If my friends at XenSource have their way, virtualisation capabilities will soon be de rigueur on every OS; it’ll be something you switch on, rather than having to install. Most new Linux distributions have some support for Xen out of the box, for example, and I’m experimenting with it under Fedora Core 5 on one of my web servers, which now appears to the outside world to be 5 machines. Very neat. It’s going to be a while before Xen has anything like the ease of use of Mojopac or Parallels. We’re only just getting to the point where you can probably install it without recompiling your kernel.

But if the XenSource strategy of getting their Open Source core ubiquitously deployed on all x86 machines succeeds, then it’ll be much easier for people to create Mojopac-type systems in future. Until then, I take my hat off to the Mojopac guys, if it really works as advertised.

X-ray vision

From The Dilbert Blog

I think the worst super power you could have would be x-ray vision…

If everyone had x-ray eyes, you would hear sentences that you’ve never before heard, such as:

“Let’s take a break. As you can see, my bladder is pretty much topped off.”

A handy utility

Renamer4Mac
Those of us who love the command line can be keen to point out its advantages over pure GUI-based programs. “Imagine you want to rename a hundred files”, I have been known to say, “to change photo001.jpg to old_paris_photo001.jpg, etc…”

Now, the truth is that, while it would be a real pain to do this in the Finder, it isn’t exactly trivial on the Unix command line either. Which is why I think there’s a room for a utility dedicated to renaming, especially when it’s free, and as nicely implemented as Renamer4Mac. You drop the files onto the window, choose from a variety of filename modifications, and it shows you what the new names will be – a big advantage. Then you just click the button and you’re done.

Renamer screenshot

It can also install itself as a contextual menu plugin, so you can select files in the Finder, right-click on them, and choose “Rename with Renamer4Mac…”

Thanks to the MacBreak vidcast for the link.

f1.5

Regular readers will know that I was hoping for some update to Apple’s Aperture software to be announced today. And sure enough, Aperture 1.5 will be a free upgrade later this week, with lots of nice new features.

As always with Aperture, there are video tours and tutorials including one which shows you what’s new in this version. (Here’s a direct link to that movie.)

Skype video for Mac

Skype betaThere’s now a 2.0 beta version of Skype for the Mac, which includes video chat.

Almost everybody I know is on AIM, so for regular IM chatting I use iChat, with the occasional audio or video link to other Mac users. But Skype has always been better at getting through firewalls than iChat, and this could make it a better video solution, especially if the quality is as good as iChat.

Slipping through security

Manka Johnson has a few interesting thoughts on airport security. Like the fact that, while you aren’t allowed to take water on board, you are allowed to take KY jelly. Mmm.

sshput

Warning – geeky post

I often configure SSH so that I can log in from one machine to another without typing a password. Those who have done it, though, will know that this takes a few steps and it’s easy to make mistakes.

I wrote a little script to help, and found I used it rather often. So with due humility I offer sshput to the world in the hope that others might also find it useful.

Playing with the big boys

On Thursday, the Bush administration committed $3bn to projects tackling climate change issues. The following day, Richard Branson did the same.

Neither of these gestures is exactly philanthropic in nature; both Sir Richard and the United States of America need to find alternative fuels, and realise that heavy investing in this area probably makes long-term economic sense. But, as someone who can’t even afford a Prius, I can’t help thinking that it must be nice to wake up and think, “America’s doing this. Maybe I’ll do the same thing.”

© Copyright Quentin Stafford-Fraser