jducoeur: (Default)
jducoeur ([personal profile] jducoeur) wrote2006-07-31 01:16 pm
Entry tags:

Somewhere I have a button...

... that says something like:
var x = 100;
do {
   x = x + 1;
} until (x == 0);

Substitute "death" for "x", and you've got a painfully concise summary of the Middle Eastern situation...

[identity profile] goldsquare.livejournal.com 2006-07-31 05:17 pm (UTC)(link)
Insanity is doing the same thing, over and over again, and expecting different results. :-)

[identity profile] mentalgiant.livejournal.com 2006-07-31 06:49 pm (UTC)(link)
One could argue the same about doing nothing and expecting different results.

[identity profile] goldsquare.livejournal.com 2006-07-31 06:51 pm (UTC)(link)
Not for the traditional meaning of "results", eh?

[identity profile] goldsquare.livejournal.com 2006-07-31 07:49 pm (UTC)(link)
A result has a cause, a progenitor, an action which forced it to arise.

There is no "result" from doing nothing - anything which follows, occurs because of some other action or impluse. (I am ignoring entropy - although one might argue that it, too, is a force of some kind arising spontaneously. But that leads to a very long philosophical debate which would never detract from my point.)

[identity profile] mentalgiant.livejournal.com 2006-07-31 09:23 pm (UTC)(link)
All I am saying is that because man is fundamentally flawed, there will always be war.

[identity profile] peregrinning.livejournal.com 2006-07-31 05:21 pm (UTC)(link)
So, for the programming impaired, would it be:

"Keep killing people until no one has died"?

Not sure what the double equals sign means... but I agree, that's a good summation of the situation.

[identity profile] goldsquare.livejournal.com 2006-07-31 05:25 pm (UTC)(link)
It means "keep doing what you are doing, until the impossible happens".

[identity profile] metahacker.livejournal.com 2006-07-31 06:34 pm (UTC)(link)
Start with 100.

Add one.

Keep adding one until you get 0.

The funny thing is that this will eventually quit on many computers, after you get to such an unbelievably large number that the computer can't handle it and wraps around to an equally unbelievable negative number. This says more about how weird computers are than about the algorithm. ;)

[identity profile] fairdice.livejournal.com 2006-07-31 07:09 pm (UTC)(link)
Come, come! The Cray-3 is so fast it can execute an infinite loop in under 2 seconds!

(Actually, if x is an int, my machine at work exits after about 50 seconds...)

[identity profile] talvinamarich.livejournal.com 2006-07-31 06:43 pm (UTC)(link)
So.

We should run a stack trace on Diplomacy?