Archive for the ‘Geekism’ Category

BBC One HD Formula One

Sunday, November 7th, 2010

BBC One HD launched this weekend. Until now, the BBC had a channel called BBC HD that showed what HD contend the BBC made. Now it has a HD channel that shows everything on BBC One. Programmes that weren’t made in HD are upscaled, meaning the SD picture is shown at HD resolution.

Case in point, the footage of Formula One that broadcasters get from Bernie Ecclestone’s organisation is not in HD, for reasons best known to Bernie. Probably he judges that the benefits to him of upgrading his infrastructure are not worth the costs, and he may be right. It’s still annoying, Formula One would look amazing in HD. Maybe next year.

Anyway, the new BBC One HD channel is still a boon to Formula One fans. Because the picture is much better, even though it is not in HD. Why is this?

Well, the picture that the BBC gets from Bernie is a professional quality un-compressed video feed. In the previous scheme of things, the BBC then compresses this video feed into a low bandwidth MPEG-2 stream of about 2 megabits per second or less.

On BBC One HD, however, the BBC takes the same image and turns it into an MPEG-4 stream of about 6 megabits per second. There are several advantages to this. The first is just that the bitrate is higher. MPEG video compression attempts to reduce the information content of the video in a way that your eyes don’t notice.

This works well, but broadcasters judge that putting out many channels makes them more money than putting out only a few channels. And since bandwidth costs money, they cram as many channels as they can into as little bandwidth as possible. So each channel gets fewer bits per second than it might in an ideal world, and you end up with video that doesn’t look as sharp, or that shows blocky artifacts in parts of the picture that are changing a lot, such as a fast moving racing car.

HD needs more bits because it is HD, so when SD video is broadcast on a HD channel, it gets more bits and a lot of the blockyness and fuzzyness visible on the SD channel is not visible on the HD channel.

Here I have taken pictures of my TV of almost the same frame of video. To compare them, right-click and open each one in a new tab. Then switch between the two tabs. The first is from the SD channel:

The second is from the HD channel.

You should see straight away that the HD image is crisper than the SD one. Here’s a look at a small area of the screen. The top image is from the SD channel and the bottom image is from the HD channel.

In particular the center of the wheel in the SD image has less detail. Having more bits available makes it possible to capture more high frequency detail, like the concentric circles made by the aerodynamic features of a Formula One car.

Here’s another example:

The difference here is caused by the higher resolution of the HD channel. Although the source video is only SD, images are split up into 8×8 pixel blocks before some of the information from each block is thrown away. Because there are more pixels on the HD channel, the 8×8 blocks are smaller in relation to the whole picture, so less information is thrown away, leaving more detail. Notice that the number 5 looks smudged in the SD image, and in the HD image you can see the jagged pixels that make up the diagonal line separating the number from the name.

Here’s a final example that highlights another reason that the HD channel looks better:

Not only is the HD image sharper, the letters U and B are more brightly coloured. Another technique of video compression is to send colour information at a lower resolution than brightness information. This is because the human eye sees colour at a lower resolution than it sees brightness. Because the BBC gets video from Bernie that has not had this technique applied to it, and it then converts SD colour to HD colour, the full colour resolution is preserved.

So whenever you can, watch the HD channel even if the programme is in SD, it still makes a big difference.


Aunt Fran

Tuesday, September 21st, 2010

80-year-old Aunt Fran is awesome. Here she is unboxing a Nintendo DS Lite, which she intends to use for Alzheimer’s prevention.

The guy who made the video also made a video in which he unboxes a brand new Mac from 1997. This is the kind of stuff that keeps you up at 1.20am on a work night…

H/T the Indy. Note that whatever the topic, they can’t ever miss an opportunity: “Boxes weren’t too eco-friendly in those days, however; Al Gore, who now sits on Apple’s board of directors, might have something to say about all that excess cardboard and plastic.”

Rejecting Homeplug

Saturday, September 4th, 2010

For connecting computers together, you can’t beat Ethernet. If I had my way, I’d have Ethernet faceplates in every room, Cat 7 cable running through the cavities, and a gigabit switch in the loft. But currently I don’t own the house I’m living in, and that’s a lot of effort to go to on someone else’s house.

The first obvious solution is WiFi. But I find it’s annoying for anything more than normal web surfing. The signal comes and goes, latency is jittery, and playing twitch-based online games over WiFi is hopeless. I tried doing online racing with one of the Simbin titles a while ago and just annoyed everyone as my car jumped all over the track.

To the rescue comes Homeplug. These gadgets plug into the wall and have an network socket on them. They use the electrical wiring in your home to talk to each other, and by all accounts you can get good quality connections with them.

But there is a downside: amateur radio enthusiasts hate them because they leak radio waves all over the spectrum, including the HF band. An article in PC Pro about whether or not there was a real problem stirred up much controversy.

It does seem as if most of the problems are caused by Comtrend devices used by BT Vision. These apparently transmit continuously even when not in use. The Homeplug standard, meanwhile, only transmits when data is being sent between computers, and makes some effort to avoid certain frequencies used by radio hams.

However, radio hams are not convinced, and I am not convinced. Signal levels used for two way communications between continents are miniscule, and this activity seems to be at risk of being affected.

Why should I care about a bunch of old guys in sheds sending Morse code to each other? Lots of reasons:

First, I’m a geek, I have obscure hobbies, so I have a lot of sympathy for other people’s obscure hobbies. I’m the last person you will hear say, “why would you want to do that?”

Second, I’m a geek, and one day I might want to play around with amateur radio. Some of the equipment looks really cool. Just look at the ICOM IC-7800. That’s one hell of a gadget. Looking at that thing gets my geek juices flowing: that is a serious number of buttons and switches to learn how to use.

Third, I’m a geek, and there is something deeply cool about bouncing radio waves off the ionosphere that you just don’t get from the Internet. I have a big Grundig shortwave radio and I have listened to the Voice of Justice from Iran and it is great fun knowing that you’re picking up faint signals from a distant transmitter. Downloading a podcast from a web server half-way around the world is cool too, but it’s a different kind of cool.

Fourth, I’m a libertarian, and that means I know about stuff like homesteading and property rights. These guys were using the spectrum first, so have some rights over it. Now radio spectrum isn’t quite property, and there are ways to use it that don’t stop other people from using it at the same time so most of the government licensing of it could be replaced with technology. But as long as I am interfering with someone else’s enjoyment of a finite resource I am the bad guy, and that is certainly the case with HF communications.

So even though it is the best technology to solve my particular problem I reject Homeplug. I have just ordered a pair of WiFi N access points that will link the upstairs of my house to the downstairs. That should be as fast as Homeplug would be, and if it is too jitter for games, I will get a really long Cat 7 cable and hook that up just for games.

There is a chance that Homeplug will be widely adopted anyway, but hopefully it will remain a niche as most people just use WiFi. Niche users who are attracted to Homeplug should be aware of other people’s niches.

General Purpose Computers and Ropes

Sunday, May 2nd, 2010

In Foyles, I bought Digital Apollo, by David A. Mindell. It’s about the design of control systems, and in particular the interactions between astronauts, test pilots, designers and user interfaces. The astronauts at first wanted to be able to do everything manually. In the end, they accepted a lot of computer control, partly because they had some influence in the design of the systems. At least that’s what it seems like from the few bits I’ve read so far.

This is quite profound:

The digital autopilot also confirmed the decision to use a general-purpose computer in the first place and underscored the intimate links between systems engineering and digital computing. Engineers could move particular functions out of hardware devices and into computer programs, saving critical quantities of weight, money and hardware complexity. In one example, Shea nixed an expensive program to add a heat shield for the side of the command module facing the sun. With his knowlege of control systems and the digital autopilot, he simply suggested replacing the insulation with a software routine to keep the spacecraft rotating like a rotissarie, distributing the heat load around the craft. A few lines of computer code replaced a heavy mechanical structure.

The book also contains the astonishing (to me) revelation that computer programs were stored on core rope memory — where wires are threaded through ferrite donuts to represent a 1, or around to represent a 0. These ropes were threaded by hand by little old ladies, earning the ropes the nickname of LOL memory.

Temperament

Tuesday, April 27th, 2010

This is at once absolutely fascinating and terribly frustrating. I can understand what he is talking about, but I don’t think my ears are good enough to tell the difference.

Between different tuning temperaments, that is.

Some people obviously can tell, because people can sell guitars like these.

Hat tip to the person who runs the Neal Stephenson fan page on Facebook — he seems to know just what sort of articles Stephenson fans will enjoy.

Project Tuva

Wednesday, April 14th, 2010

Bill Gates went on vacation with a friend and visited a university library where they discovered Richard Feynman’s Messenger lectures on the laws of nature. They thought that everyone should see the lectures. Twenty years later, Gates has bought the rights and put the lectures on the Internet. This is Project Tuva.

It’s worth watching the introductory video in which Bill Gates enthuses about what makes Feynman such a good lecturer. The video player requires Silverlight, and has various extras such as pictures, links and text notes relating to various points in the lectures.

Thanks to zapopaul on YouTube who left a comment pointing to the project. Either I have been asleep or this should have been publicised more.

Blogging on the Train

Friday, April 2nd, 2010

I’m on the train from London to Manchester in first class with a table and power socket, and a 3G dongle plugged in to my laptop. It’s pretty amazing that I can do this at all, but let’s just say we don’t have ubiquitous wireless data *yet*.

It works — just. A lot of the time, including any time we go through a tunnel, the data disappears completely. AJAX web apps don’t always behave very well when this happens. Google Mail and Reader at least display useful error messages. Facebook often gets stuck and no amount of refreshing or clicking stop has any effect. Google Gears and similar should improve matters.

Quite often I have a green light, meaning GPRS. This is almost the same as having no connection at all.

When I have a blue light, meaning 3G, everything is pretty good. A blue light might last 3 or 4 minutes at a time if I’m lucky.

Part of the problem is the transitions between states. If you only load half the web page and have a bit of a glitch between cell towers, the whole web page fails and there is no alternative but to start again.

Obviously better data coverage will help. But I think what would be really useful is an alternative to TCP that is designed to cope with internittent connections.

I am impatient to live in a Vernor Vinge novel!

Chaos Defrost

Tuesday, March 23rd, 2010

I bought a microwave oven yesterday. Apparently they are useful for babies. Anyway, it has a button labeled “Chaos Defrost”. The user manual only says that this is for defrosting things. You can’t label a button “Chaos Defrost” and not explain the “Chaos” part! It’s too tantalising.

Thank goodness for the Internet. Apparently, random bursts of high-power microwaves will defrost more quickly and evenly than constant low power. I can imagine it has something to do with allowing heat to conduct between bursts. But that wouldn’t need chaos theory to explain it, and the randomness seems important. Unfortunately, the paper is behind a paywall.

Rainbows Begin

Saturday, March 13th, 2010

Michael Jennings used the term ‘unaugmented‘ to refer to the frightening prospect of leaving the house without an iPhone. I have an Android phone and know what he means. I usually use it to navigate to wherever I’m going.

In the novel Rainbows End, Vernor Vinge describes a near-future world in which people wear contact lenses that can overlay displays onto reality. This virtual-reality world that exists within and is composited onto the real-world is called augmented reality. In Rainbows End, people are in constant communication, receive information from all sorts of sources, and can choose between a variety of overlays on the real world that anyone can create for information or entertainment, including elaborate multiplayer games. Vinge also imagines the economic consequences of the technology. The world is awash with information and careers are built on selecting and filtering it. If you want information fast, money will buy the efforts of anyone and everyone, gathering and sifting anonymously on the network. Meanwhile, entertainment companies vie for the greatest audience shares and compete with school projects that involve creating multimedia augmented reality shared experience extravaganzas. Do you want your local high street themed like Middle-earth or Caprica?

There are a few bits of hardware that would make this sort of technology work particularly well: a wearable input device such as one that detects small finger movements or whispered voice commands for control; a wearable display such as glasses or contact lenses that can either emit an image or transmit light from the real world; and some apparatus for detecting where you are and where you are looking to some considerable accuracy.

But we are already starting to see applications that might be part of this Rainbows End future. Google Maps on a phone with GPS is a good start. Yelp adds the ability to find interesting things nearby, with user reviews and photos. Foursquare, Gowalla and BrightKite combine location with other social networking features and game aspects like rewards which can businesses can interact with. All of these are ways of gathering and sharing information, and they have open APIs that mean information can be combined in novel ways by third parties creating new applications, sometimes called mashups.

There are pure games, like Pac Manhattan, Zombies Run and ARhrrrr. There is even a real model helicopter that can fly in augmented reality.

Layar is particularly interesting. It overlays 3D graphics onto an image from the phone’s camera. It uses the phone’s GPS to know where you are, and the phone’s gyroscopes and compass to know where you’re looking. Pick from dozens of layers to overlay onto the real-world image. Mostly these are labels providing information about the real world so you can, for example, look through your phone and see nearby places that have Wikipedia articles or user reviews. Some layers put 3D objects into the real world for games, art or information.

A lot of these apps, web sites and services will come and go, but it’s starting to look very much like a large number of people in the tech industry have read Rainbows End and are setting out to make it come true.

Mobile Broadband

Tuesday, March 9th, 2010

I am trying out my new pay as you go O2 Mobile Broadband USB stick. After a few teething troubles (it turns out that a double blink of a green LED means there is no signal, and the steel framed building my flat is in is not good for mobile phone signals) it seems to work very well. On the train it is much better at coping with varying coverage than my T-Mobile G1 phone is. The phone seems to take a very long time to re-establish a connection when it is lost; the 3G modem is quick at this and happily switches between 3G, EDGE and GPRS without too much complaining.

I chose the O2 PAYG one because it has weekly and daily top-up options. I’m likely to be using it very irregularly. £2 for 500MB for a day seems fair enough when I want to check my mail while away, although it really is ridiculously expensive when you think about it, it’s better than paying £15 a month when months might go by without me using it at all.

Now it is time to get off the train. More later, perhaps.

Update: The USB modem only cost £20 and is a Huawei E160. It can do HSDPA but not the fastest 7.2Mbps speeds. But it seems fast enough. There doesn’t seem to be anything special abot these modems: they work on Macs and Linux without special software so there may be alternatives to the O2 Connection Manager software for Windows. And presumably netbooks that have integrated 3G and a SIM card slot can be made to work easily.