2011-05-27T00:05:32 *** Palmik has joined #aichallenge 2011-05-27T00:18:52 *** jmpespxoreax has joined #aichallenge 2011-05-27T01:07:09 *** McLeopold has joined #aichallenge 2011-05-27T01:10:17 amstan: what needs attention? 2011-05-27T01:10:31 McLeopold: do you like it brown? http://aichallengebeta.hypertriangle.com/ 2011-05-27T01:11:06 McLeopold: also, what's the significance of the faded out lines in the rankings? 2011-05-27T01:11:06 yes 2011-05-27T01:11:21 high water marks for old submissions 2011-05-27T01:11:33 thus the "ghost" emoticon 2011-05-27T01:11:37 what's the criteria for that? 2011-05-27T01:12:01 It's so that when you submit a new bot, and it starts at zero, other don't wonder where you've gone 2011-05-27T01:12:33 yes, but for how long does it stay for example? 2011-05-27T01:12:40 what's the algorithm for showing a ghost? 2011-05-27T01:12:59 you always get 2 spots on the list, highest from last leaderboard and latest 2011-05-27T01:13:16 if latest is the highest, you only see one 2011-05-27T01:13:46 I'd like to add something more to remove them if you never regain you skill level, but I'll worry about that later. 2011-05-27T01:13:48 there might be a lot of shadows showing in the end 2011-05-27T01:13:58 for 700 ppl 2011-05-27T01:14:09 maybe only display it for top 100 2011-05-27T01:14:30 Frontier: ping 2011-05-27T01:14:34 I want to wait a bit to see how it affects us before I decide how it will work 2011-05-27T01:14:39 ok 2011-05-27T01:14:44 amstan: pong 2011-05-27T01:15:00 Frontier: clicking on game is broken in your front page visualizer 2011-05-27T01:15:00 Also, I might have to add a "don't show old submissions" option 2011-05-27T01:15:07 yields this: http://aichallengebeta.hypertriangle.com/visualizer.php?game_id=2860 2011-05-27T01:15:21 redirect to McLeopold :p 2011-05-27T01:15:42 Frontier: i would have fixed it myself, but couldn't find the code 2011-05-27T01:15:51 amstan: that's my check 2011-05-27T01:16:12 it was the xss fix 2011-05-27T01:16:21 McLeopold: hmm? 2011-05-27T01:16:32 McLeopold: i don't get it... right now it seems that the get variable name is wrong 2011-05-27T01:16:32 wait, it shouldn't be game_id, it should be game 2011-05-27T01:16:37 s/game_id/game/ 2011-05-27T01:16:40 yeah 2011-05-27T01:16:53 I think that's in the json :( 2011-05-27T01:17:04 sed should fix that 2011-05-27T01:17:16 wait until I fix api_game_result 2011-05-27T01:18:23 McLeopold: question: did you make the ant.ico from the svg file? computerwiz was asking 2011-05-27T01:18:44 I made it from an svg file I found on the internet somewhere 2011-05-27T01:18:58 we have an svg file of an ant 2011-05-27T01:19:00 It should probably be redone 2011-05-27T01:19:01 the ones from the header 2011-05-27T01:19:44 I was just stopping favicon http errors, so I took the one from my ants paste site 2011-05-27T01:21:30 aichallenge: Alexandru Stan epsilon * r1489e0a / website/server_stats.php : added total number of games played - http://bit.ly/k0KWtu 2011-05-27T01:22:08 McLeopold: have you seen that server_stats.php? also.. the bash motd when you do sudo su contest? 2011-05-27T01:22:52 aichallenge: McLeopold epsilon * r9b7941f / website/api_game_result.php : fixed incorrect game url in visualizer - http://bit.ly/jAS4zY 2011-05-27T01:23:03 not yet 2011-05-27T01:23:43 http://aichallengebeta.hypertriangle.com/server_stats.php 2011-05-27T01:24:39 nice 2011-05-27T01:24:52 McLeopold: yeah, did you reboot it? lol 2011-05-27T01:24:59 it should have been like a week 2011-05-27T01:24:59 no, it's running 2011-05-27T01:25:05 it's only 2 days 2011-05-27T01:25:07 idk why 2011-05-27T01:25:14 how do you calc that? 2011-05-27T01:25:21 exec("uptime") 2011-05-27T01:25:41 that doesn't really explain it 2011-05-27T01:25:50 calculate what? 2011-05-27T01:26:01 where is this server? 2011-05-27T01:26:19 idk, it's a hosted thing from sshvm 2011-05-27T01:26:43 it's tomorrow at 9:25 where ever it is 2011-05-27T01:27:03 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has joined #aichallenge 2011-05-27T01:27:14 what is? 2011-05-27T01:27:17 * amstan is so confused 2011-05-27T01:27:25 how can an uptime be tomorrow? 2011-05-27T01:27:33 oh, server uptime, I was thinking a process uptime 2011-05-27T01:27:40 yes 2011-05-27T01:27:53 by manager i mean that, as in... the central server where the website is 2011-05-27T01:28:01 separate issue, I was looking at the log's time stamp and getting confused 2011-05-27T01:29:35 amstan: can you do your sed magic on the replay files? 2011-05-27T01:29:45 McLeopold: stop the worker 2011-05-27T01:30:01 stopped 2011-05-27T01:30:52 that last game is really interesting 2011-05-27T01:31:11 is that a bad idea: contest@aichallengebeta:~$ cp -r games/ /tmp 2011-05-27T01:31:28 do a du first? 2011-05-27T01:31:35 oh dear, 410M 2011-05-27T01:31:44 for 2861 2011-05-27T01:31:46 games 2011-05-27T01:31:54 i don't like this 2011-05-27T01:31:57 we should compress them 2011-05-27T01:32:11 or at least the old ones 2011-05-27T01:32:14 we should get that coordinated with apache as well 2011-05-27T01:32:19 yes 2011-05-27T01:32:36 though.. 2011-05-27T01:32:51 i'm pretty sure there's fuse file systems that do live compressions 2011-05-27T01:33:01 http://serverfault.com/questions/246738/making-apache-serve-unzipped-content-from-zipped-files 2011-05-27T01:33:02 so it might be easier to do that 2011-05-27T01:33:04 and transparent 2011-05-27T01:33:26 McLeopold: it would be nice if apache could also send the data compressed, and the uncompressed by the browser 2011-05-27T01:33:30 you know.. save some bandwidth 2011-05-27T01:33:50 I think that's what the suggestion in the link does? 2011-05-27T01:34:54 where? 2011-05-27T01:35:11 did you not see my url? 2011-05-27T01:35:19 up 8 lines 2011-05-27T01:36:21 yeah, i did 2011-05-27T01:36:33 but it mostly talks about decompressing before sending 2011-05-27T01:36:42 i would like it to stay compressed till it gets to the browser 2011-05-27T01:37:03 me too 2011-05-27T01:37:37 i'm just thinking we should use a fuse compress fs thingy 2011-05-27T01:37:42 that way it's all transparent 2011-05-27T01:38:01 and then set up apache to compress everything before sending as well(if we need bw) 2011-05-27T01:38:01 okay, then can you do that? 2011-05-27T01:38:25 McLeopold: yeah, i could 2011-05-27T01:38:39 so, then it would uncompress and recompress before going to the browser? 2011-05-27T01:38:54 pretty much 2011-05-27T01:39:06 but i was just thinking if it's worth using the cpu on the manager to save bandwidth 2011-05-27T01:39:07 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has quit IRC (Quit: Lost terminal) 2011-05-27T01:39:13 do we need to save on bandwidth or something? 2011-05-27T01:39:17 always 2011-05-27T01:39:18 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has joined #aichallenge 2011-05-27T01:39:27 that's where the bill is, isn't it? 2011-05-27T01:39:40 idk 2011-05-27T01:39:55 last time we had cpu issues, the bandwidth was fine 2011-05-27T01:40:46 http://stackoverflow.com/questions/75482/how-can-i-pre-compress-files-with-mod-deflate-in-apache-2-x 2011-05-27T01:40:52 let's try this first 2011-05-27T01:42:14 McLeopold: that sounds good, yes 2011-05-27T01:42:43 contestbot: learn http://stackoverflow.com/questions/75482/how-can-i-pre-compress-files-with-mod-deflate-in-apache-2-x as theanswertolifebandwidthandeverything 2011-05-27T01:42:43 amstan: Ready to serve. 2011-05-27T01:42:52 can I start the worker again? 2011-05-27T01:42:59 no, just a sec 2011-05-27T01:43:02 i got sidetracked 2011-05-27T01:43:52 hmm, what if the client doesn't accept gzip? 2011-05-27T01:43:53 oh man... a simple copy on these files is taking ages 2011-05-27T01:44:06 McLeopold: apache will detect, and hopefully unpack for him 2011-05-27T01:44:13 it does when it compresses on the fly 2011-05-27T01:44:19 k 2011-05-27T01:44:30 and by hopefully i mean i have no idea, and probably not 2011-05-27T01:45:22 how much space will we have on the official server? 2011-05-27T01:45:57 we should stay within 100GB 2011-05-27T01:47:44 seding in progress 2011-05-27T01:48:07 perfect: http://aichallengebeta.hypertriangle.com/visualizer.php?game=2865 2011-05-27T01:48:18 McLeopold: so what do you mean by interesting game? 2011-05-27T01:48:33 i like frontier's little globs everywhere 2011-05-27T01:51:32 different strategies are fun to watch 2011-05-27T01:53:15 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has quit IRC (Quit: Lost terminal) 2011-05-27T01:53:27 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has joined #aichallenge 2011-05-27T01:58:26 McLeopold: right.. you can start the worker 2011-05-27T01:58:34 k 2011-05-27T01:58:47 did you test some older games? 2011-05-27T01:58:47 and i should probably go to bed 2011-05-27T01:58:56 not really 2011-05-27T01:59:23 like this: http://aichallengebeta.hypertriangle.com/visualizer.php?game=1 2011-05-27T01:59:29 also.. why doesn't game=0 work? 2011-05-27T01:59:33 there's an entry for it 2011-05-27T01:59:40 http://aichallengebeta.hypertriangle.com/game/0 2011-05-27T01:59:44 really? 2011-05-27T01:59:55 it says incorrect game number 2011-05-27T02:00:02 http://aichallengebeta.hypertriangle.com/visualizer.php?game=0 2011-05-27T02:00:08 0 is falsy 2011-05-27T02:00:13 <_flag> I think it checks to see if the game id is "true" and zero is "false" 2011-05-27T02:00:18 <_flag> ^ that 2011-05-27T02:01:13 aichallenge: McLeopold epsilon * r4a6e7a3 / website/visualizer.php : fixed game 0 bug - http://bit.ly/jPKEVB 2011-05-27T02:02:00 McLeopold: now you get http://aichallengebeta.hypertriangle.com/visualizer.php 2011-05-27T02:02:21 game 0 is supposed to be valid? 2011-05-27T02:02:32 Frontier: yes 2011-05-27T02:02:35 there's a game 0 2011-05-27T02:02:36 works for me 2011-05-27T02:03:00 McLeopold: http://aichallengebeta.hypertriangle.com/visualizer.php produces a weird error, doesn't produce an invalid game one liner 2011-05-27T02:03:16 <_flag> Why does it say "player 1" "player 2" etc. ? http://aichallengebeta.hypertriangle.com/visualizer.php?game=0 2011-05-27T02:03:29 <_flag> Instead of their actual names 2011-05-27T02:03:37 lol 2011-05-27T02:04:07 why not? there are no names in the replay 2011-05-27T02:04:10 the json doesn't have the name data in it 2011-05-27T02:04:11 i can't click the game id either 2011-05-27T02:04:21 maybe that was a test or something 2011-05-27T02:04:29 I check for game_id on the url, not for game 2011-05-27T02:04:42 unless it is given in the json of course 2011-05-27T02:04:47 <_flag> amstan: I recognize some of the bots playing though, and they weren't uploaded by default 2011-05-27T02:05:01 _flag: i think they're the sample bots 2011-05-27T02:05:09 _flag: with play_one_game.sh 2011-05-27T02:05:27 <_flag> nevermind then 2011-05-27T02:05:38 no, it was done by the worker 2011-05-27T02:05:45 post_id 3642 2011-05-27T02:06:04 Fetching replay from: game/2868 Creating canvas... Status 404: Not Found 2011-05-27T02:06:11 @homepage 2011-05-27T02:06:12 amstan: User error, it's not my fault. 2011-05-27T02:07:23 McLeopold: what is the games folder supposed to be 2011-05-27T02:07:25 in permissions? 2011-05-27T02:08:08 ... i think the new design looks less professional than the old one 2011-05-27T02:08:35 antimatroid1: if you want a motion to change it, get a forum post 2011-05-27T02:08:45 and by change i mean go to the old design 2011-05-27T02:08:51 unless someone else designs another one 2011-05-27T02:08:57 i don't really want to sound annoying, i am not a design person by any means, but that is my opinion :) 2011-05-27T02:09:09 forum poll* 2011-05-27T02:09:47 McLeopold, Frontier: What do you guys think? 2011-05-27T02:10:04 if other people think it looks fine i don't really mind, i'm more concerned about the image of the contest than what the site looks like 2011-05-27T02:10:09 aichallenge: McLeopold epsilon * r187a258 / website/visualizer.php : fixed no game bug - http://bit.ly/lDM2QP 2011-05-27T02:11:03 I'm fine with the design. The background is not quite my taste but ok. 2011-05-27T02:11:05 amstan: the web-data needs to be able to create dirs and files 2011-05-27T02:11:22 Frontier: have you seen the brown one? 2011-05-27T02:11:35 yes 2011-05-27T02:11:46 Please take a look at: http://aichallengebeta.hypertriangle.com/game/2870 2011-05-27T02:11:52 It is truncated! 2011-05-27T02:12:08 it ends with "date":"2011-05-27T10:09:30+04:00","game_id":2870} for me 2011-05-27T02:12:15 not for me 2011-05-27T02:12:21 refresh maybe? 2011-05-27T02:12:43 now it is written completely 2011-05-27T02:13:07 antimatroid1: yes, less professional, more personality 2011-05-27T02:13:14 so... don't show games on the front page that haven't been written to disk yet *g* 2011-05-27T02:13:25 Frontier: that was my bad: permissions 2011-05-27T02:13:31 the memcache key isn't set unti lthe write is complete 2011-05-27T02:14:56 with the current one, i wouldn't bold or increase the font size of "sign up", i'd get rid of that little triangle thing, possibly even fade the top green from dark to light, possibly converging on the right hand side green shade, and I don't think the font for "Google AI Challenge" wroks 2011-05-27T02:15:29 or maybe it's the shading around it, it just doesn't look "very good" to me :\ 2011-05-27T02:15:47 yeah, the shading doesn't look good 2011-05-27T02:16:11 I wanted the "sign up" to be big for only those that haven't logged in at all 2011-05-27T02:16:26 so it draw attention 2011-05-27T02:16:35 but it can go if it looks bad 2011-05-27T02:17:00 The whole header needs to be shrunk in size, it takes too much space 2011-05-27T02:17:12 would it work to just stick a big sign up button on the main page where people will first look? 2011-05-27T02:17:19 where the description of the game is 2011-05-27T02:17:25 yeah 2011-05-27T02:17:50 i'd maybe even move sign up/in /logout to above the overview part 2011-05-27T02:17:53 it's only about 10px bigger than the previous design 2011-05-27T02:17:57 actually, it should be above the word "Overview" 2011-05-27T02:18:02 add the profile link there and maybe even title it "user management" or something 2011-05-27T02:19:45 i would love to see a go at making the background a scaled up version of one of the maps 2011-05-27T02:20:15 and some beta games where there's not so much food :) 2011-05-27T02:20:16 :P 2011-05-27T02:20:55 <_flag> What was the rational for needing a redesign anyway? 2011-05-27T02:21:01 *** mcstar has joined #aichallenge 2011-05-27T02:21:40 amstan: did you chown the games dir? 2011-05-27T02:21:50 _flag: there was never a need, there was a proposal, jeff liked it 2011-05-27T02:22:01 McLeopold: yes www-data:www-data 2011-05-27T02:22:12 you mean contest:www-data? 2011-05-27T02:22:20 no 2011-05-27T02:22:23 yes 2011-05-27T02:22:25 ok 2011-05-27T02:22:28 :) 2011-05-27T02:22:31 it was contest: before 2011-05-27T02:22:36 and it made it fail 2011-05-27T02:22:49 but group has read/write 2011-05-27T02:22:50 done 2011-05-27T02:23:09 not for the folders inside.. 2011-05-27T02:23:24 it should 2011-05-27T02:23:32 when they get created by the www-data process they get set to www-data:www-data at 755 2011-05-27T02:23:41 I hit this issue before and though I got past it 2011-05-27T02:24:13 pretty much, when you make new files, you have to remmeber that it won't inheret the permissions of the parent folder 2011-05-27T02:24:29 line 86 of api_game_result says 775 2011-05-27T02:24:29 it'll just do currentuser:currentuser 755 2011-05-27T02:24:39 drwxr-xr-x 2 contest www-data 36K 2011-05-27 09:47 0 2011-05-27T02:24:45 tell that to ls 2011-05-27T02:24:46 lol 2011-05-27T02:25:36 hmm, maybe the web server creates it as www-data:www-data? 2011-05-27T02:25:47 it does, it has no choice 2011-05-27T02:25:53 unless it has sudo 2011-05-27T02:25:58 can't I force the owner at the os level? 2011-05-27T02:26:02 nope 2011-05-27T02:26:13 I'm thinking of samba then 2011-05-27T02:26:17 setfacl does it 2011-05-27T02:26:39 well, contest is only needed for administration 2011-05-27T02:27:01 so, it's not that big a deal 2011-05-27T02:27:15 unix doesn't allow users to chown stuff themselves, since the quotas and other things are based on file owners 2011-05-27T02:31:10 \o/ http://aichallengebeta.hypertriangle.com/visualizer.php?game=7 2011-05-27T02:31:45 \o/ 2011-05-27T02:32:01 I guess I don't understand apache gzip 2011-05-27T02:37:16 * amstan goes to sleep 2011-05-27T02:40:03 Frontier: can javascript request gzip encoding? 2011-05-27T02:40:58 I should be able to set the header to anything. 2011-05-27T02:41:10 What is it requested as right now? 2011-05-27T02:41:15 check out that link above 2011-05-27T02:43:27 Chrome sets the header to: Accept-Encoding:gzip,deflate,sdch 2011-05-27T02:43:36 hmm 2011-05-27T02:45:04 Opera has gzip and deflate set. I assume other browsers do it the same way. And look what the response is: Content-Location: 7.replay.gz 2011-05-27T02:47:24 hmm looks like Chrome doesn't get gzip encoded data from the server, but Opera does. 2011-05-27T02:49:23 Firefox responds with a 404 2011-05-27T02:50:21 ah now it works, but it doesn't unpack the gzip content. 2011-05-27T02:50:32 so I have garbage in the visualize 2011-05-27T02:50:56 only opera works 2011-05-27T02:51:08 that's right 2011-05-27T02:51:17 do I need to set another header for the browser to unpack? 2011-05-27T02:51:33 I don't know really. HTTP headers is not my domain. 2011-05-27T02:52:19 You could try some other website that serves content gzip encoded and compare the headers 2011-05-27T02:53:08 I don't see the Content-encoding header... 2011-05-27T02:53:16 But in the end it depends on the XmlHttpRequest implementation in the browser if it works the same as a normal request 2011-05-27T02:53:49 Content-Encoding: gzip is what Firebug reports 2011-05-27T02:54:28 I could check Safari, but I think 3 different behaviours is enough for now 2011-05-27T02:57:12 http://swik.net/HiveMind/Tapestry+and+HiveMind/Is+GZIP+compression+compatible+with+XmlHttpRequest%3F/cufv3 :-/ 2011-05-27T03:04:08 *** MuTaLiSk has joined #aichallenge 2011-05-27T03:06:31 *** MuTa-ofd00m has quit IRC (Ping timeout: 252 seconds) 2011-05-27T03:11:05 *** needsch has joined #aichallenge 2011-05-27T03:21:29 *** ltriant has quit IRC (Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/) 2011-05-27T03:26:25 McLeopold: Can you try this combination for the response? Content-Type: application/json, Content-Encoding: gzip 2011-05-27T03:26:42 I just got it :) 2011-05-27T03:26:47 http://aichallengebeta.hypertriangle.com/game/0/0/7.replaygz 2011-05-27T03:27:02 and that's what I did :) 2011-05-27T03:27:17 *** berak has joined #aichallenge 2011-05-27T03:27:21 *** aerique has joined #aichallenge 2011-05-27T03:29:10 Frontier: works in the big 5 2011-05-27T03:29:54 how do you know? 2011-05-27T03:30:02 I just tested manually in 3 2011-05-27T03:30:28 I just tried chrome/safari/firefox/ie/opera 2011-05-27T03:30:39 mostly latest versions 2011-05-27T03:30:56 You must have some Windows in a VM running. 2011-05-27T03:31:08 Win7, no vms 2011-05-27T03:31:30 ah, so you are the one to test on Windows for amstan in the future ;) 2011-05-27T03:31:38 Do you have konquerer? 2011-05-27T03:31:47 no 2011-05-27T03:32:08 maybe an online browser compatibility site will help 2011-05-27T03:33:07 I just let the losers complain 2011-05-27T03:37:36 yeah, get a real browser and use gnome for gods sake 2011-05-27T03:57:25 *** sigh has joined #aichallenge 2011-05-27T03:57:45 aichallenge: McLeopold epsilon * r77d7776 / (setup/apache_site.template website/api_game_result.php): attempt gzip compression of replay files - http://bit.ly/mGXCjo 2011-05-27T04:01:42 @later tell amstan api_game_result now saves gzip files and it appears to work, my bash-fu isn't so great, so if you could turn all .replay into .replaygz, that would be awesome 2011-05-27T04:01:42 McLeopold: I come to serve. 2011-05-27T04:02:26 McLeopold: did you see my message through contentbot about the stripped down cl bot? 2011-05-27T04:02:35 yeah 2011-05-27T04:02:43 much more approchable for me 2011-05-27T04:03:21 aerique: I'm going to modify the starter packages page, can you also put your full cl bot up? 2011-05-27T04:03:47 I'm thinking ants/dist/advanced_bots/common_lisp 2011-05-27T04:04:14 then we can have links to both versions 2011-05-27T04:04:19 McLeopold: https://github.com/aerique/google-ai-challenge-2011-1-ants 2011-05-27T04:04:23 *** qacek has quit IRC (Quit: WeeChat 0.3.5) 2011-05-27T04:04:40 McLeopold: the stripped down version needs some more work before i'll merge it 2011-05-27T04:05:40 how can i get at bot compilation errors on hypertriangle? 2011-05-27T04:05:54 it's in the database I believe 2011-05-27T04:06:39 Frontier: konqueror uses webkit(optionally) and its a good browser obviously u havent used it, and gnome? really??? 2011-05-27T04:06:50 i have no access to the machine :) 2011-05-27T04:07:16 neither do I, it's down :( 2011-05-27T04:08:11 can someone else ping aichallenge.hypertriangle.com for me? 2011-05-27T04:08:28 aichallengebeta.hypertriangle.com 2011-05-27T04:08:47 not down for me 2011-05-27T04:09:29 it's back 2011-05-27T04:10:56 aerique: mmap: Cannot allocate memory\nensure_space: failed to validate 8589869056 bytes at 0x1000000000\n(hint: Try \"ulimit -a\"; maybe you should increase memory limits.)\n", "Command 'sbcl --script MyBot.lisp' had error return code 1 2011-05-27T04:12:05 McLeopold: Konqueror doesn't work: http://api.browsershots.org/png/original/08/0889614376751374c474a8291115db5a.png 2011-05-27T04:12:33 McLeopold: thanks! 2011-05-27T04:13:03 But it says it used KHTML 4.6.2, so no WebKit. 2011-05-27T04:14:05 view->view mode->webkit 2011-05-27T04:14:26 aichallenge: McLeopold epsilon * r5357cf4 / website/profile_submissions_widget.php : view submission errors - http://bit.ly/iiaM4z 2011-05-27T04:14:39 maybe, but I send a link to a browser test site 2011-05-27T04:14:54 aerique: http://aichallengebeta.hypertriangle.com/profile.php?user=15 2011-05-27T04:15:37 aerique: language_count: 0 means it couldn't find a MyBot file with the correct extension 2011-05-27T04:16:16 McLeopold: alright, that should be enough to go test the stripped down bot 2011-05-27T04:16:33 http://aichallengebeta.hypertriangle.com/profile.php?user=1 2011-05-27T04:16:43 at least it's not that bad :) 2011-05-27T04:17:22 :) 2011-05-27T04:17:25 obviously there needs to be a bit more security on this feature 2011-05-27T04:18:03 yeah, but it will be very helpful for people compared to previous challenges 2011-05-27T04:18:24 I'm thinking only visible if logged in as the person to start with 2011-05-27T04:18:35 looks like the java version is broken for me 2011-05-27T04:19:04 Is your screen also white when you do: http://aichallengebeta.hypertriangle.com/visualizer.php?game=7&java=true 2011-05-27T04:19:32 yep 2011-05-27T04:19:39 probably the gzip thing? 2011-05-27T04:20:02 maybe, but I haven't tested it for a while 2011-05-27T04:20:14 try game 6 2011-05-27T04:20:56 oops 2011-05-27T04:21:18 it is something else then 2011-05-27T04:23:25 I did have to fix game 6, but it's still white, so I don't think it's the gzip 2011-05-27T04:25:04 who's sir_macelon? 2011-05-27T04:28:04 I have no idea, but (s)he is good 2011-05-27T04:28:38 nah, just he 2011-05-27T04:31:29 <_flag> Probably the same sir_macelon from the last contest 2011-05-27T04:31:46 <_flag> http://ai-contest.com/profile.php?user_id=10897 2011-05-27T04:35:00 where can i find how much memory is available to a bot (during play and compilation) 2011-05-27T04:35:35 not sure 2011-05-27T04:36:16 2 gigs on test server 2011-05-27T04:36:22 .4 free 2011-05-27T04:36:53 unless that is in kilobytes 2011-05-27T04:37:33 *** amstan has quit IRC (Remote host closed the connection) 2011-05-27T04:37:50 time to go spelunking 2011-05-27T04:37:52 aichallenge: McLeopold epsilon * r49303a1 / (3 files in 2 dirs): random food rates >:) - http://bit.ly/lvcr7T 2011-05-27T04:40:09 is the beta server updated manually from github or automatically? 2011-05-27T04:42:18 manually 2011-05-27T04:44:18 McLeopold: browse the channel logs. I posted a lot of info on the virtual memory on the test server and the impact on virtual machines. 2011-05-27T04:44:37 look for OpenVZ 2011-05-27T04:44:49 what's the TL;DR 2011-05-27T04:45:32 aichallenge.2011-05-22.log is the file,what dies TL;DR mean? 2011-05-27T04:45:53 too long, didn't read 2011-05-27T04:45:57 what's the summary? 2011-05-27T04:46:33 uh... how to explain. it only has 1 GB of memory 2011-05-27T04:46:47 this is virtual memory 2011-05-27T04:47:22 a default java process uses 1gig of virtual memory on my computer, but actually only uses a few mb of it. 2011-05-27T04:47:37 Frontier: look how long you last :) http://aichallengebeta.hypertriangle.com/visualizer.php?game=2922 2011-05-27T04:48:23 on OpenVZ there is no difference between physical memory and virtual memory, so a simple java process will kill the server 2011-05-27T04:48:31 http://aichallengebeta.hypertriangle.com/visualizer.php?game=2936 2011-05-27T04:49:03 Frontier: same for lisp, i'm going to give it less mem but i hope it is seen by whatever kills the process for using too much 2011-05-27T04:49:12 Different programs have different virtual memory allocation schemes, but I guess all the virtual machine languages will allocate a bit more to counter the impact of their own internal memory managemant 2011-05-27T04:50:33 best yet \o/ http://aichallengebeta.hypertriangle.com/visualizer.php?game=2937 2011-05-27T04:56:10 lol, what is demerzel smoking? 2011-05-27T04:58:25 *** FireFly has joined #aichallenge 2011-05-27T05:00:23 *** aerique has quit IRC (Quit: ...) 2011-05-27T05:00:47 *** aerique has joined #aichallenge 2011-05-27T05:08:07 *** Naktibalda has joined #aichallenge 2011-05-27T05:08:24 aichallenge: McLeopold epsilon * r5d9e2b0 / sql/0_schema.sql : fix latest submission issue - http://bit.ly/mPhDvm 2011-05-27T05:18:28 *** McLeopold has left #aichallenge 2011-05-27T05:20:06 *** McLeopold has joined #aichallenge 2011-05-27T05:20:47 Frontier: http://aichallengebeta.hypertriangle.com/visualizer.php?game=2953 your bot timed out, and the status is in the json, but not displaying in the visualizer 2011-05-27T05:25:44 aichallenge: aerique epsilon * r956abfe / worker/compiler.py : Decrease amount of memory available to SBCL. - http://bit.ly/kOQjjv 2011-05-27T05:25:45 aichallenge: aerique epsilon * rca14538 / ants/dist/starter_bots/common_lisp/README.md : 2011-05-27T05:25:45 aichallenge: Updated README.md. 2011-05-27T05:25:45 aichallenge: README.md needs more updating! - http://bit.ly/mivHJO 2011-05-27T05:28:39 is it known whether the memory limits on the official server(s) will be the same as on the beta server? 2011-05-27T05:29:10 no 2011-05-27T05:29:19 aerique: even worst errors 2011-05-27T05:30:30 McLeopold: hm, not sure. i might just have given sbcl too little mem 2011-05-27T05:30:47 aerique: you want shell access? 2011-05-27T05:31:18 if i can tweak compile.py directly then yes please 2011-05-27T05:32:45 hold on 2011-05-27T05:34:21 how did you get it to try the recompilation again? 2011-05-27T05:38:56 sql hack 2011-05-27T05:40:01 just upload if you want to try again 2011-05-27T05:40:08 *** McLeopold has quit IRC (Read error: Connection reset by peer) 2011-05-27T05:45:53 *** tomh has joined #aichallenge 2011-05-27T05:58:27 how do i get the server to see the updated compiler.py? 2011-05-27T06:00:40 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has quit IRC (Quit: Lost terminal) 2011-05-27T06:14:40 @later tell McLeopold i couldn't figure out how the server could pick up an updated compiler.py 2011-05-27T06:14:40 aerique: Aye, aye, sir 2011-05-27T06:15:55 *** amstan has joined #aichallenge 2011-05-27T06:15:55 *** ChanServ sets mode: +o amstan 2011-05-27T06:18:39 *** Cyndre has quit IRC (Ping timeout: 240 seconds) 2011-05-27T06:24:19 *** amstan has quit IRC (Ping timeout: 246 seconds) 2011-05-27T06:26:28 damn it's cold outside 2011-05-27T06:36:33 aichallenge: aerique epsilon * ra48c79c / ants/dist/starter_bots/common_lisp/README.md : Update README.md. - http://bit.ly/kBKEcL 2011-05-27T07:00:54 *** delt0r___ has quit IRC (Read error: Operation timed out) 2011-05-27T07:02:29 *** delt0r___ has joined #aichallenge 2011-05-27T07:06:39 *** mcstar has quit IRC (Quit: WeeChat 0.3.5) 2011-05-27T07:14:29 *** berak has quit IRC (Read error: Connection reset by peer) 2011-05-27T08:03:10 *** _0x47 <_0x47!~slash@p5B12E8C4.dip.t-dialin.net> has joined #aichallenge 2011-05-27T08:06:50 *** _0x471 <_0x471!~slash@p5B12F7C5.dip.t-dialin.net> has joined #aichallenge 2011-05-27T08:07:13 *** _0x47 <_0x47!~slash@p5B12E8C4.dip.t-dialin.net> has quit IRC (Ping timeout: 246 seconds) 2011-05-27T08:25:03 *** Cyndre has joined #aichallenge 2011-05-27T08:51:15 *** Eruonen has joined #aichallenge 2011-05-27T09:21:04 *** Cyndre has quit IRC (Ping timeout: 260 seconds) 2011-05-27T09:27:33 *** sigh has quit IRC (Read error: Connection reset by peer) 2011-05-27T09:31:25 *** sigh has joined #aichallenge 2011-05-27T09:46:40 *** berak has joined #aichallenge 2011-05-27T09:53:16 *** Cyndre has joined #aichallenge 2011-05-27T10:11:30 *** demerzel has joined #aichallenge 2011-05-27T10:25:07 *** _0x471 <_0x471!~slash@p5B12F7C5.dip.t-dialin.net> has quit IRC (Ping timeout: 246 seconds) 2011-05-27T10:25:15 *** ahmedhelal has quit IRC (Read error: Connection reset by peer) 2011-05-27T10:25:19 *** sigh has quit IRC (Remote host closed the connection) 2011-05-27T10:27:24 contestbot: demerzel 2011-05-27T10:27:25 demerzel: User error -- Replace user. 2011-05-27T10:27:40 @demerzel 2011-05-27T10:27:41 demerzel: I'm sorry Dave, err demerzel; I cannot 'demerzel'. 2011-05-27T10:27:43 haha 2011-05-27T10:28:16 *** _0x47 <_0x47!~slash@p57B3E6E0.dip.t-dialin.net> has joined #aichallenge 2011-05-27T10:31:01 *** UncleVasya has joined #aichallenge 2011-05-27T10:37:12 *** arakyd has joined #aichallenge 2011-05-27T10:41:26 *** Mathnerd314 has joined #aichallenge 2011-05-27T10:45:56 *** Accoun has joined #aichallenge 2011-05-27T10:52:16 *** aerique has quit IRC (Quit: ...) 2011-05-27T11:12:28 *** arakyd has quit IRC (Ping timeout: 252 seconds) 2011-05-27T11:12:43 *** _0x47 <_0x47!~slash@p57B3E6E0.dip.t-dialin.net> has quit IRC (Ping timeout: 252 seconds) 2011-05-27T11:21:39 *** yasith has joined #aichallenge 2011-05-27T11:28:02 *** _0x47 <_0x47!~slash@p57B3EFED.dip.t-dialin.net> has joined #aichallenge 2011-05-27T11:37:27 *** yasith has quit IRC (Ping timeout: 244 seconds) 2011-05-27T11:37:34 *** UncleVasya has quit IRC (Ping timeout: 260 seconds) 2011-05-27T11:50:08 *** yasith has joined #aichallenge 2011-05-27T11:51:51 *** smiley1983 has joined #aichallenge 2011-05-27T11:58:37 troll 2 <3 2011-05-27T11:59:55 http://www.imdb.com/title/tt0105643/usercomments 2011-05-27T12:00:00 most of these people suck 2011-05-27T12:24:04 *** orivej has joined #aichallenge 2011-05-27T12:41:00 *** _0x47 <_0x47!~slash@p57B3EFED.dip.t-dialin.net> has quit IRC (Ping timeout: 244 seconds) 2011-05-27T12:41:17 *** _0x47 <_0x47!~slash@p57B3F05B.dip.t-dialin.net> has joined #aichallenge 2011-05-27T12:42:37 *** Kingpin13 has joined #aichallenge 2011-05-27T12:53:01 *** Naktibalda has quit IRC (Quit: ChatZilla 0.9.86.1 [Firefox 4.0.1/20110413222027]) 2011-05-27T12:53:10 *** _0x47 <_0x47!~slash@p57B3F05B.dip.t-dialin.net> has quit IRC (Read error: Connection reset by peer) 2011-05-27T12:58:51 aichallenge: McLeopold epsilon * r2e49fe9 / website/profile_submissions_widget.php : better submission error message - http://bit.ly/ltYTH7 2011-05-27T12:58:51 aichallenge: McLeopold epsilon * rfb738cf / (21 files in 6 dirs): Merge branch 'epsilon' of https://github.com/aichallenge/aichallenge into epsilon - http://bit.ly/lQWlo3 2011-05-27T13:02:11 *** bhasker has joined #aichallenge 2011-05-27T13:18:29 *** UncleVasya has joined #aichallenge 2011-05-27T13:33:50 *** smellyhippy has quit IRC (Quit: Take your stinking clause off me you damn dirty predicate!) 2011-05-27T13:35:05 random replay: http://pastebin.com/zaF9m1BF 2011-05-27T13:40:01 *** smiley1983 has quit IRC (Quit: leaving) 2011-05-27T13:47:18 *** dr- has quit IRC (Ping timeout: 240 seconds) 2011-05-27T13:49:12 *** smellyhippy has joined #aichallenge 2011-05-27T13:52:22 *** bhasker has quit IRC (Quit: bhasker) 2011-05-27T13:59:11 *** janzert has joined #aichallenge 2011-05-27T13:59:34 *** bhasker has joined #aichallenge 2011-05-27T14:03:54 *** mcstar has joined #aichallenge 2011-05-27T14:05:40 *** bhasker has quit IRC (Ping timeout: 258 seconds) 2011-05-27T14:11:56 *** bhasker has joined #aichallenge 2011-05-27T14:13:59 aerique: For a Java compile I had to set the memory limit to no more than 100mb 2011-05-27T14:29:00 *** akranis has joined #aichallenge 2011-05-27T14:41:46 *** _0x47 <_0x47!~slash@p57B3EB7A.dip.t-dialin.net> has joined #aichallenge 2011-05-27T14:44:19 *** McLeopold has joined #aichallenge 2011-05-27T14:48:31 morning folks 2011-05-27T14:50:54 mroing 2011-05-27T14:53:56 *** demerzel has quit IRC (Ping timeout: 252 seconds) 2011-05-27T14:54:04 *** amstan has joined #aichallenge 2011-05-27T14:54:04 *** ChanServ sets mode: +o amstan 2011-05-27T14:57:30 a1k0n: hi 2011-05-27T14:58:19 McLeopold: hey, how's things? 2011-05-27T14:59:18 *** yasith has quit IRC (Remote host closed the connection) 2011-05-27T14:59:29 the server is running 2011-05-27T15:00:01 does anyone really care about the date a game was played? I'm thinking of switching it to how long ago it was played 2011-05-27T15:00:34 McLeopold: examples? 2011-05-27T15:01:17 *** delt0r___ has quit IRC (Read error: Operation timed out) 2011-05-27T15:01:44 http://aichallengebeta.hypertriangle.com/profile.php?user=11 here, instead of an absolute server time, just display the age of the game, like "5m" or "2d 1h 4m" 2011-05-27T15:02:01 what about when you get more than a day, a week, a month? 2011-05-27T15:02:24 *** delt0r___ has joined #aichallenge 2011-05-27T15:02:45 I'm sure we can come up with a good short string for age, then put the full date/time in a span's title so they can see it on hover 2011-05-27T15:03:04 yeah, sounds good 2011-05-27T15:03:35 time diff works better across time zones 2011-05-27T15:05:06 amstan: aerique can't get lisp to compile on the test server 2011-05-27T15:05:35 it used to work though, right? 2011-05-27T15:06:01 I've never done an sbcl compile, so I don't know 2011-05-27T15:06:23 I don't think it has ever worked on this server 2011-05-27T15:06:45 Obviously it has before for mega1 :) 2011-05-27T15:07:35 McLeopold: how can i contact him? 2011-05-27T15:08:12 i have this: http://aichallengebeta.hypertriangle.com/grepsbcl.log 2011-05-27T15:08:39 irc or open an issue on github 2011-05-27T15:08:44 i think it's the same problem that prevented me from executing the visualizer compiling 2011-05-27T15:09:05 so, server specific? 2011-05-27T15:09:09 yes 2011-05-27T15:12:59 asymmetric maps are too unbalanced 2011-05-27T15:13:31 btw symmetric maps are they only symmetric for upto 4 players? 2011-05-27T15:13:50 they should all be symmetric 2011-05-27T15:13:57 for all players? 2011-05-27T15:13:59 yes 2011-05-27T15:14:02 hmm 2011-05-27T15:14:05 http://aichallengebeta.hypertriangle.com/visualizer.php?game=3495 2011-05-27T15:14:10 this map claims to be symmetric 2011-05-27T15:14:19 each player has a "strip" of the map, the strips are then stacked and offset evenly 2011-05-27T15:14:21 but starting positions don't look symmetric to me 2011-05-27T15:14:31 the closest food for my bot 2011-05-27T15:14:36 is like 10 turns away 2011-05-27T15:14:42 compared to sir_macelons 2011-05-27T15:14:43 bhasker: food is not symmetric, for some reason 2011-05-27T15:14:50 well it should be:-\ 2011-05-27T15:14:53 cause if its not 2011-05-27T15:14:57 then some bots grow exponentially 2011-05-27T15:15:00 *** KP13 has joined #aichallenge 2011-05-27T15:15:03 while others are still trying to get one food 2011-05-27T15:15:08 and its a lost game 2011-05-27T15:15:10 at that point 2011-05-27T15:15:20 check that map out 2011-05-27T15:15:28 my bot didn't get another ant till like 10 tunr 2011-05-27T15:15:30 turns 2011-05-27T15:15:38 by then the other bot already has 10-15 ants 2011-05-27T15:15:59 maybe an exaggeration sorry 2011-05-27T15:16:02 bhasker: i believe the map is symmetric(go to first turn, enable the fog of war, then look inside the circle, all the bots will have the same water formations) 2011-05-27T15:16:04 he has like 4-5 2011-05-27T15:16:12 but food is not, and that should be fixed 2011-05-27T15:16:14 yes but food needs to be symmetric 2011-05-27T15:16:25 otherwise growth of bots will be imbalanced 2011-05-27T15:16:50 antimatroid1 and sigh are the best ones to solve that problem 2011-05-27T15:17:02 kk i think antimatroid has an option 2011-05-27T15:17:03 already 2011-05-27T15:17:07 for symmetric food spawning 2011-05-27T15:17:10 in the ants.play 2011-05-27T15:17:19 let me check 2011-05-27T15:17:21 *** Kingpin13 has quit IRC (Ping timeout: 258 seconds) 2011-05-27T15:17:31 *** hjax has joined #aichallenge 2011-05-27T15:17:45 --food==symmetric 2011-05-27T15:17:51 oops --food=symmetric 2011-05-27T15:17:55 parser.add_option("--food", dest="food", 2011-05-27T15:17:56 default="sections", 2011-05-27T15:17:56 help="Food spawning method. (none, random, sections, symmetric)") 2011-05-27T15:17:56 2011-05-27T15:17:59 not sure what sections is? 2011-05-27T15:18:19 yeah, antimatroid likes to make up terms in these areas 2011-05-27T15:18:38 Hmmm would be unwise to find the closest food to an ant by looping through all food and keeping track of which one is closest? 2011-05-27T15:19:00 Would it be* 2011-05-27T15:19:02 just do a all pairs search 2011-05-27T15:19:14 where ants and food are the verticies and find the closest ant to each food 2011-05-27T15:19:16 in one sweep 2011-05-27T15:19:36 and route accordingly 2011-05-27T15:20:00 the remaining ants with no orders can then be routed for other things 2011-05-27T15:20:03 should a lisp program really be 46MB? 2011-05-27T15:20:08 46:o 2011-05-27T15:20:21 compiled into in image or source? 2011-05-27T15:20:55 image? 2011-05-27T15:21:33 roughly an executable 2011-05-27T15:21:34 *** UncleVasya has quit IRC (Ping timeout: 260 seconds) 2011-05-27T15:21:46 yes, the image is 46mb 2011-05-27T15:21:49 *** hjax has quit IRC (Client Quit) 2011-05-27T15:22:05 yeah that sounds about right for common lisp, since you end up shipping the giant runtime 2011-05-27T15:22:45 mcleopold what do the greyed out entries in the ranking page mean 2011-05-27T15:22:52 inactive bots? 2011-05-27T15:23:02 old submissions 2011-05-27T15:23:07 oh k 2011-05-27T15:23:30 *** berak has quit IRC (Quit: ChatZilla 0.9.84 [SeaMonkey 2.0a3/20090223135443]) 2011-05-27T15:23:42 and what does this mean exactly (>")> 2011-05-27T15:23:49 next to all the old submissions 2011-05-27T15:24:08 that's a picture of a ghost 2011-05-27T15:24:36 I could also do: (,") 2011-05-27T15:24:59 heh 2011-05-27T15:25:05 i like that emoicon 2011-05-27T15:25:37 did the worker just stop 2011-05-27T15:25:44 yes... 2011-05-27T15:25:48 aww 2011-05-27T15:25:52 I'm trying to get lisp going 2011-05-27T15:26:04 ah k 2011-05-27T15:26:14 btw any luck with getting a tcp server up for this 2011-05-27T15:27:03 that's taken a back seat 2011-05-27T15:27:11 we need a contest first ;) 2011-05-27T15:27:45 heh 2011-05-27T15:28:48 *** bhasker has quit IRC (Quit: bhasker) 2011-05-27T15:29:58 *** bhasker has joined #aichallenge 2011-05-27T15:33:25 while you are at it can you make sure the worker uses the --food==symmetric option 2011-05-27T15:34:01 *** KP13 is now known as Kingpin13 2011-05-27T15:39:25 anyone know lisp? ensure_space: failed to validate 8589869056 bytes at 0x1000000000 2011-05-27T15:39:36 it looks like the program is trying to allocate 8gig? 2011-05-27T15:41:36 try to divide that by 80 2011-05-27T15:42:55 Frontier: what do you mean? a compiler options? 2011-05-27T15:44:09 aichallenge: Marco Leise epsilon * r2e28c40 / ants/visualizer/java/com/aicontest/visualizer/js/dom/XMLHttpRequest.java : visualizer: fixed Java visualizer not loading large replays - http://bit.ly/iTczER 2011-05-27T15:44:57 don't listen to me, I have no idea. Just had to set the memory limit for the JVM to 100mb, because it tries to allocate 1gig 2011-05-27T15:45:13 (virtual memory that is) 2011-05-27T15:45:39 McLeopold: the problem is that the server has a fake ram\ 2011-05-27T15:45:44 *validate* sounds more like it actually tries to access that memory 2011-05-27T15:45:45 which you probably can't use 2011-05-27T15:45:54 so most programs want to use it, even though they shouldn't 2011-05-27T15:46:26 there's only 1GB or real ram, there's another 1GB that you may use, but the processes using it might be killed at any time if the ram is needed 2011-05-27T15:46:28 yeah "burst ram" for the win 2011-05-27T15:46:42 McLeopold: could we do with only 1GB? 2011-05-27T15:46:59 so, how do I compile such that it won't try to allocate 8gig? 2011-05-27T15:48:37 this is sbcl i imagine? 2011-05-27T15:48:42 yes 2011-05-27T15:48:50 it overcommits on startup for some reason; there's probably a cmdline option 2011-05-27T15:49:28 McLeopold: something else: in the replays can I haz either the scores length be equal to the duration a bot was participating or an additional field for the survival time? 2011-05-27T15:49:32 but why is it trying to commit 8GB? even with the fake ram we only have 2GB 2011-05-27T15:49:50 a1k0n: funny fact: the overcommit switch in the kernel is set to 0 2011-05-27T15:50:36 we don't know this actually the case. could be some bug in the display on 64-machines. 2011-05-27T15:51:09 amstan: I need to pass the argument for compile *and* run 2011-05-27T15:51:11 *** aerique has joined #aichallenge 2011-05-27T15:51:33 speaking of the wolf 2011-05-27T15:53:17 this lists all processes with their virtual memory use: ps -A -ocmd,vsz; although top should work as well. 2011-05-27T15:53:29 \o/ lisp up and running 2011-05-27T15:53:57 what did you do? 2011-05-27T15:54:07 amstan: should we attempt an official memory limit? 512MB? 2011-05-27T15:55:15 McLeopold: awesome! thanks, what was the magic number? 2011-05-27T15:56:40 the worker setup currently sets a hard memory limit of just over 1GB 2011-05-27T15:56:43 aichallenge: McLeopold epsilon * rf0d504f / worker/compiler.py : changed options for lisp memory - http://bit.ly/mERrub 2011-05-27T15:56:52 that should explain the fix 2011-05-27T15:56:54 for jails that is 2011-05-27T15:58:09 if we think we can get away with 0.5 a gig that would be great 2011-05-27T15:58:34 McLeopold: you and CL is going to be a great relationship :) 2011-05-27T15:58:54 maybe 2011-05-27T15:59:14 after reading the haskell book, I'm finding it easier to read haskell 2011-05-27T15:59:33 aerique: let me ask a simple lisp question 2011-05-27T15:59:39 There's still this message on my profile: "MyBot.* file with known extension not found." ... seems to be minor 2011-05-27T16:00:15 it seems with the "magic" of cons cells and list processing, you are always building and reversing lists. am I doing it wrong? 2011-05-27T16:00:40 * amstan thinks we should have solved this by fixing the host 2011-05-27T16:00:48 i have a feeling java will have the same problem 2011-05-27T16:01:01 loop through one list, build another, but it's backwards 2011-05-27T16:01:10 McLeopold: yeah, you're doing it wrong. that's 1960's lisp, there's other data structures nowadays 2011-05-27T16:01:34 McLeopold: but still, what you mention is possible as well. mostly a matter of preference 2011-05-27T16:01:37 amstan: yes, but we are running outside of jails right now. It also doesn't hurt to set limits on the language if we can 2011-05-27T16:03:06 McLeopold: what book have you been using for learning (Common?) Lisp? 2011-05-27T16:03:18 http://landoflisp.com 2011-05-27T16:03:41 frightening 2011-05-27T16:03:51 *** Accoun has quit IRC () 2011-05-27T16:04:26 okey. i've heard good things about it but haven't read it myself. i'd suggest trying PCL (http://www.gigamonkeys.com/book/) as well if you're still interested in learning it 2011-05-27T16:11:36 McLeopold: so.. do you still want to compete in ants? 2011-05-27T16:13:27 amstan: no 2011-05-27T16:13:50 according to the rules, you still have that possibility 2011-05-27T16:14:24 according to my wife, I don't 2011-05-27T16:14:35 lol 2011-05-27T16:15:17 *** Palmik has quit IRC (Remote host closed the connection) 2011-05-27T16:16:42 buy her a dvd box of a good tv series? 2011-05-27T16:17:07 stargate! 2011-05-27T16:17:25 +1 2011-05-27T16:20:18 btw stargate have anyone seen The Children of the Gods Final Cut? 2011-05-27T16:20:28 mcstar: no, how is it different? 2011-05-27T16:20:54 so if I update the c starter bot submodule to the latest version is someone going to revert it again? ;) 2011-05-27T16:21:00 *** Accoun has joined #aichallenge 2011-05-27T16:21:01 i dont like it, malp has combustion engine for one 2011-05-27T16:21:35 janzert: who reverted it last time? 2011-05-27T16:21:39 janzert: not on purpose :) 2011-05-27T16:21:54 oh.. right.. 2011-05-27T16:21:59 :) 2011-05-27T16:22:01 good news, apparently haskell is fixed on ubuntu 2011-05-27T16:22:08 jmcarthur: ping 2011-05-27T16:23:43 contestbot: later tell jmcarthur apparently haskell is fixed on ubuntu now, wanna test it sometime? ghci -v :Glasgow Haskell Compiler, Version 6.12.3, for Haskell 98, stage 2 booted by GHC version 6.12.3 2011-05-27T16:23:43 amstan: Yes master! 2011-05-27T16:24:52 wait they are still on 6.12? wtf 2011-05-27T16:25:02 jmcarthur: apparently, is that bad? 2011-05-27T16:25:23 not too bad 2011-05-27T16:25:38 i'm just surprised. i thought they were using a newer haskell platform, which calls for ghc 7 2011-05-27T16:25:52 they probably reverted to fix that bug 2011-05-27T16:25:53 6.12 is what i was wanting to use in the last contest 2011-05-27T16:26:04 the bug was ubuntu's own fault 2011-05-27T16:26:10 yes 2011-05-27T16:26:20 coincidentally, for pairing the wrong version of ghc with the platform version they were using 2011-05-27T16:26:32 i guess what they did is revert the platform rather than upgrade ghc 2011-05-27T16:26:35 yes, so they just reverted to the old one 2011-05-27T16:26:38 yeah 2011-05-27T16:26:46 that explains it then 2011-05-27T16:26:51 it's perfectly acceptable 2011-05-27T16:55:31 what's the proper time interval for calculating the rank and skill change? 2011-05-27T16:58:16 go bot go 2011-05-27T16:58:25 \o/ 2011-05-27T16:58:34 climbing ranking:p 2011-05-27T16:58:45 Current Rank: 1 2011-05-27T16:59:15 dammit i miss the tcp server 2011-05-27T16:59:25 y? 2011-05-27T16:59:50 bhasker: enough to write one? 2011-05-27T17:00:02 that 2011-05-27T17:00:26 i looked at the code from last time, i could give it a shot if i can find the tiem 2011-05-27T17:00:38 https://github.com/McLeopold/TCPServer 2011-05-27T17:00:55 this is the new one? 2011-05-27T17:00:57 or the old one 2011-05-27T17:01:09 this is new 2011-05-27T17:01:13 oh 2011-05-27T17:01:25 so what do you want me to write looks like you already have most it in place 2011-05-27T17:01:38 but, it needs the engine from aichallenge, instead of the one I wrote 2011-05-27T17:02:19 It's got a script to run a webserver, a tcpserver, and both from the same script 2011-05-27T17:02:31 The web side of things is barely there 2011-05-27T17:02:39 It doesn't have trueskill, or bayeselo 2011-05-27T17:02:59 oh k 2011-05-27T17:03:14 The goal was standard python only with no dependancies 2011-05-27T17:03:26 But it might be better of as a django project 2011-05-27T17:03:37 oh k 2011-05-27T17:03:44 < no idea about django 2011-05-27T17:03:51 i see ScotBot is already there 2011-05-27T17:03:52 so, the tcpserver part is the meat of it 2011-05-27T17:04:00 i wonder when antbot makes an appearance 2011-05-27T17:04:24 You want to see my AntBot code? 2011-05-27T17:04:44 http://aichallengebeta.hypertriangle.com/visualizer.php?game=3574 2011-05-27T17:05:03 i am done with planetwars burnt myself out on that 2011-05-27T17:05:16 awesome recovery 2011-05-27T17:09:05 i forked the rep 2011-05-27T17:09:07 repo* 2011-05-27T17:09:13 let me see what i can contribute in my free time 2011-05-27T17:10:38 Frontier: i really think the visualizer colours are confusing 2011-05-27T17:10:43 Frontier: how are you generatig these? 2011-05-27T17:11:00 by hand 2011-05-27T17:11:25 ... or better by random, then checking agains the sand and water color and other colors 2011-05-27T17:11:40 http://aichallengebeta.hypertriangle.com/visualizer.php?game=3574 2011-05-27T17:11:53 there's 3 colours in there that differ by very little 2011-05-27T17:12:08 go to turn 300 2011-05-27T17:12:46 you'll notice there's a normal blue and a purple, they all hang around the same area 2011-05-27T17:12:53 but you can barely tell them apart 2011-05-27T17:14:15 cyan and dark purple are ok for me, just the pale blue is a bit difficult. 2011-05-27T17:15:18 aichallenge: Marco Leise epsilon * rb742828 / ants/visualizer/colors.html : visualizer: added color generation tool - http://bit.ly/jnbaRj 2011-05-27T17:15:43 amstan: you can use that to help me generate some nicer colors 2011-05-27T17:17:05 has anyone noticed data errors? incorrect players or ranks between game replay and game lists? 2011-05-27T17:17:43 *** amstan_ has joined #aichallenge 2011-05-27T17:17:43 *** ChanServ sets mode: +o amstan_ 2011-05-27T17:18:32 *** Mathnerd314 has quit IRC (Disconnected by services) 2011-05-27T17:19:00 *** aerique has quit IRC (Ping timeout: 240 seconds) 2011-05-27T17:19:09 *** Mathnerd314_ has joined #aichallenge 2011-05-27T17:19:48 *** Mathnerd314_ is now known as Mathnerd314 2011-05-27T17:21:23 mcleopold question, are the skill numbers with each game always positive? 2011-05-27T17:21:36 is there no downward adjustment of skill after games? 2011-05-27T17:21:53 for a user's game list, I've got the wrong numbers there 2011-05-27T17:22:09 ah k 2011-05-27T17:22:12 It is suppose to track how each game affected your skill, which is mu - sigma * 3 2011-05-27T17:22:14 i was wondering why it was always positve 2011-05-27T17:22:50 I think I put sigma in there by mistake 2011-05-27T17:23:06 so, it's tracking your confidence level 2011-05-27T17:23:18 oh k 2011-05-27T17:23:19 which should decrease over time 2011-05-27T17:23:55 I add uncertainty each time a leaderboard is generated, based on the number of new submissions 2011-05-27T17:24:20 *** sigh has joined #aichallenge 2011-05-27T17:24:21 ah k 2011-05-27T17:25:06 *** amstan_ has quit IRC (Read error: Operation timed out) 2011-05-27T17:26:39 hmm can someone tell me why my latest submission flunked compilation 2011-05-27T17:26:43 it compiles fine on my box 2011-05-27T17:28:00 *** amstan has quit IRC (Ping timeout: 260 seconds) 2011-05-27T17:28:58 bhasker: log in and the site should say why 2011-05-27T17:29:14 hmm 2011-05-27T17:29:31 Compile Error: error while compiling submission 2011-05-27T17:29:37 this is the only thing it shows me 2011-05-27T17:29:46 okay, hold on 2011-05-27T17:30:57 | 13 | 81 | 70 | {"errors": ["./Bot.cc: In member function 'bool Bot::squadHuntFood(const int&)':\n./Bot.cc:268:28: error: 'INT_MAX' was not declared in this scope\n", "Command 'g++ -O3 -funroll-loops -c -o ./Bot.o ./Bot.cc' had error return code 1"]} 2011-05-27T17:32:14 hmm weird 2011-05-27T17:32:22 INT_MAX Is a part of stdint.h i think 2011-05-27T17:32:48 let me check 2011-05-27T17:33:57 ah i forgot to include stdint 2011-05-27T17:34:33 *** Chris_0076 has joined #aichallenge 2011-05-27T17:34:48 aichallenge: McLeopold epsilon * r56b745a / (5 files in 3 dirs): updates to games list - http://bit.ly/iO6Vus 2011-05-27T17:34:48 aichallenge: McLeopold epsilon * rf115c10 / ants/visualizer/colors.html : Merge branch 'epsilon' of https://github.com/aichallenge/aichallenge into epsilon - http://bit.ly/ixRC1b 2011-05-27T17:39:11 actually mcleopold i liked seeing when the games started last 2011-05-27T17:39:21 useful to know when one can expect next game 2011-05-27T17:39:28 both duration and date would be useful 2011-05-27T17:39:35 start time/end time maybe? 2011-05-27T17:39:38 or start+duration 2011-05-27T17:40:31 *** Eruonen has quit IRC (Ping timeout: 246 seconds) 2011-05-27T17:41:10 *** Eruonen has joined #aichallenge 2011-05-27T17:42:38 *** amstan_ has joined #aichallenge 2011-05-27T17:42:38 *** ChanServ sets mode: +o amstan_ 2011-05-27T17:43:18 bhasker: that's not game duration, that's how long ago the result was posted 2011-05-27T17:43:25 oh 2011-05-27T17:44:03 hmm i guess it makes sense but frankly its confusing 2011-05-27T17:44:08 start+duration is better 2011-05-27T17:44:17 I want to avoid timezone code 2011-05-27T17:44:40 then put everything in UTC 2011-05-27T17:44:51 and be useful to newbs 2011-05-27T17:45:05 well the column should be named better then 2011-05-27T17:45:06 *** Redgis has joined #aichallenge 2011-05-27T17:45:09 Time doesn't convey anything 2011-05-27T17:45:28 everytime i refresh it gives me different values 2011-05-27T17:45:31 so its rather confusing 2011-05-27T17:45:41 start+duration in UTC would be better 2011-05-27T17:45:56 most of the people are programmers so i am sure they can understand UTC 2011-05-27T17:49:28 do you really care when a game occured? I would think you only care how old it is? 2011-05-27T17:50:54 *** chris__0076 has joined #aichallenge 2011-05-27T17:53:00 hmm well the thing is seeing those numbers change constantly is kinda annoying 2011-05-27T17:53:11 but i guess its fine 2011-05-27T17:53:28 *** Chris_0076 has quit IRC (Ping timeout: 246 seconds) 2011-05-27T18:01:53 McLeopold: I didn't know the scores were already in the correct length! Cool, I think I'll have the timeout display in a few minutes. 2011-05-27T18:02:53 great 2011-05-27T18:34:33 should i install win xp or win 7 to play portal 2? 2011-05-27T18:35:06 mcstar: Doesn't matter. Use Windows 7 if you intend to use it for other things (it's nicer). 2011-05-27T18:35:12 *** chris___0076 has joined #aichallenge 2011-05-27T18:35:19 no other purpose 2011-05-27T18:35:29 drivers are ok? 2011-05-27T18:35:34 nvidia 2011-05-27T18:35:45 mcstar: Graphics drivers should exist for both Windows XP and Windows 7. 2011-05-27T18:35:53 *** chris__0076 has quit IRC (Ping timeout: 248 seconds) 2011-05-27T18:35:59 (Unless you have some really old hardware; I'm pretty sure XP is still supported for new hardware.) 2011-05-27T18:36:15 There *may* be some DX10/11 effects that you don't get in XP, but I doubt they're hugely significant. 2011-05-27T18:36:16 i mean are they slower, do you know? 2011-05-27T18:37:08 I haven't done back-to-back benchmarks, but I suspect you'll see a negligible difference (e.g. maybe a few FPS). 2011-05-27T18:37:27 (Unless of course the hardware is very old, but in that case Portal 2 would be more of a hog than Win7.) 2011-05-27T18:37:36 7300gt 2011-05-27T18:37:46 maybe thats old by todays standards 2011-05-27T18:38:44 honestly i hoped you(someone) says definitely XP :D 2011-05-27T18:39:02 If you want to use XP, it'll run under XP. 2011-05-27T18:39:33 Haven't done benchmarks, but my strong instinct is "It really doesn't matter". 2011-05-27T18:40:02 ok thx, the nicer ui might convince me to use 7 2011-05-27T18:41:24 *** _0x47 <_0x47!~slash@p57B3EB7A.dip.t-dialin.net> has quit IRC (Quit: Leaving.) 2011-05-27T18:42:44 *** antiuni has quit IRC (Ping timeout: 252 seconds) 2011-05-27T18:46:59 no more worker 2011-05-27T18:48:00 bhasker: 10 bot game in progress 2011-05-27T18:48:10 :o 2011-05-27T18:48:16 for last 30 minutes? 2011-05-27T18:48:33 10bots * 500turns * 500ms 2011-05-27T18:48:41 ooooo 2011-05-27T18:48:57 its serial right the worker, gives the bots run time one by one 2011-05-27T18:48:58 6.9 hours 2011-05-27T18:49:04 uh 2011-05-27T18:49:40 eh? 2011-05-27T18:49:42 2500 seconds total? 2011-05-27T18:49:51 *** akranis has quit IRC (Quit: Lämnar) 2011-05-27T18:50:02 500*0.5 seconds, totally 250 seconds per bot 2011-05-27T18:50:07 2500 seconds total? 2011-05-27T18:50:17 5000turns, sry 2011-05-27T18:50:22 oooh 2011-05-27T18:50:34 stress testing? 2011-05-27T18:50:48 serial is off 2011-05-27T18:51:01 so they are running in parallel on a single core? 2011-05-27T18:51:05 yeah 2011-05-27T18:51:16 ouch 2011-05-27T18:51:26 Was there discussion about shortening the turn time? 2011-05-27T18:52:02 no 2011-05-27T18:52:39 hmm, ok :P 2011-05-27T18:53:27 *** Kingpin13 has quit IRC (Quit: quit) 2011-05-27T18:53:51 aichallenge: Marco Leise epsilon * r0136be0 / (5 files in 3 dirs): visualizer: display bot status - http://bit.ly/jDuUag 2011-05-27T18:56:06 http://aichallengebeta.hypertriangle.com/visualizer.php?game=3627 2011-05-27T18:56:10 looks like my bot crashed out 2011-05-27T18:56:11 :-\ 2011-05-27T18:57:18 but then dominated the next game wurd 2011-05-27T19:01:01 *** needsch has quit IRC (Quit: Leaving.) 2011-05-27T19:02:16 bhasker: reload the game 2011-05-27T19:03:19 why? 2011-05-27T19:03:30 oh nice 2011-05-27T19:03:35 ticks and X marks and stuff 2011-05-27T19:03:58 what do the ticks and X's mean? 2011-05-27T19:04:16 survived and eliminated 2011-05-27T19:04:37 that was quite the test of a game 2011-05-27T19:04:52 frontier why does your bot stop expanding after a point 2011-05-27T19:05:03 it just sits in its space and doesn't do much 2011-05-27T19:05:42 It is afraid, because it was attacked and has less ants now than some other turn before. 2011-05-27T19:07:25 well at least it keeps the workers busy :p 2011-05-27T19:09:14 but... if you don't expand you have less food 2011-05-27T19:09:18 so growth will stall 2011-05-27T19:09:24 about to break stuff... 2011-05-27T19:09:39 aichallenge: McLeopold epsilon * r7d656af / (5 files in 3 dirs): updates to error reporting and games list - http://bit.ly/jWOXwx 2011-05-27T19:09:40 aichallenge: McLeopold epsilon * r34a4067 / (5 files in 3 dirs): Merge branch 'epsilon' of https://github.com/aichallenge/aichallenge into epsilon - http://bit.ly/krCiyk 2011-05-27T19:09:52 i guess it makes sense sometimes but the other bot keeps expanding you will eventually get overrun 2011-05-27T19:10:31 ah now it shows the trueskill numbers itself instead of the shift? 2011-05-27T19:10:43 argh, just got done merging the last compiler.py change into my local changes :/ 2011-05-27T19:11:14 bhasker: My bot isn't supposed to be #1. I don't want the competition to go too far already. 2011-05-27T19:11:40 just curious though i doubt i will have time for the real competition 2011-05-27T19:11:44 so playing on beta is fun 2011-05-27T19:11:48 :) 2011-05-27T19:13:58 That's right. I feel the urge to code some swarm ai. 2011-05-27T19:14:08 aichallenge: McLeopold epsilon * rdf3464b / worker/compiler.py : so close - http://bit.ly/lHZy59 2011-05-27T19:14:45 janzert: I changed how errors are reported, a little over engineered before 2011-05-27T19:15:08 plus, now we can show a detected lang even if it fails to compile or pass tests 2011-05-27T19:16:14 Ah I see an outline now for my old failed submissions 2011-05-27T19:16:14 yeah, the changes are fine I'm just in the middle of rewriting the the languages dict to be a list of named tuples 2011-05-27T19:16:33 named tuples? aren't we fancy 2011-05-27T19:16:47 just go to class at that point 2011-05-27T19:16:56 it was easier than going to a class :) 2011-05-27T19:17:23 Frontier: that outline is supposed to have some info in it :( 2011-05-27T19:17:57 mainly, it allowed me incrementally rewrite the indexing operations to attribute access 2011-05-27T19:18:33 McLeopold: no, the error messages aren't displayed. 2011-05-27T19:18:54 They were in a previous version, but they killed the layout because the lines were too long 2011-05-27T19:18:55 *** JimmFlimm has joined #aichallenge 2011-05-27T19:19:05 hello 2011-05-27T19:19:41 The link to c# starter package doesnt work 2011-05-27T19:20:10 is there a starter package for c# yet? 2011-05-27T19:21:17 I am talking about the beta site 2011-05-27T19:21:20 Not in the repo, no 2011-05-27T19:21:31 ok 2011-05-27T19:21:52 @later tell demerzel where is your c# code? 2011-05-27T19:21:52 McLeopold: As you wish. 2011-05-27T19:21:56 McLeopold: now it displays raw json ^^ 2011-05-27T19:22:30 I'm closer :) 2011-05-27T19:23:57 it is an object containing one property which is an array with one string element. I wonder what else can be in the json. 2011-05-27T19:24:58 ah no there are 2 elements in the array. i didn't see the compiler.py message 2011-05-27T19:27:15 left-align and force line-breaks or make the area scrollable 2011-05-27T19:27:56 These error messages in D are really hard to read: ./MyBot.d(74): Error: template std.random.uniform(string boundaries = "[)",T1,T2,UniformRandomNumberGenerator) if (is(CommonType!(T1,UniformRandomNumberGenerator) == void) && !is(CommonType!(T1,T2) == void)) cannot deduce template function from argument types !()(int,int) 2011-05-27T19:28:42 visualizer is looking very good 2011-05-27T19:29:20 thx, this is the good part when working on the visible stuff :) 2011-05-27T19:29:51 hehe 2011-05-27T19:30:00 Also compilation errors should only be shown to the logged in user in their own profile. 2011-05-27T19:30:02 noone ever says the server backend is well designed and fast 2011-05-27T19:30:11 i.e. you shouldn't be able to see other players error messages 2011-05-27T19:30:46 janzert: would be nice if the #1 player used a language that printed the whole source code in an error message *g* 2011-05-27T19:30:56 :) 2011-05-27T19:32:04 Parsley has a fail-bot 2011-05-27T19:32:18 janzert: I know, but for beta we will do this. I already have the if statement coded. 2011-05-27T19:33:38 or maybe it is because of Java, OpenVZ and so on that he crashes 2011-05-27T19:38:54 *** Redgis has quit IRC (Ping timeout: 255 seconds) 2011-05-27T19:41:17 How do I submit clojure? anyone? http://aichallengebeta.hypertriangle.com/profile.php?user=11 2011-05-27T19:44:08 *** hjax has joined #aichallenge 2011-05-27T19:44:31 *** Frontier has quit IRC (Quit: Leaving.) 2011-05-27T19:46:46 Hi guys 2011-05-27T19:47:24 hi 2011-05-27T19:47:38 aichallenge: McLeopold epsilon * re186f68 / (3 files in 3 dirs): update to error reporting - http://bit.ly/jw3BQl 2011-05-27T19:48:10 question the attackradius is sqrt(2) right? 2011-05-27T19:48:14 or is it 1? 2011-05-27T19:48:17 What does the direction function return if there's more than 2 spaces between the points? 2011-05-27T19:48:31 the reason why the engine isn't using symmetric spawning by default is because the map files still don't have a parameter indicating which type of symmetry (if any) they are using 2011-05-27T19:48:49 neither is the engine looking for one 2011-05-27T19:49:07 ah the person i want to talk to 2011-05-27T19:49:08 antimatroid 2011-05-27T19:49:16 :P 2011-05-27T19:49:23 attack radius is sqrt(2 ) 2011-05-27T19:49:28 http://aichallengebeta.hypertriangle.com/visualizer.php?game=3652 2011-05-27T19:49:29 this game 2011-05-27T19:49:41 i am confused some of my ants are vanishing close to two ants which are in a line 2011-05-27T19:50:13 like goto turn 70 2011-05-27T19:50:34 i am reasonably sure i am not suiciding ants 2011-05-27T19:50:46 if you look in the middle of the map 2011-05-27T19:50:53 about 1/3rd way down 2011-05-27T19:51:00 there are lke 6 pale green ants 2011-05-27T19:51:00 protip: go to move 79, then click the "next move" button 2011-05-27T19:51:03 it'll animate the move 2011-05-27T19:51:21 zoon in and you can also hover over ants to look at what's inside range etc. anyway, back to lookign at your problem :)( 2011-05-27T19:51:34 so this looks wrong 2011-05-27T19:51:46 so two ants behind one another 2011-05-27T19:51:51 will clobber ants in their way 2011-05-27T19:51:56 solo ants 2011-05-27T19:52:08 that doesn't seem right 2011-05-27T19:52:12 that an ant which is not adjacent 2011-05-27T19:52:16 can do damage 2011-05-27T19:52:57 i'm so confused :\ 2011-05-27T19:53:08 like on turn 70 2011-05-27T19:53:12 which row/col am i looking in? 2011-05-27T19:53:25 *** Redgis has joined #aichallenge 2011-05-27T19:53:26 27,39 2011-05-27T19:53:28 30/40ish? 2011-05-27T19:53:29 yeah 2011-05-27T19:53:46 doesn't that seem weird 2011-05-27T19:53:49 that his two ants in a row 2011-05-27T19:53:53 are eating through my solo ants 2011-05-27T19:54:59 no, you put one ant in range of two of theirs 2011-05-27T19:55:00 you die 2011-05-27T19:55:17 this is part of what we get with the damage battle option :P 2011-05-27T19:55:23 it would have been the same with the power option 2011-05-27T19:55:24 *** tomh has quit IRC (Quit: tomh) 2011-05-27T19:55:30 hmm oh well 2011-05-27T19:55:38 bhasker: looks good to me 2011-05-27T19:56:01 any reaosn why we didn't keep the attack radius at 1? 2011-05-27T19:56:09 are you guys ready for some crappy game settings :D 2011-05-27T19:56:12 because that's boring :P 2011-05-27T19:56:32 McLeopold: I would like to see some beta games where the maps aren't flooded with water 2011-05-27T19:56:39 and some beta games that were properly symmetric 2011-05-27T19:56:49 you're the map generator dude 2011-05-27T19:56:59 the maps are there for it 2011-05-27T19:57:03 it's settings in the engine 2011-05-27T19:57:19 did you finish adding in that new spawning stuff? 2011-05-27T20:01:17 *** mcstar has quit IRC (Quit: WeeChat 0.3.5) 2011-05-27T20:02:08 starter bots are doing much better now? 2011-05-27T20:03:17 starter bot wins \o/ http://aichallengebeta.hypertriangle.com/visualizer.php?game=3663 2011-05-27T20:03:21 *** FireFly has quit IRC (Quit: swatted to death) 2011-05-27T20:03:34 amstan/janzert: ^^ 2011-05-27T20:07:43 those combat lines in visualizer are awesome 2011-05-27T20:07:49 its like lazer fire 2011-05-27T20:09:41 @later tell Frontier can we have some shortcut query strings? like ?turn=70&row=27&col=49 that will auto zoom? 2011-05-27T20:09:41 McLeopold: I think that worked... 2011-05-27T20:09:49 *** McLeopold has left #aichallenge 2011-05-27T20:12:51 http://www.reddit.com/r/askscience/comments/hln4c/dumb_question_about_ndimensional_space/c1wd15j 2011-05-27T20:12:53 derp a derp, physicsts 2011-05-27T20:13:29 *** smellyhippy has quit IRC (Ping timeout: 248 seconds) 2011-05-27T20:13:49 *** bhasker has quit IRC (Ping timeout: 246 seconds) 2011-05-27T20:15:52 *** JimmFlimm has quit IRC (Ping timeout: 252 seconds) 2011-05-27T20:37:18 http://www.reddit.com/r/askscience/comments/hln4c/dumb_question_about_ndimensional_space/c1wd15j?context=3 2011-05-27T20:37:24 erp, wrong tab :P 2011-05-27T20:37:41 *** Redgis has quit IRC (Quit: ... mains libres) 2011-05-27T20:40:44 *** hjax has quit IRC (Quit: Page closed) 2011-05-27T20:49:16 *** pvarga has joined #aichallenge 2011-05-27T20:58:24 *** pvarga has quit IRC (Quit: pvarga) 2011-05-27T21:14:15 *** chris__0076 has joined #aichallenge 2011-05-27T21:16:07 *** chris___0076 has quit IRC (Ping timeout: 244 seconds) 2011-05-27T21:18:59 *** hjax has joined #aichallenge 2011-05-27T21:19:54 yay my food gathering code is almost done 2011-05-27T21:22:43 i might have an effective food gathering strategy now :D 2011-05-27T21:26:55 please work!!! 2011-05-27T21:33:01 *** hjax_ has joined #aichallenge 2011-05-27T21:33:31 *** hjax has quit IRC (Disconnected by services) 2011-05-27T21:33:31 *** hjax_ is now known as hjax 2011-05-27T21:34:00 *** Frontier has joined #aichallenge 2011-05-27T21:35:17 Hmmm my new bot won't work :/, it's probably another very small mistake that doesn't let it play the game 2011-05-27T21:39:23 How long should a bot be? 2011-05-27T21:40:19 There is no practical limit on the length of source code. 2011-05-27T21:41:17 Well my food finding code is 15 lines, and I can't even make it work :/, how do people do a several hundred line bot? 2011-05-27T21:41:36 They are older and wiser 2011-05-27T21:42:01 You are telling this to the 14 year old noob lol 2011-05-27T21:42:54 * hjax goes to stare at source code until the problem is found 2011-05-27T21:43:03 Looking back at my first code, that was horrible. I didn't know what a call stack is and so I always jumped into functions, but never returned in a QBasic program until it crashed. 2011-05-27T21:43:21 aichallenge: janzert epsilon * rf8c0620 / worker/compiler.py : Have compiler.py use named tuples for language information so we can use attribute names instead of indexes - http://bit.ly/miN97s 2011-05-27T21:44:46 Frontier: what language are you using for your epsilon bot? 2011-05-27T21:44:57 D 2011-05-27T21:45:09 What is D? 2011-05-27T21:45:20 It is something akin to C 2011-05-27T21:45:27 Lol 2011-05-27T21:46:00 Im happy with python :P 2011-05-27T21:46:03 it's the language C++ should have been ;) 2011-05-27T21:46:51 If you really want to know, this is the homepage: http://www.digitalmars.com/d/2.0/ 2011-05-27T21:47:52 It is low level enough to write os kernels with it, but has stuff like strings and associative arrays built-in. 2011-05-27T21:47:59 Interesting 2011-05-27T21:48:27 and also a garbage collector (that you can disable on a case by case basis) 2011-05-27T21:49:07 I'll brb in 10 min with the results of me trying to make my algorithm for food collecting work 2011-05-27T21:50:21 Low level language with a garbage collector? It is what C++ should have been 2011-05-27T21:50:33 Brb 2011-05-27T21:50:39 *** hjax has quit IRC (Quit: Rooms • iPhone IRC Client • http://www.roomsapp.mobi) 2011-05-27T21:50:41 D can also evaluate everything constant at compile time. For example sin(29) will be replaced by a constant. 2011-05-27T21:51:00 amstan_: trying to do an apt-get install haskell-platform still gives a dependency error for me 2011-05-27T21:51:24 janzert: worked on the vm 2011-05-27T21:51:33 janzert: try clearing your apt cache or something 2011-05-27T21:51:40 hmm 2011-05-27T21:51:44 i think it still remembers that there was a newwer version of the package 2011-05-27T21:52:59 janzert: It is interesting what you can achieve if you know every detail of D: http://www.digitalmars.com/d/2.0/phobos/std_functional.html#memoize But to me that stuff is really arcane. 2011-05-27T21:54:07 *** hjax has joined #aichallenge 2011-05-27T21:54:23 Fixed it :D I think 2011-05-27T21:55:51 My code does a lot of useless repetition though, :/ 2011-05-27T21:56:37 Frontier: yeah, there are quite some intricacies available in D, particularly version 2 2011-05-27T21:59:50 I want amstan to make his bot that tries to spell letters 2011-05-27T22:01:24 *** hjax has quit IRC (Quit: Rooms • iPhone IRC Client • http://www.roomsapp.mobi) 2011-05-27T22:05:15 *** amstan_ has quit IRC (Ping timeout: 264 seconds) 2011-05-27T22:05:23 *** Accoun has quit IRC () 2011-05-27T22:15:04 Accoun is back! 2011-05-27T22:15:08 *** Accoun has joined #aichallenge 2011-05-27T22:16:18 Accoun: It seems like we are finally getting somewhere with the next contest. 2011-05-27T22:22:41 *** amstan has joined #aichallenge 2011-05-27T22:22:41 *** ChanServ sets mode: +o amstan 2011-05-27T22:22:54 janzert: have you managed to install haskell? 2011-05-27T22:23:16 nope, I just tried starting over fresh and still got the error 2011-05-27T22:23:39 also the bug reporting the broken package is still open 2011-05-27T22:23:47 https://bugs.launchpad.net/ubuntu/+source/haskell-platform/+bug/742052 2011-05-27T22:24:01 i'm confused on how it worked then on that test server 2011-05-27T22:24:29 yeah, there wasn't a ppa involved right? 2011-05-27T22:24:33 oh yes! now i see it 2011-05-27T22:24:37 i only have ghc installed 2011-05-27T22:24:41 but not the whole platform 2011-05-27T22:24:46 ahh 2011-05-27T22:25:07 janzert: k, i'm open for getting the debs for 64 bits as well, but i'll need a place to store it 2011-05-27T22:25:37 something that's more permanent and neutral than amstan@csclub 2011-05-27T22:25:37 I'm not familiar enough with haskell to know if not having the full platform is a real problem for the contest 2011-05-27T22:25:46 jmcarthur: ping 2011-05-27T22:26:10 I'm leaning toward https://launchpad.net/~brcha/+archive/ppa if the full platform is needed 2011-05-27T22:26:33 seems to be new 2011-05-27T22:26:47 does it work? 2011-05-27T22:27:02 it was mentioned in the bug about the package being broken 2011-05-27T22:27:08 haven't actually tested it yet 2011-05-27T22:28:00 it seems that the ppa is just an old one 2011-05-27T22:28:08 i think it would be better if we go with the ones from debian 2011-05-27T22:28:14 they were tested by jmcartur 2011-05-27T22:29:39 sure, feel free to modify the setup to install it 2011-05-27T22:29:58 i still want a place to store them 2011-05-27T22:30:06 ahh :) 2011-05-27T22:30:12 make a launchpad ppa 2011-05-27T22:30:21 i can't, it's against launchpad rules 2011-05-27T22:30:31 it's a lot more everhead with launchpad 2011-05-27T22:30:34 :( 2011-05-27T22:30:53 they don't want unmodified debian packages in there for some reason 2011-05-27T22:30:54 ha! I found a broken replay: http://aichallengebeta.hypertriangle.com/visualizer.php?game=3735 2011-05-27T22:31:20 Frontier: what's going on? 2011-05-27T22:31:24 is there a way to list the debian source for apt to pull from directly? 2011-05-27T22:31:37 just for the haskell packages 2011-05-27T22:31:51 i'm not sure, i did it kinda sketchy last time 2011-05-27T22:32:06 i didn't actually get haskell-platform either(which is a metapackage) 2011-05-27T22:32:13 i got all subpackages that didn't break everything 2011-05-27T22:32:16 hehe, "Error name: Error" 2011-05-27T22:32:45 Frontier: you should print the link to the replay file when there's an error 2011-05-27T22:32:47 amstan: the 3rd and in the replay has a command string that is too short for its actual life span. 2011-05-27T22:33:12 janzert: oh, right, can i make you an account to the beta server? 2011-05-27T22:33:35 amstan: I hope errors wont be so often that it justifies the work ^^ 2011-05-27T22:33:45 I'm not sure what I'd use it for right at the moment but I'm not opposed I suppose :) 2011-05-27T22:34:07 janzert: well, we have a few issues with the sandbox instalation 2011-05-27T22:34:15 i was wondering if you could give it a try 2011-05-27T22:34:16 copy the line saying "game/3735" and replace the path part of the url with it. 2011-05-27T22:34:18 maybe as another user 2011-05-27T22:34:26 contest_sandbox 2011-05-27T22:34:44 Frontier: it doesn't work if the error is on the homepage 2011-05-27T22:34:46 hmm, well the sandbox jails are global to the server 2011-05-27T22:34:57 janzert: yes, still, it's broken 2011-05-27T22:34:57 i.e. /srv/chroot/... 2011-05-27T22:35:11 and you could test it without affecting the unsandboxed worker 2011-05-27T22:35:15 I suppose I can try and poke around 2011-05-27T22:35:46 did the jails install? 2011-05-27T22:36:01 janzert: i got the /srv/chroot stuff installed 2011-05-27T22:36:07 but there's a fuse error or something 2011-05-27T22:36:18 janzert: ssh janzert@aichallengebeta.hypertriangle.com 2011-05-27T22:36:21 hmm, ok 2011-05-27T22:37:03 set to expire when you login 2011-05-27T22:38:03 janzert: oh.. and i found a way to speed up the sandbox installation, you copy /var/cache/apt/archives/*.deb to the sandbox in the same place 2011-05-27T22:38:08 while it's retrieving the packages 2011-05-27T22:38:13 and it'll skip the ones it already has 2011-05-27T22:39:33 nice, 2011-05-27T22:44:47 the beta server is running under openvz? 2011-05-27T22:44:54 yep 2011-05-27T22:44:55 janzert: i think so 2011-05-27T22:45:17 ok, that's probably the problem with the fuse filesystems 2011-05-27T22:45:26 you need a special openvz kernel 2011-05-27T22:45:35 http://wiki.openvz.org/FUSE 2011-05-27T22:45:48 probably not worth the hassle of getting 2011-05-27T22:45:52 it seems to break other things too 2011-05-27T22:46:48 *** chris___0076 has joined #aichallenge 2011-05-27T22:49:07 *** chris__0076 has quit IRC (Ping timeout: 240 seconds) 2011-05-27T22:50:14 if you guys can install ghc and cabal-install then you can probably use cabal to install the remaining packages from the platform 2011-05-27T22:50:41 jmcarthur: will that mean compiling? 2011-05-27T22:50:45 the only potential issue is that there might be some C library dependencies that cabal can't install automatically 2011-05-27T22:51:02 amstan: yeah, but i doubt it would take too long 2011-05-27T22:52:24 well, i don't know what "too long" would be, though 2011-05-27T22:53:58 *** sigh_ has joined #aichallenge 2011-05-27T22:54:28 *** sigh has quit IRC (Ping timeout: 264 seconds) 2011-05-27T22:57:39 the big one is ghc, but that would be a binary 2011-05-27T22:59:41 *** Mathnerd314 has quit IRC (Ping timeout: 240 seconds) 2011-05-27T23:00:10 *** chris__0076 has joined #aichallenge 2011-05-27T23:01:40 *** chris___0076 has quit IRC (Ping timeout: 240 seconds) 2011-05-27T23:02:58 *** delt0r_ has joined #aichallenge 2011-05-27T23:04:19 *** delt0r___ has quit IRC (Ping timeout: 240 seconds) 2011-05-27T23:07:27 *** chris___0076 has joined #aichallenge 2011-05-27T23:07:34 *** Eruonen has quit IRC () 2011-05-27T23:08:11 *** chris__0076 has quit IRC (Ping timeout: 276 seconds) 2011-05-27T23:13:35 *** sigh_ has quit IRC (Ping timeout: 240 seconds) 2011-05-27T23:15:27 *** sigh has joined #aichallenge 2011-05-27T23:44:31 *** chris__0076 has joined #aichallenge 2011-05-27T23:47:21 *** chris___0076 has quit IRC (Ping timeout: 248 seconds) 2011-05-27T23:49:14 *** sigh has quit IRC (Remote host closed the connection)