Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Position-based learning glitch

Author: Stuart Cracraft

Date: 11:06:11 06/17/98

Go up one level in this thread


On June 16, 1998 at 17:52:41, David Fotland wrote:

>If this is a PC, you should open the file in binary mode.
>
>On the PC, end of lines are stored as CRLF, and a file opened in
>ascii mode will convert LF to CRLF, adding an extra byte from
>time to time.
>
>David Fotland

File was non-text binary structs at the time the message was posted.
Had already tried both w+b and w modes, both resulting in the extra
byte.

To fix, I've converted to a wholly text flat-file ascii which adds
the ability for human editing and updates to the file to control learning.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.