Slashdot Mirror


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."

123 comments

  1. Right.. by Anonymous Coward · · Score: 5, Funny

    The Cake is a Lie

    1. Re:Right.. by Karl+Cocknozzle · · Score: 3, Funny

      Riiiiight... There is no cake!

      Fucking matrix again...

      --
      Who did what now?
    2. Re:Right.. by Anonymous Coward · · Score: 1

      The cake is real, But there is no spoon.

      And we are all forked.

    3. Re:Right.. by msauve · · Score: 1

      Then we can't let them eat the cake.

      --
      "National Security is the chief cause of national insecurity." - Celine's First Law
    4. Re:Right.. by DarwinSurvivor · · Score: 1

      Not me, but Mutt did!

    5. Re:Right.. by Anonymous Coward · · Score: 0

      Pink haired girl: It's a piece of cake to bake a pretty cake.
      Lil Jon: WHAT?

      Best. Mash-up. Evar.

    6. Re:Right.. by bobbomo · · Score: 2

      Cake, and grief counseling, will be available at the conclusion of the test.

    7. Re:Right.. by enemorales · · Score: 1

      Just give the whole cake to Chuck Norris.

    8. Re:Right.. by Anonymous Coward · · Score: 1

      The correct quote would be "Let them eat bread"

  2. Just cut the pieces into equal portions?! by Anonymous Coward · · Score: 0

    n/t

    1. Re:Just cut the pieces into equal portions?! by Cinder6 · · Score: 4, Funny

      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.
    2. Re:Just cut the pieces into equal portions?! by Anonymous Coward · · Score: 0

      Or you could, you know, use a real language.

    3. Re:Just cut the pieces into equal portions?! by Anonymous Coward · · Score: 0

      Since when is YES a boolean?

    4. Re:Just cut the pieces into equal portions?! by Anonymous Coward · · Score: 0

      Go is pretty :)


      func SliceIsFair(s *Slice) bool {
              return true
      }

    5. Re:Just cut the pieces into equal portions?! by Anonymous Coward · · Score: 0

      Since when is YES a boolean?

      Since i added '#define YES (!0)' to my included header... Fuck off.

    6. Re:Just cut the pieces into equal portions?! by Securityemo · · Score: 1

      Bah.
      (defun fair (slice) (t))

      --
      Emotions! In your brain!
    7. Re:Just cut the pieces into equal portions?! by Securityemo · · Score: 1

      Whoops.
      (defun fair (slice) t)

      --
      Emotions! In your brain!
    8. Re:Just cut the pieces into equal portions?! by zarlino · · Score: 3, Insightful

      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
    9. Re:Just cut the pieces into equal portions?! by TheRaven64 · · Score: 1

      Since 1988.

      --
      I am TheRaven on Soylent News
    10. Re:Just cut the pieces into equal portions?! by Cinder6 · · Score: 1

      Not so. It was a great source of meta-humor for me, choosing Obj-C specifically to see people's reactions to it.

      --
      If you can't convince them, convict them.
    11. Re:Just cut the pieces into equal portions?! by Anonymous Coward · · Score: 0

      Well played. It took me two minutes to recognise the language used in your example (it is about eight years since I last used an Apple product).

      My turn. Guess the language!

      If you use named parameters, like in your example:
      /isSliceFair true def %Parameter "slice", or whatever, is never checked

      or, with unamed (pushed on the stack) parameters:
      /isSliceFair {pop true} def

  3. Pie in the sky by explosivejared · · Score: 4, Insightful

    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.
    1. Re:Pie in the sky by fuzzyfuzzyfungus · · Score: 5, Insightful

      I suspect that the deeper problem is that virtually nobody, even if they use the word 'fair' to describe the outcome they want, actually wants what this outcome provides...

      The classic 'cake slicing' analogy holds in situations where it is agreed that the cake ought to be sliced evenly and there is simply the problem of doing the slicing. It does not cover the situations where ownership of the cake is my Manifest Destiny, where the cake was given to you by God, where possession by those subhumans of any part of the cake would be unacceptable, or where it is only just that the invisible hand allocate the cake...

    2. Re:Pie in the sky by arth1 · · Score: 2

      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.

      Not unless every party involved first agrees that everybody else has a right to an equal share. That is the real problem - the division seldom is.

      Not only is this a solution looking for a problem, but unless my memory fails me completely, it is also solved before, among others by (I believe) Steinhaus.

    3. Re:Pie in the sky by Anonymous Coward · · Score: 0

      there are only two real solutions: remove the cake from the equation or kill everyone involved.

    4. Re:Pie in the sky by Anonymous Coward · · Score: 1

      The problem with several of your examples is that one side will settle for nothing but the whole cake, while the other sides won't give up the pieces with extra frosting.

    5. Re:Pie in the sky by bmo · · Score: 2

      You think this is a motherfarking game?

      That cake is trivial, and this is only a nerd thing?

      http://1.bp.blogspot.com/_D_Z-D2tzi14/TLT2bSprcdI/AAAAAAAAD9M/6v6AJVGNyxw/s1600/Picture+6.png

      --
      BMO

    6. Re:Pie in the sky by subreality · · Score: 2

      I suspect you didn't RTFA: "Introducing utility functions makes the problem more interesting because each participant has a different view of the value or "size" of the portions of cake. What matters in this problem is that all of the participants think that they have got at least their fair share, or more, of the cake as measured by their utility function."

    7. Re:Pie in the sky by fuzzyfuzzyfungus · · Score: 5, Insightful

      My intended point was not that it is impossible to cope with utility functions in general; but that many real-world actors have hard minimums that add up to greater than one cake across the group you are dividing for. Sometimes, their utility functions even appear to be dependent on the deprivation of others of the cake, not of the possession of the cake themselves(and, in the somewhat-less-fucked-up-but-not-much-more-helpful, intermediate case you have the 'keeping up with the Joneses' where people continually recalibrate their utility functions based on the shares allocated around them).

      There are certainly unequal-utility cases that are solvable, I just suspect that those don't include many of the real ones...

    8. Re:Pie in the sky by dgatwood · · Score: 1

      Not unless every party involved first agrees that everybody else has a right to an equal share.

      Pretty much what I was thinking. Put another way, there will always be at least one party that thinks that sharing is stealing, even if it's really just copyright infringement....

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    9. Re:Pie in the sky by Attila+Dimedici · · Score: 1

      Except that it still does not address those situations where one or more of the participants does not consider one or more of the other participants as deserving of any share in the cake, which is what the poster you replied to was getting at.

      --
      The truth is that all men having power ought to be mistrusted. James Madison
    10. Re:Pie in the sky by DarwinSurvivor · · Score: 1

      there are only two real solutions: remove the cake from the equation or kill everyone else involved.

      Hey, I still want MY piece!

    11. Re:Pie in the sky by DarwinSurvivor · · Score: 1

      Fair doesn not necessarily mean Equal. For instance, you have a 2 person team working on a racing game. 1 person writes the top-down 2d view of the cars racing around. The other writes a complex AI for the computer-controlled cars. Do you think giving them equal portions of the profit would be fair?

    12. Re:Pie in the sky by subreality · · Score: 2

      Ah, I see now. Yes, that's a good point.

    13. Re:Pie in the sky by pclminion · · Score: 1

      You pose it like an objective question with a correct answer. It is not such a thing.

    14. Re:Pie in the sky by TheLink · · Score: 1

      Might have to give the "2d view" person more ;) , the AI programmer won't have to deal so much with "user facing" stuff, bosses/etc changing their minds on the colour/appearance of the cars on a daily basis. Unless the racing game is trackless or involves really complex stuff, you wouldn't need a very complex AI for _fun_ gameplay.

      --
    15. Re:Pie in the sky by Anonymous Coward · · Score: 0

      My intended point was not that it is impossible to cope with utility functions in general; but that many real-world actors have hard minimums that add up to greater than one cake across the group you are dividing for. Sometimes, their utility functions even appear to be dependent on the deprivation of others of the cake, not of the possession of the cake themselves(and, in the somewhat-less-fucked-up-but-not-much-more-helpful, intermediate case you have the 'keeping up with the Joneses' where people continually recalibrate their utility functions based on the shares allocated around them).

      There are certainly unequal-utility cases that are solvable, I just suspect that those don't include many of the real ones...

      that's because you're not using your imagination. you need to stop assuming that the "people" are actual persons, and that "cake" represents a tangible asset.
      Consider a networking protocol, designed to give multiple users fair access to a common pool of bandwidth. There are many more, but that's the first thing which sprang to mind and frankly I was surprised to see so much of the discussion focusing on actual people fighting over actual food.

      The cake is a lie, or rather it's an analogy.

    16. Re:Pie in the sky by Anonymous Coward · · Score: 0

      You forgot the US whose way of life is based on "what's ours is ours, what's yours is ours"

    17. Re:Pie in the sky by Kjella · · Score: 1

      Not to mention fraudulently specifying the utility function to reach a more desired outcome. For example, take a divorce where there's only two goods to be distributed, the house and the money. He loves the house, she hates it. But he knows if he says so he will get little money because he got a lot of utility from the house. So he says he dislikes the house, he'll still get the house as he likes it more than her, but it'll cost him much less utility. Of course in this case the house has an actual market value, but if we're talking personal items that don't really translate well to dollars then this is a real problem.

      --
      Live today, because you never know what tomorrow brings
    18. Re:Pie in the sky by James+McGuigan · · Score: 1

      In a two person problem, the solution to ask one side where to draw the "fair" dividing line and ask the other person which "half" they want.

      A three or more person solution could be achieved by asking one person to draw a three+ way dividing line and asking the others if to choose a piece (or veto). If there are are veto's and no pieces have been chosen twice, then the divider gets the remaining piece. Else the lines are undrawn and the next person in the circle gets to redraw the lines from scratch, and asks the others to choose. The game repeats until all players have accepted a non-conflicting choice. However if the parties are belligerent, or known to be adamant about specific items, then this game is not guaranteed to complete.

      The judgement of King Solomon also provided an alternative solution to this problem by offering to split the baby in half in order to determine who the real mother was, and giving the baby to the one who would rather give the object away rather than see it destroyed. However this only works if the rules of the game are not known about in advance.

    19. Re:Pie in the sky by Anonymous Coward · · Score: 0

      Or bandwidth. Or processor time. Or disk space

    20. Re:Pie in the sky by Trepidity · · Score: 1

      Indeed, this seems to depend pretty heavily on the assumption that the utility functions are provided accurately. If that isn't the case, various kinds of gaming are possible. The general problem is studied as "social choice theory", and unfortunately most criteria you might put forth for a "fair" choice rule are provably impossible to satisfy. The classic Arrow Theorem for voting systems is the best-known, but there are a dozen impossibility theorems littering the combine-utility-functions landscape.

    21. Re:Pie in the sky by Anonymous Coward · · Score: 0

      Everyone seems to assume that more cake is desired. I certainly could do with less to keep my girlish figure intact.

    22. Re:Pie in the sky by DarwinSurvivor · · Score: 1

      Tell that to EA. They are *still* resorting to $@&#% rubberband AI to make their games competitive.

    23. Re:Pie in the sky by garyebickford · · Score: 1

      You do realize that the US is the only victorious nation in history that not as a matter of common practice did not take sovereignty over defeated nations (see "right of conquest") but actually spent large amounts of money rebuilding them? And pushed to incorporate those ideas into the UN charter, and the post-WWII rules of war? And has since then in most cases actively encouraged and enforced the idea that 'right of conquest' is no longer valid? And continues to negotiate treaties expanding global trade, often not in the short term best interest of the nation?

      --
      It's easier to be a result of the past, but more fun to be a cause of the future! http://www.spacefinancegroup.com/
    24. Re:Pie in the sky by Anonymous Coward · · Score: 0

      Actually, just as in war, the right to decide who has a right to any piece of cake is decided by how many resources one can amass. A war, at it's core, is a long drawn out auction, wherein the competitors compete to see both who can amass the most resources AND who is willing to spend them. Unfortunately, since most countries dont value their people nearly as much as they value their money, they will always opt for the war over the auction.

    25. Re:Pie in the sky by TheLink · · Score: 1

      No need to give the AI programmer more money if people still keep buying racing games with rubberband AI.

      Most human gamers wouldn't want strong computer opponents. They may think and say that's what they want, but they won't be happy when they get them, because in many games out there the computer would be able to beat or even trash most human gamers consistently.

      Imagine WoW if the enemies weren't so stupid and let players commit genocide on them week after week. Or those fighting games- you get max-comboed every time you make a single mistake, whether in positioning or action.

      --
    26. Re:Pie in the sky by DarwinSurvivor · · Score: 1

      There is a HUGE difference between a "strong" computer opponent and rubber band AI. Both can win, yes, but with a "strong" opponent, the better you play, the better you place. With rubberband AI, a noobie will get about the same placement as a professional since the strength of the AI is not fixed. I've seen NFS computer oponents half a lap behind go 600Km/h (250 is the fastest car in the game) to catch up and pass the human player on the last lap. It's not the difficulty that pisses off the players, it's the inconsistency. If the computer is able to do a lap in 1.5 minutes, then their is a goal to reach. If the AI is simply programmed to do the lap 3 seconds faster than you then it completely destroys the players will to play better.

    27. Re:Pie in the sky by JimFive · · Score: 1

      A three or more person solution is to have each person except the last make a single cut that adds one more piece to the cake. Then the last person picks the first piece, and the choosing continues from the start.

      e.g. for three people
      'A' cuts the cake into two pieces
      'B' cuts the cake into three pieces
      'C' chooses one of the three pieces
      'A' chooses one of the remaining two pieces
      'B' gets the remaining piece.

      This method assumes that all parties are interested in a fair division, however. A and C can collude against B because B will always get the smallest piece.
      --
      JimFive

      --
      Please stop using the word theory when you mean hypothesis.
  4. Have Cake. Will eat it too. by Anonymous Coward · · Score: 0

    Too bad humanity is so manipulated low level emotional and out of control
    that most will have a problem, even with such a fair scientific empirical solution
    such as this.

    ie Make everyone think they have a slice slightly bigger than everyone else....
    Then everyone will be truly happy :D

    -k

  5. analogs by ThorGod · · Score: 1

    I'm pretty sure "cake slicing" is analogous to efficiently sharing any finite resource. (And what resource isn't finite?)

    --
    PS: I don't reply to ACs.
    1. Re:analogs by Anonymous Coward · · Score: 0

      Hope!

      Oh wait....

    2. re: analogs by willpb · · Score: 1

      Well according to the CATO Institute natural resources aren't finite.

    3. Re:analogs by Anonymous Coward · · Score: 0

      Gravity.

    4. Re:analogs by Anonymous Coward · · Score: 4, Funny

      And what resource isn't finite?

      Human stupidity.

    5. Re:analogs by martin-boundary · · Score: 1

      I don't think so. Cake slicing problems (aka dividing fairly) have nothing to do with efficiency (aka allocating according to preferences). One has a global utility function, and the other has multiple individual utility functions.

    6. Re:analogs by sixtyeight · · Score: 1

      And what resource isn't finite?

      Human stupidity.

      That's only a resource if you're a con artist.

      --
      The Wolfpack Project: BitCoin + Crowdfunding = Political Accountability
    7. Re:analogs by KhabaLox · · Score: 1

      I don't think so. Cake slicing problems (aka dividing fairly) have nothing to do with efficiency (aka allocating according to preferences). One has a global utility function, and the other has multiple individual utility functions.

      Are you saying that "allocating according to preferences" uses a global utility function? Because the whole point of the cake cutting problem is that each participant has different utility functions.

      In response to the person above who said this had already been solved, the asynchronous solution is the the new piece I believe.

      --
      Ceci n'est pas un sig.
    8. Re:analogs by DarwinSurvivor · · Score: 1

      Gravity is VERY finite. Once you reach the center of the earth, gravity's no longer going to do any work for you! *

      * Yes, yes, yes, I know there's still the Sun's gravity, the Moon's gravity, your mom's gravity and many other cellestial bodies' gravities pulling on you.

    9. Re:analogs by martin-boundary · · Score: 1

      Are you saying that "allocating according to preferences" uses a global utility function? Because the whole point of the cake cutting problem is that each participant has different utility functions.

      No, I'm saying fairness is a global utility function. In the cake cutting problem, the goal is to maximize the minimum sized piece that someone might get. If you generalize, that's when you introduce utilities that can be different for each player, etc.

    10. Re:analogs by Anonymous Coward · · Score: 0

      And what resource isn't finite?

      Human stupidity.

      That's only a resource if you're a con artist.

      Or a politician...

    11. Re:analogs by Anonymous Coward · · Score: 0

      And what resource isn't finite?

      Human stupidity.

      That's only a resource if you're a con artist.

      Or a politician...

      Or an Apple shareholder.

    12. Re:analogs by Anonymous Coward · · Score: 0

      No, the gaol in the problem is to maximize the *utility* eac person gets from there slice. Because of varying utility functions, the pieces will be of different sizes. Did you read TFA (second link)? It actually explains it quite well.

      Even though "fairness" is globally defined, that doesn't mean that everyone gets the exact same thing. The value resources differently, so they can all be (collectively) better off by distributions other than everyone get 1/n of the cake.

      This idea is also the underpinning of free market transactions. You and I value the same resources differently ( ie we get different utility from them) so we can enter into a transaction in which we both come out with higher utility.

    13. Re:analogs by Anonymous Coward · · Score: 0

      And what resource isn't finite?

      Human stupidity.

      That's only a resource if you're a con artist.

      Or a politician...

      What do you mean by "or"?

      Ain't politicians a subset of con artists?

  6. Give an Even Better Algorithm by Anonymous Coward · · Score: 0

          What I really want is algorithm that allows me to have my cake and eat it too.

        If someone can explain the encrypted algorithm with better words or examples then that would be great. Thanks!

    1. Re:Give an Even Better Algorithm by Cryacin · · Score: 4, Funny

      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
    2. Re:Give an Even Better Algorithm by sixtyeight · · Score: 1

            What I really want is algorithm that allows me to have my cake and eat it too.

          If someone can explain the encrypted algorithm with better words or examples then that would be great. Thanks!

      The phrase is actually to eat your cake, and then still have it, too.

      Anyone can have a cake and then eat it.

      Anyone who lives in the U.S., at least.

      --
      The Wolfpack Project: BitCoin + Crowdfunding = Political Accountability
    3. Re:Give an Even Better Algorithm by MisterMidi · · Score: 1

      That's easy, just have your cake for breakfast.

    4. Re:Give an Even Better Algorithm by Anonymous Coward · · Score: 0

      Your solution is delicious!

  7. CAKE? by Anonymous Coward · · Score: 0

    Is there icing on it? If not then f-it.

  8. But... by Guppy06 · · Score: 2

    How can the carrier pigeons lift the cake?

    1. Re:But... by Anonymous Coward · · Score: 0

      How can the carrier pigeons lift the cake?

      They can grasp it by the husk!

      No, wait. They'd have to be swallows.

  9. Maximum bid? by gringer · · Score: 1

    All the players work out the maximum bid and the player who made it - without revealing the other bids - and the winner gets the piece they bid for.

    Surely that should be minimum bid? Otherwise all I need to do in order to win is to bid the highest possible value, and then I get the entire cake.

    If the person with the lowest bid "wins" then each person is forced to balance between a bid that's too high (not getting the current piece) and a bid that's too low (not getting enough of the cake).

    --
    Ask me about repetitive DNA
    1. Re:Maximum bid? by Time_Ngler · · Score: 1

      The author omitted that the cake is cut from the other end, (i.e. the maximum bid to the current cake size is selected as the cake piece. Not 0 to the maximum bid.) as specified in the paper at: http://arxiv.org/abs/1202.4507

  10. Wrong link, summary writer by Main+Gauche · · Score: 1

    The encrypted auction paper (the whole point of the summary) is at: http://arxiv.org/abs/1202.4507
    and not at the arxiv link provided in the summary.

  11. Sharing a cake over the Internet? by Anonymous Coward · · Score: 0

    Simple... One byte at a time!

    1. Re:Sharing a cake over the Internet? by Anonymous Coward · · Score: 0

      Also don't forget to make sure your cake is encrypted, or your ISP might not want your internet friends to have any.

  12. Freenet, TOR, etc by Tracy+Reed · · Score: 1

    I wonder if this algorithm would have useful applications in such networks to make them share precious bandwidth resources efficiently or avoid other kinds of "tragedy of the commons" issues?

  13. I was disappointed... by Lohrno · · Score: 1

    I thought this article was going to be about 3D printers and culinary science...

    1. Re:I was disappointed... by Anonymous Coward · · Score: 0

      you wouldn't steal a cake

    2. Re:I was disappointed... by Anonymous Coward · · Score: 0

      If no one is looking, I steal take 40 cakes. I would steal 40 cakes.
      That's as many as four tens.
      And that's terrible.

  14. Not how people think by Anonymous Coward · · Score: 0

    This paper assumes that people (groups, governments, etc) will be happy if they get their 'fair share', but doesn't allow folks to define their fair share in relation to anyone else. People are going not to be happy if they see others getting more than them, and this is not allowed to be part of their 'utility function'. So what problem is this solving exactly?
        If you could divide the resources evenly, accurately, with everyone happy you would have done it already.

  15. Fair Share? by guttentag · · Score: 1

    The fundamental problem here is the condition that "each person thinks they get a fair share." Everyone's perception of "fair" is different. There is always going to be someone who thinks the definition of "their fair share" is the largest piece in an inevitably-unevenly-cut cake. Even if you did divide it into perfectly equal pieces, they'd feel cheated. Or they'd develop a derivatives-trading scheme to get a few extra crumbs from someone else's plate (they've been doing it with rice for centuries... why not cake?). Or they'd wait for you to cut the first piece, then they'd take the rest of the cake.

    Unless the mathematical solution includes an unquestionable, spatula-wielding, hand-slapping matron who defines the term "fair portion," this won't work.

    1. Re:Fair Share? by KramberryKoncerto · · Score: 1

      Something like this could at least work in simple cases like sharing bandwidth over a network, where bids are often made by machines on behalf of people, and when most people are somewhat separated apart from what they get. Just like there are many different views on what's fair or not, there is also an abundance of problems and what's needed to solve.

    2. Re:Fair Share? by KramberryKoncerto · · Score: 1

      *what needs to be solved

  16. Easy! by Anonymous Coward · · Score: 0

    Easy! The person doing the cutting is the last one to get a piece!

  17. Sharing a cake could be dangerous by Anonymous Coward · · Score: 0

    and might get you stopped by the T.S.A.

  18. Trying to do the impossible... by osu-neko · · Score: 1

    "...so that everyone comes away happy."

    "A" for their algorithmic cleverness. "F" for their understanding of human nature...

    --
    "Convictions are more dangerous enemies of truth than lies."
    1. Re:Trying to do the impossible... by garyebickford · · Score: 1

      They are assuming spherical people in a vacuum.

      --
      It's easier to be a result of the past, but more fun to be a cause of the future! http://www.spacefinancegroup.com/
  19. Baking machine by MichaelSmith · · Score: 2

    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.

  20. Your solution only works for mousse... by mindwhip · · Score: 4, Insightful

    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.
    1. Re:Your solution only works for mousse... by Opportunist · · Score: 1

      And that's what makes the algorithm nontrivial. It's easy for a homogeneous "cake" where any part is is of objective equal value and another part of equal size. The relevant algorithms are presented in TFA.

      It gets interesting if different parts of the cake are of different value to each participant. That makes the algorithm more complicated, but at the same time any real life application might well become easier. You like the icing and the cherry? Ok, I don't care much for either, but maybe if I let you have mine, how about handing me more of the cake?

      It's called trading. It's been done for ages. And I guess you could optimize it, even. But somehow I don't feel the urge to optimize a system that has become one of pure greed with little benefit for the general population.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  21. Not a real cake? by flimflammer · · Score: 1

    So you mean they haven't figured out how to digitize cake over the internet? What a let down.

    1. Re:Not a real cake? by MLease · · Score: 1

      Yes, I'm sorry to have to tell you....

      The Cake is a Lie.

      --
      I'm sorry; I don't know what I was thinking!
    2. Re:Not a real cake? by garyebickford · · Score: 1

      So several Cakes would be a Lie group?

      --
      It's easier to be a result of the past, but more fun to be a cause of the future! http://www.spacefinancegroup.com/
  22. To be fair, researches mention that by Anonymous Coward · · Score: 0

    From the paper

    What are the qualities of this resource? Well, a cake is not a bag of sweets. The resource is continuous, and any given piece can be subdivided into smaller pieces. A cake is not a mousse. The resource is heterogeneous, dierent agents can attach different values to different regions of cake. Finally, a cake is not meant to be eaten alone. No agent has exclusive right to the cake; it is a windfall good, its origin unimportant. We have a cake, and we must cut it.

    So they specifically state that this only works when everyone agrees that the cake should be shared equally. Doesn't make your point any less valid/relevant, just felt that it's worth mentioning.

  23. Won't work. by Anonymous Coward · · Score: 0

    These algorithms are fascinating and all.

    But they ALL depend on certain assumptions about human nature...

    In particular that your valuation thresholds are well ordered, and consistent.

    Humans are virtually never either of those. People will value things more to spite others for taking what they want a lot, or for acting in a manner that they believe indicates this. They'll attempt to gain an edge and disrupt the system.

    The only guarantee they can provide is if everyone is consistent and everyone plays fairly, nobody can honestly claim they were cheated.

    Plus... all such systems are subject to collusion.

  24. It's all right, but by WetCat · · Score: 1

    how to eat your cake and have it too ?

  25. Ask Pinkie Pie by Anonymous Coward · · Score: 0

    I'm sure she already knows how to do it.

  26. icing on the cake .. by Anonymous Coward · · Score: 0

    my god, what has happened to slashdot ... i expect Justin Beiber / Lady Gaga stories soon...

  27. You insensitive clod! by Anonymous Coward · · Score: 0

    I have diabetes, you insensitive clod! :(

  28. Nope... by Anonymous Coward · · Score: 0

    The cake is auctioned one subset at a time and you have a fixed total to bid... So if you bid it all on A, you get A but nothing else.

  29. Cutting Cake Among n People by Nom+du+Keyboard · · Score: 1

    Dividing up a cake fairly amount n people where n>2 is easy.

    Sit in a circle around the cake and randomly pick a starting person. That person cuts out the size piece that he/she thinks is fair. Going around the circle anyone who thinks that it's too big can knock a piece off that goes back into the cake. When no one else will reduce the size any further the last person to reduce the size of the piece to their idea of fair gets that piece and is out of the game. Repeat until n = 2 players, at which point one person divides and the other person picks. No fancy secret encrypted system needed.

    --
    "It's the height of ridiculousness to say for those 9 lines you get hundreds of millions."
    1. Re:Cutting Cake Among n People by allo · · Score: 1

      the problem may be, if one person doesn't really want the biggest piece, he can ruin it for all the others, too.

    2. Re:Cutting Cake Among n People by zippthorne · · Score: 1

      I'm not sure what constitutes cake where you live, but from your description, it sounds more like what the rest of us would call, "pudding." Or "liquid terminator"

      With most western cakes, once you slice a piece off, you can't put it back.

      --
      Can you be Even More Awesome?!
  30. Uh, what? by gravis777 · · Score: 1

    I am not trying to troll here, but seriously, what? I read the headline several times, and then read the article summery, and all I can say is that I don't have a clue what this is talking about. I clicked on the first link, and it left me even more confused. This was the entire body of the first link:

    We examine the history of cake cutting mechanisms and discuss the efficiency of their allocations. In the case of piecewise uniform preferences, we define a game that in the presence of strategic agents has equilibria that are not dominated by the allocations of any mechanism. We identify that the equilibria of this game coincide with the allocations of an existing cake cutting mechanism.

    Cutting a cake is a game? I mean, at first I thought it was some sort of distributed computing post, but that doesn't really make sense either - why would distributed computing over the internet have this sort of problem.

    Once again, I am seriously not trying to be a troll, but can someone PLEASE explain wth this article is about, in layman's terms?

    1. Re:Uh, what? by Anonymous Coward · · Score: 0

      Cutting a cake is a game? I mean, at first I thought it was some sort of distributed computing post, but that doesn't really make sense either - why would distributed computing over the internet have this sort of problem.

      Cutting cake is a game in the same way the Prisoner's Dilemma is a game, "Chicken" is a game, negotiating your salary is a game, ...

      People are about as much interested in cutting imaginary cake over the internet as they are in confessing or not confessing imaginary crimes to reduce an imaginary sentence.

    2. Re:Uh, what? by Anonymous Coward · · Score: 1
    3. Re:Uh, what? by gravis777 · · Score: 1

      Thanks, exactly what I was looking for. I understand now.

  31. Let an agent control the cake? by billcarson · · Score: 1

    I am probably missing the point, but why can't we have one agent controlling and dividing the cake according to the requests it receives?
    That would result in an envy-free an proportional allocation.

    I find the use of words like "cake" and "mousse" very confusing for someone who is not active in that field.

  32. I guess I'm the only one by Anonymous Coward · · Score: 0

    Looks like I'm the only one that finds it amusing that they're cutting the cake with a chainsaw.

  33. King Solomen Asks by retroworks · · Score: 1

    Does it work on babies? How about Holy Lands?

    --
    Gently reply
  34. We already have such a system... by __aahlyu4518 · · Score: 2

    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.

    1. Re:We already have such a system... by Anubis+IV · · Score: 1

      Even if you look at the two-person problem you can see that honesty and trust don't handle everything. For instance, if you and I are both honest and trustworthy people who understand and believe that of each other, that doesn't prevent us from making mistakes. If I trusted you to cut the cake equally in two and you accidentally cut it such that one side was noticeably larger than the other, honesty and trust would help me to understand that it was an inadvertent mistake, but they wouldn't necessarily dictate a fair way to then split up the cake.

      As for people believing the system is rigged, that's inconsequential if it is not actually rigged. We call those false beliefs. It doesn't stop the system from working unless a sufficient number of people refuse to participate in it.

  35. Glossary by Anonymous Coward · · Score: 0

    Can someone elaborate on these:
    cryptographically secure auction - ? Do they just mean an auction with homomorphic encryption?
    homomorphic encryption - Wikipedia says there are no practical homomorphic encryptions, so is this algorithm practical or theoretical? The article makes it sound practical.
    maximum bid - as I understand it, the bidder who asks for the smallest slice gets the first slice, drops out of the bid, and the process iterates. This discourages people from waiting too long because they might be left with a smaller slice than they first intend, so everybody gets a "fair" share only in the sense that they get the share that they asked for from the shares that are left. If all the bidders save one request 100% of the cake initially, and the one bidder requests 99%, the winner walks away with 99% of the cake and the rest get to bid over the 1% that's left. Is this truly how this algorithm works?

  36. Only "simply fair" by Cow+Jones · · Score: 1

    If I understand the explanation of the algorithm correctly, the outcome is only "simply fair", meaning that every participant is guaranteed to receive a piece of the cake which he considers at least fair - but some of the participants get what they would value as better than a fair share.

    This is easily demonstrated by the simplest case: one cake, two participants. Participant A draws the dividing line, participant B gets to choose his share. The outcome for A will always be fair (because he devided the cake as fairly as he could), but participant B might very well consider one slice as more valuable than the other, and thus select what he considers "more than his share".

    The same thing goes for the algorithm in TFA, except that all participants indicate where they would cut the first slice from a (rectangular bar shaped) cake, without seeing the other participants' lines. The third-party automatic arbiter then assigns the smallest indicated slice to the participant who drew that line. This participant will consider his slice as "fair", whereas the others will think that more of the cake than they deserve remains.

    One way to game the system would be to intentionally draw one's line in a position which would give them an unfairly large slice. They probably won't win this round, but assuming that the other participants play fairly, the remaining cake will be slightly larger than (n-1)/n. Do this until only two participants are left. If, on the other hand, everybody places their lines in a way that would give them a larger-than-fair slice, the least greedy player will end up with an unfairly large slice.

    --

    Ah, arrogance and stupidity, all in the same package. How efficient of you. -- Londo Mollari
    1. Re:Only "simply fair" by Anonymous Coward · · Score: 0

      If the game is the same as social functions, i.e an iterated prisoners dilemma, the greedy player would be permanently ostracized from all future cake cutting events.

  37. Policy Paradox: Art of Political Decision Making by Paul+Fernhout · · Score: 1

    by Deborah Stone explores "fairness": http://www.amazon.com/Policy-Paradox-Political-Decision-Revised/dp/0393976254

    The paper itself is an great review, but as they say at the end: "In a more general setting, even with the combined tools of Mathematics, Economics and Computer Science at our disposal it would seem that further progress will be no cakewalk." So, you make good points in those regards.

    For example, one thing the paper does not seem to consider in my cursory skimming of it (which Deborah Stone talks about in "Policy Paradox") is if the number of entities changes during the course of the cake cutting and distribution. And also it is possible that the availability of other cakes may change during that time, too (like with the invention of cold fusion or LENR cheap energy devices). So, if the cake is the Earth, but there are future generations, and also new inventions to be discovered, and we might someday move into space, then how do we "divide" it now? And how does an entity, whether human or animal or plant or other, be deemed to have a right to a share?

    As Albert Einstein said, reflecting your points:
    http://www.sacred-texts.com/aor/einstein/einsci.htm
    "For the scientific method can teach us nothing else beyond how facts are related to, and conditioned by, each other. The aspiration toward such objective knowledge belongs to the highest of which man is capabIe, and you will certainly not suspect me of wishing to belittle the achievements and the heroic efforts of man in this sphere. Yet it is equally clear that knowledge of what is does not open the door directly to what should be. One can have the clearest and most complete knowledge of what is, and yet not be able to deduct from that what should be the goal of our human aspirations. Objective knowledge provides us with powerful instruments for the achievements of certain ends, but the ultimate goal itself and the longing to reach it must come from another source. And it is hardly necessary to argue for the view that our existence and our activity acquire meaning only by the setting up of such a goal and of corresponding values. The knowledge of truth as such is wonderful, but it is so little capable of acting as a guide that it cannot prove even the justification and the value of the aspiration toward that very knowledge of truth. Here we face, therefore, the limits of the purely rational conception of our existence.
        But it must not be assumed that intelligent thinking can play no part in the formation of the goal and of ethical judgments. When someone realizes that for the achievement of an end certain means would be useful, the means itself becomes thereby an end. Intelligence makes clear to us the interrelation of means and ends. But mere thinking cannot give us a sense of the ultimate and fundamental ends. To make clear these fundamental ends and valuations, and to set them fast in the emotional life of the individual, seems to me precisely the most important function which religion has to perform in the social life of man. And if one asks whence derives the authority of such fundamental ends, since they cannot be stated and justified merely by reason, one can only answer: they exist in a healthy society as powerful traditions, which act upon the conduct and aspirations and judgments of the individuals; they are there, that is, as something living, without its being necessary to find justification for their existence. They come into being not through demonstration but through revelation, through the medium of powerful personalities. One must not attempt to justify them, but rather to sense their nature simply and clearly. "

    --
    A 21st century issue: the irony of technologies of abundance in the hands of those still thinking in terms of scarcity.
  38. Cake is the halting problem by Anonymous Coward · · Score: 0

    I claim that any algorithm to cut up a cake so that each person thinks they get a fair share will either be incomplete (meaning it fails to return the correct result for at least problem), or inconsistent (meaning two or more people get the same part of the cake).

    Proof: Pick some 3 year old children. Ask them how much of the cake they would fee is fair for them to get. At least two people will feel that the only fair distribution of cake means that they get the entire cake.

    QED
       

  39. A fair sale by gr8_phk · · Score: 1

    I've often considered the issue of negotiating price of an item. One thing that seems fair is to take the average of the sellers lowest acceptable price and the buyers maximum price. Even if they could agree that this is "fair", getting them both to play without lying seems a near impossibility.

    1. Re:A fair sale by garyebickford · · Score: 1

      There is a book that covers this pretty well. I think it is called "Getting to Yes" but that may be another, related book. The thesis is that we all have three numbers: What I would love to get, the absolute minimum, and what I'm willing to get. The key to the whole thing is that every party has a BATNA - "Best Alternative To a Negotiated Agreement". This is what I know I can get without negotiating. The zone that is bounded by the parties' BATNAs is the area of negotiation.

      Often the hardest part of negotiating, or facilitating or arbitrating a negotiation, is to find out what each party's BATNA really is.

      IIRC this system was used by Jimmy Carter's negotiating team when they got Israel and Egypt together at Camp David and got them to sign a peace treaty.

      --
      It's easier to be a result of the past, but more fun to be a cause of the future! http://www.spacefinancegroup.com/