The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
AIUI, a chess engine uses some sort of minmax algorithm, but a minmax algorithm would search for a path that guarantees the least worst option - and since a chess engine assigns integral points for pieces, it seems that the score should be some integral value. What's going on here? (I presume that there must be a few folks here that are in both the set of chess players and the set of folks who do artificial intelligence.)
Usually a Mobility score is also part of the equation, with a non-integral weight. If you're interpolating between game phases (using different scoring for the opening, midgame and endgame and interpolating to avoid sharp discontinuities at phase transitions) of course many scores will not be integral.
(I'm going to use the Stockfish engine as example. I don't know how other engines do this, but it could be the same.)
Short answer: Stockfish does output an integral score but your chess interface divides it by 100.
Internally, Stockfish does have an integral value as score. This value is rather big (looking at just the piece values[^], the value of a pawn in the midgame is 171 and the value of the queen is 2526) and it's also not just the piece values, there is also a bunch of bonuses and penalties[^] to adjust this value.
When Stockfish tells you how it evaluates a position, it won't give you its internal value, but it will give you the score in "centipawns"[^]. (1 pawn = 100 centipawns) So if Stockfish's raw output says "200", it means that you have an advantage of 2 pawns.
But even that number is still provided by Stockfish as an integer. Your chess interface, however, may decide to show you the evaluation in pawns rather than centipawns, thus dividing Stockfish's centipawn evaluation by 100.
The quick brown ProgramFOX jumps right over the Lazy<Dog>.
@randor had mentioned that I could take a look at the dump file to get more info.
However, at the time the DMP file got delete so I was unable to go further.
My machine rebooted and this time I still have the 997MB DMP file (which is crazy) and I opened it up with WinDbg.
Here's what I see...
I know it's a lot of info but just thought it might be interesting.
You can see that it looks like it is the PCI.sys driver that failed.
Reason I'm Mentioning This
I mention this out of interest and to see if anyone else has had a situation with their Win10 PC rebooting itself like this while not in use.
Just a discussion, not looking for an answer. I know better than to believe we would ever be able to run a cryptic thing like this down. This is the Way of Windows, a magical land where the magic often fails.
A driver has failed to complete a power IRP within a specific time.
Arg1: 0000000000000004, The power transition timed out waiting to synchronize with the Pnp subsystem.
Arg2: 000000000000012c, Timeout in seconds.
Arg3: ffffe680b6184040, The thread currently holding on to the Pnp lock.
Arg4: ffff87012fc7d910, nt!TRIAGE_9F_PNP on Win7 and higher
Implicit thread is now ffffe680`b6184040
SYSTEM_PRODUCT_NAME: Satellite S55t-B
BIOS_VENDOR: INSYDE Corp.
BASEBOARD_MANUFACTURER: Type2 - Board Vendor Name1
BASEBOARD_PRODUCT: Type2 - Board Product Name1
BASEBOARD_VERSION: Type2 - Board Version
FAULTING_MODULE: fffff80b9ac70000 pci
CPU_MICROCODE: 6,3c,3,0 (F,M,S,R) SIG: 1E'00000000 (cache) 1E'00000000 (init)
BLACKBOXBSD: 1 (!blackboxbsd)
BLACKBOXPNP: 1 (!blackboxpnp)
ANALYSIS_SESSION_TIME: 03-17-2018 12:04:23.0467
ANALYSIS_VERSION: 10.0.17074.1002 amd64fre
ffff8701`2fc7d8d8 fffff800`3608fbc4 : 00000000`0000009f 00000000`00000004 00000000`0000012c ffffe680`b6184040 : nt!KeBugCheckEx
ffff8701`2fc7d8e0 fffff800`362c6916 : ffff8701`2fc7db10 ffffd680`92cce180 ffffd680`92cce180 000000e6`7551f100 : nt!PnpBugcheckPowerTimeout+0x60
ffff8701`2fc7d940 fffff800`35f58923 : ffffd680`92cce180 00000000`00000000 ffff8701`2fc7db18 00000000`00000000 : nt!PopBuildDeviceNotifyListWatchdog+0x16
ffff8701`2fc7d970 fffff800`35f599bd : 00000000`00000018 00000000`00000000 00000000`00252ac4 ffffd680`92cce180 : nt!KiProcessExpiredTimerList+0x153
ffff8701`2fc7da60 fffff800`3600cdfa : 00000000`00000001 ffffd680`92cce180 00000000`00000000 ffffd680`92cdc200 : nt!KiRetireDpcList+0x43d
ffff8701`2fc7dc60 00000000`00000000 : ffff8701`2fc7e000 ffff8701`2fc78000 00000000`00000000 00000000`00000000 : nt!KiIdleLoop+0x5a
STACK_COMMAND: .thread ; .cxr ; kb
OSNAME: Windows 10
OSEDITION: Windows 10 WinNt TerminalServer SingleUserTS Personal
OSBUILD_TIMESTAMP: 2018-03-01 00:36:55
I have never had problems with Windows 10 crashing, but I am not running it on a laptop, so I don't have any power policies enabled - I am guessing that your crash is related to Power Management given the first line in your dump.
BTW, I have worked with application crash dumps that were larger than 1GB, so I don't think 997MB for the OS crash dump is surprising.
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty
am guessing that your crash is related to Power Management given the first line in your dump
Yeah, it does look like that. Just curious if this is a Win10 thing or related to my H/W.
Of course this never happened in the past (only since recent updates) and never happened under Win8.1.
I don't think 997MB for the OS crash dump is surprising
I agree, as a developer it is not surprising. As a consumer, it's a bit surprising.
Also, with a dump with that much info I would think their might be an AI-type of process that Microsoft would provide that would give me a better idea of how to resolve.
Microsoft Debug AI:
"PCI.sys has crashed due to conflict with Power settings driver. Please update power settings driver"
My wife's older all-in-one started doing this a while back. In her case, it would bring up the sad-face bsod which mentioned a power-state-failure error. I seem to have fixed it by changing the power plan from the default to a different setting. Good luck!
«... thank the gods that they have made you superior to those events which they have not placed within your own control, rendered you accountable for that only which is within you own control For what, then, have they made you responsible? For that which is alone in your own power—a right use of things as they appear.» Discourses of Epictetus Book I:12
Thanks Bill, I needed that one after an extremely long week. It brought back memories of the Elephant Nature Park; which I visited on October 19, 2016. There were no babies that day, just jumbos and heaps of fun!