The World in 2050

25·2·72

Three giant steel fingers stood out on the dark grey skyline. An orange fuzz surrounded the pale yellow sun as it sank below the horizon. An aerocar shot along the elevated track which led to the three flats, each a mile high. This area might have been a forest, or even swampland, sixty or so years ago. But, thanks to technology, it had been cleared and the ground was an enormous field covered in artificially grown grass, which lasted years longer than the stuff that used to be around. In the flats, everything is provided, shops, playrooms, laundries, houses (some with gardens), and even a nylon football and cricket pitch. Water is obtained from the fields, when it rains the water is drained away, underground, and purified, again underground. The electricity comes from the coastline, where many nuclear power stations, safely depositing atomic waste in the sea, provide all the city’s needs. High speed lifts carry people to different levels at speeds of up to a hundred feet per second. Every morning the people are checked to see if they are healthy by automatic doctors, which then give the person any attention he may need if he is ill. All this is possible because of modern technology. It is a marvellous thing. Already man has landed on Venus, although it was a wasted trip, and nearer home many things have been done. Even now, point zero zero zero zero zero zero one of the earth’s atmosphere has been completely cleared of pollution and there is a rumour that from one place in America it is actually possible to see blue sky.

The greatest thing that any person can want to see is the Scientific Museum. This is a gigantic building with one thousand different floors. The museum is full of stuffed animals and for each animal there is a reel of film. For instance, for the sparrow there is a film showing a sparrow flying, but many people who visit the museum have said that the film is a load of rubbish. They do not believe that birds which are so clumsy can fly, because the planes fly without flapping their wings and they are very streamlined compared with the birds. There are no such things as zoos because there are no animals to put in them. The only animals left are a few kinds of eatable fish bred for eating and cats and dogs. Every family has either a cat or a dog, this being the only reason that they have survived. The oil and coal reserves of the world have been long since tapped and therefore electricity is the only power left.

Twenty years ago we had what the histories called ‘The Age of Pollution.’ In these days all of the creatures of the earth became extinct, that is all but the cats and dogs. There were many deaths in those days, half the population of the world in fact, and this was because of the great shortage of gas masks. Prolonged breathing of the earth’s atmosphere was fatal, and to swim in the river was instant death. This period lasted for four years, and the problem was eventually solved, at the cost of blue skies. A great project was started to warm the atmosphere of the earth, so that it rose, and to replace it with clean air. When the polluted air was high enough it was cleaned by a liquid, which was sprayed onto the earth from orbiting satellites. This cleaned the atmosphere but increased the cloud level so much that the entire earth was surrounded by clouds. The liquid also had some strange effect on the colouration of the clouds and turned into the dark grey colour which they now are. We have technology and progress to thank for our position. Whatever other people say it is true that we would still be wandering about in caves if it were not for man’s curiosity and intelligence. In the future, life will be easier. That is certain.

16½/20 Good

Free Getty Images

Getty Images are now allowing non-commercial use of their image library for free. The images are fixed in size (as above) with the text and links below included.

They say that their photographs appear widely on the internet anyway, illegally, so at least this way the metadata (photographer’s credits and a link back to Getty) remain intact. They also might add advertising later, according to the small print, although there is no mention yet of how any revenue might be shared with the photographers.

There is no individual opt-out for Getty contributors – I wonder if this includes me, because I seem to recall allowing Flickr to pass on my images to Getty, so that they could charge for them and reward me with big money. (It hasn’t happened yet.) All my Flickr images are CC licensed anyway, so I have no problem with that, but I can see that it might be worrying for professional photographers.

I had to create a Getty account to access the “embed image” link when browsing through their library, but you can see that one of the links in the embedded image above allows for re-embedding and that can be used by anybody (with the usual token “By embedding this image, you agree to Getty Images terms of use.”).

Interesting times.

Glastonbury, See Tickets fail & Twitter win

The crazy Sunday morning browser refresh panic returned after a year off with the sale of 150,000 tickets to an estimated 750,000 punters. The promise of a beefed-up system (after it took 4 hours to sell out last time, to a number which did not include me) soon evaporated and even getting to the “holding page” seemed like a victory.

The next page was the “registration entry” where you added the numbers and postcodes. Naïvely, we thought we had succeeded the first time we got this far. Sadly, “0% uploaded” was as far as we got before being thrown off again.

Luckily for me, I was watching the twitter #glasto feed in another window. After about 40 minutes, somebody tweeted a hack – a line to add to your hosts file – which would get you through to the See Ticket servers. I didn’t really believe it, but had nothing better to do so gave it a go. Result! Straight through and tickets bought.

So how did that work? It was an error by See Tickets with their DNS entry.

For the non-technical: DNS (Domain Name System) is the “phone book” of the Internet. (For younger readers, a phone book was a list of people’s land line phone numbers listed alphabetically by their surnames, printed out every year and delivered to the house of everybody who had a phone – hard to believe, I know.) When you type “glastonbury.seetickets.com” in your browser, the browser asks your Domain Name Server for the IP address, and the server returns a number like “194.168.202.202”.

Anticipating the demand, See Tickets had, to their credit, set up two servers. Both the addresses should have been entered in the DNS records, and thus 50% of the punters looking for tickets should have gone to each server. Sadly, somebody mistyped one of the addresses, putting 192 instead of 194. Thus half the queries failed, and the other server was hit by every sales request.

On your PC the hosts file is like a small, local Domain Name Server where your browser looks first to see if it knows the IP address of a name. Adding the actual address of the “spare” server in that file meant that you avoided the queue and walked directly up to the almost unused counter next door. Apparently, See Tickets did notice the very unbalanced load on their servers and fixed the DNS record after about 10:00am. The nature of DNS meant that it still took quite a while after that for the change to work its way through the Internet.

How was the error (and fix) discovered? It was because of the actual IP address numbers involved. Addresses starting 192 (or 172 or 10) are reserved for private networks. If you have a network at home, it will start with one of these numbers. Somebody trying to connect to See Tickets was doing it from work on a network which just happened to have a machine with the mistyped address. Instead of the same “could not connect” error that everybody else was getting, they saw a web page from a computer on their own network. So they looked up the numbers, worked out what the error was and shared the solution via Twitter.

Thank you, anonymous hacker, for getting me my tickets to Glastonbury.

Apple Trojan?

I have a standard, non-jailbroken iPhone 4. This morning, randomly, a message popped up asking me to enter my iMessage password. On a PC I would have been suspicious, but Apple have been doing odd things with their security lately, so I responded. Then it asked the same question about Facetime. Ditto.

A few minutes later, entirely by coincidence, I attempted to access my Apple account via iTunes, and my password was not recognised. I reset the password and checked the account – thankfully nothing purchased. Still, this is odd and surely related to the now-suspicious question on my iPhone.

I’ve had a quick Google and seen nothing about this kind of behaviour reported anywhere, but if other people get that prompt and have their password changed, maybe they’ll find this when they search. Another data point.

I don’t know how to tell Apple, and in my previous experience that’s a black hole anyway so I didn’t try very hard.

Genius Exchange

I like my iPad 2, and am happy to admit that it is an expensive toy. However, I did find out this week that at least some of that expense is justified.

My previous experience of taking back a faulty product was a cheap TV from Tesco (just £80) which occasionally turned on with no sound. Annoyingly, none of those occasions was in the Tesco Tech Support department. The man there just would not accept my word that the thing was broken. Shouting ensued, Donna used her retail experience to attempt reasoned debate and eventually satisfaction was reached with an exchange made as a “goodwill gesture” on behalf of the management.

So, when my 3 month old iPad developed an odd small white patch on the display, I was a little concerned that it might need some explaining. Not so.

The greeter at the door looked at it, almost gasped with horror, and said I must take it to the Genius Bar. I would need an appointment, he said, but he could make that for me and as it was just gone 5 to 6 on a Wednesday evening that appointment would be in 3 minutes.

3 minutes later the Genius at the Genius Bar asked what the problem was and when I showed him he immediately said they would replace it right away, as long as I had backed it up recently. The only delay was finding a relevant tick box in his on-line form to describe the fault. He chose “other display”.

A quick squint down the headphone socket to prove that it hadn’t been wet, and I left the Apple Store after 13 minutes with a new iPad.

Now that, Tesco, is customer service.

Sonos

I’ve tried to avoid buying a Sonos Multi-Room Music System ever since I first read about them back in 2005 but in March I finally succumbed and I haven’t regretted it for a second.

I have our music library on a LaCie NAS, which has a Twonky DLNA server onboard, but either it isn’t very good or the devices I attached never really got on with it. Those devices included the PlayStation 3, a Philips Streamium and a Pure network radio. Even when they did work, choosing what to play was never completely satisfactory – either a single track, a single album or a “genre”.

ZonePlayer 90

On a recent visit to Alf & Anne’s we saw Alf’s latest HiFi extravagance – a whole bunch of Sonos kit. Within 5 minutes we had queued up a selection of tunes ready to play from his library on the CR100 controller. I connected my netbook to his WiFi, downloaded the Sonos Windows Controller, and could add more music through that. Wen liked it too!

Some web research and advice from Alf showed that I needed a ZP90 to connect to the AV receiver in the living room and the network (there was already an Ethernet hub behind the TV); and an S5 with a cheap (as now obsolete) CR100 controller for the kitchen/dining room (sitting in the hatch where the, frankly shoddy, Pure Digital Evoke flow then was).

ZonePlayer S5

That was Sunday. I ordered the kit on Monday from Simply Sonos and it arrived on Tuesday. Sadly, the S5 was a little too big to perch in the hatch, so when the kitchen renovation was finished we moved it to the top of the ‘fridge and I had to order another (black) S5 for the dining room. That was just three weeks later.

It works superbly. It plays all the CDs we had ripped to MP3 directly from the Samba share on the LaCie. It does this so successfully that we have removed the CD player and speakers from the living room so that all the music now comes from the ZP90 via the AV system  – which also has the record deck connected to it. (Oh yes, there’s still room for vinyl, and the line-in on the ZP90 means that LPs and 45s can be streamed around the house as well.) I’m also in the process of ripping the remaining CDs so that they can all be stored somewhere else.

We’ve listened to much more music since we got the Sonos – sometimes even in preference to randomly turning on the TV. There are thousands of internet radio stations: the alarm function plays Radio 1 in the mornings (slightly later on Fridays) and we listened to Robyn on WUSC. There is Last FM if you want to hear music similar to bands you like and for Scrobbling (you can see the last 10 tracks we played under Listen at the right). A subscription to Spotify would get you almost unlimited streaming music. I also bought my first digital-only album, although I’m not committed to that.

ZonePlayer S5

I even used the Sonos as an excuse to get an iPad 2. The Sonos controller app looks really good on the iPad, and is easier to use than the PC application.

Sonos have recently launched the Play:3, a (slightly) cheaper 3 speaker player, and I’m fairly sure it will soon replace the stereo in the bedroom which has a dodgy CD player, a single alarm and a clock which loses a minute a day.

To quote Ferris: “It is so choice. If you have the means, I highly recommend picking one up.”

Windows Embedded CE 6 and AFXWIN.H error C2039

This has just wasted a day of my time, and apparently nobody else on the internet has had the exact same problem, so I document it here for the good of humanity. 😉

I am migrating an application from Windows CE 5 to Windows Embedded CE 6. Just a little thing with a couple of dialogue boxes to exercise the hardware. At the client’s request, it used MFC. MFC and ATL 4.0 are no longer supported directly but most of the functionality is in the new ATL 8.0.

I included afxwin.h in my program, and added the Visual Studio 2005 directory to the include path:
C:\PROGRA~1\MICROS~3\VC\ce\atlmfc\include\
(There is some primitive parsing going on here which means that the include path can’t have spaces. That should really be:
C:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\)

I attempt to compile my code and get this obscure error:
C:\PROGRA~1\MICROS~3\VC\ce\atlmfc\include\atltime.inl(140) : error C2039: '_time64' : is not a member of '`global namespace''

atlmfc.h is some nested include from afxwin.h and I am obviously not going to be editing that to make this work. What have I missed? I tried various orders of header inclusion, a few random definitions from suggestions on the ‘net, but nothing worked. Somebody suggested including atlosapice.h, but that threw up even more errors and left the C2039 as well. Searching how to fix that led me to a Google Group microsoft.public.vc.language and a comment that changing the order of include directories removed some undefined errors.

Specifically, Paul Heil mentioned that he put some directories after .\ce\include and .\ce\atlmfc\include.

Bing! .\ce\include! I’m not using that at all!

I added it to the top of my include list and VC is now quite happy with “_time64”. I’m not sure what header files it was getting instead of those in “.\ce\include”, but they were certainly not the right ones.

Facebook Prediction

I received an email from Facebook this morning:

Hello, Derek Law,
Your Facebook account was accessed using 'Trillian' (Tomorrow at 00:02).
Was this you? If so, you can disregard the rest of this email.
If this wasn't you, please follow the link below to protect your account:
<link removed>
To learn how login notifications like this one can help you to
protect your account information, visit the Help Centre.
Please note: Facebook will never request your login information through email.
Thanks,
The Facebook Team

I wonder what else they know that I am going to do?

Google and WiFi Privacy

There are reports of people being outraged that the Google StreetView camera cars accidentally captured snippets of unsecured WiFi traffic as they wandered the land. I don’t really see the point of this – I’m pleased when Google can tell me where I am using this WiFi location information rather than the crappy GPS in my phone.

The outrage must surely be manufactured, but why? Do they seriously think Google is going to start emptying their bank accounts? Just because the Daily Mail is insanely interested in the intimate details of everybody’s life (particularly if you are a famous everybody), doesn’t mean that Google is going to start publishing the contents of any emails they found.

It was bad enough when the NIMBYs complained about the photographing of the outside of their houses from the street as an invasion of their privacy. To those I say “Either grow a hedge or put your clothes on whilst you are gardening.” And look up “private” sometime.

Now, people who are too lazy or stupid to turn on the security in their WiFi are complaining that small fragments of their communications might have been recorded by a passing camera car. It’s the criminals sat in the small van with a laptop that they ought to be worried about. Or the security forces who’ve just been promised £2 billion to store every web site you visit for your own protection against “terrorism”.

Is it just an anti-Google agenda, or is it a distraction from the Government’s far more serious snooping with intent?

I know who I trust: Google, criminals, government, Daily Mail.