Search found 3091 matches

by lucasart
Tue Apr 13, 2021 12:07 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FEN compression
Replies: 17
Views: 1976

Re: FEN compression

Not nearly as good as yours, although trivial to decompress and matches my internal use during training. Load times are pretty fast, to the point where speeding it up is a non-factor for me, but I imagine your scheme would be faster, trading off disk reads for decompression. Occupancy : 8-bytes Eva...
by lucasart
Mon Apr 12, 2021 9:52 am
Forum: Computer Chess Club: General Topics
Topic: We are past the stage where the OS has become the virus
Replies: 91
Views: 2717

Re: We are past the stage where the OS has become the virus

My chess analysis was running slow. So I looked at what processes in memory were doing. There was this thing: Compattelrunner.Exe It was using 17% of my compute power, and my chess task which should be at 95% was struggling. Apparently, it is MS Windows spy process that you cannot turn off. So I fo...
by lucasart
Sun Apr 11, 2021 11:45 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: yet another NN library
Replies: 2
Views: 445

yet another NN library

I wrote a simple NN library, if anyone is interested in developping their own trainer. https://github.com/lucasart/nn Simple code, documented, tested, easily extensible. Happy coding! What it does: Create network (fully connected MLP) with arbitrary dimensions and activation functions (linear, relu,...
by lucasart
Wed Apr 07, 2021 4:37 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Ubuntu ARM64 for chess?
Replies: 24
Views: 1033

Re: Ubuntu ARM64 for chess?

Hi! Have you a link for cutechess and cutechess-cli ARM64 binaries? I've fount it here, but it is expired. I'll tell you if it works also on Ubuntu ARM64 under Parallels Desktop M1 :) Thanks! AlexChess I thought you wanted to compile by yourself. Are you having issues compiling Cutechess or Banksia...
by lucasart
Tue Apr 06, 2021 10:15 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Ubuntu ARM64 for chess?
Replies: 24
Views: 1033

Re: Ubuntu ARM64 for chess?

Hi! I'm interested in playing engine tournaments with Ubuntu ARM, So I'm looking for chess IDEs like Winboard/xboard, Cutechess, BanksiaGui & Arena compiling them by myself (if open source) together with all best engines. Until now I have only Pychess working... c-chess-cli should work: https://git...
by lucasart
Sun Mar 28, 2021 12:04 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Ronald de Man is such a hero
Replies: 27
Views: 3272

Re: Ronald de Man is such a hero

Sadly, it seems that no one cares anymore, with hello world programs compiling to several megabytes in new programming languages like Go, and even Rust... Rust keeps it's debug symbols, even in a release compile. (I.e., you can make a release compile that runs at full speed, and still debug it.) Yo...
by lucasart
Sat Mar 27, 2021 8:58 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Ronald de Man is such a hero
Replies: 27
Views: 3272

Re: Ronald de Man is such a hero

I just built CFish and the binaries are deliciously tiny (I have a script that builds three different versions): This is the strength of the C language that comes with no bloated runtime, not Ronald I am afraid. Ronald de Man still deserves our congratulations for the quality of the code he writes....
by lucasart
Thu Mar 18, 2021 4:36 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FEN compression
Replies: 17
Views: 1976

Re: FEN compression

Update: removed useless ep bit. itemname | bits | definition --------------------------------------------|----------- occupied | 64 | pext(white,occupied) | cnt(occupied) | black = occupied & ~white | 0 | pext(pawns, occupied) | cnt(occupied) | pext(knights, remaining) | cnt(remaining) | remaining =...
by lucasart
Thu Mar 18, 2021 3:31 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FEN compression
Replies: 17
Views: 1976

Re: FEN compression

Dann Corbit wrote:
Thu Mar 18, 2021 1:54 am
Specifically:

Code: Select all

Instruction	Zen2	                                  Zen3
PDEP/PEXT	300 cycle latency 250 cycles per clock	3 cycle latency 1 per clock
Definitely my next CPU when I finish frying my Intel i7.
by lucasart
Wed Mar 17, 2021 1:11 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FEN compression
Replies: 17
Views: 1976

Re: FEN compression

Actually, it can be improved even further, because the candidate squares for en-passant are only of the opposite(turn). itemname | bits | definition --------------------------------------------|----------- occupied | 64 | pext(white,occupied) | cnt(occupied) | black = occupied & ~white | 0 | pext(pa...