Forgot your password?

typodupeerror

Comment: Re:printf (Score 1) 425

A program can't necessarily fail gracefully. An assertion failing means that something has already gone wrong; perhaps data structures are corrupted and continuing might result in worse damage: writing wrong data, deleting the wrong file. Returning to the caller is not necessarily safer than exiting.

Comment: Re:Simply put.. (Score 1) 328

by ebcdic (#42591187) Attached to: How Do You Detect Cheating In Chess? Watch the Computer

> I thought it was more if you win playing the same moves that a computer would make you are cheating.

As Regan points out, this is only unlikely if you play the same moves as a computer, and many of these are cases where the advantage of the chosen move was tiny. If the computer chooses moves that are forced or better by a clear margin, so will a good player. On the other hand, if the computer's preferred move is only better by an insignificant amount, it's very unlikely that a human will repeatedly do the same.

Of course, this allows cheats to improve their strategy: where there are several moves with little difference between them, choose randomly instead of choosing the best.

Thufir's a Harkonnen now.

Working...