2011-05-02T00:05:55 aichallenge: McLeopold epsilon * r7b33833 / (5 files in 3 dirs): Merge branch 'epsilon' of github.com:aichallenge/aichallenge into epsilon - http://bit.ly/ldOjcF 2011-05-02T00:05:56 aichallenge: McLeopold epsilon * re0143e7 / sql/0_schema.sql : update to schema for trueskill matchmaking - http://bit.ly/iGaH3C 2011-05-02T00:08:50 *** orivej has quit IRC (Read error: Operation timed out) 2011-05-02T00:09:06 aichallenge: McLeopold epsilon * reb9d9d0 / (sql/create_test_data.py sql/create_test_bot.py): cleanup of sql folder - http://bit.ly/ii4F6a 2011-05-02T00:10:18 *** orivej has joined #aichallenge 2011-05-02T00:14:04 j3camero: ping 2011-05-02T00:24:04 *** amstan has joined #aichallenge 2011-05-02T00:24:04 *** ChanServ sets mode: +o amstan 2011-05-02T00:39:27 *** jaycobcoleman has quit IRC (Ping timeout: 252 seconds) 2011-05-02T01:02:23 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has quit IRC (Quit: Lost terminal) 2011-05-02T01:05:06 *** computerwiz_222 has joined #aichallenge 2011-05-02T01:11:05 *** McLeopold has left #aichallenge 2011-05-02T01:20:00 *** jaycobcoleman has joined #aichallenge 2011-05-02T01:25:24 *** orivej_ has joined #aichallenge 2011-05-02T01:25:37 *** orivej has quit IRC (Ping timeout: 252 seconds) 2011-05-02T01:38:19 *** computerwiz_222 has quit IRC (Ping timeout: 240 seconds) 2011-05-02T01:43:42 *** computerwiz_222 has joined #aichallenge 2011-05-02T01:45:32 *** jaycobcoleman has quit IRC (Quit: Page closed) 2011-05-02T01:58:46 *** ahmedhelal has quit IRC (Read error: Connection reset by peer) 2011-05-02T01:59:13 *** ahmedhelal has joined #aichallenge 2011-05-02T02:57:07 bhasker: it's hard to stop yourself from just implementing something "shady" to try it out isn't it 2011-05-02T03:12:35 *** berak has joined #aichallenge 2011-05-02T03:30:08 *** delt0r has quit IRC (Ping timeout: 276 seconds) 2011-05-02T03:30:25 *** ltriant has quit IRC (Quit: Computer has gone to sleep) 2011-05-02T03:48:08 *** boegel has joined #aichallenge 2011-05-02T04:07:14 *** jaycobcoleman has joined #aichallenge 2011-05-02T04:10:57 *** Frontier has joined #aichallenge 2011-05-02T04:36:27 *** jaycobcoleman has quit IRC (Quit: Page closed) 2011-05-02T04:38:40 *** amstan has quit IRC (Ping timeout: 240 seconds) 2011-05-02T04:41:44 *** chris___0076 has joined #aichallenge 2011-05-02T04:43:50 *** chris__0076 has quit IRC (Read error: Operation timed out) 2011-05-02T05:07:37 *** chris__0076 has joined #aichallenge 2011-05-02T05:09:08 *** chris___0076 has quit IRC (Read error: Operation timed out) 2011-05-02T05:12:15 *** Naktibalda has joined #aichallenge 2011-05-02T05:17:28 *** sigh has joined #aichallenge 2011-05-02T05:26:05 *** delt0r has joined #aichallenge 2011-05-02T05:37:04 *** mcstar has joined #aichallenge 2011-05-02T05:37:12 lol 2011-05-02T05:37:55 how many times do you have to correct /join aichallenge before u join the right channel? 2011-05-02T05:38:19 interestingly enough, theres was a guy on #ai-challenge 2011-05-02T05:42:17 mcstar: i used to have that problem 2011-05-02T05:42:25 i used to try aicontest too 2011-05-02T05:42:31 but now pidgin just has it 2011-05-02T05:42:36 :) 2011-05-02T05:42:41 pidgin <3 2011-05-02T05:42:45 i added to bookmarks too 2011-05-02T05:42:50 but its easier to type 2011-05-02T05:43:01 i hate the rodent 2011-05-02T05:43:07 i'm wrestling with symmetry of games still :P 2011-05-02T05:43:12 ah 2011-05-02T05:43:40 im writing a split-string function 2011-05-02T05:43:56 the original is still faster 2011-05-02T05:44:13 why would you split strings? 2011-05-02T05:44:43 if it's for the contest, the input has been made so you shouldn't need to do that 2011-05-02T05:44:46 i made sure of it :P 2011-05-02T05:45:02 i hate having to break strings up, it's lame, although i usually just use a stringstream 2011-05-02T05:45:28 that doesn't really help i guess :P 2011-05-02T05:45:38 :) 2011-05-02T05:45:55 yeah, its too general, i could exactly anticipate the input 2011-05-02T05:46:54 in fact i may make another function which peeks into the stream 2011-05-02T05:47:23 and then peeks again until the command is uniqe 2011-05-02T05:47:32 and then peeks again up to a space 2011-05-02T05:47:35 then reads the value 2011-05-02T05:47:52 but i could use a nice splitstring function in future 2011-05-02T05:48:27 we have a nice function in cl, peek-char 2011-05-02T05:48:51 reads a char from the strem, but at the same time, doesnt advance the stream-pointer so to speak 2011-05-02T05:56:33 *** needsch has joined #aichallenge 2011-05-02T05:57:37 *** perror has joined #aichallenge 2011-05-02T05:59:48 *** perror has quit IRC (Quit: Bye all !) 2011-05-02T06:10:11 *** kaemo has joined #aichallenge 2011-05-02T06:22:31 *** Frontier has quit IRC (Quit: Leaving.) 2011-05-02T06:23:18 *** Frontier has joined #aichallenge 2011-05-02T06:32:11 *** kaemo has quit IRC (Ping timeout: 246 seconds) 2011-05-02T06:41:30 *** sigh has quit IRC (Remote host closed the connection) 2011-05-02T07:06:14 *** berak has quit IRC (Ping timeout: 240 seconds) 2011-05-02T07:27:09 *** UncleVasya has joined #aichallenge 2011-05-02T07:30:47 *** UncleVasya has joined #aichallenge 2011-05-02T07:35:26 *** kaemo has joined #aichallenge 2011-05-02T07:50:18 *** mceier has joined #aichallenge 2011-05-02T07:57:22 *** berak has joined #aichallenge 2011-05-02T08:22:03 *** smiley1983 has joined #aichallenge 2011-05-02T08:30:36 *** delt0r has quit IRC (Ping timeout: 248 seconds) 2011-05-02T08:34:27 *** Frontier has quit IRC (Quit: Leaving.) 2011-05-02T08:36:43 *** sigh has joined #aichallenge 2011-05-02T08:37:10 *** UncleVasya has quit IRC () 2011-05-02T08:37:20 *** Cyndre has quit IRC (Ping timeout: 260 seconds) 2011-05-02T08:37:42 *** sigh has joined #aichallenge 2011-05-02T08:39:32 antimatroid: do you use a version control system for your own bot-code? 2011-05-02T08:55:41 *** Mathnerd314 has quit IRC (Ping timeout: 240 seconds) 2011-05-02T08:59:00 *** FireFly has joined #aichallenge 2011-05-02T09:18:42 why would you not? 2011-05-02T09:32:19 I didn't for the last contest because I wasn't familiar with git (or anything else) yet. I am using git for this one. (the question wasn't directed at me, though) 2011-05-02T09:34:00 never mind 2011-05-02T09:34:10 it was an open question really 2011-05-02T09:34:24 no i dont use version control 2011-05-02T09:34:46 so you say you can benefit from it 2011-05-02T09:35:09 im also not familiar with any of it 2011-05-02T09:35:22 i can clone a repository but thats all :) 2011-05-02T09:35:48 so 2011-05-02T09:35:50 at it's most basic use, it lets you keep a complete history of your work 2011-05-02T09:35:57 yeah 2011-05-02T09:36:02 thats why im contemplating 2011-05-02T09:36:10 so you don't need to worry about breaking anything, or losing anything... you can always revert back to something that worked 2011-05-02T09:36:11 and is it run on ur computer? 2011-05-02T09:36:28 yes 2011-05-02T09:36:50 i dont understand how it works 2011-05-02T09:37:01 is there a daemon which checks file changes? 2011-05-02T09:37:04 version control systems generally keep metadata in a special directory which stores everything about the repo 2011-05-02T09:37:09 no, you tell it 2011-05-02T09:37:13 ok 2011-05-02T09:37:18 so i say REFRESH 2011-05-02T09:37:25 like you with normal files, you click save to save it 2011-05-02T09:37:40 in a version control system you "commit" to save the state 2011-05-02T09:37:44 ok 2011-05-02T09:38:03 whats ur choice? 2011-05-02T09:38:15 i guess git 2011-05-02T09:38:46 git is fine 2011-05-02T09:39:23 ill look for a wiki 2011-05-02T09:39:39 there should be plenty of tutorials on git on the net 2011-05-02T09:40:24 to start off with you only really need to know three commands: init (to create the repo), add (to add things to the repo), and commit (to actually save changes) 2011-05-02T09:41:02 yeah but im sure i have to set up some config file 2011-05-02T09:41:27 nah, you don't 2011-05-02T09:41:40 ? 2011-05-02T09:41:49 how does it know where are my files? 2011-05-02T09:41:52 lol 2011-05-02T09:42:03 it backs up my whole system :) 2011-05-02T09:42:15 you go to a directory and you type: `git init` and then it turns that directory into a git repo 2011-05-02T09:42:30 whoa 2011-05-02T09:42:34 sounds easy 2011-05-02T09:42:38 yeah 2011-05-02T09:42:54 it will create a hidden directory inside called .git which stores everything about it 2011-05-02T09:43:06 im gonna try it 2011-05-02T09:43:17 if you look a repo you have cloned, you will see a .git directory at the top level 2011-05-02T09:43:47 shat im stupid 2011-05-02T09:43:55 its already installed of course 2011-05-02T09:44:00 :) 2011-05-02T09:45:21 do i have to git add every file i want it to track? 2011-05-02T09:46:10 you can entire directories, like if you want to add everything in the current directory and below just go: `git add .` 2011-05-02T09:47:27 no, ill add only a couple 2011-05-02T09:47:41 thx 2011-05-02T09:47:47 its seems its working 2011-05-02T09:47:59 i see there are gui frontend to it 2011-05-02T09:47:59 have you commited yet? 2011-05-02T09:48:09 yep 2011-05-02T09:48:11 yeah... I haven't used it much though 2011-05-02T09:48:28 shat 2011-05-02T09:48:42 nice colorful file 2011-05-02T09:48:49 it opened it up after commit 2011-05-02T09:48:59 wait a minute 2011-05-02T09:49:09 ahh... that's where you type your commit message 2011-05-02T09:49:19 yeah it says it empty 2011-05-02T09:49:25 so i have to fill in a filed 2011-05-02T09:49:27 field 2011-05-02T09:49:45 quit and about for now 2011-05-02T09:49:48 or i have to save the file? 2011-05-02T09:49:59 just do: git commit -m "My first commit" 2011-05-02T09:50:03 or whatever 2011-05-02T09:50:22 but yes, if you are comfortable with the editor, then you just type you message at the top and commit 2011-05-02T09:50:25 *and save 2011-05-02T09:50:48 btw, what os are you on? 2011-05-02T09:51:11 im on win2000 2011-05-02T09:51:32 sorry, i need to laugh 2011-05-02T09:51:42 :) 2011-05-02T09:51:44 latest linux of course 2011-05-02T09:52:40 I'm assuming that git opened up vim for you... if you don't like/don't know how to use vim, you can set your prefered editor in the $EDITOR env variable 2011-05-02T09:52:57 its already set to vim i cant live wo it 2011-05-02T09:53:02 :) 2011-05-02T09:53:08 :) 2011-05-02T09:53:40 so have you completed the first commit yet? 2011-05-02T09:54:49 i see, git doesnt responf to touch 2011-05-02T09:54:49 d 2011-05-02T09:54:49 yes i had my first commit 2011-05-02T09:54:49 what do you mean it doesn't respond to touch? 2011-05-02T09:54:49 like make 2011-05-02T09:54:49 ahh, yeah 2011-05-02T09:54:49 it only cares if the file is different 2011-05-02T09:55:02 uses filesize, or quickly hashes it? 2011-05-02T09:55:24 git hashes everything 2011-05-02T09:55:37 git is designed to be very very fast, I assume it uses a few heuristics 2011-05-02T09:56:27 i beleive it still cannot hash Chuck Norris 2011-05-02T09:57:22 *** sigh has quit IRC (Read error: Connection reset by peer) 2011-05-02T09:58:13 *** sigh has joined #aichallenge 2011-05-02T09:58:36 if you type: "git diff" you can see the changes you've made since your last commit 2011-05-02T09:59:20 it's always quite fast :) 2011-05-02T10:00:07 yep ist a simple diff output 2011-05-02T10:00:34 *** delt0r has joined #aichallenge 2011-05-02T10:05:58 that should be enough to get you started for now, but I do recommend glancing at a tutorial 2011-05-02T10:10:14 yeah, thanks 2011-05-02T10:10:34 i will definitely look at the turotial when i need to retrieve a prev.version :D 2011-05-02T10:14:47 *** sigh has quit IRC (Remote host closed the connection) 2011-05-02T10:15:21 *** Eruonen has joined #aichallenge 2011-05-02T10:16:57 *** _0x47 <_0x47!~slash@p3EE0A751.dip.t-dialin.net> has joined #aichallenge 2011-05-02T10:19:31 *** delt0r has quit IRC (Read error: Connection reset by peer) 2011-05-02T10:19:35 *** delt0r___ has joined #aichallenge 2011-05-02T10:42:58 hey guys, will you implement some kind of timeout mechanism? 2011-05-02T10:43:35 for example if youre bot thinks for too long then you return, and make a faster decision? 2011-05-02T10:49:45 *** delt0r___ has quit IRC (Ping timeout: 240 seconds) 2011-05-02T10:50:32 *** Frontier has joined #aichallenge 2011-05-02T10:57:37 *** amstan has joined #aichallenge 2011-05-02T10:57:37 *** ChanServ sets mode: +o amstan 2011-05-02T10:57:46 *** delt0r has joined #aichallenge 2011-05-02T11:21:14 *** smiley1983 has quit IRC (Ping timeout: 258 seconds) 2011-05-02T11:22:08 *** smiley1983 has joined #aichallenge 2011-05-02T11:29:09 morning 2011-05-02T11:30:54 *** boegel has quit IRC (Ping timeout: 248 seconds) 2011-05-02T11:34:17 antimatroid to answer your question yes, its too hard to resist tinkering 2011-05-02T11:45:47 *** delt0r__ has joined #aichallenge 2011-05-02T11:55:26 *** janzert has quit IRC (Ping timeout: 248 seconds) 2011-05-02T12:01:56 *** janzert has joined #aichallenge 2011-05-02T12:06:43 *** delt0r has quit IRC (Read error: Operation timed out) 2011-05-02T12:16:52 *** _0x47 <_0x47!~slash@p3EE0A751.dip.t-dialin.net> has quit IRC (Read error: No route to host) 2011-05-02T12:55:29 *** fgump has joined #aichallenge 2011-05-02T12:59:01 mcstar: Even if none is provided, you can ask the kernel to return to you after some time interval. 2011-05-02T12:59:22 If you put it a fair time ahead of the time the judge uses, you'll probably get it in in time. 2011-05-02T12:59:36 (e.g. ask for an interrupt after 850 ms if the timeout is 1000 ms) 2011-05-02T13:00:30 oh, i meant in your ur own bot 2011-05-02T13:00:36 -ur 2011-05-02T13:00:38 e 2011-05-02T13:00:41 sry 2011-05-02T13:00:58 so i didnt mean that the bot-running system should implement it 2011-05-02T13:01:29 (I didn't read backlog, so forgive me if I'm being dense.) 2011-05-02T13:01:52 theres no backlog for that, i mean it was 2 lines :) 2011-05-02T13:02:04 i wont use C 2011-05-02T13:02:09 but im curious 2011-05-02T13:02:16 how would u implement it in it? 2011-05-02T13:02:31 setitimer 2011-05-02T13:02:35 oh 2011-05-02T13:02:37 (bindings for other language exist as well) 2011-05-02T13:02:49 so its standard 2011-05-02T13:02:55 On Linux it is. :P 2011-05-02T13:02:55 ive never seen it 2011-05-02T13:03:03 Not sure about various other OSes. 2011-05-02T13:03:13 But I'm pretty sure you can get at it in at least Python and probably other languages as well. 2011-05-02T13:03:14 i dont care about other oses :) 2011-05-02T13:03:35 *** boegel has joined #aichallenge 2011-05-02T13:03:50 so what im really interested in 2011-05-02T13:04:02 is that is it common to use such a feature? 2011-05-02T13:04:12 bot-wise 2011-05-02T13:04:23 Hypothesis: no. Evidence: I have none. 2011-05-02T13:04:30 ok 2011-05-02T13:04:42 ur an organizer right? 2011-05-02T13:04:47 and wont partizipate? 2011-05-02T13:05:09 I probably won't participate, though I'm not entirely sure whether I count as an organizer at this point. 2011-05-02T13:05:17 in the tron contest, it was commonplace 2011-05-02T13:05:23 (setitimer) 2011-05-02T13:05:33 OK, there you go. 2011-05-02T13:05:38 how much time was there to think? 2011-05-02T13:05:45 it was the only reliable way to ensure you took <1s, actually, since the servers were so... well, let's just say there was a lot of variance in CPU cycles you got 2011-05-02T13:05:49 1 second 2011-05-02T13:06:04 i see 2011-05-02T13:06:09 i anticipate ants being much the same 2011-05-02T13:06:22 so u would definitely implement it? 2011-05-02T13:06:26 mcstar: are you using common lisp? sorry, only partly listening in here 2011-05-02T13:06:33 yep 2011-05-02T13:06:44 i found a package 2011-05-02T13:06:48 which does this 2011-05-02T13:06:48 i'm certain in sbcl there's a way to invoke a setitimer and capture the alarm signal 2011-05-02T13:07:02 yes, i can manage 2011-05-02T13:07:05 i think 2011-05-02T13:07:26 and do u participate now? 2011-05-02T13:07:33 i beleive u won the tron contest 2011-05-02T13:07:39 right? 2011-05-02T13:07:45 i did. i participated in planetwars but kinda sucked at it 2011-05-02T13:08:10 i had all sorts of really great ideas that turned out to be useless, and eventually gave up 2011-05-02T13:08:24 ur name rhymes with Lord Nikon 2011-05-02T13:08:40 it does. 2011-05-02T13:08:57 i should have come up with a less crappy one. 2011-05-02T13:09:04 but hey, the domain was open 2011-05-02T13:09:21 so how about now? 2011-05-02T13:09:31 are u coding? 2011-05-02T13:09:48 you mean, am i planning to enter the ants contest? 2011-05-02T13:09:53 yep 2011-05-02T13:09:59 i most likely will but don't know how much time i can devote to it 2011-05-02T13:10:23 well, have time and good luck 2011-05-02T13:10:28 heh, thanks 2011-05-02T13:11:00 hey, didn't bocsimacko use sbcl, with a setitimer equivalent for planetwars? 2011-05-02T13:11:32 im not sure 2011-05-02T13:11:36 i glanced over the code 2011-05-02T13:11:44 but didnt find such 2011-05-02T13:11:53 *** Yureka has quit IRC (*.net *.split) 2011-05-02T13:11:54 *** davidd has quit IRC (*.net *.split) 2011-05-02T13:11:54 *** slkjcna has quit IRC (*.net *.split) 2011-05-02T13:11:54 *** jmpespxoreax has quit IRC (*.net *.split) 2011-05-02T13:11:55 *** mcsmash has quit IRC (*.net *.split) 2011-05-02T13:12:04 i will check back on it 2011-05-02T13:12:09 i mean i wasnt looking for it :) 2011-05-02T13:12:41 *** Yureka has joined #aichallenge 2011-05-02T13:12:41 *** davidd has joined #aichallenge 2011-05-02T13:12:41 *** slkjcna has joined #aichallenge 2011-05-02T13:12:41 *** jmpespxoreax has joined #aichallenge 2011-05-02T13:12:41 *** mcsmash has joined #aichallenge 2011-05-02T13:12:48 *** znutar has quit IRC (Excess Flood) 2011-05-02T13:12:52 *** znutar_ has joined #aichallenge 2011-05-02T13:15:50 morning fokls 2011-05-02T13:15:51 folks* 2011-05-02T13:15:56 morning bhasker 2011-05-02T13:16:03 how goes it 2011-05-02T13:16:15 good. i probably slept more than you last night but most likely not much 2011-05-02T13:16:35 hehe actually our daughter is getting settled in, she woke us up only twice yesterday night 2011-05-02T13:16:43 and slept for 3+ hrs after feeding 2011-05-02T13:16:51 so we got some good sleep 2011-05-02T13:16:54 yeah, i guess that's the best you can hope for 2011-05-02T13:16:59 yup 2011-05-02T13:17:06 most people don't consider 3 hours of sleep much, but yeah you get used to it. 2011-05-02T13:17:22 i think as long as totally i get 6-7 hrs of sleep i am fine 2011-05-02T13:17:51 how are things at work 2011-05-02T13:19:22 oh, deliverywise ok. a news-making farm breakage last week. 2011-05-02T13:20:08 yea saw it on the news and twitter 2011-05-02T13:20:15 i was just glad that it wasn't delivery:) 2011-05-02T13:20:43 though it still blows that we had that big an outage 2011-05-02T13:20:51 to make it to news 2011-05-02T13:25:07 lol 2011-05-02T13:25:33 nice code to hide your email address in ascii art 2011-05-02T13:28:38 for(0..318){print(substr " _/\\\n<-,('`",$b,1),$b=-1 2011-05-02T13:28:38 if vec( 'PPddZD=KWAZO38R/I:[-@%-@I(E7%/55-O97./E7.'. 2011-05-02T13:28:38 'J79IO)cddddF',$_/6,8)-37>>$_%6&1;$b++} 2011-05-02T13:29:25 that is exactly why i hate perl 2011-05-02T13:29:33 hehe 2011-05-02T13:29:38 i dont know perl 2011-05-02T13:29:43 you're afraid to run that, because it downloads and executes a rootkit 2011-05-02T13:30:13 im afraid to parse it 2011-05-02T13:30:21 only perl can parse perl 2011-05-02T13:30:30 human can paerse perl too 2011-05-02T13:30:30 yup 2011-05-02T13:30:42 i guess 2011-05-02T13:30:44 bhasker: you saw this, right? http://a1k0n.net/code/donutmk2.c.txt 2011-05-02T13:32:08 my mind is officially blown 2011-05-02T13:32:14 i have no more intact fuse left 2011-05-02T13:32:46 it won the ioccc so hard they stopped having them 2011-05-02T13:33:02 haha 2011-05-02T13:33:07 man, its very nice 2011-05-02T13:33:14 heheh thanks 2011-05-02T13:33:15 i will show to my friends 2011-05-02T13:34:05 what the hell does that code do? 2011-05-02T13:34:17 it does what it says 2011-05-02T13:34:47 hmm not sure i see a pattern in the ascii art 2011-05-02T13:35:06 ? 2011-05-02T13:35:10 did u compile it? 2011-05-02T13:35:14 anyways 2011-05-02T13:35:18 not yet 2011-05-02T13:35:21 not running anything like this 2011-05-02T13:35:23 it looks better in a real terminal 2011-05-02T13:35:25 :D 2011-05-02T13:35:26 the timing is better 2011-05-02T13:35:27 hmm k 2011-05-02T13:35:31 let me see later 2011-05-02T13:35:33 brb 2011-05-02T13:35:36 and the black background helps 2011-05-02T13:35:41 you can stick a usleep in there on the lower-right 2011-05-02T13:35:47 where all those ;;;;;s are 2011-05-02T13:35:59 wasn't ANSI C so i didn't put it in 2011-05-02T13:38:02 if you are as good in game logic as in code-golf i dont stand a chance 2011-05-02T13:52:01 mcstar 10 way mayhem of my bot playing itself 2011-05-02T13:52:01 http://pastebin.com/2vLvsRM1 2011-05-02T13:53:33 what was magenta doing in the middle? 2011-05-02T13:53:53 let me have a look 2011-05-02T13:54:24 it froze after a bit 2011-05-02T13:55:37 oh i think it timed out 2011-05-02T13:55:50 10 of them running on my poor dual core 2011-05-02T13:55:52 laptop 2011-05-02T13:55:56 oh 2011-05-02T13:56:07 or it made a mistake and the engine dumped it 2011-05-02T13:56:10 i think there are still some bugs 2011-05-02T13:56:49 i hope there are 2011-05-02T13:56:54 lol why? 2011-05-02T13:56:54 ants must eat bugs 2011-05-02T13:57:15 i see a problem with the visualizer 2011-05-02T13:57:21 which is 2011-05-02T13:57:24 water is dark 2011-05-02T13:57:26 too dark 2011-05-02T13:57:33 i cant see the ants because of it 2011-05-02T13:57:44 ah k 2011-05-02T13:57:53 brb have to reboot laptop 2011-05-02T13:57:57 *** bhasker has quit IRC (Quit: bhasker) 2011-05-02T13:58:04 lol 2011-05-02T13:58:06 why? 2011-05-02T13:58:23 i compiled a new kernel? 2011-05-02T13:58:46 i->u 2011-05-02T14:05:36 where's that visualizer paste thingy again? 2011-05-02T14:05:52 i use a bash script 2011-05-02T14:06:04 its easier to give a filename then to copy paste :) 2011-05-02T14:06:05 oh, someone made a website 2011-05-02T14:06:16 i think bhasker did 2011-05-02T14:06:17 a1k0n: you could try this: http://home.hypertriangle.com/~alex/aichallenge/ants/visualizer/copy_paste.html 2011-05-02T14:06:23 a1k0n: it's in the repo 2011-05-02T14:06:31 amstan: perfect, thanks 2011-05-02T14:07:02 well, its http 2011-05-02T14:07:15 ha, if food spawns next to an ant and it doesn't move, does it still reproduce? 2011-05-02T14:07:18 im not sure i want to send my precious data thorugh the network unencrypted 2011-05-02T14:07:46 thats spwanradius isnt it? 2011-05-02T14:08:48 wow the visualizer is all slow and stuff with fog of war on 2011-05-02T14:09:24 in chromium its good enough 2011-05-02T14:10:43 wow you get 5000 points for being the last colony standing eh 2011-05-02T14:19:59 *** sids_aquarius_ has joined #aichallenge 2011-05-02T14:28:23 *** fgump has quit IRC (Quit: Leaving) 2011-05-02T14:28:58 *** choas has joined #aichallenge 2011-05-02T14:33:46 *** bhasker has joined #aichallenge 2011-05-02T14:42:05 bhasker: you back? 2011-05-02T14:42:13 bakc now 2011-05-02T14:42:17 back* 2011-05-02T14:42:18 why did you reboot? 2011-05-02T14:42:36 my vpn client was acting up and killing restarting daemon didn't fix it 2011-05-02T14:42:42 cisco vpn is a piece of crap 2011-05-02T14:43:04 the one with the kernel module? 2011-05-02T14:43:22 i think i used it too 2011-05-02T14:43:53 can i count on that any water tile is reported only once? 2011-05-02T14:47:51 *** kaemo has quit IRC (Ping timeout: 258 seconds) 2011-05-02T14:50:11 *** kaemo has joined #aichallenge 2011-05-02T14:51:01 i think so 2011-05-02T14:51:11 thats what the starter packages do i think 2011-05-02T14:53:56 *** Redgis has joined #aichallenge 2011-05-02T14:58:56 a1k0n: it's not set at 5000, there is a food bonus :P 2011-05-02T15:38:56 *** berak has quit IRC (Quit: ChatZilla 0.9.84 [SeaMonkey 2.0a3/20090223135443]) 2011-05-02T15:40:58 *** znutar_ has quit IRC (Quit: alice.) 2011-05-02T15:46:59 *** _0x47 <_0x47!~slash@p3EE0A751.dip.t-dialin.net> has joined #aichallenge 2011-05-02T15:47:08 *** znutar has joined #aichallenge 2011-05-02T15:52:16 *** Accoun has quit IRC () 2011-05-02T16:02:23 *** Frontier has quit IRC (Read error: Connection reset by peer) 2011-05-02T16:03:48 *** Accoun has joined #aichallenge 2011-05-02T16:07:49 i have a question 2011-05-02T16:07:59 what do i need to change in playgame.py 2011-05-02T16:08:08 to let the stderr show? 2011-05-02T16:08:32 i mean my bot writes to the stderr, but somehow playgame.py blocks it 2011-05-02T16:13:31 *** boegel has quit IRC (Quit: *poof!*) 2011-05-02T16:14:31 aha 2011-05-02T16:14:40 ok well -E 2011-05-02T16:14:56 but it says that its stderr by default 2011-05-02T16:15:11 *** orivej_ is now known as orivej 2011-05-02T16:18:19 ty very much 2011-05-02T16:18:22 my mistake 2011-05-02T16:18:32 i set my debug variable to nil 2011-05-02T16:22:23 *** amstan_ has joined #aichallenge 2011-05-02T16:22:23 *** ChanServ sets mode: +o amstan_ 2011-05-02T16:23:01 *** nann has joined #aichallenge 2011-05-02T16:25:55 *** nann is now known as Apophis__ 2011-05-02T16:27:05 *** Apophis has quit IRC (Ping timeout: 276 seconds) 2011-05-02T16:32:31 bhasker: are you there? 2011-05-02T16:33:13 here 2011-05-02T16:33:13 yup 2011-05-02T16:33:46 i dump what the engine says to the bot 2011-05-02T16:33:52 and i dont see the end keyword 2011-05-02T16:33:56 in the specifications 2011-05-02T16:33:59 on the wiki 2011-05-02T16:34:05 it supposed to be tehre 2011-05-02T16:34:36 like this for example: 2011-05-02T16:34:40 end 2011-05-02T16:34:41 players 2 2011-05-02T16:34:42 score 1 0 2011-05-02T16:34:44 go 2011-05-02T16:34:51 this is the end input from the engine 2011-05-02T16:35:26 *** bhasker has quit IRC (Quit: bhasker) 2011-05-02T16:36:30 *** bhasker has joined #aichallenge 2011-05-02T16:36:42 hmm no idea, should be there, unless the engine and spec are out of sync 2011-05-02T16:37:08 just check the python code 2011-05-02T16:37:10 in ants.py 2011-05-02T16:37:20 and play_game.py 2011-05-02T16:37:23 to see what it does 2011-05-02T16:38:00 i rewrote ants.py to dump raw_input() to stderr 2011-05-02T16:38:14 and it seems the server doesnt send end 2011-05-02T16:38:19 *** Apophis__ has quit IRC (Ping timeout: 240 seconds) 2011-05-02T16:38:25 sorry engine 2011-05-02T16:38:27 or worker 2011-05-02T16:40:22 *** delt0r has joined #aichallenge 2011-05-02T16:41:30 so can youre bot handle "end"? 2011-05-02T16:42:10 or you use "turns" for an exit condition? 2011-05-02T16:42:19 not sure i just used the c++ starter bot that antimatroid wrote up 2011-05-02T16:42:23 i haven't bothered rewriting that part 2011-05-02T16:42:30 ah 2011-05-02T16:42:33 ok 2011-05-02T16:42:41 i am going to rewrite that part later 2011-05-02T16:42:54 then i suppose the specs are a bit ahead of the worker 2011-05-02T16:43:16 might be 2011-05-02T16:49:04 *** Apophis has joined #aichallenge 2011-05-02T16:58:46 *** Naktibalda has quit IRC (Quit: ChatZilla 0.9.86.1 [Firefox 4.0.1/20110422205559]) 2011-05-02T16:59:14 *** jmpespxoreax has quit IRC (Read error: Connection reset by peer) 2011-05-02T17:01:31 *** jmpespxoreax has joined #aichallenge 2011-05-02T17:04:55 *** Mathnerd314 has joined #aichallenge 2011-05-02T17:32:46 aichallenge: janzert epsilon * r80b8556 / (5 files in 2 dirs): Make the sandbox actually use a restricted environment - http://bit.ly/mdtnVQ 2011-05-02T17:33:17 i like the sound of that 2011-05-02T17:34:16 next up is to sandbox compilation 2011-05-02T17:35:41 hey 2011-05-02T17:35:49 can any of u answer my questions? 2011-05-02T17:36:02 don't know :) 2011-05-02T17:36:10 i looked at engine.py 2011-05-02T17:36:29 and it really assembles the string which is suposed to be sent 2011-05-02T17:36:33 at the end of the game 2011-05-02T17:36:38 but 2011-05-02T17:36:52 even if i rewrite the cpp bug 2011-05-02T17:36:56 bog->bot 2011-05-02T17:36:57 sry 2011-05-02T17:37:05 and dump any input it gets 2011-05-02T17:37:12 those last lines arent show at all 2011-05-02T17:37:40 hmm 2011-05-02T17:37:43 the engine supposedly sends this: 2011-05-02T17:37:46 end 2011-05-02T17:37:48 players 4 2011-05-02T17:37:49 score 1 1 1 6 2011-05-02T17:37:50 sigh is the one to really look into it 2011-05-02T17:37:51 a 18 60 0 2011-05-02T17:37:52 f 12 59 2011-05-02T17:37:54 f 14 57 2011-05-02T17:37:55 f 15 63 2011-05-02T17:37:57 f 17 64 2011-05-02T17:37:58 f 19 63 2011-05-02T17:38:00 go 2011-05-02T17:38:01 for every bot in the end 2011-05-02T17:38:15 only to the bots that survive to the end 2011-05-02T17:38:25 for every bot 2011-05-02T17:38:30 ends 2011-05-02T17:38:30 and my guess is that the call to game.finish_game is marking all bots not alive 2011-05-02T17:38:32 players 2011-05-02T17:38:34 scores 2011-05-02T17:38:35 go 2011-05-02T17:38:38 are sent to every bot 2011-05-02T17:38:51 aha 2011-05-02T17:38:58 well someone changed the specs then if that is true 2011-05-02T17:39:07 and also impossible to do in the general case 2011-05-02T17:39:11 in antimatroid's cpp bot he checks for end 2011-05-02T17:39:14 *** tvorryn has joined #aichallenge 2011-05-02T17:39:22 and he flips a variable 2011-05-02T17:39:26 most bots wont be running by the end of the game 2011-05-02T17:39:48 what do you mean? 2011-05-02T17:39:51 why wont they? 2011-05-02T17:40:04 because they'll be shut down after they are dead 2011-05-02T17:40:18 but then they cant get the players/score info 2011-05-02T17:40:36 btw, I'm still completely opposed to giving that information to bots at all 2011-05-02T17:40:37 look at this 2011-05-02T17:40:40 middle of the page 2011-05-02T17:40:43 https://github.com/aichallenge/aichallenge/wiki/Ant-bot-input-output 2011-05-02T17:40:51 rly? 2011-05-02T17:40:58 yes :) 2011-05-02T17:41:14 so I'm probably not the guy to try and get to fix it ;) 2011-05-02T17:41:23 im just wondering what good it is? 2011-05-02T17:41:33 can the bots write to files? 2011-05-02T17:41:43 on the real server it is completely useless and encourages bad behavior 2011-05-02T17:41:48 no they aren't suppose to 2011-05-02T17:41:59 so they cant communicate with the outside world 2011-05-02T17:42:10 can't do that either 2011-05-02T17:42:24 and no state is carried from one game to the next 2011-05-02T17:42:30 then theres no point in sending any end-game parameters 2011-05-02T17:42:35 each game is as if the bot was just uploaded 2011-05-02T17:42:38 exactly 2011-05-02T17:42:47 ok ill rewrite mine then 2011-05-02T17:42:52 not to use end at all 2011-05-02T17:42:57 what are the steps to compile and test a java bot? 2011-05-02T17:43:28 dunno 2011-05-02T17:43:42 but theres a makefile in the directory 2011-05-02T17:43:52 have u tried that? 2011-05-02T17:44:02 tvorryn: sorry I really don't know either 2011-05-02T17:44:59 i assume you change the play_one_game script to something like "java path/to/dir/FileName.class" 2011-05-02T17:45:24 also guessing from the makefile it looks like it is just "javac MyBot.java" to compile it first 2011-05-02T17:45:39 i think u have to get a jar file 2011-05-02T17:45:53 but thats right, u have to change that string 2011-05-02T17:46:00 to java -jar MyBot.jar 2011-05-02T17:46:03 or something 2011-05-02T17:46:14 the makefile doesn't seem to create a jar 2011-05-02T17:46:25 ok 2011-05-02T17:46:28 i manually compiled the files into .class files and tried runing that, then tried jarring it and running it 2011-05-02T17:46:34 i got funy errors both time 2011-05-02T17:47:04 does it work with the default bots? 2011-05-02T17:47:06 do makefiles work on Windows? 2011-05-02T17:47:16 if u have make 2011-05-02T17:47:17 they can but you need to get make installed 2011-05-02T17:47:24 yeah, it'll play a game with he python bots 2011-05-02T17:47:34 u need a linux environment 2011-05-02T17:47:37 cygwin 2011-05-02T17:47:44 install cygwin you mean? 2011-05-02T17:47:49 make is part of it 2011-05-02T17:47:53 *** Crivens has quit IRC (Read error: Connection reset by peer) 2011-05-02T17:47:57 u cant get without it 2011-05-02T17:48:09 does the java bot work when run directly? 2011-05-02T17:48:17 no 2011-05-02T17:48:22 but u dont have to use make 2011-05-02T17:48:28 of that im sure 2011-05-02T17:49:00 did you get a MyBot.class file? 2011-05-02T17:50:10 yeah, then running "java MyBot.class" throws an error 2011-05-02T17:50:28 can you pastebin it? 2011-05-02T17:51:30 Could not find the main class: MyBot.class. Program will exit. 2011-05-02T17:51:32 actually the correct command line for linux at least seems to be java MyBot 2011-05-02T17:51:50 don't add the .class extension 2011-05-02T17:52:08 and that is the same error I get if I do "java MyBot.class" 2011-05-02T17:52:09 same 2011-05-02T17:52:26 http://pastebin.com/m8FWXnBT 2011-05-02T17:52:41 ahh 2011-05-02T17:52:55 thanks, now I feel a little dumb 2011-05-02T17:53:37 np, it's a little amazing and really nice how frequently talking a programming problem out can solve it 2011-05-02T17:54:19 i've never used java on the cl, only c and cpp 2011-05-02T17:54:33 that's my excuse: IDEs 2011-05-02T17:54:54 huh? 2011-05-02T17:54:57 what is solved? 2011-05-02T17:55:05 java MyBot runs it? 2011-05-02T17:55:08 tvorryn: :) 2011-05-02T17:55:33 doesn't throw an error 2011-05-02T17:55:39 i'm setting up a test game 2011-05-02T17:55:44 its the same for me :( 2011-05-02T17:56:43 tvorryn: to double check the bot itself is working you can type in "ready" the press enter and should get "go" back from the bot 2011-05-02T17:56:58 mcstar: what is the same for you? 2011-05-02T17:57:11 it still not works 2011-05-02T17:57:24 do you have MyBot.class file in the directory you run "java MyBot" in? 2011-05-02T17:57:30 i have 2011-05-02T17:57:37 janzert: it replies go, thanks for the tip 2011-05-02T17:57:57 javac *.java 2011-05-02T17:58:00 then 2011-05-02T17:58:03 java MyBot 2011-05-02T17:58:09 or java MyBot.class 2011-05-02T17:58:20 the same error as before 2011-05-02T17:58:21 *** choas has quit IRC (Quit: leaving) 2011-05-02T17:58:24 and what he got 2011-05-02T17:58:39 hmm, weird 2011-05-02T17:59:02 btw, just javac MyBot.java should compile everything needed 2011-05-02T17:59:08 the compilations works, theres a corresponding .class for every .java 2011-05-02T17:59:11 ok 2011-05-02T17:59:15 ill try that 2011-05-02T17:59:16 not that *.java should hurt anything 2011-05-02T17:59:41 hm 2011-05-02T17:59:44 its different 2011-05-02T17:59:48 javac MyBot.java 2011-05-02T17:59:55 and i get A LOT of errors 2011-05-02T18:00:08 2 page full of MyBot.java:3: cannot find symbol 2011-05-02T18:00:26 :( 2011-05-02T18:00:28 and i have sun jdk/jre 2011-05-02T18:00:37 *** ltriant has joined #aichallenge 2011-05-02T18:00:47 not that i care about java in any way :) 2011-05-02T18:00:55 i just wanted to try it 2011-05-02T18:01:52 unfortunately I'm about at the limit of my java debugging ability :P 2011-05-02T18:01:57 now ... how do i see the results of the game? i read something about starting up a server ... 2011-05-02T18:02:10 think I'm using openjdk here but that shouldn't be the problem 2011-05-02T18:02:45 in ants/visualizer open up copy_paste.html 2011-05-02T18:02:46 look in visualizer directory at visualize_locally.py 2011-05-02T18:02:57 or that 2011-05-02T18:03:01 or use the copy paste method :) 2011-05-02T18:03:17 you tell him, 2011-05-02T18:03:46 go ahead, I haven't actually done the visualize_locally method either ;) 2011-05-02T18:04:04 just saw the conversation that is there now 2011-05-02T18:04:43 :) 2011-05-02T18:04:46 tvorryn: 2011-05-02T18:04:50 open that file 2011-05-02T18:04:55 done it? 2011-05-02T18:06:05 *** Redgis has quit IRC (Quit: ... mains libres) 2011-05-02T18:06:28 hey ho tvorryn 2011-05-02T18:06:48 *** _0x47 <_0x47!~slash@p3EE0A751.dip.t-dialin.net> has quit IRC (Quit: Leaving.) 2011-05-02T18:07:26 got it working 2011-05-02T18:07:40 ok 2011-05-02T18:08:32 copypasted ants/viewer/0.replay into form at ants/visualizer/copy_paste.htm 2011-05-02T18:08:49 yes 2011-05-02T18:09:02 mcstar: got distracted watching the game, sorry 2011-05-02T18:09:09 np 2011-05-02T18:09:11 *** amstan has quit IRC (Ping timeout: 240 seconds) 2011-05-02T18:09:57 *** computerwiz_222 has joined #aichallenge 2011-05-02T18:13:43 *** sigh has joined #aichallenge 2011-05-02T18:19:49 *** mceier has quit IRC (Quit: leaving) 2011-05-02T18:30:58 *** sigh has quit IRC (Remote host closed the connection) 2011-05-02T18:39:49 it seems to me engine.py shuts off the IO pipes before my bot can say goodbye 2011-05-02T18:49:45 what's the best way to do debug info for yourself? 2011-05-02T18:50:34 won't printing stuff to stdout break the replay? 2011-05-02T18:51:50 *** Yureka has quit IRC (Quit: leaving) 2011-05-02T18:56:27 *** computerwiz_222 has quit IRC (Read error: Operation timed out) 2011-05-02T18:58:39 *** dlila has joined #aichallenge 2011-05-02T19:01:53 *** FireFly has quit IRC (Quit: swatted to death) 2011-05-02T19:01:54 *** computerwiz_222 has joined #aichallenge 2011-05-02T19:17:06 stderr 2011-05-02T19:17:47 (format *error-output* "stuff) 2011-05-02T19:18:01 print >> sys.stderr, "stuff" 2011-05-02T19:18:09 cerr << "stuff" 2011-05-02T19:18:39 fprintf(stderr,"stuff") 2011-05-02T19:18:48 i only know these 2011-05-02T19:18:55 but may be similar in java 2011-05-02T19:26:42 *** kaemo has quit IRC (Ping timeout: 240 seconds) 2011-05-02T19:27:05 *** needsch has quit IRC (Quit: Leaving.) 2011-05-02T19:34:59 *** Accoun has quit IRC () 2011-05-02T19:48:49 *** Cyndre has joined #aichallenge 2011-05-02T20:03:11 *** Accoun has joined #aichallenge 2011-05-02T20:13:43 *** mcstar has quit IRC (Remote host closed the connection) 2011-05-02T20:15:17 which bots play the best of the ones provided? 2011-05-02T20:16:47 and for curiosity's sake, have you ranked them with the trueskill system? 2011-05-02T20:17:37 aichallenge: McLeopold epsilon * r7053717 / sql/2_generate_matchup.sql : fixed duplicate users in matchup - http://bit.ly/mxKYwL 2011-05-02T20:30:54 aichallenge: McLeopold epsilon * rea73589 / (sql/2_generate_matchup.sql worker/worker.py): updated generate matchup sql - http://bit.ly/loTsz9 2011-05-02T20:32:12 aichallenge: McLeopold epsilon * r7deb2f5 / manager/create_test_bot.py : fixed test bot creation dir issue - http://bit.ly/l354pQ 2011-05-02T20:39:51 *** antimatroid has quit IRC (Ping timeout: 246 seconds) 2011-05-02T20:50:20 *** antimatroid has joined #aichallenge 2011-05-02T20:57:33 *** nann has joined #aichallenge 2011-05-02T21:01:13 *** Apophis has quit IRC (Ping timeout: 258 seconds) 2011-05-02T21:02:50 *** Mathnerd314 has quit IRC (Read error: Connection reset by peer) 2011-05-02T21:08:13 *** Sunhay has quit IRC (Ping timeout: 246 seconds) 2011-05-02T21:09:02 *** Sunhay has joined #aichallenge 2011-05-02T21:26:43 .. the engine should be sending end to every bot on the turn they stop participarting 2011-05-02T21:26:53 or at the end for local engines 2011-05-02T21:27:07 and bots can write to file locally for training purposes 2011-05-02T21:27:26 a bot that is submitted to the servers should already be "trained" if that's what one wants to do though 2011-05-02T21:27:51 *** delt0r___ has joined #aichallenge 2011-05-02T21:28:05 janzert: the plan is to just kill off any bot processes if they die on the official servers, and of course not allow bots to write to file 2011-05-02T21:29:12 *** delt0r has quit IRC (Ping timeout: 246 seconds) 2011-05-02T21:30:03 *** Mathnerd314 has joined #aichallenge 2011-05-02T21:33:30 *** computerwiz_222 has quit IRC (Read error: Connection reset by peer) 2011-05-02T21:33:45 *** computerwiz_222 has joined #aichallenge 2011-05-02T21:51:54 *** computerwiz_222 has quit IRC (Ping timeout: 240 seconds) 2011-05-02T21:51:58 *** computerwiz_222 has joined #aichallenge 2011-05-02T21:55:54 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has joined #aichallenge 2011-05-02T21:56:16 *** chris___0076 has joined #aichallenge 2011-05-02T21:59:04 *** chris__0076 has quit IRC (Ping timeout: 240 seconds) 2011-05-02T22:11:45 *** tvorryn has quit IRC (Quit: Page closed) 2011-05-02T22:16:27 *** chris___0076 has quit IRC (Quit: Leaving) 2011-05-02T22:22:38 *** computerwiz_222 has quit IRC (Quit: Konversation terminated!) 2011-05-02T22:25:06 *** computerwiz_222 has joined #aichallenge 2011-05-02T22:25:10 *** amstan_ has quit IRC (Read error: No route to host) 2011-05-02T22:25:26 *** amstan has joined #aichallenge 2011-05-02T22:25:26 *** ChanServ sets mode: +o amstan 2011-05-02T22:56:40 *** computerwiz_222 has quit IRC (Ping timeout: 240 seconds) 2011-05-02T23:02:26 *** amstan_ has joined #aichallenge 2011-05-02T23:02:26 *** ChanServ sets mode: +o amstan_ 2011-05-02T23:02:43 *** jaycobcoleman has joined #aichallenge 2011-05-02T23:05:55 *** amstan has quit IRC (Ping timeout: 260 seconds) 2011-05-02T23:11:34 *** dlila has quit IRC (Quit: Leaving) 2011-05-02T23:11:50 *** amstan_ is now known as amstan 2011-05-02T23:12:21 *** jmpespxoreax has quit IRC (Changing host) 2011-05-02T23:12:21 *** jmpespxoreax has joined #aichallenge 2011-05-02T23:13:30 *** smiley1983 has quit IRC (Quit: leaving) 2011-05-02T23:18:42 *** computerwiz_222 has joined #aichallenge 2011-05-02T23:37:53 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has quit IRC (Quit: Lost terminal) 2011-05-02T23:51:51 *** computerwiz_222 has quit IRC (Remote host closed the connection)