python-chess has already packaged up the code you need for Polyglot book support:
https://python-chess.readthedocs.io/en/ ... yglot.html
Search found 3951 matches
- Sun Nov 22, 2020 10:15 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Implement an opening book to my Python engine
- Replies: 5
- Views: 1200
- Fri Nov 20, 2020 7:40 pm
- Forum: Computer Chess Club: General Topics
- Topic: Chess opening database with names
- Replies: 16
- Views: 2074
Re: Chess opening database with names
Note that many such collections are inaccurate. I see games posted that have ECO classifications not even close to right. But even with the best kind of database, the classification system has some ambiguities. For example, the Semi-Tarrasch (D41/D42) has a lot of lines that overlap the Caro-Kann (B...
- Thu Nov 19, 2020 8:31 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: You've trained a brilliant NN(UE) King-Piece Network. Now what?
- Replies: 22
- Views: 4221
Re: You've trained a brilliant NN(UE) King-Piece Network. Now what?
I'm not familiar at all with licenses (that's one of the reason why Orion's source code is not available, the others being that the engine is too weak to be helpful, and code is maybe not so "elegant" :)), but if people are interested in and if it is possible to find the most "public domain" licens...
- Thu Nov 19, 2020 6:36 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: You've trained a brilliant NN(UE) King-Piece Network. Now what?
- Replies: 22
- Views: 4221
Re: You've trained a brilliant NN(UE) King-Piece Network. Now what?
I suppose the end result might be that I don't care to do the implementation. In which case its weird that I have a big function of 20 million weights sitting on my desktop, which would gain 100+ elo if implemented well, but no one will ever see it. I have a somewhat similar issue: my engine is not...
- Wed Nov 18, 2020 2:11 am
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: 4 x Intel Xeon good idea?
- Replies: 23
- Views: 3370
Re: 4 x Intel Xeon good idea?
Note also this is a server box. It will be very loud with the fans going.
I'd recommend instead you look at workstations, for example:
https://www.ebay.com/itm/HP-Z640-Workst ... SwhHlemLQe
I'd recommend instead you look at workstations, for example:
https://www.ebay.com/itm/HP-Z640-Workst ... SwhHlemLQe
- Tue Nov 17, 2020 2:46 pm
- Forum: Computer Chess Club: General Topics
- Topic: List of bugfree, opensource Linux and MacOSX engines
- Replies: 155
- Views: 14247
Re: List of bugfree, opensource Linux and MacOSX engines
Sorry, I did not mention: you need to do this:I have tried it after a "git pull" and got an (non-mac-related) error:
git submodule update --init --recursive
Everything is documented here:
https://github.com/jdart1/arasan-chess/ ... c/BUILD.md
- Tue Nov 17, 2020 2:00 am
- Forum: Computer Chess Club: General Topics
- Topic: List of bugfree, opensource Linux and MacOSX engines
- Replies: 155
- Views: 14247
Re: List of bugfree, opensource Linux and MacOSX engines
I pushed some changes to the Arasan github that should improve the build experience on Mac. "make" should now build the engine, although not necessarily the most optimized version. "make avx2-profiled" is what I'd recommend if you're on a modern CPU.
--Jon
--Jon
- Mon Nov 16, 2020 2:21 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: C++20 standard bit operations
- Replies: 6
- Views: 1480
Re: C++20 standard bit operations
Out of curiosity I tried with the Intel compiler, unfortunately the Visual Studio 16.8 update breaks the Intel compiler completely. Each time it's the same sh*t with Intel, they want an arm and a leg for their software and it is never up to date. Their solution is to install a beta version of oneAP...
- Sun Nov 15, 2020 11:33 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: Ubuntu 18 vs Centos
- Replies: 9
- Views: 2070
Re: Ubuntu 18 vs Centos
It looks like Clear Linux had the best benchmarks overall, but they are all sourcing basically the same kernel, so there are just details in terms of how it is compiled and configured. Your hardware makes much more difference to overall performance than the OS layer does. I was not familiar with Cle...
- Sun Nov 15, 2020 6:21 pm
- Forum: Computer Chess Club: Programming and Technical Discussions
- Topic: C++20 standard bit operations
- Replies: 6
- Views: 1480
C++20 standard bit operations
C++20 defines a standard header <bit> that contains bit primitives like popcount, leading zeros etc. (https://en.cppreference.com/w/cpp/header/bit). This provides a way do to these things portably w/o relying on compiler intrinsics. I assume but have not verified that compilers will use hardware sup...