Subscribe by Email

Your email:

Multicore Programming Blog

Current Articles | RSS Feed RSS Feed

87% efficient parallel conversion of donuts to code

Posted by John Carr on Wed, Aug 06, 2008
 | Submit to Digg digg it | Submit to Reddit reddit | Add to delicious delicious | Submit to StumbleUpon StumbleUpon | Share on Twitter Twitter 
One morning a few weeks ago I decided to grab a donut on my way to work instead of eating at home in the morning. I bought a donut and a box of 25 Munchkins (donut holes) at the Dunkin Donuts [1] in Auburndale, Massachusetts.

The donut I ate. The box of holes I left in the kitchen before 7:00 AM. By 11:30 three remained. By lunchtime, all were gone.

Wow, that was fast.

I wonder what would happen if I brought in twice as many?

The box of 50 was gone by lunch, but there were more remaining at 11:30 than the first time.

Wow, that's quite an appetite we have. I wonder what would happen if I brought in even more?

The following Monday I brought in 75 donut holes.

By 11:30 about 10 remained, and after lunch only four of the undesirable "plain" variety remained.

The result is, each increment of 25 donuts leaves 3.3 uneaten by 11:30 (round results to integers[2]). In other words, those of us who work mornings are 87% efficient at turning donuts into code. I believe I also proved that satiation is impossible because appetite scales with supply.

Note that we have three college students here working as summer interns. A fourth employee has requested that he be considered a college student for purposes of appetite.


[1] Our founder was recently reminding us to look beyond stereotypes. Those of you inclined to take that advice should know that I once saw a city police officer running a speed trap out of the parking lot of that Dunkin Donuts to meet his ticket quota.


[2] Donut holes are quantized. Half holes are rare.

With ordinary donuts fractions are not merely possible, they are regularly observed as people have an aversion to taking the last piece. So the sequence of donuts remaining may go 3, 2, 1, ½, ¼, ⅛, 0. The sequence terminates because the reward of a sixteenth of a donut is so small and the silliness so large that polite people refuse to split it and one of the rest of us finishes the job in a single bite.

Tags: 

COMMENTS

I think I will recommend that our Innovation Labs researchers re-enact this experiment here, but with Krispy Kreme -- testing the sugar load corollary to your satiation hypothesis.  
 
I would have to count myself as a college student appetite.

posted @ Tuesday, September 02, 2008 11:20 AM by Steve Hochschild


This entry made me think about the book "Predictably Irrational: The Hidden Forces That Shape Our Decisions"  
 
The author is interested in the decisions people make everyday, such as when shopping, but, unlike a normal economist, as a behavioral economist he doesn't assume that people make decisions rationally. He looks at different facets of life and looks at people's expectations, and their passions (or lack thereof) for work. 
 
The book addresses a variety of areas in which Dan performed a lot of experiments. He uses things as mundane as beer, wine, pencils, and chocolate in his research. For example, to see how people treat money differently than non-money, he put 6-packs of Coke in college dorm refrigerators and figured out the "half-life of Coke" (i.e., how long it took for people to steal it). Quite quickly. He then left plates of money. No one took any. 
 
(This review is from Dan Bricklin's blog)

posted @ Tuesday, September 02, 2008 3:00 PM by Steve Hochschild


Post Comment
Name
 *
Email
 *
Website (optional)
Comment
 *

Allowed tags: <a> link, <b> bold, <i> italics

Receive email when someone replies.