Search found 2996 matches

by lucasart
Sat Jul 04, 2020 12:38 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: GCC 8.1 vs GCC 10.1
Replies: 18
Views: 476

Re: GCC 8.1 vs GCC 10.1

Right, those idiots try hard to make each new version of gcc slower than the one before. Fortunately we have expert-testers who expose them. Good job Gabor! I switched to clang long ago and never looked back. Though I did understand your irony on -s (which some people seem to confuse with -Os), my ...
by lucasart
Thu Jul 02, 2020 12:20 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: GCC 8.1 vs GCC 10.1
Replies: 18
Views: 476

Re: GCC 8.1 vs GCC 10.1

Things are worse than I thought. I tried to compile the new Raven 1.00. With GCC 8.1 everything's OK. With GCC 10.1.0-3 I get a 200 kB error file, the start of which is this: That's new with GCC 10 and actually caused by sloppy code. External variables should be declared as "external". Try compilin...
by lucasart
Thu Jul 02, 2020 4:25 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Stockfish has included WDL stats in engine output
Replies: 6
Views: 197

Re: Stockfish has included WDL stats in engine output

Stockfish has included WDL stats in engine output. info depth 1 seldepth 1 multipv 1 score cp 110 wdl 355 620 25 nodes 111 nps 37000 tbhits 0 time 3 pv e2e3 info depth 2 seldepth 2 multipv 1 score cp 122 wdl 392 587 21 nodes 448 nps 149333 tbhits 0 time 3 pv e2e3 b7b6 info depth 3 seldepth 3 multip...
by lucasart
Thu Jul 02, 2020 3:38 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: GCC 8.1 vs GCC 10.1
Replies: 18
Views: 476

Re: GCC 8.1 vs GCC 10.1

Right, those idiots try hard to make each new version of gcc slower than the one before. Fortunately we have expert-testers who expose them. Good job Gabor! I switched to clang long ago and never looked back. Though I did understand your irony on -s (which some people seem to confuse with -Os), my ...
by lucasart
Mon Jun 29, 2020 4:44 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Please help with Plankton
Replies: 9
Views: 312

Re: Please help with Plankton

Another common bug in mid-range engines is wrong stalemate or even mate detection: if the position is so good or so bad that ALL moves are pruned away, the loop over the available moves is wrongly evaluated to "no legal move", i.e. mate or stalemate. The symptom is that the engine does something to...
by lucasart
Tue Jun 23, 2020 11:39 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Just made an account to say thank you!
Replies: 5
Views: 408

Re: Just made an account to say thank you!

Dear forum, it is time to say thank you all! I've coded my own engine (Java), it was working nicely on a level where you find like tens of thousands of it. But I was happy and continued to work on some more enhancements, transposition tables lately. This is where the problems arised: From time to t...
by lucasart
Sat Jun 06, 2020 11:58 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Just found a 55 elo bug in SlowChess 2.1
Replies: 26
Views: 2148

Re: Just found a 55 elo bug in SlowChess 2.1

Converting the pieces to an enum is a good idea to avoid mixing them up with squares. I've thought about it by doing this with pieces and squares, but using enums as indexes and converting back and forth between the enum and the integer value is incredibly annoying in Rust. Therefore I'm probably o...
by lucasart
Sun May 24, 2020 4:32 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: PGN standard
Replies: 44
Views: 3335

Re: PGN standard

I'd suggest replacing PGN with a JSON/YAML-based format. As it happens, I've been recently fiddling with the following position serialisation: { "players": [ { "pieces": [ "Ke1", "Ra1", "Rh1", "Bc1", "Bf1", "Nb1", "Ng1", "Qd1", "Pa2", "Pb2", "Pc2", "Pd2", "Pe2", "Pf2", "Pg2", "Ph2" ], "castlingFile...
by lucasart
Fri May 22, 2020 3:39 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: c-chess-cli
Replies: 15
Views: 1360

Re: c-chess-cli

Joerg Oster wrote:
Tue May 19, 2020 8:08 pm
A summary of the result at the end would be nice. :D
Done. Total WLD and score% shown after each game.
by lucasart
Fri May 22, 2020 1:25 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: PGN standard
Replies: 44
Views: 3335

Re: PGN standard

bob wrote:
Fri May 22, 2020 1:18 am
Probably won't happen, but it would be good to see a PGN 2.0 that cleans up some of the complaints and ambiguities.
Agreed. We need a new PGN format, and we can still call it PGN: Parsable Game Notation :lol:

The current one is about as parsable as modern C++.