Live data from Hacker News

Insects and Entropy

tomayko.com

1–10 of 26 posts

Re: Insects and Entropy

#6
The story is not that far fetched. Decades ago (I think) there was a computer simulated game designed to play out what is called the Prisoner's Dilemma hosted by professor Axelrod. And the winning program? It was the simplest one, which the author had named Tit-for-Tat.

Re: Insects and Entropy

#7
post #3

So, the moral of the story is that your code should do one thing and do it well.

I think the moral is that in this case reliability wins. (And in this case, strapping a shell loop around your program that restarts it every n seconds would have worked.)

Re: Insects and Entropy

#8
post #6

The story is not that far fetched. Decades ago (I think) there was a computer simulated game designed to play out what is called the Prisoner's Dilemma hosted by professor Axelrod. And the winning program? It was the simplest one, which the author had named Tit-for-Tat.

Oh, but Tit-for-Tat didn't win because the other programs crashed.

Re: Insects and Entropy

#9
Occam's razor at work. The simpler the logic, the more likely it is that it does not contain unexpected faults than a system which has more complex logic.

Re: Insects and Entropy

#10
post #9

Occam's razor at work. The simpler the logic, the more likely it is that it does not contain unexpected faults than a system which has more complex logic.

The article claims that the kid's program contained lots of dead code.
Post reply on HN