Sneak Peek

Tell the community about tournaments, new go sites, software updates, etc.
User avatar
Li Kao
Lives in gote
Posts: 643
Joined: Wed Apr 21, 2010 10:37 am
Rank: KGS 3k
GD Posts: 0
KGS: LiKao / Loki
Location: Munich, Germany
Has thanked: 115 times
Been thanked: 102 times

Re: Sneak Peek

Post 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.
Sanity is for the weak.
User avatar
daniel_the_smith
Gosei
Posts: 2116
Joined: Wed Apr 21, 2010 8:51 am
Rank: 2d AGA
GD Posts: 1193
KGS: lavalamp
Tygem: imapenguin
IGS: lavalamp
OGS: daniel_the_smith
Location: Silicon Valley
Has thanked: 152 times
Been thanked: 330 times
Contact:

Re: Sneak Peek

Post 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... :twisted:

[*] So now you can attempt to get a directory listing from /image/ without taking down the server, whoever you were :) :roll: :oops:
That which can be destroyed by the truth should be.
--
My (sadly neglected, but not forgotten) project: http://dailyjoseki.com
User avatar
wineandgolover
Lives in sente
Posts: 866
Joined: Sun Jul 25, 2010 6:05 am
GD Posts: 0
Has thanked: 318 times
Been thanked: 345 times

Re: Sneak Peek

Post 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
- Brady
Want to see videos of low-dan mistakes and what to learn from them? Brady's Blunders
User avatar
wineandgolover
Lives in sente
Posts: 866
Joined: Sun Jul 25, 2010 6:05 am
GD Posts: 0
Has thanked: 318 times
Been thanked: 345 times

Re: Sneak Peek

Post 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.
- Brady
Want to see videos of low-dan mistakes and what to learn from them? Brady's Blunders
User avatar
daniel_the_smith
Gosei
Posts: 2116
Joined: Wed Apr 21, 2010 8:51 am
Rank: 2d AGA
GD Posts: 1193
KGS: lavalamp
Tygem: imapenguin
IGS: lavalamp
OGS: daniel_the_smith
Location: Silicon Valley
Has thanked: 152 times
Been thanked: 330 times
Contact:

Re: Sneak Peek

Post 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.
That which can be destroyed by the truth should be.
--
My (sadly neglected, but not forgotten) project: http://dailyjoseki.com
User avatar
daniel_the_smith
Gosei
Posts: 2116
Joined: Wed Apr 21, 2010 8:51 am
Rank: 2d AGA
GD Posts: 1193
KGS: lavalamp
Tygem: imapenguin
IGS: lavalamp
OGS: daniel_the_smith
Location: Silicon Valley
Has thanked: 152 times
Been thanked: 330 times
Contact:

Re: Sneak Peek

Post 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 :)
That which can be destroyed by the truth should be.
--
My (sadly neglected, but not forgotten) project: http://dailyjoseki.com
John Fairbairn
Oza
Posts: 3724
Joined: Wed Apr 21, 2010 3:09 am
Has thanked: 20 times
Been thanked: 4672 times

Re: Sneak Peek

Post 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.
lorill
Lives with ko
Posts: 281
Joined: Wed Apr 21, 2010 1:03 am
Rank: yes
GD Posts: 0
Location: France
Has thanked: 69 times
Been thanked: 25 times

Re: Sneak Peek

Post 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.
ethanb
Lives in gote
Posts: 355
Joined: Sat Apr 24, 2010 10:15 am
Rank: AGA 2d
GD Posts: 0
IGS: ethanb
Has thanked: 52 times
Been thanked: 43 times

Re: Sneak Peek

Post 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.
User avatar
CarlJung
Lives in gote
Posts: 429
Joined: Wed Apr 21, 2010 1:10 pm
Rank: SDK
GD Posts: 0
KGS: CarlJung
Location: Sweden
Has thanked: 101 times
Been thanked: 73 times

Re: Sneak Peek

Post by CarlJung »

Put link in sig.
User avatar
daniel_the_smith
Gosei
Posts: 2116
Joined: Wed Apr 21, 2010 8:51 am
Rank: 2d AGA
GD Posts: 1193
KGS: lavalamp
Tygem: imapenguin
IGS: lavalamp
OGS: daniel_the_smith
Location: Silicon Valley
Has thanked: 152 times
Been thanked: 330 times
Contact:

Re: Sneak Peek

Post 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...)
That which can be destroyed by the truth should be.
--
My (sadly neglected, but not forgotten) project: http://dailyjoseki.com
User avatar
kokomi
Lives in gote
Posts: 412
Joined: Wed May 19, 2010 7:23 am
Rank: 7k
GD Posts: 0
Location: Xi'an
Has thanked: 11 times
Been thanked: 23 times

Re: Sneak Peek

Post by kokomi »

Hey, i like it. But it's a bit slow? Or maybe my internet is slow :-?
长考出臭棋.
User avatar
kokomi
Lives in gote
Posts: 412
Joined: Wed May 19, 2010 7:23 am
Rank: 7k
GD Posts: 0
Location: Xi'an
Has thanked: 11 times
Been thanked: 23 times

Re: Sneak Peek

Post 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.
长考出臭棋.
User avatar
daniel_the_smith
Gosei
Posts: 2116
Joined: Wed Apr 21, 2010 8:51 am
Rank: 2d AGA
GD Posts: 1193
KGS: lavalamp
Tygem: imapenguin
IGS: lavalamp
OGS: daniel_the_smith
Location: Silicon Valley
Has thanked: 152 times
Been thanked: 330 times
Contact:

Re: Sneak Peek

Post 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. :(
That which can be destroyed by the truth should be.
--
My (sadly neglected, but not forgotten) project: http://dailyjoseki.com
lorill
Lives with ko
Posts: 281
Joined: Wed Apr 21, 2010 1:03 am
Rank: yes
GD Posts: 0
Location: France
Has thanked: 69 times
Been thanked: 25 times

Re: Sneak Peek

Post 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/bwpwxibuzwwjbyfwvsbuc

Edit: oops, just read the above explanation. Indeed, there's less than 5 games.
Post Reply