Monday, July 30, 2012

Sweet Suffering Hell

GOVERNMENT health experts have ruled out banning fizzy drink vending machines in schools because they are making too much money. Instead they are recommending increased taxes on fizzy drinks in a bid to reduce consumption. ... Having ruled out banning the vending machines, the special group has suggested making sugary drinks more expensive by piling on extra taxes in the next Budget. The cost of a regular soft drink could increase by as much as 7pc.
So sugar is bad and should be taxed.
Sugar companies were among the largest beneficiaries last year of Europe's Common Agricultural Policy payments, according to statistics made public Saturday by most EU member countries. In France, in the year between October 2008 and 2009, three sugar companies received the top subsidies: Tereos (117.9 million euros/156.8 million dollars), Saint Louis Sucre (143.7 million euros) and Cristal Union (57.2 million euros). In Spain a sugar company also occupied first place, with Azucarera Ebro receiving 119.4 million euros. The world's leading sugar company Sudzucker came second in Germany's list with its 42.9 million euro subsidy, behind the dairy company Nordmilch (51,1 million euros).
So sugar is good and should be subsidised. Penn and Teller summed up the problem with "They spend our money to make soft drinks cheap. And now the same government wants more of our tax money to make soft drinks more expensive. Does anyone else think this is incredibly fucked up?"

Saturday, July 14, 2012

Theatre Riots In Irish History

We detail the events that marked a new low in Ireland’s relationship with drink, drugs and casual violence
Were the events at the Phoenix Park last weekend uniquely bad in Irish history? I am not arguing here that they were acceptable, I just want to see if they were a uniquely low level? Ireland was fairly well known in the past of excessive drinking, fighting and sex at festivals. The sedate suburb of Donnybrook and its poshest shop gave English eponymous nouns for excess

Donnybrook: an inordinately wild fight or contentious dispute; brawl; free-for-all.

Donnybrook Fair: a fair which until 1855 was held annually at Donnybrook, County Dublin, Ireland, and which was famous for rioting and dissipation.

If the original Donnybrook fair rave can give rise to the fancy shop of the same name maybe in 2200 Ikea will be called the Swedish House Mafia. But an Oxegen squared in the 1800's doesn't prove much. Were Irish concerts generally well behaved?

THE BEST PLACE for a good riot is a theatre. The left likes to imagine rioting as the oppressed rising up against the oppressors, and the right sees it as evidence of the moral decay of society. But there’s a long history, in Dublin and London, of theatrical rioting. Indeed, to my knowledge, the longest and most sustained riots in both cities in the past three centuries happened in and around theatres. This surely says something about the nature of both theatre and riots.

According to the history of Irish theatre the Smock alley riot of 1747 suggests not. Just down from the Phoenix Park Smock Alley was where Trinity Toffs seemed to go to feel superior. Edmund Kelly a student went backstage told an actress Mrs Dyer that he would 'do what her husband Mr Dyer, had done to her', using the obscene expression. Another young Trinity student of the time, Edmund Burke, saw Kelly put his hands 'under the actress's petticoats'. Edmund Burke the intellectual founder of conservatism is now considered venerable enough to have a statue outside Trinity. The manager Sheriden kicked Kelly out but because he was not a 'gentleman' Kelly demanded an apology. Rioting shut the theatre and spread to the streets. Days of riots followed over whether a theatre owner stopping a girl getting raped could say "I am as good a gentleman as you are” about a would be rapist.

In 1821 the Bottle Riots also started in a theatre. 'Orange sentiment which, in the heated condition of public opinion, had become dangerous, and he prohibited the dressing of the statue of William III. on College Green on July 12, then regarded as an annual demonstration. This was followed by a riot, afterwards known as "the bottle riot," when an organized body of Orangemen packed the pit and gallery of the Dublin theatre when the Marquess was present and with cries of, "Down with the Popish Lord-Lieutenent" they flung missiles, one of which was a large whiskey-bottle, at the royal box'

Next up in the entirely 21st century phenomena of fights at concerts is the 1851 riot in the Mechanics theatre

The Beatles song "Being for the benefit of Mr Kite" was inspired by one of the posters of Pablo Fanque the proprietor the night of the riot. 'playgoers threatened to riot and destroy the theatre in protest to the winner of a "conundrum" contest' which puts loud words at someone using a mobile during the pub table quiz into perspective.

Synge’s The Playboy of the Western World and O’Casey’s The Plough and the Stars also incited riots. The Playboy riots were incited by Arthur Griffith the President of Dáil Éireann. He described the play as "a vile and inhuman story told in the foulest language we have ever listened to from a public platform". O'Casey's riot was seen by Yeats as again showing how uncouth Irish concert goers were "You have disgraced yourself again, is this to be the recurring celebration of the arrival of Irish genius? Wilde's Salome caused a bit of a ruck as well but does not seem to have descended into open fighting.

There is a long history of people having fights at concerts. History seems to better remember those with political roots unlike what happened in Phoenix Park. To decide this is a particularly bad incident requires us to at least look at the history of these riots.

Tuesday, June 19, 2012

The Fairest Way to Pick a Team

What is the best way to pick a team? As kids we would always strictly alternate between teams so team 1 had first team 2 the second pick and then team 1 again etc.

Most things you can measure about people are on a bell curve. A small number of people are bad, most are in the middle and a few are good. There are a few good known metrics of ability. None are perfect, there is no one number that can sum up ability. The simpler the sport the more one metric can tell you, in cycling VO2 max is a very good indicator. Whereas in soccer VO2 max, kicking speed, vertical leap, number of keep me ups you can do etc could all measure some part of football ability.

So say there was one good metric for a task and teams were picked based on this. Is the standard strict alteration, where Team 1 picks then Team 2 alternating, fair? Fair here meaning both teams end up with a similar quality.

I wrote a program in R Package. Not because I know it but because it is perfect for this sort of problem. If you are picking 5 a side and the best player left is always picked by a team how much better is the first picker?

Strict Alteration the code is

players<-10
#create a vector
z <-0
#run 10000 simulations
for(i in 1:10000)
{
#rnorm generates a normally distributed dataset
# this one has 10 elements. A mean of 100 and a std of 12
#sort puts the biggest at the end
x <- c(sort(rnorm(players, mean=100, sd=12)))
# for each simulation take every second one and put it into a different team. 
# Give one team even and one odd 
z <- append(z, sum(x[c(1,3,5,7,9)]-x[c(2,4,6,8,10)]))
}
print(sd(z))
#get the average difference between the two teams
print(mean(z))

> print(sd(z))

[1] 8.794016

> print(mean(z))

[1] -22.59786

IQ has an average of 100 and a standard deviation of 12. IQ isn't used much to pick soccer teams but many things follow a similar pattern. In software development IQ wouldn't be the worst metric to pick a team on and agile teams are supposed to have between 5 and 9 members. So think of this as people picking teams of developers.

In this simulation Team 1 ends up with .225 of a person advantage. The more people on the team the greater advantage the first picker gets.

18 players

> print(sd(z))

[1] 8.287164

> print(mean(z))

[1] -25.52077

16 players

> print(sd(z))

[1] 8.20681

> print(mean(z))

[1] -25.00685

Would another way of picking the teams be fairer?

Balanced Alteration from the Win Win Solution by Brams and Taylor 'strict alteration can give a big boost to the first chooser when there are only two parties. What we need to do is reduce this advantage of the first chooser by amending strict alternation.'

The balanced alteration allows the captains to be first chooser in turn.

This is

Team 1 Team 2 Team 2 Team 1 Team 1 Team 2 Team 2 Team 1....

the code is

players<-10
#create a vector
z <-0
#run 10000 simulations
for(i in 1:10000)
{
#rnorm generates a normally distributed dataset
# this one has 10 elements. A mean of 100 and a std of 12
#sort puts the biggest at the end
x <- c(sort(rnorm(players, mean=100, sd=12)))
# for each simulation take every second one and put it into a different team. 
# Give one team even and one odd 
z <- append(z, sum(x[c(1,4,5,8,9)]-x[c(2,3,6,7,10)]))
}
print(sd(z))
print(mean(z))

> print(sd(z))

[1] 9.757417

> print(mean(z))

[1] -9.04198

This method looks better than the standard strict alteration.

Thinking about the bell curve though is would make sense if the team that got the best player got the worst, and the second best the second worst etc. This should even up the teams well. The code for this is

players<-10

#create a vector
z <-0
#run 10000 simulations
for(i in 1:10000)
{
#rnorm generates a normally distributed dataset
# this one has 10 elements. A mean of 100 and a std of 12
#sort puts the biggest at the end
x <- c(sort(rnorm(players, mean=100, sd=12)))
# for each simulation take every second one and put it into a different team. 
# Give one team even and one odd 
z <- append(z, sum(x[c(2,4,6,7,9)]-x[c(1,3,5,8,10)]))
}
print(sd(z))
print(mean(z))

> print(sd(z))

[1] 9.3498

> print(mean(z))

[1] 3.027536

This has a better average difference. The fact the difference is as high as it is makes me think I may have a bug in my code.

Kids to implement this method would have to alternate picking a player until they were about to pick the middle player in their team Then Team 2 would get a second pick. This sounds almost practical.

When you played a sport (particularly soccer) as a kid what rules did you pick teams by? Can you think of a better algorithm now?

Monday, June 18, 2012

Baby's First Hack

Maternity hospitals put these security bracelets on your baby. The thing is because the baby loses so much weight and generally changes so much after their birth they keep falling off. The nurses get annoyed by them because they fall off so often but they generally seem not to mind them too much. My video below shows how easy they are to remove

And that is without trying to cut off the tag or shield it from the radio receiver in some way. Schneier has a good post on how these tags just because they don't actually reduce risk of harm much are still valuable. I'll quote it at length because it is so good.

'While visiting some friends and their new baby in the hospital last week, I noticed an interesting bit of security. To prevent infant abduction, all babies had RFID tags attached to their ankles by a bracelet. There are sensors on the doors to the maternity ward, and if a baby passes through, an alarm goes off.

Infant abduction is rare, but still a risk. In the last 22 years, about 233 such abductions have occurred in the United States. About 4 million babies are born each year, which means that a baby has a 1-in-375,000 chance of being abducted. Compare this with the infant mortality rate in the U.S. -- one in 145 -- and it becomes clear where the real risks are.

And the 1-in-375,000 chance is not today's risk. Infant abduction rates have plummeted in recent years, mostly due to education programs at hospitals. So why are hospitals bothering with RFID bracelets? I think they're primarily to reassure the mothers. Many times during my friends' stay at the hospital the doctors had to take the baby away for this or that test. Millions of years of evolution have forged a strong bond between new parents and new baby; the RFID bracelets are a low-cost way to ensure that the parents are more relaxed when their baby was out of their sight.

Security is both a reality and a feeling. The reality of security is mathematical, based on the probability of different risks and the effectiveness of different countermeasures. We know the infant abduction rates and how well the bracelets reduce those rates. We also know the cost of the bracelets, and can thus calculate whether they're a cost-effective security measure or not. But security is also a feeling, based on individual psychological reactions to both the risks and the countermeasures. And the two things are different: You can be secure even though you don't feel secure, and you can feel secure even though you're not really secure.

The RFID bracelets are what I've come to call security theater: security primarily designed to make you feel more secure. I've regularly maligned security theater as a waste, but it's not always, and not entirely, so.'

In Praise of Security Theater

I agree with his description. The tags from a rational measurable security point of view silly, everyone if they think about it can tell their silly. But they reassure new parents of a non rational but still present fear. And that means the tags probably are not silly.

Thursday, May 24, 2012

That's no way to kill an elephant

It seemed dreadful to see the great beast Lying there, powerless to move and yet powerless to die, and not even to be able to finish him. I sent back for my small rifle and poured shot after shot into his heart and down his throat. They seemed to make no impression.
wrote George Orwell in Shooting an Elephant

I read Orwell's essay ages ago and figured it pretty much had the elephant execution story covered. Looking back I was amazingly naive about quite how many bizarre possibilities for dispatching pachyderms existed.

1. Hanging. Erwin, Tennessee thought it was a good idea to hang Mary the elephant.

2. Electrocution. In order to show that his DC current was a great idea Edison decided to show AC was really dangerous. So he got Topsy the elephant and electrocuted her. Which is a massively dick move anyway you cut it. He also invented and sold the electric chair to execute criminals as a similar negative publicity campaign against AC current. The video he produced is here

3. Shooting. Tyke (elephant) Police fired 86 shots at Tyke, who eventually collapsed from the wounds onto a blue car and died. This video is of Tyke's attack and later shooting. I am not going to embed it as it is frankly horrifying.

4. Harpooning. Chunee "Kneeling down to the command of his trusted keeper, Chunee was hit by 152 musket balls, but refused to die. Chunee was finished off by a keeper with a harpoon or sword". Having to harpoon an elephant has to be the definition of a hard day at work.

Not execution but still weird

5. Lethal Injection of LSD. Tusko was a 14 year old who weighed 32000kg. Some scientists decided to give him enough LSD to get 3000 people off their mash. This mammoth dose killed him under two hours later. The scientific paper that came out of this mess is "Lysergic Acid Diethylamide: Its effect on a Male Asiatic Elephant."

6. Lightening "Norma Jean, struck by lightning, c. 1972, during a circus parade in Oquawka, Illinois. She was buried where she died, and a marker now lies on this spot."

7. Drowning (ish). Dan Rice was a sort of PT Barnum character. He ran loads of stunts to advertise his various travelling circus events. One of these for one poor elephant was "In August 1860, Rice had Lallah Rookh swim across the Ohio River in Cincinnati, Ohio to drum up publicity for his new "Monster Show." It took her 45 minutes to swim across the river. A month later, Lallah died of a fever brought about by her swim".

While on this elephantine swimming subject my favourite theory about the Loch Ness Monster is that it was a swimming circus elephant. And once the mistake was made the circus owner used the publicity to drum up business 'In 1933 a circus promoter in the area—acting perhaps on inside information that the monster was really a big top beast—offered a rich reward for Nessie's capture'

8. Burning. In 1681 an elephant was burned to death in Dublin. How the poor creature got to Dublin at that time is difficult to imagine. But then to have your crate set on fire is just tragic. The autopsy revealed information that later helped show elephants had evolved from an aquatic animal. "An anatomical account of the elephant accidentally burnt in Dublin on Fryday, June 17 in the year 1681" is Allen Mullen's description of the autopsy

And the weirdest one, and I realise that is saying something, is not an execution of elephants but by elephants. Most of the elephants killed listed above had killed a person. But elephants were once a really common. Apparently death by Nelly was wildly popular from prehistoric times up until the late 1800s. Execution by elephant is an incredible wikipedia page, hard to extract from but worth reading through.

Because elephants are so easy to train and because an elephant standing on your head was such a gruesome way to die most south Asian countries seemed to practice it.

I do not know what the wide an varied history of death of and by elephant tells us. They are all pretty tragic tales. Recently an elephant escaped in Cork . Then later crushed one of the circus workers. It seems the same sort of issues that killed Chunee, Mary, Tyke and many people who have been killed by performing elephants still exist and that more than these historic stories is a tragedy.

Wednesday, May 23, 2012

Birthday Problem

Punk Rock Operations Research has recently been talking about the birthday problem. This problem asks how many people have to be in a room for you to have a 50% chance of two of them sharing a birthday. The usual answer is 23 people.

However as The Birthday Problem and The Birthday Problem with a mating season: A simulation approach post say because Seasons Sway Human Birth Rates the assumption the birthday problem makes of a random sampling of people usually will not hold. This clumping of people births means that the birthday problem could have a lower number than usually supposed. Think of it this way, if everyone was born on January 1st you would only need two people to be sure of having a matched birthday. In the same way if births are clumped and not evenly spread the number of people needed to get a shared birthday should drop.

I found a good dataset at An Analysis of the Distribution of Birthdays of 480,040 birth dates. This is ideal for a simulation. Presumably the US census has even better data but I can't find it. The files used are bday.txt. This is in the form

0101 1482

0102 1213

0103 1220

0104 1319

Also a file with equal numbers of birth each day here This code is to calculate the average number of people you need to add to a set for two to share a birthday. Which is slightly different from the original birthday problem. Knuth studied this variant and came up with a figure of 24.616 people assuming 365 days in a year.


#!/usr/bin/env ruby -w

puts 'Birthday simulation'

#binary search function I stole
def binarySearch(sortedArray, first, last, key) 
   until first > last do
       mid = (first + last)/2
       if (key > sortedArray[mid])
           first = mid + 1;
           binarySearch(sortedArray, first, last, key)
       elsif (key < sortedArray[mid])
           last = mid - 1;
           binarySearch(sortedArray, first, last, key)
       else
           return mid;
      end
   end
   return first;
end

#binarySearch Test
#sorted_array = [1, 5, 6, 10, 5, 25, 40, 78, 100, 130]
#p binarySearch(sorted_array, 0, sorted_array.length-1, 1)

total=0;
matches= Array.new; #array holding how many people so far have this
found= Array.new; #have we seen this day before
tried=0;  #how many people had to be tried 
i=0;

#First load an array with numbers that correspond to days. Day 0 is 1482 people, day 1 1482 upto 1482+1213 etc 

#for the real dataset
File.open('bday.txt', 'r') do |f1|

# and with the everyone born randomly
#File.open('normal', 'r') do |f1|
  while line = f1.gets  
    parts=line.split;#get the second number part of the line
    total=total+parts[1].to_i;
    matches[i]=total;
    i+=1;
  end  
end 

puts total; #sum up all the values

j=0;
matchFound=0;
totalDays=0;

while j<10000#00
where= binarySearch(matches, 0, matches.length-1, rand(total));
tried=tried+1;
 if found[where] ==1
  totalDays=totalDays+tried;
  tried=0;
  found.delete(1);#empty the array for another simulation run
  matchFound=matchFound+1; 
 else
  found[where]=1
 end
 j+=1;
end
ans=(totalDays.to_f/matchFound.to_f)
puts "average birthday number ", ans;
This code with the same number born every day gives a birthday number of 24.0194321675634. And with the real bday.txt dataset from Roy Murphy gets the result of 23.9779163169884.

This code needs a complete rewrite. This code is fugly and wrong. I tried writing this piece a few years ago and failed so I'm just glad to get it out the door. Also I have to make allowances for the dataset size and the number of simulations run.

Other problems with the birthday problem revolve around getting a random sampling of people. About 1 in 80 births are of twins. So an average of one in every 40 people is a twin and twins tend to hang out together.

This dataset comes from life insurance forms. Which could be biased in that Jan 1st seems to be too popular. It could be what a form defaults to. Maybe life insurance selects for people born at a certain time. It could be that rich people buy life insurance more and rich people are more often born in a particular month. Professions seem to clump around certain birth dates. Malcolm Gladwell points out in Outliers that professional athletes tend to have birthdates that make them old when they play under 8,9,10 and 11's sports. Kary Mullis in "dancing naked in the mind field" professes his support for astrology saying “A recent scientific study of the distribution of medical students in birth months discovered that a lot of medical students were born in late June”. If this is right then some other professional groups clump in age.

Mullis is an interesting person, and his book is very entertaining. By the time he describes his meeting with an extra terrestrial glowing raccoon you know he is nuttier than squirrel shit. Partly it is this oddness that helped him win the Nobel prize brilliant "What if I had not taken LSD ever; would I have still invented PCR?" He replied, "I don't know. I doubt it. I seriously doubt it.". PCR is used to amplify DNA fragments and is a major tool in convicting rapists, murderers and other criminals.

While on the subject of doing calculations on peoples births. Laplace did a calculation showing more baby boys were born in France than girls. Which is one of the founding calculations of probability theory.

The birthday problem turns out to be lower than people claim. It also has enough weirdness involved in the randomness assumption that it is a good illustration that people just aren't random.

Friday, April 13, 2012

Completing a Panini Sticker Album



When I was a kid my main ambition was to fill out the Panini Italia 90 sticker album. I promised myself when I was old and rich I would buy all the stickers I needed to fill out a championship sticker album. Some kids aim to play for Ireland, I aimed low. Turns out I am not rich but I am nerdy so at least I can work out how much it would cost to fill out the album.

This is called the Coupon Collector Problem.
"Given n coupons, how many coupons do you expect you would need to draw with replacement before having drawn each coupon at least once?"

There are 539 stickers in an album to collect. The first sticker you buy is going to be one you need, a 539/539 chance of getting one you need. The second has a 538/539 chance of being one you do not have as there is one it can clash with. This keeps going until for the last sticker every new sticker has a 1/539 of beng the right one. The formula for the number of attempts you would need to calculate the coupon collector number is 539*Harmonic Number of 539. Which according to Wolfram Alpha is 6.867858*539=3701.77. The stickers are sold in packs of five. Which means 740 packs.

On amazon a box of 100 packs cost £43.95. This would mean (assuming you could get .4 of a box at that same price) that filling the album would be expected to cost 325.23 pounds.

Panini sell the stickers at 14p each. So to buy the stickers individually would cost 539*.14=75.46 pounds.

Is there some kind of mixture of boxes of random stickers and individual ones that means you can fill in the album for as cheap as possible. Say the individual stickers can be bought at the price of a box. So thats 0.1162 pounds for each sticker. Which is not that much of a saving. It becomes more efficient to buy individual stickers than random packs at this price after about 90 stickers.

The last sticker takes on average 539 stickers to be bought to find it. So this last sticker costs 0.1162*539=62.63 pounds if you buy it in packets not individually.

But are the tickets independent? As in are some rarer than others and is each pack random? Some people studied this in the very cool paper 'Paninimania: sticker rarity and cost-ef fective strategy'
"We consider some issues related to the famous Panini stickers devoted to the football world cup. In particular, we address the following questions: is there a planned shortage of some stickers? What is a good cost-e ffective strategy to fill in an album?"
Which proves amongst other things I am not the only nerd that still wants to fill in a Panini album.

Tuesday, April 10, 2012

The Rational Voter On Science

The myth of the rational voter is a great book by Bryan Caplan about how democracies make predictable errors because people are biased against certain beliefs. The video below gives a good synopsis of his arguments



The belief that people having incorrect beliefs will not be a problem is called "The miracle of aggregation" where people don't know much all disagree with each other and those small number of people who do know something are the ones who are left after all the noise is cancelled out. But because these beliefs are not randomly wrong but biased to one side this cancelling out doesn't happen.

He talks about the economic areas of being anti market, making work for the unemployed, anti foreigners and that people are too pessimistic and how general opinion on these issues disagrees with that of economists. You could argue that the people are right and economists wrong on these issues but generally people who are experts in a field tend to know more about it. If you disagree I am available for entirely unqualified and haphazard brain surgery if you want to put your brain where your mouth is.

But what about non economic questions? Are there scientific questions people get wrong that might result in voting based on a mistaken view of how the word works. There is a poll about scientific question that takes place across many countries called the National Science Foundation, Science and Engineering Indicators which asks what it thinks are basic science questions everyone should know the answer to.

If many people get the wrong answer about these questions, and the question is important from a policy point of view then this poll will show an area the voter is likely to be irrational about and we will get bad policy in that area.

· The center of the Earth is very hot. (True) 78.0% of Americans in 2006 got this right.
A politiician who did not believe this might have a hard problem supporting geothermal heating. But geothermal is not that big a source of energy so it would mess things up very badly.

· All radioactivity is man-made (False) 73.0% got this right.
Without realising this you might overestimate the risk man made radioactivity is going to cause. I am willing to bet the 27% of people who didn't know this might be less in favour of nuclear power stations. But I really don't know if more nuclear power is a good policy. Lovelock and Brand say it is. Unless I can prove the connection between holding the belief that all radioactivity is man made and being anti nuclear power it is a stretch to claim this false belief harms us.

· It is the father’s gene that decides whether the baby is a boy or a girl (True) 62.0% got this right
Many parents want male children and without realising this then women could get blamed as the female kids are their fault. I'm not sure what political policies would change if you did get this wrong though. Sex selective abortion seems wrong whether you understand the y chromosome or not.

If more people understood the sperms role in sex selection more sperm sorting techniques could be used. This might result in lower numbers of children in those who want to 'balance out' their families.

· Lasers work by focusing sound waves (False) 42.0%
'over 25% of the GDP of developed countries is directly based on quantum physics' someone who got this wrong would have very wrng views about something fairly fundamental to the modern economy.

· Electrons are smaller than atoms (True) 45.0%
Similar issue with understanding one of the main sources of income in a modern economy. Could someone who got this wrong really hope to decide between investing research money in on scientific field or another?

To be fair I might get this question incorrect. Electrons do not really have a size. As wikipedia says "the electron has no known substructure.[2][72] Hence, it is defined or assumed to be a point particle with a point charge and no spatial extent". This question is a bit like asking is a car smaller than hope. The question doesnt really make sense.

· Antibiotics kill viruses as well as bacteria (False) 54.0%

This one is really important. Overuse of antibiotics is making them less effective. Megan Mcardle has a great piece on the problem here.

Some people give antibiotics credit with increasing our life expectancy by about 8 years and no one thinks they have had a tiny role in our large life expectancy increase during the 20th century.

Getting antibiotics policy wrong is a really big issue and one the public get wrong. You don't hear politicians on the "If you vote for me you wont get penicillen for your earache" platform. This is an important issue probably up there with the economic ones Caplan describes in his book.

I have heard Michael Graham on Irish radio saying he doesnt care about politicians opinion on evolution because it will not effect how well they govern. The case of antibiotic resistance shows how important it might be to have politicians who accept evolution as it is in progress in this case limiting the power of one of our most important healthcare tools. I get the feeling many of these questions are actually about aligning yourself with literal interpretation of the bible rather than science knowledge.

This is one area public health campaigns are trying to explain


· The universe began with a huge explosion (True) 40.0%
This is another question I might get wrong. Calvin and Hobbes described the big bang as the 'Horrendous Space Kablooie' which might be more accurate than calling it an explosion.

I can't see this issue having a big effect on policy though. The "if i am elected I will combat the inflation of the universe" party probably won't change much.

· The continents have been moving their location for millions of years and will continue to move in the future (True) 77.0%
You might have a pretty weird view of earthquakes if you didn't believe this but again I can think of no specific policy issue you are likely to get wrong

· Human beings as we know them today, developed from earlier species of animals (True) 50.0%
What policy would someone who did not believe this get wrong? Some medical ones about the usefullness and ethics of animal testing maybe. There must be more then that though. If you can think of any specific policy people who don't know the right answer voting on would cause harm please add it in the comments.

This is a question the majority is not right on. So if there is a policy question that this deals with it could be one where those that know the correct answer are drowned out.

Not to go all Karl Popper on this but I could also argue about which of these are true/false and which are the current best theories. I think most cosmologists would put a higher probability on the big bang theory being overtaken then the heliocentric solar system one. Also there would be a higher certainty on all these theories than any of the economic ones IMHO. But that does not mean I couldn't argue with the phrasing.

Does the Earth go around the Sun or does the Sun go around the Earth? (Earth around Sun) 71.0% got this right.
I'm not sure you can say the earth goes round the sun. It move in a eliptical orbit with the sun at one foci. If a politician actually believed the sun went round the earth would it specifically result in any bad policies? As opposed to general worry about his intellect? Not any I can think of.

If you know of any other polls of the public belief about scientific questions please post them. Based on this one survey (results for other countries here) On antibiotic control policy the public is likely to support the wrong policy.

Other than economics and science are there other areas the public is probably supporting policies the vast majority of experts in the area disagree with? Public Health and Criminology experts probably disagree with policies politicians run on and people vote for. I would like to see any polls that would show this.

Wednesday, April 04, 2012

Where Is Bezos' Laser?


Jeff Bezos who set up Amazon is starting to scare me.
Last week he bought a robot army, Kiva systems.
Soon he is getting moon rocket engines from the sea.
He is building a giant base inside a mountain.
Also if I understand cloud computing he also owns the weather

This is the CV of a Bond villian.

Thursday, March 29, 2012

Household Charge Security Questions



The household charge website security questions pictured above are awful. This charge is a new tax the Irish government has created where most people with a house in Ireland are supposed to register online. These are questions you can use to prove your identity. But the ones they have chosen are really weak. There are three main methods to attack them.

Social Engineering: Ask someone, set up a website the user trusts "TrustyBank.com" and ask them this question again

Brute forcing or guessing via statistics: Murphy is a really common name guess that. Then Kelly, Smith, O'Sullivan, Walsh, Ryan, O'Brien, Byrne... you can guess someones surname most of the time in a low number of guesses.
Pets names are surprisingly guessable (low entropy). The names people use are not that unusual. This site has stats on the most popular ones. The most common entered place of birth will be Dublin. Similarly Companies are not based in many places. Dublin will be a correct guess in many cases. Next I'd guess America, Ireland, Home... again there are likely to be very common answers to this.

Looking at these questions I would predict 10 answers of each will cover 50% of the population.

Informed Guessing. Many of these questions can be answered by searching facebook as described in this paper Personal knowledge questions for fallback authentication: Security questions in the era of Facebook by Ariel Rabkin. Or follow the method described in the paper Messin' with Texas:Deriving Mother's Maiden Names Using Public Records by Virgil Gri th, Markus Jakobsson describes a technique for finding out the answer to this first question. These questions seem very susceptible to facebook and public record searches.

This site lists Examples of Security Questions these sorts of questions. In the Poor section they have

What is your mother's maiden name?
In what county where [sic] you born?
What is the city, state/province, and year of your birth?
What is your pet's name?

So all the questions except the where is your company based question are common and known to be poor. The questions on the household charge website are guessable, searchable and so common another website could ask you them without raising suspicions. They provide an obvious and well known vulnerability to the system.

Tuesday, February 14, 2012

What could I do instead of watching X factor

“Wikipedia took the idea of peer review and applied it to volunteers on a global scale, becoming the most important English reference work in less than 10 years. Yet the cumulative time devoted to creating Wikipedia, something like 100 million hours of human thought, is expended by Americans every weekend, just watching ads.”
― Clay Shirky

I like watching the X factor particularly combined with the mockery that goes on on twitter. Something nags at me about the waste of time the X Factor is. There is nothing particularly wasteful about this program but it will do as an example.

The program consists of 31 episodes with a Running time of 60–80 minutes according to wikipedia. Taking the program as 70 minutes that is about 36 hours. I thought the Saturday program was longer than 80 minutes but I could be wrong. 'Saturday's edition of The X Factor averaged 9.6 million viewers, a 38.5% share of the audience, between 7.45pm and 9.55pm'. So lets say a series of the x factor is 40 hours of your time. a season of American Idol takes at least as long.

So what could I do in this time?

Read a book

War and Peace by Leo Tolstoy is 560,000 words. The average American adult reads prose text at 250 to 300 words per minute. So I could read that in about 31 hours reading. Great Expectations is 185000 words, about 12 hours. In Search of Lost Time by Marcel Proust at 1,500,000 would be about two series of x factor.

These are famously big books the average fiction book is about 75000 words. Or about 5 hours of reading at 250wpm. So that is around 8 novels I could read instead of x factor.

Get Strong

The Starting strength program (described here) goes from someone who has never lifted before to quite strong in three months three days a week 45 minutes a day. Say an hour to shower and such. 3 times a week for 12 weeks is 36 hours similar to the x factor

Three months of this program wont make you wrestle a bear strong but it will make you useful when helping the bear move his fridge. Everyones progression will vary but this site Weightlifting Performance Standards says that after 3 months of training like this a man could expect to be able to pick up a weight of just under one and a half times bodyweight. A woman would be able to pick a weight of around her own bodyweight.

Most people fear that as soon as they touch weights they will end up with the Arnie condom filled with walnuts look. Besides they might not have the equipment. But if instead I went for doing pressups everyday? The Hundred Press up challenge says "this six week training program and you'll soon be on your way to completing 100 consecutive push ups!...about 30 minutes a week to achive this goal!" that is 3 hours. Double the time to 6 hours in case they are lying.

Run a Race

Couch to 5km plans are really popular. "Each session should take about 20 or 30 minutes, three times a week". the guide is 9 weeks but lets say it takes 12 weeks to get that fit. That is still at most 18 hours.

You won't outrun a bear after doing this you probably will outrun some of the other people the bear is chasing though. Besides you've helped the bear move his fridge so he probably won't chase you anyway. I could nearly train to run a race and do the starting strength program in the time I could spend watching x factor.



X factor is entertaining but so are books and many people after a while find exercise entertaining at least in retrospect. I have not included 'learn a language' in the list of other things you could do as few people actually find that entertaining.

That means I could train myself to run a 5km (18 hours), to do 100 pushups (6 hours) and read Great Expectations (12 hours) and still have some time left over. I probably wont do that but at least I know what I am feeling guilty about now. There is nothing particularly bad about X factor there are much worse ways I spend my time. I could watch 40 hours of youtubes finest cat videos.

Wednesday, February 08, 2012

The Serious Business of Children's Books

There is a bit of a literary fight today about a new book of a children's story written by James Joyce
'Joyce children's story published in Dublin to dismay in Zürich'
In a statement, the foundation said it “was left completely in the dark” about the Dublin publication and that “it never permitted, tolerated, condoned or connived in this publication, and it rigidly dissociates itself from it”.

It was “dismayed to learn that a copy of the letter to young Stephen Joyce of 1936 must have been used for its publication in book form. The foundation was never approached or informed, it was never asked for permission” and it had only just learned of the publication.

The book looks lovely. The issue reminds me of a bugbear I have where famous authors of adult literature's children's books are consigned to the trash heap of history.

For example I cannot find a new copy of
The Little Steamroller by Graham Greene

Virginia Woolf, The Widow and the Parrot

The Bed Book By Sylvia Plath


I love the Bed Book. The picture is of me reading it to my daughter. Yet many Plath fans do not even know of its existence.

Why is it that these books are not well known or in print? Could it be we do not like our serious authors to show their playful and family loving side? It could be there is no demand to pay for publishing these books. That Joyce's story needed to go out of copyright to get printed is evidence against this though.

A friend pointed out this great blog We Too Were Children 'a Compendium of Children’s Books by Twentieth Century “Adult” Authors Currently Out of Print'. Do you know of any more slightly hidden childrens books by 'serious' authors? Kafka's tale of the plucky mouse who rescues the circus or some such.

Thursday, January 26, 2012

EULA Be Sorry

Fan handcuffs himself to goalpost during Everton and Manchester City clash
A message on his T-shirt read: "Europe's greatest training robbers. Ryanair. Lowest wages guaranteed. Stop. Recruitment scamming our children."

If people really hate airlines there are much easier ways to harm their business than this. One way is to ask people to obey their terms and conditions.

Companies are still leaving themselves open to the being moved down search engine rankings as I described in Search Engine Deoptimization? The attack is to remove links to a website using the sites own Terms and Conditions.

1. Find if a company you are annoyed with has rule against linking to them in their Terms and Conditions. Something like 'links to this website without the prior written consent'.

2. Inform all the people who link to this website of this rule. Possibly implying you are from some sort of legal enforcement organisation.

Airlines and insurance companies love having these rules. The Idea I presume is to hinder price comparison websites.

If you do not want to go to the effort of building a spider to get the list of url's that link to a site you can google (or bing)
link:http://www.aerlingus.com

Where you replace http://www.aerlingus.com with the company website you want a list of linkers to.

The last example I used was Ryanair, mainly because so many people hate them. The following companies looked to have odd T&C from a quick read. I accept the irony of linking to people T&C that say you cannot link to their T&C.

Aer Lingus: 'to link to our site(s) only through our home page. Please do not link to other pages of our site(s) without obtaining prior written permission from Aer Lingus (such consent may be withdrawn at any time at Aer Lingus's sole discretion);'

Also World Food Program, Web Check in, Vishni capital, Glasgow 7s Rugby Team and NRMA insurance

For something like the only link to the main page rules you would need to modify the "link:" search and the scary email that tries to get the links removed.

It is easy to read the terms and conditions of competitors websites. Many competitors rankings would be harmed by removal of even a small percentage of quality links to their website. I think you could boost a client above a competitor with this technique. If I was asked to bump up an insurance companies websites search rankings I would be tempted to look at the terms and conditions of their competitors and do a "Link:" search on any of them who had these linking rules websites.

A quick google and sending some emails has to be easier than handcuffing yourself to a goalpost.

Wednesday, January 25, 2012

The Mickey Mouse Protection Act


The Copyright Term Extension Act (CTEA) of 1998 extended copyright terms in the United States by 20 years ,..., the Walt Disney Company (whose extensive lobbying efforts inspired the nickname "The Mickey Mouse Protection Act")..supported the act


Disney are very pro copyright. Here is Clay Shirky talking about how you can't let kids draw a picture of Mickey Mouse and put it on a cake without getting sued by Disney for copyright violation



They seem oddly pro remixing, homage and parody when it come to other peoples creative output. I am not talking here about the companies cartoons based on traditional folk tales but about their Joy Division T-Shirt.
Disney's description of the shirt:

Inspired by the iconic sleeve of Joy Division's Unknown Pleasures album, this Waves Mickey Mouse Tee incorporates Mickey's image within the graphic of the pulse of a star. That's appropriate given few stars have made bigger waves than Mickey!


This is Disney's photo.

Hook confirmed that he had not given permission for Disney to use the image, adding that it was a legal grey area. "From a legal point of view, the image is in the public domain, as Disney know and, in a funny way, it's quite a compliment for a huge conglomerate like Disney to pick up on a poor little Manchester band that only existed for a couple of years, it's quite startling," he commented. "I'm amazed they're that hard up that they need to prey on little indie bands,
...
The bassist added that though he spends a chunk of his time "policing" Joy Division bootlegs, all he usually required was that wannabe bootleggers made a contribution to an Epilepsy charity in memory of Ian Curtis and called on Disney to do the same.


Joy Division do not get asked for permission nor do they or their charity make any money from this T-Shirt but Disney will sue a shop for printing children's pictures on a cake? If Disney like to control their creative work to such a huge extent why don't they obey the same rules for others work?



'I hope that [Disney] will be as understanding when we start doing Donald Duck shirts' said Hook


From Wesley Morgan Paraham here
*edit "A representative from Disney says, "As soon as we became aware there could be an issue, we pulled it from our shelves and our online store to review the situation further.""

Friday, January 13, 2012

Teach Yourself Synaesthesia


Can you teach yourself synaesthesia?
A form of synaesthesia in which people experience letters or numbers in colour may be trainable. The discovery could shed new light on how such traits develop.
Synaesthesia is thought to have a genetic component, but some people have reported synaesthetic experiences following hypnosis, so Olympia Colizoli at the University of Amsterdam in the Netherlands, and colleagues, wondered if it might also be possible to acquire synaesthesia through training.

To test the idea, they gave seven volunteers a novel to read in which certain letters were always written in red, green, blue or orange (see picture). Before and after reading the book, the volunteers took a "synaesthetic crowding" test, in which they identified the middle letter of a grid of black letters which were quickly flashed onto a screen. Synaesthetes perform better on the test when a letter they experience in colour is the target letter.

The volunteers performed significantly better on this test after training compared with people who read the novel in black and white.

The findings suggest that natural synaesthesia may develop as a result of childhood experiences as well as genetics, says Colizoli, who presented the findings at the Forum of European Neuroscience in Amsterdam last week.


I liked the idea of training myself to have Grapheme → color synesthesia. It is is a form of synesthesia in which an individual's perception of numbers and letters is associated with the experience of colors. Nabokov had this, he wrote in Speak Memory "Since a subtle interaction exists between sound and shape, I see q as browner than k, while s is not the light blue of c, but a curious mixture of azure and mother-of-pearl". Training yourself to be a poundland Nabokov sounded cool so I wrote a script to do that.

A quick look at stack overflow lead to this question "Changing color of every “r” in html document and I copied Boldewyn's answer. There is probably a better way to do it. If I find it I will post an update.

Warning the ColourChange script which I put here is a greasemonkey script that will make the web look like a geocities Christian site circa 1996

// ==UserScript==
// @name ColourChange
// @namespace http://localhost
// @description change the colour of characters
// @include *
// ==/UserScript==

var body = document.getElementsByTagName("body")[0];
var html = body.innerHTML
.replace(/(^|>[^<a]*)([a])/g, "$1<span style=\"color:red\">a</span>");

body.innerHTML = html;
var html2 = body.innerHTML.replace(/(^|>[^<o]*)([o])/g, "$1<span style=\"color:violet\">o</span>");
body.innerHTML = html2;


If people want me to and I remove any bugs I will stick the script up on userscripts to make it easier to install. If you survive the web via the medium of nyan cat let me know.

Many musicians are Sound → color synesthestic Leonard Bernstein, Franz Liszt, Rimsky-Korsakov, Pharrell Williams and Stevie Wonder for example. Mnemonists with extraordinary powers seem to also associate sound with colours. like Solomon Shereshevskii in Luria's A Little Book About a Big (Vast) Memory. One of my favorite bands of last year was Colourmusic though so because of their name, their epic beards and mental videos here is one of their songs


I have set the synaesthesia script to colour a and o as these are letters I mix up. I also mix up p and b but I'll write a script for that if the vowel one helps. I was tested as a kid for dyslexia but they decided I was just stupid.

You could change it to match Dee Adams or Cassidy Curtis or whatever colours match up to letter for you. If you install the script using greasemonkey or you want to and need a hand doing that let me know.

Wednesday, January 11, 2012

The Irish Religious Copying that Saved Civilisation


Sweden Formally Recognizes File-Sharing as a Religion
The Church of Kopimism, whose principal tenent is the right to file-share, has been formally recognized as a religious organization in Sweden...
“For the Church of Kopimism, information is holy and copying is a sacrament,” it said in a statement.

This is a pretty good troll but more weirdly there is a history of religious copying in Ireland. One that we may have to thank for western civilisation.

How the Irish Saved Civilisation (on amazon for $8) ultimately argues that it was the Irish love of copying books that saved much of classical literature and combined with their spreading these copies as they set up new monasteries allowed an ember of literacy to be saved until the renaissance reignited it. During the dark ages after the Roman empire fell Irish monasteries with their book copying scriptoriums were one of the few bastions of literacy left in Europe.

This book is full of good anecdotes. For example that for her near contemporaries St Brigid's most famous miracle was performing an abortion.
"Brigid makes the fetus of a nun (whose womb had "through youthful desire of pleasure, .. swelled with child") magically disappear ("without the coming of birth, and without pain")"

I think the book places too much emphasis on St. Patrick and how he converted the Irish to Christianity. I always got the impression St Patrick was sort of a Arthur Guinness character. Used after his death by a giant corporation to try and sell their product to the locals. They both even have a celebration day. The Beer Nut has a great post "Interlude" that goes into the political machinations that went into the creation of the St. Patrick story.
It was a turf war: plain and simple. The independents had all been swallowed by the Big Three who were now each using the political influence they'd garnered along the way to try and crush the other two. The prize was total national dominance of the market, and a hefty slice of the action abroad where the product had been zealously pitched to a receptive customer base, building up a lucrative following among locals and ex-pats alike.


The thrust of the books argument about how the copying Irish rescued the western cannon comes from Columcille. He had a major brain erection for copying any books he came across.


On one occasion when he was at the monastery of Moville he came across Finian's book of the Psalms. Colum Cille decided to copy it secretly. He did, and when he was brought before King Diarmait who was to decide who was the rightful owner of it, Diarmait made his famous decision: “To every cow its calf and to every book its copy”. This might be regarded as the first copyright case in history! Later fighting broke out about the decision. After a battle for it Colum Cille got it back and it has since been known as the 'Cathach' or Battle Book. Colum Cille went into exile as penance and landed in the island of Iona in 563 and there he established his famous monastery


From here "he made one hundred fifty monks the cutoff number for the Iona community, and after they exceeded that, twelve and one monks would set off to establish another foundation in a new setting". These new monasteries would take copies of books with them and produce new analysis and in doing so spread literacy back into Europe. For example "More than half of all our biblical commentaries between 650 ad 850 were written by Irishmen".

I think its fascinating that Colum Cille's 150 monastery size number from the sixth century is the same as Dunbar's number. "Dunbar's number is suggested to be a theoretical cognitive limit to the number of people with whom one can maintain stable social relationships. ... No precise value has been proposed for Dunbar's number. It has been proposed to lie between 100 and 230, with a commonly used value of 150". Colum Cille was obeying modern social network theory in his monastery rules.

Ultimately I think the dark ages are a rorschach test, we know so little about them that the flimsy evidence can be used to argue any point you want to make. For example 'How the Irish saved civilization? By blogging it.' is a blogpost that argues the point that what the book proves is that blogging and such intellectual mashups are what preserved the culture.

While on the subject of dark ages Irish Monasteries "The secret of Kells" is a great film on this era

How the Irish Saved Civilisation is an interesting quick read. I was not convinced that literacy and the classics would not have survived the dark ages without Ireland. But I do think the lesson that we should copy and distribute our really important information around if we want it to be preserved when the barbarians break through the gates is an important one. It is easy to laugh at the Swedish Kopimism party but remember that an Irish monk who was willing to ignore the courts, go to war, murder and got banished from his country to copy things may have saved civilisation.


*The Taoiseach mentions the effect of these monks in his speeches 'In the sixth century our monks 'colonised the minds of Europe', rescuing the continent from the Dark Ages.' but he doesn't mention they were banished partly due to copyright restrictions.

Monday, January 09, 2012

Peak Farmer


In what year will the most farmers ever be working? We reached peak baby in 1990 and peak manufacturing employee slightly later.

Mass employment in manufacturing just isn't coming back
'I estimate global manufacturing employment to have been between 150 million and 200 million workers in 2002, with those numbers reflecting a global decline of 20-30 million manufacturing employees in 2002 compared to 1995.'

You can never tell exactly what the future will hold but with the increasing use of robots points to reduced manufacturing jobs for example "Foxconn to rely more on robots; could use 1 million in 3 years". Agricultural employment as a percentage of total employment has been declining since the industrial revolution. The percentage of Americans employed in agriculture has dropped from over 90% at the time of the American revolution to around 2% now for example.

The UN says peak rural population will be sometime between 2020-2025. "However between 2020 and 2025, the total rural population will peak and then start to decline," and "Global rural populations will peak in the 2020s, leading to mass abandonment of rural lands.(Data Source: UN Dept. of Economic and Social Affairs, Population Division)". Not all rural people are farmers and I think the proportion of farmers amongst rural dwellers is decreasing. If the figures of peak rural population being sometime 2020-2025 then that means the most farmers that will ever be living will occur sometime before 2020.

The first time in human history since the agricultural revolution that most people were not employed as farmers would have been some time before urban population passed rural population. The World Population Becomes More Urban Than Rural in around 2007 so we are not long past the majority of people being farmers. 'Agriculture still accounts for about 45 per cent of the world’s labour force, or about 1.3 billion people' according to this 2007 report. Until recently most people were farmers.

The world continues to urbainse, farms continue to mechanise and population continues to rise slower than it used to. All this means that sometime before 2020 farming will become globally a declining employer. If total farming and manufacturing jobs are declining and transport jobs could do the same soon that means we will have to find new things for people to do.

This prediction of declining numbers of farmers globally sometime around 2020 is one that someone with better google foo could disprove quickly, if you can please correct me in the comments.

Wednesday, December 28, 2011

Most Popular Posts of the Year

Thanks to everyone who read and commented this year. The most popular posts this year were

Search Engine Deoptimization 16,000 Pageviews. Many people seem to dislike Ryanair and weird legal rules.

Eurovision Voting Fraud 5,500 Pageviews. A rather glib post from 2010 about human rights abuse that got popular when Azerbaijan won the Eurovision.

My favorite posts were

The Dead Zoo Dodo Get Anto the Dodo back to the public. Anto has set up a twitter account

The Kilbrittain Whale. This tourist attraction is brilliantly unhinged.

Wednesday, December 21, 2011

My favorite books read in 2011

Books really are kind of magic aren't they? Here is the ones I read this year that changed the way I think and turned me into a different person at the end. All for ten euro and a few hours of my time.

My favorite book was Moonwalking with Einstein. Without memory what would we be? This is a great diverse book on a really interesting topic.


Don't sleep, there are snakes. There is so much in this book from Language to God to child rearing to self sufficiency. It is just fascinating to read about people who see the world completely different to us.


The rational optimist nearly everything is getting better. This book left profoundly optimistic about the future. This is the book I have tried most to persuade my friends to read most this year.

Selfish reasons to have more kids. This book goes through the evidence that once your not an awful parent (one who would be refused an adoption for example) you really don't make much difference to your kids. It is actually a profoundly optimistic argument as this means you don't need to spend your time doing things you dislike to shape your childs path as by the time they are 18 they will end up where they would have anyway. It uses evidence from identical twin adoption studies to show how little parents need to worry about religion, education and all the other things they break their hearts worrying about.


The Great Stagnation By Tyler Cowen. We should have dinner in a pill, Optimus Prime, hover boards and lasers that turn dolls into women by now. Why don't we and what can we do about it?



Next year I plan to read mainly fiction. This year In cold blood by Capote was the one piece of fiction I read that I am sure will stay with me. Everyone says it is great and everyone ain't wrong.

Close but not in my very favorite books were fever by Shah, Adapt by Hardford, What technology wants by Kevin Kelly, Red Plenty by Francis Spufford, Gutenberg, race against the machine, good omens, the unbearable lightness of being, How the irish save civilisation and Launching The Innovation Renaissance by Alex Tabarrok, popular crime by Bill James

Sunday, December 18, 2011

How much would a driverless taxi cost?

This is a post where I do a back of the envelope estimate of when we'll see driverless cars, what will they do to taxi costs and what will that do to unemployment.

There are several estimates to when driverless cars will arrive. The New York time estimates 2020.
Self-Driving Cars
By 2030, Sebastian Thrun predicts, more people will use self-driving cars in their daily commute than manually driven cars.
Submitted by Sebastian Thrun, developer of Google’s self-driving car.
Our readers predict this will occur around 2020, having moved this date 1381 times.

Many similar bets of Driverless cars being regular enough in 2020 and ubiquitous in 2030 exist for example here,
By 2020 - Driverless cars are commercially-available and street-legal somewhere in the United States.
By 2027 - New driverless cars outnumber new cars requiring at least some human control, in the US market.

and here
By 2019, it has begun spreading to public roads, with significant numbers of driverless trucks appearing.

and here
In my post last week, my commentors took me to task on my prediction that cars will drive us in ten years. Some thought Americans would wise up and learn to love mass transit. They don't know Americans.

Others thought the hardware cost would even in ten years remain out of reach. Google did not build an autonomous car by creating the hardware but by harnessing and training good machine learning algorithms. No amount of hardware would have given you a car able to navigate the streets of San Francisco five years ago.


What effect will these cars have? There are all sorts of ideas about how they will alter parking and car ownership. I'm going to try do a back of the envelope here on how much Taxi fares will cost if you don't have to pay the driver.

Taxis cost about 120 cent for a kilometer

For each additional 1/6th of a kilometre or time 28 seconds)

(a) Day time 8am to 10pm €0.15
(b) Night time 10pm to 8am €0.20
(c) Sundays, Public Holidays, Christmas Eve and New Year’s Eve €0.20

Ignoring the pick up costs of about 3.40.

The AA says it costs around 25 cent per kilometer to drive a car in Ireland. About 25 pence per mile in the UK. Taxis charge 1.20 so the majority of the cost looks like the driver. You would have extra costs on top of a normal car with a commercial vehicle. But given the pick up costs a driverless taxi could be about a quarter the cost of a taxi with a driver.
The price elasticity of demand should allow an estimate of how this will alter taxi usage. This paper "Estimation of Price Elasticity for Taxi Services in Hassel" gives a PED of -2.644. Though others such as Schaller at -.22 and here of -.6 shorter term. Taxis that cost a quarter the current price with a PED of -2.6 would mean about ten times the number of taxi journeys. The long term viability of public transport should take this possibility into account. If by 2030 people will be taking ten times the number of taxi journeys would enough people be using Metro North to make it cost effective?

Transport employs nearly one hundred thousand people in Ireland. Which is about 1 in 20 people who have a job here. Or about a third of the number of unemployed. I doubt everyone who works in transport will lose their jobs overnight. But taxis provide an example of how economic effects could provide a huge incentive to move to driverless cars. So far technological progress has always eventually resulted in new jobs to replace old lost ones. The money people save getting into town for a night now could end up being spent in town and require more employment in restaurants and bars for example.

But I think it is worth considering the possibility that fairly soon we could have nearly a hundred thousand people who earn a decent wage at the moment becoming unemployed in a short period of time. Construction lost 160 thousand people in three years. Transport jobs do not pay as well as construction did. But if the construction change caused most of our current economic issues it would be unwise to ignore a large sudden future change in transport employment.

To put some skin in the game, I am predicting that in 2025 in a period of three years we will see structural unemployment of about 5% of the workforce, half of those that work in transport.