2011-05-11T00:14:33 *** janzert has quit IRC (Ping timeout: 240 seconds) 2011-05-11T00:23:42 *** Meatkat has joined #aichallenge 2011-05-11T00:30:47 aichallenge: McLeopold setup-test * rcb61134 / setup/server_setup.py : Merge branch 'setup-test' of https://github.com/aichallenge/aichallenge into setup-test - http://bit.ly/mKudFa 2011-05-11T00:32:04 *** orivej_ has quit IRC (Ping timeout: 260 seconds) 2011-05-11T00:42:47 *** Meatkat has quit IRC (Ping timeout: 276 seconds) 2011-05-11T00:43:41 *** Meatkat has joined #aichallenge 2011-05-11T00:49:45 *** Meatkat has quit IRC (Ping timeout: 240 seconds) 2011-05-11T00:50:29 *** Meatkat has joined #aichallenge 2011-05-11T00:54:22 *** Cyndre_ is now known as Cyndre 2011-05-11T00:59:26 *** delt0r_ has joined #aichallenge 2011-05-11T01:00:58 *** delt0r___ has quit IRC (Ping timeout: 248 seconds) 2011-05-11T01:17:25 *** vikhyat has joined #aichallenge 2011-05-11T01:27:37 *** McLeopold has quit IRC (Read error: Connection reset by peer) 2011-05-11T01:39:06 *** qacek has joined #aichallenge 2011-05-11T01:41:15 What is meant by "radius squared" in the bot input? 2011-05-11T01:57:37 *** Ice_Harley has joined #aichallenge 2011-05-11T01:59:27 *** ahmedhelal has quit IRC (Read error: No route to host) 2011-05-11T02:00:01 *** ahmedhelal has joined #aichallenge 2011-05-11T02:15:05 *** Meatkat has quit IRC (Ping timeout: 276 seconds) 2011-05-11T02:17:44 *** antimatroid has quit IRC (Read error: Connection reset by peer) 2011-05-11T02:18:01 *** antimatroid has joined #aichallenge 2011-05-11T02:34:27 qacek: did you get a response? 2011-05-11T02:34:38 you get passed the radius squared, so it will definitely be an integer 2011-05-11T02:34:50 so say the view radius was 9, you would be passed view2 = 81 2011-05-11T02:34:58 but then we can have non-integer distances 2011-05-11T02:35:20 *** orivej has joined #aichallenge 2011-05-11T02:47:44 antimatroid: thanks antimatroid, I figured out it by looking at a bot in a different language 2011-05-11T02:49:26 I was confused about whether or not it was somehow measuring manhattan or euclidean distance or something else 2011-05-11T02:49:39 in hindsight it makes sense that its euclidean though 2011-05-11T02:51:59 *** berak has joined #aichallenge 2011-05-11T02:56:01 *** janzert has joined #aichallenge 2011-05-11T03:03:21 *** orivej has quit IRC (Ping timeout: 252 seconds) 2011-05-11T03:07:49 qacek: I actually wish we hadn't used euclidean in the end 2011-05-11T03:07:54 it makes some things stupidly complicated 2011-05-11T03:08:36 we should have just used the manhatten or chebyshev metric 2011-05-11T03:08:47 but it's way too late to change anything like that 2011-05-11T03:25:13 *** vikhyat has quit IRC (Ping timeout: 240 seconds) 2011-05-11T03:28:50 *** AlliedEnvy has quit IRC (Remote host closed the connection) 2011-05-11T03:33:44 *** AlliedEnvy has joined #aichallenge 2011-05-11T03:34:36 *** ltriant has quit IRC (Quit: Computer has gone to sleep) 2011-05-11T03:37:25 *** vikhyat has joined #aichallenge 2011-05-11T03:42:51 *** qacek has quit IRC (Quit: WeeChat 0.3.4) 2011-05-11T03:44:29 *** Ice_Harley has quit IRC (Ping timeout: 252 seconds) 2011-05-11T03:50:48 *** janzert has quit IRC (Read error: Connection reset by peer) 2011-05-11T04:08:01 *** Ice_Harley has joined #aichallenge 2011-05-11T04:08:26 antimatroid: did you see my question? 2011-05-11T04:08:36 no? 2011-05-11T04:09:08 antimatroid: in position "a.**" how many turns we need to collect all food? 2011-05-11T04:09:17 1 or 2? 2011-05-11T04:09:27 2 2011-05-11T04:09:36 ok, thanks 2011-05-11T04:09:41 np 2011-05-11T04:10:05 *** mcstar has joined #aichallenge 2011-05-11T04:10:07 *** needsch has joined #aichallenge 2011-05-11T04:14:04 *** Naktibalda has joined #aichallenge 2011-05-11T04:15:07 hello, how do i set the metadata for the visualizer ? some example json would help 2011-05-11T04:18:33 no idea sorry :P 2011-05-11T04:19:44 i'll ask later, when frontier's around.. 2011-05-11T04:26:26 *** janzert has joined #aichallenge 2011-05-11T04:28:23 *** orivej has joined #aichallenge 2011-05-11T04:47:17 *** vikhyat has quit IRC (Remote host closed the connection) 2011-05-11T05:12:30 *** amstan has quit IRC (Remote host closed the connection) 2011-05-11T05:17:29 *** Cyndre has quit IRC (Quit: Leaving) 2011-05-11T05:19:23 *** orivej has quit IRC (Ping timeout: 252 seconds) 2011-05-11T05:28:52 *** needsch has quit IRC (Quit: Leaving.) 2011-05-11T05:33:33 *** sigh has joined #aichallenge 2011-05-11T06:02:53 *** orivej has joined #aichallenge 2011-05-11T06:12:44 *** orivej has quit IRC (Ping timeout: 260 seconds) 2011-05-11T06:14:45 *** _0x47 <_0x47!~slash@p3EE0A919.dip.t-dialin.net> has joined #aichallenge 2011-05-11T06:28:56 *** orivej has joined #aichallenge 2011-05-11T06:35:17 *** antimatroid has quit IRC (Ping timeout: 276 seconds) 2011-05-11T06:41:50 *** orivej has quit IRC (Ping timeout: 246 seconds) 2011-05-11T06:49:27 *** _0x47 <_0x47!~slash@p3EE0A919.dip.t-dialin.net> has quit IRC (Quit: Leaving.) 2011-05-11T06:58:37 *** orivej has joined #aichallenge 2011-05-11T06:58:57 *** _0x47 <_0x47!~slash@p3EE0A919.dip.t-dialin.net> has joined #aichallenge 2011-05-11T07:10:52 *** orivej has quit IRC (Ping timeout: 240 seconds) 2011-05-11T07:15:32 *** antimatroid has joined #aichallenge 2011-05-11T07:19:49 *** needsch has joined #aichallenge 2011-05-11T07:23:22 *** Eruonen has joined #aichallenge 2011-05-11T07:28:12 *** orivej has joined #aichallenge 2011-05-11T07:39:40 *** orivej has quit IRC (Ping timeout: 240 seconds) 2011-05-11T07:44:01 *** FireFly has joined #aichallenge 2011-05-11T07:45:30 *** _0x47 <_0x47!~slash@p3EE0A919.dip.t-dialin.net> has quit IRC (Quit: Leaving.) 2011-05-11T07:47:02 *** _0x47 <_0x47!~slash@p3EE0A919.dip.t-dialin.net> has joined #aichallenge 2011-05-11T08:22:43 *** berak has quit IRC (Ping timeout: 258 seconds) 2011-05-11T08:25:29 *** orivej has joined #aichallenge 2011-05-11T08:27:07 *** sigh has quit IRC (Remote host closed the connection) 2011-05-11T08:35:33 *** orivej has quit IRC (Ping timeout: 252 seconds) 2011-05-11T08:41:44 *** GeorgeSebastian has joined #aichallenge 2011-05-11T08:59:25 *** delt0r___ has joined #aichallenge 2011-05-11T09:01:02 *** delt0r_ has quit IRC (Ping timeout: 248 seconds) 2011-05-11T09:01:40 *** orivej has joined #aichallenge 2011-05-11T09:07:11 *** orivej has quit IRC (Ping timeout: 276 seconds) 2011-05-11T09:09:13 *** orivej has joined #aichallenge 2011-05-11T09:15:08 *** GeorgeSebastian has quit IRC (Ping timeout: 246 seconds) 2011-05-11T09:17:13 *** teuneboon has joined #aichallenge 2011-05-11T09:20:28 woohoo, my nodejs starter package works :) 2011-05-11T09:21:41 *** orivej has quit IRC (Ping timeout: 240 seconds) 2011-05-11T09:24:52 *** orivej has joined #aichallenge 2011-05-11T09:40:33 *** teuneboon has quit IRC (Quit: Page closed) 2011-05-11T09:45:21 *** amstan has joined #aichallenge 2011-05-11T09:45:21 *** ChanServ sets mode: +o amstan 2011-05-11T09:50:38 *** needsch has quit IRC (Read error: Connection reset by peer) 2011-05-11T09:51:20 aichallenge: Teun Beijers epsilon * rcc93b68 / (2 files): Did some code refactoring to make it even more OOP - http://bit.ly/mCYi0e 2011-05-11T09:51:24 aichallenge: Alexandru Stan epsilon * rc0a2237 / (2 files): 2011-05-11T09:51:24 aichallenge: Merge pull request #103 from teuneboon/epsilon 2011-05-11T09:51:24 aichallenge: Added javascript starter package through NodeJS - http://bit.ly/lvXBkX 2011-05-11T09:53:09 *** GeorgeSebastian has joined #aichallenge 2011-05-11T09:56:08 *** orivej_ has joined #aichallenge 2011-05-11T09:56:57 *** orivej has quit IRC (Ping timeout: 252 seconds) 2011-05-11T10:05:47 *** needsch has joined #aichallenge 2011-05-11T10:15:15 *** amstan has quit IRC (Ping timeout: 260 seconds) 2011-05-11T10:26:34 *** GeorgeSebastian has quit IRC (Ping timeout: 260 seconds) 2011-05-11T10:41:14 *** janzert has quit IRC (Read error: Connection reset by peer) 2011-05-11T10:44:27 *** Cyndre has joined #aichallenge 2011-05-11T10:44:44 *** Cyndre_ has joined #aichallenge 2011-05-11T10:45:26 *** janzert has joined #aichallenge 2011-05-11T11:23:19 *** Ice_Harley has quit IRC (Ping timeout: 252 seconds) 2011-05-11T11:39:24 *** berak has joined #aichallenge 2011-05-11T11:45:00 *** berak has quit IRC (Read error: Connection reset by peer) 2011-05-11T11:45:33 *** berak has joined #aichallenge 2011-05-11T12:02:26 *** orivej_ has quit IRC (Read error: Operation timed out) 2011-05-11T12:17:55 *** bhasker has joined #aichallenge 2011-05-11T12:46:11 *** bhasker has quit IRC (Quit: bhasker) 2011-05-11T12:51:18 *** Naktibalda has quit IRC (Quit: ChatZilla 0.9.86.1 [Firefox 4.0.1/20110413222027]) 2011-05-11T13:10:21 *** orivej has joined #aichallenge 2011-05-11T14:05:05 *** orivej has quit IRC (Ping timeout: 260 seconds) 2011-05-11T14:24:23 *** McLeopold has joined #aichallenge 2011-05-11T14:24:39 janzert: I just found a really fun bug 2011-05-11T14:24:49 os.chmod(filename, 0775) 2011-05-11T14:25:23 0775 is actually hex in python, so it was os.chmod(filename, 509). doh! 2011-05-11T14:26:18 *** orivej has joined #aichallenge 2011-05-11T14:28:26 you sure? http://pastebin.com/ERUHngz3 2011-05-11T14:28:35 actually it was 0755 -> 493, which is worse 2011-05-11T14:28:56 0 prefix makes it octal which is what chmod numerals are 2011-05-11T14:29:15 hmm... 2011-05-11T14:29:33 0755 should be u=rwx go=rx 2011-05-11T14:29:35 I've got d-wx-rw--wt on my compiled dir 2011-05-11T14:29:56 there's another spot passing 755 2011-05-11T14:30:09 ahh, that would be a bug 2011-05-11T14:30:20 got it backwards then 2011-05-11T14:33:30 fun little fact, chmod is pretty much the reason for octal literals in python and there was talk, although I don't know if it happened or not, about dropping them in python3 2011-05-11T14:34:00 that is fun 2011-05-11T15:08:23 *** berak_ has joined #aichallenge 2011-05-11T15:10:19 *** berak has quit IRC (Ping timeout: 240 seconds) 2011-05-11T15:15:08 *** berak_ has quit IRC (Read error: Connection reset by peer) 2011-05-11T15:15:35 *** CIA-33 has quit IRC (Ping timeout: 252 seconds) 2011-05-11T15:24:58 *** boegel has joined #aichallenge 2011-05-11T15:28:54 *** Redgis has joined #aichallenge 2011-05-11T15:29:02 *** amstan has joined #aichallenge 2011-05-11T15:29:02 *** ChanServ sets mode: +o amstan 2011-05-11T15:33:35 *** bhasker has joined #aichallenge 2011-05-11T15:42:58 janzert: I'm getting an error with running a functional test in the jail 2011-05-11T15:43:17 Could not change owner on /srv/chroot/jailuser1/scratch 2011-05-11T15:44:10 Exception sandbox.JailError: JailError('Jail object for jailuser1 freed without being released',) in > ignored 2011-05-11T15:48:49 is the setuid bit and owner correct on the jail_own program in worker? it should look like "-rwsrwx--- 1 root contest" 2011-05-11T15:49:01 i'll check 2011-05-11T15:49:21 nope 2011-05-11T15:49:27 -rwxrwx--- 2011-05-11T15:50:08 It seems like the server_setup didn't do any permissions correctly 2011-05-11T15:50:31 should be a line at the end of setup_base_chroot: run_cmd("chmod u=rwxs,g=rwx,o= jail_own") 2011-05-11T15:50:35 the www-data group wasn't applied to directories either 2011-05-11T15:51:45 I even used the command line chmod there so I could use symbolic settings to make it more obvious what it was doing :) 2011-05-11T15:52:19 I don't think it would have run at all, but the setup scripts were run as root right? 2011-05-11T15:52:34 yes, with sudo 2011-05-11T15:52:38 ok 2011-05-11T15:58:33 what's the easiest way to start over? rm -Rf /home/contest/* ? 2011-05-11T15:59:21 and rm -Rf /srv 2011-05-11T15:59:45 you'll need to remove the created users as well 2011-05-11T15:59:50 at least 2011-05-11T16:00:02 not sure of anything else 2011-05-11T16:00:25 what's the command for that? 2011-05-11T16:01:01 userdel 2011-05-11T16:01:18 *** Accoun has quit IRC () 2011-05-11T16:09:17 *** Redgis has quit IRC (Quit: ... mains libres) 2011-05-11T16:15:55 *** Accoun has joined #aichallenge 2011-05-11T16:22:26 *** Redgis has joined #aichallenge 2011-05-11T16:24:42 *** ahmedhelal has quit IRC (Read error: Connection reset by peer) 2011-05-11T16:34:28 *** kaemo has quit IRC (Read error: Operation timed out) 2011-05-11T16:51:43 *** boegel has quit IRC (Quit: Leaving) 2011-05-11T16:59:55 *** delt0r_ has joined #aichallenge 2011-05-11T17:01:11 *** delt0r___ has quit IRC (Ping timeout: 240 seconds) 2011-05-11T17:11:19 *** bhasker has quit IRC (Ping timeout: 240 seconds) 2011-05-11T17:22:44 *** Frontier has quit IRC (Read error: Connection reset by peer) 2011-05-11T17:24:56 *** bhasker has joined #aichallenge 2011-05-11T17:28:27 *** Mathnerd314 has joined #aichallenge 2011-05-11T17:39:11 *** Frontier has joined #aichallenge 2011-05-11T18:03:15 *** ltriant has joined #aichallenge 2011-05-11T18:10:50 *** Redgis has quit IRC (Quit: ... mains libres) 2011-05-11T18:13:54 *** _0x47 <_0x47!~slash@p3EE0A919.dip.t-dialin.net> has quit IRC (Quit: Leaving.) 2011-05-11T18:27:45 *** _flag <_flag!~flag@69.165.173.172> has joined #aichallenge 2011-05-11T18:41:13 *** FireFly has quit IRC (Quit: swatted to death) 2011-05-11T18:47:19 *** Bankai has joined #aichallenge 2011-05-11T18:52:46 *** Mathnerd314 has quit IRC (Disconnected by services) 2011-05-11T18:54:52 *** Mathnerd314_ has joined #aichallenge 2011-05-11T18:56:35 *** Mathnerd314_ is now known as Mathnerd314 2011-05-11T18:59:07 *** Frontier has quit IRC (Quit: Leaving.) 2011-05-11T18:59:31 *** Frontier has joined #aichallenge 2011-05-11T19:00:19 *** needsch has quit IRC (Quit: Leaving.) 2011-05-11T19:39:52 *** mcstar has quit IRC (Quit: WeeChat 0.3.4) 2011-05-11T19:58:59 *** Mathnerd314 has quit IRC (Ping timeout: 240 seconds) 2011-05-11T20:06:30 *** McLeopold has quit IRC (Read error: Connection reset by peer) 2011-05-11T20:58:59 *** bhasker has quit IRC (Ping timeout: 240 seconds) 2011-05-11T21:22:38 *** Cyndre has quit IRC (Quit: Leaving) 2011-05-11T21:29:10 *** bhasker has joined #aichallenge 2011-05-11T21:55:35 *** qacek has joined #aichallenge 2011-05-11T22:11:48 *** Eruonen has joined #aichallenge 2011-05-11T22:15:19 *** McLeopold has joined #aichallenge 2011-05-11T22:48:48 *** bhasker has quit IRC (Quit: bhasker) 2011-05-11T22:49:32 *** Mathnerd314 has joined #aichallenge