2011-09-01T00:50:21 *** deeper-blue has quit IRC (Quit: deeper-blue) 2011-09-01T02:39:04 *** ibdknox has joined #aichallenge 2011-09-01T02:47:12 *** okayzed is now known as okay 2011-09-01T03:02:17 *** sigh has joined #aichallenge 2011-09-01T03:03:17 *** sigh has quit IRC (Read error: No route to host) 2011-09-01T03:03:35 *** sigh has joined #aichallenge 2011-09-01T03:07:20 *** okay is now known as okayzed 2011-09-01T03:22:47 *** sigh_ has joined #aichallenge 2011-09-01T03:22:47 *** sigh has quit IRC (Read error: Connection reset by peer) 2011-09-01T03:24:46 *** aerique has joined #aichallenge 2011-09-01T03:29:51 *** ltriant has quit IRC (Quit: Computer has gone to sleep) 2011-09-01T03:29:58 *** Chris_0076 has quit IRC (Ping timeout: 260 seconds) 2011-09-01T03:35:03 *** mceier has joined #aichallenge 2011-09-01T03:37:16 *** berak has joined #aichallenge 2011-09-01T03:42:43 *** Chris_0076 has joined #aichallenge 2011-09-01T03:51:48 *** ArchMonkey_ has joined #aichallenge 2011-09-01T03:53:48 *** ArchMonkey has quit IRC (Ping timeout: 258 seconds) 2011-09-01T03:53:48 *** ArchMonkey_ is now known as ArchMonkey 2011-09-01T03:56:47 *** sigh_ has quit IRC (Ping timeout: 252 seconds) 2011-09-01T04:06:05 *** ibdknox has quit IRC (Remote host closed the connection) 2011-09-01T04:06:20 *** jako has joined #aichallenge 2011-09-01T04:14:36 *** FireFly has joined #aichallenge 2011-09-01T04:27:20 *** acieroid has quit IRC (Read error: Connection reset by peer) 2011-09-01T04:27:36 *** acieroid has joined #aichallenge 2011-09-01T04:29:40 *** finalfrag has joined #aichallenge 2011-09-01T04:29:50 hi 2011-09-01T04:32:10 *** finalfrag has quit IRC (Client Quit) 2011-09-01T04:45:33 *** Zr40 has joined #aichallenge 2011-09-01T04:46:49 *** kaemo has quit IRC (Ping timeout: 245 seconds) 2011-09-01T04:47:18 *** kaemo has joined #aichallenge 2011-09-01T05:02:00 *** Palmik has joined #aichallenge 2011-09-01T05:04:44 *** delt0r_ has quit IRC (Ping timeout: 240 seconds) 2011-09-01T05:17:39 *** delt0r_ has joined #aichallenge 2011-09-01T05:40:00 *** ArchMonkey has quit IRC (*.net *.split) 2011-09-01T05:40:00 *** Chris_0076 has quit IRC (*.net *.split) 2011-09-01T05:40:00 *** b_jonas has quit IRC (*.net *.split) 2011-09-01T05:40:00 *** moondust has quit IRC (*.net *.split) 2011-09-01T05:42:54 *** ArchMonkey has joined #aichallenge 2011-09-01T05:42:55 *** Chris_0076 has joined #aichallenge 2011-09-01T05:42:55 *** b_jonas has joined #aichallenge 2011-09-01T05:42:55 *** moondust has joined #aichallenge 2011-09-01T05:44:17 *** FireFly has quit IRC (Quit: FireFly) 2011-09-01T05:55:40 *** mathis_ has joined #aichallenge 2011-09-01T06:37:26 *** Akranis has joined #aichallenge 2011-09-01T07:05:57 *** Akranis has quit IRC (Quit: Lmnar) 2011-09-01T07:43:14 *** Zr40 has quit IRC (Quit: leaving) 2011-09-01T08:12:38 *** jako has quit IRC (Ping timeout: 252 seconds) 2011-09-01T08:26:51 *** onensora has joined #aichallenge 2011-09-01T08:55:43 *** FireFly has joined #aichallenge 2011-09-01T09:17:07 *** deeper-blue has joined #aichallenge 2011-09-01T09:18:28 *** onensora has quit IRC (Ping timeout: 240 seconds) 2011-09-01T09:30:53 *** aerique has quit IRC (Quit: ...) 2011-09-01T09:45:54 *** deeper-blue has quit IRC (Quit: deeper-blue) 2011-09-01T09:53:10 *** onensora has joined #aichallenge 2011-09-01T10:04:13 *** Cyndre has joined #aichallenge 2011-09-01T10:10:50 *** UncleVasya has joined #aichallenge 2011-09-01T10:15:11 *** deeper-blue has joined #aichallenge 2011-09-01T10:18:36 *** heinrich5991 has joined #aichallenge 2011-09-01T10:20:31 *** |UncleVasya| <|UncleVasya|!kvirc@46.133.177.27> has joined #aichallenge 2011-09-01T10:22:58 *** UncleVasya has quit IRC (Ping timeout: 260 seconds) 2011-09-01T10:39:21 *** mcstar has joined #aichallenge 2011-09-01T10:56:08 *** onensora has quit IRC (Ping timeout: 240 seconds) 2011-09-01T10:59:28 *** onensora has joined #aichallenge 2011-09-01T11:02:47 *** rabidus has quit IRC (Ping timeout: 258 seconds) 2011-09-01T11:03:16 *** Kingpin13 has joined #aichallenge 2011-09-01T11:05:44 *** BtbN has quit IRC (Quit: leaving) 2011-09-01T11:15:53 *** rabidus has joined #aichallenge 2011-09-01T11:19:58 ola 2011-09-01T11:20:37 @sysadmin: channel is about to be deleted in 5 2011-09-01T11:20:38 mcstar: I'm sorry Dave, err mcstar; I cannot 'sysadmin:'. 2011-09-01T11:20:39 4 2011-09-01T11:20:40 3 2011-09-01T11:20:42 2 2011-09-01T11:20:44 1 2011-09-01T11:20:46 kaboooom 2011-09-01T11:21:11 *** onensora has quit IRC (Ping timeout: 240 seconds) 2011-09-01T11:25:46 *** kaemo has quit IRC (Ping timeout: 240 seconds) 2011-09-01T11:25:57 mcstar: need something to do ;) 2011-09-01T11:26:43 still at work, but almost redy to depart 2011-09-01T11:26:50 i need to disturb something you know :) 2011-09-01T11:27:33 delt0r: how you doing with the engine/.... 2011-09-01T11:27:37 too early to ask? 2011-09-01T11:28:12 *** onensora has joined #aichallenge 2011-09-01T11:46:00 *** okayzed is now known as okay 2011-09-01T11:46:59 ants is a much harder problem then the planetwars last year 2011-09-01T11:51:08 but lets face it, Ants has a very big advantage over Planetwars 2011-09-01T11:52:04 it isnt over!! 2011-09-01T11:52:07 hehe 2011-09-01T11:52:49 hehe 2011-09-01T11:53:02 indeed after my hard coded number of planets desaster last year -_ 2011-09-01T11:53:05 -_- 2011-09-01T11:53:49 im sure you werent the only one ... 2011-09-01T11:54:27 i think in the next couple of days ill be able to improve my bot 2011-09-01T11:54:38 however, i gtg now 2011-09-01T11:54:47 *** mcstar has quit IRC (Quit: WeeChat 0.3.5) 2011-09-01T11:54:47 hehe 2011-09-01T12:13:56 <|UncleVasya|> I can't imagine why some people harcoded it. Was it efforts to optimize calculations and get more time? 2011-09-01T12:18:50 *** Hammerok has joined #aichallenge 2011-09-01T12:31:42 *** contestbot has joined #aichallenge 2011-09-01T12:31:46 resulting in this: http://ai-contest.com/profile.php?user_id=5898 2011-09-01T12:32:16 i found it odd how many people hard coded so much... 2011-09-01T12:32:39 you were not alone 2011-09-01T12:32:42 every cycle counts :) 2011-09-01T12:33:16 before the change in planet numbers I was in the top10 2011-09-01T12:33:17 ... 2011-09-01T12:39:09 <|UncleVasya|> deeper-blue: Your bot played two games with my one. You won both of them: 2011-09-01T12:39:11 <|UncleVasya|> http://ai-contest.com/visualizer.php?game_id=9496814 2011-09-01T12:39:19 <|UncleVasya|> http://ai-contest.com/visualizer.php?game_id=9461177 2011-09-01T12:39:25 :) 2011-09-01T12:39:32 my bot was pretty badass ;) 2011-09-01T12:40:34 but good job 2011-09-01T12:40:47 great early game! 2011-09-01T12:59:23 *** bhasker has quit IRC (Quit: bhasker) 2011-09-01T13:03:57 deeper-blue: how did you do the GA> 2011-09-01T13:03:59 ? 2011-09-01T13:04:22 one weights for "what to do next" or a full GA programming? 2011-09-01T13:05:09 *** delt0r_ has quit IRC (Ping timeout: 245 seconds) 2011-09-01T13:05:21 mcstar is not here --but for the record i have a engine... its rough around the edges--but a full JAntManager should be released this weekend 2011-09-01T13:05:38 berak was/is going to do the tcp thing 2011-09-01T13:06:15 my gene encodes commands, every command contains the amount of ships to be send from one planet to another and encodes the turn in which this is supposed to happen 2011-09-01T13:07:13 I randomly mutate the gene and simulate a certain number of future turns 2011-09-01T13:07:25 *** Makaveli has joined #aichallenge 2011-09-01T13:07:30 hi there 2011-09-01T13:07:40 the simulation is basically playing against a worst case scenario 2011-09-01T13:08:09 I'm having problems with the Visualizer 2011-09-01T13:08:30 I can run the game well and the replay files also get created, no problems 2011-09-01T13:08:31 every gene gets a score and only the better genes survive in a gene pool which I use to generate new genes 2011-09-01T13:08:46 but all that happens afterwards is that my firefox opens a page saying that the visualizer is being loaded and the canvas is being created 2011-09-01T13:08:51 nothing happens afterwards though 2011-09-01T13:08:53 anybody any idea? 2011-09-01T13:09:22 tried running visualize_locally.py supplying the .replay file as input, same scenario 2011-09-01T13:11:34 *** okay is now known as okay| 2011-09-01T13:12:08 *** kaemo has joined #aichallenge 2011-09-01T13:17:01 deeper-blue: Right... so its does not really react to the current state? 2011-09-01T13:17:12 of course it does 2011-09-01T13:17:38 Makaveli: what version of FF are you using? 2011-09-01T13:17:40 it reuses the the gene from the last round but of course the simulation will be based on the current status 2011-09-01T13:17:57 and so it will react to changes 2011-09-01T13:17:58 deeper-blue: i don't really get it 2011-09-01T13:18:02 delt0r: 6.01 2011-09-01T13:18:22 *** delt0r_ has joined #aichallenge 2011-09-01T13:18:50 or wait, let me check... 2011-09-01T13:18:52 Makaveli: I have only 4.0 and it works fine... are you sure its 6--i didn't even know there was a 6 yet 2011-09-01T13:19:00 yes it's 6.01 2011-09-01T13:19:10 alright, I'll give it a shot with firefox 4 2011-09-01T13:19:12 thanks 2011-09-01T13:20:25 *** UncleVasya has joined #aichallenge 2011-09-01T13:20:53 *** |UncleVasya| <|UncleVasya|!kvirc@46.133.177.27> has quit IRC (Ping timeout: 260 seconds) 2011-09-01T13:21:17 alright, I have no idea how to get firefox 4 2011-09-01T13:21:28 I'll give it a shot with other browsers though 2011-09-01T13:23:55 it works with my newest firefox version without issues 2011-09-01T13:24:04 damnit. 2011-09-01T13:24:31 and I have 8.0a2 (it's a nightly beta build) 2011-09-01T13:33:56 *** Makaveli has quit IRC (Quit: Page closed) 2011-09-01T13:39:04 *** Titankiller2 has joined #aichallenge 2011-09-01T13:47:40 *** jako has joined #aichallenge 2011-09-01T13:47:53 *** ArchMonkey_ has joined #aichallenge 2011-09-01T13:49:48 *** ArchMonkey has quit IRC (Ping timeout: 240 seconds) 2011-09-01T13:49:49 *** ArchMonkey_ is now known as ArchMonkey 2011-09-01T13:50:30 *** Titankiller2 has quit IRC (Read error: Connection reset by peer) 2011-09-01T14:05:55 *** Palmik has quit IRC (Remote host closed the connection) 2011-09-01T14:06:56 *** Palmik has joined #aichallenge 2011-09-01T14:17:06 *** nux67 has quit IRC (Ping timeout: 252 seconds) 2011-09-01T14:18:15 *** bhasker has joined #aichallenge 2011-09-01T14:30:08 *** mcstar has joined #aichallenge 2011-09-01T14:31:26 *** Makaveli has joined #aichallenge 2011-09-01T14:31:39 hi 2011-09-01T14:31:45 having problems with the visualizer... 2011-09-01T14:31:53 running a game runs fine, using the visualizer doesn't 2011-09-01T14:32:04 it gets stuck at "Creating Canvas" it seems.... 2011-09-01T14:32:07 using firefox, latest version 2011-09-01T14:32:11 anyone any idea? 2011-09-01T14:32:49 *** Test has joined #aichallenge 2011-09-01T14:33:04 Hi guys 2011-09-01T14:35:23 same problem with IE9, btw. 2011-09-01T14:35:35 Loading visualizer... data_dir ../visualizer/data/ (Image directory) interactive true Creating canvas... 2011-09-01T14:35:37 basically my output... 2011-09-01T14:38:26 *** Test has quit IRC (Quit: Page closed) 2011-09-01T14:44:44 Makaveli, got no idea, but it might help, if you tell if you're using the tools.zip version, or the one from github. also, can you see the games on http://aichallengebeta.hypertriangle.com ? 2011-09-01T14:45:32 yes I can 2011-09-01T14:45:35 I am using tools.zip 2011-09-01T14:45:41 same thing with Safari btw. 2011-09-01T14:48:32 Makaveli: download the toolkit from github 2011-09-01T14:49:38 link please? 2011-09-01T14:49:39 *** Lithosphere has quit IRC (Remote host closed the connection) 2011-09-01T14:49:58 *** Lithosphere has joined #aichallenge 2011-09-01T14:49:58 *** Lithosphere has joined #aichallenge 2011-09-01T14:50:11 its in the topic 2011-09-01T14:50:21 Code Repo: http://github.com/aichallenge/aichallenge 2011-09-01T15:01:23 thanks, I'll give it a shot 2011-09-01T15:07:28 *** okay| is now known as okayzed 2011-09-01T15:13:14 *** okayzed is now known as okay| 2011-09-01T15:26:02 *** Eruonen has joined #aichallenge 2011-09-01T15:29:41 *** onensora has quit IRC (Ping timeout: 240 seconds) 2011-09-01T15:46:02 *** Accoun has quit IRC () 2011-09-01T15:46:48 *** berak has quit IRC (Quit: ChatZilla 0.9.84 [SeaMonkey 2.0a3/20090223135443]) 2011-09-01T15:53:32 *** Hammerok has quit IRC (Ping timeout: 252 seconds) 2011-09-01T16:05:01 still the same problem sadly 2011-09-01T16:05:13 I'll just forget it I guess 2011-09-01T16:06:12 *** Accoun has joined #aichallenge 2011-09-01T16:08:22 Makaveli: describe what you do exactly 2011-09-01T16:08:58 All I do is extract the tools folder (or the general AI folder I've downloaded from your source now) and then go into the visualizer folder... 2011-09-01T16:09:08 this time I tried to run the example already provided 2011-09-01T16:09:14 same problem 2011-09-01T16:09:23 if the beta site loads with the visualizer, theres no reason the downloaded visualizer wouldnt work, as berak suggested 2011-09-01T16:09:23 the path is OK 2011-09-01T16:09:40 *** mathis_ has quit IRC (Ping timeout: 252 seconds) 2011-09-01T16:10:05 so, you run play_one_game.sh 2011-09-01T16:10:12 that's exactly why this is so frustating 2011-09-01T16:10:15 and then a browser window opens 2011-09-01T16:10:18 ? 2011-09-01T16:10:28 exactly 2011-09-01T16:10:33 after the game has created the demo 2011-09-01T16:11:10 how recent are those browsers? 2011-09-01T16:11:34 ok i see 2011-09-01T16:11:51 Makaveli: mleise is the one who made visualizer. He can tell you all pre-requirements for it if they exist. Also I think he has a much better chance to guess where is the problem. 2011-09-01T16:12:05 *** boegel has joined #aichallenge 2011-09-01T16:12:05 sure 2011-09-01T16:12:47 UncleVasya and mcstar thanks for your help... I'll try to get ahold of mleise I guess 2011-09-01T16:13:01 Makaveli: are you still having problems? 2011-09-01T16:13:08 yes 2011-09-01T16:13:16 the same problem 2011-09-01T16:13:29 tried IE9, Safari and Firefox 2011-09-01T16:13:36 *** okay| is now known as okayzed 2011-09-01T16:13:38 *** boegel_ has joined #aichallenge 2011-09-01T16:13:40 the funny thing is that it works just fine on http://aichallengebeta.hypertriangle.com 2011-09-01T16:13:49 Did you get a dialog box or 2 that asked about giving permission for the JS to access things when you run locally? 2011-09-01T16:14:14 firefox always asked for me 2011-09-01T16:14:22 chromium didnt as far as i know 2011-09-01T16:14:29 basically IIRC "strict" security could bork the JS player 2011-09-01T16:14:34 sry, asked me for* 2011-09-01T16:15:06 you mean could break? 2011-09-01T16:15:07 well I got one on IE9 2011-09-01T16:15:09 mcstar: it only asked me locally.... i think.... since i hit the "don't ask me again" 2011-09-01T16:15:14 it could have been both 2011-09-01T16:15:21 but Firefox never asked 2011-09-01T16:15:41 heh, every setup is different i guess 2011-09-01T16:15:54 Makaveli: well i put money on that you have that set to deny and don't ask again 2011-09-01T16:16:06 but not real money 2011-09-01T16:16:13 bitcoin? 2011-09-01T16:16:17 lol 2011-09-01T16:16:24 Delt0r credits 2011-09-01T16:16:43 *** boegel has quit IRC (Ping timeout: 264 seconds) 2011-09-01T16:16:49 oh, havent been to united kindom of delt0r's 2011-09-01T16:16:50 you get one free integral solved 2011-09-01T16:17:21 delt0r_ give me one second, I'll check settings... 2011-09-01T16:17:30 oh no... actually 2011-09-01T16:17:32 setting in FF are a PITA 2011-09-01T16:17:39 delt0r_: now give him a clue on how to make the browser re-ask the security question :) 2011-09-01T16:17:40 IMO anyway 2011-09-01T16:17:45 it works on http://aichallengebeta.hypertriangle.com... so why shouldn't it work locally? 2011-09-01T16:17:55 on linux i would delete .mozilla 2011-09-01T16:17:58 :D 2011-09-01T16:18:03 different source of gameplay data 2011-09-01T16:18:16 I have not used windows for a decade 2011-09-01T16:18:40 the web visualizer asks the http server for the replay data 2011-09-01T16:18:48 about:config 2011-09-01T16:18:50 but the local visualizer pulls it from a file 2011-09-01T16:18:52 something like IIRC 2011-09-01T16:18:58 always have to google it 2011-09-01T16:19:24 im not sure how its dont exactly, what i did before, is that i assempled a html file with the visualizer js code and replay data 2011-09-01T16:19:35 marco solved it more elegantly i believe 2011-09-01T16:20:03 the problem, is that a browser's js engine cant access the local filesystem 2011-09-01T16:20:16 at least not directly 2011-09-01T16:20:23 just tried running everything on a local webhost 2011-09-01T16:20:27 apache to be exact 2011-09-01T16:20:29 still no worky :p 2011-09-01T16:20:32 well tbh --this is not really what js was meant for... 2011-09-01T16:20:56 dont->done 2011-09-01T16:21:07 Makaveli: what about a virgin install of FF--ie find where ever the setting are stored and nuke it 2011-09-01T16:21:15 probably the registry ;) 2011-09-01T16:21:25 delt0r_: he is on osx i believe 2011-09-01T16:21:32 delt0r: Are you planning to include in JAntManager a possibility to start game with hand-maided position? Like 10 Player1's ants vs 25 Player2's 2011-09-01T16:21:34 nope I'm on windows 2011-09-01T16:21:38 oh 2011-09-01T16:21:45 you use cygwin then? 2011-09-01T16:21:48 I'll give it a shot delt0r_ thanks 2011-09-01T16:21:54 UncleVasya: had not got that far 2011-09-01T16:21:56 what for? 2011-09-01T16:22:06 Makaveli: you said you run play_one_game.sh 2011-09-01T16:22:10 you couldnt on windows 2011-09-01T16:22:12 but wasn't thinking of doing anything like that this time around 2011-09-01T16:22:24 oh I'm sorry, play_one_game.cmd 2011-09-01T16:23:01 then, my guess is that the html file couldnt be assembled correctly 2011-09-01T16:23:17 looks just like the template 2011-09-01T16:23:26 Makaveli: you sure youve got the right python version, and the game runs without errors? 2011-09-01T16:23:49 yes, the python version is 2.7 2011-09-01T16:24:03 mleise just told me something weird "Oh yeah looks like I broke it" let's see :-) 2011-09-01T16:24:44 argh 2011-09-01T16:24:57 bad marco bad 2011-09-01T16:25:02 hopefully that's the case! 2011-09-01T16:25:19 he is giving us heart attacks 2011-09-01T16:25:28 if it's me doing something wrong, there's really no point in participating in any AI contest haha 2011-09-01T16:25:40 Makaveli: surely youre not 2011-09-01T16:25:56 i mean pls participate :) 2011-09-01T16:25:59 No, you're wrong with this. 2011-09-01T16:26:15 Me too. 2011-09-01T16:27:16 Because writing your bot doesn't requires staff like that. 2011-09-01T16:27:17 *** boegel_ has quit IRC (Quit: Leaving) 2011-09-01T16:27:23 stuff 2011-09-01T16:27:36 yep 2011-09-01T16:28:26 I deleted some code, I hope that helps :) 2011-09-01T16:28:36 mleise: NOOO, thats the problem! 2011-09-01T16:28:40 i wonder what that code was for 2011-09-01T16:28:55 it was for genetic mutation 2011-09-01T16:29:03 oh I see you guys just don't have the latest version 2011-09-01T16:29:05 now the important code will mutate 2011-09-01T16:29:23 Makaveli: i have a 1.5 months old one 2011-09-01T16:29:38 Like me :) 2011-09-01T16:29:58 We're all old_school_ers here :) 2011-09-01T16:30:07 Or just too lazy to update. 2011-09-01T16:30:07 alright, so I can download the newest version now mcleise? 2011-09-01T16:30:14 hehe 2011-09-01T16:30:23 another one not using tab completion 2011-09-01T16:30:30 btw, best quote ever: [22:28] I deleted some code, I hope that helps :) -> [22:28] i wonder what that code was for 2011-09-01T16:31:40 could be one for the Famous Last Words category 2011-09-01T16:32:07 Makaveli: no, wait a second 2011-09-01T16:32:41 *** okayzed is now known as okay| 2011-09-01T16:32:41 kk 2011-09-01T16:37:33 The pain from 'cooking' contest's staff you feel only once. When it's done the only thing you really need is your ideas to improve starter bot. High programming skills and mathematics (game theory) will help but it's not necessery if you don't want to be in very top. 2011-09-01T16:39:56 well, i think time is of the essence, the man with the most free time will win 2011-09-01T16:40:05 because he can explore more ideas 2011-09-01T16:40:10 well, you might also win with a very simple solution though 2011-09-01T16:40:20 it's not an open game... as in it's not like chess... 2011-09-01T16:40:45 The inability to handle with js, linking, setuping libraries etc. isn't matter. The ability to produce and write thoughts for bot is the key, 2011-09-01T16:41:18 +1 2011-09-01T16:41:37 exp(iPi) 2011-09-01T16:42:25 For now you must not to have any thoughts about 'no point for me in participating in any AI contest', am I right? 2011-09-01T16:42:55 haha no 2011-09-01T16:43:08 I think that sentence was really weird and full of mistakes but you've got my idea :) 2011-09-01T16:43:10 aichallenge: Marco Leise epsilon * r24bb842 / (ants/visualizer/js/Application.js ants/play_one_game_live.sh): 2011-09-01T16:43:10 aichallenge: regression: play_one_game -> the resulting html file doesn't load the replay correctly / added: 2011-09-01T16:43:10 aichallenge: play_one_game_live, which runs the Java visualizer - http://git.io/btFlMQ 2011-09-01T16:43:11 UncleVasya: he was just a bit disappointed not able to see the game, but surely, its gone by now, he is a happy hacker 2011-09-01T16:43:12 aichallenge: Marco Leise epsilon * r7cbadde / (ants/play_one_game_live.sh ants/play_one_game_live.cmd): added: Windows version of play_one_game_live - http://git.io/RGLeAQ 2011-09-01T16:43:14 aichallenge: Marco Leise epsilon * r80ab487 / ants/dist/tools/Makefile : corrected Makefile for tools.zip to process play_one_game_live as well as play_one_game - http://git.io/BYQ33Q 2011-09-01T16:43:25 but honestly if you can't setup something as easy as the visualizer tool (I'm speaking about the setup) you really should think about participating, don't you think so? 2011-09-01T16:43:40 No, I don't 2011-09-01T16:44:13 really? 2011-09-01T16:44:24 actually, it requires no setup 2011-09-01T16:44:32 except having the right python 2011-09-01T16:44:59 almost there 2011-09-01T16:45:39 mleise: you forgot to comment on the first change 2011-09-01T16:46:24 mcstar: no it is all there in the next line ;) 2011-09-01T16:46:35 now it is minifying the JavaScript ... 2011-09-01T16:48:34 As I already pointed setuping contest and writing bot are totally different things. If someone is messy with all these files (.bat, .py, .js, .html - wow!) it doesn't means he can't make a good bot. During bot programming he will use all the tools he is familiar with (IDE, language) and will show himself. 2011-09-01T16:49:28 A side note: play_one_game_live behaves more like PlanetWars. It pipes the output of the engine into the Java visualizer, but starts playback immediately. 2011-09-01T16:49:48 omg 2011-09-01T16:49:54 mleise: how did you do that? 2011-09-01T16:50:01 aham 2011-09-01T16:50:05 java 2011-09-01T16:50:07 not js 2011-09-01T16:50:31 I worked out a crazy solution, that's how I did it. 2011-09-01T16:50:37 hehe 2011-09-01T16:50:45 care to share? im interested 2011-09-01T16:50:46 by the way Makaveli, you can download the new file now 2011-09-01T16:51:12 mcstar: sure, what do you want to know? 2011-09-01T16:51:27 the answer to everything of course 2011-09-01T16:51:32 42 2011-09-01T16:51:40 hell, its on my cup even 2011-09-01T16:51:58 now seriously, how did you pipe the data to the visualizer? 2011-09-01T16:52:13 mleise thanks a lot 2011-09-01T16:52:17 I wanna see your evil smile at moment when 'crasy solution' wasborn in your mind :) 2011-09-01T16:52:30 The engine has some switches. You use -So to output the 'streaming format' 2011-09-01T16:52:52 ok, it writes to a regular file? 2011-09-01T16:53:10 No it writes to stdout 2011-09-01T16:53:17 ah k 2011-09-01T16:53:19 And the visualizer reads from stdin 2011-09-01T16:53:33 yeah, but what is that visualizer? 2011-09-01T16:53:43 it still runs in the browser 2011-09-01T16:53:48 is it not? 2011-09-01T16:54:00 Most of the visualizer is generic JavaScript 2011-09-01T16:54:35 A motivating guy goes to bed. Bye. 2011-09-01T16:54:42 bb 2011-09-01T16:54:44 *** UncleVasya has quit IRC () 2011-09-01T16:54:45 To get it into an applet for IE <9 and reuse it as a standalone application, I had to use Rhino, a JavaScript->Java compiler 2011-09-01T16:55:09 ok, so the thing is that java runs in the browser 2011-09-01T16:55:31 and the browser can be invoked with its stdin read by the java engine 2011-09-01T16:56:06 Obviously Java doesn't have the web interface that is exposed to a JS application in a browser, most prominently the canvas is missing, but also other things like local storage, DOM, ... 2011-09-01T16:56:25 So I had to implement these things in Java 2011-09-01T16:56:25 (obviously?) 2011-09-01T16:56:52 i see, so it was quite some work 2011-09-01T16:57:01 The JavaScript specs don't describe what the a browser is meant 2011-09-01T16:57:04 to expose 2011-09-01T16:57:25 It just comes with some basic functions for string manipulation, math and so on 2011-09-01T16:57:41 ok 2011-09-01T16:57:49 Yes, it was quite some work, but it is *way* faster on IE <9 now 2011-09-01T16:58:02 and what about other browsers? 2011-09-01T16:58:14 can you compile js to java for them too? 2011-09-01T16:58:19 Previously I only ported the canvas into an applet and had even more crazy stuff going on in IE 2011-09-01T16:58:39 *** McLeopold has joined #aichallenge 2011-09-01T16:59:05 ah, here goes a sweet welcome to McLeopold 2011-09-01T16:59:09 mcstar: Java is 'compile once, run everywhere'. Just add '&java=true' to any replay on the server 2011-09-01T16:59:43 aham, so effectively rhino is multi-platform 2011-09-01T16:59:45 This loads the Java applet even if the browser supports all the HTML5 features 2011-09-01T16:59:53 Java is cross-platform 2011-09-01T16:59:59 i know that :) 2011-09-01T17:00:05 Rhino is written in Java :) 2011-09-01T17:00:12 but that first sentence sounded like it only runs on ie9 2011-09-01T17:00:57 (sry, ah, no. IE 8,7,6 ... don't support the HTML canvas and are generally not very standard conformant. for these I added the applet in the first place 2011-09-01T17:01:04 because java works well in them 2011-09-01T17:01:27 so, in the end it turned out its faster than js 2011-09-01T17:01:28 hi 2011-09-01T17:01:43 hi 2011-09-01T17:02:05 Don't expect JavaScript compiled to Java to be fast. It is a type-less language which adds a *lot* of overhead. And my canvas implementation is single-threaded. Other browsers execute JS and draw at the same time 2011-09-01T17:02:25 mleise you tested the new version right? 2011-09-01T17:02:49 Makaveli: I tested the Linux part of it, in a few scenarios 2011-09-01T17:02:58 I'm running on windows :( 2011-09-01T17:03:06 did you update the one on http://aichallengebeta.hypertriangle.com/ or the other one? 2011-09-01T17:03:17 @tools 2011-09-01T17:03:18 same problem sadly :/ 2011-09-01T17:03:18 mleise: tools could be Windows: http://aichallengebeta.hypertriangle.com/tools.zip | Linux/MacOS X: http://aichallengebeta.hypertriangle.com/tools.tar.bz2. 2011-09-01T17:05:45 im gonna clone the repo for fun 2011-09-01T17:06:34 "for fun" 2011-09-01T17:07:30 what? i die for the progress indicator, thats the only reason i have slow net 2011-09-01T17:08:25 you could use win95 defrag, it has a very cool progress indicator 2011-09-01T17:08:36 it fills the screen and you can scroll it 2011-09-01T17:09:53 sweet memories, though i only used 98 at home 2011-09-01T17:10:25 i remember my computer kept crashing under it, people told me, my hardware was too good for that os 2011-09-01T17:10:31 than came xp 2011-09-01T17:11:22 Makaveli: It *should* work, the fix is in the zip file 2011-09-01T17:11:30 Makaveli: it works for me, i saw what you saw, after accepting the security something, the visualizer shows up 2011-09-01T17:12:30 ans sadly its slower than ever 2011-09-01T17:12:31 d 2011-09-01T17:12:35 ff7 2011-09-01T17:12:41 nooooooo, why? 2011-09-01T17:13:03 dunno 2011-09-01T17:13:09 chromium rocks 2011-09-01T17:15:25 maybe its because i worked with chromium too much. its simply faster ^^ 2011-09-01T17:16:45 what are those? 2011-09-01T17:16:47 ^^ 2011-09-01T17:16:55 double exponentiation? 2011-09-01T17:17:05 line the Knuth symbol? 2011-09-01T17:17:18 no they are smiley eyes 2011-09-01T17:17:40 line->like 2011-09-01T17:17:42 aham 2011-09-01T17:17:51 couldnt have guessed that 2011-09-01T17:18:02 I'll give it another shot... 2011-09-01T17:18:29 Makaveli: that poor toolkit's gonna be a swiss cheese with all those holes from your shots in it 2011-09-01T17:18:36 sometimes written as ^_^ 2011-09-01T17:18:54 mleise: i see, thx, that one i can recongnize 2011-09-01T17:20:01 mcstar: was that actually just coincidence or did you know that I reside in Switzerland? :-) 2011-09-01T17:20:32 im tracking you IP, and own your life HAHAHA 2011-09-01T17:20:40 mcstar: you can use h4X like: &config={"cp":1} 2011-09-01T17:20:41 pure coincidence tbh 2011-09-01T17:21:00 to burn more CPU on the visualizer if it is too slow, hehe 2011-09-01T17:21:27 sorry, cpu instead of cp 2011-09-01T17:21:35 i was about to ask :) 2011-09-01T17:22:23 or "cpu":0.1 to show everyone how badly i optimized 2011-09-01T17:23:18 Since it is a config value, clicking on the save button will save that setting in your browser 2011-09-01T17:23:28 the default is 0.5 2011-09-01T17:24:45 mleise: sry, i see no difference 2011-09-01T17:24:52 0.1-10 2011-09-01T17:25:12 I see a *big* difference 2011-09-01T17:25:27 for example I use: http://localhost/antgui/work/visualizer.php?game=9&debug=true&config={%22cpu%22:0.1} 2011-09-01T17:25:33 oh, forgot to mention, my os runs on an nvidia gpu 2011-09-01T17:25:54 Your OS doesn't run on the GPU -.- 2011-09-01T17:26:00 :D 2011-09-01T17:26:18 maybe debug is needed? 2011-09-01T17:26:42 no, it just prints the FPS in the title 2011-09-01T17:26:57 (and loads corrupt replays) 2011-09-01T17:27:39 Makaveli: Does play_one_game_live work for you on Windows in case you have Java 6 or higher installed? 2011-09-01T17:29:02 mleise: with cpu:0.1 fps is like 4, with cpu:1 fps is 40, but i dont feel any difference 2011-09-01T17:29:57 40 FPS? great! 2011-09-01T17:30:42 but obviously theres something wrong 2011-09-01T17:31:06 with cpu:0.1, with 4 fps, the slider is as fast as with 40, and the screen updates rapidly, not with 4 fps 2011-09-01T17:31:11 McLeopold: the new visualizer code does handle your special replays better. I made it slower in the general case to be faster when displaying static maps with 1000 ants 2011-09-01T17:32:02 mcstar: so you say you actually have more than 4 fps? 2011-09-01T17:32:16 well, i must, otherwise it would be sluggisg 2011-09-01T17:32:18 h 2011-09-01T17:32:20 it isnt 2011-09-01T17:32:34 ??? 2011-09-01T17:32:55 when you set cpu:0.1, can you feel the visualizer actually slow down? 2011-09-01T17:33:15 yes, it becomes a real slideshow @ 1 FPS 2011-09-01T17:33:29 wait a minute 2011-09-01T17:33:33 you play it? 2011-09-01T17:33:37 > 2011-09-01T17:33:38 maybe up the playback speed a bit 2011-09-01T17:33:56 it only affects the playback speed, yes 2011-09-01T17:34:30 argh, you could have told me that 2011-09-01T17:34:34 now its 45 fps 2011-09-01T17:34:40 with playback 2011-09-01T17:34:40 On planet wars some people complained that the visualizer is using to much cpu juice, so I throttled it *g* 2011-09-01T17:35:01 mleise: cool for the faster 1000 ant games :) 2011-09-01T17:35:43 McLeopold: the attack lines - I used an n*n algorithm to find ants that are in attack range of each other 2011-09-01T17:36:12 thats another simley i wont figure out: n*n 2011-09-01T17:36:19 is it like *g* ? 2011-09-01T17:36:36 no it is a mining vehicle 2011-09-01T17:36:41 so O(n2)? 2011-09-01T17:36:53 more like O(n²) 2011-09-01T17:36:58 :D 2011-09-01T17:37:05 yea, that 2011-09-01T17:37:21 McLeopold: you dont have full unicode keyboard? 2011-09-01T17:37:29 no 2011-09-01T17:38:01 That is sad, because α β and so on come handy sometimes 2011-09-01T17:38:22 It is a bit large though with its 20 * 31 meters 2011-09-01T17:38:34 that's a big keyboard 2011-09-01T17:38:46 I don't even have a numeric keypad :( 2011-09-01T17:38:54 it doubles as a carpet for him 2011-09-01T17:38:57 i don't think my apartment is 20 meters 2011-09-01T17:39:08 yes, but they wanted to include the runes and the snowman 2011-09-01T17:39:11 no, wait, it might be 2011-09-01T17:39:31 Zannick: you cant really compare m to m^2 2011-09-01T17:39:32 well, my car certainly isn't. 2011-09-01T17:39:45 ☃ <- Hi! 2011-09-01T17:40:09 what is that? 2011-09-01T17:40:15 Mr. Snowman 2011-09-01T17:40:16 cow-head? 2011-09-01T17:40:20 oh 2011-09-01T17:40:50 http://unicodesnowmanforyou.com/ 2011-09-01T17:41:00 i want the A with a circle on top 2011-09-01T17:41:21 Å? 2011-09-01T17:41:49 yeah, but usually the circle i more to the top 2011-09-01T17:42:01 i mean theres a little gap 2011-09-01T17:42:03 i'm not sure how to make that one 2011-09-01T17:42:07 :) 2011-09-01T17:42:19 maybe ill ask roland emmerich 2011-09-01T17:42:29 i have a plain american qwerty keyboard 2011-09-01T17:42:41 but screen lets me do some digraphs 2011-09-01T17:43:00 youre multiplexing with screen? 2011-09-01T17:43:16 :) 2011-09-01T17:43:24 why not a tiling wm? 2011-09-01T17:43:36 ☁ ☀ ☁ ====✈ 2011-09-01T17:43:54 oh, you misunderstand 2011-09-01T17:44:05 i use screen on a server to host my irc instance 2011-09-01T17:44:35 i don't need to use unicode symbols much in any other window :P 2011-09-01T17:44:37 i see, so your screen session isnt segmeted 2011-09-01T17:44:39 n 2011-09-01T17:44:45 yeah 2011-09-01T17:45:06 unicode even has a political correct black smiley ☻ 2011-09-01T17:45:22 it is white 2011-09-01T17:45:47 so you mean a politically black smiley is a white smiley? 2011-09-01T17:45:51 black is white! 2011-09-01T17:47:11 no it is black! 2011-09-01T17:47:15 nah 2011-09-01T17:47:17 your unicode font is racist 2011-09-01T17:47:19 its is white 2011-09-01T17:47:45 no, but i do use a black-background terminal 2011-09-01T17:47:57 so fonts are white 2011-09-01T17:48:04 oh wait then... ☹ is black? 2011-09-01T17:48:09 yeah 2011-09-01T17:48:18 with white contours 2011-09-01T17:48:54 *** Palmik has quit IRC (Remote host closed the connection) 2011-09-01T17:50:05 mleise: did you get a hold on regenesis' first episode? 2011-09-01T17:50:13 no 2011-09-01T17:51:44 sorry guys was away 2011-09-01T17:51:49 I can't believe it, it's working now! 2011-09-01T17:51:55 thanks al ot mleise, mcstar and the others 2011-09-01T17:52:32 great! could you also test play_one_game_live.cmd ? 2011-09-01T17:52:38 yeah, listen to McFrontalot 2011-09-01T17:52:49 *** pootzek has joined #aichallenge 2011-09-01T17:53:02 sure, one sec 2011-09-01T17:53:14 ☺ 2011-09-01T17:53:50 works perfectly fine 2011-09-01T17:54:03 ok thank you 2011-09-01T17:54:38 wow that's awesome, you can actually stop it and go move by move 2011-09-01T17:54:42 :-D 2011-09-01T17:55:11 doesnt work play_one_game_live.sh for me 2011-09-01T17:57:24 alright guys I'll be gone for now, going to try out a few bots tommorow :-) 2011-09-01T17:57:26 thanks a lot for the help 2011-09-01T17:57:27 cya 2011-09-01T17:58:06 bb 2011-09-01T17:58:09 *** pootzek has left #aichallenge 2011-09-01T17:58:58 *** Makaveli has quit IRC (Quit: Page closed) 2011-09-01T17:59:48 Error: Unable to access jarfile visualizer.jar 2011-09-01T18:00:01 and theres no jar file around really 2011-09-01T18:00:21 well, it doesnt really matter, but i wonder how did this work for makaveli 2011-09-01T18:34:38 *** deeper-blue has quit IRC (Quit: deeper-blue) 2011-09-01T18:41:19 mcstar: I had to adapt the path to the situation in the zip file 2011-09-01T18:41:38 download the tools from their official location. github contains only source files 2011-09-01T18:41:42 @tools 2011-09-01T18:41:43 mleise: tools could be Windows: http://aichallengebeta.hypertriangle.com/tools.zip | Linux/MacOS X: http://aichallengebeta.hypertriangle.com/tools.tar.bz2. 2011-09-01T18:45:37 k 2011-09-01T18:45:45 now good nite, its late 2011-09-01T18:45:53 *** mcstar has quit IRC (Quit: WeeChat 0.3.5) 2011-09-01T18:46:45 *** McLeopold has left #aichallenge 2011-09-01T18:48:13 *** FireFly has quit IRC (Quit: FireFly) 2011-09-01T18:49:54 *** jako has quit IRC (Ping timeout: 252 seconds) 2011-09-01T18:50:48 *** ltriant has joined #aichallenge 2011-09-01T18:51:10 *** delt0r_ has quit IRC (Ping timeout: 260 seconds) 2011-09-01T18:56:35 *** kaemo has quit IRC (Ping timeout: 252 seconds) 2011-09-01T18:59:12 *** SimonT has quit IRC (Read error: Connection reset by peer) 2011-09-01T18:59:46 *** SimonT has joined #aichallenge 2011-09-01T19:03:13 *** delt0r_ has joined #aichallenge 2011-09-01T19:09:20 cool --my engine still can manage about 300-600 turns per sec with more than 2000 ants and a 500x500 map 2011-09-01T19:09:32 good for training :) 2011-09-01T19:09:49 also that is with debug logging 2011-09-01T19:12:58 *** deeper-blue has joined #aichallenge 2011-09-01T19:13:28 *** amstan has joined #aichallenge 2011-09-01T19:13:28 *** ChanServ sets mode: +o amstan 2011-09-01T19:23:58 *** Kingpin13 has quit IRC (Quit: quit) 2011-09-01T19:37:38 :-D wow well done. looks like it was worth the effort. 2011-09-01T19:38:58 delt0r_: Did you process any commands at all? 2011-09-01T19:41:52 Try a map of 120x120 and 1000 ants that give orders. That would be real life case. How many turns do you get out of the engine then? 2011-09-01T19:43:47 I guess you also optimized the visibility calculations quit a bit 2011-09-01T19:43:51 mleise: yes every ant get an order every turn 2011-09-01T19:43:56 yes 2011-09-01T19:44:18 amstan: I had another look at JSkills 2011-09-01T19:44:42 I think that loop can just be exited with a warning without issues... 2011-09-01T19:44:44 *** amstan has quit IRC (Remote host closed the connection) 2011-09-01T19:45:04 its a approximate iterative solver more or less 2011-09-01T19:45:35 and when there is a draw --its gets into a very slowly reducting delta per iteration. 2011-09-01T19:46:06 so if maxIter is something like 1000 then i think it will just boil down to how to split ties 2011-09-01T19:46:09 I think 2011-09-01T20:01:38 *** mleise has quit IRC (Quit: Leaving.) 2011-09-01T20:02:16 *** mleise has joined #aichallenge 2011-09-01T20:40:05 *** bhasker has joined #aichallenge 2011-09-01T20:46:00 *** kaemo has joined #aichallenge 2011-09-01T20:49:11 *** antimatroid has quit IRC (Ping timeout: 240 seconds) 2011-09-01T20:52:50 *** mceier has quit IRC (Quit: leaving) 2011-09-01T21:05:48 *** antimatroid has joined #aichallenge 2011-09-01T21:38:58 *** antimatroid has quit IRC (Ping timeout: 264 seconds) 2011-09-01T21:51:24 *** mleise has quit IRC (Ping timeout: 245 seconds) 2011-09-01T22:45:34 *** okay| is now known as okayzed 2011-09-01T23:53:38 *** amstan has joined #aichallenge 2011-09-01T23:53:38 *** ChanServ sets mode: +o amstan