Category Archives: General

Sarah & Hubertus

About three weeks ago, my very good friends Sarah and Hubertus got married in Queens’ College here in Cambridge. They were good enough, and foolhardy enough, to ask me to take the photos.

2013_07_21-14_46_36

It was a wonderful occasion – great people, lovely weather, delicious food, and a really excellent ceilidh band in the evening.

2013_07_21-16_44_39-Edit

Being ‘the photographer’ was a great learning experience for me, and gave me a huge respect for the professionals who do this on a regular basis.

In particular, at this (otherwise wonderful) venue, every single room had challenges from a lighting point of view. One was very dark, one had a low white ceiling, and one was lined with glass-fronted bookcases, which made it a real challenge to position the flashguns! But things mostly worked out in the end.

2013_07_21-16_08_24

Even the outdoor shots had to be carefully managed so people weren’t squinting into the bright sunshine, and despite visiting beforehand and working out where the sun would be at about the time the ceremony was finished, I didn’t quite get it right. The bride and groom may hope for glorious sunshine on their wedding day, but, trust me, the photographer doesn’t!

Still, everyone was very tolerant of the inexpert photographer, and, above all, we all came away with happy memories of a very cheery occasion.

2013_07_21-20_53_53

More photos from the wedding can be found here.

When is a photocopy not a photocopy?

One of the challenges, when storing or transmitting the image of a scanned multi-page document, is that it takes an awful lot of space. Unless, of course, you compress the data. But how should you do this?

The kind of lossy compression used by the JPEG and MPEG standards is great for photos and movie frames, but not much good for text – it makes the edges blurry. And the hard-edged, often lossless, compression used by things like PNG and GIF is great for text but will do nasty things to any embedded photos or background textures. So how do you handle, say, a typical magazine page, with crisp text, embedded photos, graduated background colours?

In the late 90s, my friend Yann LeCun and others created the DjVu format, which cunningly works out how to split a document up and compress each bit using the most appropriate system, then reassemble them for viewing later. It was particularly good for things like digitising historical manuscripts – it would separate the script from the parchment, deal with them separately and still produce a realistic-looking copy afterwards, but take a fraction of the amount of data that most other schemes would have used; especially important in those pre-broadband days. The same concepts are now in the JBIG2 standard, which is included in PDF and embedded in many devices, including Xerox copiers.

Another way to save space and time is that, once you’ve separated the text and other symbols from the background, it’s fairly easy to see if any symbols are re-used. So you don’t have to store the image of every ‘e’ in the document – you can store a representative sample of each size, font etc and simply insert an appropriate one wherever it is used in the original. All very cunning.

Assuming you get it right.

But this story on the BBC describes how some Xerox photocopiers may not have been getting it right, occasionally substituting incorrect digits in their copies. This can be something of a problem if you are, say, an accountant, or an architect. It’s not clear from this article whether this has ever caused anybody serious problems yet, or just been noticed in the lab, but you can imagine the potential lawsuits…

It’s a potential danger of any technology that reassembles a perfect-looking output, when in fact some data may have been lost since the input. You could save a lot of mobile-phone bandwidth if you noticed that someone had just used the same word that they used a few minutes ago, for example…

Xerox fought hard to preserve their trademark by not allowing it to become a generic verb meaning ‘to photocopy’. But I guess they’d like it less if it came to mean something else.

“Ah, hello, is that my tax accountant? I was wondering if you could…. ahem… Xerox this year’s figures for me?…”

Thanks to Mike Flynn for the link.

Circles of logic

I cycle past this sign regularly:

I think this indicates that all of Cambridge is now part of the Cavendish Lab. I know they’ve been expanding a lot recently, but I didn’t realise they’d got that far.

On the other hand, I may be confused. It’s difficult to keep a clear head when you’re cycling backwards like that.

And the sun stood still

This is pretty cool. Some German physicists have done some awfully clever quantum stuff and frozen light for a whole minute within a crystal. What makes this even more impressive is that they used it to store and successfully retrieve information – a simple image of three light-coloured stripes.

Screen Shot 2013-07-27 at 10.22.03

I think this may prove to be an iconic image in the history of IT, because this technique may enable storage in optical computers in the same way that mercury delay lines did in the early days of electronic computing, before we had RAM.

And wouldn’t it make a great plot device for a Star Trek episode?

More information here – thanks to Anthony Albertyn for the link…

Photoshop CS6 crashes on launch with ‘Participate’ dialog button

This is one of those ‘just in case anyone is Googling for it’ posts. Non-Photoshop users can skip…

My shiny new copy of Adobe Photoshop CS6 suddenly started crashing after just a few uses. On startup, it would display a blank dialog with only a ‘Participate’ button, which didn’t work.

Screen Shot 2013-07-14 at 09.50.40

I trawled the web and found that I was far from being the only person with this problem. I discovered that, somewhat ironically, this is supposed to be a window inviting you to sign up to Adobe’s ‘Product Improvement Program’. Mmmm. And a suggestion that the problem is a second dialog which appears behind the first so neither can be clicked. But I didn’t find a direct solution I could use.

However, a post by Chris Cox in this thread mentioned a Preferences file which might affect it. It’ll be named something like:

~/Library/Preferences/ByHost/com.adobe.headlights.XXX.plist

where XXX will vary depending on your installation. ~/Library, in case you don’t know, is the Library folder within your home folder. This is hidden by default in the Finder, but if you hold the option key down and select the ‘Go’ menu, you can select Library from there.

Anyway, open that file with a property list editor. I used XCode, but something like PrefSetter should work too. I burrowed into CS6Headlights > Adobe Photoshop CS6 where there was a ‘LaunchCounter’ variable. I’m guessing this is something to do with the number of times you can run the app before they ask you to participate.

Screen Shot 2013-07-14 at 10.05.23

But setting it to a lower number (I think I went from 5 to 2), saving and quitting XCode and then starting Photoshop brought my world back to life. I was then able to go the the Help menu where you can set your Product Improvement Program options.

Screen Shot 2013-07-14 at 10.04.44

After doing that, various bits of information were also stored in the .plist file under ‘CS6’ about my opting in or out, so if the above fix doesn’t work you might like to investigate those.

Screen Shot 2013-07-14 at 10.25.33

Hope this helps others out if they find themselves in the same state!

Brainy precautions

SpocksBrainThe aliens want to steal your brain… I think that’s fairly well established by now, but how to recognise them is less certain. Douglas Adam fans would assert that it’s the white mice you should be fearful of, while the followers of Roddenberry are more concerned about the delicious young ladies of Sigma Draconis VI.

In either case, it’s best to be prepared for all eventualities, and what better way than to have a spare brain you can hand over when requested? With a bit of luck, the aliens will be content with that, and leave you to boldly go about your other business.

My friend Richard has already got his. Here’s how he did it.

Virtual interior decorating

My Photoshop skills are a bit rusty, but I revived them over the weekend for a quick job on behalf of Rose’s college. They have been contemplating the possible hanging of a large painting in a couple of new locations, and wanted to get a feel for how it might appear.

The painting, however, is over 2m square and currently in storage, so just holding it up for a moment while someone else gives their opinion would have been a little impractical. So I offered to do a quick non-artist’s impression.

20130707-12180604-Edit

20130707-12392723-Edit-Edit

20130707-12400524-Edit

Isn’t technology wonderful?

Moving with the times?

I’ve spent the last couple of days in Winchester, helping my brother & his family move house. All went well in the end, but we really need to fix the archaic English system of money transfers that happen on the day.

For those unfamiliar with the process, it usually involves the first solicitor in the chain pressing a button on some system which transfers the purchaser’s money to the vendor’s account, and unless there are cash buyers in the chain of purchases, this proceeds from solicitor to solicitor during the course of the day. When confirmation of each transfer is received, the estate agent hands over the keys.

In our case, five family members plus two removal men and a very large truck were waiting outside the house for a couple of hours until one solicitor came back from lunch, only then to discover that another solicitor had pressed the wrong button at 8.45 that morning so nothing had transferred. But nobody had informed anyone…

A similar confusion then happened later in the day to our vendors when they arrived at their new house… they had the keys, their belongings were being unloaded onto the front lawn, and the estate agent then screeched up in the car and tried to take the keys back because someone had misread the confirmation about their transfer and it hadn’t actually gone through.

I suspect other countries have this sorted out in a much better way which takes the unreliable lawyers out of the loop. Not least Scotland. They’re canny that way…

Sports hound

Had fun with some high-speed shots of Tilly chasing her ball on the college hockey pitch this morning.

20130609-07263032

20130609-07275337

You can click here to see a few more.

Tilly still had energy left afterwards to do her meerkat impression, though…

20130609-075058113

20130609-075059114

Good work, nicely explained

My friend Rose Goslinga has been working to create affordable insurance for African farmers. This is not only exceedingly good and valuable work, but I’ve just discovered this Poptech talk she gave about it a couple of years ago.

I think it’s quite brilliant, because, while I haven’t heard her give a talk before, I remember Rose as a quiet, humble lass who I wouldn’t have considered a likely natural public speaker. But I can think of few if any talks I’ve ever seen which convey their message so simply and effectively in under five minutes. If you don’t watch it because you’re interested in how technology can help the poor, watch it as a lesson in public speaking done right.

More info about Kilimo Salama here.

Going back to my roots?

Recently, I’ve adopted the somewhat complicated habit of having several jobs at once. It’s not always the most productive way to work, but it keeps me on my toes, and life is never dull! And so, today, I started a new job, as a Research Associate in the Cambridge University’s Computer Lab.

Now, this is only one day a week, and it’s a fairly junior post, but it has significance for me, for several reasons. One is that it’s with an old friend, Frank Stajano, helping on what should be an interesting project. A second is that it’s nice to have at least a modest foothold back in academia, doing stuff that isn’t primarily profit-motivated. But thirdly, I’m enjoying a bit of nostalgia.

You see, I’ve been here before.

Just before I started my PhD, I also had an R.A. post in the Computer Lab. And many great people from that time are still around. So in some senses it feels familiar.

I have a shiny new Linux machine on my desk. Well, I had a Linux machine back then, too, but it was rather different. I had commandeered a spare PC and installed this newfangled operating system on its hard disk. I’d experimented before with booting Linux up from floppies, but to have a machine which I could, at least temporarily, dedicate to this skunkworks experiment was wonderful, and it had a decent CPU with enough RAM and disk space that I could run a graphical interface on it! I think I’m probably the first person in the lab to have used Linux with X Windows, which seems remarkable now, when it’s on the majority of desks in the department.

Other things have also changed, not least the building in which the lab is located. The phones on the desks are connected by ethernet cables, not by phone wiring, but of course, I’ll scarcely use it because I now have a phone in my pocket as well. Wow.

But the other thing that really makes me feel old is that the last time I started a similar job to the one I started today, in the same organisation, not one of us had ever heard of the World Wide Web, for the simple reason that it didn’t yet exist.

Gosh, I’m ancient…!

Thought for the day

Economically, there are two kinds of people/households in this world:

  • Those who pay more taxes than they consume.
  • Those who consume more taxes than they pay.

It’s a fairly arbitrary line to draw, and I wouldn’t want to make any value judgments based on it. It’s tempting to call them ‘wealth-generators’ and ‘wealth-consumers’, for example, but that’s too simple. Most teachers fall into the second group, but without them, we’d have fewer people able to be in the first group.

Those in the first group are typically creating value by selling products or services that people want directly. Many of those in the second are doing the same thing, but we buy their products and services via a distributor known as ‘government’. That, to a large extent, is what taxes are.

But I just thought it was an interesting thought experiment, if nothing more. What’s your family budget deficit? How much are you dependent on government subsidy?

And if you don’t like the answer, comfort yourself with the thought that, thankfully, not everything revolves around taxation! How does your balance sheet look in other areas?

  • Those who generate more happiness than they consume.
  • Those who consume more happiness than they generate.

That’s much more important.

© Copyright Quentin Stafford-Fraser