Looking at constellations from a different angle

You are probably familiar with the con­stel­la­tion of Orion (The Hunter), in par­tic­ular with the asterism that makes up Orion’s Belt.

Because of the way the right ascen­sion data is plotted the images shown here are how they would appear to a distant observer looking at Orion towards Earth.

Because stars are so far away we tend to think of them as being painted onto a surface at a fixed distance — “like a huge picture painted on the sphere of the sky”. But if you look at the stars in three dimen­sions then Orion looks very different.

From above it’s dif­fi­cult to recog­nise Orion’s shape as the lines con­necting the two right­most stars (Betel­geuse and Saiph) to the right­most star of Orion’s belt (Alnitak) overlap:

From the side the shape is more obvious. Alnilam, the middle star of Orion’s belt is by far the furthest star, more than 1300 light years away from Earth:

This post was inspired by an arXiv paper* by Dr Daniel Brown from the School of Science and Tech­no­logy at Not­tingham Trent Uni­ver­sity. You can download the data I used as an Excel spread­sheet (.XLS, 29 kB).

* Daniel Brown (2011) “The Orion con­stel­la­tion becomes install­a­tion: An innov­ative three dimen­sional teaching and learning envir­on­ment”, arXiv:1110.3469v1 [physics.ed-ph].

Tagged , | Leave a comment |

Dating a common ancestor

Time Tree is a website that allows you to search for the point in time at which the genetic code of two organ­isms diverged; the time at which their last common ancestor lived.

Invest­ig­ating human beings is quite fun: the last common ancestor that we shared with chim­pan­zees lived 6.3 million years ago and we shared an ancestor with gorillas 8.6 million years ago. We are much closer to cats and dogs (95.2 million years ago) than we are to ducks (292 million years ago).

If we start to look at more obvi­ously dif­ferent organ­isms we find much older most recent common ancestors: we shared an ancestor with jelly­fish 892 million years ago and with the northern red oak tree 1.43 billion years ago.

It isn’t just humans that you can find the most recent common ancestors for. Horses and camels shared an ancestor 84.2 million years ago and cats and dogs a mere 55.7 million years ago.

Tagged , | 2 Comments |

R0

R0, also known as the basic repro­duc­tion number, is a measure of the ability of an infec­tion to repro­duce and spread in an unim­mun­ised pop­u­la­tion. If R0 is less than one, each infected person infects (on average) less than one sec­ondary person and the infec­tion will die out. If R0 is greater than one then each infected person infects more than one sec­ondary person and the infec­tion will spread.

R0 varies greatly between diseases:

From the R0 figure the pro­por­tion of a pop­u­la­tion that must be immun­ised to prevent the spread of a disease can be cal­cu­lated. If we use the pop­u­la­tion of the UK (61 838 154 according to 2009 figures from the World Bank) then we get the fol­lowing graph:

You can see that for the most infec­tious disease on our list, measles, more than 93% (on average) of the pop­u­la­tion need to be immun­ised to prevent the disease from spreading (to prevent an epidemic). This is alarming in light of the failure of many parents to immunise their children due to unfounded fears about the MMR vaccine.

Tagged , | Leave a comment |

Spherical ice cubes and surface area to volume ratio

I’ve recently been exper­i­menting with making spher­ical ice cubes for cocktails.

But why go to all the fuss of making spher­ical ice cubes? What’s wrong with regular ice cubes? The answer is surface area to volume ratio: the volume of the ice provides the cooling effect but the surface area controls how fast the ice melts — the lower the surface area to volume ratio the longer the ice will take to melt for the same cooling effect. Essen­tially, a lower surface area to volume ratio keeps your drink cold, but stops it from becoming too diluted.

A cube with sides of length x will have a volume of x3 and a surface area of 6x2. The surface area to volume ratio for a cube is there­fore 6 to 1 (6:1). Of all the Platonic solids (solids with identical faces) the ico­sa­hedron has the lowest surface area to volume ratio.

Of all the regular shapes a sphere has the lowest possible surface area to volume ratio. That is what makes it par­tic­u­larly well suited for cooling drinks.

The pro­duc­tion of spher­ical ice cubes is also quite inter­esting. They’re usually made in an extremely elab­orate process using large blocks of ice that are then shaped using metal “presses” (usually made of copper or alu­minium as they are very good con­ductors of heat).

Tagged , | Leave a comment |

Does your weight change in a lift?

The simplest answer to the question of whether your weight changes when you ride in a lift is ‘no’. Your weight, being the force with which the Earth pulls down upon you due to gravity, does not vary with speed or acceleration.

It does, however, feel like your weight changes when you ride in a lift. Because your weight is the force between you and the Earth (and between the Earth and you) you cannot actually feel your own weight; what you feel is the ground pushing up against you (the normal reaction force). Because of Newton’s Third Law (“each force has an equal but opposite reaction force”) this force is equal to your weight pushing down on the Earth.

When the lift accel­er­ates and decel­er­ates the force that the cables and motors exert on the lift is either added to, or sub­tracted from, the force with which the floor of the lift pushes up on you. This is what makes you feel heavier and lighter.

I used a PASCO force platform and a SPARK data­logger to measure the apparent change in my weight as I rode down­wards in a lift.

You can see a drop in apparent weight as the lift accel­er­ates down­wards, this then returns to normal as the lift travels at constant speed before rising again as the lift decel­er­ates. By meas­uring the peak forces and using Newton’s Second Law of Motion I can cal­cu­late some approx­imate values for the maximum accel­er­a­tion and decel­er­a­tion of the lift in question: for the lift at school these values were 0.569 m/s2 and −0.625 m/s2, showing the lift decel­er­ates at a sig­ni­fic­antly higher rate than it accelerates.

Were you in a lift that was accel­er­ating down­wards at the same rate as gravity (9.81 metres per second per second) you would feel weight­less; were you in a lift that was accel­er­ating upwards at the same rate you would feel like you weighed twice as much.

Tagged , , | 2 Comments |

Why 80mph is not a good idea

The UK gov­ern­ment has announced that it is begin­ning a con­sulta­tion on raising the speed limit on UK motor­ways from 70 mph to 80 mph. I don’t think this is a very good idea, and my reasons are listed below.

Time Saving

You simply don’t save that much time by increasing your speed to 80 mph. If you drove the 400 mile distance from London to Edin­burgh, you would only save three-quarters of an hour, and that assumes that you maintain a constant speed of 80 mph the entire time, neither accel­er­ating or decellerating.

Assuming no accel­er­a­tion or decel­er­a­tion is entirely unreal­istic and as it takes longer to accel­erate to 80 mph than it does to get to 70 mph, the graphs above rep­resent a best case scenario. The real time savings are likely to be much lower.

Kinetic Energy and Stopping Distance

Kinetic energy at dif­ferent speeds for my car, a Peugeot 207 with a mass just over 1000 kg.

The kinetic energy of a vehicle is what makes it dan­gerous; trans­fer­ring that kinetic energy to an object — be it a ped­es­trian or another car — is what causes damage. Kinetic energy depends on the square of the speed; if you double the speed of an object you quad­ruple its kinetic energy. An increase in speed from 70 mph to 80 mph is a 14% increase in speed but this results in a 31% increase in kinetic energy, making the car — in a sense — 31% more dan­gerous to other road users.

Increasing kinetic energy also increases stopping distance. Increasing the speed limit to 80 mph would increase the average stopping distance on motor­ways to 120 metres (30 car lengths!), a 25% increase on the 96 metre stopping distance found at 70 mph.

Fuel Economy

The rela­tion­ship between speed and fuel economy is not linear; fuel economy is poor at both low and high speeds and peaks some­where between 40 and 60 mph. Driving at 80 mph will decrease fuel economy and there­fore increase fuel con­sump­tion; fuel costs will be higher and CO2 (and other harmful gas) output will be higher. Our limited supply of petrol will be depleted faster if we all drive at 80 mph than if we drive at 70 mph.

Tagged , | 2 Comments |

SkySails

On July 7th the German company SkySails GmbH was awarded the Sus­tain­able Shipping Envir­on­mental Tech­no­logy of the Year Award (for the second time) for its SkySail technology.

The SkySails system uses a computer con­trolled kite with an area of more than 160 square metres to harness the power of wind as an aux­il­liary power system for large marine vessels. The SkySails company claims it can reduce fuel con­sump­tion over long journeys by between ten and fifteen percent.

The SkySails system is a form of high altitude wind power (HAWP). HAWP systems are viable because the power avail­able to wind power systems increases with the cube of the wind’s speed (e.g. if you double the speed the energy produced increases by a factor of eight) and wind speed increases rapidly with height. Com­panies like KiteGen are even working on using HAWP systems for elec­tri­city generation.

Tagged , | 2 Comments |

Lactose tolerance

Because most in the western world are able to digest dairy products it is often assumed that this con­di­tion (lactose per­sist­ence) is the norm. But if you are able to tolerate lactose then you are actually in a minority: ninety-eight percent of South­east Asians and ninety-five percent of Chinese are lactose intol­erant. Between them these two ethnic groups make up more than 28% of the world’s population.

The graph below shows some of the ethnic groups with over 50% of the pop­u­la­tion lactose intolerant:

 

Tagged , , | Leave a comment |

Liquid cooling

Computer hardware produces a huge amount of heat when oper­ating. Usually this heat is removed by a com­bin­a­tion of heat­sinks and fans

The grey heatsink conducts the heat away from the pro­cessor and the sink’s fins give the heatsink a larger surface area for the air moved by the fan to blow over. Some com­puters use very large heat­sinks in order to do away with the need for a fan entirely, relying only on natural con­vec­tion currents for cooling.

Some com­puters do away with fans by pumping water past the heatsink; water is a much better absorber of heat than air* and there­fore the system uses less power for cooling.

Green Revolu­tion Cooling have gone one step further — they actually submerge the com­puting hardware in a special non-conductive liquid. This liquid then cir­cu­lates, trans­fer­ring the heat away to an external evap­or­a­tion tower.

They claim that their cooling system will pay for itself within 1 – 3 years.

* The specific heat capacity of air is 1.007 joules per gram per kelvin and the specific heat capacity of water is 4.187 J/g/K. This means that water will absorb more than four times the energy of the same amount of air for the same increase in tem­per­ature. Green Revolu­tion don’t say what the specific heat capacity of the fluid they use is, but it’s likely to be greater than water’s.

Tagged , , | 8 Comments |

Hacking PIN pads using thermal vision

There is a mission in the first Splinter Cell computer game where you have to use your thermal vision to read a keypad code entered by a guard. Researchers from Uni­ver­sity of Cali­fornia San Diego have now shown that this is entirely possible.

Building on earlier work by Mike Zalewski the researchers have shown that codes can be easily dis­cerned from quite a distance (at least seven metres away) and image-analysis software can auto­mat­ic­ally find the correct code in more than half of cases even one minute after the code has been entered. This figure rose to more than eighty percent if the thermal camera was used imme­di­ately after the code was entered.

K. Mowery, S. Meikle­john, and S. Savage. 2011. “Heat of the Moment: Char­ac­ter­izing the Efficacy of Thermal-Camera Based Attacks”. Pro­ceed­ings of WOOT 2011. (.PDF 9.53Mb).

Tagged , | 1 Comment |

Centre of mass in extreme sports

All pro­jectiles follow similar paths (tra­ject­ories) called parabolas.

The exact tra­jectory followed depends on the launch angle and speed, but all have similar char­ac­ter­istics. In order to travel as far as possible the launch angle should be 45°.

These para­bolic paths are evident in the motion of the centre of mass of any object that falls under gravity, whether it is spinning, twisting or oth­er­wise in motion.

Here the centre of mass is on the motor­bike itself, as it is so much heavier than its rider. All motor­cycle jumps, regard­less of the position of the rider, follow much the same path.

All pho­to­graphs from the Red Bull X-Fighters website.

Tagged , | 2 Comments |

The physics of the Kinect

The Microsoft Kinect is a peri­pheral for the Xbox 360 that does away with the need for a con­ven­tional con­troller — instead the player’s body and voice become the controller.

The Kinect sensor consists of:

  • 640×480 pixel visible light camera
  • 640×480 pixel infrared camera
  • Four-microphone sound sensing array
  • Class I infrared (780nm) laser diode

iFixit teardown of Kinect

The major advantage of the Kinect is that it works in 3D. Previous console vision systems (such as the PlayStation’s EyeToy) were only able to detect changes in one plane; they only pro­cessed two-dimensional data. The Kinect features a depth sensor with a 1 in 2048 res­ol­u­tion* and can provide high-resolution three-dimensional data in realtime to the XBox 360.

The Kinect’s depth sensor uses “struc­tured light” created by a beam of infrared laser light passing through a dif­frac­tion grating. This projects a grid of 50000 infrared dots across the playing area. These infrared dots are visible on many cameras with a “night vision” mode.

By com­paring how the dot pattern looks, and how it should look, the Kinect can measure the distance between the sensor and the player — pro­du­cing a “depth map” in the process.

Images from Matthew Fisher. Objects in red are closest to the screen; colours then move through the spectrum to purple objects that are furthest away.

Unlike Sony, who have cracked down on anyone trying to hack the Play­Sta­tion; Microsoft have been very open to Kinect hackers; including the team from Cox Lab at Harvard who have developed a portable Kinect-based 3D camera.

* It has been shown that the depth res­ol­u­tion is non-linear and that the further an object is from the sensor the less inform­a­tion is avail­able about its true distance.

Tagged , , , | 1 Comment |

Percent, permil and basis points

I only recently dis­covered the permil (cf. percent), a typo­graphic char­acter that enables you to give a fraction equal to one part in one thousand without using a decimal point. For example 12.3% = 123‰ (“twelve-point-three percent is equal to one hundred and twenty-three permil”).

There is also a symbol (‱) for basis points (aka permyriad), parts in ten thousand. For example 12.34% = 123.4‰ = 1234‱ (“twelve-point-three-four percent is equal to one hundred and twenty-three-point-four permil or one thousand, two hundred and thirty-four basis points”).

A large number of fonts are unable to render the permil and/or basis point symbols cor­rectly, so the post above may be missing some symbols.

Tagged , | Leave a comment |

Whole aeroplane parachutes

Some pilots wear para­chutes when they fly, in case they have to bail out of a mal­func­tioning aircraft. But what if you wanted the aero­plane itself to bail out?

Unlike para­chutes for humans, whole aero­plane para­chutes are deployed bal­ist­ic­ally; they are “fired” out of their con­tainers by solid-fuel rockets, rather than pulled by air resistance.

A vertical launch whole plane para­chute mounted on an aeroplane’s roof. The thin black con­tainer contains the solid-fuel rocket that will pull the para­chute out of the white container.

Tagged , , | Leave a comment |

Wellcome Trust Science Writing Prize

I entered the Wellcome Trust’s Science Writing Prize that ran in con­junc­tion with the Guardian and unfor­tu­nately didn’t make the short­list. I’m quite proud of the piece I put together so I’ve put my entry, SNIFing out Rogue Nuclear Reactors, up on this site.

I figure that there must be quite a lot of people in a similar situ­ations and I don’t want good science writing to go to waste, so I’ve decided to build a list of links here. If you’d like me to include a link to your piece then tweet me @alby using the #swploser hashtag or drop the link in a comment below. If you don’t have a site of your own then I’m happy to host it here for you, again just post in the comments below.


Check Mate by Tom Houslay on the repro­ductive “arms race” between the sexes.

Tagged | 1 Comment |

SNIFing out rogue nuclear reactors

This was my losing entry for the Wellcome Trust Science Writing Prize.

The search for hidden nuclear reactors has tra­di­tion­ally been an intel­li­gence oper­a­tion run by organ­isa­tions like the CIA and the SIS (formerly MI6), but in future it might the initials of France’s Atomic Energy Com­mis­sion (CEA) that become ubi­quitous in the fight against nuclear pro­lif­er­a­tion. In a paper1 accepted for pub­lic­a­tion in the pres­ti­gious journal of nuclear physics Physical Review C, Thierry Lasserre and col­leagues from the CEA outline a radical new method for detecting clandes­tine or rogue nuclear reactors — the IAEA dip­lo­mat­ic­ally calls them “undeclared reactors” — using mobile neutrino detectors trans­ported by super­tankers. Lasserre’s group calls the project SNIF: the Secret Neutrino Inter­ac­tions Finder.

When uranium and plutonium nuclei split (when they “fission”) they produce smaller lighter nuclei called fission frag­ments. It is these fission frag­ments that make up radio­active waste and have names like strontium-90. These fission frag­ments are always heavy in neutrons: iodine-131 and caesium-137, two isotopes that have been in the news recently because of the accident at the Fukushima Daiichi nuclear plant both contain four more neutrons than their stable forms. These unstable neutron-heavy isotopes always become stable by under­going beta decay, one of the three main types of radio­active decay.

During beta decay a neutron inside the nucleus turns into a proton and in the process releases an electron and an electron anti­neut­rino. For every watt of thermal energy produced in the reactor about a thousand billion electron anti­neut­rinos are produced. As a typical clandes­tine reactor will have a power of between ten million and two billion watts this equates to a very large release of neutrinos.

Neut­rinos are tiny neutrally-charged particles with almost no mass. Because they are so small, and because they have no charge, neut­rinos have almost no inter­ac­tions with matter at all. Right now, no matter where in the world you are, there are millions of neut­rinos emitted by the Sun trav­el­ling through your body at close to the speed of light.

The fact that neut­rinos don’t interact means that it is impossible to prevent them from leaving the reactor. Burying your reactor a mile under­ground or encasing it in steel and concrete won’t work – these are effect­ively trans­parent to neut­rinos. The fact that neut­rinos don’t interact with matter also makes them very dif­fi­cult to detect: neutrino detectors have to be very large to have a reas­on­able chance of cap­turing a neutrino “event” in a reas­on­able amount of time. The Super-Kamiokande neutrino detector in Japan contains fifty million kilo­grams of ultra-pure water in a cylinder 39 m across and 41 m tall and only detects about fifteen events per day.

The French group’s work expands on previous work2 by Eugene Guillian at the Uni­ver­sity of Hawaii which proposed an array of sta­tionary one megaton detectors by sug­gesting a flotilla of supertanker-borne mobile detectors. Their paper suggests a cyl­indrical detector 46 m across and 97 m long, sub­merged one and a half kilo­metres under­water to reduce inter­fer­ence from “back­ground” neut­rinos present due to solar activity and natural radio­active decay.

The SNIF detector would be filled with a chemical called linear alkyl­ben­zene – normally used in the pre­par­a­tion of deter­gents – and be “doped” with the element gad­olinium to increase the detec­tion rate. The inside of the cylinder con­taining the alkyl­ben­zene would be covered by thou­sands of pho­tomul­ti­plier tubes (PMTs), ultra-sensitive light sensors designed to pick up the flashes of ultra­vi­olet light created on the very rare occa­sions when a proton in the detector “absorbs” the electron anti­neut­rino. The Super-Kamiokande detector uses a little over 13000 of these PMTs, 6600 of which were shattered in a chain reaction in late 2001 and each of which had to be replaced by hand at a cost of three thousand dollars each.

By com­bining readings from their detector with the location and power of known nuclear reactors and a map of naturally-occurring “geoneut­rinos”3; and by using a bit of common sense – reactors are usually located near oceans or rivers for cooling, for example – Lasserre and his col­leagues suggest that they could locate a three hundred megawatt research reactor pro­du­cing fuel for a nuclear weapon to within “a few tens of kilo­metres” after only sixth months’ obser­va­tion from three hundred kilo­metres away. If the number of detectors or the observing time is increased then even tiny research reactors could be accur­ately located.

Tyr­an­nical despots need not start worrying imme­di­ately. The SNIF detector would be three times the size of the largest detectors existing today and would present sig­ni­ficant logist­ical and oper­a­tional dif­fi­culties. Nev­er­the­less, as Lasserre points out, the pos­sib­ility of non-civilian use of nuclear reactors is a growing one, and may even­tu­ally justify the creation of a real-life SNIF project.

1 Thierry Lasserre et al. 2010. “SNIF: A Futur­istic Neutrino Probe for Undeclared Nuclear Fission Reactors”. arXiv:nucl-ex/1011.3850v1 avail­able at http://arxiv.org/abs/1011.3850 accessed 17 May 2011.
2 Eugene Guillian. 2008. “Far Field Mon­it­oring of Rogue Nuclear Activity with an Array of Large anti­neut­rino Detectors”. Earth Moon and Planets 99: 309 – 330. doi: 10.1007/s11038-006‑9110-x
3 Fabio Mantovani, Luigi Car­mig­nani, Gianni Fiorentini and Marcello Lissia. 2004. “Anti­neut­rinos from Earth: A ref­er­ence model and its uncer­tain­ties”, Physical Review D 69: 013001 – 013013. doi: 10.1103/PhysRevD.69.013001.

Tagged , | 1 Comment |

Yearly variations in the storage of CO2 by plants

The maps below show the pro­duc­tion of carbon dioxide by plants versus its absorp­tion. The greenest areas are those that are storing the most carbon, where plant growth is greatest (grey areas indicate no plant life).

The map above shows the world in August, summer in the northern hemi­sphere. Note the par­tic­u­larly heavy absorp­tion of carbon dioxide in the tropical rain­forests of Bolivia, Peru, Brazil and other South American coun­tries and the pro­duc­tion of algae off the west coast of Africa.

The map below shows a much dif­ferent picture, the world in December when it is winter in the northern hemi­sphere and summer in the southern hemisphere.

Storage of carbon dioxide by plants reaches its lowest point in December, causing the atmo­spheric con­cen­tra­tion of carbon dioxide to peak.

It’s easy to see why plant pro­duc­tion peaks when maps of incoming solar radi­ation for August and December are compared. The bright yellow areas are those receiving high amounts of incoming sunlight; the dark red areas receive the least.

August 2010

December 2010

Also inter­esting to compare are maps showing the balance of radi­ation. The orange areas in the maps below are those which are absorbing more radi­ation than they emit, and green areas are those which emit more radi­ation than they absorb.

The dif­fer­ence between areas near the equator that receive year-round sunlight and areas nearer the poles where sunlight is seasonal is quite marked; Green­land remains a net radiator throughout the year due to north­erly position and its year-round white reflective coating of ice and snow.

August 2010

December 2010

Tagged , | Leave a comment |

24-hour star trails

Star trails are created when the shutter of a camera is left open whilst pointed towards the sky; as the Earth rotates the stars etch out a path.

In a twenty-four hour period the Earth would complete one complete revolu­tion and each star would create a complete circular path. Unfor­tu­nately when the Sun came up the image would be ruined, and so far nobody has captured fully circular star trails.

Pro­fessor Walter Lewin of MIT has issued a chal­lenge through the Astro­nomy Picture of the Day website to create the first image of 24-hour star trails. In order to do so the pho­to­grapher would have to travel into one of the polar circles where 24-hour periods during which the sun does not rise (“polar night”) are possible.

Heading south one would have to go below 66° 34′ S to enter the Antartic Circle and the only place to go is the Ant­arctic itself.

Heading North, into the Arctic Circle (above 66° 34′ N) your choices are much wider. Most of Green­land is in the Arctic Circle as are large parts of Russia, Canada and Alaska. In Europe you can choose between the north of Norway, Sweden and Finland.

It isn’t that simple however. Above and below 66° 34′ the Sun does not rise above the horizon but it gets pretty close and, when con­sid­ering refrac­tion of light by the atmo­sphere, the twilight would probably ruin your picture.

Beyond 84° 33′, eighteen degrees of latitude within the polar circles, true astro­nom­ical night persists, with the Sun never getting closer than eighteen degrees below the horizon. During this period the faintest stars that can be seen by the human eye would be visible all day. This cuts down on possible loc­a­tions for a 24-hour star trail photoshoot.

In the northern hemi­sphere no civil­isa­tion exists beyond the town of Alert at 82° 30′ N and in the southern hemi­sphere only one research station is beyond the limit: the Amundsen-Scott South Pole Station at 90° 00′ S.

Tagged , | Leave a comment |

Hacking QR codes

QR codes are becoming quite popular, espe­cially in advertising.

Photo by infovore

But QR codes have a security flaw — it’s not too dif­fi­cult to turn one QR code into another with just a bit of OHP film and some Tippex.

Obvi­ously I don’t support van­dalism so I’ll be using this fake Google poster that I made as an example.

You will need:

  • A mobile phone with a QR code scanning applic­a­tion. I used Barcode Scanner.
  • The free GIMP image manip­u­la­tion software.
  • Clear overhead pro­jector (OHP) film.
  • Tippex (or some way of printing in white).

Scan your target QR code and use the free QR code gen­er­ator to generate a copy of the original code. You will also need to generate the QR code that you want to replace it with.


The target QR code is on the left and the replace­ment QR code is on the right.

Open both images in GIMP. Copy the replace­ment QR code into a new layer on top of the target QR code and change the layer mode to “Grain Extract”.

The grey areas are the areas where the two images overlap; there’s quite a lot of grey here because a lot of the inform­a­tion con­tained in the two codes is the same.* Black and white areas indicate dif­fer­ences between the two images; black pixels appear where the original is white and the replace­ment is black and vice versa.

Select the grey areas and remove them from the image, and then invert the colour so that black pixels appear where the original is white and the replace­ment is black; and white pixels appear where the original is black and the replace­ment is white.

The chequered areas indicate that the image is trans­parent. It is important that all the images you save during this process are saved as PNGs which, unlike JPEGs, are lossless and support trans­par­ency.

Now you need to print your overlay (at the same size as the original) onto trans­parent OHP film. The vast majority of printers are unable to print in white ink, but as it’s only the contrast between black and white that is important, you can replace the white with yellow for printing.

 
The overlay, ready for printing, is on the left, and the result of over­laying on the right.

If you’re using opaque yellow ink (most printers aren’t able to do this) then your overlay is ready. Oth­er­wise you will need to replace the yellow pixels with white by using a cor­rec­tion fluid such as Tippex.

Now all you need to do is place your overlay on top of the original QR code to create your new replace­ment QR code. If you know what you’re doing you can download the GIMP .XCF file I created in the course of this post.

* Both codes have the same position and align­ment indic­ators, the same version and timing inform­a­tion, and both contain the same “http://www.” data.

Tagged | 23 Comments |

UK Energy Mix

A lot of people get confused between the elec­tri­city they use and the energy they use.

It’s easy to forget that the majority of people use natural gas for heating (e.g. a gas-fired central heating system) and cooking and petrol for trans­port; elec­tri­city only makes up a small part of the mix.

The graph below shows how the UK’s “energy mix” has changed over the last forty years.

Elec­tri­fic­a­tion peaked between 1994 and 1998, the same time that nuclear power was at it’s peak in the UK. Greater elec­tri­fic­a­tion would be a benefit to the envir­on­ment as elec­tri­city is a low-carbon fuel, espe­cially when nuclear and renew­ables make a large con­tri­bu­tion to the fuel mix. Also the “Dash for Gas” in the ‘90s is clearly visible as a very marked increase in the size of the blue section.

Tagged , , | 2 Comments |