PGN for dummies

Discussion of chess software programming and technical issues.

Moderator: Ras

R. Tomasi
Posts: 307
Joined: Wed Sep 01, 2021 4:08 pm
Location: Germany
Full name: Roland Tomasi

Re: PGN for dummies

Post by R. Tomasi »

hgm wrote: Sat Nov 20, 2021 1:56 pm True, but I consider such requirements w.r.t. encoding 'void', and not part of the specifications of PGN syntax. They are specifications of the underlying text format. Which contradict modern standards for text files, and thus are extremely counter-productive.

To have smoothly working software it is important to conform to the standards of the computer system it is embedded in. E.g. it is annoying to use just LF for a newline on WinBoard, because then the file won't disply correctly in NotePad when you want to edit it. Fulvio ignores the encoding standard, and uses UTF-8 always, because he (unjustly, as we have seen) thinks that this works perfectly even on Windows.
Well, FWIW I think you're right about some parts of the standard being counter-productive. Btw, it explicitely allows you to use the Windows convention on Systems with that OS, even for the "export" version. Restricting to the UNIX-convention for archival storage seems to be a reasonable thing to do, though, imho. Even if that means that it gets hard to view those files in notepad.
Fulvio
Posts: 396
Joined: Fri Aug 12, 2016 8:43 pm

Re: PGN for dummies

Post by Fulvio »

R. Tomasi wrote: Sat Nov 20, 2021 2:00 pm it gets hard to view those files in notepad.
Don't fall for fake news.
Microsoft, 2018, "we’re excited to announce that we have fixed this issue!"
https://devblogs.microsoft.com/commandl ... n-notepad/
User avatar
hgm
Posts: 28353
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: PGN for dummies

Post by hgm »

Oh, wow, they fixed that in Windows 10? Too bad they did not deign to make that available as a patch for earlier Windows versions. Now it is not much use to me...
Fulvio
Posts: 396
Joined: Fri Aug 12, 2016 8:43 pm

Re: PGN for dummies

Post by Fulvio »

hgm wrote: Sat Nov 20, 2021 2:59 pm Oh, wow, they fixed that in Windows 10? Too bad they did not deign to make that available as a patch for earlier Windows versions. Now it is not much use to me...
"This 10-year period has now ended, and Microsoft has discontinued Windows 7 support so that we can focus our investment on supporting newer technologies and great new experiences":
https://support.microsoft.com/en-us/win ... 66d9a53962
User avatar
hgm
Posts: 28353
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: PGN for dummies

Post by hgm »

Yes, too bad. Better an unsupported Windows 7 than the crap they sell as Windows 8 or 10, though.
dangi12012
Posts: 1062
Joined: Tue Apr 28, 2020 10:03 pm
Full name: Daniel Infuehr

Re: PGN for dummies

Post by dangi12012 »

hgm wrote: Sat Nov 20, 2021 3:22 pm Yes, too bad. Better an unsupported Windows 7 than the crap they sell as Windows 8 or 10, though.
I dont know. DirectStorage is pretty neat. Also you need the new sceduler for Ryzen and Strong/Weak Core Cpus which is not included in Win7.
If you ever get Intel with DDR5 or a Zen CPU you will have to update or lose a lot of performance.
Worlds-fastest-Bitboard-Chess-Movegenerator
Daniel Inführ - Software Developer
Fulvio
Posts: 396
Joined: Fri Aug 12, 2016 8:43 pm

Re: PGN for dummies

Post by Fulvio »

hgm wrote: Sat Nov 20, 2021 3:22 pm the crap they sell as Windows 8 or 10, though.
Have you tried it, or do you just keep spreading fake news?
User avatar
hgm
Posts: 28353
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: PGN for dummies

Post by hgm »

Unfortunately my laptop has Windows 8, and my wife was forced to upgrade to Windows 10 when her hard disc died.

Only one spreading fake news here seems to be you...
User avatar
hgm
Posts: 28353
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: PGN for dummies

Post by hgm »

dangi12012 wrote: Sat Nov 20, 2021 3:26 pm
hgm wrote: Sat Nov 20, 2021 3:22 pm Yes, too bad. Better an unsupported Windows 7 than the crap they sell as Windows 8 or 10, though.
I dont know. DirectStorage is pretty neat. Also you need the new sceduler for Ryzen and Strong/Weak Core Cpus which is not included in Win7.
If you ever get Intel with DDR5 or a Zen CPU you will have to update or lose a lot of performance.
When I get a new computer, it is very hard to not get forced a new Windows down your throat with it. So I don't think what you sketch is a very realistic scenario. Fortunately I was able to revive the desktop I have (the cause of frequent crashes turned out to be accumulation of dust in the cooling fan of the GPU, preventing it from turning), and I am confident that it will still serve me wel for many years.
Fulvio
Posts: 396
Joined: Fri Aug 12, 2016 8:43 pm

Re: PGN for dummies

Post by Fulvio »

hgm wrote: Sat Nov 20, 2021 3:59 pm Only one spreading fake news here seems to be you...
Your fake news:
- the PGN standard admit only ASCII chars
- UTF-8 or LF-only lines would make it a binary format.
- Windows cannot handle a UTF-8 text file without the Byte Order Mark
- Notepad cannot read LF-only text files
- Windows 10 is crap

What would mine be?