Author Archives: qsf

Run for your life?

2015-07-18_08-38-15-04

Tilly and I were surprised, when we arrived at Wimpole Hall for our morning walk, to find about three hundred people in brightly-coloured footwear also arriving at the same time. It was some kind of running event.

Though it was a gorgeous morning and location for doing it, this isn’t an activity that has ever particularly appealed to me, for two reasons. The first is that I learned at school that I couldn’t run to save my life, nor, therefore, partake effectively in any sports which depended on it. This was made clear to me through that strange Darwinian process, peculiar to the school environment, known as Humiliation of the Weakest.

But the second reason is that almost everyone I know who did much running in their youth suffered for it in later life. Running is a system for improving the health of your heart, lungs and arteries at the expense of your knees, legs and feet. This is possibly a trade-off worth making: your life will probably be longer, though you’re likely to spend more of it on an electric scooter in your later years. But unless you actually enjoy it, there are better ways to get fit, and that trade-off is only worth making, I would suggest, if swimming or hiking don’t appeal!

Still, it does appear to be the fad of the decade. On my morning dog-walks across Grantchester Meadows I encounter more joggers these days than cyclists or other walkers, something which would never have been the case a few years ago. And I think a big part of this must be the advent of phones, watches and fitness bands which bring more immediate gamification to what would otherwise be a somewhat tedious and often solitary activity. You can compete against your devices, even when there’s nobody else around, and we humans do respond well to a challenge!

Now, there may be some other reason. I don’t really watch TV, so for all I know there may be some popular ‘Celebrity Jogging’ programme that’s been topping the charts in recent years. But, if it is really down to the gadgets, then they aren’t going to vanish, so perhaps this isn’t just a current trend whose favour will ebb and flow like, say, skateboarding, but a more fundamental and long-term change in the popularity of running.

In which case, it may be time to buy shares in Nike. Or in electric mobility scooters.

Coming into alignment

The project I’m currently involved in at the University Computer Lab is investigating how we can make use of some of the lab’s computer vision and human interface expertise to improve the experience for car drivers. This is being done in conjunction with Jaguar LandRover, and we’ve been equipping a Discovery with several cameras, some looking at the driver and passengers, some at the surroundings.

2015-07-09_10-56-23-07

We can also record various bits of other telemetry from the car’s internal CAN network, and some of the cameras are synchronised to this, but not all of them.

My knowledge of computer vision techniques is about a quarter of a century out of date, so as part of a learning experiment today I was thinking about ways of automatically synchronising the video to the data. The two graphs below show the first minute and a half of a recording, starting with the stationary car moving off and going through a couple of turns. This isn’t how we’ll eventually do it, but it was a fun programming experiment!

This first plot shows the angle of the steering wheel, as recorded by the car’s own sensors.

steer

This second plot shows the average horizontal component of optical flow seen by one of the front-facing cameras: in essence, it’s working out whether more of the pixels in the view that the driver sees are moving left or right.

flow

I’m quite pleased that these two completely independent sources of data show such a nice correlation. Optical flow is, however, pretty time-consuming to calculate, so I only got through the first 90 seconds or so of video before it was time for dinner.

Fun stuff, though…

The great gluten-free diet fad

seed-head-wheatI thought this BBC post by William Kremer presented a pretty balanced view about dietary gluten. Here’s a quick summary for people like me who knew nothing about this:

  • As a general rule, avoiding gluten is a bad idea because we get valuable vitamins and fibres from it that you would then have to supplement in some other way.
  • A little under 1% of people, however, suffer from coeliac disease which gives them serious gluten intolerance, and the increasing availability of gluten-free foods is very valuable for them.
  • There is a larger group of people who may have some gluten sensitivity, perhaps as high as 6%, and can benefit from reducing or avoiding it. This is hard to test for, and its existence is somewhat debated, but double-blinded trials with placebos suggest that it isn’t completely imaginary.
  • Nearly 30% of Americans, however, feel that they ought to try and avoid gluten in their diet. This is a recent trend.
  • If you replace gluten-containing foods – e.g. baked goods – with gluten-free alternatives, you will often be worse off because they tend to be more calorific. You can lose weight, however, by replacing them with fruit and vegetables.

The woodland realm

2015-07-11_15-15-01-27-Edit

My friend Jade, helping me walk Tilly this afternoon.

Strike action

lightning

There seem to have been a few reports of people being struck by lightning recently – this recent tragedy in the Brecon Beacons being one example.

So what should you do if you find yourself at risk? My first thought would be to get close to something taller and more conductive than me. But this site suggests it’s a bad idea – being close to a strike can be almost as dangerous as being hit. They also recommend sitting on your rucksack, to insulate you from the ground, which I guess is fine as long as there hasn’t been any rain recently.

On a cheerier note, I saw some reports last week about a man who had been struck twice in his life, and survived both. This was pretty unusual in itself, but the focus of many of the articles seemed to be his name: Rod.

Photo: Kent Porter. Thanks to Jo for the link to the mountain safety site.

Chips with everything

Many thanks to Richard Mortier for pointing me at a great Tumblr blog: We Put A Chip in It!. Their tagline: “It was just a dumb thing. Then we put a chip in it. Now it’s a smart thing”

It’s full of videos which are most amusing. Some of them intentionally…

A Colossal Hit

One of the websites I most enjoy browsing, perhaps because it’s really rather different from most of my other reading, is Colossal.

Dedicated to ‘Art, Design, and Visual Culture’, it’s somewhere you can always find striking images. Here are some of my recent favourites – click on them to go to the relevant articles and find out what they’re all about…

rolling-1

leaf-9

bubble-1-600x828

pencil-5

tent-2

Streaming the classics

celloI’ve never yet paid for a streaming music service. I greatly enjoy music, but seldom listen to much these days, and when I do, it’s generally in the car, where such services are normally of limited use. At home, I can’t really listen to music and get any work done at the same time, though I sometimes try to persuade myself otherwise. And when I’m not working, I’m more likely to be listening to podcasts or audiobooks.

Also, the typical subscription for such services costs about the same as buying a track every 3 days, which is probably more than I typically spend, and if I did, I would then own the music indefinitely and not just for as long as I kept paying. So Spotify, Last.fm and all the others have not, so far, been for me, any more than Office 365 or Adobe Creative Cloud.

But the chance to play with Apple Music during its three-month free trial has persuaded me that I might be tempted to change my mind, and not just to get more access to Sting, Paul Simon or the Wailin’ Jennys, nice though that is. No, what I’ve been enjoying this weekend are the classical playlists, which I can enjoy while working, or at least while writing blog posts. This comes to you from my sofa, accompanied by some delightful Chopin, which sounds rather good played from my laptop via some AirPlay jiggery-pokery to my Sonos amp and KEF speakers.

This makes a bit more sense to me, because if I hear a song I like on the radio, I’m likely to pay the 99p or so to own the definitive version, but if I hear a Schubert sonata, how many albums will I need to purchase to find out whether I prefer the interpretation from Barenboim, Brendel, Paul Lewis or one of the dozens of other options?

I seldom listen to classical music in the car – I think you need a quieter car than mine for that to work well – but a streaming service might persuade me to listen to rather more at home.

News from the Lab

Some of you may know that, alongside my normal consultancy business, I spend one day a week in the University Computer Lab for a change of scene. I’ve been doing this for a couple of years now, working on Frank Stajano’s Pico project, which is trying to create a better replacement for passwords, as the normal way to authenticate yourself to digital systems.

One of my roles in the project has been cameraman/video editor. Last year we produced the original video describing the project:

and just last month we did an update, which describes in more detail how the current phone-based prototype works underneath.

It’s been a fun couple of years – as well as the videos, we’ve produced a lot of code, we’ve written some papers and some blog posts, given some talks, and had quite a lot of fun at times.

laughing-burglar

But I felt it was time for a change, so I’ve recently moved to a new project, which is in the so-called Rainbow group – somewhat nostalgic for me, because it’s where I did my Ph.D. about 20 years ago.

In this group, we’re looking at how we can improve the ways cars communicate with drivers, and, while the only web page about the project is somewhat limited at present, no doubt this will change over time…

Should be fun… more info in due course.

User interface design can save lives

Prof. Harold Thimbleby on how good design can dramatically improve safety.

Thanks to Simon for the link.

Western English

If you leave Cambridge and go south-west for about an hour and a half, you get to Heathrow airport. From there you can head westwards to a strange place where they speak a kind of English – quite a reasonable kind of English – but it’s a bit different, particularly in its spelling, from what most Englishmen would find familiar.

I’m referring, of course, to Oxford.

Now, I’m generally a big fan of the Oxford English Dictionary, but I was shocked – shocked, I tell you – to discover recently that they spell ‘organize’ with a ‘z’. And organization. And realize and realization. And so forth. I immediately assumed I was looking at a modern global edition which had sold out to the American market, but no, my elderly Shorter OED on the shelves at home has the same failing. It does offer the -ise variants as an option, but the primary spelling is with a ‘z’.

Now, I know that across the pond, those nice Americans have their own spellings, but surely no well-educated native Englishman in recent centuries would spell ‘organisation’ with a ‘z’. My father simply didn’t believe it until I showed him. Yet this is something on which the OED has apparently taken a line, to the extent that there’s a wikipedia page about Oxford Spelling for surprised people like me. The page admits:

Oxford spelling is not necessarily followed by the staff of the University of Oxford. In 2011, 2012 and 2013, the university website recommended the use of “ise” for its public-relations material.

The argument put forward in favour of Oxford spelling is that -ize corresponds more closely to the Greek -izo, which is the root of most -ize verbs. (Unlike, say the French/Latin origins of words like ‘surprise’.)

This may make academic sense, and indeed, many academic publishers have adopted it including, I’m embarrassed to say, Cambridge University Press. It seems to be favoured particularly for those publications with a more international audience. Even The Times used it for a while before reverting to the natural way of things.

So, lest anyone outside these shores be confused… yes, the OED is normally the gold standard for British English, and those Oxford chaps generally know what they’re talking about. I even agree with them about the comma. But this, surely, is a step too far in the direction of prescription over description.

The clever men at Oxford
Know all that there is to be knowed.
But they none of them know one half as much
As intelligent Mr. Toad!

Quick links

I tend to post quick links to Twitter (from where they’re cross-posted to Facebook), but I know from long experience that if you want to keep a record of anything and have some chance of finding it again in future, you need to keep it yourself.

So here are a few interesting things from the past week:

  • TheConversation is a news-analysis and opinion site where the authors are academics. Their tagline: ‘Academic rigour, journalistic flair’. If you want serendipitous news discovery with intelligent writing, but old media just isn’t doing it for you, this may be worth a try.

  • Old URLs don’t die, they just get reincarnated. Beware of letting your old DNS domains lapse, especially if they live on in a tangible form.

  • This map of the Granta Backbone Network will interest any Cambridge people wondering how the university networks connect together.

The Wolfson@50 talks continue to be interesting and informative. Andy Herbert brought his mobile computer, an Elliot 903, to his talk on Wednesday.

IMG_2073

While he set it up, John recorded the event on his more powerful one.

IMG_2076

© Copyright Quentin Stafford-Fraser