Category Archives: General

1984 – 30 years on?

I’m not very good at keeping up with politics and current affairs in general at present, and one treat I always allow myself on holiday is the shedding of even the limited news-reading and Today-programme-listening that I normally do.

And so the Snowden affair, which started while I was away, largely passed me by: when I got back they were discussing intricacies of conspiracy theories and extradition orders and it was a bit like trying to pick up a TV mini-series by starting on the third or fourth episode. I’ll save learning about it for when the movie version comes out.

But I did think John Lanchester’s article in yesterday’s Guardian was a pretty sane discussion of the issues, even for those of us who missed the opening chapters.

Nice extract:

I call this the “knowing you’re gay” test. Most of us know someone who has plucked up the courage to reveal their homosexuality, only to be cheerfully told by friends and family, “oh, we’ve known that for years”.

Now, though, search engines know facts about people’s thoughts and fantasies long before anyone else does. To put it crudely, Google doesn’t just know you’re gay before you tell your mum; it knows you’re gay before you do. And now GCHQ does too.

Flushing out the answer

Here at Status-Q headquarters, we’re having a new bathroom fitted, which means we’re getting all these newfangled gadgets that you youngsters just take for granted. Things like mixer taps, which our international friends are amused that we didn’t adopt about 50 years ago. I tell them that British plumbing is like the weather: it’s unpredictable, and we like it that way, because it gives us something to make polite conversation about when inspiration is otherwise lacking.

Anyway, we now have a cistern with one of these dashed clever dual-flush buttons. You know, with a small difficult-to-press button embedded in a large crescent. I think it’s a kind of Islamic yin/yang symbol. But the real mystery is that nobody seems to know quite how it works. It didn’t come with a manual, and even our plumber couldn’t answer some of my questions. Here are a few – perhaps the readers of Status-Q have greater lavatorial expertise than we do:

  • It appears from visual inspection that the small button provides a smaller flush than the big one (these things are difficult to measure, but that seems sensible). But what happens if you press both, which is the easiest thing for my chunky fingers? Are they additive in some way, producing a megaflush? Or is that the same as the big button alone?
  • If the authorities really want us to save water, shouldn’t the big easy-to-press button be the one that does the smaller flush, leaving you to add on the side button for the full monty?
  • In any of the above combinations, does a press-and-hold give you any more than a brief press?
  • Is there an international standard for flush-button-operation, or might all of the above vary by manufacturer?
  • How many unnecessary gallons of water are used around the world each day by people like me who, in the absence of such vital information, always press the biggest combination of buttons for the longest amount of time? Can Status-Q make a significant impact on world water consumption?

All enlightenment most welcome! Or failing that, I’ve at least given you something to ponder next time you’re sitting there…

A Brief History of Hawking

This is, I think, a lovely introduction to Stephen Hawking’s big ideas, in a two-minute animation commissioned by The Guardian.

The fact that it’s substantially the creation of my nephew Matt Kemp, who works at Scriberia, makes me like it even more! 🙂

Packing a punch

One thing I haven’t generally had to pack when going for walks in the countryside – until I went to Montana – is bear repellent.

20130904-211728320

These are standard issue in that part of the world – you can buy them everywhere.

To an Englishman, an aerosol seems more appropriate for dealing with a small insect than a charging grizzly, but since the usual alternative advice is to lie down and play dead in this situation (which may cause the grizzly to ignore you), I can see why these are popular travel accessories.

Suspicion ’bout fishin’

I have a theory. A hypothesis, if you will. It’s still in embryonic form, but I think it could have considerable impact, because it relates to a global conspiracy to create a mass delusion affecting hundreds of thousands of people worldwide.

I am referring, of course, to fishing.

It’s a subject on which I am far from an expert, having only held a fishing rod in my hands twice in my life. Naturally, therefore, I didn’t catch anything on either occasion. But what was more surprising was that on both occasions I was accompanied by somebody much more experienced – in the first case, a Norwegian, in the second, an American. We were in good locations with lots of fish. And yet, after a day of staring at small things bobbing on the water, they hadn’t caught anything either.

Not a large statistical sample, I grant you, but it made me start to wonder. And I realised that throughout my life I have been walking on the banks of rivers, or sailing or paddling on lakes, and have seen vast numbers of fisherman sitting looking dejectedly at their lines, but never have I seen anybody actually catch a fish! Doesn’t that seem a bit strange, in forty-six years? Yes, you hear stories of people who claim to have caught them, and accounts from others of the ones they almost caught, but I feel that solid evidence is somewhat lacking. I’ve never seen it with my own eyes.

Except once.

I was in Nottingham, walking my dog along the river, and there was the usual collection of figures squatting by the water. Perched there, you might say. And then, suddenly, one of them jumped up with a cry, and started reeling in what turned out to be a reasonably sizeable aquatic beast. But it was the reaction of all his co-hobbyists that was impressive – they all crowded around with such excitement that I was persuaded that they, too, viewed this as something of a miracle.

Now, I do know that there are fish in the sea, and I have eaten quite a few of them, so somebody must catch them. These trawlers seem rather good at it. And I have even caught fish myself, using the rather trivial technique of stretching a net halfway across a quiet fjord one night and pulling it in again the following morning. That’s not what I’m talking about here. No, I mean the process of leaving your wife and family, gathering large amounts of expensive equipment, and sitting for hours beside, or on, a river, looking at a gently bobbing thing, when you could be enjoying the view, going for a nice walk, or, if you like sitting by the river, reading a book. This is clearly not something that rational people would do unless they had been seduced into it by the promise of some great reward.

It’s a bit like making pilgrimages to Lourdes, or buying lottery tickets. These also sustain major industries on the basis of future rewards almost never actually experienced by the participants, so you need to make sure that, when the rare miracle occurs, it is well-publicised. Hence those pictures of Hemingway next to an enormous marlin, or the stuffed pike over the rural hotel mantelpiece. They say, “Look! It can happen! Someone caught one once! This could happen to you too!”

And so I rather suspect that the chap I saw in Nottingham was a plant by one of the local manufacturers or vendors of outdoor equipment. He probably kept this fish in a tank and, once the gig was done, would move elsewhere on the river, slip it back on the hook, and chuck it in again. That seems the most plausible to me.

Think about it, dear reader. You know it makes sense. The conspiracy is now exposed. And fortunately, you and I have not swallowed the bait…

Beauty and the beasts

We’re in Montana, and it’s beautiful.

20130904-212513334

No, I mean really beautiful.

Shadow Lake, Glacier National Park, Montana

We made some friends amongst the natives.

20130904-203245285

20130904-202959281

20130904-204355296

20130904-234603475

20130905-002152517

The humans are friendly too. All in all, a lovely spot.

20130905-005841541

More pictures are sure to follow soon…

A taste of their own medicine…

This was a lovely story, featured on the BBC this morning. A Russian man, before signing a contract with his bank, altered the small print, signed it, and sent it back to them. They signed it, not noticing that they were then obliged to provide interest-free loans, no management charges, and would pay a substantial penalty if they wished to get out of the contract…

Fabulous idea.

I’ve done nothing as cunning as that, but often when I call some institution and get an automated voice saying “This call may be recorded…”, I say “Thank you!”, and click the record button…

That’ll show ’em.

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!

© Copyright Quentin Stafford-Fraser