"Laggy" sgf files

Is something wrong? Do you have any suggestions? Let us know.
Post Reply
User avatar
paK0
Lives in gote
Posts: 507
Joined: Sun Jun 23, 2013 2:17 pm
Rank: terrible
GD Posts: 0
OGS: paK0, paK0666
Universal go server handle: paK0
Location: Germany
Has thanked: 176 times
Been thanked: 46 times

"Laggy" sgf files

Post by paK0 »

This one for example:

viewtopic.php?p=176313#p176313

I get extreme lag when I try to view them, sometimes it skips ahead a couple of moves, etc...

Anyone else having similar problems or is it just me?
xed_over
Oza
Posts: 2264
Joined: Mon Apr 19, 2010 11:51 am
Has thanked: 1179 times
Been thanked: 553 times

Re: "Laggy" sgf files

Post by xed_over »

I've seen that problem too.

It seems to only happen when people link directly to OGS.
I'd bet its because there not an actual SGF file (yet), but rather its generating the data on the fly from its database, so its not responsive enough for this browser app.

(there are multiple ways to post SGF files to the forum)
User avatar
Bonobo
Oza
Posts: 2223
Joined: Fri Dec 23, 2011 6:39 pm
Rank: OGS 9k
GD Posts: 0
OGS: trohde
Universal go server handle: trohde
Location: Germany
Has thanked: 8262 times
Been thanked: 924 times
Contact:

Re: "Laggy" sgf files

Post by Bonobo »

In the thread to which paK0 linked, the SGF files had been downloaded from OGS and then uploaded here, not linked directly to OGS (at least the last two files).
“The only difference between me and a madman is that I’m not mad.” — Salvador Dali ★ Play a slooooow correspondence game with me on OGS? :)
User avatar
HermanHiddema
Gosei
Posts: 2011
Joined: Tue Apr 20, 2010 10:08 am
Rank: Dutch 4D
GD Posts: 645
Universal go server handle: herminator
Location: Groningen, NL
Has thanked: 202 times
Been thanked: 1086 times

Re: "Laggy" sgf files

Post by HermanHiddema »

Looks like the SGF is invalid. On many nodes it has multiple C (comment) tags, something the spec specifically says is an error (http://www.red-bean.com/sgf/sgf4.html#2.2). In fact, the moves that are not showing up are exactly those that have multiple C tags. Those moves then all show up together as soon as a move occurs with only one, or no, C tags. Furthermore, the SGF in question does no escape ':' (colon characters) in text, which it should, according to spec (http://www.red-bean.com/sgf/sgf4.html#text), but that does not seem to cause problems.
vier
Dies with sente
Posts: 91
Joined: Wed Oct 30, 2013 7:04 am
GD Posts: 0
Has thanked: 8 times
Been thanked: 29 times

Re: "Laggy" sgf files

Post by vier »

HermanHiddema wrote:Looks like the SGF is invalid. On many nodes it has multiple C (comment) tags... Furthermore, the SGF in question does no escape ':' (colon characters) in text, which it should, according to spec (http://www.red-bean.com/sgf/sgf4.html#text), but that does not seem to cause problems.

The spec only asks for an escape of ':' when the colon is part of the syntactical structure (used in a compose data type).
Post Reply