Re: [computer-go] Help me test CGOS

2007-03-28 Thread Jacques Basaldúa

Hellwig Geisse wrote:

 I just finished the translation of the old TCL
 script cgosGtp.tcl to plain C . . .

Thanks Hellwig . I will try your program tomorrow.
I prefer hacking C than tcl because its more transparent.
I see what the tcl sends, but I don't know what details it
may hide, and these things often result in a lot of wasted
time. This is nothing against tcl, it is just that I don't like
learning new languages I don't need ;-)

Jacques.
___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Help me test CGOS

2007-03-28 Thread Christoph Birk

On Tue, 27 Mar 2007, Don Dailey wrote:

Would it be possible to publish a little library for others in C?
I will have a place on the main page to download goodies like this.


Here is the code I am currently using.

Christoph
/* --
 *
 * cgos.c  - client.c 
 *
 * 2006-09-05  Christoph C. Birk ([EMAIL PROTECTED])
 * CGOS (cgos.boardspace.net 6867) interface
 * 2007-03-26  modified for new CGOS
 *
 * CGOS(pseudo-server) - Client - Engine(server)
 *
 * -- */

/* 
 * the engine calls 'cgos_run()' in a loop like this:
   do {
 i = cgos_run(goban,host,port,myName,myPassword);
 if (i) sleep(30);
   } while (i != 0);
*/

/* -- */

#ifdef NDEBUG /* release version */
#define DEBUG 0
#else
#ifndef DEBUG
#define DEBUG 1   /* debug level */
#endif
#endif

#define USE_CGOS3 /* use new CGOS protocol */

/* INCLUDEs - */

#include stdlib.h   /* atof() */
#include stdio.h/* sprintf() */
#include string.h   /* strlen(),memset() */
#include time.h /* time() */ 
#include unistd.h   /* close() */
#include fcntl.h/* fcntl() */

#include sys/types.h
#include sys/socket.h
#include sys/uio.h
#include netdb.h/* getprotobyname() */

#if 1 // my stuff
#include gutils.h
#include evaluate.h
#endif

/* DEFINEs -- */

#define PING_TIME 20  /* old CGOS only */

#define TOKSEP \t

/* EXTERNs -- */

extern intnsims;

/* function prototype(s) */

extern move_t genmove_1  (Goban*,int);

/* STATICs -- */

static int  cgos_sock=-1;

/* function prototype(s) */

static int  cgos_connect (const char*,u_short,const char*,const char*);
static void cgos_disconnect  (void);
static int  cgos_receive (char*,int);
static int  cgos_send(const char*);

static int  read_byte(int,char*,int);

/* -- */

int cgos_run(Goban* goban,const char* host,u_short port,
 const char* name,const char* pass)
{
  inti,r; 
  time_t next_ping,last_game,max_time=600;
  char   buffer[1024],*p;

  r = cgos_connect(host,port,name,pass); if (r  0) return(-1);

  last_game = time(NULL);
  next_ping = last_game + PING_TIME;
  do {
r = cgos_receive(buffer,2000); if (r  0) break;
if (r == 0) {
#ifndef USE_CGOS3
  if (next_ping) {/* send ping ? */
if (time(NULL)  next_ping) {
   cgos_send(ping);
  next_ping = time(NULL)+PING_TIME;
}
  }
#endif
} else
if (!strncmp(buffer,newgame,7)) { int d; float k,t; /* old CGOS */
  if (sscanf(buffer,newgame %d %f %f\n,d,k,t) == 3) {
komi = k;
time_left = t;
max_time  = (int)t;
  }
#if 1 // todo issue GTP commands here
  goban_init(goban);
  goban_show(goban,buffer);
#endif
  last_game = time(NULL);
  next_ping = 0;
} else
if (!strncmp(buffer,setup,5)) { int id,d,t0; float k; /* new CGOS */
  if (sscanf(buffer,setup %d %d %f %d,id,d,k,t0) == 4) {
time_left = (float)t0/1000.0f; max_time = (int)time_left;
  }
#if 1 // todo issue GTP commands here
  goban_init(goban);
  goban_show(goban,buffer);
#endif
  last_game = time(NULL);
} else
if (!strncmp(buffer,genmove,7)) { move_t move; /* genmove b 108584 */
#ifdef USE_CGOS3
  for (i=1,p=strtok(buffer,TOKSEP); i3; i++) p=strtok(NULL,TOKSEP);
  if (p) {
time_left = (float)atof(p)/1000.0f;
#if (DEBUG  0)
fprintf(stderr,time_left= %.1f\n,time_left);
#endif
  }
#endif
#if 1 // todo issue GTP commands here
  move = genmove_1(goban,nsims);
  goban_play_move(goban,move);
  goban_show(goban,move_string(move));
#endif
  cgos_send(move_string(move));
} else
if (!strncmp(buffer,play,4)) {/* play w B8 93827 */
  for (i=1,p=strtok(buffer,TOKSEP); i3; i++) p=strtok(NULL,TOKSEP);
  if (p) {
#if 1 // todo issue GTP command here
goban_play_move(goban,str2move(p));
goban_show(goban,p);
#endif
  } else {
fprintf(stderr,%s: unrecognized move\n,__FILE__);
  }
} else
if (!strncmp(buffer,time,4)) {/* old CGOS only */
  for (i=1,p=strtok(buffer,TOKSEP); i3; i++) p=strtok(NULL,TOKSEP);
  if (p) {
time_left = (float)atof(p);
#if (DEBUG  0)
fprintf(stderr,time_left= %.1f\n,time_left);
#endif
  }
} else
// todo 'gameover 

Re: [computer-go] Help me test CGOS

2007-03-28 Thread Don Dailey
That's awesome if you have a cgos client in C,  I would be
happy to post the source code and/or binaries.

I warn you however, the protocol may change - I have not
finalized it.   Although it's not likely anything major.

- Don


On Wed, 2007-03-28 at 19:56 +0100, Jacques Basaldúa wrote:
 Hellwig Geisse wrote:
 
   I just finished the translation of the old TCL
   script cgosGtp.tcl to plain C . . .
 
 Thanks Hellwig . I will try your program tomorrow.
 I prefer hacking C than tcl because its more transparent.
 I see what the tcl sends, but I don't know what details it
 may hide, and these things often result in a lot of wasted
 time. This is nothing against tcl, it is just that I don't like
 learning new languages I don't need ;-)
 
 Jacques.
 ___
 computer-go mailing list
 computer-go@computer-go.org
 http://www.computer-go.org/mailman/listinfo/computer-go/

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Help me test CGOS

2007-03-28 Thread Hellwig Geisse
On Wed, 2007-03-28 at 17:49 -0400, Don Dailey wrote:
 That's awesome if you have a cgos client in C,  I would be
 happy to post the source code and/or binaries.

Yes, this is a cgos client in C, but only for the old
protocol yet. You can download the source from
http://homepages.fh-giessen.de/~hg53/go/cgosGtp.tar.gz
Please feel free to do with it whatever you want.

 I warn you however, the protocol may change - I have not
 finalized it.   Although it's not likely anything major.

That's the reason I wanted to wait a little bit until
I start to translate the new client to C.

Hellwig

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Help me test CGOS

2007-03-27 Thread Jacques Basaldúa

Hi Don

Could you provide some minimum protocol documentation so that we do not
have to use any scripting language? The tcl script seems very simple. Is it
possible to just open greencheeks.homelinux.org:6867, send login and then
read/write commands? This way everyone would be free to implement
the connection its own way, handle reconnection automatically in case of
power down, etc. In my case, using a scripting language not only 
requires to
install unnecessary software for an otherwise trivial task, but writing 
a small

bridge application that is called by the script and communicates with
the GUI running the engine. The GUI could handle the connection much
better. I am very interested in being an active member of the 19x19
server when its ready. (And I am ready myself, mid-July, I hope.)

Jacques.
___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Help me test CGOS

2007-03-27 Thread Hellwig Geisse
Jacques,

On Tue, 2007-03-27 at 11:03 +0100, Jacques Basaldúa wrote:
 Could the source code of this client be open?

I just finished the translation of the old TCL script cgosGtp.tcl
to plain C (for those of us who don't want to run a scripting language
interpreter just to connect to CGOS). You can find it here:

http://homepages.fh-giessen.de/~hg53/go/cgosGtp.tar.gz

Please note that this is not quite what you are looking for, but
I intend to do the same translation with the new script as soon as
it has stabilized.

Don,

I translated your script almost without changes. I changed the
log output to use the arrows a bit more consistently, though.
And the program waits for an answer to the quit command sent
to the engine; this is according to the GTP specification which
requests The controller must receive the response before the
connection is closed on its side.

Hellwig

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Help me test CGOS

2007-03-27 Thread Don Dailey
On Tue, 2007-03-27 at 12:39 +0200, Hellwig Geisse wrote:
 Jacques,
 
 On Tue, 2007-03-27 at 11:03 +0100, Jacques Basaldúa wrote:
  Could the source code of this client be open?
 
 I just finished the translation of the old TCL script cgosGtp.tcl
 to plain C (for those of us who don't want to run a scripting language
 interpreter just to connect to CGOS). You can find it here:
 
 http://homepages.fh-giessen.de/~hg53/go/cgosGtp.tar.gz
 
 Please note that this is not quite what you are looking for, but
 I intend to do the same translation with the new script as soon as
 it has stabilized.
 
 Don,
 
 I translated your script almost without changes. I changed the
 log output to use the arrows a bit more consistently, though.
 And the program waits for an answer to the quit command sent
 to the engine; this is according to the GTP specification which
 requests The controller must receive the response before the
 connection is closed on its side.

Thank you for that.   The new client is still in a primitive
state and there are a few rough edges - one example is that
it exits when there is a connection problem which is not
the behavior we really want.

There is also the issue of what to do if the engine itself
dies.   I'm not sure what happens in this case, but I need
to do a bit more development in this area to get it right.

I want the reconnection time-out to be gradually increasing,
in case of long network outages - no point hammering the
server if things will be down a signficant length of time.

Things like that need to be improved and feedback is welcome.
And I have received good feedback already - so thanks everyone.

- Don


 Hellwig
 
 ___
 computer-go mailing list
 computer-go@computer-go.org
 http://www.computer-go.org/mailman/listinfo/computer-go/

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Help me test CGOS

2007-03-27 Thread Heikki Levanto
On Mon, Mar 26, 2007 at 10:06:47PM -0400, Jason House wrote:
 I don't see any games that have an outcome other than winning by points 
 or resignation.  Any forfeits or games that are on hold?

I see a few games with B+Illegal, or suchlike. But I remember when I
was fooling with my stderr problem, I started a few games that were
rejected because illegal moves. yet the listing shows no Illegal games
for Halgo. Something wrong there?

-Heikki

-- 
Heikki Levanto   In Murphy We Turst heikki (at) lsd (dot) dk

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Help me test CGOS

2007-03-27 Thread Don Dailey
On Tue, 2007-03-27 at 08:24 -0400, Jason House wrote:
 
 
 On 3/27/07, Christoph Birk [EMAIL PROTECTED] wrote:
 On Mon, 26 Mar 2007, Jason House wrote:
  I don't see any games that have an outcome other than
 winning by points or
  resignation.  Any forfeits or games that are on hold?
 
 I have seen games lost by 'forfeit' (typically super-ko) and
 lost by time.

There are only 3 non score based ways to win or lose a
game:  

  1. Illegal
  2. Time
  3. Resign

There are no disconnect forfeits - you simply lose on time as if
you walked away from the game on purpose.

In the case of an illegal move, a comment is included in the
SGF file to attempt to explain the nature of the illegal move
if it can be determined.   For instance I think there is an
error comment for moving to an occupied point.   The most 
common illegal move is a ko violation.

- Don



 On the old server or the new one?  I was thinking a proper testing of
 the server should include clients that do the wrong thing and make
 sure the server handles it properly.
 
 
 ___
 computer-go mailing list
 computer-go@computer-go.org
 http://www.computer-go.org/mailman/listinfo/computer-go/

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Help me test CGOS

2007-03-27 Thread Christoph Birk

On Tue, 27 Mar 2007, Don Dailey wrote:

Would it be possible to publish a little library for others in C?
I will have a place on the main page to download goodies like this.


Yes, but it is still in a transitions phase from the old CGOS
to the new CGOS.

Christoph

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Help me test CGOS

2007-03-27 Thread Don Dailey
On Tue, 2007-03-27 at 11:47 -0700, Christoph Birk wrote:
 On Tue, 27 Mar 2007, Don Dailey wrote:
  Would it be possible to publish a little library for others in C?
  I will have a place on the main page to download goodies like this.
 
 Yes, but it is still in a transitions phase from the old CGOS
 to the new CGOS.

Yes, I haven't finalized the protocol yet.  If I make any 
changes, I'll be sure to let you know.

- Don


 Christoph
 
 ___
 computer-go mailing list
 computer-go@computer-go.org
 http://www.computer-go.org/mailman/listinfo/computer-go/

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Help me test CGOS

2007-03-27 Thread Heikki Levanto
On Tue, Mar 27, 2007 at 12:14:37PM -0400, Don Dailey wrote:
 
 On Tue, 2007-03-27 at 15:31 +0200, Heikki Levanto wrote:
  I see a few games with B+Illegal, or suchlike. But I remember when I
  was fooling with my stderr problem, I started a few games that were
  rejected because illegal moves. yet the listing shows no Illegal games
  for Halgo. Something wrong there?
 
 sqlite select gid, w, b, res from games where w like %Halgo% and res
 like B+Illegal ;
 gid w  bres   
 --  -  ---  --
 333 halgo-1.7-10k  gnugo_3.7.9  B+Illegal 
 336 halgo-1.7-10k  gnugo_3.7.9  B+Illegal 

Ok! Those games must have scrolled off the list of games when I came to
think of them today. Those 2min games happen fast...

Seems like your system works as expected.

  - Heikki



-- 
Heikki Levanto   In Murphy We Turst heikki (at) lsd (dot) dk

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Help me test CGOS

2007-03-27 Thread Christoph Birk

On Mon, 26 Mar 2007, Don Dailey wrote:

I have a prototype of the new CGOS server up and running.


How about sorting the cross-tables by opponent name (please
don't distinguish upper/lower-case).

Christoph

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Help me test CGOS

2007-03-27 Thread Don Dailey
On Tue, 2007-03-27 at 15:41 -0700, Christoph Birk wrote:
 On Mon, 26 Mar 2007, Don Dailey wrote:
  I have a prototype of the new CGOS server up and running.
 
 How about sorting the cross-tables by opponent name (please
 don't distinguish upper/lower-case).

They are currently sorted by ELO rating, which was one of the
number 1 requests.   I suppose with a little java-script
we could make it selectable.   But for the default I think
it's more useful to sort by strength.


- Don


 Christoph
 

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Help me test CGOS

2007-03-27 Thread Don Dailey
On Tue, 2007-03-27 at 19:20 -0400, [EMAIL PROTECTED] wrote:
 The way the cross-tables are sorted in the new CGOS, by strength,
 seems much nicer to me. I hope it stays this way. And 5 minute games
 sounds like a good compromise. I'm enjoying the 2 minute (really 3
 minute, I guess) games.
  
 My only complaint about the 1 second leeway is that it makes it look
 as if my program is taking 100 times longer than most of its
 opponents. It makes getting creamed by Mogo just all that much more
 galling. ;)

I think I'm going to change the leeway to a much more modest 1/4 second.
A
number of opponent are playing for free.

- Don


 
 Dave Hillis
  
  
 -Original Message-
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]; computer-go@computer-go.org
 Sent: Tue, 27 Mar 2007 6:41 PM
 Subject: Re: [computer-go] Help me test CGOS
 
 On Mon, 26 Mar 2007, Don Dailey wrote: 
  I have a prototype of the new CGOS server up and running. 
  
 How about sorting the cross-tables by opponent name (please 
 don't distinguish upper/lower-case). 
  
 Christoph 
  
 ___ 
 computer-go mailing list 
 computer-go@computer-go.org 
 http://www.computer-go.org/mailman/listinfo/computer-go/ 
 
 
 __
 Check Out the new free AIM(R) Mail -- 2 GB of storage and
 industry-leading spam and email virus protection.
 
 ___
 computer-go mailing list
 computer-go@computer-go.org
 http://www.computer-go.org/mailman/listinfo/computer-go/

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Help me test CGOS

2007-03-27 Thread Don Dailey
Ok,  I just changed the time leeway factor to 1/4 second.   It will
be interesting to see how/if this changes some of the times.

- Don


On Tue, 2007-03-27 at 20:48 -0400, Don Dailey wrote:
 On Tue, 2007-03-27 at 19:20 -0400, [EMAIL PROTECTED] wrote:
  The way the cross-tables are sorted in the new CGOS, by strength,
  seems much nicer to me. I hope it stays this way. And 5 minute games
  sounds like a good compromise. I'm enjoying the 2 minute (really 3
  minute, I guess) games.
   
  My only complaint about the 1 second leeway is that it makes it look
  as if my program is taking 100 times longer than most of its
  opponents. It makes getting creamed by Mogo just all that much more
  galling. ;)
 
 I think I'm going to change the leeway to a much more modest 1/4 second.
 A
 number of opponent are playing for free.
 
 - Don
 
 
  
  Dave Hillis
   
   
  -Original Message-
  From: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]; computer-go@computer-go.org
  Sent: Tue, 27 Mar 2007 6:41 PM
  Subject: Re: [computer-go] Help me test CGOS
  
  On Mon, 26 Mar 2007, Don Dailey wrote: 
   I have a prototype of the new CGOS server up and running. 
   
  How about sorting the cross-tables by opponent name (please 
  don't distinguish upper/lower-case). 
   
  Christoph 
   
  ___ 
  computer-go mailing list 
  computer-go@computer-go.org 
  http://www.computer-go.org/mailman/listinfo/computer-go/ 
  
  
  __
  Check Out the new free AIM(R) Mail -- 2 GB of storage and
  industry-leading spam and email virus protection.
  
  ___
  computer-go mailing list
  computer-go@computer-go.org
  http://www.computer-go.org/mailman/listinfo/computer-go/
 
 ___
 computer-go mailing list
 computer-go@computer-go.org
 http://www.computer-go.org/mailman/listinfo/computer-go/

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


[computer-go] Help me test CGOS

2007-03-26 Thread Don Dailey
I have a prototype of the new CGOS server up and running.

Please help me test it.   I have set up a 2 MINUTE SERVER, i.e.
2 minutes per side for the time control.  

Grab the current client at:

   http://www.greencheeks.homelinux.org:8015/~drd/public/cgos3.tcl

and see the results at:

http://www.greencheeks.homelinux.org:8015/~drd/CGOS

And report any problems or bugs to me.



- Don


___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Help me test CGOS

2007-03-26 Thread Álvaro Begué

Don,

Will you make a perl script available? I don't have tcl installed on
my machines, and the perl script for the old server seems to work
well.

Thanks,
Álvaro.


On 3/26/07, Don Dailey [EMAIL PROTECTED] wrote:

I have a prototype of the new CGOS server up and running.

Please help me test it.   I have set up a 2 MINUTE SERVER, i.e.
2 minutes per side for the time control.

Grab the current client at:

   http://www.greencheeks.homelinux.org:8015/~drd/public/cgos3.tcl

and see the results at:

http://www.greencheeks.homelinux.org:8015/~drd/CGOS

And report any problems or bugs to me.



- Don


___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Help me test CGOS

2007-03-26 Thread Don Dailey
Hi Álvaro,

Perhaps I can do this.  I haven't programmed in perl in 4 or 5
years so maybe I can get someone to do this for me.   The current
perl script was written by someone else - hopefully they will
agree.

However, I can make this work for you.   What platform are you
running on?I can make a binary version that basically 
packs a working tcl run-time into the exectuable and you will
not even need to have tcl on your computer.

Which platform are you running on?

- Don


On Mon, 2007-03-26 at 13:19 -0400, Álvaro Begué wrote:
 Don,
 
 Will you make a perl script available? I don't have tcl installed on
 my machines, and the perl script for the old server seems to work
 well.
 
 Thanks,
 Álvaro.
 
 
 On 3/26/07, Don Dailey [EMAIL PROTECTED] wrote:
  I have a prototype of the new CGOS server up and running.
 
  Please help me test it.   I have set up a 2 MINUTE SERVER, i.e.
  2 minutes per side for the time control.
 
  Grab the current client at:
 
 http://www.greencheeks.homelinux.org:8015/~drd/public/cgos3.tcl
 
  and see the results at:
 
  http://www.greencheeks.homelinux.org:8015/~drd/CGOS
 
  And report any problems or bugs to me.
 
 
 
  - Don
 
 
  ___
  computer-go mailing list
  computer-go@computer-go.org
  http://www.computer-go.org/mailman/listinfo/computer-go/
 

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Help me test CGOS

2007-03-26 Thread Sylvain Gelly

Hi Don,


And report any problems or bugs to me.

I just set MoGo_3k on the new cgos server and everything seems to work
fine so far, except one thing: the cross table results for MoGo are
wrong 
(http://www.greencheeks.homelinux.org:8015/~drd/CGOS/cross/MoGo_G3.4_3k.html),
but right if you look at them from other players.

Hope this helps.
Sylvain
___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Help me test CGOS

2007-03-26 Thread Don Dailey
The client I put on the web site won't work without a minor
change.   Instead, just grab it again - I fixed the problem. 

FYI - (if you are interested) the problem was:

  1. New tcl client depends on tcl 8.5 - most distribution are
 not up to date with that yet.

  2. The shebang line at the top pointed to my local tcl 8.5
 runtime in my personal directory.

The shebang fix was simple.   

To make the new client  work with
older tcl's,  I defined a procedure that emulates the only new
feature I actually use so that it would be compatible with
older tcl distributions.

I will eventually provide binary clients that will not
require tcl to be installed.   

- Don



On Mon, 2007-03-26 at 12:10 -0400, Don Dailey wrote:
 I have a prototype of the new CGOS server up and running.
 
 Please help me test it.   I have set up a 2 MINUTE SERVER, i.e.
 2 minutes per side for the time control.  
 
 Grab the current client at:
 
http://www.greencheeks.homelinux.org:8015/~drd/public/cgos3.tcl
 
 and see the results at:
 
 http://www.greencheeks.homelinux.org:8015/~drd/CGOS
 
 And report any problems or bugs to me.
 
 
 
 - Don
 
 
 ___
 computer-go mailing list
 computer-go@computer-go.org
 http://www.computer-go.org/mailman/listinfo/computer-go/

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Help me test CGOS

2007-03-26 Thread Heikki Levanto
On Mon, Mar 26, 2007 at 12:10:05PM -0400, Don Dailey wrote:
 
 I have a prototype of the new CGOS server up and running.
 
 http://www.greencheeks.homelinux.org:8015/~drd/CGOS
 
 And report any problems or bugs to me.

I have set it up now. My program outputs its debug info on stderr, and
the old cgos had a perl client that allowed that output to be seen on
screen. Neither the old, nor the new tcl script do that. Minor problem,
and not worth loosing sleep over.

Another detail: On the result page, I see stuff like

  251  FatMan(1800)  mdash  antigo(1527?)  mdash  - playing ...
  252  myCtest(1193?)  mdash  Brown-1.0(904?)  mdash  - playing ...

I guess you have forgotten a semicolon after the entity code - even
though I am not 100% sure if 'mdash' is a proper entity. Why not just
output a dash?

Still waiting for the first game to start...


Regards

   Heikki
   

-- 
Heikki Levanto   In Murphy We Turst heikki (at) lsd (dot) dk

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Help me test CGOS

2007-03-26 Thread Don Dailey
On Mon, 2007-03-26 at 21:47 +0200, Heikki Levanto wrote:
 On Mon, Mar 26, 2007 at 12:10:05PM -0400, Don Dailey wrote:
  
  I have a prototype of the new CGOS server up and running.
  
  http://www.greencheeks.homelinux.org:8015/~drd/CGOS
  
  And report any problems or bugs to me.
 
 I have set it up now. My program outputs its debug info on stderr, and
 the old cgos had a perl client that allowed that output to be seen on
 screen. Neither the old, nor the new tcl script do that. Minor problem,
 and not worth loosing sleep over.

I just sent a post on that.   I'm not sure how to do this on windows, 
perhaps this works on both linux and windows?If you are on linux
I think my work-around will do the job.


 Another detail: On the result page, I see stuff like
 
   251  FatMan(1800)  mdash  antigo(1527?)  mdash  - playing ...
   252  myCtest(1193?)  mdash  Brown-1.0(904?)  mdash  - playing ...
 
 I guess you have forgotten a semicolon after the entity code - even
 though I am not 100% sure if 'mdash' is a proper entity. Why not just
 output a dash?

I doesn't show up that way on my browser, but thanks for the heads up.
Did you view the page source to see if there is a semi colon?   For
some reason I have believed that you can't use a dash directly, but
I could be wrong about this.

If it goes away, will you ping me on this?I will take a look at
this issue and try to fix it.

- Don

 Still waiting for the first game to start...

But at least there is a message that estimates how long you will have
to wait!


 
 Regards
 
Heikki

 

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Help me test CGOS

2007-03-26 Thread Don Dailey
I think it's fixed now.  I was indeed leaving the trailing semi-colon.
Thanks for the bug report.   Can you verify that it's fixed on your
browser?

- Don


On Mon, 2007-03-26 at 21:47 +0200, Heikki Levanto wrote:
 On Mon, Mar 26, 2007 at 12:10:05PM -0400, Don Dailey wrote:
  
  I have a prototype of the new CGOS server up and running.
  
  http://www.greencheeks.homelinux.org:8015/~drd/CGOS
  
  And report any problems or bugs to me.
 
 I have set it up now. My program outputs its debug info on stderr, and
 the old cgos had a perl client that allowed that output to be seen on
 screen. Neither the old, nor the new tcl script do that. Minor problem,
 and not worth loosing sleep over.
 
 Another detail: On the result page, I see stuff like
 
   251  FatMan(1800)  mdash  antigo(1527?)  mdash  - playing ...
   252  myCtest(1193?)  mdash  Brown-1.0(904?)  mdash  - playing ...

I think it's fixed now.  I was indeed leaving the trailing semi-colon.




 I guess you have forgotten a semicolon after the entity code - even
 though I am not 100% sure if 'mdash' is a proper entity. Why not just
 output a dash?
 
 Still waiting for the first game to start...
 
 
 Regards
 
Heikki

 

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Help me test CGOS

2007-03-26 Thread Jason House
I don't see any games that have an outcome other than winning by points 
or resignation.  Any forfeits or games that are on hold?




Don Dailey wrote:

I have a prototype of the new CGOS server up and running.

Please help me test it.   I have set up a 2 MINUTE SERVER, i.e.
2 minutes per side for the time control.  


Grab the current client at:

   http://www.greencheeks.homelinux.org:8015/~drd/public/cgos3.tcl

and see the results at:

http://www.greencheeks.homelinux.org:8015/~drd/CGOS

And report any problems or bugs to me.



- Don


___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

  


___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/