How To Share a Cake Over the Internet
mikejuk writes "The problem to be solved sounds trivial — cut up a cake so that each person thinks they get a fair share. This classical problem gets even more difficult if the 'players' can't all see what is going on at the same time — for example because they are negotiating via the internet. Now there is an asynchronous algorithm that is guaranteed to be fair and it all depends on using an encrypted auction. The new algorithm is simple and easy to use, and might be the solution to any number of difficult situations where people need to share things so that everyone comes away happy."
The Cake is a Lie
Cutting up a cake might not sound like an important problem but if you rephrase it as sharing resources or territory, then you can quickly see that it has lots of practical applications.
This seems like a pretty interesting game, fit for nerd parties and the like. Solving territorial or resource disputes? Not so much. You and your friends are basically equal. State actors, ethnic groups, etc. tend not to be perfectly equal. For example, I doubt the Sunni insurgency in Iraq would have submitted to such an auction. The same goes for the actors in the South China Sea, Israel Palestine, really any territorial dispute of note.
I could see something like this being useful for divvying things like mineral resources that crop in international waters, like all those manganese nodes on the ocean floor.
I got a catholic block.
If the players can't see what's being done (as per TFS), then the following method should work perfectly:
-(BOOL)isSliceFair:(Slice *)slice {
return YES;
}
Related: http://xkcd.com/221/
If you can't convince them, convict them.
How can the carrier pigeons lift the cake?
What I really want is algorithm that allows me to have my cake and eat it too [wikipedia.org].
Easy one. Buy two cakes. qed
Science advances one funeral at a time- Max Planck
And what resource isn't finite?
Human stupidity.
It would actually be interesting to extend the idea of a bread machine into something more universal. It would have hoppers for various ingredents and an internet connection. The idea would be that you would remotely control it from a web browser and select an item from a menu from its internal storage, but it would also have the ability to use programming instructions from elsewhere, so you really could share cakes.
http://michaelsmith.id.au
Did you RTFA?
From the article "A cake is not a mousse. The resource is heterogeneous, different agents can attach different values to different regions of cake."
Or in other words... "I like the thick icing at the edge but you can't stand it and you love the cherry in the middle that I couldn't care less about".
Wait this is /. what was I thinking?
[The Universe] has gone offline.
Objective C is actually a good language. But too niche and awkward to be used in a funny /. comment.
Check out my cross-platform apps
It's called honesty and trust. If you don't have those, even a thing like this won't work 'cause people will think the program is rigged.