My home page
Thursday, 19 March 2015
We now have good encrypted means of communication that allow people to talk with each other in complete confidentiality. But can we be confident that the messages we are receiving are true? Making a message secure and ensuring that it is not a lie are independent problems. We have only solved the first.
I just saw Buzz Aldrin on the TV (run with me here...) and thought, "He seems pretty lively for an oldster." So I got out my phone and asked it how old he is.
"Buzz Aldrin is 85 years old," it said to me. I am reasonably sure that it wasn't lying, and - if I were to go online - I could find multiple independent sources that would allow me to confirm his age. Their independence assures me that 85 is almost certainly the correct answer. It would require a conspiracy of Kennedy-was-assasinated-by-NASA-during-the-moon-landing proportions to think that all those sources of information had been got at and that I had been lied to.
And the answer 85 was given to me by a machine that understood my question. No human being (apart from me) was involved.
So how about an online document checker that scans texts and tells you how likely they are to be true? It would use the multiple-independent-sources technique to work up a score. It could give you an overall statistic ("This is probably correct at a level of 93%."), and it could rate individual statements for both accuracy and uncertainly.
Thus if my document said:
Buzz Aldrin is 85. My father was 31 years old when I was born. The moon is 6000 years old.
I'd get a correctness level of around 50% and an uncertainty level of around 30%. (The first two statements are true and the second is false. But the system would obviously have much more trouble verifying the middle statement than the other two.)
Your document would come back coloured:
Buzz Aldrin is 85. My father was 31 years old when I was born. The moon is 6000 years old.
so you could see at a glance what to believe, what not to believe, and what needed further investigation.
Whenever you got a communication from a lawyer (or - if you are a suspicious sort - a lover) you could fire it at the system and see what colour it came back
The system could crawl the web, paying particular attention to advertising copy, political manifestos, and estate agents' property descriptions. Then - if you selected the TRUTH option in your browser - whenever you visited a website it would be pre-coloured for you so you could see if it was all lies...
Saturday, 28 February 2015
As I have indicated elsewhere around here, I give E.M Forster's number of cheers for democracy. But the forthcoming UK General Election reminds us all of the lamentably intermittent and indirect democracy that we actually have. On one day in five years we each get an 0.00166% choice of a person to represent all of our views. If we each have - say - one view per week, that means that we have only 0.000006385% of a democracy. Spitting in a puddle would give us a greater say.
Also, that tiny amount of choice cannot even be expended on candidates of any great merit. If you were ever a student, think of the strange fellow students you used to know who were members of student branches of political parties, or who stood for election to the students' union. They are the ones standing for Parliament now. Did any of them seem normal to you then? No. I thought not. (With the possible exception of the Rag Strippagram Coordinator.)
However, it's no use moaning about it, just as it's no use voting about it. We have to fix it. And - if history teaches us anything - it teaches us that the only way to fix something is to create and to spread an appropriate technology to do the job.
So how about a very simple Democracy App for your phone? It would work as follows: every time the Division Bell rang in the House of Commons or Lords your phone would beep and the motion would be displayed. You would vote "Yes" or "No" - or go back to sleep. The results would be added up and then displayed on a website, along with how the parliamentarians voted.
The big trick is not to try to make the electronic vote binding. Instead separate the making of a decision from the mass expression of an opinion on it, while tying the two together very tightly in time. That way the self-interested and self-perpetuating decision makers get no say in whether the App is implemented or not.
Things get interesting if a lot of people use the App and disagree with Parliament. Firstly, journos would pick up on it and start to quote the stats: "MPs vote three-to-two in favour, but the public are three-to-one against." That sort of thing.
Secondly, at the moment if 100,000 people sign a parliamentary petition, then the issue gets debated in Parliament. Well, if the majority of Democracy App users who disagreed with Parliament exceeded 100,000, the system could automatically generate a petition to reconsider the vote and invite all those app-users who disagreed to sign it.
Thirdly, the whole idea of direct participation and electronic referendums on every important matter would gain currency, and the technology could be bedded in and made robust before any actual use in direct decision making was considered.
There are a few technical requirements that the Democracy App would have to meet. Both the server and the client sides would have to be open-source, so that people could check that there was no skulduggery going on in the counting. The App would have to be a free download, and would have to carry no advertising to avoid any accusations of bias towards the better-off or bias towards piper-payers. And finally votes would have to be encrypted in memory when the App was running and end-to-end encrypted and routed through Tor in transmission so that they were anonymous.
My whole Democracy App idea is necessarily expressed in the terms of the Parliament with which I am most familiar. But it would clearly work in any legislature where votes are taken, and many of them are democracies in name only. Citizens of such places are the ones who most require anonymity.
The system would also work at all levels of government from lowly parishes, through county councils and parliaments, right up to supranational bodies such as the EU and the UN. It could also work in the corporate sphere, connecting votes by boards of directors directly to workers and shareholders.
The needed security technology is pretty widely understood, as is the writing of apps themselves.
Go to it, software engineers!
Monday, 23 February 2015
Wednesday, 10 October 2012
A while ago my brother put on some music after dinner. "Who?" he asked me.
"Ashkenazy," I said.
"Correct. Page turner?" he asked...
Of course it was terrible musical snobbery for us both to know implicitly that he was asking for the performer and not the composer (Chopin, as it happened). And his subsequent question made me laugh for a long time. Perhaps we had drunk too much wine.
But every musician needs a page turner, or there is that annoying half-second pause as one hand flies from the keys to flip.
There are, of course, page turner apps. But as far as I can see they all rely on foot pedals.
However tablets have microphones. It can't be hard to write a program that analyses the sound stream, matches it to a score, and then turns the page automatically...
Tuesday, 8 May 2012
James Lovelock and Richard Dawkins famously disagree over Lovelock's Gaia Hypothesis.
Dawkins' extremely strong counterargument against Gaia is that natural selection works at the level of the gene, and that it doesn't have any foresight to anticipate long-term planetary disaster in the face of an immediate pressure to select for a locally advantageous mutation. As a counterexample to Gaia, there are the cyanobacteria. They all but destroyed the Earth's entire ecosystem just after it first got started by dumping billions of tonnes of poison waste (oxygen) into the atmosphere. And, of course, one counterexample is enough to disprove a hypothesis.
However, most of the evidence we have seems to support Lovelock. For example, the sun has been getting steadily hotter, and yet conditions on Earth have been maintained more or less homoeostatically by the collective undirected actions of all its living organisms. Lovelock simulated a self-regulating world of light and dark daisies (called, naturally, Daisyworld) that exhibited self-regulating temperature even though the participating organisms were only acting in their immediate self interest. But this did not include a mutation that had an active interest in disrupting the homeostasis - something that is always a possibility in reality.
When he was working for NASA, Lovelock pointed out that a good indicator of life on another world would be (as it is on Earth) a surprisingly low-entropy state on its surface. As an example, consider the oxygen again - oxygen is a highly reactive gas (hence its toxicity to primordial life); one would not expect unaided geological processes to create such a low-entropy atmosphere. If we ever find an exoplanet with an ocean of molten sodium on its surface, we can be tolerably confident that that planet supports life.
One thing that all life needs is low-entropy. You eat bread, which has a low entropy, and your subsequent living actions dump the energy in your bread as waste heat, which has high entropy. In that way you, and all other living organisms, are behaving just like the steam engines of the nineteenth century which led thermodynamicists to the idea of entropy in the first place. And when you plant a field of wheat for bread, you are contriving symbiotically with the wheat to use the Sun's energy locally to reduce the entropy of a part of the system.
Indeed, it is in the interest of all living organisms to have low-entropy surroundings. That makes their life most easy to conduct (it is more-or-less equivalent to saying that they need a plentiful local source of food, clean water, and breathing air), and genes that cause them to create such a state in their local surroundings will - all other things being equal - be favoured. Ants grow fungus farms for food. Plants encourage symbiotic micro-organisms around their roots. Spiders make larders in their webs.
One of Dawkins' great contributions to biology is the idea of the extended phenotype. That is, the idea that genes can be selected for that drive organisms to alter their surroundings for their benefit. Birds have genes that allow them instinctively to build nests - a nest is part of a bird's extended phenotype. People have genes that allow us to converse, and hence to collaborate. The results are our extended phenotypes of iPhones, power stations, and TV talent shows.
But - as we established above - there is a selection pressure on every living organism to reduce the entropy of its surroundings. Genes will have been selected in all living things to cause them to try to create local extended phenotypes of such surroundings. None of this is global; no organisms (not even we) have evolved to stabilise the planet. But the collective effect of all the local attempts to reduce entropy is exactly the Gaia that Lovelock proposed. It is not a globally directed effort by each individual (let alone each individual gene), any more than a water molecule in a steam engine is trying to make a flywheel go round. But the collective unconscious action of all the water molecules is, nonetheless, to achieve precisely that. And the collective unconscious action of all organisms is to create a global low-entropy environment.
Dawkins would correctly argue (I think) that given global low entropy created by Gaia then there is a selection pressure on organisms to exploit that as a whole, thus destroying it in a tragedy of the commons. And that is precisely what the cyanobacteria did.
So the question that remains is: why are cyanobacteria events so rare? The answer is Dawkins' own Mount Improbable. An organism that mutates to exploit low entropy in general must do so locally at first by a small mutation. And almost all those organisms suffer the usual fate of over-successful predators: they eat too much of their immediate surroundings and then starve. For random change to generate a mutation that allows excessive exploitation on a global scale in a singe shot is an astronomically improbable event. But it happened once with the cyanobacteria. However, they didn't quite destroy everything, because they had a direct line to the Sun itself, and so they could survive the disaster they created. Any organism without such a get-out-of-jail-free card would succumb to the predator starvation effect, and so leave pockets of other life (along perhaps with themselves) to start evolving afresh in balanced competition.
So Gaia is not a globally-directed system with a homeostatic purpose. It emerges naturally as the result of all living things trying to reduce the entropy of their immediate surroundings using the power of the sun for their own benefit. And Gaia is not proof against global cataclysm, nor against very very rare mutations that allow a single organism to exploit the system as a whole and thus destroy it.
For the first time in two billion years such a new species has emerged. It also has a direct line to the Sun. It is the species who's extended phenotype includes making these out of the bare earth...
Monday, 10 October 2011
It is beyond argument that democracy is the best form of government that humanity has implemented so far. It may not be the best possible form of government (see here, for example), but it's the best we've tried. Democracies are the richest societies on Earth; their populations have the longest life expectancy; and they have the worst immigration problems (which is another way of saying that everyone else wants to live in them).
But there is a superficial paradox: democracies are intrinsically inefficient compared to, say, dictatorships in the same way that a mob is less efficient than a disciplined army, and for the same reasons. So why should an inefficient form of government work best? The obvious answer - that government in itself is a bad thing and that less of it is therefore better - falls at the first counterexample: Somalia has no government at all, and it is one of the most unpleasant places to live in the World.
Democratic politicians are no less venal and corrupt than politicians working in other forms of government (read any newspaper for proof); indeed it is reasonable to suppose that much the same people would be running the government regardless of the political system under which they found themselves operating. Think of any minister in your government and visualize him or her serving under Robert Mugabe ("I think it's best to work for change from within."). It's not a big leap of imagination, is it?
No. The reason that democracy works is not because it puts the right people in government. There are no right people to be in government because no human being - you, me, Barack Obama, Wen Jiabao; none of the seven billion of us - has the faintest idea how to run a country. (We merely all have opinions about how it should be done, which is not the same thing at all.) The reason that democracy works is because it has a solid mechanism for removing people from power.
Having no government is bad (Somalia). Government by the same people for a long time is bad (Zimbabwe). But high turnover among governors is good.
It follows that, in an election, we should all ignore the record of the incumbents, we should all ignore the policies of the candidates, and we should all ignore their personalities.
We should simply vote in the way that is most likely to remove the current lot (whoever they are) from office.
Friday, 7 October 2011
There are two main evolutionary theories of altruism: Fisher, Haldane and Hamilton's idea of kin selection, and Trivers' idea of reciprocal altruism.
Neither of these theories is mutually exclusive and both may operate together. I would like to propose a third that may also be operating.
It is this. Your fitness is increased if you associate with altruistic people, whether you yourself are altruistic or selfish. In the latter case the others may well find you irritating, but even then - all things being equal - the others are less likely to act against you than more selfish people would. Thus we would expect all individuals to seek out altruistic company.
People are inclined to have children with those with whom they associate, simply because of opportunity. When altruistic people have children with other altruistic people that will tend to reinforce impulses towards altruism in their children (though we should be cognizant of the regression to the mean). And when selfish people have children with altruistic people, that will tend to dilute selfish impulses.
Thus we should expect altruistic behaviour in the population as a whole to rise in response to the statistical effect that everyone is more likely to have children with altruistic people than they are with selfish people, simply because of the breeding opportunities provided by the ubiquitous preference for association with the altruistic.
This principle does not just apply to altruism and selfishness. For example everyone - whether well or ill - will have a preference for associating with people who are well because the associators will then be less likely to catch something nasty from the associatees. Thus we should expect disease resistance to rise, even above the rise that would be expected anyway simply because disease resistance is in itself intrinsically evolutionarily fitter.
Thus, let X be a characteristic possessed by animal A. If, by associating with A, animal B increases its fitness regardless of whether B possesses X or not, then we would expect the proportion of X in the population to increase.
Note that I said "animal" - animals are motile and associate voluntarily. This principle should apply to any organism that can move about and decide who its friends are, and it will apply particularly strongly in social species (us, say, or bats). But plants, for example, and solitary animals (leopards, say, or polar bears) will be much less likely to exhibit the principle.
I have decided to call this selection by associative opportunity.
Wednesday, 28 September 2011
Some professions seem highly heritable. Think of the number of famous writers and actors whose parents did the same thing. Though less publicly obvious, engineering is a highly heritable profession too. (Anecdotally, I am an engineer and my father was an engineer, as was my maternal grandfather.)
And yet, no one seems (i.e. I did one Google search...) to have studied this. There are - literally - gigabytes of public records in the form of marriage certificates in the like that simultaneously record the jobs of both parents and their children, so it ought to be straightforward to rank professions by their heritability. There would probably be a bias towards father/son relationships that would mirror the inequity in job opportunities in past ages (and today...), but it ought to be reasonably straightforward to control for that in such a large statistical sample.
A ranking of professions by heritability would serve as rich basis for all those entertaining nature/nurture arguments about human characteristics, as well as for some serious genetic and developmental studies...