Search found 3942 matches

by syzygy
Sun Jan 13, 2019 7:38 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: compiling stockfish with more options
Replies: 11
Views: 423

Re: compiling stockfish with more options

Besides i already use stockfish derivatives with many options, i just was curious if i would be able to make one of them on my own, but its not most important. So it is possible and not all too difficult, but it requires a bit of knowledge of C++ and several modifications to the source code. Since ...
by syzygy
Sun Jan 13, 2019 1:03 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: compiling stockfish with more options
Replies: 11
Views: 423

Re: compiling stockfish with more options

Here is my problem. I can add new tuning option just visually by adding something like "o["X"] << Option(100, 0, 100);" in ucioption.cpp but i cant actually connect it in proper way to some value. For example i want for "X" to change parameters in types.h file, we can say "QueenValueMg". QueenValue...
by syzygy
Sun Jan 13, 2019 2:10 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: compiling stockfish with more options
Replies: 11
Views: 423

Re: compiling stockfish with more options

I have no problem with changing values by this tool, but its quite time-consuming to make a guess and then make .exe one by one with small fluctuations of values. If i have possibility to change values from uci menu in gui it would be incomparably faster for engine tests (faster like faster is copy...
by syzygy
Sun Jan 13, 2019 2:09 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: compiling stockfish with more options
Replies: 11
Views: 423

Re: compiling stockfish with more options

Here is my problem. I can add new tuning option just visually by adding something like "o["X"] << Option(100, 0, 100);" in ucioption.cpp but i cant actually connect it in proper way to some value. For example i want for "X" to change parameters in types.h file, we can say "QueenValueMg". QueenValue...
by syzygy
Sat Jan 12, 2019 9:38 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Interesting article in "Nature" on Machine Learning
Replies: 3
Views: 382

Re: Interesting article in "Nature" on Machine Learning

The paper itself is also available: https://www.nature.com/articles/s42256-018-0002-3 Our focus is on a specific learning problem we call ‘estimating the maximum’ (EMX). The EMX problem belongs to both models discussed above. Here is a motivating example. Imagine a website that is being visited by a...
by syzygy
Sat Jan 12, 2019 9:28 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Interesting article in "Nature" on Machine Learning
Replies: 3
Views: 382

Re: Interesting article in "Nature" on Machine Learning

See also here . Ben-David and colleagues then prove that the ability to carry out a weak form of monotone compression is related to the size of certain infinite sets. The set that the authors ultimately use in their work is the unit interval, which is the set of real numbers between 0 and 1. Their r...
by syzygy
Sat Jan 12, 2019 9:11 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Interesting article in "Nature" on Machine Learning
Replies: 3
Views: 382

Re: Interesting article in "Nature" on Machine Learning

The article starts with an inaccuracy: The mathematicians, who were working on a machine-learning problem, show that the question of ‘learnability’ — whether an algorithm can extract a pattern from limited data — is linked to a paradox known as the continuum hypothesis. Gödel showed that the stateme...
by syzygy
Sun Jan 06, 2019 11:06 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Writing bugs
Replies: 63
Views: 2039

Re: Writing bugs

(This is an explanation of how it came about but not a valid excuse.) An earlier and somewhat more complete explanation by Dennis Ritchie can be found here . So early C only had & and |, which were interpreted as logical or bitwise operators depending on the context. Then Ritchie added && and || bu...
by syzygy
Sun Jan 06, 2019 10:25 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Writing bugs
Replies: 63
Views: 2039

Re: Writing bugs

elpapa wrote:
Sun Jan 06, 2019 5:12 pm
x <= MAX_MOVES
x < MAX_MOVES
i < MAX_MOVES :P
by syzygy
Sun Jan 06, 2019 10:24 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Writing bugs
Replies: 63
Views: 2039

Re: Writing bugs

aside from what has been mentioned already, C operator precedence: & has lower priority than != (I never understood why bitwise ops are lower than relational to be honest), so the expression evaluates as x & (1 != engine) instead of the intended (x & 1) != engine or maybe it was intended? :) https:...