2010-10-12T00:00:12 except function defs that never get called 2010-10-12T00:00:42 sigh, what's this about a modified copybot? 2010-10-12T00:00:43 Top 10 players: Hazard(3957), felixcoto(3946), extrapostrophe(3861), sequoh(3856), MariusCG(3839), rsergio(3833), cfaftw(3827), davidjliu(3791), asavis(3784), EBraun(3781) 2010-10-12T00:00:46 *** Zeiris has quit IRC (Read error: Connection reset by peer) 2010-10-12T00:01:22 *** yasith has quit IRC (Ping timeout: 240 seconds) 2010-10-12T00:01:58 cfaftw: Zannick's the one with the copybot 2010-10-12T00:02:30 oh 2010-10-12T00:02:39 Zannick, you made a modified copybot? 2010-10-12T00:03:33 cfaftw: bswolf is the name on the main contest: http://www.ai-contest.com/profile.php?user_id=3886 2010-10-12T00:04:26 *** yasith has joined #aichallenge 2010-10-12T00:04:44 sigh, thanks, i just read the channel logs and it piqued my interest 2010-10-12T00:04:57 no worries 2010-10-12T00:05:24 copying sounds like an interesting tactic until you think about it, then it fails hard 2010-10-12T00:05:32 sort of like in Go :P 2010-10-12T00:05:45 lol... so much fun to watch, though 2010-10-12T00:05:58 his copybot, i mean 2010-10-12T00:06:14 did you watch the game he posted earlier: http://www.ai-contest.com/visualizer.php?game_id=5800022 2010-10-12T00:06:59 no... but his bot seems to break 2010-10-12T00:07:13 example? 2010-10-12T00:07:14 yeah i saw that one 2010-10-12T00:07:43 this is marked as a loss for him, so his bot actually did issue an invalid order: http://www.ai-contest.com/visualizer.php?game_id=5808409 2010-10-12T00:08:02 it's like he doesn't check of a planet actually has the ships needed to mimic a move 2010-10-12T00:08:09 check if* 2010-10-12T00:08:47 hm? 2010-10-12T00:08:58 haha, check out this loss: http://www.ai-contest.com/visualizer.php?game_id=5805164 2010-10-12T00:09:07 Zannick, we're watching your copy bot games 2010-10-12T00:09:22 huh, not sure what caused that 2010-10-12T00:09:30 there is checking going on 2010-10-12T00:09:58 * Zannick shrug 2010-10-12T00:10:15 invalid order here, too: http://www.ai-contest.com/visualizer.php?game_id=5803465 2010-10-12T00:10:23 done pasting links :) 2010-10-12T00:10:24 oh wait 2010-10-12T00:10:38 that's not the fixed copybot from tcp 2010-10-12T00:10:42 ha 2010-10-12T00:10:46 oh 2010-10-12T00:10:53 no wonder it's making invalid orders, that's a prebugfix bot 2010-10-12T00:10:57 link to your fixed copybot? 2010-10-12T00:11:06 there is none :P 2010-10-12T00:11:10 :( 2010-10-12T00:11:15 that copybot is hilarious to watch 2010-10-12T00:11:18 well 2010-10-12T00:11:22 cfaftw: it takes like 15 min to write one :P 2010-10-12T00:11:45 i'm sure 2010-10-12T00:12:58 I wrote one as a basic bot to test against ages ago, before quickly realizing how much it sucked :P 2010-10-12T00:13:58 i wonder, though, if a copy-bot could be fairly successful if it performs its own decision on turn 1, then proceeds to copy moves 2010-10-12T00:14:26 it's a bit hard to copy once the symmetry is broken 2010-10-12T00:14:28 i could reupload 2010-10-12T00:14:36 *** delt0r___ has joined #aichallenge 2010-10-12T00:14:55 it would be a good idea to test the new compile script 2010-10-12T00:15:27 test? isn't that what production is for? 2010-10-12T00:15:37 :P 2010-10-12T00:16:15 *** delt0r_ has quit IRC (Ping timeout: 260 seconds) 2010-10-12T00:18:32 *** O1athe has quit IRC (Ping timeout: 240 seconds) 2010-10-12T00:18:51 elo is still a mystery to me 2010-10-12T00:19:00 one day my bot will be #3 or 4 2010-10-12T00:19:06 then the next it will be 7 or 8 2010-10-12T00:19:22 amstan: one last request for the compile_anything script :) 2010-10-12T00:19:34 that's it! i need coke!@ 2010-10-12T00:19:44 ? 2010-10-12T00:19:56 i need sleep 2010-10-12T00:19:58 c'ya 2010-10-12T00:20:00 *** cfaftw has quit IRC (Quit: Leaving) 2010-10-12T00:20:07 * amstan *gulp* *gulp* *gulp* 2010-10-12T00:20:14 k, hold on 2010-10-12T00:20:17 Zannick: well.. nvm, just fire 2010-10-12T00:20:19 could you svn revert compile_anything.py then svn update compile_anything.py? 2010-10-12T00:20:49 Zannick: can you link me a changelog of what's in the new update? 2010-10-12T00:21:42 sure 2010-10-12T00:23:07 http://code.google.com/p/ai-contest/source/diff?path=/trunk/planet_wars/backend/compile_anything.py&format=side&r=427 2010-10-12T00:23:13 the update that's "uncommitted" there is http://code.google.com/p/ai-contest/source/diff?path=/trunk/planet_wars/backend/compile_anything.py&format=side&r=395&old_path=/trunk/planet_wars/backend/compile_anything.py&old=363 2010-10-12T00:23:54 it's rather large, the review was http://code.google.com/p/ai-contest/source/branch?spec=issue193&branch=/branches/compile_cleanup 2010-10-12T00:28:58 wow 2010-10-12T00:29:02 nice! 2010-10-12T00:29:14 classes for the compiler, much better 2010-10-12T00:29:24 :) 2010-10-12T00:29:30 not originally my idea, but thank you 2010-10-12T00:30:37 k 2010-10-12T00:32:11 updated 2010-10-12T00:32:26 great, thanks 2010-10-12T00:32:31 thank you 2010-10-12T00:33:07 whooosh! 2010-10-12T00:33:10 that compiled fast 2010-10-12T00:34:08 and i can tell it went through the new script, too, thanks to it now noting compile time. 2010-10-12T00:36:29 *** Cyndre_ is now known as Cyndre 2010-10-12T00:38:05 hahaha, my copybot is rank 774 after being 0-2 2010-10-12T00:43:20 that's not bad... next time try losing to stronger people 2010-10-12T00:43:32 i did my best :P 2010-10-12T00:43:39 :) 2010-10-12T00:53:33 *** antimatroid has joined #aichallenge 2010-10-12T00:54:56 check this out: http://www.google.com/search?q=inurl:http 2010-10-12T00:55:07 i present to you: The Internet! 2010-10-12T01:00:43 Top 10 players: felixcoto(3968), Hazard(3949), extrapostrophe(3870), sequoh(3852), davidjliu(3831), MariusCG(3826), cfaftw(3826), rsergio(3818), EBraun(3774), goldman(3759) 2010-10-12T01:12:00 Heh. 2010-10-12T01:14:04 *** tapwater has quit IRC (Quit: tapwater) 2010-10-12T01:14:54 *** Utkarsh has quit IRC (Ping timeout: 240 seconds) 2010-10-12T01:19:31 *** HakanD has joined #aichallenge 2010-10-12T01:20:12 *** Itkovian has quit IRC (Quit: Itkovian) 2010-10-12T01:20:33 *** Utkarsh has joined #aichallenge 2010-10-12T01:24:47 is there an admin on? 2010-10-12T01:27:39 ok seriously, this is ridiculous 2010-10-12T01:27:48 i just submitted the started package bot 2010-10-12T01:27:49 http://ai-contest.com/visualizer.php?game_id=5816999 2010-10-12T01:28:02 it failed to start. i swear it's like my name or something 2010-10-12T01:30:29 :( 2010-10-12T01:31:53 erm 2010-10-12T01:32:36 looks all right to me 2010-10-12T01:32:43 that may have been an old bot 2010-10-12T01:32:55 http://ai-contest.com/visualizer.php?game_id=5817148 2010-10-12T01:33:19 wow, two ids right next to other 2010-10-12T01:34:34 reupped the starter and it seemed to work that time 2010-10-12T01:34:39 this is really strange... 2010-10-12T01:35:02 i noticed two games on the earlier submission two that looked like they worked 2010-10-12T01:35:09 the one you linked must have been before that 2010-10-12T01:35:16 http://ai-contest.com/visualizer.php?game_id=5817253 first game with actual code uploaded seems to be doing ok 2010-10-12T01:35:23 so i think there is something wrong with your bot 2010-10-12T01:35:49 yeah 2010-10-12T01:35:52 i think it may have been cause i was putting it in a folder and then zipping it, is that possible? 2010-10-12T01:36:21 Zannick: Not sure if it's a problem right now but, the cloud servers won't pick up the compile_anything changes unless it's committed to the cloud branch as well. 2010-10-12T01:36:24 don't know, i do that 2010-10-12T01:36:46 janzert: hm, guess i'll look into it 2010-10-12T01:36:50 i.e. the cloud servers will still be compiling with the old version 2010-10-12T01:37:13 hm, my bot just made it through it's first game, we'll see if it continues to be ok... 2010-10-12T01:37:26 only problem I see is if your new version will compile things that the old one errors out on 2010-10-12T01:37:40 which IIRC C programs did? 2010-10-12T01:37:58 pjreddie: just curious, what did you submit so far today? there are 5 i see, starting oct 12 00:04:02 2010-10-12T01:38:29 starter only? 2010-10-12T01:38:40 before this working submission? 2010-10-12T01:38:40 no, the most recent was my actual code 2010-10-12T01:38:51 then there were 3 submissions of starter 2010-10-12T01:39:04 the second two seemed to work, the first one seemed not to 2010-10-12T01:39:28 that's four, what about the other one? 2010-10-12T01:39:35 that was my code too 2010-10-12T01:39:51 but an empty doturn method 2010-10-12T01:39:55 that just returned 2010-10-12T01:40:19 so either my compile change fixed your bot...or you got lucky 2010-10-12T01:40:20 weird 2010-10-12T01:40:47 Just noticed, don't just dump the new compile_anything into the cloud branch either 2010-10-12T01:41:27 the cloud tournament_manager calls the compile_anything.compile_function directly with only one argument 2010-10-12T01:41:41 instead of the two it now takes 2010-10-12T01:43:05 hm, that's not hard to work around 2010-10-12T01:43:30 yeah, should be an easy fix. just need to be sure to do it 2010-10-12T01:44:12 well my bot when it was having problems only had problems occasionally. like 1/5 of the time it'd run, and the other times it would crash, so we'll see 2010-10-12T01:44:19 ah 2010-10-12T01:49:54 *** rwa has joined #aichallenge 2010-10-12T01:56:40 janzert: how about this? http://pastebin.com/gajwrdcn 2010-10-12T01:57:56 i could also do "if not ret:" instead of leaving the check against err 2010-10-12T02:00:35 i probably should do that 2010-10-12T02:00:44 Top 10 players: felixcoto(3955), Hazard(3933), extrapostrophe(3864), davidjliu(3835), sequoh(3824), MariusCG(3812), cfaftw(3810), rsergio(3806), ofrias(3753), EBraun(3751) 2010-10-12T02:02:53 yeah, using the return value seems like the better check here 2010-10-12T02:02:53 okay, now it's http://pastebin.com/fN1cBzp5 2010-10-12T02:03:34 yeah, i'm worried there might be compile errors returning 1 from eg, g++, but no error message. 2010-10-12T02:04:24 yeah, that looks better. really it needs to get rewritten to use a temp directory with a rename after successfully compiling to avoid the race condition mentioned in the comment 2010-10-12T02:04:42 yeah 2010-10-12T02:04:54 i don't want to touch too much of danielvf's work yet, though 2010-10-12T02:05:00 yeah 2010-10-12T02:05:53 hmm, I wonder if some of the erroneous 1st turn timeouts are caused by that race 2010-10-12T02:06:22 if that's the case, this needs to be done sooner rather than later 2010-10-12T02:07:06 it actually wouldn't surprise me because I realized the other night the way games are handed out I think the same pair can be handed out multiple times until the first one returns a result 2010-10-12T02:07:37 well, if they are really being handed out the way svn shows it still 2010-10-12T02:08:11 well same pair isn't real likely, but same first player for sure 2010-10-12T02:08:18 *** Palmik has joined #aichallenge 2010-10-12T02:08:29 since first player is chosen by least number of games 2010-10-12T02:08:45 well, hm. 2010-10-12T02:08:47 that depends 2010-10-12T02:09:01 but I also know that the code in use isn't the same as svn since the pairing doesn't match up 2010-10-12T02:09:11 if they're two different threads, yeah, that could be a race 2010-10-12T02:09:26 but if they're different processes, they have their own cwd, i think 2010-10-12T02:09:53 what part depends on cwd? 2010-10-12T02:10:08 not sure which race you're referring to here :) 2010-10-12T02:10:12 os.chdir changes the directory 2010-10-12T02:10:24 also the os.system("cd %s...") 2010-10-12T02:10:27 yep to the submission directory that is common server wide 2010-10-12T02:10:54 so once a submission is compiled it is used on that server ever after 2010-10-12T02:11:05 yes, but it is a folder specific to that submission 2010-10-12T02:11:24 submission_dir = "../submissions/%d" % submission_id 2010-10-12T02:11:30 right 2010-10-12T02:11:47 if two workers share the same cwd, then one will win the cd race 2010-10-12T02:12:04 and compile_function uses the cwd for glob 2010-10-12T02:12:12 and if the first manager is still in the process of compiling or even downloading when the other checks for the existance of the directory it will try and use it before it is ready 2010-10-12T02:12:45 line 57 will be true 2010-10-12T02:13:14 since it downloads and compiles the final directory directly 2010-10-12T02:13:29 s/compiles the/compiles to the 2010-10-12T02:13:41 i'm not sure how 2010-10-12T02:13:51 the submission_dir varies by submission 2010-10-12T02:13:57 *** Cyndre has quit IRC (Read error: Connection reset by peer) 2010-10-12T02:13:59 by submission id right 2010-10-12T02:14:10 which is global across all servers 2010-10-12T02:14:12 *** Blkt has joined #aichallenge 2010-10-12T02:14:12 *** Cyndre has joined #aichallenge 2010-10-12T02:14:21 but...yeah, if it's in the process of compiling, it could be trying to grab that 2010-10-12T02:14:44 good day everyone 2010-10-12T02:14:57 @tcp 2010-10-12T02:14:57 rabidus: tcp = http://www.benzedrine.cx/planetwars/ 2010-10-12T02:15:17 that should be a check for an executable or script or whatnot 2010-10-12T02:15:31 that would help for sure 2010-10-12T02:15:54 better would be a file flag or something 2010-10-12T02:16:07 like, if compile was success, touch ../success/%d 2010-10-12T02:16:12 just use a temporary directory and rename it into place when finished 2010-10-12T02:16:24 oh, yeah, that's better 2010-10-12T02:16:36 *** yasith has quit IRC (Ping timeout: 276 seconds) 2010-10-12T02:16:47 as long as the rename isn't across filesystems it's generally guaranteed to be atomic on most unix filesystems 2010-10-12T02:16:55 at least local filesystems that is 2010-10-12T02:17:50 there will still be an issue with recompiling the same submission in multiple temp directories 2010-10-12T02:18:11 yeah, but that's just wasteful not actually harmful 2010-10-12T02:18:16 but...yeah 2010-10-12T02:18:24 still, i'd rather not have it do that 2010-10-12T02:18:40 but that fix can wait, the temp directories should go first 2010-10-12T02:18:50 yep 2010-10-12T02:20:21 and syncing compile_anything should probably even happen sooner 2010-10-12T02:20:32 well, that's in the branch now 2010-10-12T02:20:38 ahh, great 2010-10-12T02:20:54 i'll just comment on the manager script in the branch for now 2010-10-12T02:22:02 well it already has the comment about the race condition existing 2010-10-12T02:22:38 this is a comment on code.google.com, not a comment in the code 2010-10-12T02:22:44 ahh 2010-10-12T02:24:46 * janzert really wishes he could go sync the server code and svn :/ 2010-10-12T02:25:21 *** wvdschel has joined #aichallenge 2010-10-12T02:25:23 meaning from the server to svn, not the other way at the moment 2010-10-12T02:25:54 it's a little tempting to say "screw it" and be an admin and fix everything 2010-10-12T02:26:45 yeah, I went ahead and wrote j3camero an email last night offering to if he wanted since I'm doing more work on contest code than bot code anyway 2010-10-12T02:26:52 heh 2010-10-12T02:28:32 janzert: wanna be admin? 2010-10-12T02:28:47 janzert: so.. i could sync stuff, but i need to make sure nothing will break 2010-10-12T02:29:02 i just don't want to get too involved in the code, i don't like it 2010-10-12T02:29:15 I sent Jeff an email offering but haven't heard back 2010-10-12T02:29:26 i have 887 lines in my (unfinished) bot, so i think my bot is still ahead of my contributions to the server 2010-10-12T02:29:38 * janzert can understand that sentiment but also can understand how it came to be :) 2010-10-12T02:29:55 *** hellman has quit IRC (Remote host closed the connection) 2010-10-12T02:30:26 and yeah I wouldn't sync the svn to the server without first syncing the server back out to svn and making sure it worked 2010-10-12T02:30:44 *** mega1 has joined #aichallenge 2010-10-12T02:31:06 the former sounds like a recipe for disaster, especially since there are schema changes to the database that aren't synced into svn 2010-10-12T02:31:41 okay, i've added 18 nonwhitespace characters to my bot today 2010-10-12T02:32:00 and it is about time to stop thinking for the day 2010-10-12T02:32:04 see the contest code is sucking you in :P 2010-10-12T02:32:21 i've actually had a lot of other stuff to do 2010-10-12T02:32:43 so.. i would like to contribute on this, but from scratch 2010-10-12T02:32:59 *** optimum has quit IRC (Remote host closed the connection) 2010-10-12T02:33:01 i agree. 2010-10-12T02:33:03 with git, scratch, no code that only jeff knows how to use 2010-10-12T02:33:15 and i will be onboard from the start for the next one 2010-10-12T02:33:23 what happened to http://github.com/ai-contest ? 2010-10-12T02:33:42 i want to generalize the engine 2010-10-12T02:33:46 HakanD: no idea who that is 2010-10-12T02:33:51 Zannick: that was the idea 2010-10-12T02:34:01 *** optimum has joined #aichallenge 2010-10-12T02:34:02 what i want to do is make sure everything is modular and can be swapped out 2010-10-12T02:35:05 it really wouldn't be *that* hard to get from where the code is now to that point 2010-10-12T02:35:23 yes.. but a lot of stuff needs rewrites 2010-10-12T02:35:39 including the main site 2010-10-12T02:35:49 right now it's a collection of php scripts hacked together 2010-10-12T02:35:59 yes, it has definitely accumulated to the point it is now 2010-10-12T02:36:43 it should be done with sqlalchemy or something 2010-10-12T02:36:43 or accreted 2010-10-12T02:36:48 with object abstractions 2010-10-12T02:36:59 especially for the scoreboard stuff 2010-10-12T02:37:14 not to mention that we should get an api for the site, so players can use it 2010-10-12T02:37:15 * Zannick doesn't know much about php/frontend stuff 2010-10-12T02:37:20 that was one of the first things I was surprised about the code was the direct use of mysqldb module 2010-10-12T02:37:34 i'll be perfectly happy with working on backend 2010-10-12T02:37:50 * janzert has been using sqlalchemy and sqlobject before that for so long I forgot anyone didn't use 'em :) 2010-10-12T02:38:12 i propose we just get python everything 2010-10-12T02:38:17 for the site too 2010-10-12T02:39:07 it would be a little nicer not to switch between two languages 2010-10-12T02:39:13 *** sigh has quit IRC (Remote host closed the connection) 2010-10-12T02:39:17 http://72.44.46.68/canvas?game_id=443149 that's embarassing 2010-10-12T02:39:29 we could use common libraries then 2010-10-12T02:39:35 and authentication scripts 2010-10-12T02:39:56 this could be awesome.. 2010-10-12T02:40:01 :) 2010-10-12T02:40:34 i think it'd be cool if not only were there starter packages, but ai libraries for newcomers to use 2010-10-12T02:40:41 antimatroid: lol @ graph 2010-10-12T02:40:43 so they can implement their strategies quicker 2010-10-12T02:41:04 antimatroid: what ai libraries? 2010-10-12T02:41:11 * janzert just has to make sure he remembers to keep enough time this month to prepare for the arimaa bot developers panel he is suppose to moderate :) 2010-10-12T02:41:14 amstan: user written ones 2010-10-12T02:41:15 i can help with the visual side, a new design with some fancy stuff might be cool (: 2010-10-12T02:41:24 i would contribute to something like that 2010-10-12T02:41:37 this is ai contest. not "who uses best this library" contest 2010-10-12T02:41:56 rabidus: it's not about the best library, it's about how it's used 2010-10-12T02:42:02 how developers use the tools they have 2010-10-12T02:42:12 and how many are using pre-written ai libraries? :) 2010-10-12T02:42:35 think of it like it would be a real life example 2010-10-12T02:42:41 make a bot that goes fights aliens 2010-10-12T02:42:44 everyone should write their own code 2010-10-12T02:42:46 I have a feeling it's pretty low and for newcomers especially I think they'll learn more by not using a library 2010-10-12T02:42:49 yes, while i will always write my own, imo the competition is more about who can come up with the best strategy, the fact that implementations matter is an annoying necessity 2010-10-12T02:42:53 starterpackage is enough 2010-10-12T02:44:25 I could see having more game specific framework in the starter packages but that would get quite hard across all the languages 2010-10-12T02:44:44 it's not something i would expect the top competitors to get any use from, but i would expect the newcomers could actually get some better bots implemented which such aids and still learn a lot 2010-10-12T02:45:07 you couldn't just use it as a black box, you would need to do considerable work to change it for a given game/problem 2010-10-12T02:45:20 I think that discussion about algorithms and nice ideas is much better than a good framework 2010-10-12T02:45:24 or at least set things up 2010-10-12T02:46:51 what would you black box counting Tron challenge and this challenge? they don't have much in common 2010-10-12T02:48:28 a very nice thing Tron challenge had was the minimax and Voronoi stuff on that blog 2010-10-12T02:49:05 still, the framework itself was quite similar to the one for this contest 2010-10-12T02:51:14 all the match making, ranking, submitting, etc. etc. 2010-10-12T02:51:39 or you're talking about ai library sorry 2010-10-12T02:51:46 what do you mean? 2010-10-12T02:51:56 ai library 2010-10-12T02:52:03 I think it's not needed 2010-10-12T02:52:28 I thought you were referring to the contest code 2010-10-12T02:52:36 nono 2010-10-12T02:52:59 *** ChanServ sets mode: +o greghaynes 2010-10-12T02:56:02 http://72.44.46.68/canvas?game_id=443360 haven't seen a non-trivial draw in a while 2010-10-12T02:59:53 *** RobotCaleb has quit IRC (Ping timeout: 240 seconds) 2010-10-12T03:00:45 Top 10 players: Hazard(3923), felixcoto(3920), davidjliu(3896), extrapostrophe(3859), cfaftw(3840), sequoh(3823), MariusCG(3813), asavis(3788), ofrias(3753), EBraun(3749) 2010-10-12T03:01:52 *** RobotCaleb has joined #aichallenge 2010-10-12T03:07:22 *** Itkovian has joined #aichallenge 2010-10-12T03:08:03 *** HakanD has quit IRC (Ping timeout: 252 seconds) 2010-10-12T03:15:29 *** hellman has joined #aichallenge 2010-10-12T03:17:20 contestbot: later tell jmcarthur who's ai-contest on github? 2010-10-12T03:17:20 amstan: Aye, aye, sir 2010-10-12T03:22:14 *** HakanD has joined #aichallenge 2010-10-12T03:23:50 here is another idea for you amstan before the next contest someone should talk to Remi Coloumn and see what he would say to having the contest winner writing an article for ICGA journal 2010-10-12T03:24:21 who is he? 2010-10-12T03:25:01 google has nothing.. 2010-10-12T03:25:15 Oops, misspelled it Remi Coloum. He happens to have written bayeselo but importantly here he is the "Programmers Representative" on the ICGA board 2010-10-12T03:25:21 http://www.icga.org/ 2010-10-12T03:25:41 janzert: cool 2010-10-12T03:25:42 *** perror has joined #aichallenge 2010-10-12T03:25:52 janzert: remind us of it near the end 2010-10-12T03:25:54 I think they would be pretty open to it 2010-10-12T03:26:03 well 2010-10-12T03:26:05 nvm 2010-10-12T03:26:08 this needs to be planned 2010-10-12T03:26:13 send a mail to the mailing list 2010-10-12T03:26:19 yeah, next contest not this one 2010-10-12T03:26:52 *** kkojiband has joined #aichallenge 2010-10-12T03:27:50 * janzert adds todo for end of november 2010-10-12T03:40:09 *** mega1 has quit IRC (Ping timeout: 264 seconds) 2010-10-12T03:40:23 *** epona has joined #aichallenge 2010-10-12T03:43:47 *** aerique has joined #aichallenge 2010-10-12T03:44:40 *** ichti has joined #aichallenge 2010-10-12T03:45:32 *** kkojiband has quit IRC (Quit: Page closed) 2010-10-12T03:47:25 *** boegel has joined #aichallenge 2010-10-12T03:53:11 *** hellman has quit IRC (Remote host closed the connection) 2010-10-12T03:54:01 *** sigh has joined #aichallenge 2010-10-12T03:54:46 *** Florian95 has joined #aichallenge 2010-10-12T04:00:45 Top 10 players: Hazard(3939), davidjliu(3908), felixcoto(3904), extrapostrophe(3866), cfaftw(3863), asavis(3826), sequoh(3823), MariusCG(3815), ofrias(3768), EBraun(3752) 2010-10-12T04:01:08 *** tty1 has quit IRC (Ping timeout: 245 seconds) 2010-10-12T04:01:51 *** mega1 has joined #aichallenge 2010-10-12T04:05:43 *** tty1 has joined #aichallenge 2010-10-12T04:07:14 is anyone here? 2010-10-12T04:07:39 No 2010-10-12T04:07:54 do you think you could tell me why #python isn't working? 2010-10-12T04:09:07 *** tty2 has joined #aichallenge 2010-10-12T04:10:29 epona: #python works for me 2010-10-12T04:10:45 are you registered, I think you need to be registered to enter 2010-10-12T04:11:58 *** tty1 has quit IRC (Ping timeout: 252 seconds) 2010-10-12T04:15:23 *** mega1 has quit IRC (Ping timeout: 240 seconds) 2010-10-12T04:19:06 *** yasith has joined #aichallenge 2010-10-12T04:19:13 *** yasith_ has joined #aichallenge 2010-10-12T04:23:07 *** mega1 has joined #aichallenge 2010-10-12T04:27:15 *** Flavorador has joined #aichallenge 2010-10-12T04:29:23 *** Naktibalda has joined #aichallenge 2010-10-12T04:30:33 *** hellman has joined #aichallenge 2010-10-12T04:31:04 *** ichti has quit IRC (Ping timeout: 260 seconds) 2010-10-12T04:41:25 *** Flavorador has quit IRC (Quit: jmIrc-m v0.35e by Archangel (http://jmirc-m.net.ru/)) 2010-10-12T04:50:21 *** tty2 has quit IRC (Ping timeout: 252 seconds) 2010-10-12T04:51:24 *** hellman_ has joined #aichallenge 2010-10-12T04:52:21 *** hellman has quit IRC (Read error: No route to host) 2010-10-12T04:54:22 *** tty1 has joined #aichallenge 2010-10-12T04:59:55 *** flezru has joined #aichallenge 2010-10-12T05:00:46 Top 10 players: Hazard(3943), davidjliu(3904), felixcoto(3904), extrapostrophe(3868), cfaftw(3846), asavis(3821), sequoh(3816), MariusCG(3811), ofrias(3754), _iouri_(3747) 2010-10-12T05:00:58 mail after submission: "Failure: output file MyBot.sbcl was not created." 2010-10-12T05:01:27 but it creates MyBot just as it did before 2010-10-12T05:01:53 mega1: MyBot.sbcl? 2010-10-12T05:02:06 *** hellman_ has quit IRC (Read error: Operation timed out) 2010-10-12T05:02:08 yeah, somebody refactored stuff, I guess 2010-10-12T05:02:32 *** hellman_ has joined #aichallenge 2010-10-12T05:02:55 ok, so 7 of my 10 games on the official server doesn't get to the second turn before the dreaded "crashed / did not start / timeout". I even set the internal time cap to 0.2s last night. everything works fine on the tcp server... I've heard bad things about the official server. are they true and this is not uncommon or is it somehow my fault after all? 2010-10-12T05:05:46 have you checked that your opponents works correctly 2010-10-12T05:05:53 fluffluff1: it's most probably your bad, i have had issues with bot crashing the main site but not locally 2010-10-12T05:05:59 it's usually me doing something i shouldn't 2010-10-12T05:06:19 common thing in my case is that i send too many ships 2010-10-12T05:06:32 rab: yeah, they've had proper games 2010-10-12T05:06:33 or twice from same planet to dest planet 2010-10-12T05:06:44 ok, i think then that's just you 2010-10-12T05:06:46 in your code 2010-10-12T05:06:50 ok, thanks guys, that's reassuring at least :) 2010-10-12T05:07:38 mega1: oh dear 2010-10-12T05:07:46 aerique: have you found it? 2010-10-12T05:07:54 hm, aren't you allowed to send twice between the same planets? 2010-10-12T05:08:07 not in same turn 2010-10-12T05:08:27 oh really? I think it's allowed 2010-10-12T05:08:33 i mean when source planet and destination planet is same 2010-10-12T05:08:34 there was a patch to merge fleets 2010-10-12T05:08:42 mega1: no, i haven't uploaded for a couple of days 2010-10-12T05:08:54 yeah, I too was under the impression that was allowed 2010-10-12T05:09:04 like pw.Issueorders(1,2,3); pw.issueorders(1,2,3) 2010-10-12T05:09:08 yes 2010-10-12T05:09:29 assuming you've got >=6 ships on planet 1 I thought/think that was ok 2010-10-12T05:09:44 afaik it isn't 2010-10-12T05:09:56 i think that was the case 2010-10-12T05:10:27 alright, that's interesting. might be my problem then, though it's odd that 3 of my games played ok in that case 2010-10-12T05:10:52 aerique: http://code.google.com/p/ai-contest/source/diff?spec=svn428&r=427&format=side&path=/trunk/planet_wars/backend/compile_anything.py&old_path=/trunk/planet_wars/backend/compile_anything.py&old=395 2010-10-12T05:12:57 I assume they didn't change "MyBot" to "MyBot.sbcl" in the save-lisp-and-die form. 2010-10-12T05:14:13 *** hellman_ has quit IRC (Ping timeout: 276 seconds) 2010-10-12T05:14:42 aerique: they didn't 2010-10-12T05:15:12 I commented on the issue. 2010-10-12T05:15:24 mega1: oh alright, thanks :) 2010-10-12T05:20:42 who is jokeserver? 2010-10-12T05:22:03 wtf 2010-10-12T05:22:11 ive lost my password :| 2010-10-12T05:25:23 *** Utkarsh has quit IRC (Ping timeout: 240 seconds) 2010-10-12T05:25:24 I had problems with firefox thinking that it should store the passwords of my forum and contest accounts under the same entry. 2010-10-12T05:25:41 mega1: do you have a link to the issue for me so i can star it? 2010-10-12T05:25:55 http://code.google.com/p/ai-contest/issues/detail?id=130 2010-10-12T05:26:02 *** Utkarsh has joined #aichallenge 2010-10-12T05:26:09 aerique: here ^ 2010-10-12T05:27:49 maybe I should have created a new issue for it ... 2010-10-12T05:28:32 *** hellman has joined #aichallenge 2010-10-12T05:29:00 mega1: jokeserver seems to be pretty active 2010-10-12T05:38:30 *** jaspervdj has joined #aichallenge 2010-10-12T05:45:58 *** vizier has joined #aichallenge 2010-10-12T06:00:48 Top 10 players: Hazard(3928), felixcoto(3907), davidjliu(3894), asavis(3869), cfaftw(3842), extrapostrophe(3818), MariusCG(3807), sequoh(3797), ofrias(3759), _iouri_(3750) 2010-10-12T06:05:08 wow 2010-10-12T06:05:32 extraposttrophe was +200 points higher 24hrs ago 2010-10-12T06:05:35 *** Olathe has joined #aichallenge 2010-10-12T06:24:53 *** mega1 has quit IRC (Ping timeout: 240 seconds) 2010-10-12T06:25:39 the top bots 2010-10-12T06:25:48 are all knocking eachother down 2010-10-12T06:25:54 theyre all very adaptive 2010-10-12T06:26:02 *** mega1 has joined #aichallenge 2010-10-12T06:26:16 I wonder if they can even fight humans anymore 2010-10-12T06:27:41 i would like to see those bots fighting with humans :) 2010-10-12T06:27:54 they should do it 2010-10-12T06:28:04 yeah 2010-10-12T06:28:07 maybe if they gave humans better controls 2010-10-12T06:28:07 that would be fun 2010-10-12T06:28:15 id like it with tons of hotkeys 2010-10-12T06:28:18 and turns lasts like minute :D 2010-10-12T06:28:22 so you have time to think 2010-10-12T06:28:30 no no no 2010-10-12T06:28:40 less 2010-10-12T06:28:40 chess - a - like 2010-10-12T06:28:44 ahhh 2010-10-12T06:28:46 i see 2010-10-12T06:28:49 yes 2010-10-12T06:28:51 id like that 2010-10-12T06:28:56 yep 2010-10-12T06:29:28 itd inspire me more 2010-10-12T06:29:31 if i couldn't win 2010-10-12T06:29:34 :) 2010-10-12T06:29:47 actually that would be awesome 2010-10-12T06:30:06 seeing as the standard "real" galcon ai is currently ranked 1186 it's not unlikely the top bots are better than humans 2010-10-12T06:30:26 http://ai-contest.com/profile.php?user_id=3907 2010-10-12T06:30:45 that's _the_ galcon ? 2010-10-12T06:31:01 yes, from *the* author :) 2010-10-12T06:31:06 hehe, cool 2010-10-12T06:31:09 without all the calculations available to my bot... i wouldn't play it :/ 2010-10-12T06:31:41 aw comon 2010-10-12T06:31:45 yeah, this is definitely a case where computer exact calculation beats human pattern recognition 2010-10-12T06:31:53 if it was customizabe 2010-10-12T06:31:54 ble 2010-10-12T06:32:04 so you could input your algorithms into buttons 2010-10-12T06:32:27 i thought of writing an interface to play the bot, but have the interface show me the kinds of numbers that the bot saw. 2010-10-12T06:32:51 i keep tweaking my bot instead :) 2010-10-12T06:33:03 make sure you release it after you win :P 2010-10-12T06:33:25 yeah, cyborging it here might be able to beat the bot 2010-10-12T06:33:45 janzert: it might be fun too. 2010-10-12T06:33:57 I think it would 2010-10-12T06:35:02 epona: regardless of my outcome I will post my bot. By the time november 27th comes around, my bot may be in the dustbins of history though :) 2010-10-12T06:35:20 *** oPless has joined #aichallenge 2010-10-12T06:37:55 id love to see it! 2010-10-12T06:38:10 iwhere will people be posting them? 2010-10-12T06:38:38 or is there no offical place 2010-10-12T06:38:44 official* 2010-10-12T06:38:45 i think last time we had a thread in the forum where people posted links. 2010-10-12T06:39:11 ill be spending months looking over them ha 2010-10-12T06:39:14 dhartmei has several on his webpage from his previous tcp server too. 2010-10-12T06:39:32 _several links_ 2010-10-12T06:39:43 link to that? 2010-10-12T06:39:53 linked list 2010-10-12T06:39:54 :) 2010-10-12T06:40:13 people's tron entries 2010-10-12T06:40:22 *** amstan has quit IRC (Ping timeout: 252 seconds) 2010-10-12T06:40:23 good game 2010-10-12T06:40:33 http://www.benzedrine.cx/tron.html 2010-10-12T06:40:47 tron challenge with human vs computer would be nice to watch 2010-10-12T06:41:06 *** Kylo has joined #aichallenge 2010-10-12T06:41:24 I think computers win there too on most maps at least 2010-10-12T06:41:36 lots of macros 2010-10-12T06:41:49 to compensate for instantaneous time 2010-10-12T06:41:52 :O 2010-10-12T06:42:41 If you want to see humans win come play Arimaa :) 2010-10-12T06:42:56 although the pace is a little slower :P 2010-10-12T06:56:09 *** optimum has quit IRC (Ping timeout: 245 seconds) 2010-10-12T06:57:13 arimaa? 2010-10-12T06:57:45 *** optimum has joined #aichallenge 2010-10-12T06:57:53 It's more like chess but very difficult for computers http://arimaa.com/ 2010-10-12T06:58:08 bookmarked 2010-10-12T06:58:31 *** hellman has quit IRC (Ping timeout: 252 seconds) 2010-10-12T06:58:47 and $10,000 prize if you win the competition to produce a bot that beats the humans before 2020 :) 2010-10-12T07:00:15 I think by 2020 were gonna have it. 2010-10-12T07:00:26 lots of time, yes. 2010-10-12T07:00:43 1st of January or 31st of December? 2010-10-12T07:00:48 Top 10 players: Hazard(3929), davidjliu(3911), felixcoto(3901), asavis(3866), cfaftw(3836), MariusCG(3815), sequoh(3812), extrapostrophe(3797), jukkerknott(3796), ofrias(3766) 2010-10-12T07:00:49 I give it better than even chance right now, but a lot of people still don't think so 2010-10-12T07:00:58 wow ext got raped 2010-10-12T07:01:11 Naktibalda: hehe 2010-10-12T07:01:26 woah 2010-10-12T07:01:34 the top three have beaten 3900 2010-10-12T07:01:42 wow he's really dropped in the last bit 2010-10-12T07:01:51 that means they REALLY beaten the lower ones 2010-10-12T07:02:26 *** Meatkat has joined #aichallenge 2010-10-12T07:02:56 I guess 5 losses in a row will pull your score down 2010-10-12T07:06:11 *** hellman has joined #aichallenge 2010-10-12T07:08:43 dmj's new bot is charging right up the ladder 2010-10-12T07:09:06 is that at all surprising? 2010-10-12T07:09:21 no 2010-10-12T07:09:22 janzert: thanks a lot of that arimaa game 2010-10-12T07:09:25 very, very intresting 2010-10-12T07:10:03 also, 10k sounds nice 2010-10-12T07:10:09 I should keep it quiet I've got enough competition and too little time to work on my bot for it as it is :P 2010-10-12T07:10:15 thanks... reckless move on turn 48 though: http://ai-contest.com/visualizer.php?game_id=5833256 2010-10-12T07:10:16 ahhh 2010-10-12T07:10:26 whenever i get a good bot going on tcp i always ruin it by the time i leave a version on the main site :( 2010-10-12T07:10:41 :/ 2010-10-12T07:10:42 janzert: i feel the pain on workload 2010-10-12T07:10:54 i have 6 more assignments due this week, and handed an 18% assignment in today 2010-10-12T07:11:06 dmj111: btw any comment on your timeout loss? 2010-10-12T07:11:23 it was completely my fault. 2010-10-12T07:11:32 *** Blkt has quit IRC (Quit: Error: do not makunbound t please!) 2010-10-12T07:12:04 whoo, your bot never timing out is one my comforts that maybe the server doesn't have a problem :) 2010-10-12T07:12:25 the server is mostly fine 2010-10-12T07:12:27 in the future, one of those neutrals would have 0 ships on it, and one of my loops never executes, leaving an uninitialized variable. That is only used in a debug statement... 2010-10-12T07:12:41 The joys of python, and sloppy programming. 2010-10-12T07:13:11 ahh, glad you could diagnose it 2010-10-12T07:13:18 antimatroid: i've never had one of those strange server-fail losses mentioned on the forums that wasn't my fault 2010-10-12T07:13:27 *** Kylo has quit IRC (Quit: Leaving) 2010-10-12T07:14:01 *** hellman has quit IRC (Ping timeout: 240 seconds) 2010-10-12T07:14:15 janzert: thanks. I will leave the bug up for now and hope it doesn't happen much, while i try to fix some of the logic issues. 2010-10-12T07:14:41 I won't let crashes from this submission worry me then 2010-10-12T07:16:25 aerique: i've seen it misrepresent who timed out 2010-10-12T07:16:28 and so have others 2010-10-12T07:16:30 btw, for those interested there is a 10 or 11 page discussion on planetwars strategy in the arimaa forum 2010-10-12T07:16:37 cool. 2010-10-12T07:16:41 link for the lazy? 2010-10-12T07:17:00 http://arimaa.com/arimaa/forum/cgi/YaBB.cgi?board=other;action=display;num=1284348375 2010-10-12T07:17:11 thanks 2010-10-12T07:17:59 it's actually more in depth in areas than anything I've seen on the official forum so far 2010-10-12T07:20:40 yep, looks good, i shall troll through it all at some point 2010-10-12T07:20:52 i've already put a lot of thought into this game myself 2010-10-12T07:21:13 i disagree about it being easily solvable 2010-10-12T07:21:23 someone at my uni claimed the same when i showed them the comp 2010-10-12T07:21:35 my answer to that is go ahead and write such a perfect bot then :P 2010-10-12T07:21:38 I'm pretty convinced now as well 2010-10-12T07:22:21 there are so many possible ways to set your strategy i expect the top bots to be a lot more varied than with tron 2010-10-12T07:22:58 i should get back to playing around with the game theory side of things again, i am not entirely unconvinced about some kind of approximate minimax still working really well 2010-10-12T07:23:00 I don't know if I say it in that thread anywhere, my worry is/was just that with tron it's quickly possible to show that the problem is NP-complete there isn't a way looking at planetwars to easily prove there isn't a shortcut to get the optimal strategy that dominates all others 2010-10-12T07:23:45 if there was an obvious way to do it, someone would have found it by now though 2010-10-12T07:24:07 there isn't ONE obvious way 2010-10-12T07:24:09 i'm not positive one can't some up with a near perfect strategy, but i don't think it's going to be overly done if there is 2010-10-12T07:24:24 theres a bunch of obvious ways you have to account for 2010-10-12T07:24:29 i have played around with dp approaches and couldn't work out a way that would solve it in time 2010-10-12T07:24:31 like what if someone is ragebot? 2010-10-12T07:24:39 grabbing three planets will make you lose 2010-10-12T07:24:50 i never lose to ragebot, ever 2010-10-12T07:24:52 the tactics are important enough and tricky enough to get right that it'll stop most people from getting that part correct 2010-10-12T07:24:52 i may draw, that's it 2010-10-12T07:25:41 *** Carpette has joined #aichallenge 2010-10-12T07:26:16 *** optimum has quit IRC (Remote host closed the connection) 2010-10-12T07:26:16 my bot is a complete mess atm from just tweaking things all over the place 2010-10-12T07:26:50 save every version 2010-10-12T07:27:30 hopefully using a version control system of some sort 2010-10-12T07:31:17 *** optimum has joined #aichallenge 2010-10-12T07:32:59 no version control :P 2010-10-12T07:34:18 whats version control? 2010-10-12T07:34:43 controls different versions? :D 2010-10-12T07:35:01 of? 2010-10-12T07:35:12 your programs 2010-10-12T07:35:25 easy access to past versions 2010-10-12T07:35:27 oh you mean like 2.7 and 3.1 in python? 2010-10-12T07:35:34 pretty much 2010-10-12T07:35:35 epona: look at git 2010-10-12T07:35:43 or fossil 2010-10-12T07:35:58 it's too hard to win every game 2010-10-12T07:36:13 i can't consistently beat everyone on tcp, it's very annoying 2010-10-12T07:37:08 lol, my bot from last night's last few games has it now on top 2010-10-12T07:38:23 you just reminded me that mine isn 2010-10-12T07:38:32 't running (thunderstorms) 2010-10-12T07:38:42 I'll have to start it back up in a little bit. 2010-10-12T07:40:33 i can't seem to get mine very strong atm 2010-10-12T07:40:47 it keeps losing to people with lower rankings 2010-10-12T07:41:35 I noticed that in tron the maps were a lot more varied than for this challenge... 2010-10-12T07:41:54 was it like that from the start... or did it change after a while? 2010-10-12T07:42:24 which applies here... are we likely to see quite different maps --as in size and number of planets 2010-10-12T07:42:25 ? 2010-10-12T07:42:41 hmm, my bot slowly climbed to #69. It took 1.5 days 2010-10-12T07:42:42 *** wvdschel has quit IRC (Quit: Leaving) 2010-10-12T07:43:29 IIRC, A big problem with the initial tron maps is they were mostly too small and simple and the better bots were quite quickly always tying on them 2010-10-12T07:43:47 *** wvdschel has joined #aichallenge 2010-10-12T07:43:54 janzert: right... not the case here.... 2010-10-12T07:43:54 so it led to a push for bigger more complicated maps and the random map generator got written 2010-10-12T07:44:10 yep 2010-10-12T07:44:47 I am a big proponet of random maps in the first place... not just 100 maps generated randomly... but every map is random. 2010-10-12T07:45:12 some maps with more planets would be cool 2010-10-12T07:45:19 but 100 is a good approximation... 2010-10-12T07:45:20 yea 2010-10-12T07:45:26 i wrote a lattice map generator, but people weren't very keen on using those maps officially 2010-10-12T07:45:32 *** flezru has left #aichallenge 2010-10-12T07:45:35 server has more than 100 maps 2010-10-12T07:45:45 Naktibalda: yea---200 IIRC 2010-10-12T07:46:03 the official server or just tcp? 2010-10-12T07:46:28 well i would "like" bigger maps with more planets... but i would also like a lot of games played per hour 2010-10-12T07:46:30 janzert: TCP 2010-10-12T07:46:41 map_id=707 2010-10-12T07:46:45 Naktibalda: you meant TCP? yes 2010-10-12T07:46:53 I mean official 2010-10-12T07:46:57 oh 2010-10-12T07:47:00 didn't know that 2010-10-12T07:47:06 *** Tobu has quit IRC (Quit: Leaving.) 2010-10-12T07:47:16 I still am getting my arse kicked so i am not on it yet 2010-10-12T07:47:55 hmm, it looks like most of games are played in maps <100 2010-10-12T07:48:08 but there are at least some maps with high ids 2010-10-12T07:48:41 map id should be the seed to generate the map... 2010-10-12T07:48:55 then you can have anything.... 2010-10-12T07:49:27 yep, and map generation is rather cheap, so it doesn't increase server load a lot 2010-10-12T07:50:08 gotta love this line in the java viewer source code: 2010-10-12T07:50:19 // HACKY FIX BECAUSE JAVA BLOWS 2010-10-12T07:50:31 just remembered all the maps used on the cloud servers are in svn 2010-10-12T07:50:31 (I do not agree with this sentiment) 2010-10-12T07:50:45 nrub: The java viewer is clearly writen by someone who doesn't know java.... 2010-10-12T07:50:55 I wouldn't read much into it 2010-10-12T07:51:09 well no more than a java programer complaining about C 2010-10-12T07:51:19 looks like the cloud servers only get 100 maps 2010-10-12T07:51:41 maybe the main server has more, do all the high map id's have worker=0? 2010-10-12T07:52:41 which would also explain why only the occasional game has a high map 2010-10-12T07:56:10 I don't want to bash Jeff's code, I just think it's funny reading his comments 2010-10-12T07:56:29 the comments in the catch clauses for some exceptions are funny 2010-10-12T08:00:48 Top 10 players: Hazard(3927), felixcoto(3896), asavis(3866), davidjliu(3843), cfaftw(3824), MariusCG(3807), sequoh(3805), jukkerknott(3784), extrapostrophe(3773), dmj111(3768) 2010-10-12T08:02:48 hello dmj_a97d36f0 2010-10-12T08:03:24 got cha 2010-10-12T08:03:32 *** Tobu has joined #aichallenge 2010-10-12T08:04:11 http://72.44.46.68/canvas?game_id=447211 87 moves too :) 2010-10-12T08:05:22 *** HakanD has quit IRC (Ping timeout: 264 seconds) 2010-10-12T08:05:41 *** yasith_ has quit IRC (Ping timeout: 250 seconds) 2010-10-12T08:05:48 *** yasith has quit IRC (Ping timeout: 265 seconds) 2010-10-12T08:13:26 *** Tobu has quit IRC (Ping timeout: 276 seconds) 2010-10-12T08:14:09 *** Florian95 has quit IRC (Ping timeout: 260 seconds) 2010-10-12T08:14:35 *** delt0r_ has joined #aichallenge 2010-10-12T08:14:49 *** Florian95 has joined #aichallenge 2010-10-12T08:15:12 *** Florian95 has joined #aichallenge 2010-10-12T08:16:04 *** delt0r___ has quit IRC (Ping timeout: 252 seconds) 2010-10-12T08:17:42 *** yasith_ has joined #aichallenge 2010-10-12T08:18:01 antimatroid: nice! 2010-10-12T08:18:33 you got me the next game anyway :P 2010-10-12T08:18:41 *** mogron has joined #aichallenge 2010-10-12T08:18:44 *** yasith has joined #aichallenge 2010-10-12T08:19:02 *** vizier has quit IRC (Quit: Page closed) 2010-10-12T08:19:51 *** krokokrusa has joined #aichallenge 2010-10-12T08:22:05 *** JensTi has joined #aichallenge 2010-10-12T08:27:20 red 2010-10-12T08:37:01 *** Carpette has quit IRC (Read error: Connection reset by peer) 2010-10-12T08:47:58 *** dmj111 has quit IRC (Ping timeout: 252 seconds) 2010-10-12T08:51:07 *** wvdschel has quit IRC (Quit: Leaving) 2010-10-12T08:53:53 *** Konvo_2221 has joined #aichallenge 2010-10-12T08:56:42 *** Konvo_2221 has quit IRC (Read error: Connection reset by peer) 2010-10-12T08:59:02 *** Konvo_2221 has joined #aichallenge 2010-10-12T08:59:16 *** smellyhippy has quit IRC (Quit: BUT WAIT! What are those penguins up to?!) 2010-10-12T09:00:50 Top 10 players: Hazard(3937), felixcoto(3888), asavis(3887), davidjliu(3831), cfaftw(3829), sequoh(3813), MariusCG(3799), ofrias(3778), extrapostrophe(3767), savchenko(3755) 2010-10-12T09:01:10 bam, current bots on a good winning streak 2010-10-12T09:02:15 hm... 2010-10-12T09:02:30 i can't say which bot is best on top10 2010-10-12T09:03:46 hazard has had first most consistently i would say 2010-10-12T09:03:54 asavis is new to top 10? 2010-10-12T09:04:10 extrapostrophe was #1 yesterday 2010-10-12T09:04:16 with 4k points 2010-10-12T09:04:19 i just put a bot up that i think will go top 10 maybe 2010-10-12T09:04:41 http://72.44.46.68/getplayer?player=youwillfail it's doing that atm 2010-10-12T09:04:45 i changed it since last lose 2010-10-12T09:04:53 but it'll probably start losing soon after getting my hopes up 2010-10-12T09:05:03 nice streak 2010-10-12T09:05:36 i think i got saved by joakim timing out 2010-10-12T09:05:39 *** smellyhippy has joined #aichallenge 2010-10-12T09:05:43 although it's plausible i could have saved it 2010-10-12T09:07:05 http://72.44.46.68/canvas?game_id=447856 2010-10-12T09:07:09 best one ^ 2010-10-12T09:07:17 perfect logic 2010-10-12T09:08:18 not really, it should have taken the win already 2010-10-12T09:08:24 and stopped bloody expanding 2010-10-12T09:08:37 camping is fine 2010-10-12T09:09:15 meh, it's cooler to beat people fast 2010-10-12T09:09:29 i like to hand their asses to them 2010-10-12T09:09:32 epona: not perfect 2010-10-12T09:09:46 what would you say is a perfect match then 2010-10-12T09:09:52 link? 2010-10-12T09:10:09 it took a planet with gen = 1 at turn 143 with 64 neutral on it... 2010-10-12T09:11:07 what? 2010-10-12T09:11:32 cost to take the planet doesn't worth it anymore 2010-10-12T09:12:09 oh i see 2010-10-12T09:12:13 oh, meh, without a defininitive answer on end conditions i'm assuming nothing 2010-10-12T09:12:40 i lost 2 games in a row, ouch 2010-10-12T09:12:47 *** bhasker has quit IRC (Ping timeout: 276 seconds) 2010-10-12T09:15:01 http://72.44.46.68/canvas?game_id=448008 an example where i would have won with more time 2010-10-12T09:19:11 *** bhasker has joined #aichallenge 2010-10-12T09:21:03 red shouldve attacked those planets in the back 2010-10-12T09:21:56 why? the opponent would just defend them 2010-10-12T09:22:16 yea but theres a 2 unit planet in the back 2010-10-12T09:22:24 if you send one ship of 2 off 2010-10-12T09:22:32 he has to relocate those further back 2010-10-12T09:22:39 for which the opponent can send more than enough to counter in the time that it takes me to get there 2010-10-12T09:22:42 i would like to see that game with 200 more turns 2010-10-12T09:22:56 more than enough to counter = attack in the front 2010-10-12T09:23:14 rabidus: seriously, it was just getting interesting :( 2010-10-12T09:23:18 yep :) 2010-10-12T09:23:34 that last red 4xx ship... 2010-10-12T09:23:55 *** Gudradain has joined #aichallenge 2010-10-12T09:24:14 yeah, i'm pretty sure i would have had him 2010-10-12T09:24:27 (i'm youwillfail) 2010-10-12T09:24:36 if that wasn't obvious :P 2010-10-12T09:26:17 but very intresting game idd 2010-10-12T09:26:21 aww he lost again 2010-10-12T09:26:36 never seen a game that lasts that long 2010-10-12T09:26:41 with real action 2010-10-12T09:27:49 there have been quite a few 2010-10-12T09:27:58 http://72.44.46.68/canvas?game_id=448168 i should have expanded better :| 2010-10-12T09:30:11 yea, your tactics are solid, theres just so little time in the game 2010-10-12T09:30:39 *** amstan has joined #aichallenge 2010-10-12T09:30:39 *** ChanServ sets mode: +o amstan 2010-10-12T09:34:48 *** hellman has joined #aichallenge 2010-10-12T09:40:05 *** Azrathud has quit IRC (Ping timeout: 276 seconds) 2010-10-12T09:45:14 *** wvdschel has joined #aichallenge 2010-10-12T09:46:58 *** JensTi has quit IRC (Quit: Leaving.) 2010-10-12T09:53:06 *** HakanD has joined #aichallenge 2010-10-12T09:53:48 *** Florian95 has quit IRC (Quit: Leaving...) 2010-10-12T09:56:04 *** Konvo_2221 has quit IRC (Remote host closed the connection) 2010-10-12T09:57:25 *** dmj111 has joined #aichallenge 2010-10-12T10:00:49 Top 10 players: Hazard(3936), felixcoto(3917), rsergio(3877), asavis(3865), davidjliu(3836), cfaftw(3827), sequoh(3803), MariusCG(3802), savchenko(3774), ofrias(3770) 2010-10-12T10:02:54 hax 2010-10-12T10:03:01 ? 2010-10-12T10:03:14 hazards good is all im sayin 2010-10-12T10:03:22 he was on top before ext 2010-10-12T10:03:23 ya 2010-10-12T10:03:42 I guess everyone on top is somehow on the same page 2010-10-12T10:05:14 *** Gudradain has quit IRC (Quit: Page closed) 2010-10-12T10:07:09 *** Florian95 has joined #aichallenge 2010-10-12T10:08:53 *** sigh has quit IRC (Remote host closed the connection) 2010-10-12T10:15:23 *** Florian95 has joined #aichallenge 2010-10-12T10:19:16 *** Appleman1234 has quit IRC (Ping timeout: 241 seconds) 2010-10-12T10:20:44 tough match between top10 in final contest 2010-10-12T10:21:14 i think it need 100000000 matches to find the best player 2010-10-12T10:21:35 or the correct order 2010-10-12T10:22:35 *** Itkovian has joined #aichallenge 2010-10-12T10:24:40 aerique: Did you notice i fixed the turn counter thing in JBotManager.jar? 2010-10-12T10:25:11 delt0r_: yes, thanks! it's been running fine since the last update 2010-10-12T10:27:02 cool 2010-10-12T10:27:18 *** JensTi has joined #aichallenge 2010-10-12T10:29:54 *** Palmik has quit IRC (Read error: Connection reset by peer) 2010-10-12T10:30:19 *** Palmik has joined #aichallenge 2010-10-12T10:39:49 poing 2010-10-12T10:40:14 sounds like a good strategy has been found by some ? 2010-10-12T10:40:32 i haven't been following the contest for the last few weeks 2010-10-12T10:41:57 still the same as far as i know 2010-10-12T10:43:18 *** JamesMG has joined #aichallenge 2010-10-12T10:46:01 *** boegel has quit IRC (Ping timeout: 240 seconds) 2010-10-12T10:49:37 *** cfaftw has joined #aichallenge 2010-10-12T10:56:45 bartwe_: I'm still doing reasonably well with just heuristics still 2010-10-12T10:56:58 cool 2010-10-12T10:57:04 although the plans are there for an attempt at minimax approximation, just haven't got to time 2010-10-12T10:57:12 i'm falling further and further out of the competition is seems :) 2010-10-12T10:57:33 so the top spots have foudn a way to do 'real' search ? 2010-10-12T10:59:49 bartwe_: Don;t think so 2010-10-12T11:00:04 at lest thats not the impression i get from the comments 2010-10-12T11:00:05 it looks like small improvements can help a lot 2010-10-12T11:00:49 Top 10 players: rsergio(3958), Hazard(3937), felixcoto(3929), asavis(3847), cfaftw(3839), davidjliu(3839), MariusCG(3805), sequoh(3798), ofrias(3780), savchenko(3776) 2010-10-12T11:01:51 hehe, extra dropped out (: 2010-10-12T11:02:39 probable he submitted a new version 2010-10-12T11:02:59 probably 2010-10-12T11:02:59 antimatroid, my bot is pure heuristics 2010-10-12T11:03:15 naktibalda, no he didn't... he had a bad string of games 2010-10-12T11:07:37 cfaftw: procedural heuristics? :P 2010-10-12T11:09:15 what is pure heuristics? A 1-play search? 2010-10-12T11:09:33 foucist, i don't know what procedural heuristics are -_- 2010-10-12T11:10:01 rabidus: order does not matter that much as you go down 2010-10-12T11:10:07 you don't care who's last or second last too much 2010-10-12T11:10:30 yeah, i'm still just telling my bots to make decisions based off random bits of information i calculate 2010-10-12T11:10:34 i mean top10 2010-10-12T11:10:42 but i'm getting a better idea of what works better 2010-10-12T11:10:43 i do care about top10 correct order 2010-10-12T11:12:14 *** Itkovian has quit IRC (Quit: Itkovian) 2010-10-12T11:12:35 cfaftw: are you using tcp at all? 2010-10-12T11:12:59 antimatroid, not right now... i haven't had time to work on my bot recently. and the one that is on the official server is kinda busted 2010-10-12T11:13:29 yeah fair enough 2010-10-12T11:14:01 i'm hoping to get a new version of my bot going by this weekend 2010-10-12T11:14:15 and it might be significantly worse, but who knows :) 2010-10-12T11:15:03 i have too many assignments to do much, just tweaking things playing around atm 2010-10-12T11:15:19 I can't decide if mine got worse over last weekend or the competition on TCP got stiffer 2010-10-12T11:15:22 i want to try some kind of minimax, but it's my last week of semester with 5 exams coming up soon 2010-10-12T11:15:23 how's it going guys 2010-10-12T11:15:55 good 2010-10-12T11:16:26 antimatroid, yeah well... you have plenty of time. this contest is accepting submissions until Nov 27 2010-10-12T11:17:06 anyway, i should go to bed, i have class in 7 hours 2010-10-12T11:17:32 amstan: lisp submissions are broken 2010-10-12T11:17:41 mega1: fix it 2010-10-12T11:17:43 http://code.google.com/p/ai-contest/issues/detail?id=130 2010-10-12T11:18:46 *** Tobu has joined #aichallenge 2010-10-12T11:19:21 *** HakanD has quit IRC (Read error: No route to host) 2010-10-12T11:20:02 *** wvdschel has quit IRC (Quit: Leaving) 2010-10-12T11:22:02 mega1: so.. i don't know what's wrong 2010-10-12T11:22:15 submit a fix for it, i'll look over it, then i can even update the server 2010-10-12T11:22:27 and by submit i mean commit in svn 2010-10-12T11:22:29 *** JensTi has quit IRC (Quit: Leaving.) 2010-10-12T11:23:52 amstan: I'm not a committer. 2010-10-12T11:24:01 mega1: darn 2010-10-12T11:24:05 well.. 2010-10-12T11:24:24 mega1: i could do a one line change without svn, if it's an urgent matter(which it is) 2010-10-12T11:24:44 mega1: put the code in the issue, tell them that it's not in svn 2010-10-12T11:24:52 ok 2010-10-12T11:25:04 i don't have the code checked out anywhere, or the svn setup 2010-10-12T11:26:20 I'm checking it out as I type 2010-10-12T11:27:05 *** jaspervdj has quit IRC (Remote host closed the connection) 2010-10-12T11:27:47 mega1: if I read your bug report right it's just line 215 of compile_anything.py needs to change from [BOT, BOT + "sbcl"] to [BOT, BOT] right? 2010-10-12T11:28:07 janzert: you read it right, but I think it's wrong. 2010-10-12T11:28:18 I'm reading the code more carefully now. 2010-10-12T11:28:31 *** bootzfromhell has joined #aichallenge 2010-10-12T11:28:51 ahh, ok. I'll let you get on with checking it out then 2010-10-12T11:29:21 are you going to break a server for all users while trying to fix this lisp thing without svn? 2010-10-12T11:30:33 Naktibalda: changing that line as long as you kept it valid tuple item would only change lisp 2010-10-12T11:30:41 *** jaspervdj has joined #aichallenge 2010-10-12T11:32:40 *** ichti has joined #aichallenge 2010-10-12T11:33:02 *** rwa has quit IRC (Quit: rwa) 2010-10-12T11:36:13 amstan: dstufft made that project on github 2010-10-12T11:36:25 jmcarthur: cool 2010-10-12T11:36:30 amstan: he told me that he had the goahead to do it from jeff and that it would be the official one, but then nobody used it 2010-10-12T11:36:41 it sounded to me like nobody knew about it 2010-10-12T11:37:02 yeah, well.. nobody used because the main repo is not git 2010-10-12T11:37:15 no i mean it was supposed to be a switch from svn to git 2010-10-12T11:37:21 and the old svn repo was going ot be shut down 2010-10-12T11:37:24 *to be 2010-10-12T11:37:29 *** rebelxt has joined #aichallenge 2010-10-12T11:37:29 that sounds nice.. 2010-10-12T11:37:33 but yeah, probably next time 2010-10-12T11:37:35 yeah, but it never happened 2010-10-12T11:37:37 yeah 2010-10-12T11:37:42 janzert, amstan: added short patch as a comment 2010-10-12T11:37:42 in the middle of things is probably a bad time 2010-10-12T11:37:45 also.. try to make everything ai-challenge 2010-10-12T11:37:48 instead of ai-contest 2010-10-12T11:38:01 mega1: link? 2010-10-12T11:38:23 http://code.google.com/p/ai-contest/issues/detail?id=130 2010-10-12T11:38:40 looks like my error, i'll fix it right now 2010-10-12T11:39:24 after reading through the code I agree you had the right fix though mega1 :) 2010-10-12T11:39:41 k, tell me when to update 2010-10-12T11:40:24 it can't be any worse so we can try it 2010-10-12T11:40:48 err, actually I'm not positive about the second line of your code. Does the lisp compiler never produce source + '.sbcl' files at all? 2010-10-12T11:40:55 never 2010-10-12T11:41:01 ahh, ok 2010-10-12T11:41:08 compiles to ./MyBot 2010-10-12T11:41:14 that's a binary 2010-10-12T11:41:29 no intermediate files like C's *.o? 2010-10-12T11:41:37 *.fasl 2010-10-12T11:41:55 mega1: not in this case though? 2010-10-12T11:41:56 but not necessarily in the root dir, is that a problem? 2010-10-12T11:42:20 aerique: not in this case? 2010-10-12T11:42:45 mega1: nevermind, i didn't consider your starter package which uses asdf 2010-10-12T11:43:06 so i'll just apply the patch given for now 2010-10-12T11:43:19 ok 2010-10-12T11:43:27 hmm, in practice I don't think it should be a real problem 2010-10-12T11:43:54 what is the nukeglobs fields used for? 2010-10-12T11:43:54 since it's not suppose to ever be compiling a changed submission 2010-10-12T11:44:28 amstan: it's in now 2010-10-12T11:44:34 deletes those files before it starts compiling, I guess the problem would be if someone left them in the upload they sent to the server 2010-10-12T11:44:55 amstan: wait, so is this supposed to be ai-challenge or ai-contest? if it's supposed to be challenge, then why is the url ai-contest.com? 2010-10-12T11:45:02 that's to ensure you don't send binary or precompiled stuff with your submission 2010-10-12T11:45:24 :( 2010-10-12T11:45:30 jmcarthur: it's supposed to be ai-challenge, jeff messed up and used contest in some places 2010-10-12T11:45:36 i still haven't heard an official decision on binaries 2010-10-12T11:45:47 just people saying it doesn't sound bad 2010-10-12T11:45:48 i'm just dying here.. with the inconsistencies on the names 2010-10-12T11:46:06 Zannick: I see. You cannot really enforce it. I just name it *.xxx and rename it when compiling. 2010-10-12T11:46:36 mega1: the server controls the compilation, how would you have it rename it? 2010-10-12T11:46:54 if you can rename it during compilation it's a security problem 2010-10-12T11:47:09 we had to disable a haskell feature for that reason 2010-10-12T11:47:10 Zannick: common lisp has compile time evaluation 2010-10-12T11:47:19 yup, that's exactly what we had to disable 2010-10-12T11:47:25 amstan: ^^ 2010-10-12T11:47:26 you can't 2010-10-12T11:47:43 mega1: we did for haskell 2010-10-12T11:48:01 mega1: when it looked like you couldn't for haskell jeff said things weren't looking good for haskell support. you might want to find a way to disable it :\ 2010-10-12T11:48:04 there are a lot of arguments i don't understand in lisp's comp_args 2010-10-12T11:48:20 mega1: compilation isn't sandboxed 2010-10-12T11:49:19 amstan: do you know if these ec2 servers are set up the same way. is template haskell disabled on those? 2010-10-12T11:49:32 it's not really something that was every put in SVN or anything 2010-10-12T11:49:35 &ever 2010-10-12T11:49:58 does compilation even happen on those? 2010-10-12T11:50:03 yes it does 2010-10-12T11:50:06 i'm not sure 2010-10-12T11:50:13 i don't think compilation happens on those 2010-10-12T11:50:21 yeah it does 2010-10-12T11:50:38 ok.. 2010-10-12T11:50:40 * amstan has no idea 2010-10-12T11:51:20 see tournament_manager.py in the cloud branch starting around line 67 2010-10-12T11:51:22 i'm dead if binaries won't be supported after all 2010-10-12T11:52:06 also you can look at game_server_build.sh to see if whatever it is haskell needs setup actually is 2010-10-12T11:52:43 the commandline args on the sbcl man page all seem to be in use 2010-10-12T11:53:12 but yeah, it loads the bot code by evaluating it 2010-10-12T11:53:14 :( 2010-10-12T11:54:27 we went throught the tron contest with basically the same setup 2010-10-12T11:54:31 *through 2010-10-12T11:55:26 *** progeny has joined #aichallenge 2010-10-12T11:55:34 *** bootzfromhell has quit IRC (Quit: Page closed) 2010-10-12T11:55:50 *** hellman has quit IRC (Remote host closed the connection) 2010-10-12T11:58:18 *** justin_pdx has joined #aichallenge 2010-10-12T12:00:50 Top 10 players: rsergio(4022), Hazard(3956), felixcoto(3923), asavis(3871), cfaftw(3845), dmj111(3844), davidjliu(3820), MariusCG(3816), sequoh(3806), bix0r4ever(3805) 2010-10-12T12:02:34 *** jaspervdj has quit IRC (Quit: NEVER GONNA GIVE YOU UP NEVER GONNA LET YOU DOWN) 2010-10-12T12:04:14 *** jaspervdj has joined #aichallenge 2010-10-12T12:09:42 *** mogron has quit IRC (Quit: Page closed) 2010-10-12T12:10:04 *** bhasker has quit IRC (Quit: bhasker) 2010-10-12T12:11:05 contestbot: rainbow W H A T D A Y I S I T 2010-10-12T12:11:05 pgpaskar_: W H A T D A Y I S I T 2010-10-12T12:11:13 * pgpaskar_ grins 2010-10-12T12:11:17 * pgpaskar_ slaps contestbot 2010-10-12T12:11:35 man reddit is such a vampire to my productivity 2010-10-12T12:11:46 4chan is the same way for me 2010-10-12T12:11:56 *** rebelxt has left #aichallenge 2010-10-12T12:12:04 check it out, im pretty sure i just found hello world in assembly 2010-10-12T12:12:16 CHROUT = $ffd2 ; CHROUT sends a character to the current output device 2010-10-12T12:12:16 CR = $0d ; PETSCII code for Carriage Return 2010-10-12T12:12:16 ; 2010-10-12T12:12:16 hello: 2010-10-12T12:12:16 ldx #0 ; start with character 0 2010-10-12T12:12:17 next: 2010-10-12T12:12:19 lda message,x ; read character X from message 2010-10-12T12:12:23 beq done ; we're done when we read a zero byte 2010-10-12T12:12:25 jsr CHROUT ; call CHROUT to output char to current output device (defaults to screen) 2010-10-12T12:12:26 inx ; next character 2010-10-12T12:12:29 bne next ; loop back while index is not zero (max string length 255 bytes) 2010-10-12T12:12:29 learn to use pastebin 2010-10-12T12:12:31 done: 2010-10-12T12:12:33 rts ; return from subroutine 2010-10-12T12:12:35 ; 2010-10-12T12:12:36 message: 2010-10-12T12:12:39 .byte "Hello, world!" 2010-10-12T12:12:41 .byte CR, 0 ; Carriage Return and zero marking end of string 2010-10-12T12:12:42 my bad 2010-10-12T12:12:45 can you link me that 2010-10-12T12:12:51 er 2010-10-12T12:12:51 whoa 2010-10-12T12:12:53 ill jsut google 2010-10-12T12:13:55 cleaner version with notes: http://pastebin.com/JFTB2ugK 2010-10-12T12:15:27 Zannick: you may as well remove the compile_cleanup branch at some point soon since it's merged in now or I can do it later on if you want 2010-10-12T12:15:28 pgpaskar_, i feel ya... but it's actually how i found out about this contest 2010-10-12T12:15:44 nice 2010-10-12T12:15:53 Speaking of this contest I need to fix a bug 2010-10-12T12:16:02 pgpaskar_: /r/minecraft 2010-10-12T12:16:15 i dont play/own minecraft 2010-10-12T12:16:24 pgpaskar_: you should 2010-10-12T12:16:30 why 2010-10-12T12:16:34 it's epic 2010-10-12T12:16:39 jesus did everyone fork the entire repo for every branch 2010-10-12T12:16:42 it's way too addictive 2010-10-12T12:16:42 speaking of minecraft, my lunch break is coming up and those tunnels aren't going to dig themselves 2010-10-12T12:16:46 this is going to be huge 2010-10-12T12:17:03 at least symlink the static content 2010-10-12T12:17:06 http://news.ycombinator.com/ it's a more targeted productivity vampire for programmers interested in startups :) 2010-10-12T12:17:20 pgpaskar_: this is svn, there's no good way to use it 2010-10-12T12:17:22 lol 2010-10-12T12:17:25 fuck svn 2010-10-12T12:17:54 pgpaskar_: i stopped pulling branches awhile back because people did that 2010-10-12T12:18:00 yeah 2010-10-12T12:18:04 when this finished 2010-10-12T12:18:08 i've just been copying only the planet_wars/backend folder 2010-10-12T12:18:15 im purging those branches from my copy 2010-10-12T12:18:24 because this is ridiculous 2010-10-12T12:18:24 yeah, the branch and fix workflow doesn't work anywhere near as well as with a dvcs 2010-10-12T12:18:30 svn is downloading the same content hundreds of times 2010-10-12T12:18:38 if you cd to trunk and svn up from there, it'll ignore all the branches 2010-10-12T12:18:44 yeah, idk why we're using this, lol 2010-10-12T12:18:45 I deleted 26 branches the other day 2010-10-12T12:18:50 or you can specify 2010-10-12T12:18:51 so it's much better now 2010-10-12T12:18:56 svn update trunk 2010-10-12T12:19:24 only 10 left now :} 2010-10-12T12:19:36 you can probably blame jeff, who put in the instructions to copy the whole of trunk into the branch 2010-10-12T12:20:16 pgpaskar_: i got office key technologies 2010-10-12T12:20:19 so epic.. 2010-10-12T12:20:31 did ya 2010-10-12T12:20:38 i didn't bother with that since i go home during classes now 2010-10-12T12:20:41 3 hrs is too long to afk in office 2010-10-12T12:21:01 i have to busride for like 1 hour for now to get home 2010-10-12T12:21:08 not worth it to make 2 trips per day 2010-10-12T12:21:14 i'll get car technologies though 2010-10-12T12:21:50 yeah 2010-10-12T12:21:57 i walk back and forth its 30m each way 2010-10-12T12:22:10 from the MC? 2010-10-12T12:22:11 no way 2010-10-12T12:22:15 perfect because inbetween class, assignments and being a tool on reddit its the only exercise i get -.- 2010-10-12T12:25:30 *** aerique has quit IRC (Quit: ...) 2010-10-12T12:26:29 this Sleep fix that accoun wants 2010-10-12T12:26:36 ill have to deal w/ it when i get back from class 2010-10-12T12:26:42 ok, cool 2010-10-12T12:26:44 i dont want to decrease the accuracy of the time-out timing with it 2010-10-12T12:27:07 *** Bobng has joined #aichallenge 2010-10-12T12:27:08 because once a sleep ur at the mercy of the scheduler 2010-10-12T12:27:11 10 ms should be fine 2010-10-12T12:28:42 does svn have a facility to diff a current rev folder with an older rev of another folder (for comparing branches to trunk) or do i have to write sh for this 2010-10-12T12:28:53 probably 2010-10-12T12:29:00 try svn diff 2010-10-12T12:29:13 ugh 2010-10-12T12:29:24 i will write baby's first sh to do it 2010-10-12T12:29:26 anywho off to class 2010-10-12T12:36:39 Aeros6 2010-10-12T12:39:12 *** bhasker_ has joined #aichallenge 2010-10-12T12:55:12 *** tapwater has joined #aichallenge 2010-10-12T13:00:50 Top 10 players: rsergio(4086), Hazard(3940), dmj111(3926), felixcoto(3926), asavis(3884), cfaftw(3851), MariusCG(3833), davidjliu(3825), sequoh(3809), savchenko(3801) 2010-10-12T13:12:54 *** wvdschel has joined #aichallenge 2010-10-12T13:18:02 *** mogron has joined #aichallenge 2010-10-12T13:20:43 *** JCS^ has joined #aichallenge 2010-10-12T13:26:12 *** Naktibalda has quit IRC (Quit: ChatZilla 0.9.86 [Firefox 3.6.8/20100722155716]) 2010-10-12T13:34:49 *** ichti has quit IRC () 2010-10-12T13:38:00 *** krokokrusa has quit IRC (Ping timeout: 276 seconds) 2010-10-12T13:40:49 *** Blkt has joined #aichallenge 2010-10-12T13:47:17 *** RainCT has joined #aichallenge 2010-10-12T13:49:41 *** oPless has quit IRC (Quit: This computer has gone to sleep) 2010-10-12T14:00:50 Top 10 players: rsergio(4111), Hazard(3949), felixcoto(3924), dmj111(3907), asavis(3894), cfaftw(3867), MariusCG(3846), davidjliu(3841), savchenko(3823), novastar(3816) 2010-10-12T14:02:10 *** hornairs has joined #aichallenge 2010-10-12T14:02:34 *** choas has joined #aichallenge 2010-10-12T14:03:49 *** boegel has joined #aichallenge 2010-10-12T14:07:54 *** Error323 has joined #aichallenge 2010-10-12T14:08:14 http://ai-contest.com/visualizer.php?game_id=5860106 2010-10-12T14:08:27 how come I lose that when the opponent issued an invalid order? :S 2010-10-12T14:09:30 I think there's a bug with the server that always shows player 1 as making the error 2010-10-12T14:09:54 in reality it seems to have been you if you lost the game 2010-10-12T14:11:49 hmmmm 2010-10-12T14:19:22 man these compilating times are hurting me now 2010-10-12T14:19:33 i would turn off optimizations, but then my tests would take a long time to run 2010-10-12T14:20:45 *** boegel has quit IRC (Ping timeout: 245 seconds) 2010-10-12T14:22:45 *** boegel has joined #aichallenge 2010-10-12T14:22:57 *** wvdschel has quit IRC (Read error: Connection reset by peer) 2010-10-12T14:24:28 jmcarthur, how are compile times hurting? 2010-10-12T14:25:16 *** Umsturz has joined #aichallenge 2010-10-12T14:26:31 local development i mean 2010-10-12T14:26:37 taking a long time to test changes 2010-10-12T14:27:24 i might be able to turn down optimizations without slowing the tests too much though... 2010-10-12T14:27:56 oh 2010-10-12T14:30:52 python 4tw no compilation ^ 2010-10-12T14:31:46 are the bots really getting so much better on tcp 2010-10-12T14:31:53 i see a lot of new bots 2010-10-12T14:31:56 ripping it up 2010-10-12T14:31:58 no compilation is a two-edged blade 2010-10-12T14:32:14 but at least there are things like pychecker 2010-10-12T14:32:29 well i test locally and on tcp 2010-10-12T14:32:42 so most bugs that a compiler would catch are already caught and fixed 2010-10-12T14:32:59 Zannick probably meant performance 2010-10-12T14:33:02 that's, uh, not the same 2010-10-12T14:33:15 no, i mean with regards to compile time errors 2010-10-12T14:33:16 performance is an issue when oyu start running into timeouts 2010-10-12T14:33:19 like syntax 2010-10-12T14:33:26 or typoed variable names 2010-10-12T14:33:27 hmm those aren't hard to fix? 2010-10-12T14:33:38 if you have a reasonable test case 2010-10-12T14:33:44 those should get caught 2010-10-12T14:33:53 no, but before i used pychecker i would only find those at runtime 2010-10-12T14:34:09 and they break everything so i have to restart 2010-10-12T14:34:35 these bots aren't that complicated to run into such stuff 2010-10-12T14:34:36 runtime type checking can never replace static type checking 2010-10-12T14:34:56 static types *prove* properties about your code that runtime checks can only crap out on at unexpected times 2010-10-12T14:34:57 bhasker_: maybe not, but i'm talking about a different application, anyway 2010-10-12T14:35:16 i agree with you jmc but for this app it doesn't really matter that much 2010-10-12T14:35:22 for the most part, you can get stuff done with runtime type checking, i agree 2010-10-12T14:35:36 but these static types have already saved my ass on a lot of points 2010-10-12T14:35:41 even in this contest 2010-10-12T14:36:22 and with a nice enough type system you can even approach "if it builds, it's correct", although i'm not really coding in a way suitable for that 2010-10-12T14:36:24 i guess depends on how complicated your bot gets 2010-10-12T14:37:09 anyways whats your bots name jmc? and are you running it on tcp? 2010-10-12T14:37:15 *** Meatkat has quit IRC (Quit: Leaving) 2010-10-12T14:37:52 *** rebelxt has joined #aichallenge 2010-10-12T14:37:52 it will be called jmcarthur, but it's not running yet 2010-10-12T14:38:03 well, on tcp i will call it jmcarthur.something 2010-10-12T14:38:10 ah k 2010-10-12T14:38:48 i need to fix my code to avoid snipes 2010-10-12T14:38:59 losing a lot of matches due to enemy sniping my neutrals at the last minute:*( 2010-10-12T14:39:03 *** sniklles has joined #aichallenge 2010-10-12T14:39:09 bhasker_: NO, don't do it! ;-) 2010-10-12T14:39:27 bhasker_: i love stealing your neutrals ;-) 2010-10-12T14:39:32 especially this wleite.008 2010-10-12T14:39:37 almost always snipes my neutrals 2010-10-12T14:39:57 almost all my bots losses to this one have been due to neutral sniping 2010-10-12T14:43:15 neutral sniping is a good strategy 2010-10-12T14:43:29 defending against neutral sniping, therefore, is a good idea 2010-10-12T14:43:33 *** jaspervdj has quit IRC (Quit: NEVER GONNA GIVE YOU UP NEVER GONNA LET YOU DOWN) 2010-10-12T14:46:20 mostly i defend them sometimes though i think my bot decides acquiring another neutral is a better idea and doesn't protect the snipe 2010-10-12T14:46:29 there is a bug in there somewhere 2010-10-12T14:46:30 need to find it 2010-10-12T14:47:09 *** perror has quit IRC (Quit: Bye all !) 2010-10-12T14:47:42 *** fawek has joined #aichallenge 2010-10-12T14:55:38 *** Itkovian has joined #aichallenge 2010-10-12T14:55:47 *** Umsturz has quit IRC (Quit: Umsturz) 2010-10-12T14:59:33 *** Florian95 has quit IRC (Ping timeout: 265 seconds) 2010-10-12T15:00:51 Top 10 players: rsergio(4117), Hazard(3951), novastar(3941), dmj111(3928), felixcoto(3924), asavis(3880), cfaftw(3866), MariusCG(3845), davidjliu(3843), savchenko(3818) 2010-10-12T15:04:39 *** bhasker_ has quit IRC (Quit: bhasker_) 2010-10-12T15:04:51 *** jaspervdj has joined #aichallenge 2010-10-12T15:05:39 *** bhasker has joined #aichallenge 2010-10-12T15:08:40 *** mceier has joined #aichallenge 2010-10-12T15:14:25 *** oPless has joined #aichallenge 2010-10-12T15:16:13 *** sniklles has quit IRC (Quit: Page closed) 2010-10-12T15:38:50 *** Olathe has quit IRC (Ping timeout: 240 seconds) 2010-10-12T15:40:42 *** fawek has quit IRC (Remote host closed the connection) 2010-10-12T15:41:42 oh 2010-10-12T15:41:46 4.1k 2010-10-12T15:43:36 ? 2010-10-12T15:43:41 *** chl has joined #aichallenge 2010-10-12T15:43:49 top10, 4.1k points 2010-10-12T15:43:58 ah 2010-10-12T15:44:02 rsergio is very tough piece 2010-10-12T15:44:08 i guess that means bots are continuing to get better 2010-10-12T15:44:15 well 2010-10-12T15:44:18 hello 2010-10-12T15:44:22 it depends on relation to ragebot maybe 2010-10-12T15:44:30 yep, best strategy has not been found 2010-10-12T15:44:50 yea 2010-10-12T15:45:23 hazard, ext, hazard, rsergio 2010-10-12T15:51:30 lol: Top 10 players: albert(600), a1k0n_(569), cheese_bot(465), zaphus(322), phreeza(318), inverselimit(286), seigen(281), UloPee(192), mistabell(68), galcon(16) 2010-10-12T15:52:21 elo scores were much lower just after i made the rankings feature 2010-10-12T15:52:21 yeah 2010-10-12T15:52:42 these logs should pretty much give a history on who was in top 2010-10-12T15:52:42 amstan: they also weren't adjusted to not be 0-centered then 2010-10-12T15:53:16 *** boegel has quit IRC (Ping timeout: 245 seconds) 2010-10-12T15:53:35 personally i think the adjustment should be such that ragebot is at 0 2010-10-12T15:53:59 heh 2010-10-12T15:54:27 then you absolute score is actually somewhat meaningful 2010-10-12T15:54:30 *your 2010-10-12T15:54:48 http://home.hypertriangle.com/~alex/players 2010-10-12T15:55:04 a grep for all player lines 2010-10-12T15:55:27 time to throw some awk at that 2010-10-12T15:55:31 i have some logs from 09-07 with my name in it :P 2010-10-12T15:55:51 Zannick: i can put them up.. 2010-10-12T15:55:54 if you want.. 2010-10-12T15:55:59 < contestbot> Top 10 players: phreeza(484), zaphus(391), cheese_bot(390), Mathnerd314(338), Max(255), seigen(80), bswolf(47), jdonland(39), amstan(-114), rmotome(-118) 2010-10-12T15:56:15 hahaha, high score! 7th place! 2010-10-12T15:56:18 oh lol 2010-10-12T15:56:46 *** boegel has joined #aichallenge 2010-10-12T15:56:49 Zannick: so do you have logs before 09 09? 2010-10-12T15:56:55 yeah 2010-10-12T15:56:56 i could put them up in here: http://contestbot.hypertriangle.com/channellogs/%23aichallenge/ 2010-10-12T15:58:19 contestbot: uptime 2010-10-12T15:58:19 amstan: I have been running for 4 weeks, 1 day, 21 hours, 38 minutes, and 26 seconds. 2010-10-12T15:58:23 yes! 2010-10-12T15:58:42 my server has 87 days 2010-10-12T15:58:49 let me pastebin 2010-10-12T15:58:58 i should probably get latest ubuntu and reboot it 2010-10-12T16:00:52 Top 10 players: rsergio(4111), Hazard(3943), novastar(3936), dmj111(3923), felixcoto(3917), asavis(3874), cfaftw(3858), MariusCG(3836), davidjliu(3835), savchenko(3814) 2010-10-12T16:02:36 amstan: http://pastebin.com/PK2xZDZu 2010-10-12T16:02:56 Zannick: not with contestbot.. 2010-10-12T16:02:58 i mean all of them 2010-10-12T16:03:18 hm? 2010-10-12T16:03:26 oh, you want all the logs 2010-10-12T16:03:28 logs from this channel 2010-10-12T16:03:29 yeah 2010-10-12T16:03:37 it would be cool if we have records from the beggining 2010-10-12T16:04:26 *** janzert has quit IRC (Ping timeout: 240 seconds) 2010-10-12T16:04:49 *** Acount has quit IRC () 2010-10-12T16:06:30 let me email those to you later tonight 2010-10-12T16:06:47 there might be some hours missing 2010-10-12T16:07:07 from when the server i'm on decided to go time-travelling 2010-10-12T16:07:17 but i have the logs, dated 2000 2010-10-12T16:07:24 cool 2010-10-12T16:07:35 i might have some of the logs in here 2010-10-12T16:08:18 but yeah, i'll send what i have later 2010-10-12T16:08:28 *** cfaftw has quit IRC (Quit: Leaving) 2010-10-12T16:09:15 *** Logfile started 2010-10-12T16:09:17 *** on Wed Feb 3 15:01:43 2010 2010-10-12T16:09:18 [Wednesday 03 February 2010] [15:01:43] Join You have joined the channel #aichallenge (~alex@129-97-226-160.uwaterloo.ca). 2010-10-12T16:09:52 wait! 2010-10-12T16:09:55 wrong channel! 2010-10-12T16:10:12 no, nvm 2010-10-12T16:10:16 i have no idea how i'm generating test data where any two planets are 0 away from each other... 2010-10-12T16:10:23 --- Log opened Tue Mar 21 03:47:55 2000 2010-10-12T16:10:28 i'm using the same test criteria as the map generator 2010-10-12T16:10:37 ... (10 minutes later) ... 2010-10-12T16:10:43 --- Log closed Thu Sep 07 00:26:00 2000 2010-10-12T16:10:45 and not doing something stupid like reversing the conditional 2010-10-12T16:10:48 lololol 2010-10-12T16:11:23 haha, you always find the problem after you say something about it 2010-10-12T16:11:34 i have to filter my log.. 2010-10-12T16:11:37 but it's pretty complete 2010-10-12T16:12:07 jmcarthur: my friends swear by the following method of finding race conditions: write a comment above the function saying "/* There is no race in the following code because..." 2010-10-12T16:12:09 but yeah, first log: [Thursday 29 April 2010] 2010-10-12T16:12:21 oh, wait, no, i didn't find it after all 2010-10-12T16:12:23 when jhchrist suggested we do fightr 2010-10-12T16:12:50 Zannick: i was actually thinking of Rubber Duck Driven Development 2010-10-12T16:13:21 Zannick: keep a rubber duck on your desk. when you have a problem, you explain it to the duck. it will listen while you explain the problem, and then you will be enlightened 2010-10-12T16:13:26 jmcarthur: you're in there too! this is so epic 2010-10-12T16:13:31 i've heard of that 2010-10-12T16:15:06 *** delt0r___ has joined #aichallenge 2010-10-12T16:15:11 coworkers make good rubber ducks 2010-10-12T16:15:20 *** davidjliu has joined #aichallenge 2010-10-12T16:15:41 certainly true if you work in a rubber duck factory 2010-10-12T16:15:52 omg lovely 2010-10-12T16:16:11 ceiling(0/0) gives me a huge negative number 2010-10-12T16:16:38 i think that's my problem 2010-10-12T16:16:48 and duh sqrt of a negative number gives me NaN 2010-10-12T16:16:52 :) 2010-10-12T16:16:53 *** delt0r_ has quit IRC (Ping timeout: 265 seconds) 2010-10-12T16:16:58 oops :P 2010-10-12T16:17:41 i should have just used a vector type for these coordinates from the beginning. that's what special data types are for 2010-10-12T16:17:46 oh well 2010-10-12T16:18:23 weird that ceiling(NaN) gives that result though 2010-10-12T16:18:30 i would think it should be NaN. maybe a bug 2010-10-12T16:20:43 *** Acount has joined #aichallenge 2010-10-12T16:22:47 *** Bobng has quit IRC (Quit: Leaving) 2010-10-12T16:28:46 *** rebelxt has left #aichallenge 2010-10-12T16:28:53 *** Bobng has joined #aichallenge 2010-10-12T16:29:47 *** Bobng has quit IRC (Client Quit) 2010-10-12T16:35:57 *** rebelxt has joined #aichallenge 2010-10-12T16:36:10 *** Naktibalda has joined #aichallenge 2010-10-12T16:38:13 omg, I cannot access my password 2010-10-12T16:38:15 wtf 2010-10-12T16:38:18 amstan: looks like only one game server is online at the moment (not sure if this has been noticed already) 2010-10-12T16:38:37 does anyone know how to access it for nickserv 2010-10-12T16:39:42 epona: umm 2010-10-12T16:39:45 epona: /msg nickserv help 2010-10-12T16:40:13 k, thx 2010-10-12T16:40:25 oh that's not actually my problem either, and no i remember why i wasn't worrying about NaN... i'm squaring the components of the sum anyway, so it doesn't matter when they are negative, duh 2010-10-12T16:40:29 >nickserv< sendpass epona 2010-10-12T16:40:29 -NickServ- You are not authorized to perform this operation 2010-10-12T16:40:31 fail. 2010-10-12T16:41:49 *** Mathnerd314 has joined #aichallenge 2010-10-12T16:41:52 *** boegel has quit IRC (Quit: *poof!*) 2010-10-12T16:42:00 *** Bobng has joined #aichallenge 2010-10-12T16:43:49 *** mcmillen has left #aichallenge 2010-10-12T16:44:00 *** janzert has joined #aichallenge 2010-10-12T16:44:40 *** epona has quit IRC (Quit: Leaving) 2010-10-12T16:46:07 yay! 2010-10-12T16:46:43 we now have: http://contestbot.hypertriangle.com/channellogs/%23aichallenge/%23aichallenge.2010-04-planning.log 2010-10-12T16:46:48 and http://contestbot.hypertriangle.com/channellogs/%23aichallenge/%23aichallenge.2010-09-00precontestbot.log 2010-10-12T16:46:53 jmcarthur, Zannick ^^ 2010-10-12T16:47:13 *** dorpairs has joined #aichallenge 2010-10-12T16:47:55 woot 2010-10-12T16:48:37 greghaynes: you're in there too, say cheese 2010-10-12T16:49:34 *** hornairs has quit IRC (Ping timeout: 276 seconds) 2010-10-12T16:49:52 it's only what i have on my desktop, i can't promise i have everything 2010-10-12T16:54:51 cool 2010-10-12T16:55:00 *** Palmik has quit IRC (Remote host closed the connection) 2010-10-12T16:56:31 *** Mathnerd314 has quit IRC (Ping timeout: 265 seconds) 2010-10-12T16:58:45 the planning one is fairly entertaining 2010-10-12T16:59:59 lol, i guess i deserve this for using an unsigned byte as my turn count type 2010-10-12T17:00:03 Zannick: yes 2010-10-12T17:00:32 i'm storing distances as number of turns, of course, so if the distance between two planets is over 255 then it overflows 2010-10-12T17:00:51 Top 10 players: rsergio(4117), Hazard(3945), novastar(3944), dmj111(3931), felixcoto(3924), asavis(3879), cfaftw(3861), MariusCG(3845), davidjliu(3842), savchenko(3824) 2010-10-12T17:07:46 *** jaspervdj has quit IRC (Quit: NEVER GONNA GIVE YOU UP NEVER GONNA LET YOU DOWN) 2010-10-12T17:10:26 over 255? 2010-10-12T17:10:37 *** Mathnerd314 has joined #aichallenge 2010-10-12T17:10:53 it must be a huge map 2010-10-12T17:10:59 Naktibalda: i'm generating test data programmatically 2010-10-12T17:11:23 have you test to test test data? 2010-10-12T17:11:42 i'm just gonna contain the test data. i'll probably have to make the turns type two bytes anyway later, but that's not sufficient anyway in this case 2010-10-12T17:11:52 have i test to test test data? 2010-10-12T17:11:54 test the tests to test the test data 2010-10-12T17:12:01 I N C E P T I O N 2010-10-12T17:12:18 have you a test to test test data? 2010-10-12T17:12:26 *** Bobng has quit IRC (Ping timeout: 245 seconds) 2010-10-12T17:12:41 Naktibalda: if any of my normals tests fail and i know the problem isn't my normal code then i know the problem is my test data :P 2010-10-12T17:12:45 *normal tests 2010-10-12T17:13:59 i have written a couple tests for my test data as a result of finding problems with it, but i'm not worrying about it as much as my normal code 2010-10-12T17:16:29 *** rebelxt has left #aichallenge 2010-10-12T17:20:36 hmm, what do you think are the chances of someone syncing the server code back into svn tonight? 2010-10-12T17:21:15 almost zero 2010-10-12T17:21:58 yeah, that's what I'm afraid of unless j3camero happens to have an evening to spend here 2010-10-12T17:22:55 man i have so many constraints on my test data that i takes a really long time just to generate it all during my tests 2010-10-12T17:23:39 i'm generating not only valid maps, but valid game states (during like the middle of a virtual game) that could be plausibly reached during an actual game 2010-10-12T17:24:02 the elusive admin j3camero 2010-10-12T17:24:08 I was thinking of changing the engine to truly wait for bot input instead of the busy loop it has now. But I'm really afraid to add any more changes than I already have 2010-10-12T17:25:02 jmcarthur: hehe, yeah sounds intensive. Can't just produce and save them before hand? 2010-10-12T17:25:14 then you know the same states are tested each time as well 2010-10-12T17:25:18 janzert: defeats the purpose to do that. i want to run it on new data every time i run the tests 2010-10-12T17:25:32 janzert: i can save the seed for unsuccessful runs if i want to 2010-10-12T17:25:33 *** Haggis has joined #aichallenge 2010-10-12T17:25:41 janzert: problem is if the engine is single-threaded it can only wait on one pipe at a time 2010-10-12T17:25:48 ahh, I was thinking of unit test type testing 2010-10-12T17:25:57 no, i'm doing property checks 2010-10-12T17:26:08 Zannick: it already has a separate thread listening to each bot 2010-10-12T17:26:17 just needs to have those threads signal the main thread 2010-10-12T17:26:26 hm, true 2010-10-12T17:26:32 or could use select 2010-10-12T17:26:32 and the main thread wait on the signal instead of looping 2010-10-12T17:26:40 maybe for the next revision postcontest 2010-10-12T17:27:08 jmcarthur: that was what I was going to do initially but it'll be less invasive change to do this 2010-10-12T17:27:20 ah 2010-10-12T17:27:52 and is more portable code to boot, not that it matters :) 2010-10-12T17:27:54 janzert: anyway, i'm now restricting my maps to 255x255, and still trying to generate anywhere between 2 and 100 planets in them... 2010-10-12T17:28:02 think i might lower that to 50 instead of 100 2010-10-12T17:28:23 yeah, might as well for testing at this point 2010-10-12T17:31:13 lol, are you preparing for the finals game Galaxy Wars which have hundreds of planets? :P 2010-10-12T17:31:25 *** fawek has joined #aichallenge 2010-10-12T17:32:43 I'm starting to feel bad for my ship pilots, a disturbing number of my games are going to 200 turns 2010-10-12T17:33:12 Zannick: i'm just using it to find bugs, not to see how well my ai does 2010-10-12T17:33:20 yeah 2010-10-12T17:34:13 really i should probably switch from quickcheck to smallcheck. most failures are for small cases anyway 2010-10-12T17:34:21 and smallcheck is much faster, to boot 2010-10-12T17:37:25 uh oh, just noticed all the cloud servers are down :( 2010-10-12T17:39:10 i hear that happens every now and then, i think it's auto-cost balancing or something 2010-10-12T17:40:02 yeah, it is but looking at gpm average for the last hour they've been down at least that long and the spot price for them was low during that time 2010-10-12T17:40:34 i don't know how it actually works 2010-10-12T17:40:43 you can see current cost and history here btw http://cloudexchange.org/charts/us-east-1.linux.c1.medium.html 2010-10-12T17:41:50 it did jump about about 3 minutes ago but was low before that 2010-10-12T17:42:15 hopefully when it comes back down the automation will kick a few back on 2010-10-12T17:49:34 *** Utkarsh has quit IRC (Ping timeout: 276 seconds) 2010-10-12T17:50:54 *** progeny has quit IRC (Quit: Page closed) 2010-10-12T17:52:48 *** JensTi has joined #aichallenge 2010-10-12T17:53:41 *** Utkarsh has joined #aichallenge 2010-10-12T17:54:44 janzert: it takes about an hour after the spot prices are reasonable for the instance to auto setup, i think 2010-10-12T17:54:53 *** oPless has quit IRC (Quit: This computer has gone to sleep) 2010-10-12T17:55:10 i don't know the details though, and i could be wrong about that 2010-10-12T17:55:56 *** McLeopold has joined #aichallenge 2010-10-12T17:56:50 *** ChanServ sets mode: +o McLeopold 2010-10-12T17:58:06 yeah look at that, i found a bug that only seems to come up with large data sets 2010-10-12T17:58:17 ... probably is just another overflow bug... 2010-10-12T17:58:45 in fact i bet i know what it is 2010-10-12T17:58:52 (an overflow bug :P) 2010-10-12T18:00:52 Top 10 players: rsergio(4101), Hazard(3936), dmj111(3927), novastar(3917), felixcoto(3906), asavis(3858), cfaftw(3849), davidjliu(3823), MariusCG(3821), sequoh(3803) 2010-10-12T18:01:16 this is why i like asserts 2010-10-12T18:01:21 yup, i was overflowing the number of ships 2010-10-12T18:01:27 *** sigh has joined #aichallenge 2010-10-12T18:01:35 assert something is nonnegative, then immediate failure during tests 2010-10-12T18:01:37 which i think i reasonably have set as two bytes 2010-10-12T18:01:54 yeah i could throw some asserts in... 2010-10-12T18:02:12 why are you not using 32 bit ints for most everything? are you really that tight on memory 2010-10-12T18:02:19 the important thing to remember is not to have useful things in the assert 2010-10-12T18:02:31 janzert: not tight on memory, but tight on memory bandwidth 2010-10-12T18:02:40 i had assert(scanf(blah) == 6) or something 2010-10-12T18:02:52 which would have been really bad when the asserts were removed 2010-10-12T18:02:54 ahh 2010-10-12T18:03:44 have to admit it still smells a bit of premature optimization though :/ 2010-10-12T18:04:00 i don't think that choosing a type is a premature optimization 2010-10-12T18:04:09 you have to choose it anyway 2010-10-12T18:04:15 might as well choose something appropriate 2010-10-12T18:04:38 and no, i *know* i will want this 2010-10-12T18:04:46 choose the processor default, it can generally work with those fastest anyway :) 2010-10-12T18:04:47 well, with a turn limit, there's a strict upper bound on the number of ships 2010-10-12T18:04:49 i'm making some big arrays here 2010-10-12T18:04:59 the processor can, sure 2010-10-12T18:05:01 but not the bus 2010-10-12T18:05:22 *** dorpairs has quit IRC (Remote host closed the connection) 2010-10-12T18:05:37 cache optimizations > cpu optimizations, at least for large data sets 2010-10-12T18:05:42 *** yasith has quit IRC (Ping timeout: 252 seconds) 2010-10-12T18:05:45 *** Mathnerd314 has quit IRC (Disconnected by services) 2010-10-12T18:06:28 *** yasith_ has quit IRC (Ping timeout: 276 seconds) 2010-10-12T18:06:35 *** Mathnerd314_ has joined #aichallenge 2010-10-12T18:06:38 *** Mathnerd314_ is now known as Mathnerd314 2010-10-12T18:06:40 yeah, just not the direction I would work from 2010-10-12T18:06:41 2-4 times the data in cache can mean 2-4 times the throughput when the planets are aligned 2010-10-12T18:07:12 really there just isn't much point in not doing it, the way i see it 2010-10-12T18:07:55 except for unexpected overflows? 2010-10-12T18:08:04 "2-4 times the throughput when the planets are aligned" sounds like some astrological new-age optimization technique :P 2010-10-12T18:08:10 these were due to errors in the test data, not in the code 2010-10-12T18:08:14 janzert: ^^ 2010-10-12T18:08:16 sigh: lol 2010-10-12T18:08:38 it was generating data that was unrealistic 2010-10-12T18:08:49 ok 2010-10-12T18:18:06 *** RainCT has quit IRC (Remote host closed the connection) 2010-10-12T18:18:55 *** yasith has joined #aichallenge 2010-10-12T18:18:57 *** yasith_ has joined #aichallenge 2010-10-12T18:19:46 i have an idea that I might prototype if people think it is interesting... a peer to peer client for playing one on one. dhartmei's server is super, but I have noticed people trying to play each other by luck. 2010-10-12T18:19:54 *** lavalamp has joined #aichallenge 2010-10-12T18:20:06 this would mostly be a learning experience for me, so it might not work, or might suck. 2010-10-12T18:20:10 dmj111: I think that is a great idea 2010-10-12T18:20:26 cool. 2010-10-12T18:20:45 I've been working on a tcp server myself. I've been wanting to run asymetrical maps. 2010-10-12T18:20:52 ahh, fun. 2010-10-12T18:21:17 I will try to keep this from being yet another unfinished project, and at least draw up some of the design. 2010-10-12T18:21:18 It seems like you could modify the tcp client to be able to request an opponent. 2010-10-12T18:21:37 The match-maker could wait for that connection and then pair them up. 2010-10-12T18:21:46 probably. I don't want to request extra stuff from dhartmei since his stuff is so helpful as it is :) 2010-10-12T18:22:09 It would be nice if we had a python implementation. :) 2010-10-12T18:22:11 you'd want to pair them and run the games from each perspective 2010-10-12T18:22:25 McLeopold: what you suggest is probably much easier than my idea. I was looking at http://en.wikipedia.org/wiki/Commitment_scheme to make it fair. 2010-10-12T18:22:52 McLeopold: I am going working on a python implementation, for several reasons. 2010-10-12T18:23:01 dmj111: It would be nice to let people leave their bots "available" for games too 2010-10-12T18:23:07 If you put it on github, I will help. 2010-10-12T18:23:25 McLeopold: as a python guy, I figured it would be bitbucket :) 2010-10-12T18:23:28 JamesMG: that's a great idea! 2010-10-12T18:23:39 i use bitbucket :) 2010-10-12T18:23:41 so I could play against some of the top bots :) 2010-10-12T18:23:47 dmj111: sure, anything 2010-10-12T18:23:51 :) 2010-10-12T18:23:55 http://bitbucket.org/dmj111/planetwars_test_tools 2010-10-12T18:23:57 that is my start. 2010-10-12T18:24:22 I know someone has written a java tcp client. Is there a python one? 2010-10-12T18:24:24 *** jukkerknott has joined #aichallenge 2010-10-12T18:24:34 *** mogron has quit IRC (Ping timeout: 265 seconds) 2010-10-12T18:24:39 not that I know of, but I just realized today how straightforward it was. 2010-10-12T18:24:47 besides the socket stuff... 2010-10-12T18:25:06 I've done some socket stuff in python, but not alot. 2010-10-12T18:25:11 JamesMG: I will start mine back up in a little bit... I have had thunderstorms glitching my power. 2010-10-12T18:25:27 TCP won't pair me with you, my bot is rated too low, heh 2010-10-12T18:25:42 JamesMG: I could tell my bot to open a connection, but only wait for a specific request for my bot. 2010-10-12T18:25:55 Maybe some keep alive stuff. 2010-10-12T18:25:59 I thought tcp was pretty random... maybe I am wrong? 2010-10-12T18:26:07 s/tcp/tcpserver/ 2010-10-12T18:26:13 I don't know, I seem to fight close to my ELO most frequently 2010-10-12T18:26:18 ahh.. 2010-10-12T18:26:24 It only waits a few seconds for the best matchup. It needs to wait longer. 2010-10-12T18:26:34 with some random top/bottom bots thrown in it seems 2010-10-12T18:26:51 well, I'll check back in later. 2010-10-12T18:27:09 If my timer is 3 minutes, then anyone that wants to play me would want to connect and wait that long to see if I would come back. 2010-10-12T18:27:39 Yeah McLeopold, something like that would be awesome 2010-10-12T18:27:42 dmj111: do you pay for bitbucket. 2010-10-12T18:27:44 *** fawek has quit IRC (Read error: Connection reset by peer) 2010-10-12T18:28:09 *** lavalamp has quit IRC (Quit: Page closed) 2010-10-12T18:29:59 McLeopold: not for what I do. I think any public repo is free, and it is free to set up private repositories for less than 5 people. 2010-10-12T18:30:07 http://bitbucket.org/plans 2010-10-12T18:31:05 *** JamesMG has quit IRC (Quit: home) 2010-10-12T18:31:35 Zannick: I am not a heavy user of bitbucket, but I do like it :) 2010-10-12T18:31:35 that sounds about right 2010-10-12T18:31:47 i mostly have just a private repo i use for backups 2010-10-12T18:32:02 i like hg a little more than git :) 2010-10-12T18:32:28 here's a dvcs fight starter: bzr > hg > git :) 2010-10-12T18:32:35 hahaha 2010-10-12T18:32:39 never tried bzr 2010-10-12T18:32:58 unfortunately for me people using bzr < hg < got :( 2010-10-12T18:33:02 err git 2010-10-12T18:33:08 dmj111: I'm following your project 2010-10-12T18:33:10 but i say: hg > git > svn > cvs 2010-10-12T18:33:21 Zannick: for sure 2010-10-12T18:33:46 hg|git|svn|cvs > nothing 2010-10-12T18:34:07 McLeopold: ^^^ that is true. 2010-10-12T18:34:11 cp -r > nothing 2010-10-12T18:34:39 McLeopold: I'll figure out how to let you change stuff eventually... 2010-10-12T18:34:45 ok.. really going now. 2010-10-12T18:34:45 yes, i have used this "vcs" >.> 2010-10-12T18:35:11 hg|git|svn|cvs > scp > cp > nothing 2010-10-12T18:35:33 oh, i'm forgetting perforce 2010-10-12T18:35:57 nothing > rm -r 2010-10-12T18:36:01 p4 > svn :P 2010-10-12T18:36:07 Zannick: yeah, before dvcs and still having to deal with the hassle of setting up a central repository for a project cp -r was most common for me 2010-10-12T18:36:22 *** Meatkat has joined #aichallenge 2010-10-12T18:36:22 or more commonly zip or tar 2010-10-12T18:36:42 i first used svn for just me as a backup 2010-10-12T18:36:42 MyBot.2.4.1-new-THE_REAL_ONE_.zip 2010-10-12T18:36:44 *** Mathnerd314 has quit IRC (Disconnected by services) 2010-10-12T18:37:07 then i used git for a two-person project 2010-10-12T18:37:32 *** Mathnerd314_ has joined #aichallenge 2010-10-12T18:37:35 *** Mathnerd314_ is now known as Mathnerd314 2010-10-12T18:39:01 being able to bzr init .; bzr add; to start a project really kicked me into using a vcs for everything :) 2010-10-12T18:41:55 *** jaspervdj has joined #aichallenge 2010-10-12T18:42:40 *** Azrathud has joined #aichallenge 2010-10-12T18:42:43 *** choas has quit IRC (Quit: leaving) 2010-10-12T18:43:06 yay spot prices are coming back down, time to start crossing fingers and hoping servers come back 2010-10-12T18:43:45 janzert: same 2010-10-12T18:45:25 *** Azrathud has quit IRC (Client Quit) 2010-10-12T18:47:18 *** rebelxt has joined #aichallenge 2010-10-12T18:47:29 *** rebelxt has left #aichallenge 2010-10-12T18:48:13 *** rebelxt has joined #aichallenge 2010-10-12T18:56:22 Zannick: were you thinking of tackling getting the language information split into its own module now that the refactor is done? 2010-10-12T18:56:41 into its own module? 2010-10-12T18:57:13 that's not a huge improvement, the suggestions i recall were moving it into the database 2010-10-12T18:57:14 yes and then adding the command line to run it into that and out of the database 2010-10-12T18:57:26 oh, I wanted to move it out :) 2010-10-12T18:57:51 *** Azrathud has joined #aichallenge 2010-10-12T18:58:01 what language information do you mean? the main code file/executable arguments that are in the database? 2010-10-12T18:58:09 basically just leaving a flag in the database on whether to enable a specific language 2010-10-12T18:58:15 right 2010-10-12T18:58:39 maybe 2010-10-12T18:59:30 it would make it easier when setting up new servers and make it accessible from the to see what the actual commands bots are being run with 2010-10-12T18:59:49 yeah 2010-10-12T19:00:23 i would rather have it in a file so it is easy to view and edit 2010-10-12T19:00:37 but i'd rather fix the cloud race first 2010-10-12T19:00:52 yeah, probably a good idea 2010-10-12T19:00:52 Top 10 players: rsergio(4116), Hazard(3933), dmj111(3917), novastar(3906), felixcoto(3899), asavis(3839), cfaftw(3830), davidjliu(3823), MariusCG(3813), savchenko(3779) 2010-10-12T19:01:56 I can work on that if you aren't already 2010-10-12T19:02:08 i'm not 2010-10-12T19:02:11 just use tempfile.mkdtemp to download and compile 2010-10-12T19:02:21 and the rename it aftword to the submission id 2010-10-12T19:02:28 yeah 2010-10-12T19:02:35 look about right?... 2010-10-12T19:02:39 basically, yeah 2010-10-12T19:02:44 I'll work it up then 2010-10-12T19:03:37 heh, actually mkdtemp is deprecated... mkstemp it is 2010-10-12T19:03:43 i'm busy for about 5-6 more hours, but ping me when you're done and i can take a look 2010-10-12T19:03:48 ok 2010-10-12T19:04:04 really? 2010-10-12T19:04:15 no, mktemp is deprecated 2010-10-12T19:04:15 that's what the docs say 2010-10-12T19:04:27 ahh 2010-10-12T19:04:35 looked at the wrong entry when I went back 2010-10-12T19:05:49 rsergio is flying high! too bad he is not on tcp.. 2010-10-12T19:10:52 *** rebelxt has left #aichallenge 2010-10-12T19:12:51 *** Meatkat has quit IRC (Ping timeout: 240 seconds) 2010-10-12T19:17:47 *** justin_pdx has quit IRC (Quit: justin_pdx) 2010-10-12T19:24:01 *** Appleman1234 has joined #aichallenge 2010-10-12T19:27:00 *** mceier has quit IRC (Quit: leaving) 2010-10-12T19:36:25 *** jukkerknott has quit IRC (Quit: Page closed) 2010-10-12T19:48:01 *** ratatata has joined #aichallenge 2010-10-12T19:51:50 *** Blkt has quit IRC (Remote host closed the connection) 2010-10-12T19:54:06 *** McLeopold has quit IRC (Quit: Leaving) 2010-10-12T20:00:52 Top 10 players: rsergio(4115), Hazard(3929), dmj111(3917), novastar(3909), felixcoto(3900), asavis(3837), cfaftw(3837), davidjliu(3823), MariusCG(3813), sequoh(3784) 2010-10-12T20:02:11 *** Haggis has quit IRC (Quit: Page closed) 2010-10-12T20:02:33 what happened to extrapostrophe... down to 17th after being in 1st 2010-10-12T20:02:37 same submission 2010-10-12T20:03:24 *** jaspervdj has quit IRC (Quit: NEVER GONNA GIVE YOU UP NEVER GONNA LET YOU DOWN) 2010-10-12T20:05:44 what happened to your bot? 2010-10-12T20:05:51 *** jorge has joined #aichallenge 2010-10-12T20:06:03 mine? 2010-10-12T20:06:07 ouch, only won 4 of his last 20 games 2010-10-12T20:21:27 i should submit my new bot 2010-10-12T20:22:00 sigh http://72.44.46.68/getplayer?player=malazan0.1 2010-10-12T20:22:05 new bot 2010-10-12T20:22:07 new code base 2010-10-12T20:30:12 *** optimum is now known as optimum_ 2010-10-12T20:31:47 amstan: if you don't mind it would really help to set up testing if you could do a mysqldump --no-data on the contest database and pastebin the result 2010-10-12T20:32:00 i cannot right now, sorry 2010-10-12T20:32:03 doing assignment 2010-10-12T20:32:05 np 2010-10-12T20:32:07 can you wait until 10pm? 2010-10-12T20:32:10 contestbot: time 2010-10-12T20:32:10 amstan: 08:32 PM, October 12, 2010 2010-10-12T20:32:12 sure 2010-10-12T20:32:44 janzert: is schema.sql in repository out of date? 2010-10-12T20:32:47 Zannick: rough draft here http://pastebin.org/161642 having a bit of a hard time actually testing it locally since the schema in svn is outdated 2010-10-12T20:32:57 Naktibalda: yes, has been for quite a while 2010-10-12T20:33:28 you should ask amstan to commit new schema :) 2010-10-12T20:33:59 I know that he doesn't want to have to deal with svn and the code at all 2010-10-12T20:34:46 If amstan can give it to us though that'll work for the moment 2010-10-12T20:35:53 that's why svn is out of date 2010-10-12T20:36:31 *** jorge has quit IRC (Remote host closed the connection) 2010-10-12T20:36:32 I don't think made the changes :) 2010-10-12T20:36:58 would be nice if the people that did remembered the svn part of course 2010-10-12T20:37:21 err, that is, I don't think amstan made the changes 2010-10-12T20:38:19 anyone here know C++? 2010-10-12T20:38:34 * Naktibalda bets on No 2010-10-12T20:38:42 i wrote my code using cin>>, but i have some cases where instead of stdin, i need to use a file 2010-10-12T20:38:57 i tried something like cin=ifstream in("filename"); 2010-10-12T20:40:36 my tron entry is about the most I've used it, so not really :} 2010-10-12T20:41:11 and really I just use it like C+objects 2010-10-12T20:44:11 any admins on that can check logs, i'd really appreciate some help figuring out what happened in http://ai-contest.com/visualizer.php?game_id=5811957 this game 2010-10-12T20:45:11 pjreddie: there aren't any logs, at least not like specific game logs besides what is sent to the visualizer 2010-10-12T20:46:07 oh. damn. well then. anyone got any idea why a bot could sometimes fail on the first turn, and sometimes be fine? 2010-10-12T20:46:25 amstan: theres a couple solutions 2010-10-12T20:46:31 because that's the situation i've been trying to figure out for a while 2010-10-12T20:46:47 greghaynes: ok.. so.. i'm trying pointers now, ifstream *input; 2010-10-12T20:46:54 amstan: Do you have a bunch of cin code you dont want to have to change? 2010-10-12T20:46:55 then doing !*input.eof() 2010-10-12T20:46:57 but it doesn't like it 2010-10-12T20:47:00 greghaynes: sure.. 2010-10-12T20:47:08 if i could just override cin that would be nice 2010-10-12T20:47:25 Yea, just dup2 the stdin fd to a file 2010-10-12T20:47:25 find and replace cin with an fstream 2010-10-12T20:47:44 Its the same way people do logging in C 2010-10-12T20:48:03 amstan: http://www.delorie.com/gnu/docs/glibc/libc_257.html 2010-10-12T20:48:39 *** JensTi has quit IRC (Quit: Leaving.) 2010-10-12T20:48:56 greghaynes: so.. i have ifstream input; on top 2010-10-12T20:48:58 then input.open(filename); if i want a file 2010-10-12T20:49:04 what do i do if i want cin? 2010-10-12T20:49:38 *** yasith has quit IRC (Ping timeout: 255 seconds) 2010-10-12T20:49:52 *** yasith_ has quit IRC (Ping timeout: 265 seconds) 2010-10-12T20:50:38 What im saying is, dont use the c++ api, cin just calls read(1...) way down the line so if you dup2 so that fd 1 is pointing to a file you open then ill read from that file 2010-10-12T20:50:49 It will take a bit of reasearch, I cant code it off the top of my head 2010-10-12T20:51:15 yeah, i'm a noob at this point on the c++ api and how it works in the background 2010-10-12T20:51:39 *** optimum_ has quit IRC (Quit: leaving) 2010-10-12T20:52:17 dup2 is a c function though and it (should) have the same effect on cin as read(1...) 2010-10-12T20:52:28 So just google it ;) 2010-10-12T20:53:01 google what though? 2010-10-12T20:54:20 dup2 2010-10-12T20:54:29 Figure out what it does, its what you want though 2010-10-12T20:57:01 *** epona has joined #aichallenge 2010-10-12T20:59:30 *** krokokrusa has joined #aichallenge 2010-10-12T21:00:52 Top 10 players: rsergio(4108), Hazard(3924), dmj111(3910), novastar(3904), felixcoto(3893), asavis(3829), cfaftw(3821), davidjliu(3815), MariusCG(3795), sequoh(3777) 2010-10-12T21:07:46 *** bhasker has quit IRC (Ping timeout: 240 seconds) 2010-10-12T21:13:56 *** epona has quit IRC (Quit: Leaving) 2010-10-12T21:13:57 janzert: k, i'll be ready before 10 2010-10-12T21:17:05 *** Naktibalda has quit IRC (Remote host closed the connection) 2010-10-12T21:19:25 *** Olathe has joined #aichallenge 2010-10-12T21:20:05 thanks, I'm in and out right now 2010-10-12T21:21:12 *** JensT1 has joined #aichallenge 2010-10-12T21:21:23 *** krokokrusa has quit IRC (Ping timeout: 264 seconds) 2010-10-12T21:25:53 *** Mathnerd314 has quit IRC (Ping timeout: 276 seconds) 2010-10-12T21:36:21 *** Mathnerd314 has joined #aichallenge 2010-10-12T21:39:15 *** ratatata has quit IRC (Quit: Page closed) 2010-10-12T22:00:52 Top 10 players: rsergio(4092), Hazard(3916), novastar(3907), dmj111(3897), felixcoto(3877), cfaftw(3801), asavis(3799), davidjliu(3799), MariusCG(3790), sequoh(3758) 2010-10-12T22:12:32 i've had a lot of lost games in the last 24 hours that i think i would have won with more turns 2010-10-12T22:12:38 http://72.44.46.68/canvas?game_id=458923 another example 2010-10-12T22:12:57 *** Queue29 has joined #aichallenge 2010-10-12T22:16:50 *** yasith has joined #aichallenge 2010-10-12T22:36:59 *** decipher has joined #aichallenge 2010-10-12T22:38:04 anybody have time to chat before i throw this labtop out the door 2010-10-12T22:38:12 lol 2010-10-12T22:40:17 maybe. shoot. but don't throw. 2010-10-12T22:40:21 :) 2010-10-12T22:41:25 *** yasith has quit IRC (Ping timeout: 272 seconds) 2010-10-12T22:41:27 *** iwantorganizatio has joined #aichallenge 2010-10-12T22:42:33 i need some debugging help i went through my code a million times and i think its flawless but yet sometimes before i win or midgame i crash, 50 percent i win 50 percent i crash 2010-10-12T22:43:56 im pretty good at programming in java and i am at the point of max frustration, i can't see it 2010-10-12T22:45:19 did you try it locally (with mass testing against all example bots and itself on all maps?) 2010-10-12T22:45:46 ahhh... java.... i might not be much help there. but iwantorganizatio has a good question... 2010-10-12T22:45:52 i only test it locally i havent uploaded it yet i want to finish everything on my checklist 2010-10-12T22:46:22 i only tried it on two maps but regardless that enough information to trace my variables and see what input/output mismatch im having but its all connecting perfectly 2010-10-12T22:46:39 ok java... so what exception do you get? 2010-10-12T22:47:14 i use a lot of logging in my code. when i run into a trouble position, i grab the input that happened before the error, and send it back through my code to look at the problem. 2010-10-12T22:47:18 just says player 1 wins but the visualizer shows my guys for lets say 30 turns and boom i dissapear 2010-10-12T22:47:28 me too 2010-10-12T22:47:45 i write to file after every node i create on my game tree.. and after every actual decision 2010-10-12T22:48:00 but its hard to get the actual error i get no server log 2010-10-12T22:48:08 are you logging the shots you fire? there are several ways that could go bad. 2010-10-12T22:48:16 shots fired? 2010-10-12T22:48:19 do you get stderr of your bot? 2010-10-12T22:48:20 i thought it was just planes 2010-10-12T22:48:23 launching fleets? 2010-10-12T22:48:41 ie. do you see error stream? 2010-10-12T22:48:44 im using java isnt stderr c? 2010-10-12T22:49:01 no 2010-10-12T22:49:15 what version of PlayGame.jar are you using? 2010-10-12T22:49:17 i dont see any error like it just shows all my turns and that after an arbitrary turn its crashes 2010-10-12T22:49:22 hmm let me check 2010-10-12T22:49:30 did you update PlayGame.jar to the one that shows error stream of bot? 2010-10-12T22:49:49 i dont think so 2010-10-12T22:49:51 i found bugs near impossible to find without the upgrad 2010-10-12T22:50:15 yeah because how do you know where it crashes you write files for so long and boom no files but you still need teh actuall error 2010-10-12T22:50:51 how do you know what version it is 2010-10-12T22:51:15 *** Gudradain has joined #aichallenge 2010-10-12T22:51:29 ehttp://ai-contest.com/forum/viewtopic.php?f=18&t=534 2010-10-12T22:51:35 http://ai-contest.com/forum/viewtopic.php?f=18&t=534 * 2010-10-12T22:52:35 *** Olathe has quit IRC (Ping timeout: 240 seconds) 2010-10-12T22:52:51 ok i dont think i had the updates 2010-10-12T22:52:54 imma give it a try 2010-10-12T22:53:56 * pgpaskar_ slaps contestbot 2010-10-12T22:55:45 it didnt give me an error 2010-10-12T22:55:51 * contestbot slaps pgpaskar_ harder 2010-10-12T22:55:52 does it save it some where or does it come to the console 2010-10-12T22:56:55 C:\Program Files (x86)\Java\jre6\bin>java -jar tools/PlayGame-1.2.jar maps/map8. txt 1000 1000 log.txt "java -jar example_bots/RandomBot.jar" "java -jar example_ bots/google.jar" | java -jar tools/ShowGame-1.2.jar Turn 1 Turn 2 Turn 3 Turn 4 Turn 5 Turn 6 Turn 7 Turn 8 Turn 9 Turn 10 Turn 11 Turn 12 Turn 13 Turn 14 Turn 15 Turn 16 Turn 17 Turn 18 Turn 19 Turn 20 Turn 21 Turn 22 Turn 23 Turn 24 Turn 25 Turn 26 Turn 27 Turn 28 T 2010-10-12T22:57:24 Turn 39 Turn 40 Turn 41 Turn 42 Player 1 Wins! 2010-10-12T22:58:14 player 1 wins when hes down to hsi last planet and i got fleets coming his way.. am i loading the game wrong? 2010-10-12T22:59:16 hmm 2010-10-12T22:59:58 *** rwa has joined #aichallenge 2010-10-12T23:00:52 an exception should've been printed there, not sure why you don't see it 2010-10-12T23:00:52 Top 10 players: rsergio(4072), Hazard(3916), novastar(3887), dmj111(3875), felixcoto(3857), davidjliu(3774), asavis(3771), cfaftw(3757), MariusCG(3750), savchenko(3731) 2010-10-12T23:01:04 oh 2010-10-12T23:01:12 default code 2010-10-12T23:01:17 catches all exceptions 2010-10-12T23:01:24 make sure you disable that 2010-10-12T23:01:42 otherwise, your bot will quit silently whenever there's an exception 2010-10-12T23:01:47 oh ok 2010-10-12T23:01:50 how do i do that 2010-10-12T23:01:57 btw i might of just kinda fixed it which is weird 2010-10-12T23:01:59 *** yasith has joined #aichallenge 2010-10-12T23:02:08 there's an except clause somewhere 2010-10-12T23:02:10 where it just passes 2010-10-12T23:02:16 it was my debugging to a file that was actually crashing it because i fixed the problem but i guess the file was still messing it up 2010-10-12T23:02:23 in my code 2010-10-12T23:02:26 there should be a "try { ... } catch (Exception e) { } inside MyBot.java 2010-10-12T23:02:27 or planetwars 2010-10-12T23:02:31 oh ok 2010-10-12T23:02:35 yeah i have lots of those 2010-10-12T23:02:55 the problem with using Exception is that it's the base class for all exceptions 2010-10-12T23:02:56 i shoudl just get a string or something instead of catching e im a idiot 2010-10-12T23:03:03 yeah i forgot that 2010-10-12T23:03:06 INHERITANCE 2010-10-12T23:03:07 ! 2010-10-12T23:03:59 } catch (Exception e) 2010-10-12T23:04:04 this is at teh end of my main method? 2010-10-12T23:04:07 this was there by default 2010-10-12T23:04:14 yes i think thats it 2010-10-12T23:04:16 is this the problem? 2010-10-12T23:04:18 ok 2010-10-12T23:04:23 thats why it doesnt print errors messages 2010-10-12T23:04:23 can i simply remove it 2010-10-12T23:04:34 no theres a try 2010-10-12T23:04:35 yeah assuming you remove try { } as wlel 2010-10-12T23:04:39 yeah 2010-10-12T23:05:38 *** janzert_ has joined #aichallenge 2010-10-12T23:05:47 dont i need the try becuase theres some kinda readline crap by default 2010-10-12T23:05:52 not sure why it's there, it's in a position where it doesn't even recover errors 2010-10-12T23:05:54 im sure to use teh buffer you need try 2010-10-12T23:06:06 it should be enough with catch IOException 2010-10-12T23:06:18 yeah the error catching dum 2010-10-12T23:06:19 that means only IOException will be caught (rather than everything) 2010-10-12T23:06:56 very good point 2010-10-12T23:07:08 waterloo kids are suppose to be the brightest! 2010-10-12T23:07:14 lol 2010-10-12T23:07:32 ^^ 2010-10-12T23:07:32 jk hope your not from there aha 2010-10-12T23:07:37 no ;) 2010-10-12T23:07:55 sweden. 2010-10-12T23:08:05 oh very nice 2010-10-12T23:08:15 im in canada an hour away from waterloo 2010-10-12T23:08:31 *** Queue29 has quit IRC (Quit: Leaving) 2010-10-12T23:09:35 :) 2010-10-12T23:09:56 5 AM here im programming AI... major procastrination inducer 2010-10-12T23:10:19 lol 2010-10-12T23:10:25 its to addicting 2010-10-12T23:10:33 man my game crahsed silently again 2010-10-12T23:10:39 catch (IOException e) is the only catch i use 2010-10-12T23:10:42 which is in the mian 2010-10-12T23:10:46 hmmm 2010-10-12T23:10:54 i won 7 games in a row switched maps first game silent crash 2010-10-12T23:11:48 so no other catch(Exception) anywhere else I hope. might for some reason be an IOException ofc but I suppose you could print something to find out 2010-10-12T23:12:09 also sometimes i forget System.exit clauses that i used for testing in my code causing similar behaviour 2010-10-12T23:12:21 top bot is java 2010-10-12T23:12:26 All those hating: theory disproven 2010-10-12T23:12:26 XD 2010-10-12T23:13:23 all about picking right language for the problem.. java is very suitable for this imo 2010-10-12T23:13:39 yeah you need oop for ai imo 2010-10-12T23:13:46 its easier 2010-10-12T23:14:08 *** hornairs has joined #aichallenge 2010-10-12T23:14:54 im not using any oop in this assignment, my java code is like C... :p 2010-10-12T23:15:09 Would you ever run over the 1 second turn limit using Java? 2010-10-12T23:15:21 hmm no exceptions besides the one for planetwars where it parses file and one in my main in mybot that uses ioexception is there something else in tehre i can put that does absouletly nothing ahha 2010-10-12T23:15:30 Azrathud: depends what you are doing, like in any language 2010-10-12T23:15:41 are you getting around java and using pointers? 2010-10-12T23:15:46 Sorry, I mean for this Ai Challenge. 2010-10-12T23:15:58 Azrathud: again, depends what you are doing :P 2010-10-12T23:16:32 some approaches take a lot of time, some are quick... in the end the algorithm matters more than the language 2010-10-12T23:16:35 Ah. I haven't had much experience with Java but I would probably use pointers if I could. 2010-10-12T23:16:38 just have 1 class with a bunch of "globals" (fields) and "functions" (private methods). either way performance is not the issue for this 2010-10-12T23:16:56 errr... pointers in java? wtf? 2010-10-12T23:16:57 , but* 2010-10-12T23:17:05 yeah thers a way youc an use it 2010-10-12T23:17:09 some hack 2010-10-12T23:17:12 :x 2010-10-12T23:17:23 no i dont use pointers anyway, why would i ;) 2010-10-12T23:17:24 news to me o_O 2010-10-12T23:17:26 where you can get the pointers of an object becuase everything in java is abstract 2010-10-12T23:17:38 i heard this through the wind pipe thou but i believe it 2010-10-12T23:17:53 even in c++ i use refs in preference to pointers, nicer semantics 2010-10-12T23:17:58 honestly computers are effecient anyways lol 2010-10-12T23:18:18 what imeant is i participated in an ai competition for checkers where performance did matter 2010-10-12T23:18:34 thats intense 2010-10-12T23:18:42 i won that one in java anyhow in competition with ais coded in C 2010-10-12T23:18:44 you would need c++ imo 2010-10-12T23:18:53 really wow 2010-10-12T23:19:18 algorithm matters a lot more than language 2010-10-12T23:19:20 ai code using a lot of control instructions, not a lot of arithmetic 2010-10-12T23:19:28 yes that too 2010-10-12T23:19:53 obviously my greedy algorithm not going to matter what language i write it in :P 2010-10-12T23:19:59 :) 2010-10-12T23:19:59 which was another point, algorithms used in this case cannot yield significantly better results with more cpu time 2010-10-12T23:20:14 in what case? 2010-10-12T23:20:17 complexity 2010-10-12T23:20:22 there's not iterative deepening for instance (or well, im not aware of anyone using it) 2010-10-12T23:20:45 there a lot of things you can do that requires a lot of computation 2010-10-12T23:20:47 dont the algorithms time complexity really all that matters 2010-10-12T23:21:14 for example McLeopold was complaining that one of his bots was taking 2-3 per move, and that was when he was attempting to optimise expansion 2010-10-12T23:21:15 in chessp rogramming it can matter because everyone uses same algo ^^ 2010-10-12T23:21:16 actually its a mix 2010-10-12T23:21:30 yeah 2010-10-12T23:21:50 both time and the actual algorithm too because i bet people are doing a bunch of min max trees like me 2010-10-12T23:21:59 mine slightly more complicated 2010-10-12T23:22:14 you're using min max in this? 2010-10-12T23:22:15 decipher: you are using minimax? 2010-10-12T23:22:28 I don't think many people are... yet 2010-10-12T23:22:33 kinda hyrbit 2010-10-12T23:22:36 hybrid 2010-10-12T23:22:38 I'm working on it, but it is hard 2010-10-12T23:22:45 i have alpha beta pruning hopefully coming soon 2010-10-12T23:23:00 having a good evaluation function all that matters 2010-10-12T23:23:19 how deep are you going, and what branching factor? 2010-10-12T23:23:20 and how you go up the tree and the depth is good for this problem 2010-10-12T23:23:21 so what can of branching factor do you get? 2010-10-12T23:24:14 i discredited minimax because i thought it'd be unsuitable for this due to high branching factor :x 2010-10-12T23:24:38 im debugging the first ply which = 1 but once thats correct all i have to do is change the ply to lets say 6 and depending how fast i can prune the tree in a second will show how deep i go 2010-10-12T23:25:02 iwantorganizatio: obviously you can't test all possible allocation of orders... you have to set your moves are a higher level 2010-10-12T23:25:21 i always assume obv the player will pick the best move 2010-10-12T23:25:36 but alpha beta goes further then that 2010-10-12T23:25:39 well yes, that's a given 2010-10-12T23:25:46 decipher: so what branching factor? 2010-10-12T23:26:03 sorry what do you mean by branching factor i might use a different term? 2010-10-12T23:26:21 how many moves do you analyse for a given state? 2010-10-12T23:26:24 how many leafs per node 2010-10-12T23:26:42 oh children 2010-10-12T23:26:44 yup 2010-10-12T23:26:55 ahaha 2010-10-12T23:26:58 thats the secret 2010-10-12T23:27:02 :P 2010-10-12T23:27:16 it changes based on every turn 2010-10-12T23:27:28 awww, no ball park, figure? ~10, ~100, ~1000, ~10000? 2010-10-12T23:27:43 oh i thoguht you wanted to know how i do the leafs 2010-10-12T23:27:51 for my function at first its rufly 100 ish 2010-10-12T23:27:52 nah just the number of them 2010-10-12T23:28:02 but as i go futher down im sure it will increase 2010-10-12T23:28:13 yeah, 100 is reasonable 2010-10-12T23:28:15 100^6 2010-10-12T23:28:26 but yeah, 6ply is out of the question 2010-10-12T23:28:27 i think its n ^ n max leafs 2010-10-12T23:28:34 but thats unrealistic 2010-10-12T23:28:37 no n-1 2010-10-12T23:28:45 100(6/2) with bruning 2010-10-12T23:28:49 pruning* 2010-10-12T23:28:56 optimal pruning i think 2010-10-12T23:29:08 100^(6/2)*** 2010-10-12T23:29:09 my first choice was a neural network but school keeps me too busy 2010-10-12T23:29:57 simple vanilla backprobagation and use all the training examples online to train it to 95 percent memorization 2010-10-12T23:30:07 :D 2010-10-12T23:30:54 how hard do you think it will be to crack top 100? 2010-10-12T23:30:58 i havent uploaded yet 2010-10-12T23:31:28 i reached 250-300 with a dumb aggresive bot, havent improved much after adding defense 2010-10-12T23:31:33 not long ago, it was easy. getting harder. 2010-10-12T23:31:57 man i just had a weird crash 2010-10-12T23:32:48 the enemy had no planets just a random fleet floating at 21 i had no more fleets sent enemy last planet was destroyed, but i still had fleets in the air, and it said he won? my peices dissapear 2010-10-12T23:33:15 illegal move or bot just quit 2010-10-12T23:33:39 i make no more moves after pw.enemyplanet().size < 1 2010-10-12T23:33:57 or only make the move when its > 0 is my actual syntax 2010-10-12T23:35:15 *** yasith has quit IRC (Ping timeout: 240 seconds) 2010-10-12T23:39:38 no what i think its teh engine 2010-10-12T23:39:40 im convinced 2010-10-12T23:39:47 it works like 15 times in a row i win 2010-10-12T23:39:49 then i switch maps 2010-10-12T23:39:53 then i loose to a silet crash 2010-10-12T23:39:57 then i win the next 20 in a row 2010-10-12T23:40:03 same thing again change maps 2010-10-12T23:41:50 if you were in a non-vm language I would say look for a uninitialized variable 2010-10-12T23:42:05 but I don't think you can have that sort of problem in java 2010-10-12T23:42:10 yeah.. 2010-10-12T23:42:44 i done so many security precuations to prevent overflows this doesnt make sense, i had an easier time program an EANN to find cancer then this fucker lol 2010-10-12T23:51:14 *** rwa has quit IRC (Quit: rwa) 2010-10-12T23:52:04 *** rwa has joined #aichallenge 2010-10-12T23:56:21 how about this for next challenge: http://www.mojang.com/notch/ld12/breaking/ 2010-10-12T23:56:34 warning: i've been playing it for 1:15, and i can't stop 2010-10-12T23:56:45 *** rebelxt_ has joined #aichallenge 2010-10-12T23:59:39 good news my bot hasent mysteriously crashed i think my engine stable lol that rage bot aggressive