Wednesday, May 28, 2008

Logic attack

Reasoning with First order logic can be hard
“Unfortunately, a more complex algorithm can get caught in infinite loops that are known to be impossible to guard against completely. (to be more precise, it is NP complete)”

This means that is someone creates a new web app. “Do I really think this?” where you input your beliefs. “Grass is green” “cows eat grass”->output “Cows eat something that is green” you can attack it.
“Denial of Service via Algorithmic Complexity describes Attacks“. Where by sending data that they know has worst case analysis time (eg. a sort in exactly the wrong order, entries that hash to the same bucket) an attacker can massively slow down your system.

First order logic decisions are NP-complete. In the same way as hash tables can be attacked if a system reasons about first order logic maliciously crafted inputs could be used to tie up the systems resources.

Tuesday, May 20, 2008

Everything Tube

Youtube takes in videos, allows you to easily add them to your blog. There is some searching and idiotic comments on the site but the big deal is

1. Take in data
2. Store it forever
3. Make it easy to embed in another website

What other kinds of data can this be done with?
1. Chess viewer
2. Chemicals viewer
3. Music
4. Other games draughts, dice games etc
5. Sound
6. Knitting patterns
7. Aresti aerobatic symbols
8. Dances
9. Motion/gesture
10. CAD
11. Electronic design
12. Crystallography
13. Knot diagrams
14. All sorts of physics notations. None of which I understand
15. weather data
16. Molecular biology
17. Biomedical data, ecg’s stuff like that
18. Astronomy
19. Astrology, tarot cards, homeopath recipes, crap like that
20. Surveys. Caves, mountain routes etc
21. Graphs. Google Chart kind of does this already.
22. Maths functions
23. Knowledge representation. Take in a decision tree in Yaml format and turn it into a visual tree graph.
24. Seismology

The idea is to make a "tube" website that takes in some data and makes it easy to add visualisations of it to your website. The data is already online, or at least easily placed online what youtube did was make it easily viewable. Searching on your tube website is important but the first thing to do is get it so people can show their data on their website. So what other "tubes" would be interesting/useful? Please comment your thoughts

Sunday, May 18, 2008

Bizzarre fruit

I bought a dragonfruit the other week. The next day I bought another weird fruit and the next...Nature, capitalism and immigration have brought in loads of these weird fruits into Ireland. Things you could not have bought 5 years ago. The same has happened with beer and loads of other foods. There is something very simple about fruits though, you just cut them open and eat no preparation is needed. You also realise that this is just how nature produced it with almost all other products are massively processed. So I have started a weird fruit odyessey, it is a small quest but it is fun.

Here is what I have tried so far
Sapodilla is like a sweet dry pear
Cherimoya is like a creamy melon
Sharon fruit- really nice
Dragon fruit
kumquat
bananito
plantane
passion fruit
figs- Fig rolls really do a lot with their core ingredient
Giant Chinese pear
Chow chow -I have no idea what this is but it tassted like it needed to be cooked
sour mango
prickly pear- First cactus I have eaten
Guava-Melon like not that guava tasting
papaya

Thursday, May 15, 2008

Ulysses Pact 2

The medical definition for this is
Ulysses Contract
Declarations by patients, made in advance of a situation in which they may be incompetent to decide about their own care, stating their treatment preferences or authorizing a third party to make decisions for them. (Bioethics Thesaurus)
This paper discusses the issue in relation to mental health.

How bound are you to your past self? Could you shoot the 50 year old conservative who as a tied dyed in the wool hippy 30 years previously wrote “If I ever vote republican please kill me”? If you are not bound to a contract by yourself of many years ago then how come there are 30 year mortgages?

There is a website here. Where people put quantifiable ambitions out in public. Keep wight below X, Make Y steps every day things like that. Are there common usages for Ulysses Contracts (not just the current cognitive health ones) that you could provide on another website? Is there a measurable way people change their thinking in response to an event that they could agree before the event to avoid?

Tuesday, May 13, 2008

Ulysses Pact

Some time in the future you might be crazy. You might decide to scupper your boat on some rocks because some moistened bint persuades you to. Now if you tell people to ignore you when you go crazy you have entered a Ulysses pact.
An example of this is someone making a living will in case they get dementia or car crashed into a coma where they won’t really be able to make decisions for themselves anymore. But what other events lead to known changes in cognition?

“How Daughters Affect Their Legislator Fathers' Voting on Women's Issues "Parenting an additional female child increases the propensity of a member of Congress to vote liberally on women's issues, particularly reproductive rights."”
Could conservative voters enter into a Ulysses pact with a politician that if he has a female child he cannot alter his votes on reproductive rights? I am not saying here that liberalising your opinion on this topic is a bad idea just that it may not match the preferences of those who voted you into office.

Kuhn was of the belief that old scientists never really accepted new theories and in fact delayed the acceptance of new ideas. A Ulysses pact of “ignore the old people who invented the last theory” is probably too vague.

In what other areas do people bias their decision making in response to certain events?

Tuesday, May 06, 2008

The return of smoking

“Tobacco Farming
Projected employment decline: -18.6%
Projected revenue decline: -16.9%
Projected output decline: -11.7%
Pity America's tobacco farmers. First they weather the decline in smoking among U.S. consumers, now they face lower prices from foreign competitors. The Feds dropped tobacco-price supports in 2005, forcing farmers to diversify or find another line of work.
The economic projections continue on an abysmal trend: From 2000 to 2007, tobacco farming revenue fell by more than 50% as output declined by 41.6%. If only tobacco farmers could find a way to convert their crop to ethanol ... “

What if smoking was not bad for you? Or at least not as bad.

“For example, a 1998 Lantz, et al. study in the Journal of the American Medical Association of 3,600 adults over 7.5 years found large and significant lifespan effects: a three year loss for smoking”

Three years is less then I would have thought, what if this was reduced further. Say three reasonably unlikely things happen

1. Smoking + Virus causes cancer. HPV and measles are linked to lung cancer. “While the specific viruses at issue -- human papillomavirus (HPV) and measles -- may not directly cause lung cancer, they seem to aggravate the negative impact of tobacco, American and Israeli researchers say” Then if we prevent measles and HPV infection this might reduce lung cancer rates.

2. Radiation
“In a person smoking 1 1/2 packs of cigarettes per day, the radiation dose to the bronchial epithelium in areas of bifurcation is 8000 mrem per year -- the equivalent of the dose to the skin from 300 x-ray films of the chest per year. This figure is comparable to total-body exposure to natural background radiation containing 80 mrem per year in someone living in the Boston area.”

This mp3 talks about how much radiation you get from smoking in comparison to eating bananas and other dangerous activities

The theory is that the phosphorus fertilizer used on tobacco is radioactive and breathing this in is bad. Maybe organic tobacco will be less unhealthy?

4. Genes
“First-degree relatives of lung cancer patients have a 2 to 3.5 times greater risk of developing lung cancer than the general population, and tobacco smoke plays a major role, even among those with a genetic predisposition” Genetic testing is halving in costs each year. So testing to see if someone is susceptible to lung cancer should get quite cheap quite soon. You could probably get an accurate test by asking “has any of your blood relatives died of lung cancer before the age of 70?” If the answer is yes make it more difficult for this person to smoke. This would reduce the amount smoking takes off the average lifespan.

I do not smoke and I always assumed less and less people will smoke in future. I could be wrong though. If smoking is made less dangerous it could become more popular again.

Sunday, April 27, 2008

Improving Books

One thing with books that most modern entertainment lacks is that you know when it will end. You can tell as you go through a book how much remains. This reduces the uncertainty present in the plot.

You could add empty pages to the end of the book. But these would be obvious. Adding complete gibberish would also be obvious even to someone flicking to find the last page number. You could generate more realistic text using a Markov model. Shannon generated fairly reasonable looking text with a simple algorithm. Markov models will create text that bears closer inspection though. It was used to generate postmodern critical analysis that got published without anyone realising it was nonsense.

So you train up your model on the rest of the book. Then get it to produce pages of text that without some study cannot be differentiated from the real books text. Then place these pages with the occasional *the end* in them after the book ending. The ending is marked with *the end*. Now the readers who do not go to a big effort cannot tell as they read the book how much remains.

Friday, April 25, 2008

Panic

I am not one to panic unnecessarily but I think the time has come to admit we are fucked. And not kind of fucked, fucked like a passed out rabbit wearing suspenders at a furvert convention. The seas will boil, locusts will swarm, dogs and cats will live together IN SIN.

We are running out of fig rolls

Hoards of middle aged Irish men will soon be wandering the aisles muttering to themselves in the guttural Romero growl “FIGS”

The next stage these shuffling zombies will start looting shops in search of their rolly fix

Mark my words society will collapse as the mid life crisis brigade start breaking into houses on the vague hope of finding fig rolls.

Wednesday, April 23, 2008

Green Reaper

I talked here about my eco burial idea. Turn out the concept is really popular.
The Americans seem to have gone all high tech.

Whereas the Australians stick you in next to some koalas and give your family your gps cordinates. I wish I had thought of calling the service "The Green Reaper".

I think if you want to see the carbon sink that is Ireland's bogs preserved you should buy a few metres cubed of it for your burial patch. A burial plot in Dublin costs about five thousand euro which would buy you a fair amount of bog.

Tuesday, April 15, 2008

Women will be size zero in 2130

“Proof seems to come in the form of shapely silver screen siren Marilyn Monroe, who everyone remembers wore a Size 12 during her 1950s heydays.

"That would be equivalent to a Size 6 today," attests Meryle Epstein, 42, acting academic director for fashion marketing at the Art Institute of Phoenix.”

So in about 6 decades there has been a six size change. That is one size deflation a decade. So now the average woman is a size 12 which means that in 120 years the average woman will be a size 0.

What can you tell about someone from their shoelaces?

I love in Sherlock Holmes films where he goes “Given the red dust on your feet I deduce that you have visited the island nation of PaiPai known for the poison…” So is there anyway to gain deductive knowledge of someone from something you usually ignore?

Take shoe laces for example. How much can you tell about someone by their laces?
Wired has a story here where it describes runners, skaters, hacky sackers and fashion victim lacings.



Americans and Europeans lace their shoes differently. So you can probably tell which someone comes from looking at their lacing. The American lacing is more efficient

There is a list of shoelace knots here. I have not seen any of these rare ones before. Possibly you can say anyone using a secure shoe lace has a careful disposition.

This site gives more possible lacings. Ladder Lacing This type may indicate the wearer has American military training



Shoe shop lacing

This is quick to do. Someone who walks around with this lacing is probably a bit lazy as they did not change the lacing after they bought the shoe and they had the shop assistant lace the shoe for them.


Display shoe lacing
The wearer took the shoe off display and bought it. Which means they probably have size 9 feet.


Army Lacing
“used by the British, Dutch, French and Brazilian armies (and possibly others)”



one handed lacing
The person probably only has one working arm



Lock Lacing
These and other tight lacings usually indicate one foot is longer then the other. I have noticed that the foot on the non dominant side tends to be longer but I have seen no evidence on this.



From this I have learned that you can tell a lot about someone from very small things and that there seems to be a site on the internet for everything.

Monday, April 14, 2008

Medical Phishing

There has recently been a reported attack targeted GP’s login information.
“A number of NHSmail users have recently received an email fraudulently claiming to be from the NHSmail team. The email asks users to send their name and password to an email address. Under no circumstances should you respond to any email or other form of communication requesting your password.”

This attack targeted GP’s and it is unclear how much patient data could be compromised from a successfully phished GP account.
Phishing for medical records is likely to become much more common as computerized access to medical records become more common. Google have announced plans to store medical information.
“Google Health aims to solve an urgent need that dovetails with our overall mission of organizing patient information and making it accessible and useful. Through our health offering, our users will be empowered to collect, store, and manage their own medical records online.”

Not that Google health has been targeted by phishers but being aware it is a potential target is important. Increasing patients access to their medical records also presents opportunities to phishers. The market for phishing bank details is obvious, who will buy medical records is less clear. But any information private that has value will be phished for and we should anticipate this when new information is made computer accessible.

Saturday, April 12, 2008

Alba saves the world 2

There were some charming responses to the my previous Jessica Alba post. What this analysis of the private provision of public goods did not include was what if Jessica Alba tries to create the public goods herself.

"Here's how we catch Osama bin Laden: We give him two backstage passes to Zeppelin, and he'll show up. We got him. It's like a world-changing event. That would get him to come out of the woods. "Osama, we have front-row backstage passes for Zeppelin at the [Madison Square] Garden!" He'd be like, "Fuck! Happy days are here again. I gotta go!""

In a similar way what could Jessica Alba demand in response for becoming bereft of her clothing? Consider some possible options.

1. Jessica Alba, A childrens paddling pool, 200 litres of custard and the scientist who cures cancer. Result: Cancer gets beaten like a ginger stepchild, possibly by a chick.

2. Jessica Alba will release naked pictures if the Arabs and Isrealis do not fight anymore. Result: A group of fundamentalist Buddists nuke all the middle east.

3. Stick your idea in the comments

I am not saying she could unite humanity in one joyful family but if any minge could it is hers.

Friday, April 11, 2008

Less fat a week in

A week off chocolate and beer and I have lost a kilo. I have figured that losing weight is not that a useful measure so I have decided to move over to using bodyfat percentage.

I currently measure 21.9% which is slightly less then a seal at 50%. 14% is a reasonable level but that is probably getting ahead of myself.

Anyway I have started doing pressups, situps and chinups in the morning to try get a bit fit. Nothing crazy like but I will gradually increase it as I go along.

Wednesday, April 09, 2008

Why would markets tend toward equilibrium?

“For the past 25 years or so the financial authorities andinstitutions they regulate have been guided by market fundamentalism: the belief that markets tend towards equilibrium and that deviations from it occur in a random manner” George Soros

There are all sorts of reasons based on human cognitive bias to believe that markets will not tend toward equilibrium. One fundamental reason is that virtually all systems of even basic simplicity do not tend toward an equilibrium position. Take a rock paper,scissors simulation

No equilibrium position will ever be reached.


A simple foxes and rabbits simulation I first say on a ZX spectrum in the early 80’s wont tend toward an equilibrium why would people think the desires and whims of millions of people will?

Monday, April 07, 2008

Olympic Politics

The French have had to extinguish the Olympic torch. Politics are being dragged into the Olympics, By the torch? The one of Goebbels invented?

"The modern convention of moving the Olympic Flame via a relay system from Olympia to the Olympic venue began with the 1936 Summer Olympics in Berlin, Germany."

Now as Nazi Symbols go the Olympic torch is a pretty good one, not as good as the Nazi's tailoring. Insane fucks they were but they were also really snappy dressers


While I am talking about Nazis why is everyone so shocked that FIA boss Mosley had an orgy with a bunch of hookers dressed as Nazis.


The 67 year old guy spent thousands and must have been taking Viagra like Smarties to get an erection in defiance of gods will and laws. After all that what do you expect him to get them to dress as, Feminists?

Sunday, March 30, 2008

Physical Computer Attack

Turns out the idea I had for a computer virus that physically attacks people has happened.
An epilepsy support forum has been targeted with flashing javascript. The whole attack is very sick. Still I think I was right for pointing out the threat. The warning could have lead the epilepsy forum to turn scripting off. I do not know how a migraine forum could prevent trigger images though.

Tuesday, March 18, 2008

Let me be the first to say Holy Shit

*THIS POST IS FALSE the silica hydrogen compound is a room temperature metal and a superconductor but not both at the same time*
I have talked about the possibility of of a hydrogen based room temperature superconductor here. As described in that article I believed a metallic hydrogen could produce a superconductor that would be such an advance as to be reasonably called a paradigm shift.

It turns out someone has made a room temperature superconductor using hydrogen. The pressure required for the compound is not practical. Now that hydrogen has been shown to have these properties more research into practical compounds will be encouraged. The area has recently seen another practical improvement. The first ambient at normal temperature superconductor has been reported in the last few days also.

So what does a room temperature superconductor mean? I have no idea, but it is probably the biggest innovation in electricity since *Nicolas* Tesla. It is something so odd that you are much better spending your time figuring out what do do with it then trying to think what other people are going to do with it. But to give one of a hundred possible examples, with a superconducting power cable you can produce electricity anywhere and transport it without loss. This would increase energy efficiency by over 30%*.

So my bet on what the maximum temperature superconductor by the end of the year is out by at least 110K. If you want to make a bet you can do it here.

*edit. You lose about 10% of electricity to power line loses and about 20% to disparities in usage between different times. You can smooth out these disparities by transporting the electricity during your night to someone elses peak demand time of day.

Monday, March 17, 2008

Why is there more business news then science news?

If almost all economic growth is caused by science why are scientific advances not reported in more detail then some change in bank shares? If science is going to effect the economy and our lives much more then sterling doing badly against a basket of currencies or even a basket of scampi then it should be reported.

For news media "five hours of viewing would yield 71 minutes of politics, 26 minutes of crime, 12 minutes of disasters and 10 minutes of celebrities. Science, technology, health and the environment received just six minutes of coverage (with health and health care accounting for half of that."

One possible way to help fix this is betting markets for science. These would provide
1. a figure on science that the public could understand. For example imagine a news broadcast
"the market odds for 5 degrees global warming in 50 years today moved up 2% to 95%"
2. Provide a way to hedge. Resource futures allow people to guarantee they will earn a certain amount for their produce. Science prediction markets can provide a similar hedge. A company owning port space in northern Canada could bet against global warming to guarantee a certain minimum income.
3.To subsidise scientific research. Scientific prediction markets would reward scientists for being right.

You could claim that scientific market would not provide any mew information as research companies already know this information. If they do the public could still benefit from this knowledge. If they do they are better predictors of science then they are of resource prices which seems unlikely. The market in science futures should be every bit as valuable as the market for resource futures. A coal market might help you plan for electricity supply in 10 years time but so can a market of superconductors or one on fusion power.
Saying there is no need for science futures because private firms carry out research is like saying there is no need for resource futures because private companies grow/mine the materials.

Anyway if you think scientific prediction markets are a good idea or a bad one you can make a prediction here

Friday, March 14, 2008

Giving up on music

This makes me look like one of the monkeys at the start of 2001AD but I buy CD's. Lots of them. Almost everyone else I know gave up on new music a few years after leaving college. But I keep wandering round shops with handfulls of laser readable processed dinosaur bones like some sort of animal. I do not own an Ipod, I dislike the idea of Apple chaining up my files so I just continue to fill my house with disks.

The desert sessions 9&10 arrived yesterday and it is the last CD i will buy*. I will not buy new music until the music industry stops trying to steal from me. They are currently trying to make the internet more expensive and have less freedom. It is immoral for the record industry to take money from me for pirating when I do not pirate. Is is immoral for them to take freedom from me. It is immoral for them to sue 14 year old girls. It is immoral for them not to give the money they made suing p2p programs to the people they were suing for. I am not going to fund this behaviour anymore.


*I will buy music from skint artists from their website Jape, David Kitt and Mumblin' Deaf Ro people like that.

Thursday, March 13, 2008

Is metallic hydrogen a black swan?

I have set up a prediction market for superconductor temperature here. One problem with this bet is black swan events

When betting on the price of gold or the score in a football match you know it is very unlikely to move outside certain ranges. Scientific knowledge does occasionally make huge advances though.

To take one example say someone creates metallic hydrogen at reasonable temperatures. This substance is estimated to have a superconducting temperature at near room temperature. Well 230 85 K but the upper end of this is at the level to completely change the world (with the huge assumption that the pressure metallic hydrogen existed at is practical).

In this case the prediction for the superconductor temperature is in two forms
1. Something similar to the current rate of change happens. A few degrees a year.
2. Something completely new comes along with really different properties (figure 2 here).


Metallic Hydrogen would not even be that novel. It has been modeled theoretically and we know people are trying to make it. Usually in prediction markets you have scoring rules that give out money/points based on how close to the answer you were. In these cases where huge changes have a reasonable chance of occurring these sorts of scoring rules might be unfair.

Say there is a 90% chance that research will continue along its standard path to 188K. Say there is a 5% chance that nothing will change. And say there is a 5% chance the maximum temperature will suddenly jump up to 270K. Does this mean that the market will sit at 193K? Will people in the lab who create a room temperature superconductor go out and bet heavily on their side moving the market (and making them money)? Will people ignore the black swan of room temperature superconductor and move the market to a “sensible” level? Humans do have a bias to ignore unlikely highly risky possibilities.

Could this bias make scientific prediction markets more profitable for those that create huge innovations?

Wednesday, March 12, 2008

Is anyone interested in science prediction markets?



I set up one to find out. Please go here and make a prediction. The bet is on what the highest temperature superconductor by January 1st 2009 will be.

You need about 20 predictions to have a reasonable estimate. Real money prediction markets have the advantage of giving a greater incentive to be correct. I think it would be funny to have physicists in finance doing physics for a change.

Monday, March 10, 2008

Superconductor betting. How and why.



Setting up a superconductor betting/information market would
1. Provide publicity to superconductor research
2. Provide incentives to develop and publish theoretical models of
metallic superconductors. Publishing the models would move the market
in the way you have already bet on.
This would make more cash for the model developer. The theoretical
models should aid the actual production of the materials.
3. Provide some incentive for the development of superconductor materials.
4. Provide some evidence on whether these sorts of information markets
work. Whether they encourage research and results. If they do they
could be used for other research areas.
5. It would provide an estimate as to how well markets predict and incentivise scientific development. There are results on how well they predict elections and sports games but not much on science. If these markets are useful at predicting and incentivising science they would be very valuable.

It to set up would need
1. To get someone famous to talk about it. One of the aims of the market is to provide publicity to the area of research and nothing provides publicity like a celebrity bet. Stephen Hawking famously loves a good bet.
http://hanson.gmu.edu/press/natureNov02.pdf
2. To live in Ireland. We seem one of the only countries that allow this
sort of betting.
3. To figure out if this could be classed as a charity. You are
sponsoring scientific research. However you are also engaging in
betting which is illegal in most of the USA.

I will describe later the mechanism of a science prediction market that also allows donations to sponsor those that advance knowledge.

Sunday, March 09, 2008

Useful Superconductors

FX prediction market has a bet on the likelihood of an alloy high-Tc superconductor by 2017. The current market value of this places it at 65% likely.

77 kelvin is given as the useful figure because this is the boiling point of Nitrogen. Liquid nitrogen is in fairly cheap plentiful supply so if you can get a superconductor that works at that temperature it is useful for commercial applications.
Being malleable and ductile would also add to the practical applications of the superconductor. Malleable and ductile in this description are slightly ambiguous, I assume only metallic compounds can have these qualities but I could be wrong. So replace malleable and ductile with metallic in the post if that is a better description.


Superconductors have all sorts of known useful applications. It is such a weird property that trying to figure out what you can do with them is like a bronze age swordmaker trying to figure out all applications of iron.

This is an in depth description of the superconductivity phenomenon. Figure 12 shows the historical evolution of the maximum superconducting temperature.



If you look at this graph you can see that a metallic superconductor if current trends continue a metallic superconductor would be nearing the temperature of liquid nitrogen. This of course assumes that a metal could superconduct at this temperature.

Using these two graphs and this bet we can have some evidence of what the current trends in these class of superconductors is and also how likely people believe these trends are to continue. From this information we can estimate if actions have an effect on the development of this class of superconductors.

One way to encourage superconductor research would be to offer a prize for new metals that increase the highest temperature of superconductivity. Superconductor research is materials research that is not overly expensive. However it does require a reasonable level of investment. As such any prize for the development of new superconducting materials would need to be considerable. The producer of a metallic superconductor could expect to make significant commercial results from the discovery.

Theoreticians however do not need as much money. They could make a prediction on the properties of metallic superconductors and not have to go through the cost of actually producing the materials.

So if you could give a prize to the most accurate prediction of the future of metallic superconductors this would slightly encourage experimental research into metallic superconductors. It would I believe more strongly affect theoretical examination of the problem.

I believe we should use a form of betting market to incentivise research into superconductors. I will describe how this market would be designed and the pros and cons of the scheme in another post.

If you have any opinions on how to phrase the question so that knowing the answer requires more knowledge in this area to be acquired. How to judge the question reliably and in a trustworthy way is another important question.

Saturday, March 08, 2008

Prediction markets: For realreal or for playplay?

When running a prediction market is it more accurate to use play money (karma) or real money? This paper here and the easier to read presentation description here provide evidence it does not effect the markets accuracy. Both result in accuracies much greater then the average opinion of the people in the market.

This means that people with more confidence betting larger amounts tend to be more accurate. People without strong opinions being less involved in predictions seems to increase accuracy.

It is interesting to wonder why money does not seem to benefit accuracy. Could it be that using money attracts some of the wrong kinds of bettors? Would some combination of real and play money provide more accurate predictions? In this case there would have to be different types of bets in the real and play money that both happen to be of similar accuracy.

If it is the case that people bet the same with real and play money could it be that money is just a karma substitute?

One important factor with the use of real money is that it rewards those who are right in a way that they can eat. Karma does not butter any parsnips. For using prediction markets in science I think you should reward those who make accurate predictions in a way that aids their making predictions in future.

Wednesday, March 05, 2008

Bias and Netflix Prize

The Netflix prize aims to get an algorithm that judges better how people rate items.This article in wired talks about the use of examining human biases to help you rate items.

I find human cognitive biases fascinating and used them to develop a lottery number generator. What biases could affect the netflix prize?

Genetic Bias. As this article describes numerous of our biases/opinions have a genetic basis.

The article reports on how your opinions on X-Rated movies has a genetic component. Now unless you have an identical twin in your Netflix set (they are 0.2% of the world population) this information may not be of much use. Still I think it is interesting that because some opinions have a genetic component peoples Netflix ratings probably have a genetic component.

There is a list of cognitive biases here. If I think of any others that are relevant to the Netflix prize I will post an article.

Off hand I would expect these effects
1.Bandwagon effect. If everyone you know says a film is good you will probably go along with them to some extent.

2. Post-purchase rationalization. Your ratings are likely to be slightly higher then your real feelings. The fact you went and rented the film means you have a certain investment in it being good. If you then say you were wrong you are admitting being wrong to some extent. People hate to admit being wrong.

3.Zero-risk bias. This is tenuous but i think users are more likely to rate a .5 movie as 0 then a 4.5 movie as 4. One bias i have not heard mentioned is how people will order films based on how this will make them look.

This slate article describes he phenomena. I expect that people will also overrate pretentious movies on the grounds that no one want to give Battleship Potemkin as 1 and Porkies 2 as 5.

Tuesday, March 04, 2008

Why use prediction markets for science?

I got a very good comment on this article

“Cold fusion cannot be confirmed by a popularity context, or by politics, and not even by asking experts. There is only one way to confirm that it exists: by experiment…. Objective, replicated instrument readings are the one and only standard of truth in experimental science.”
This is correct, if everyone in the world thinks the world is flat it is still not. The only standard of truth is experimental science. However prediction markets do provide scientists with publicity, understandability and money. All these are useful.

Prediction markets give the public a readable figure on how likely *people think* a certain event is*.

They provide a method to clear FUD from scientific debates. For example when climate change skeptics are asked to bet on their prediction they suddenly become less supportive of their criticisms.

""Richard Lindzen says he's willing to take bets that global average temperatures in 20 years will in fact be lower than they are now." (thanks to William Connolley for the tip). Given his widely-promulgated views, I took this quote at face value and contacted him to arrange a wager. A payoff at retirement age would be a nice top-up to my pension.

Now here's the kicker. Richard Lindzen will indeed accept a bet - but only if offered odds of 50:1 in his favour!"

Another advantage of prediction markets is they provide a way for scientists to make money by being right. Being right is something we should encourage scientists to be. If the market is inaccurate you can make money betting against it.

The scientific method does change over time

That talk gives the following additions to the scientific method over time.
2000 BC - First text indexes
200 BC - Cataloged library (at Alexandria)
1000 AD - Collaborative encyclopedia
1590 - Controlled experiment (Roger Bacon)
1600 - Laboratory
1609 - Telescopes and microscopes
1650 - Society of experts
1665 - Repeatability (Robert Boyle)
1665 - Scholarly journals
1675 - Peer review
1687 - Hypothesis/prediction (Isaac Newton)
1920 - Falsifiability (Karl Popper)
1926 - Randomized design (Ronald Fisher)
1937 - Controlled placebo
1946 - Computer simulation
1950 - Double blind experiment
1962 - Study of scientific method (Thomas Kuhn)

There is a big push at the moment to have papers properly blinded so reviewers do not know who they are reading.

An mp3 talk on how the scientific method has changed is here.

So it might be odd but it is not heretical to suggest that the funding of science or even some elements of the scientific method can be altered to take markets into account. This will not alter the place of experiments but could alter the rewards and incentives available to scientists.

*edit. As Dunc correctly pointed out.

How likely is cold fusion?

How likely do people think it is that cold fusion is a real phenomenon? Based on how likely people view cold fusion it can be used to decide whether to spend time/money/effort investigating it.
The Fx prediction market has a bet
“Cold fusion of deuterium in palladium can produce over 10 watts/cc. net power at STP (standard temperature and pressure). Cold fusion is discussed on the fusion newsgroup.”


The judging of this statement could be quite difficult due to ambiguities. However the statement is currently thought to have a 12% likelihood of being true. This means there is about a 1/8 chance that cold fusion is a real phenomenon according to the market. I believe that if people really believed cold fusion was this likely more mainstream research would be studying it. The market could be inaccurate in that
1. The question and judging of it are viewed as too ambiguous to trust.
2. Because real money is not used in this market the market is distorted by irrational bettors.

One problem with the field is that it has attracted cranks and conspiracy theorists. This now makes it difficult for a legitimate researcher to look into the area. The 12% figure could be accurate and some grand conspiracy against cold fusion exists. It is a feature of conspiracy theories that this hypothesis is likely to be supported by believers in such a conspiracy even though other explanations may be more accurate. Another possibility is that the 12% figure is accurate but that researchers fear being dismissed as cranks if they research the area.

Imagine the case where the market was overly optimistic and it used real money. A researcher with evidence against cold fusion could bet heavily against it. Then she would publish a result that showed it to be less likely. When the value of her bet (idea futures) increased she could then sell her “no cold fusion” bet and make a profit. As shown in this post people who provide evidence against conspiracy theories are frequently the subject to abuse.

So how likely do you think cold fusion is?

Will the seed vault be used?

PPX has a bet on whether the doomsday vault designed to hold 4.5 million samples of plant life will be needed in its first year. The seed vault is a bank of biodiversity to counteract the problems of farming moving to a low number of species. If a plant becomes endangered seeds of the plant can be taken from the vault and used to reintroduce the plant. Storing seeds of many varieties means that if conditions devastate one species of plant being grown other similar species with different genes can be used to resist the unfavorable conditions.


The PPX market currently places the chances of the seed vault being used in its first year at 25%. This is a very high probability as if the seed vault is used a serious environmental problem must be underway. The vault is only a final insurance policy against conditions leading to species extinction rather then something for common usage. Imagine you invented a insurance policy that people believed had a ¼ chance of being used in its first year. You would wonder why no one had this policy before?

Friday, February 29, 2008

Problems with Science Prizes

One major problem with science prizes is that in creating publicity they also attract crazies.

James Randi offers a 1 million dollar prize for someone exhibiting paranormal powers. This prize has produced a lot of anger in the paranormal community and Randi has spent a great deal of time dealing with it.

“The fact that this celebration of the upcoming closing of the challenge is bringing such joy to the woo-woo community, proves that the challenge offered an insurmountable impediment to the wonder-workers out there. They will all heave a mighty sigh of relief when March 7th, 2010, rolls around, and then will begin wailing that they weren’t given their chance to carry off the prize money…”

Another example of this is Alfred Wallace (the co-discoverer of evolution) who won a prize for proving the world was not flat.

“The judge for the wager, the editor of Field magazine, declared Wallace the winner, but Hampden refused to accept the result. He sued Wallace and launched a campaign, which persisted for several years, of writing letters to various publications and to organizations of which Wallace was a member denouncing him as a swindler and a thief. Wallace won multiple libel suits against Hampden, but the resulting litigation cost Wallace more than the amount of the wager and the controversy frustrated him for years”

Prizes put up a great “put up or shut up” argument however particularly with people with odd beliefs engaging with them is a bit like covering yourself in barbecue sauce and rolling around in a bag of rabid badgers. Can you think of anyways to reduce the crazy tax associated with science prizes?

Thursday, February 28, 2008

PS3 makes a comeback

The PPX betting exchange has a bet that the PS3 will be more popular then the Wii or the Xbox360 in the final quarter of 2009. Betting exchanges only says what people believe is likely to happen. They have been very accurate predictors in the past.

This bet of the PS3's success this bet has shown a general decline in value from 50% likely to under 10% at its lowest. There has been a recent upsurge in the value of this bet. This means people are starting to believe it is more likely that the PS3 will win the console war. Some possible explanations for this are that betters believe that
1. The victory of Blu-Ray over HD-DVD means that people will now buy the PS3 as a media player.
2. The Xbox360 will be replaced by another console
3. The Wii’s popularity is a short term event.



For the probability of the PS3 winning the console war to go from 10% to 30% indicates a major change in attitude to the PS3. This could be important to game developers/reviewers who need to decide what console to concentrate on. It could also affect consumers who want to decide which console to buy as the most successful console tends to have more games options available.

Tuesday, February 26, 2008

How to pick a Jazz name

I just bought a trumpet and now talk only in Jazz speak. So I need a Jazz name of the form First Jazz Surname. I reckon the following is a good deciding mechanism.

1. Any Chronic Medical Condition? Bleeding Gums, Itchy feet, Dicky Ticker, Seasick
2. Any crime convictions? Louitering, shoplifting etc. You may need to make the crime sound better. Shoplifters should be “lightfingers”. Necrophiles should be “splits” things like that

The idea is similar to Douglas Copeland in Jpod where he describes how your stripper name is the cheapest form of sugar you ate yesterday. Any suggestions for other things that could make your jazz name? What is your Jazz name Daddyo?

Friday, February 22, 2008

Hamster Maths Experiment

I noticed something looking at descriptions of Platonic solids. Have you noticed the obvious omission? Yeah there is nothing in the table about how hamsters react
to each solid. So I decided to run an experiment using Broc the hamster and some models from this book.

The tables seem to completely neglect rodents reactions to these shapes. I was shocked too, what are these so called 'mathematicians' being paid for?

So I decided to stick a yogurt drop in a tetrahedron to measure how long it takes for a hamster to break into each one. This important information would then be added to all tables of platonic solids.

The hamster at first seemed circumspect of the tetrahedron in his house. Presumably he was busy calculating out equations about it.

Soon he was obviously involved in calculations

He then took a quick break to discuss elliptical curve cryptography.

After that Broc was right back to trying to find the yogurt drop. He spent some time digging under the platonic solid.

Eventually Broc gave up on his Platonic solid research and went back to running on hs wheel. After 24 hours the experiment was suspended and no further solids were attempted.


Hamsters appear too stupid to do geometry.

Thursday, February 21, 2008

Never mind the length feel the material


I have never seen an economy, it is a group concept like pressure. Some people look at various figures and diagnose the economies health. This is like examining the Yetis leavings to diagnose illness in it.

There is one class of these indicators that I think is really interesting: Length indicators. These are measurable criteria that are used to judge mood and thus how people will spend and earn money.
For women the proposed indicators are hair and skirt length. The logic for skirts is that when money is freely available people are more open and willing to wear short skirts. When times are tough people cover up. So 20’s flappers and 60’s mini’s were eras of economic growth. 30’s and 70’s misery had longer fashions.

For hair the belief is the opposite long is good economy short is bad.

Of course men cannot be judged by such frippery. Instead you judge men moods with big powerful jutting: skyscrapers. When things are going bad no one builds them. When things are going well they try outdo each other with their size (this theory is comedy gold). So just when someone is trying to build the biggest is when a recession comes. Andrew Lawrence’s skyscraper index theory is described here


So U2 building a giant new skyscraper in Dublin would indicate our economy is about to go into recession.

The highly sexist nature of the indices makes me highly dubious that they are meant to be taken seriously. I have noticed though that when a country is doing well beer must be from far away and served pretentiously. Could the % of beer sales that are from domestic brewery’s be a good economic indicator? If you have any theories on what correlates with economic confidence please comment.

Tuesday, February 19, 2008

Why research stem cells?

Can we use markets to answer how likely the "may" in "Stem cell research may provide us with cures for diseases" is?
According to the PPX market the stem cells are 94.50% likely to cure a disease by 2015. So roughly if you bet 19 dollars that stem cells will cure a disease by then you would only get 20 back.

This means stem cells are viewed as highly likely to cure human diseases in the near future. This information is useful as stem cells which come from human embryos are highly controversial. When defending any such controversial action is is useful to be able to estimate its eventual usefulness.

Monday, February 18, 2008

Losing Faith in Google Knol

The PPX odds that Google Knol will become more popular then Wikipedia by 2010 have halved. Knol has been set up by Google to provide information on diverse subjects in a similar way to Wikipedia. Knol differs from Wikipedia in that each article will have a primary author.



A certain percentage of the Google share price is based on the belief that Google will develop new services that will dominate that area. In this case the market is showing that this belief is no longer fully held in this market. This suggests that if Google shares do have an “invincibility” cost built into them they could lose this.

Another result of this belief is that continued strong use of Wikipedia is likely. As such continuing to update information on the site is warranted.

Smart guns get less likely

Smart guns recognise their owner and only fire for this person.

The probability on the PPX market that these guns will be commercially available in New Jersey by 2009 has dropped from a peak of 52% chance to 36.5%. This information is of use to people who make competitor safety products for guns. It also delays any possible mandatory usage of recognition technology on a gun. This should result in gun makers who are not spending money developing recognition technology currently being at a commercial advantage.

Friday, February 15, 2008

Pick a Science Prize

Science can work by prizes rather than just grants.

Some currently existing prizes are
1. The carbon capture prize
2. The spaceship prize
3 Feynman Prize for nano devices
4 Clay Math Prizes - $1M each for solving each of seven famous math problems.

Prizes reward accomplishment rather than effort. The economics of this model is described here.

Even if you do not believe prizes provide a good incentive for all scientists they could provide an incentive to grant bodies to make their processes less onerous. If scientists are competing for prizes rather than spending their time filling out grant applications it is possible that grant applications will become simpler as a response.

One of the good features of prizes is they raise awareness of an issue that otherwise might be considered merely of academic interest. For example the theory of NP completeness is often introduced in a “solve this game and win a million dollars” way

So please answer in the comments

What prize would you introduce for science if a portion of your income went to the prize fund?

The end of the world news

There are now hooker shoes with GPS in them.

What does it say about a society that you can have atomic clocks in space that have the ability to detect vibrating atoms with massive precision. That then launches these clocks into orbit in a way that in minutely synchronized. This is then combined with telecommunications technology can locate you to within 5m anywhere on 5.1×108 km² surface area of the Earth. And that this amazing power is used to protect women wandering the streets.

You would think that maybe a society capable of all that shiny space tech could also ease up on the hypocrisy enough to stop women being murdered because they walk the streets?

Wednesday, February 13, 2008

Mendelevium offset calculator

I have seen loads of books and websites on calculating how to become carbon neutral.
Why is the neutrality of only one element ever called into question? So why not set up a website to calculate your Mendelevium offset.

The questions will be
1. Do you work in the Berkeley Radiation Laboratory?
If yes then stop for a few days.


Actually if we really want to make cash we offer people a "Mendelevium offsetting program" it is like a carbon offsetting program where you buy carbon like a medieval sin indulgence and then some guy in Russia does not cut down a tree he was not going to cut down anyway. But in our version we just wait through a few of the elements 76 minutes half lifes and then declare you offset.

Friday, February 01, 2008

Ascii Art

Back to the future. You can set your gmail status message to a picture using ascii art. Unfotunately the formatiing in blogspot is weird so these images do not come up properly.

\ \ / \
\ \___/ /\\
| , , | ~
( =v= )
` ^ '
becomes
\ \___/ /\\ 28 spaces | , , | ~ 28 spaces ( =v= ) 28 spaces ` ^ '
With 35 characters per line.

This could be a whole new retro thing where people send each other ascii text message images. Another idea is small companies could pay artists to develop ascii logo’s and use these in their status message. A diamond supplier could have a status message of
__
/ \
\ /
\/
Or something actually good.
It might not sound like much of a business but crazy frog made millions from ring tones and that was completely inexplicable.

*edit it turns out the status message size changes with screen size so this idea will not work. It might work for google ads though
__
/ \
__O--O___
for a car company or something.

Tuesday, January 29, 2008

How to catch Kerviel

I know nothing about finance and my sole knowledge of the Kerviel case is based on this excellent article.

I am now going to shout my mouth off about how this fraud could have been avoided.

1. The bank broke rule one of fraud detection. “He never took holidays and when he left the office he refused to let other traders take over his positions". Everyone must take their holidays.

2.“Every two or three days he was changing his position. He would input a transaction that would trigger a control in three days and before that happened he would replace it with a different one.” These sorts of checks need to be randomised. If the checks are this deterministic they can be easily circumvented.

3. Benford's law. I bet a shiny Euro coin that Kerviel straight made up some of the data he entered into the company system. I double that bet that this fake data he entered looks entirely random. And thus if this data was checked to see if it obeyed Benford's law it would have been detected as fraudulent.

4. Knowing nothing about finance this is where I run out of ideas. What I would do next is obey the advice of this book
p66 "one of the best ways of analysing an organisational problem is to ask not "What can we improve?" but "what can we change?". It could be that something as simple as randomly changing the seating occasionally could discourage nefarious activity.

So any other ideas for simple checks and balances that could prevent such frauds?

Monday, January 28, 2008

Spam Excuses

Why not use spam to help you? After years of penis enlargement emails and confidential business propositions from Nigeria you deserve some payback.
So why not use spam to cover your misdeeds? Send an email admitting to some heinous crime. But modify it so that the email gets sent to the spam folder and is ignored.
Then when your boss asks about the defrauded 5 billion or your wife finds you in bed with her sister you can say "But i sent you an email telling you" and that way lose some of the blame.
Think of it this way Spam filtering is an immune system that prevents useless emails from getting into your email body. What I am trying to do is create a false positive auto-immune email response.

Spam filters use a number of techniques to judge that an email is spam.
1. The user email. Someone who emails you all the time is unlikely to suddenly become a spammer. Because of this when sending your confession you need to use an email the recipient does not recognise. You can use an anonymous remailer or even just a web email account.
2. If you are sending to a web email if your email has sent spam previously your address is likely to be blacklisted. So before sending to recipient@mail from spammer@mail send some purely spam email from this address before you send the email with the confession you want to be junked.
3. The message content. Email filters generally use Bayesian filtering where words are ranked by their frequency.
You can take a collection of spam emails and extract random words out of them. This might fool a Bayesian filter but you could not later argue that you really meant for the email to be read.

A serious problem is one of trust. No one is going to accept "but I told you I was going to defraud the bank of billions" if you make such an obvious attempt to stop your mail getting seen no one will believe you made a sincere attempt to confess.

So rather then adding random spamy words altering your email to look spamy in a more natural way is preferable. Markov models are a good way of producing realistic text.

I gathered together some spams to train this ruby program on it on and the result is below.

"an alpha blocker (other than tamsulosin (Flomax) 0.4 mg once a day) such as doxazosin (Minipress),
TRY IS TODAY TO GAIN THE LONGEST AND LIVE LARGE TODAY! from 20$ 4 or more mood-killing premature ej@culation. Just try VPXL and more effective is an idea of the world is an idea of Feed Blaster is faster, easier to use,"

So how do you tell your boss that you are defrauding your bank out of a possible 5 billion euro? Say the message is
I am engaged in an illegal rogue trading activity.

Ok now give an explanation for the use of the weird email account. Make the explanation kind of spammy.

sorry for using this weird account I thought you might want to join me in this confidential business proposition.

add some more spam sounding text also

(I know this sounds like one of these confidential business propositions but do not worry i am not trying to Increase Your pen!s size.)
(If we join together in this we will Enjoy all the action of Las Vegas with 24 hour customer services,)


Now when you send this mail it will be cause a false positive be sent to the junk folder ignored and only brought up when you need to blame someone else during your trial.

Friday, January 25, 2008

What is significant?

"If there were a verb meaning "to believe falsely," it would not have any significant first person, present indicative."
-- Ludwig Wittgenstein

So we are looking for the present tense something like "I misbelieve"

Well if Wittgenstein is right how many web pages use this term. 88.
So any term that appears in less then 88 pages is insignificant.

Thursday, January 24, 2008

Who is the campest cereal mascot?

Cap'n Crunch

A man whose chief interests are children’s nutrition, scurvy and sodomy. Always a good mixture that one.



Lucky Charms
Leprachauns are scary. They trick you with promises that have horrible ironic consequences. Ah the sweet sugary lucky charms with the mild consequence of a lifetime of obesity leading to them cutting off your foot when the diabetes gets bad. Eventually you die sugar blinded and unable to hop out of the room. Those marshmallows? Tombstones designed for the Celtic midget to mock your Faustian pact with the breakfast gods.



Honey Nut Cheerios
Ah bees the poor gullible buzzy fucks. How can an entire species be so stupid as to be so freaked out by smoke they lose all ability to do anything? Ok thinking about my college experience that is a stupid question.

Still though on the scale of weird eating bee poo has to be high up there. I tell children that ear wigs make marmalade just to mess up their heads.



Yummy Mummy

How many onanist unidexterious sweaty internet crawlers have had there romantic mood ruined by this deceased damsel? Between this bint and Count Chocula how many children are reduced to bed wetting neurotics by starting everyday with the undead?



Tony the Tiger
Tony is without doubt the campest man on television. The poor fucker is trapped in the closet by the evil machinations of the corporate cereal world. This guy makes Liberace look butch. Forget marriage if you want to advance gay rights we need to fight to get Tony out loud and proud. And no a "Don't ask don't tell" policy will not work, cereal mascots have no private lives. They cannot go civilian it is against the whole metaphysical bargain they enter into.

Wednesday, January 23, 2008

Rambo will kill us all

The real exponential growth existential threat to the world is not grey goo nano robots but Rambo.
The number of people killed per minute doubles in every Rambo film
Number of people killed per minute in the Rambo series.

* Rambo: First Blood (1982): 0.01
* Rambo: First Blood Part II (1985): 0.72
* Rambo III (1988): 1.30
* Rambo IV (2008): 2.59

So say the film is 90 minutes long. There are 6000 million people in the world. So Rambo needs to kill 66 million people per minute to kill everyone.
Currently in Rambo 4 he is killing 2.59. So at the current growth rates of blood lust in Rambo 30 everyone on earth will be killed.

Sunday, January 20, 2008

Product Names: Cop the fuck on

I was in a shop buying a baby present the other day and I saw this abomination



Why the hell would you want your child to be like the baby Einstein? He did not learn to speak till he was about seven. And why the hell would you want a 2 year old knowing the Natural numbers? They drove Cantor and Goedal mad and they were smarter then someone who shits themselves all the time.

Actually I do not think shitting yourself means your stupid. I think babies do it because their bored by the bullshit go goo da da people say to them. Because of this I have started to shit my pants whenever someone boring speaks to me.

And if baby Einstein is the stupidest product name ever how come we have a sudden year inflation in product names? in 1980 in order to make things seem futuristic they were given "2000" at the end of the product. The "Nilfix 2000" hoover made you think that this was the sort of thing we would be using in space while eating our pill for breakfast after we had fucked our green wife. But now everything is "3000" in a thousand years time. It is ok to claim your product is from 20 years in the future but 1000 years is taking the piss. We probably won't even have arseholes never mind skin that creates dust that requires hoovering.

And why must everything have a galactic name. There was a hoover in the shop today called "galaxy" I did not buy it because I could not stand the existential doubt it would create. "what if everytime I turn on the Hoover I create some mass catastrophe a tiny minature galaxy?", "What if I live in a hoover belonging to a giant?" "maybe i will become a god to the hoover living people" all these difficulties arose.

Also how small can things get? Ipod nano is taking the piss, what is next femto and peto? A music player so small you put it in your ear and it feeds off your brainwaves? When you get down to the nano scale you have bizarre quantum events. does this mean the ipod nano really exists or only when you are listening to it?

Speaking of which. What he fuck?

Should we stick this beardy goat fucker in a cage with a smoke detector and a gun? If the Schrodingers cat situation is created what will happen? Seeing as he is already in a half alive half dead state is a superposition of states even possible? If we stick the crazy bastard in Schrodingers torture device seeing as he is already in the half dead half alive state maybe it would change the equation and give us a proper answer.

As Samuel Beckett said always leave them with a joke. I thought my ads for a site for old people were undergoing click fraud. Thing was all the guys with Parkinsons were clicking about 100 times.

Tuesday, January 15, 2008

Rule 35

Rule 34 says "If it exists, there is porn of it."

I propose rule 35 "If it exists there is a knitting related blog combined with it."

First person to find a google whack using the word knitting disproves this hypothesis.



While I am on the subject why isn’t there a music video with a bunch of TV’s sitting round a living room drinking beer and watching a band perform in the corner? It would be a play on the idea of “If TV was so good there would be one in every living room”. And at the end of the video the TV would throw the band out the window in a rock and roll irony way.

Monday, January 14, 2008

Mii Bride and Groom

There are services that supply personalised brides and grooms for wedding cakes.

It would be more efficient to make these personalised models out of a template system that is widely used and available to everyone.
You can use mii avatar design programs to create both the bride and groom. This is the program used to create peoples likenesses in the Wii gaming system.



Mii design involves a huge number of choices. For example someone’s head can be any of 8 shapes with 6 ways to modify each. Each with 6 allowed colours. So there are 288 basic faces. When you combine these with the total number of choices in different areas it means that storing particular features to add to the face when needed could be inefficient.

A better way would be to store how to create each feature and create the physical piece when needed. Craftzine this issue has a piece on how to model using marzipan and food dye.

If you could copy this method using the reprap rabid prototyper you could have (near) automated personalised wedding cake decorations.

The reprap machine has already been modified to decorate cakes so such a usage is practical.WOW also has personalised avatars but they are more complicated making their real life production more difficult.

Saturday, January 12, 2008

Meet the parents parents parents parents

The reason we allow over a billion people in the world to live in abject squalor is because we think they are different from us. We think they do not feel the way we would in the situation that they do not know of any better. The only way to increase our efforts to help them is to help us think of ourselves and those we love in a similar situation.

In the program "who do you think you are" the broadcaster "Jeremy Paxman became teary-eyed after discovering that his impoverished great-grandmother Mary Mackay had her poor relief application revoked by the parish because she had had a child out of wedlock."

There is a connection between how we view the past and those in the third world. As L P Hartley said "The past is a foreign country: they do things differently there". If we can see our families in the past living in the same squalor as the bottom billion today we can empathise more with the poor. It is hard to imagine that our own great great grandmothers did not feel and suffer like we do.

This can be done statistically using programs like gapminder to show how our country had similar levels of poverty (by various indicators) in the past. A more visceral experience can be gotten from the census of 1911.

Here you can see your own great grandfathers writing. See how many of his children died in infancy. See how many of your great aunts were sent to work in their early teens. See how many of your family were cramped into the same house or room.
By showing that our ancestors had the same problems as the poor today we increase our empathy for the poor and might start doing more to help them.

Friday, January 04, 2008

One Million Dollar Desecration Prize

For some reason my idea of a mathematically efficient packing of the stars in the American flag was not that popular. I think this is because people really want a flag where the importance of states is shown. Important states should have big stars and other loser states smaller ones.

So the problem becomes “how can you arrange these different sized circles most efficiently inside a rectangle”? This problem is NP-Hard (pdf). This mean there is no polynomial time algorithm that will put different sized circles into a rectangle and guarantee that arrangement to have the least amount of free space. If you find a way to solve this packing problem in polynomial time you win the 1 million dollar prize as this will show that P=NP

So if you can find an efficient way to desecrate the American flag you can win 1 million dollars. In my next post I will look at heuristic methods to desecrate the American flag using the number of people executed by the state since 1976 to decide the size of star the state gets on the flag.

Thursday, January 03, 2008

The American flag is inefficient

America is backed by an image and symbol that is inefficient.



The stars represent the 50 states. I have no idea what the candy stripe is about it is probably an ad for a barbers or something.

Anyway is the packing of these 50 stars efficient? If you are not willing to make the symbol of your nation efficient what does that say? What can you think about a country if they are willing to waste fabric in a flag? This is fabric that adds to the cost to schools to buy a flag. This is fabric that could be used to bandage the wounds of injured puppies. So in the name of all that is efficient lets see if I can fix the flag to something less crap.

Each star is a state and they should all be equal minimum gaps between them. The current attempt at a flag does not have all neighbouring stars the same distance so I do not need to.
The stars are going to be modeled as circles (with stars in the middle) The use of circles ensures the stars will be kept a minimum distance apart.

Now you might guess that the best way to pack circles is in the hexagonal (green grocer) formation where the upper layer falls between the circles in the lower layer.
This is obviously better then a square packing.




But this is not the most efficient way to pack circles into a square.


Now the flag circle holding part is rectangular not square. Does this effect how we should pack stars into it?
For a 5*1 rectangle the hexagonal packing is still not best


How about for the 6*5 packing used in the flag?

Of course no one really thinks all states are equal. If you allow some states to have smaller stars then others you can come up with even more interesting patterns.

Natural Selection in War

This tasteless cartoon reminded me of a weird security glitch that could have effected the evolution of mankind.

In Vietnam a faulty random number generator meant that people born in certain months were more likely to get drafted



If you follow the logic of this article this could have resulted in a skewed evolutionary selection where people whose parents were romantic (feb 14th-> November) or Irish (March 17-> December) had less chance of getting killed.

So check your random number generators are accurate if you do not want a future infested with romantic Irish people.