Search found 18428 matches

by hgm
Mon May 18, 2020 7:41 pm
Forum: Computer Chess Club: General Topics
Topic: Complete engine configuration
Replies: 23
Views: 779

Re: Complete engine configuration

Not sure what you mean by 'go to the configuration' if it is not a dialog. Is it a tab? I don't think that is much different: you get something else in view that covers/replaces what you were looking at before, have to do something there, and then move back. Whether it is a separate dialog and the t...
by hgm
Mon May 18, 2020 6:18 pm
Forum: Computer Chess Club: General Topics
Topic: Any Chess GUI that reads ebooks (PDF)
Replies: 16
Views: 510

Re: Any Chess GUI that reads ebooks (PDF)

Reads them to do what? Amuse the engine by reading to it from Harry Potter?
by hgm
Mon May 18, 2020 6:12 pm
Forum: Computer Chess Club: General Topics
Topic: Complete engine configuration
Replies: 23
Views: 779

Re: Engine configuration

It seems to me that there are many settings in there that a typical user would want to be the same for every engine. E.g. how you display the engine's PV is a display matter for the GUI, and I cannot imagine that there are users that would like to see Stockfish PVs in long algebraic, and Komodo PVs ...
by hgm
Mon May 18, 2020 5:41 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: How does reverse analysis work?
Replies: 2
Views: 201

Re: How does reverse analysis work?

It is entirely up to the client how it does this. The simplest way (which I suppose almost everyone uses) would be to send the engine "go infinite" ('analyze mode'), and after a pretetermined time send it "stop". Then load the previous positions, and repeat. This way the client would be in full cont...
by hgm
Sun May 17, 2020 5:56 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: sort every moves or pickNext
Replies: 14
Views: 599

Re: sort every moves or pickNext

True. But some engines use a reduction that is dependent on the order, and randomly ordering the late moves might make that less effective.

Besides, even picking two moves could already be slower than the binned sorting.
by hgm
Sun May 17, 2020 11:19 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: sort every moves or pickNext
Replies: 14
Views: 599

Re: sort every moves or pickNext

I often have to deal with variants where there are far more than 100 moves. But my preferred sorting method for non-captures is just binning the moves by relative history score. That is, when updating the history table you keep track of the maximum history value. And I keep history scores as floats....
by hgm
Sun May 17, 2020 10:12 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: sort every moves or pickNext
Replies: 14
Views: 599

Re: sort every moves or pickNext

Sorting by picking the best every time is an O(N^2) process, which can get pretty slow if there are many moves (like there typically would be for non-captures). Using quick sort for sorting the whole lot at one is only O(N*log(N)), which is significantly less work if N is large. The picking speculat...
by hgm
Sun May 17, 2020 9:38 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: On-line engine blitz tourney May
Replies: 25
Views: 833

Re: On-line engine blitz tourney May

The 'Has Own Book' option is not persistent, because it is assumed to be an engine-dependent thing, and next time you might start up WinBoard with a different engine. So it seemed more logical to always start at the default, assuming the engine has its own book. (Also to maintain backward compatibil...
by hgm
Sat May 16, 2020 6:02 pm
Forum: Computer Chess Club: General Topics
Topic: Earliest chess engines that have features of AB pruning?
Replies: 5
Views: 398

Re: Earliest chess engines that have features of AB pruning?

Alpha-beta pruning was already described in elementary textbooks for AI courses when I was a math student in 1976. BTW, human chess players have used it far before computers could play chess, even though they don't know it. If you ask a chess player that has been thinking about a position why he is ...
by hgm
Sat May 16, 2020 5:50 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: On-line engine blitz tourney May
Replies: 25
Views: 833

Re: On-line engine blitz tourney May

Sounds like timeseal crashed. XBoard connects to the icshelper through a pipe. Timeseal is basically a tellnet terminal that piggybacks time stamps on the transmitted data.