Not logged inRybka Chess Community Forum
Up Topic The Rybka Lounge / Computer Chess / Bluefish BMI2 (Beta)
- - By Eelco de Groot (***) Date 2019-09-27 04:45 Edited 2019-09-27 04:51 Upvotes 4
This is just an experiment for Uly mainly, what happens if you throw a bit of Deep Junior ingredients in Stockfish mix, latest development version. Getting the Deep Junior - Kasparov Bishop sac from New York is not so hard, but it only plays it for about 5 minutes. Trouble is White can with little effort reach a repetition draw I think, what also happened in the game. So score sinks again for Black to zero and then lower.

But Uly mainly wants an engine with "style", probably needs more changes than that. In this version I only changed the material value of a pawn from 128 to a round 100. Then all the other piece values roughly the same, and midgame limit and endgame limit to match. Also the material imbalance table but could be argued you want actually more imbalance, not more positional versus material. In that case the material imbalances should be turned not as material down but up. Not tried. Then the same 100/128 increase for King Safety, by dividing kingdanger * kingdanger by 3200 instead of 4096. Another nice round number there, coincidence but 4096 also strange as power of two. That's it, no other changes. I did no extensive checks if there are no overflows anywhere, its a bit of wild code on a rainy night only.
Attachment: BluefishBetaStockfish-clone.7z - BMI2 compile (plus sources), TDM-GCC compiled (450k)
Parent - By Eelco de Groot (***) Date 2019-09-27 05:50 Upvotes 1
Forgot to say that contempt should be set to zero in the UCI settings if you want the exact same engine as in the three games, Analysis contempt can be set to Off for both sides but with zero contempt that should not matter. Dynamic contempt is not so easy to switch off, it is unchanged from Stockfish dynamic contempt. In the games Stockfish had the same UCI settings for contempt as Bluefish,
Parent - - By Eelco de Groot (***) Date 2019-09-28 08:28 Edited 2019-09-28 08:48 Upvotes 4
Here's a generic compile for processors that can't run the BMI2 compile, benchnumber is of course the same, 4176743. This should run on all the x86 architecture if it is 64 bit.

===========================
Total time (ms) : 3123
Nodes searched  : 4176743
Nodes/second    : 1337413

Also a -modern compile added now.
Attachment: Bluefish.exe - Just the executable, called Bluefish this time, for sources and licence etc. see the other compile. (1151k)
Attachment: Bluefish-modern.exe - -modern compile (in speed, this should fall in between the other two but does not run on older proc) (1143k)
Parent - - By Uly (Gold) Date 2020-01-28 21:23 Upvotes 1
Thanks Eelco. I didn't see this thread until now! The forum software somehow marked old threads read even though I never entered them, so I completely missed this.

I'll be checking Bluefish and I appreciate your efforts.
Parent - - By Eelco de Groot (***) Date 2020-01-31 11:03
I am sorry you did not get to see the thread sooner Uly. I suspect it was a color contrast thing, I usually make links with {url=}text{/url} (with standard braces of course) but then you can only see the link because of the color contrast. Sorry about that.

It is relatively easy to make a more up to date version from new 'Stockfish 11+', development is really going fast, Stockfish 11 only a few weeks old but already new developments there :cool: I can't make any new version though because my computer is still down, I have to move it into town but not yet decided how I'm going to do that. Hope it is not going to cost a fortune to repair.

If you make your own version I understood from Alayan maybe better to use another name if you change anything. Bluefish was not really a different branch but a machine. did not know it was not a TCEC machine. Maybe another name from a Dr. Seuss book could be used;

Parent - - By Uly (Gold) Date 2020-02-01 01:29

> If you make your own version


Thanks Eelco, are these the changes I need to make on regular Stockfish to make it do this?

-Change pawn value to 100
-Make midgame limit and endgame limit match
-Change the material imbalance table
-Make the kingdanger division 3200 instead of 4096
Parent - - By Eelco de Groot (***) Date 2020-02-01 07:18
Hi Uly, just from memory I think yes all those changes but you have to lower the material value for the other pieces as well, so the effect is positional values all get the same proportional increase over the pure material values, and the King safety gets a second boost to make the Junior type king attacks. But I suggest using something like WinMerge, if you did not do that already, to compare the 3 ***_def. files (_def standing for 'default') with the ones that the compiler will use. WinMerge probably very old fashioned by now but it's what I still use.

Hope you can get it to work! Don't hesitate to ask if there is something not clear.
Eelco
Parent - - By Uly (Gold) Date 2020-02-01 22:02
Yeah, I've been thinking about making a version that allows you to change those values directly on engine settings, so this editing source nonsense is put to an end and I just need to apply the patch to Stockfish Dev and have an up to date tweakable Stockfish at will, with Bluefish's settings as default.

I abandoned the idea at some point but Mindbreaker has been asking in the Stockfish group for something like this, so there's probably more interest for such a version than I thought.

> But I suggest using something like WinMerge, if you did not do that already, to compare the 3 ***_def. files (_def standing for 'default') with the ones that the compiler will use.


Okay, was Bluefish based on Stockfish 10 or is it from a specific version I'd need to compare to?
Parent - - By Eelco de Groot (***) Date 2020-02-02 10:49

> Yeah, I've been thinking about making a version that allows you to change those values directly on engine settings, so this editing source nonsense is put to an end and I just need to apply the patch to Stockfish Dev and have an up to date tweakable Stockfish at will, with Bluefish's settings as default.
>
> I abandoned the idea at some point but Mindbreaker has been asking in the Stockfish group for something like this, so there's probably more interest for such a version than I thought.
>


I am trying to think of a way how you could automatically edit Stockfish Dev with something like a very intelligent batchfile that can search for the numbers to change even if they themselves were changed, but I don't think that kind of software is around yet? Or maybe it is a secret army project that Vas is spearheading somewhere under Cheyenne mountain. They had a job opening asking for modern cavemen so he applied. Just joking.
A version of Bluefish where all the numbers are engine settings would be fun indeed! It's just a handful of numbers so not too confusing I would say. It is the compilation that most people are frightened of.
 

>> But I suggest using something like WinMerge, if you did not do that already, to compare the 3 ***_def. files (_def standing for 'default') with the ones that the compiler will use.
> Okay, was Bluefish based on Stockfish 10 or is it from a specific version I'd need to compare to?


It was simply the Stockfish development version that was available on that date, that I changed.  But all the files you need are already in the archive itself. So you don't need to go to GitHub.

The best Stockfish right now is a bit uncertain though, because I read there was a regression, because SPRT parameters were too loose. Also I think they better not use an 8 moves book. You need polar opening really in spite of widespread beliefs about this. :fat: But it mainly is the SPRT not strict enough I suppose  Anyway Stockfish 11 has one commit reverted now and 5 later ones.
Parent - - By Uly (Gold) Date 2020-02-02 20:30
:smile:

> A version of Bluefish where all the numbers are engine settings would be fun indeed! It's just a handful of numbers so not too confusing I would say. It is the compilation that most people are frightened of.


I haven't done it because I was sure that someone else would have done it by now. Now that it's clear that's not happening, I'll see how difficult it is...

> But all the files you need are already in the archive itself.


Ah, found them, thanks.

> The best Stockfish right now is a bit uncertain though


Well, this is about style, not strength, anyway, so I'd be fine if my version was weaker than S11, missing all the improvements because who knows what should be reverted and what not?

So lets talk about names, what do you think about Virgin Mermaid? I thought about the concept last year, and even made a drawing of her. It has always bothered me that the Glaurung name was changed to Stockfish and then most of the derivatives had a "fish" part at the end of the name, but at least a Mermaid is half woman at the top. Plus it's hard to imagine a mermaid that is not a virgin but before committing to "Virgin Mermaid - Personalities for Stockfish!" I'd want a second opinion.
Parent - - By Labyrinth (*****) Date 2020-02-03 02:26

>Plus it's hard to imagine a mermaid that is not a virgin


Virginity would be nebulous for mermaids, because fish lay eggs, and the eggs are then fertilized by the males. So you'd have to do something like classify a female that has not yet laid eggs as a virgin which seems kind of arbitrary. If you consider her a mammal instead, then you could do the virginity thing, but would have to explain why they don't typically come up for air.

Of course this is reading too much into a fictional creature, which already wouldn't work for a variety of reasons. Human skin would macerate in water and become highly delicate, hair would be useless, and human eyes aren't well adapted to the sea either in terms of their acuity or their position (to see in front would require tilting the head when the mermaid swims 'forward', limiting hydrodynamics). A real functioning mermaid would look quite different than good ol' Ariel.
Parent - - By Uly (Gold) Date 2020-02-03 05:57
Oh, hey Labyrinth! It feels like we haven't talked in years! How's it going?

So with your comments I gather that you disapprove of Disney's The Little Mermaid because - SPOILER ALERT - the idea of a mermaid having her fish tail becoming human legs would be preposterous or something? :lol:
Parent - - By Labyrinth (*****) Date 2020-02-04 02:30

>Oh, hey Labyrinth! It feels like we haven't talked in years! How's it going?


Still breathin'. I still have Flyshell on an external drive somewhere!

>So with your comments I gather that you disapprove of Disney's The Little Mermaid because - SPOILER ALERT - the idea of a mermaid having her fish tail becoming human legs would be preposterous or something? :lol:


Sounds like me, but nah, that part is flat out magical. I suspect though that it would be highly unusual for 'humanoid' sea creatures to covet being land dwellers or the land dwellers themselves. Would seem limiting not being able to so easily take advantage of your vertical space, in fact there would be so many 'psychocultural' differences that they may as well be extraterrestrials. Ariel would be a fringe fetishist.
Parent - By Uly (Gold) Date 2020-02-04 07:29

> Still breathin'.


Well, if that bothers you, you can try freediving.

> I still have Flyshell on an external drive somewhere!


Heh, I remember giving it up after being unable to implement invincibility frames when the paddle was hit (which was the thing I hated, being mercilessly hit several times in succession...) What an odd way to quit.

> Would seem limiting not being able to so easily take advantage of your vertical space


But how do you know? I've never actually seen a magical Mermaid outside of water. Perhaps they can fly? Perhaps we could fly but we're taught that we can't since we were kids? Like the tale of the crippled king that forced his kingdom to go around crippled so they wouldn't be superior to him, and after his death people continued to cripple their children and be like that for life without knowing why? Perhaps in the distant past a king that was unable to fly made it a crime punishable by death so future generations forgot how to fly?

So I guess Flying Mermaid is another option!
Up Topic The Rybka Lounge / Computer Chess / Bluefish BMI2 (Beta)

Powered by mwForum 2.27.4 © 1999-2012 Markus Wichitill