Page 3 of 9
Re: Sneak Peek
Posted: Fri Jul 23, 2010 11:39 am
by Li Kao
Golang is an interesting language. I read a bit about it when it was first published.
My memory is a bit muddy, but there were a few things I found strange then. Something about value-types vs reference-types, something about lack of generics requiring unnecessary casts and something about user defined types being inferior to built in types.
Re: Sneak Peek
Posted: Fri Jul 23, 2010 8:18 pm
by daniel_the_smith
daniel_the_smith wrote:The site was down for a bit earlier. I started it up again. I know what's wrong and will fix it tonight. (Thanks, loki, for pointing that out after my game with Actorios)
OK, I added some panic protection (in addition to fixing the bug [*]), so it shouldn't go down like that again. Since it was just me until yesterday I wanted it to crash when something unexpected happened, I forgot to change things before announcing it.

Now I'm kinda hoping you can crash it so I can see my fancy call stack report in the log...
[*] So now you can attempt to get a directory listing from /image/ without taking down the server, whoever you were

Re: Sneak Peek
Posted: Sun Jul 25, 2010 6:29 am
by wineandgolover
Daniel,
This is very impressive. Well done.
The first upgrade I would recommend is filters. Examples include "date range" "country" and "player". For example, this would be a great way to determine how the Koreans are currently answering the one space high approach pincer, rather than seeing a percentage that includes potentially obsolete joseki.
Also, I am a bit slow and am not sure I 100% understand how the surrounding positions works. Let's say that in a joseki played 100 times, the opposite starpoint was black 25 times, white 25 times, and empty 50 times. How would that display? If it was 50 black and 50 white, would it look the same? 50 white and 50 empty? 75 white, 25 empty?
I am sure this would be hard, but it would be cool if you could hover your pointer over a ghost stone and it would tell you, "black 25%, white 25%, empty 50%.
Will your db update as GoGod updates?
Thanks for sharing. Let me know if you need a beta tester for future features.
I'll keep playing with it and let you know if I have other ideas.
See you at the congress.
Again, great job!
-Brady
Re: Sneak Peek
Posted: Sun Jul 25, 2010 7:20 am
by wineandgolover
Another question - it seem the position determination is color independent, is this correct? ("This position was reached x time(s)")
And another idea of dubious value, but some interest: include "Black Winning Percentage" with each variation.
Re: Sneak Peek
Posted: Sun Jul 25, 2010 11:26 am
by daniel_the_smith
I've implemented the opacity & sprite suggestions. Safari (on my iPad) shows the sprites a pixel off, does anyone know anything about that? Firefox, chrome, and opera all display it correctly. I don't have a convenient way to test on IE or Safari (on a mac). I don't think I'll update the main site quite until I figure out what's wrong with Safari.
The updated version is running at
http://dailyjoseki.com:30080/browse if you want to take a look. Not sure how long I'll leave it up.
Re: Sneak Peek
Posted: Sun Jul 25, 2010 11:39 am
by daniel_the_smith
wineandgolover wrote:The first upgrade I would recommend is filters. Examples include "date range" "country" and "player". For example, this would be a great way to determine how the Koreans are currently answering the one space high approach pincer, rather than seeing a percentage that includes potentially obsolete joseki.
Yeah, I agree it would be interesting. Filtering by date, especially. Filtering the joseki tree isn't too hard, I don't think, but the average board feature makes it tricky. It's on my list.
wineandgolover wrote:Also, I am a bit slow and am not sure I 100% understand how the surrounding positions works. Let's say that in a joseki played 100 times, the opposite starpoint was black 25 times, white 25 times, and empty 50 times. How would that display? If it was 50 black and 50 white, would it look the same? 50 white and 50 empty? 75 white, 25 empty?
How transparent it is depends on how often there was a stone there at all, the color depends on what color the stone was. So, if it's black 25 times and white 25 times out of 100, it would be 50% transparent grey. 50 B and 50 W, it would be 100% opaque grey. 50 W and 50 empty, it would be 50% transparent and white. Etc.
wineandgolover wrote:I am sure this would be hard, but it would be cool if you could hover your pointer over a ghost stone and it would tell you, "black 25%, white 25%, empty 50%.
Actually, I set the alt property, so it should be doing that already with a tool-tip. But it's making it look terrible while loading, so I'm turning it off...
wineandgolover wrote:Will your db update as GoGod updates?
Yeah, I hear there's 3000 more games in the upcoming edition, which I'll add sometime after I get it.
wineandgolover wrote:Another question - it seem the position determination is color independent, is this correct? ("This position was reached x time(s)")
And another idea of dubious value, but some interest: include "Black Winning Percentage" with each variation.
Yes, positions can be reached several ways. Color, rotation, mirroring, side to play are all appropriately dealt with. Which reminds me: the "tenuki" count is incorrect for positions that can be reached in multiple ways, it combines black tenukis and white tenukis. Next time I feel like working on the tree I will fix this.
Winning percentage would be fun. Maybe I'll add it if it's easy to parse the info out of GoGoD files (I haven't checked).
Anyway, thanks for checking it out, glad you like it

Re: Sneak Peek
Posted: Sun Jul 25, 2010 1:11 pm
by John Fairbairn
I would have preferred that Daniel made this clear himself, but can I just mention that GoGoD has indeed given permission in principle. Daniel and T Mark will iron out the details at the US Congress, but the general thrust is that we will expect a restriction on the number of moves per game made available, and also on the amount of header data supplied.
We welcome creative uses of our database. We have alreaady given similar permission to quite a range of people, companies and academic institutions and (I think - T Mark can confirm) we have never charged. But in return we do expect some sensible restrictions, and all the features requested here must go through that filter.
Re: Sneak Peek
Posted: Sun Jul 25, 2010 1:53 pm
by lorill
daniel_the_smith wrote:Actually, I set the alt property, so it should be doing that already with a tool-tip. But it's making it look terrible while loading, so I'm turning it off...
Use title for tooltips instead of alt.
Re: Sneak Peek
Posted: Sun Jul 25, 2010 2:09 pm
by ethanb
daniel_the_smith wrote:Hmm, do you have an example position?
Assuming that's addressed to my question about the ghost stones, it happens on anything where there's only one path (no matter how many times it was played.)
I found it browsing through taisha variations - one pattern was played with minor variations in only 3 games, but in places where all the "next moves" were the same move, or if I went to a track with only one game, the ghost stones weren't rendered.
Re: Sneak Peek
Posted: Sun Jul 25, 2010 2:57 pm
by CarlJung
Put link in sig.
Re: Sneak Peek
Posted: Sun Jul 25, 2010 7:44 pm
by daniel_the_smith
John Fairbairn wrote:I would have preferred that Daniel made this clear himself, but can I just mention that GoGoD has indeed given permission in principle. Daniel and T Mark will iron out the details at the US Congress, but the general thrust is that we will expect a restriction on the number of moves per game made available, and also on the amount of header data supplied.
We welcome creative uses of our database. We have alreaady given similar permission to quite a range of people, companies and academic institutions and (I think - T Mark can confirm) we have never charged. But in return we do expect some sensible restrictions, and all the features requested here must go through that filter.
This was the first question asked, if you look back at the beginning of the thread.

I didn't state I had permission to begin with because I sorta figured it went without saying... In retrospect, perhaps that was silly of me. I don't think anything I've described here is in conflict with the email T Mark sent me back when I originally asked if this was ok. Anyway, if people want to review the games, they can buy GoGoD for themselves-- whatever my site ends up like it will definitely not be a pro-game-viewing site. T Mark and I will hash out any remaining details at congress. I very much appreciate the amount of work you guys have gone through to put GoGoD together-- hopefully people realize I won't be including features that reduce the value of buying their own copy.
lorill wrote:Use title for tooltips instead of alt.
Thanks! I will probably start using that later.
ethanb wrote:I found it browsing through taisha variations - one pattern was played with minor variations in only 3 games, but in places where all the "next moves" were the same move, or if I went to a track with only one game, the ghost stones weren't rendered.
Right now I have it set to stop showing the averaging when there's fewer than 5 games to average together. I'm not sure, but it sounds like that is the cause of what you're seeing?
CarlJung wrote:Put link in sig.
Haha, ok.
@everyone:
My wife got home and I was able to try the new stuff in safari on her mac. Apparently the ugliness is limited to the iPad, so I updated the main site. Should be faster now.
(I don't know why my iPad is showing things wrong-- it's grabbing pieces of other parts of the sprite image, so you see like an extra row of pixels at the edges of the letters and stones. I suspect it's related to the scaling it does-- I think they're clipping the source image after scaling instead of before. If so, bad, Apple, bad! Hopefully I can find a way around it...)
Re: Sneak Peek
Posted: Sun Jul 25, 2010 8:54 pm
by kokomi
Hey, i like it. But it's a bit slow? Or maybe my internet is slow

Re: Sneak Peek
Posted: Sun Jul 25, 2010 8:59 pm
by kokomi
wineandgolover wrote:Daniel,
This is very impressive. Well done.
The first upgrade I would recommend is filters. Examples include "date range" "country" and "player". For example, this would be a great way to determine how the Koreans are currently answering the one space high approach pincer, rather than seeing a percentage that includes potentially obsolete joseki.
Also, I am a bit slow and am not sure I 100% understand how the surrounding positions works. Let's say that in a joseki played 100 times, the opposite starpoint was black 25 times, white 25 times, and empty 50 times. How would that display? If it was 50 black and 50 white, would it look the same? 50 white and 50 empty? 75 white, 25 empty?
I am sure this would be hard, but it would be cool if you could hover your pointer over a ghost stone and it would tell you, "black 25%, white 25%, empty 50%.
Will your db update as GoGod updates?
Thanks for sharing. Let me know if you need a beta tester for future features.
I'll keep playing with it and let you know if I have other ideas.
See you at the congress.
Again, great job!
-Brady
I'd love a filter on komi. But then black or white matters, which is too much work.
Re: Sneak Peek
Posted: Mon Jul 26, 2010 5:22 am
by daniel_the_smith
kokomi wrote:Hey, i like it. But it's a bit slow? Or maybe my internet is slow

I seem to recall you're in China-- if so, you're a loooong way from the server, which could explain it. Unfortunately there wouldn't be much I could do about that at the moment.

Re: Sneak Peek
Posted: Mon Jul 26, 2010 5:25 am
by lorill
ethanb wrote:daniel_the_smith wrote:Hmm, do you have an example position?
Assuming that's addressed to my question about the ghost stones, it happens on anything where there's only one path (no matter how many times it was played.)
I found it browsing through taisha variations - one pattern was played with minor variations in only 3 games, but in places where all the "next moves" were the same move, or if I went to a track with only one game, the ghost stones weren't rendered.
Example:
http://dailyjoseki.com/browse/bwpwxibuzwwjbyfwvsbucEdit: oops, just read the above explanation. Indeed, there's less than 5 games.