March 30, 2007 Re: might be a bug in the DMD FrontEnd [OT] | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dan | Dan wrote: >> int getRandomNumber() >> { >> return 4; // chosen by fair dice roll. >> // guaranteed to be random. >> } > > ^^^ Priceless. : D > > That reminds of the ol' "find x" "here it is ----> x" picture going around. Taken from XKCD: http://xkcd.com/c221.html The author is one part geek, one part comedian and one part hopeless romantic. The comic archive is *packed* with humor like this. -- - EricAnderton at yahoo |
April 02, 2007 Re: might be a bug in the DMD FrontEnd | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dan | Dan wrote:
>> int getRandomNumber()
>> {
>> return 4; // chosen by fair dice roll.
>> // guaranteed to be random.
>> }
>
> ^^^ Priceless. : D
The original IBM random number generator was a bit like that. When a bug report was made, the response was:
"We guarantee that each number is random individually, but we don't guarantee that more than one of them is random."
- Numerical Recipes, chapter 7.
|
Copyright © 1999-2021 by the D Language Foundation