2016-04-17T03:00:48 *** Cloudflare has quit IRC (Ping timeout: 276 seconds) 2016-04-17T03:02:58 *** Cloudflare has joined #aichallenge 2016-04-17T04:25:20 *** contestbot has joined #aichallenge 2016-04-17T04:25:20 *** ChanServ sets mode: +o contestbot 2016-04-17T04:26:50 *** cyphase has joined #aichallenge 2016-04-17T04:48:15 *** Zannick has joined #aichallenge 2016-04-17T05:30:42 *** UncleVasya has joined #aichallenge 2016-04-17T05:55:19 smiley1993: https://go-tcp.herokuapp.com/ :) 2016-04-17T05:57:05 This isn't live tcp. Only webserver.py is working. I launched tcpserver.py locally to populate DB with some games and uploaded it on heroku. 2016-04-17T06:00:16 Now I will debug why profile links aren't working in replays. 2016-04-17T06:45:46 smiley1993: on aichallenge website replaydata wasn't stored in html but rather loaded from server by visualizer: visualizer.loadReplayDataFromURI('game/346328'); 2016-04-17T06:46:33 And server was adding things like 'game_url' and 'player_url' into replaydata. 2016-04-17T06:51:24 smiley1993: we can: 1) implement the same on server side 2) simply use 'player/PLAYER_NAME' as player url. 2016-04-17T06:52:18 I will do 2) for now. 2016-04-17T06:58:25 *** dici has joined #aichallenge 2016-04-17T06:59:34 @seen mcstar 2016-04-17T06:59:35 UncleVasya: mcstar was last seen in #aichallenge 45 weeks, 5 days, 3 hours, 46 minutes, and 5 seconds ago: @seen thestinger 2016-04-17T07:00:17 :\ 2016-04-17T07:33:10 *** Scooper has joined #aichallenge 2016-04-17T08:14:45 *** Cloudflare has quit IRC (Ping timeout: 276 seconds) 2016-04-17T08:14:58 *** Cloudflare has joined #aichallenge 2016-04-17T08:32:25 *** Cloudflare has quit IRC (Ping timeout: 250 seconds) 2016-04-17T08:33:29 *** Cloudflare has joined #aichallenge 2016-04-17T08:33:39 *** Cloudflare has joined #aichallenge 2016-04-17T09:01:58 smiley1993: you can click on player names now: https://go-tcp.herokuapp.com/replay.7 2016-04-17T09:12:40 *** ramn_ is now known as ramn 2016-04-17T10:32:33 *** dmiles has quit IRC (Ping timeout: 276 seconds) 2016-04-17T10:55:21 *** dmiles has joined #aichallenge 2016-04-17T11:56:06 ROFL. I tried to do git blame on some lines in go_tcp repo and it showed commit 'copy go game files from go_standalone.' So I opened go_standalone and did git blame on these lines again. Result: 'transfered from aiweb tree'. I opened aiweb and dd the same. It said: 'adding from go_standalone'. :D 2016-04-17T12:31:59 *** dici has quit IRC (*.net *.split) 2016-04-17T13:34:00 UncleVasya: lol, I don't remember the exact sequence, but yes, there has been lots of copying back and forth between various places. I have plans to refactor this, but other things keep getting in the way... 2016-04-17T13:34:16 UncleVasya: The heroku webserver is looking great :) 2016-04-17T13:36:33 Regarding the replaydata, it's easiest to integrate into the various places if it can be embedded in the javascript directly, but other options can be looked at if needed... the ants_tcp repo could be checked to see how they're doing this, I haven't looked at that code in a while 2016-04-17T13:38:36 smiley1993: I found the origing of those lines, they are from tron tcp. Lines in question are those: https://github.com/smiley1983/go_tcp/blob/master/go.py#L240-#L242 2016-04-17T13:39:18 In Go they result in some repetitions of data. 2016-04-17T13:40:16 For example, scores: [[0, 0], [0, 7.5, 7.5]] 2016-04-17T13:41:00 Second player got addition entry, that exceeds game duration. 2016-04-17T13:41:24 Ah, yes, the replaydata stuff is very messy - I basically just got the engine working for the bots, and then never went back to tidy up. Thanks for finding the problem :) 2016-04-17T13:43:56 If you positive that we don't need these lines I'll remove them. Cause these entries sometimes cause my Vis to crash :) I could add checks right in vis, but if this data is indeed junk, then it's better to fix it in go.py 2016-04-17T13:44:37 I'm pretty sure it's junk in the Go game, even if it had some purpose in another game before... 2016-04-17T13:46:50 I have a plan eventually to put go.py and engine.py into separate repositories, and then include those as submodules in the various places they're needed - but there's always something else which seems like a higher priority :) 2016-04-17T13:49:43 smiley1993: for embedding replaydata directly I added default paths to game/profile: https://github.com/UncleVasya/go_engine_standalone/blob/improved_visualizer/visualizer_new/js/Replay.js#L274-L283 I'll add these values to Const.js If you'll ever change paths, you'll have to edit them there too :) 2016-04-17T13:50:12 * UncleVasya thinks this will never happen though 2016-04-17T13:51:20 Yes, I see - that looks good to me 2016-04-17T13:52:35 Thank you for all the work you're doing on this. Are you thinking of writing a Go bot as well? 2016-04-17T13:54:38 smiley1993: another thing I've noticed is you used 'update game field' in TCP vis and 'updategamefield' in standalone vis. I found out it's because visualize_locally.py eats all spaces: newline_re = re.compile("\s", re.MULTILINE) Will look into fixing this. 2016-04-17T13:55:57 smiley1993: I didn't think about writing actual bot for go :D More interested in doing this tools stuff for now. 2016-04-17T13:56:58 Yes, I had wondered why that was happening - I put in the temporary fix because it worked, but it would indeed be great if it weren't necessary 2016-04-17T13:57:20 The tools for running these contests are certainly very interesting :) 2016-04-17T14:00:10 smiley1993: I remembered 1 more thing I wanted to tell you :P 2016-04-17T14:02:14 ... 2016-04-17T14:03:32 On the 2nd turn Player 1 gets 300+ score cause Player 2 has no stones yet: [0, 0] [361, 7.5] [1, 8.5]. It results in giand spike on graph so I just set scores[player_1][turn_1] = 1 2016-04-17T14:03:47 Yes, that seems reasonable 2016-04-17T14:04:29 I gues I have no more questions for today :) 2016-04-17T14:05:10 It's time for me to go to sleep, but I'm happy that another person is looking at this code. :) I look forward to any more progress. :) 2016-04-17T14:06:23 Good night ;) 2016-04-17T14:08:25 * UncleVasya feels like this channel is mostly his and smiley1983's ICQ :D And contestbot's 2016-04-17T15:48:27 smiley1993: if you have other games with 'updategamefield' issue you can apply this fix to them: https://github.com/UncleVasya/go_engine_standalone/commit/cb4a0d3b0bdd2e3b8f5d472683a9c4b5a94ffa12 2016-04-17T15:50:49 At this point I think we can integrate new vis into go-tcp and/or aweb. 2016-04-17T17:25:15 *** Cloudflare has quit IRC (Ping timeout: 244 seconds) 2016-04-17T17:29:27 *** Cloudflare has joined #aichallenge 2016-04-17T17:29:28 *** Cloudflare has joined #aichallenge 2016-04-17T17:32:59 *** UncleVasya has quit IRC (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org) 2016-04-17T18:16:37 *** MuTaLiSk has joined #aichallenge 2016-04-17T18:19:54 *** foRei has quit IRC (Ping timeout: 276 seconds) 2016-04-17T18:22:11 *** Scooper has quit IRC (Quit: Leaving) 2016-04-17T19:48:22 *** Cloudflare has quit IRC (Ping timeout: 244 seconds) 2016-04-17T19:51:09 *** Cloudflare has joined #aichallenge 2016-04-17T20:08:00 *** Cloudflare has quit IRC (Ping timeout: 244 seconds) 2016-04-17T20:10:41 *** Cloudflare has joined #aichallenge 2016-04-17T22:53:51 *** cyphase has quit IRC (Ping timeout: 264 seconds) 2016-04-17T23:15:03 *** cyphase has joined #aichallenge 2016-04-17T23:20:43 *** cyphase has quit IRC (Ping timeout: 244 seconds) 2016-04-17T23:37:49 *** cyphase has joined #aichallenge 2016-04-17T23:49:57 *** Cloudflare has quit IRC (Ping timeout: 260 seconds) 2016-04-17T23:52:07 *** Cloudflare has joined #aichallenge