I wonder why they didn't at least compress the data? a simple LZ compressor can reduce the net from 21 to 13.6MB and with
a simple byte-slicing filter (data is 16-bit, so simply group even and odd bytes together) to 12.5MB, that's 60% of the original
still trivial to decompress and also very fast
The most stupid idea by the Stockfish Team
Moderators: hgm, Rebel, chrisw
-
- Posts: 2559
- Joined: Fri Nov 26, 2010 2:00 pm
- Location: Czech Republic
- Full name: Martin Sedlak
Re: The most stupid idea by the Stockfish Team
Martin Sedlak
-
- Posts: 5566
- Joined: Tue Feb 28, 2012 11:56 pm
Re: The most stupid idea by the Stockfish Team
Because it is even more trivial to just zip the executable.mar wrote: ↑Mon Aug 31, 2020 3:28 am I wonder why they didn't at least compress the data? a simple LZ compressor can reduce the net from 21 to 13.6MB and with
a simple byte-slicing filter (data is 16-bit, so simply group even and odd bytes together) to 12.5MB, that's 60% of the original
still trivial to decompress and also very fast
-
- Posts: 5566
- Joined: Tue Feb 28, 2012 11:56 pm
Re: The most stupid idea by the Stockfish Team
If you want to compile SF, install MSYS2.corres wrote: ↑Mon Aug 31, 2020 2:34 amThis is my text without sarcasm.corres wrote: ↑Sun Aug 30, 2020 11:29 pm Concerning the compilation of SF+NNUE I mentioned the SF developer forgot to name the Windows compiler what appropriate to their "simple" Make file and to SF+NNUE non-embedded.
I think if you, Mr. "syzygy" publish this information, there would be many people who would thank you for help.
So which Windows compiler is good for SF+NNUE without embedding??
Excluding Visual Studio.
https://github.com/glinscott/fishtest/w ... on-Windows
Instead of executing the "bash script", just do this (cd src; make help, etc.):
https://github.com/official-stockfish/S ... he-sources
-
- Posts: 12542
- Joined: Wed Mar 08, 2006 8:57 pm
- Location: Redmond, WA USA
Re: The most stupid idea by the Stockfish Team
Here is the problem that is probably unique for me, I have lots of machines of different kinds.
I have Intel and Amd and 20 year old machines and brand new machines.
Now, I also get all of Mike's stuff like Bluefish, etc. So multiply that machine hardware type by the number of build types.
Let's add in Corchess, Crystal, Cfish and similar things, because I simply can't live without them.
Yes, I can probably hand edit all the makefiles and figure out all the changes I need to make with each and every new build (and just saving the old makefile does not work, because makefiles change as often as the code does)
Here is the strange thing. If I build the SF version before embedding and the nnue file is not there it is automatically downloaded. Why can't they do the same thing when I am using it and not building it?
Or just have a batch file that looks for the file and if it does not see it call wget
I know I am a big whiner. But if you had the same perverse chess tendencies that I do, you would understand
I have Intel and Amd and 20 year old machines and brand new machines.
Now, I also get all of Mike's stuff like Bluefish, etc. So multiply that machine hardware type by the number of build types.
Let's add in Corchess, Crystal, Cfish and similar things, because I simply can't live without them.
Yes, I can probably hand edit all the makefiles and figure out all the changes I need to make with each and every new build (and just saving the old makefile does not work, because makefiles change as often as the code does)
Here is the strange thing. If I build the SF version before embedding and the nnue file is not there it is automatically downloaded. Why can't they do the same thing when I am using it and not building it?
Or just have a batch file that looks for the file and if it does not see it call wget
I know I am a big whiner. But if you had the same perverse chess tendencies that I do, you would understand
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
-
- Posts: 214
- Joined: Tue Nov 03, 2015 4:55 pm
Re: The most stupid idea by the Stockfish Team
Why not have a packaged version with the bin file and one without
-
- Posts: 12542
- Joined: Wed Mar 08, 2006 8:57 pm
- Location: Redmond, WA USA
Re: The most stupid idea by the Stockfish Team
I guess that the makefile will become much more complex if they double the build types.
And I only do profile builds so if they have a normal build without the binary that won't help me any.
I suspect that the bundling of the binary is a complex process, but I did not look into it yet.
And I only do profile builds so if they have a normal build without the binary that won't help me any.
I suspect that the bundling of the binary is a complex process, but I did not look into it yet.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
-
- Posts: 3657
- Joined: Wed Nov 18, 2015 11:41 am
- Location: hungary
Re: The most stupid idea by the Stockfish Team
Many thanks for you and for Glinscott.syzygy wrote: ↑Mon Aug 31, 2020 3:49 amIf you want to compile SF, install MSYS2.corres wrote: ↑Mon Aug 31, 2020 2:34 amThis is my text without sarcasm.corres wrote: ↑Sun Aug 30, 2020 11:29 pm Concerning the compilation of SF+NNUE I mentioned the SF developer forgot to name the Windows compiler what appropriate to their "simple" Make file and to SF+NNUE non-embedded.
I think if you, Mr. "syzygy" publish this information, there would be many people who would thank you for help.
So which Windows compiler is good for SF+NNUE without embedding??
Excluding Visual Studio.
https://github.com/glinscott/fishtest/w ... on-Windows
Instead of executing the "bash script", just do this (cd src; make help, etc.):
https://github.com/official-stockfish/S ... he-sources
I did not know this spring.
For my luckiness I found a resolving to the present time with msys 1.0 and mingw, and I can reach the same speed as the official release has, but I am happy to know the general solution.
So many thanks for it.
-
- Posts: 710
- Joined: Sat Dec 06, 2014 1:53 pm
Re: The most stupid idea by the Stockfish Team
-
- Posts: 1364
- Joined: Sat Jul 21, 2018 7:43 am
- Location: Szentendre, Hungary
- Full name: Gabor Szots
Re: The most stupid idea by the Stockfish Team
There is a glitch in that, at least for me: the dev compile is 4 times as fast as mine. OK, I admit am totally new to compiling.AndrewGrant wrote: ↑Sun Aug 30, 2020 12:04 pm There is utility in packaging them together. The vast majority of Stockfish users are not people who frequent any forums like this.
If you really want to be ahead of the curve, just compile your own Stockfishs yourself.
Gabor Szots
CCRL testing group
CCRL testing group
-
- Posts: 1759
- Joined: Tue Apr 19, 2016 6:08 am
- Location: U.S.A
- Full name: Andrew Grant
Re: The most stupid idea by the Stockfish Team
That would be because you selected a suboptimal make target. It is far more complex now that there are a dozen different targets to account for the vector maths that some processors have. If you told me your CPU, I could probably look at the makefile and tell you the right one, but I've not followed all the changesGabor Szots wrote: ↑Mon Aug 31, 2020 12:17 pmThere is a glitch in that, at least for me: the dev compile is 4 times as fast as mine. OK, I admit am totally new to compiling.AndrewGrant wrote: ↑Sun Aug 30, 2020 12:04 pm There is utility in packaging them together. The vast majority of Stockfish users are not people who frequent any forums like this.
If you really want to be ahead of the curve, just compile your own Stockfishs yourself.
#WeAreAllDraude #JusticeForDraude #RememberDraude #LeptirBigUltra
"Those who can't do, clone instead" - Eduard ( A real life friend, not this forum's Eduard )
"Those who can't do, clone instead" - Eduard ( A real life friend, not this forum's Eduard )