2011-03-22T00:09:50 you can block 2 width corridors with sqrt(6) 2011-03-22T00:11:46 https://github.com/aichallenge/aichallenge/wiki/Ants-Battle-Resolution-Options 2011-03-22T00:11:49 see example 4 2011-03-22T00:14:08 * amstan uses 'git describe --tags' for including the version inside the starter packages 2011-03-22T00:15:51 *** j3camero has quit IRC (Read error: Connection reset by peer) 2011-03-22T00:16:12 *** j3camero has joined #aichallenge 2011-03-22T00:17:08 *** phirenz has quit IRC (Ping timeout: 240 seconds) 2011-03-22T00:21:53 more examples are there 2011-03-22T00:22:21 janzert: there's quite a few examples where power and damage differ 2011-03-22T00:22:44 yes 2011-03-22T00:23:37 I wonder does it require three teams to make them differ? 2011-03-22T00:23:47 my first guess is it does 2011-03-22T00:24:09 and then I see example 10 :P 2011-03-22T00:24:13 so nevermind 2011-03-22T00:24:23 :p 2011-03-22T00:25:23 is 1 damage where you live if you have less damage than one of your enemies? 2011-03-22T00:25:40 is power damage where* 2011-03-22T00:26:13 i think that might be right 2011-03-22T00:26:20 I think so 2011-03-22T00:26:24 *** phirenz has joined #aichallenge 2011-03-22T00:26:36 *** dlila has quit IRC (Quit: Leaving) 2011-03-22T00:26:39 thatn all of your enemies** 2011-03-22T00:26:55 have you tried blocking 3 or 4 wide corridors with sqrt(6)? 2011-03-22T00:27:01 right 2011-03-22T00:27:05 yeah, pretty sure you can't block 3 fully 2011-03-22T00:27:09 but you can do a good job 2011-03-22T00:27:14 did i give those examples? 2011-03-22T00:27:16 or "than each of" 2011-03-22T00:27:44 6 is one 3 wide example 2011-03-22T00:27:52 5 is repeated 4 2011-03-22T00:27:53 my bad 2011-03-22T00:29:14 check example 5 now 2011-03-22T00:29:38 it's blockable with support 2011-03-22T00:29:49 ahh, so you can trade 3 for 1 2011-03-22T00:30:04 what? 2011-03-22T00:30:07 oh yeah 2011-03-22T00:30:08 yeah 2011-03-22T00:30:21 then if you come in right after and they run out, you can diminish them 2011-03-22T00:30:29 but the can also set up a nice block temporarily 2011-03-22T00:30:38 i don't mind that, i just don't want full blocking 2011-03-22T00:30:49 yeah, it's probably ok 2011-03-22T00:31:17 too bad we have to keep all corridors 3 wide 2011-03-22T00:31:48 2* 2011-03-22T00:31:57 oh err 2011-03-22T00:32:06 we could change the attack radius back to 2 2011-03-22T00:34:33 hmm, I think I'd like it better but why was it increased? 2011-03-22T00:36:07 mcleopold wanted a larger one 2011-03-22T00:38:39 i think i should restate power/occupied as damage 1 and damage 2 2011-03-22T00:38:49 sigh: ^^? 2011-03-22T00:39:06 antimatroid: no 2011-03-22T00:39:11 but they're so close 2011-03-22T00:39:15 power is power, not damage 2011-03-22T00:39:34 it's damage with you live if you have less damage than any of your enemies in range 2011-03-22T00:39:55 meh, I don't think it makes sense, but I'm too busy to argue 2011-03-22T00:40:09 i'll leave it for the moment 2011-03-22T00:40:49 chris___0076: ping 2011-03-22T00:40:54 I don't really care a lot since I think the new damage one has about the same advantages as the old power option and is much more intuitive to explain 2011-03-22T00:41:11 amstan:pong 2011-03-22T00:41:28 hmm? 2011-03-22T00:41:31 *** chris___0076 is now known as chris_0076 2011-03-22T00:41:41 chris___0076: can you delete your fork, then refork. You still appear in the aichallenge network with that one commit, even though i pulled from you 2011-03-22T00:42:02 hmm ok ^^ 2011-03-22T00:42:06 antimatroid: also it's easier to talk about damage and power than damage1 and damage2 2011-03-22T00:42:06 chris_0076: thanks 2011-03-22T00:42:12 let me figure out how to do that ^^ 2011-03-22T00:42:22 antimatroid: who remembers which is which 2011-03-22T00:42:38 i do :P 2011-03-22T00:42:44 hmm okay 2011-03-22T00:42:46 good for you 2011-03-22T00:42:58 chris_0076: https://github.com/chris0076/aichallenge > admin > delete 2011-03-22T00:43:05 hmm ok ^^ 2011-03-22T00:44:25 ok deleted ^^ 2011-03-22T00:45:08 chris_0076: you can fork it again if you want to, it was just getting annoying to have that commit teasing me, like i didn't pull properly or something 2011-03-22T00:45:09 lol 2011-03-22T00:45:18 lol ok ^^ 2011-03-22T00:45:28 *** avocado has quit IRC (Ping timeout: 240 seconds) 2011-03-22T00:45:39 amstan: can i get the makefile to delete the .o files when it's done? 2011-03-22T00:45:46 it looks like its meant to but doesn't :\ 2011-03-22T00:46:04 antimatroid: where? it should be doing it... 2011-03-22T00:46:22 antimatroid: works for me... which makefile? 2011-03-22T00:46:25 so the repo from here?: https://github.com/aichallenge/aichallenge 2011-03-22T00:46:41 https://github.com/aichallenge/aichallenge/raw/bd27c56cd9e391dba1476a6e2eca313ceb3ddc99/ants/dist/starter_bots/cpp/Makefile 2011-03-22T00:46:42 that one 2011-03-22T00:46:52 *** avocado_ has joined #aichallenge 2011-03-22T00:48:06 chris_0076: yep 2011-03-22T00:48:12 ok forked ^^ 2011-03-22T00:48:22 antimatroid: -rm -f ... ${OBJECTS} ... 2011-03-22T00:48:38 antimatroid: it's in there 2011-03-22T00:48:41 hmm, so even with attack radius of 2, 2 wide corridors can still be blocked? 2011-03-22T00:49:45 battle_sim.py 4 <<<"%bb%|a..a|.aa." 2011-03-22T00:50:31 so reducing it doesn't help 2011-03-22T00:51:01 hmmm yeah, you're right 2011-03-22T00:51:24 so if blocking is a problem we need to carve maps with 3x3 blocks? 2011-03-22T00:51:56 yes or at least ensure all areas are accessible with 3 wide corridors 2011-03-22T00:52:08 can do that 2011-03-22T00:52:19 just do the isvalid function with a 3x3 block 2011-03-22T00:52:33 you could make "shortcuts" with narrower corridors that could then be blocked 2011-03-22T00:52:53 that'd be harder to do right 2011-03-22T00:53:01 yep :) 2011-03-22T00:53:50 so... who doesn't prefer damage to the rest? 2011-03-22T01:01:32 you guys realize that water squares don't affect the battle? 2011-03-22T01:01:48 you keep making examples with water, which makes it hard to see the players :P 2011-03-22T01:02:35 ^^ antimatroid, janzert 2011-03-22T01:02:56 yes, I know they don't directly 2011-03-22T01:02:59 sigh: the point is to show the water blocking places an ant could be 2011-03-22T01:03:15 but I'm looking at what is possible in a corridor so... :) 2011-03-22T01:03:18 :) 2011-03-22T01:03:53 i didn't see a single comment on reddit about battle/spawning happening over water which is good 2011-03-22T01:04:07 there were a few about battle 2011-03-22T01:07:40 when I get home I'm going to change occupied to power and make damage the default 2011-03-22T01:07:49 :) 2011-03-22T01:08:12 i've not come across someone that didn't understand damage yet 2011-03-22T01:14:24 *** amstan_ has joined #aichallenge 2011-03-22T01:14:24 *** ChanServ sets mode: +o amstan_ 2011-03-22T01:36:44 *** amstan_ has quit IRC (Ping timeout: 255 seconds) 2011-03-22T01:55:05 *** phirenz has quit IRC (Ping timeout: 264 seconds) 2011-03-22T02:05:10 sigh: current spawn is sqrt(2) yeah? 2011-03-22T02:05:16 i'm updating the specs page 2011-03-22T02:05:21 yes 2011-03-22T02:05:38 just look at playgame.py for defaults 2011-03-22T02:31:50 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has joined #aichallenge 2011-03-22T02:33:34 *** ltriant has quit IRC (Quit: Computer has gone to sleep) 2011-03-22T02:36:45 *** Stocha has joined #aichallenge 2011-03-22T02:38:24 *** sigh has quit IRC (Ping timeout: 252 seconds) 2011-03-22T02:43:23 *** Stocha has quit IRC (Ping timeout: 252 seconds) 2011-03-22T03:20:41 *** avocado_ is now known as avocado 2011-03-22T03:32:39 *** sigh has joined #aichallenge 2011-03-22T03:45:27 *** Stocha has joined #aichallenge 2011-03-22T03:45:50 i'm beginning to believe bunching ant is really more fun in the end. 2011-03-22T03:46:56 If they was only two player per game, then one blockable corridor would be okay. As long as existis a path to either doors of the blockable corridor. 2011-03-22T03:47:25 that would allow to block for slowing down the opponent 2011-03-22T03:47:34 *** chris__0076 has joined #aichallenge 2011-03-22T03:47:51 anyway with more than two player it's too messy :p 2011-03-22T03:48:06 *** Stocha has quit IRC (Client Quit) 2011-03-22T03:49:03 *** chris_0076 has quit IRC (Ping timeout: 255 seconds) 2011-03-22T04:10:33 *** amstan has quit IRC (Ping timeout: 250 seconds) 2011-03-22T04:18:31 *** delt0r_ has joined #aichallenge 2011-03-22T04:20:06 *** delt0r___ has quit IRC (Ping timeout: 255 seconds) 2011-03-22T04:22:10 *** andy has joined #aichallenge 2011-03-22T04:24:46 *** Eruonen has joined #aichallenge 2011-03-22T04:25:41 *** Kingpin13 has joined #aichallenge 2011-03-22T04:28:51 *** boegel has joined #aichallenge 2011-03-22T04:30:04 *** aerique has joined #aichallenge 2011-03-22T04:49:36 *** adnzzzzZ has joined #aichallenge 2011-03-22T05:06:19 *** adnzzzzZ has quit IRC (Read error: Connection reset by peer) 2011-03-22T05:14:32 *** num1 is now known as num1_ 2011-03-22T05:24:25 *** Stocha has joined #aichallenge 2011-03-22T05:38:01 *** sda has joined #aichallenge 2011-03-22T05:40:21 *** kaemo has joined #aichallenge 2011-03-22T05:56:31 *** Stocha has quit IRC (Quit: Page closed) 2011-03-22T06:03:07 *** sda has quit IRC () 2011-03-22T06:18:09 *** Whalefreezer has joined #aichallenge 2011-03-22T06:27:49 *** needsch has joined #aichallenge 2011-03-22T06:28:52 *** Whalefreezer has quit IRC (Quit: Leaving.) 2011-03-22T06:40:43 *** kaemo has quit IRC (Remote host closed the connection) 2011-03-22T06:46:29 *** mceier has joined #aichallenge 2011-03-22T06:47:58 *** kaemo has joined #aichallenge 2011-03-22T06:58:59 *** Kingpin13 has quit IRC (Read error: Connection reset by peer) 2011-03-22T06:59:38 *** Kingpin13 has joined #aichallenge 2011-03-22T07:06:32 *** boegel has quit IRC (Quit: *poof!*) 2011-03-22T07:10:00 *** pyro- has joined #aichallenge 2011-03-22T07:13:12 *** pyro- has left #aichallenge 2011-03-22T07:13:31 *** Naktibalda has joined #aichallenge 2011-03-22T07:18:25 *** Stocha has joined #aichallenge 2011-03-22T07:30:02 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has quit IRC (Quit: Lost terminal) 2011-03-22T07:30:13 aichallenge: sigh epsilon * r3dd217e / (ants/play_one_game.cmd ants/play_one_game.sh): Update play_one_game files to point to new bot locations (+5 more commits...) - http://bit.ly/ejXmKl 2011-03-22T07:44:58 sigh: did you update the resolution names? 2011-03-22T07:45:05 antimatroid: yes 2011-03-22T07:45:12 :) 2011-03-22T07:45:14 and damage is now default 2011-03-22T07:45:25 that was my implied question :P 2011-03-22T07:45:42 I also made a few minor changes to the wiki page 2011-03-22T07:46:10 specs page? 2011-03-22T07:46:17 i went through and cleaned it up a bit earlire 2011-03-22T07:46:28 the battle resolution page 2011-03-22T07:46:32 ah yep 2011-03-22T07:49:14 *** Stocha has quit IRC (Ping timeout: 252 seconds) 2011-03-22T07:49:45 *** avocado has quit IRC (Read error: Operation timed out) 2011-03-22T07:50:27 sigh: what do you think of the overview at the top of the specs page now? 2011-03-22T07:50:34 i tried to make it "simpler" 2011-03-22T07:50:51 i think "turn-based" might be potentially confusing to some people 2011-03-22T07:57:07 let me see 2011-03-22T07:59:38 why is turn-based is ambiguous 2011-03-22T07:59:51 turn-based is ambiguous 2011-03-22T07:59:58 I wasn't asking a question :P 2011-03-22T08:00:46 remove "turn-based" it doesn't add much to the description 2011-03-22T08:00:51 err.. because it might mean players make moves in turns? :P 2011-03-22T08:01:51 I say remove it 2011-03-22T08:02:06 done 2011-03-22T08:02:10 also remove the stuff about how to get started, that just cluters up the specs 2011-03-22T08:05:14 and done 2011-03-22T08:05:20 also, can we have a toc on the game? 2011-03-22T08:05:25 ^_^ 2011-03-22T08:05:39 *on the page 2011-03-22T08:06:39 not sure how easily 2011-03-22T08:07:05 i wanted one in the past then gave up when i couldn't find an easy way to add one like in a latex document 2011-03-22T08:07:39 ah, just googled... it seems it is a requested feature :P 2011-03-22T08:08:33 i imagine it'll happen at some point, it's a pretty common want 2011-03-22T08:10:09 *** Stocha has joined #aichallenge 2011-03-22T08:11:34 ah, i like dimkadimons most recent post in the forums 2011-03-22T08:12:06 he went through and did his own ranking of the outcome methods in each example based on the outcome 2011-03-22T08:13:13 aichallenge: sigh epsilon * r3527d43 / (ants/ants.py ants/play_one_game.sh): Refactor how ants/food are manipulated (second try) - http://bit.ly/hxVO8M 2011-03-22T08:15:08 i see 2011-03-22T08:16:19 pretty hard to make anything of that score though since it is just random examples with arbitrary scoring :P 2011-03-22T08:17:35 he's got two examples where he favors power over damage and not by much 2011-03-22T08:19:34 he has a point with the one i saw 2011-03-22T08:19:49 ab... 2011-03-22T08:19:49 ..c..a 2011-03-22T08:19:56 damage leaves a and b next to each other 2011-03-22T08:21:42 I tried what you just pasted and it just keeps the bottom right a alive 2011-03-22T08:23:00 it shouldn't 2011-03-22T08:23:15 i think that b should have died 2011-03-22T08:24:02 b does die when I run it 2011-03-22T08:24:20 *** dlila has joined #aichallenge 2011-03-22T08:24:40 ./battle_sim.py <<<'ab...|..c..a' 2011-03-22T08:25:17 sigh: it's not outputting that for me :\ 2011-03-22T08:25:19 i just tried again 2011-03-22T08:25:31 i get both a's and b still alive 2011-03-22T08:25:42 hmmm... paste what you are running? 2011-03-22T08:25:54 ab... 2011-03-22T08:25:54 ..c.a 2011-03-22T08:25:58 it makes sense though 2011-03-22T08:26:23 that is correct though 2011-03-22T08:27:02 a1(1/2 + 1/3), b(1/2 + 1/3), c(1/2 + 1/3 + 1), a2(1/3) 2011-03-22T08:27:21 only c dies from damage 2011-03-22T08:27:37 ok, I was typing it wrong 2011-03-22T08:27:44 ah yeah, just noticed :P sorry 2011-03-22T08:27:51 i did it 2011-03-22T08:27:53 my bad :P 2011-03-22T08:28:05 i keep doing those ..'s 2011-03-22T08:28:13 o_O 2011-03-22T08:28:19 but yeah, i think he's right that power method resolves better there 2011-03-22T08:28:48 i added a part to the comments about understandability 2011-03-22T08:29:17 i ranked support as easiest to understand, put damage and iterated closest together, then noted pretty much everyone struggles to grasp power on their first go 2011-03-22T08:30:13 hmm... I think I screwed something up on git 2011-03-22T08:30:51 ? 2011-03-22T08:33:06 ok, just a small mistake 2011-03-22T08:33:10 aichallenge: sigh epsilon * r4fbd476 / ants/battle_sim.py : Make battle_sim aware that occupied is now power - http://bit.ly/hTMyI4 2011-03-22T08:34:43 I don't think that example is that bad... next round they will kill each other off 2011-03-22T08:35:11 I don't think it hurts the strategy any 2011-03-22T08:35:21 in fact it makes it easier to cooperate :P 2011-03-22T08:35:33 the main issue should be blocking 2011-03-22T08:39:45 yeah 2011-03-22T08:39:54 i don't think blocking is that bad 2011-03-22T08:40:10 if it becomes an issue, we just make sure a 3x3 block can reach every square inside the grid, problem solved 2011-03-22T08:40:36 yeah 2011-03-22T08:41:17 antimatroid: funny thing, I explained the methods to a guy at work and his first thought was that power was the most intuitive :P 2011-03-22T08:41:28 or made the most sense 2011-03-22T08:41:32 :P 2011-03-22T08:41:54 but was that for intuitive way of explaining fighting in general and he understood them all anyway? 2011-03-22T08:42:06 i refer to intuitive in that fashion, but i suspect some others aren't 2011-03-22T08:42:48 I just explained the methods and asked him what he thought made the most sense 2011-03-22T08:43:24 sigh: i disagree with him on the last example 2011-03-22T08:43:59 i think the damage outcome is better 2011-03-22T08:44:15 disagree with dimkadimons? 2011-03-22T08:44:19 yeah 2011-03-22T08:48:55 *** robbs has joined #aichallenge 2011-03-22T08:58:56 How do the value threshold for how much damage is need to kill an ant affect the function ? 2011-03-22T08:59:21 i mean ant killed if damage >=1 is pretty arbitrary. Maybe 1 is not the best value. 2011-03-22T09:00:23 *** sigh has quit IRC (Remote host closed the connection) 2011-03-22T09:00:52 *** dlila has quit IRC (Quit: Leaving) 2011-03-22T09:01:15 *** dlila has joined #aichallenge 2011-03-22T09:02:35 *** kaemo has quit IRC (Ping timeout: 276 seconds) 2011-03-22T09:06:43 it's the obvious choice so that two ants coming across each other die 2011-03-22T09:06:51 anything else would be less intuitive i think 2011-03-22T09:08:06 Stocha: the power method can be restated in terms of damage where an ant lives if it has less damage than all of its enemies within range 2011-03-22T09:08:38 than each* might be a bit clearer 2011-03-22T09:14:40 *** Stocha has quit IRC (Ping timeout: 252 seconds) 2011-03-22T09:15:24 *** phirenz has joined #aichallenge 2011-03-22T09:29:14 aichallenge: aerique epsilon * r6e575e1 / ants/dist/starter_bots/common_lisp/bin/download-and-install-3rd-party-libs.sh : Add script for download and install of 3rd-party libs. - http://bit.ly/esKPqL 2011-03-22T09:29:18 aichallenge: aerique epsilon * r4065f37 / (2 files in 2 dirs): 2011-03-22T09:29:19 aichallenge: Add downloading 3rd party CL libs to Makefile. 2011-03-22T09:29:19 aichallenge: Add removing of downloaded and installed archive to script. - http://bit.ly/hd9x7u 2011-03-22T09:35:25 aichallenge: aerique epsilon * r63c31f8 / ants/dist/starter_bots/common_lisp/bin/download-and-install-3rd-party-libs.sh : Actually use URL variable. - http://bit.ly/fXZOSQ 2011-03-22T09:50:12 *** tvorryn has quit IRC (Quit: Page closed) 2011-03-22T09:54:41 *** FireFly has joined #aichallenge 2011-03-22T10:27:11 *** kaemo has joined #aichallenge 2011-03-22T10:27:20 *** McLeopold has joined #aichallenge 2011-03-22T10:29:46 antimatroid: you there? 2011-03-22T10:29:57 i am 2011-03-22T10:29:58 what's up? 2011-03-22T10:31:04 what if the damage method used 2 for each ant? 2011-03-22T10:31:19 then you might avoid blocking more 2011-03-22T10:31:37 and, we are using both sides of a 1:1 battle ratio 2011-03-22T10:32:06 1 ant can kill 2, but up against 3, the 3 all survive 2011-03-22T10:32:29 hmmm, that might be a good idea 2011-03-22T10:32:42 i will make some examples with sigh's thing 2011-03-22T10:32:58 McLeopold: have you seen the new battle resolutions page? 2011-03-22T10:33:02 yes 2011-03-22T10:33:04 feel free to add anything to that 2011-03-22T10:33:21 how easy is it to use picture instead of the text? 2011-03-22T10:33:51 oh, also, I think the attack radius should be reduced to 2 for the damage option 2011-03-22T10:33:53 i have no idea how to convert text to image 2011-03-22T10:34:10 McLeopold: so did janzert and i, until we realised you can still block 2 passages 2011-03-22T10:34:13 I'm thinking like what you did in the forums awhile back 2011-03-22T10:34:25 yes, but not as easily 2011-03-22T10:34:48 so spawn = sqrt(2) and attack = sqrt(4)? 2011-03-22T10:34:52 And it's nice to be able to know that you can do a focused attack at distance 2 orthogonally 2011-03-22T10:35:08 it's easier to see 2011-03-22T10:35:22 yeah i was originally for 2 2011-03-22T10:35:26 but don't mind too much either way 2011-03-22T10:35:31 if we do damage=2, then I'd go back up to 5 2011-03-22T10:35:46 well leave it at 5 for right now 2011-03-22T10:35:53 i'll play around with damage = 2 :P 2011-03-22T10:36:42 i find it hard to see damage being beaten though 2011-03-22T10:37:04 support sucks, power is too confusing and closest is less interesting 2011-03-22T10:37:32 if deadlocks become a problem, we can fix it by making sure a 3x3 block can traverse the map 2011-03-22T10:39:57 yes, let's make damage=2 the default right now 2011-03-22T10:44:18 it doesn't work when i change line 464 to 2011-03-22T10:44:18 "damage_per_enemy = Fraction(2, len(enemies))" :\ 2011-03-22T10:44:29 aab just kills the right most a and b 2011-03-22T10:46:15 that's weird 2011-03-22T10:46:31 it is 2011-03-22T10:46:36 i can't work out what's causing it 2011-03-22T10:46:40 is that happening for you? 2011-03-22T10:46:52 I'll have to try 2011-03-22T10:47:27 oh, is his overloading of score an issue? 2011-03-22T10:47:38 he has score for self and score inside the function 2011-03-22T10:47:43 and refers to both 2011-03-22T10:48:50 McLeopold: nevermind 2011-03-22T10:50:02 i had tried making my own second function, but i need to change more if i want to run both rules alongside each other like that 2011-03-22T10:50:59 works for me 2011-03-22T10:51:38 both a's die? 2011-03-22T10:52:04 yeah, mines working now 2011-03-22T10:53:39 that eliminates blocking 2 width passages 2011-03-22T10:53:58 you can still block 1 width, but only for a REALLY blocked off 1 width passage 2011-03-22T10:54:08 it should also make winning large battles without losses more difficult 2011-03-22T10:54:18 yes 2011-03-22T10:54:46 should i update the wiki to say that's what the damage option is? 2011-03-22T10:55:27 maybe another option, damage=2 and damage=1 2011-03-22T10:57:26 hmmm, i don't think sigh would like that 2011-03-22T10:57:34 i could rename it to be more general 2011-03-22T10:57:48 an ant has d damage to distribute each turn 2011-03-22T11:02:12 actually, if we take it back to 2 2011-03-22T11:02:15 there is no blocking? 2011-03-22T11:02:23 attack radius that is 2011-03-22T11:03:07 or move it up to 3 2011-03-22T11:03:54 McLeopold: a.b.c kills all three again for either of the alternate damage options though 2011-03-22T11:11:17 *** anders__ has quit IRC (Ping timeout: 252 seconds) 2011-03-22T11:13:35 aichallenge: Marco Leise epsilon * r608e6b6 / (6 files in 6 dirs): 2011-03-22T11:13:36 aichallenge: visualizer: (1) fixed additional '0' after score and ant counts when using the applet version in Chrome / (2) fixed bug reported by 2011-03-22T11:13:36 aichallenge: Stocha (buttons were created before the images are loaded) / (3) Makefile generates .jar file - http://bit.ly/f84niI 2011-03-22T11:37:15 *** kaemo has quit IRC (Ping timeout: 246 seconds) 2011-03-22T11:39:36 *** Stocha has joined #aichallenge 2011-03-22T11:41:38 *** bhasker has joined #aichallenge 2011-03-22T11:44:50 i have set up some experiment (with same setting i used before). you can view the applet, or/and the result. I posted links in the combat fighting option thread. 2011-03-22T11:45:32 To see how the X value influence the game. Though with bots not trying to get the most out of the setted X value, it's kinda pointless :p 2011-03-22T11:46:09 I have been toying with the idea, of making the X value part of the random map generation also. Then you WOULD have an AI challenge for sure i think :p 2011-03-22T11:46:33 *** Stocha has quit IRC (Quit: Page closed) 2011-03-22T11:48:07 no idea what the X value is 2011-03-22T11:48:44 antimatroid: I worry that damage=2 might make it too easy to take out 2 enemy ants with 1 of your own 2011-03-22T11:56:44 possibly 2011-03-22T11:56:55 it has flaws the more one thinks about it 2011-03-22T11:57:03 a.b.c i would really like to have just b dying htere 2011-03-22T11:57:11 janzert: can i ask a c++ question? 2011-03-22T11:57:25 you can always ask 2011-03-22T11:57:34 but I may or may not be able to answer :) 2011-03-22T11:58:42 also I probably gotta take off any minute here, as soon as someone shows up 2011-03-22T11:58:54 I have different types of games (NGame, EGame, etc.) and for each type of game pure strategies (NStrategy, EStrategy, etc.), I want to write functions for games generally (using templates, or a game class that they all inherit whatever) without passing the type of strategy to be used to the function too 2011-03-22T11:59:00 i think i solved my own question 2011-03-22T11:59:10 *** hrelo has joined #aichallenge 2011-03-22T11:59:22 good :) 2011-03-22T11:59:30 if i have all strategies inherit strategy, then i can just have a function inside game to return a new strategy? 2011-03-22T12:00:03 strategies can be thought of a lot like iterators, although i haven't actually got them defined inside NGame etc. 2011-03-22T12:00:25 yep, as long as the generic strategy contains all the information you function needs 2011-03-22T12:00:33 yep, that's the plan 2011-03-22T12:00:35 cool cheers 2011-03-22T12:00:38 :P 2011-03-22T12:01:11 btw, not uncommon to realize the answer for a programming problem just from stating it "out loud"/written out 2011-03-22T12:01:19 yeah i know 2011-03-22T12:01:25 i.e. see rubber ducky programming :) 2011-03-22T12:01:32 although i'm unsure again, how will my newstrategy function know what type to send back 2011-03-22T12:01:49 i can't have a template Game and call Game::Strategy, c++ hates it 2011-03-22T12:02:00 *** amstan has joined #aichallenge 2011-03-22T12:02:00 *** ChanServ sets mode: +o amstan 2011-03-22T12:02:31 the function has to return the same specific type as it received? 2011-03-22T12:02:50 it needs to take say an NGame and return an NStrategy 2011-03-22T12:03:40 I'd probably use a virtual factory function on game class 2011-03-22T12:04:00 what's that? :P 2011-03-22T12:04:38 basically Game.get_strategy(blah, blah, blah) that returns the correct strategy for that game 2011-03-22T12:04:50 or create_strategy() if you prefer 2011-03-22T12:05:37 sorry gotta run, see you 2011-03-22T12:05:43 cheers, bye 2011-03-22T12:10:45 *** teamsc has joined #aichallenge 2011-03-22T12:14:26 *** hrelo has quit IRC (Quit: Page closed) 2011-03-22T12:17:23 *** aerique has quit IRC (Quit: ...) 2011-03-22T12:19:07 *** delt0r___ has joined #aichallenge 2011-03-22T12:20:46 *** delt0r_ has quit IRC (Ping timeout: 255 seconds) 2011-03-22T12:21:51 aichallenge: Alexandru Stan epsilon * rbe5633c / (28 files in 6 dirs): Merged scala starter package (synesso/epsilon) - http://bit.ly/h11QmT 2011-03-22T12:32:11 *** amstan_ has joined #aichallenge 2011-03-22T12:32:11 *** ChanServ sets mode: +o amstan_ 2011-03-22T12:37:09 *** Eruonen has quit IRC () 2011-03-22T12:38:18 *** Stocha has joined #aichallenge 2011-03-22T12:38:30 im all for damage rule now. 2011-03-22T12:38:51 but i want the X value to be random for each game, and hidden from the bots :p 2011-03-22T12:39:09 Also maybe we need a bigger fighting radius 2011-03-22T12:39:28 (than radius2=5) 2011-03-22T12:39:53 I want the X=0.01 be really devastating for stacking ants :p 2011-03-22T12:41:22 lol, a hidden x from the bots 2011-03-22T12:41:24 is that a joke? 2011-03-22T12:41:53 it would suck if you can't correctly work out the outcome of potential moves 2011-03-22T12:42:46 you can 2011-03-22T12:42:54 only you have to explore a bit before. 2011-03-22T12:43:04 aichallenge: Marco Leise epsilon * rdc10fb8 / (7 files in 2 dirs): added Makefile for JavaScript part of visualizer - http://bit.ly/h0gq0q 2011-03-22T12:43:06 aichallenge: Marco Leise epsilon * r01c3dfd / (28 files in 6 dirs): Merge branch 'epsilon' of github.com:aichallenge/aichallenge into epsilon - http://bit.ly/fuMx77 2011-03-22T12:43:10 that's also what the dark fog of ware is all about. 2011-03-22T12:43:22 the fact that the map is unknown at the start. 2011-03-22T12:43:51 And, it doesn't make any changes needes. And is a real challenge to get a bot do things right in as much games as possible. 2011-03-22T12:44:58 It also eliminates most of the blocking trouble. Some game will have blocking in, and you can try to use that to your advantage. But you will need to take risk or time to find out that it may work 2011-03-22T12:45:14 so there are a lot a of things to try, and do, with the hidden X. 2011-03-22T12:45:55 From the outcome of few battle the bot will be able to guess a value for x. Now he has to adapt. 2011-03-22T12:45:58 amstan: Can we have a output directory for the products of the Makefiles? 2011-03-22T12:46:18 does that still sound really dirty to you antimatroid ? 2011-03-22T12:46:58 Stocha: i don't like making people having to work out X for themselves 2011-03-22T12:47:09 it'd be like varying the view/battle/spawn radius each game 2011-03-22T12:47:12 why do we make them having to work out the map then ? 2011-03-22T12:47:14 that's too much variation 2011-03-22T12:47:27 because they do :P 2011-03-22T12:47:30 *** AlliedEnvy has quit IRC (Remote host closed the connection) 2011-03-22T12:47:40 fog of war is much simpler to worry about than varying game rules 2011-03-22T12:47:50 the fighting rules variation is a big one, but an interesting one i think. One that people might consider. 2011-03-22T12:48:07 it'd be hard to work out what works best when 2011-03-22T12:48:07 Frontier: ya 2011-03-22T12:48:07 *** AlliedEnvy has joined #aichallenge 2011-03-22T12:48:09 amstan: btw, $JAVA_HOME seems to be the correct way to access the JRE. 2011-03-22T12:48:14 And it avoid some problems in the game being to easy to solve. 2011-03-22T12:48:23 the game isn't easy to solve 2011-03-22T12:48:40 that's the point isn't it ? that the game is a challenge. 2011-03-22T12:48:51 it's not called the AI straight way after all. 2011-03-22T12:49:30 The problem with X, is that there are no values that are really appealing for being on all the time. 2011-03-22T12:49:39 Frontier: i don't have that in my path 2011-03-22T12:49:43 yet i can compile things.. 2011-03-22T12:49:44 amstan: At first I though the dist folder is for output, but the code for the starter bots is in there 2011-03-22T12:49:48 View radius, and spawn radius are not taht problematic. 2011-03-22T12:49:55 you juste choose one, and go on with them. 2011-03-22T12:50:20 amstan: You don't need it on the path, but you can probably call make with "JAVA_HOME=... make" 2011-03-22T12:50:49 If you say that X is random (among some fixed set of value giving wide range of behavior) 2011-03-22T12:50:56 the game rules a pretty much settled 2011-03-22T12:51:00 did you mean shell environment instead of path? 2011-03-22T12:51:04 Frontier: the makefile's point is to automate such things.. there's no point in having the makefile if you're going to be searching for path and stuff 2011-03-22T12:51:20 if X is fixed, you have to find the best value for it. That's a hard work. And you can still go very wrong about it. 2011-03-22T12:51:49 if it can be very wrong, why would we want it in the random list of X's? 2011-03-22T12:51:49 *** amstan_ has quit IRC (Ping timeout: 255 seconds) 2011-03-22T12:51:51 (For thoses that don't know what X is. An ant dies if it takes more than X damage in a turn) 2011-03-22T12:51:51 amstan: then set the variable in your system environment 2011-03-22T12:52:03 Frontier: to what? 2011-03-22T12:52:19 the installation of java 2011-03-22T12:52:20 If it can be very wrong, we don't want it in the list McLeopold. 2011-03-22T12:52:28 Frontier: i don't even know where that is 2011-03-22T12:52:30 But wrong, maybe interesting but easy to solve. 2011-03-22T12:52:42 easy being after a month of hard work :p 2011-03-22T12:52:45 /opt/sun-jdk... ? 2011-03-22T12:52:53 it's definatelly not in opt 2011-03-22T12:52:56 my opt is empty 2011-03-22T12:53:11 isn't there like a command you can run to find it? 2011-03-22T12:53:15 that would mean, you choose one interesting value, and it get solved a month after the challenge begins. that i call going very wrong. 2011-03-22T12:53:22 which javac? 2011-03-22T12:53:25 no, that is why there is an environment variable :p 2011-03-22T12:53:35 Frontier: well.. it's not set for some reason 2011-03-22T12:53:52 If you have a set of value, and one is solved after a month, there is still room for people to fight over the others values :p 2011-03-22T12:54:14 provided their is a few of them. 2011-03-22T12:54:29 Then, also, you can't fully exploit the values property at the start 2011-03-22T12:54:39 for example if you have 0.01 and 1 2011-03-22T12:54:50 and 1 is known to allow easy bloking 2011-03-22T12:54:58 amstan: "whereis javac"? 2011-03-22T12:55:04 We aren't going to pick more than 1 battle resolution. So, keep doing tests to see which one is right. 2011-03-22T12:55:10 you wouldn't be able to block fully at the start (which is when it mostly is usefull really) 2011-03-22T12:55:13 or whereis java 2011-03-22T12:55:20 I'll keep testing. 2011-03-22T12:55:21 janzert: i get /usb/bin/javac 2011-03-22T12:55:22 usually javac us just a symlink to javac 2011-03-22T12:55:36 But really, that seems save to have some variations for x, in. 2011-03-22T12:55:49 or on my setup a link to 'run-java-tool' which is again a wrapper... and so on :p 2011-03-22T12:55:50 safe 2011-03-22T12:56:09 ugh... http://www.google.com/search?sourceid=chrome&client=ubuntu&channel=cs&ie=UTF-8&q=ubuntu+javahome 2011-03-22T12:56:11 Where as any fixed value may be risky. 2011-03-22T12:56:12 why is it not already set? 2011-03-22T12:57:09 If i'm proposed with say 5 values of X hidden and randomly chosen for X game, and i want a bot, i go like : woow. That's challenging. 2011-03-22T12:57:18 but i think it's solvable 2011-03-22T12:57:34 so i would work hard to find a way to exploit it best. 2011-03-22T12:57:42 so ... /usr/lib/sun-jdk or j2sdk ? 2011-03-22T12:57:47 I agree that it is challenging though. 2011-03-22T12:57:59 maybe.. but my point is that this should be cross platform 2011-03-22T12:58:08 without requiring the user installing to set paths manually 2011-03-22T12:58:19 he should be able to type make and let it work 2011-03-22T12:58:36 You'll have lot of fixed things. The ratio of ground/water, the map size, the map generation algorithm and rules, the food generation algorithm and rules and so on. Pretty much everything. 2011-03-22T12:59:27 Having one variable to play around isn't that dirty. It is a good challenge. Especially if it's around fighting. Discover if you have to kamikaze or block. 2011-03-22T12:59:32 and how to do it best. 2011-03-22T12:59:35 amstan: I looked on the internet and usually found articles saying that it would be best to set JAVA_HOME 2011-03-22T12:59:49 it adds some interest to the value of being interested in each games. 2011-03-22T13:00:30 Frontier: i just don't get why the java installer doesn't set this already... 2011-03-22T13:00:37 btw ratio of ground/water, map size and map generation aren't fixed 2011-03-22T13:00:37 I could compile a simple Java application, run it and let it print the path of its runtime environment. But that seems a bit too much 2011-03-22T13:00:40 *** cmoylan has joined #aichallenge 2011-03-22T13:00:48 they won't be ? 2011-03-22T13:01:02 you mean that the map setting will change from game to game ? 2011-03-22T13:01:07 certainly not before the contest starts 2011-03-22T13:01:09 that is nasty, and boring. 2011-03-22T13:01:29 because the correct tuning can depend on the map size 2011-03-22T13:01:32 and algorithm 2011-03-22T13:01:33 amstan: maybe because there is no default? you can have several jres from different vendors 2011-03-22T13:01:42 but try to set it up with: sudo update-alternatives --config java 2011-03-22T13:01:47 that's too much uninteresting variables to explore. 2011-03-22T13:01:47 lol, from the person that wants to change the battle resolution each game 2011-03-22T13:01:55 Frontier: then you have update-alternatives, but that still doesn't set JAVA_HOME 2011-03-22T13:02:01 i want to explore interesting variations of the game 2011-03-22T13:02:03 so much complaining from single person :) 2011-03-22T13:02:15 not to fine tune for uknown uninteresting variables 2011-03-22T13:05:13 amstan: what does --config do then? 2011-03-22T13:05:37 Frontier: java --config? 2011-03-22T13:05:41 *** Stocha_ has joined #aichallenge 2011-03-22T13:05:48 --config java 2011-03-22T13:05:55 hmm, does it make sense to do like the reverse of inheritence? 2011-03-22T13:06:06 Frontier: --config: command not found 2011-03-22T13:06:40 i mean "update-alternatives --config java", what is that command supposed to do, if not to setup the environment? 2011-03-22T13:06:47 I kinda agree that as few things should be variable once the challenge is ready. 2011-03-22T13:06:48 *** Stocha has quit IRC (Ping timeout: 252 seconds) 2011-03-22T13:07:10 There is only one alternative in link group java: /usr/lib/jvm/java-6-openjdk/jre/bin/java \n Nothing to configure. 2011-03-22T13:08:04 *** dlila has quit IRC (Quit: Leaving) 2011-03-22T13:08:49 ok. i found this in a mailing list: /usr/share/java-common/jvm-find.sh 2011-03-22T13:09:08 Frontier: not such file, lol 2011-03-22T13:10:57 k 2011-03-22T13:11:00 * amstan signs off 2011-03-22T13:12:42 hokay people c++ question again 2011-03-22T13:13:18 nevermind, it's not going to happen :( 2011-03-22T13:13:26 the question ? 2011-03-22T13:13:37 i have Game as a parent of NGame, EGame etc. 2011-03-22T13:13:53 i want to be able to write functions for Game that can use functions inside the instance of NGame, EGame etc. 2011-03-22T13:14:10 they will all have the function, but each will be different 2011-03-22T13:14:35 that's a virtual function i guess 2011-03-22T13:14:40 or a functor variable 2011-03-22T13:14:57 antimatroid: does C++ have interfaces? 2011-03-22T13:15:08 McLeopold: no idea 2011-03-22T13:15:43 http://stackoverflow.com/questions/318064/how-do-you-declare-an-interface-in-c 2011-03-22T13:15:44 C++ has abstract classes that can act as interfaces. interfaces are not needed since class can have multiple parents 2011-03-22T13:16:38 an exemple of a problem with variable map sized : 2011-03-22T13:16:58 - I want to limit the longest path i'm searching in path solving 2011-03-22T13:17:04 *** amstan has quit IRC (Ping timeout: 250 seconds) 2011-03-22T13:17:13 because i can take a lot of time, and i have to do for each ant. 2011-03-22T13:17:33 if the size of game is variable, i won't be able to judge the time i might spend in path finding. 2011-03-22T13:17:37 but how will game ever get the function from ngame for << say? 2011-03-22T13:17:47 if game is the parent 2011-03-22T13:17:52 so it will be harder to put time where it should go = fight resolution. 2011-03-22T13:18:08 the do McLeopold 2011-03-22T13:18:21 an interface in c is called Pure Abstract Class. 2011-03-22T13:18:25 Stocha_: the map sizes *will* vary. We have not set limits yet, but testing shows over 256x256 is a bit too much. 2011-03-22T13:18:52 But that's not fun to have to solve the map size variation in the bot, and time management. 2011-03-22T13:19:04 who would find that fun ? 2011-03-22T13:19:33 meh i'll give up, i'll just pass the type of strategy along with the type of game 2011-03-22T13:19:34 althoug it's consistent with having hidden number of ennemies 2011-03-22T13:19:48 that's something else i'm not to excited with at the moment. 2011-03-22T13:19:57 antimatroid: i'm not sure if this is an answer to your problem but here goes: you can create a method for Game class that is virtual and that you overload in child class. then just call that method and it should call the cihld classes method 2011-03-22T13:20:00 More than one ennemy i still miss the value off right now. 2011-03-22T13:20:10 Stocha_: your max path will be 65536 2011-03-22T13:20:33 It's just too long to compute 2011-03-22T13:20:43 i have trouble with depth 20 at the moment :p 2011-03-22T13:20:45 antrn11: hmmm, okay, let me see how i go 2011-03-22T13:20:46 antimatroid: don't give up, what you're wanting is a basic concept of oop 2011-03-22T13:20:50 (although there probably is a trouble somewhere) 2011-03-22T13:25:08 *** Stocha_ has quit IRC (Ping timeout: 252 seconds) 2011-03-22T13:25:48 antrn11: i think i'm good now, thanks :) 2011-03-22T13:25:52 and the rest of you :P 2011-03-22T13:26:14 well it worked with a small example, i need to re arrange my library now 2011-03-22T13:26:52 antimatroid: shouldn't you be working on map generation instead of getting a jump start on your bot? 2011-03-22T13:26:53 ok, that's good to hear 2011-03-22T13:27:01 you cheater 2011-03-22T13:27:03 McLeopold: this is for thesis stuff 2011-03-22T13:27:04 * Frontier nods 2011-03-22T13:27:14 good excuse 2011-03-22T13:27:17 :p 2011-03-22T13:27:41 https://github.com/antimatroid/GTL 2011-03-22T13:27:42 it's for that 2011-03-22T13:27:46 although it's a bit of a mess atm 2011-03-22T13:28:28 and i have quite a bit of other stuff from old revisions yet to add in, i'm trying to give everything a last clean before making it so big that a clean up would just be impossible for everything 2011-03-22T13:29:20 antimatroid: Don't forget to add some unittests 2011-03-22T13:29:37 what are they exactly? 2011-03-22T13:29:55 they test parts of your program 2011-03-22T13:29:56 is it just a program to run a bunch of sample input and compare it to past data? 2011-03-22T13:30:17 i need to work out exceptions too :P 2011-03-22T13:30:23 for example you could test a single function with different input and check the output 2011-03-22T13:30:42 yep 2011-03-22T13:30:49 i also don't know how to delete a file on github 2011-03-22T13:30:58 i did the whole git rm thing, but it didn't actually remove the file :\ 2011-03-22T13:31:15 *** bhasker has quit IRC (Quit: bhasker) 2011-03-22T13:31:16 basic question, did you commit and push? 2011-03-22T13:31:18 you need to commit the rm and then push 2011-03-22T13:31:22 McLeopold: yes 2011-03-22T13:31:34 i updated other stuff at the same time 2011-03-22T13:31:47 anyway, i should get to bed, i'll play around with all this later 2011-03-22T13:31:58 did you do a commit all, or specific files? 2011-03-22T13:32:02 it should just work. i used git rm myself and had no trouble 2011-03-22T13:32:57 *** silenthunter747 has joined #aichallenge 2011-03-22T13:33:04 i tend to just do "git commit -m "whatevs"" now 2011-03-22T13:33:09 antimatroid: it looks like you didn't commit your deletes 2011-03-22T13:33:21 is that different to a normal commit? 2011-03-22T13:33:26 do a git status to see if they are still pending 2011-03-22T13:34:16 oh, so i need to do git add/rm files ? 2011-03-22T13:34:23 wait nah 2011-03-22T13:34:33 hang on, i'll psatebin 2011-03-22T13:35:02 http://pastebin.com/EmpJqUfY 2011-03-22T13:35:15 aichallenge: McLeopold epsilon * r3f236b4 / ants/map.py : removed old map.py - http://bit.ly/f0AXs8 2011-03-22T13:35:16 aichallenge: McLeopold epsilon * r574134f / (39 files in 12 dirs): Merge branch 'epsilon' of github.com:aichallenge/aichallenge into epsilon - http://bit.ly/ggNgqr 2011-03-22T13:36:03 http://pastebin.com/nLAd9ve5 2011-03-22T13:37:14 antimatroid: your method worked for me? 2011-03-22T13:37:29 hmm, strange, i'll play around with that later too 2011-03-22T13:37:47 i still don't know what's causing my connection problems with github 2011-03-22T13:38:17 every time i go to use it, i can't authenticate with the ssh server unless i go add my email address to the end of my key thing in account settings 2011-03-22T13:42:39 *** McLeopold has left #aichallenge 2011-03-22T13:48:12 *** i0cus^^ has joined #aichallenge 2011-03-22T13:50:43 *** FireFly has quit IRC (Read error: Connection reset by peer) 2011-03-22T13:52:14 *** FireFly has joined #aichallenge 2011-03-22T13:52:27 hi, is any org online? 2011-03-22T14:14:47 *** Kineman has joined #aichallenge 2011-03-22T14:18:05 Frontier: Are you still looking for a solution to the images problem on your visualizer? 2011-03-22T14:18:46 Kineman: I solved the issue already, but thanks for offering help :) 2011-03-22T14:27:23 *** olex has joined #aichallenge 2011-03-22T14:35:29 *** Kineman has left #aichallenge 2011-03-22T14:42:09 *** iFire has quit IRC (Read error: Connection reset by peer) 2011-03-22T14:43:21 *** iFire has joined #aichallenge 2011-03-22T14:58:01 *** bhasker has joined #aichallenge 2011-03-22T15:02:23 *** bhasker has quit IRC (Client Quit) 2011-03-22T15:16:29 *** lavalamp has joined #aichallenge 2011-03-22T15:20:30 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has joined #aichallenge 2011-03-22T15:29:38 *** olex has quit IRC (Quit: Leaving.) 2011-03-22T15:30:48 *** boegel has joined #aichallenge 2011-03-22T15:33:54 *** Stocha has joined #aichallenge 2011-03-22T15:36:44 *** Stocha has quit IRC (Client Quit) 2011-03-22T15:47:23 ls 2011-03-22T15:47:33 oops, sorry.. 2011-03-22T15:57:05 *** Eruonen has joined #aichallenge 2011-03-22T15:58:50 *** kaemo has joined #aichallenge 2011-03-22T16:03:39 *** amstan has joined #aichallenge 2011-03-22T16:03:39 *** ChanServ sets mode: +o amstan 2011-03-22T16:05:35 hello 2011-03-22T16:07:33 *** Frontier has quit IRC (Read error: Connection reset by peer) 2011-03-22T16:08:35 *** Frontier has joined #aichallenge 2011-03-22T16:18:00 *** Accoun has quit IRC () 2011-03-22T16:28:47 *** chris__0076 is now known as chris_0076 2011-03-22T16:40:34 aichallenge: Marco Leise epsilon * r7d7943e / (2 files): Added a Makefile for the D starter bot. - http://bit.ly/fp9MJO 2011-03-22T16:42:41 *** McLeopold has joined #aichallenge 2011-03-22T16:43:00 *** deblap has quit IRC (Quit: Ex-Chat) 2011-03-22T16:44:11 *** Accoun has joined #aichallenge 2011-03-22T16:45:31 *** sigh has joined #aichallenge 2011-03-22T16:48:23 So uploaded code can now use makefiles? 2011-03-22T16:48:58 amstan: The starter package Makefile may zip up temp files in the bot directories if they weren't clean before 2011-03-22T16:49:30 lavalamp: looks like we are heading that way :) 2011-03-22T16:50:16 That would be cool. Go projects are kinda meant to be multiple packages and makefiles make that happen... 2011-03-22T16:50:19 Also how is the GO Makefile supposed to work? It includes files that don't exist :p 2011-03-22T16:50:34 Haha I will look at it 2011-03-22T16:50:54 It's probably referencing a *_test.go file that I didn't upload 2011-03-22T16:51:04 because it would cause a non-makefile build to fail 2011-03-22T16:51:41 I have a question about the worker setup script 2011-03-22T16:51:55 I was looking at updating the go install section 2011-03-22T16:52:06 to make it use these packages: http://groups.google.com/group/golang-nuts/msg/4ef5d65e5feb4e89 2011-03-22T16:52:28 But I didn't see anywhere else where people added non-default repositories 2011-03-22T16:52:57 So I wasn't sure... is that even allowed? 2011-03-22T16:54:32 I think third-party Debian/Ubuntu repositories are allowed. For D it will just be a .deb package. Everything down to bare source code is allowed. 2011-03-22T17:01:29 *** sigh has quit IRC (Remote host closed the connection) 2011-03-22T17:04:48 Frontier: i can't just run make clean in each folder since they might not use make 2011-03-22T17:04:58 lavalamp: yes... what's the point of the go makefile 2011-03-22T17:05:14 lavalamp: you can include other libraries, see the CL one 2011-03-22T17:05:54 amstan: alright, that was my question 2011-03-22T17:06:44 lavalamp: I misread 'install section' for 'installation' 2011-03-22T17:07:56 *** robbs has left #aichallenge 2011-03-22T17:19:03 *** ltriant has joined #aichallenge 2011-03-22T17:19:04 *** boegel has quit IRC (Quit: Leaving) 2011-03-22T17:19:41 *** glocal_ has joined #aichallenge 2011-03-22T17:31:09 amstan, Frontier-- sorry was afk; Is there an example in that script of using a non-default repository that I just missed? 2011-03-22T17:33:09 *** glocal_ has quit IRC (Quit: Quitte) 2011-03-22T17:36:26 *** mceier has quit IRC (Quit: leaving) 2011-03-22T17:37:23 *** chris__0076 has joined #aichallenge 2011-03-22T17:40:43 *** chris_0076 has quit IRC (Ping timeout: 276 seconds) 2011-03-22T17:46:22 lavalamp: what do you mean though? 2011-03-22T17:46:27 getting a non default repo for ubuntu? 2011-03-22T17:46:32 that's not really a starter bot thing 2011-03-22T17:46:37 it's more for the worker installer 2011-03-22T17:46:45 Yeah, that's what I was talking about 2011-03-22T17:46:47 there's no example yet 2011-03-22T17:46:58 ping janzert about it, he's working on it 2011-03-22T17:47:19 ok I'll ask him at some point 2011-03-22T18:04:05 *** robbs has joined #aichallenge 2011-03-22T18:05:22 *** sigh has joined #aichallenge 2011-03-22T18:08:05 *** robbs has quit IRC (Ping timeout: 240 seconds) 2011-03-22T18:09:08 *** robbs has joined #aichallenge 2011-03-22T18:18:03 *** delt0r_ has joined #aichallenge 2011-03-22T18:18:08 *** jmcarthur has quit IRC (Quit: WeeChat 0.3.2) 2011-03-22T18:18:48 *** jmcarthur has joined #aichallenge 2011-03-22T18:19:01 *** delt0r___ has quit IRC (Ping timeout: 255 seconds) 2011-03-22T18:20:43 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has quit IRC (Quit: Lost terminal) 2011-03-22T18:21:13 *** Todd200 has joined #aichallenge 2011-03-22T18:22:05 *** Todd200 has left #aichallenge 2011-03-22T18:23:57 *** i0cus^^ has quit IRC (Quit: Leaving.) 2011-03-22T18:24:38 *** robbs has quit IRC (Quit: Leaving.) 2011-03-22T18:30:50 *** fishy1 has quit IRC (Quit: WeeChat 0.3.4) 2011-03-22T18:44:49 *** amriedle has joined #aichallenge 2011-03-22T19:01:13 *** Stocha has joined #aichallenge 2011-03-22T19:03:46 *** Stocha has quit IRC (Client Quit) 2011-03-22T19:06:04 *** FireFly has quit IRC (Quit: swatted to death) 2011-03-22T19:17:42 *** davidjliu has joined #aichallenge 2011-03-22T19:18:33 *** Cerealklr has joined #aichallenge 2011-03-22T19:19:13 *** lavalamp has quit IRC (Quit: Page closed) 2011-03-22T19:19:41 *** Cerealklr has left #aichallenge 2011-03-22T19:22:21 *** Eruonen has quit IRC () 2011-03-22T19:29:07 *** silenthunter747 has quit IRC (Quit: Save your packet lists and reload them every time you load mIRC, with XDCC Browser v4.22 ... http://www.mircscripts.org) 2011-03-22T19:51:46 *** contestbot_ has joined #aichallenge 2011-03-22T19:51:46 *** contestbot has quit IRC (Disconnected by services) 2011-03-22T19:53:37 *** amstan has quit IRC (Ping timeout: 250 seconds) 2011-03-22T19:53:38 *** contestbot_ is now known as contestbot 2011-03-22T19:53:39 *** ChanServ sets mode: +o contestbot 2011-03-22T20:01:11 *** jeff__ has joined #aichallenge 2011-03-22T20:09:36 hi jeff__ 2011-03-22T20:12:28 I guess j3camero is taken by someone else. 2011-03-22T20:12:37 ? 2011-03-22T20:12:40 *** jeff__ is now known as jj3camero 2011-03-22T20:14:11 both j3camero and jj3camero have the same IP... 2011-03-22T20:14:53 They might be... the same person! 2011-03-22T20:15:36 indeed, which leads me to wonder why you think j3camero is taken by someone else :P 2011-03-22T20:16:27 I don't know. I don't think I have irssi open in another screen session or anything. 2011-03-22T20:19:29 I can remember this happening before 2011-03-22T20:21:36 whois says you're both on the same server 2011-03-22T20:21:56 same ip, i mean 2011-03-22T20:22:37 that's what i said just before! 2011-03-22T20:22:48 no one listens to me :( 2011-03-22T20:22:49 oh, indeed 2011-03-22T20:24:29 jj3camero: you might have done something silly, like have irssi open in another screen /window/ 2011-03-22T20:24:53 Oh haha you're right. Here it is. 2011-03-22T20:24:57 *** jj3camero has quit IRC (Quit: leaving) 2011-03-22T20:25:14 omg 2011-03-22T20:25:19 Wooow you know your monitor is too big when... 2011-03-22T20:25:23 we either get nothing, or 2 of him 2011-03-22T20:25:57 2010-11-11T20:47:04 That's messed. I don't think I have irssi open in any other screen... 2011-03-22T20:26:04 2010-11-11T20:47:27 Oh no wait here I am 2011-03-22T20:29:38 I have two 27-inch monitors. It's so much space that I literally lost the other IRC window. 2011-03-22T20:30:11 that sounds like a nice setup 2011-03-22T20:42:48 *** Todd200 has joined #aichallenge 2011-03-22T20:45:36 *** Todd200 has quit IRC (Client Quit) 2011-03-22T20:47:27 j3camero: are you up on the battle options? 2011-03-22T20:47:46 More or less. Let's just keep it parameterized and decide later. 2011-03-22T20:48:05 If that's okay with everybody. 2011-03-22T20:48:28 I think they are different enough that we ought to have an idea 2011-03-22T20:49:11 I guess I would categorize them as 1:1 kill ratio, or above or below that 2011-03-22T20:49:29 That is what I think we should decide now. The details of that could come later. 2011-03-22T20:54:15 Whatever it is, we've got to keep it ridiculously simple. Simple in the sense of being able to code to it, not in the sense that the actual battle resolution algorithm is simple. 2011-03-22T20:55:14 So I guess if we have to restrict the options at this stage, I would go with whichever category of algorithms will best line up with people's first intuitions. 2011-03-22T21:01:02 *** amstan_ has joined #aichallenge 2011-03-22T21:01:02 *** ChanServ sets mode: +o amstan_ 2011-03-22T21:01:14 *** computerwiz_222 has quit IRC (Ping timeout: 250 seconds) 2011-03-22T21:01:21 *** amstan_ is now known as amstan 2011-03-22T21:03:15 *** computerwiz_222 has joined #aichallenge 2011-03-22T21:06:19 *** antiuni has joined #aichallenge 2011-03-22T21:08:42 j3camero: you still about? have you seen the battle resolution wiki page? 2011-03-22T21:13:03 *** needsch has quit IRC (Quit: Leaving.) 2011-03-22T21:25:00 *** phirenz has quit IRC (Ping timeout: 276 seconds) 2011-03-22T21:30:42 Frontier: ping 2011-03-22T21:30:50 * amstan is a java noob 2011-03-22T21:31:01 i want a data structure that i can use like the python set 2011-03-22T21:31:13 where i can add stuff to it, and check for membership 2011-03-22T21:31:29 maybe... like the python array [], actually, i might need order 2011-03-22T21:32:11 amstan: a SortedSet maybe? 2011-03-22T21:32:40 * amstan is looking it up 2011-03-22T21:33:39 Frontier: i'm a little fuzzy on implementation details, don't i have to give it what object types i have want to store in it? 2011-03-22T21:34:45 *** moongrass has joined #aichallenge 2011-03-22T21:35:17 amstan: look at the java bots 2011-03-22T21:35:20 Sure, you declare it like this: SortedSet ... 2011-03-22T21:35:36 destinations is a hashset to ensure you don't step on yourself 2011-03-22T21:36:02 There is also a TreeSet and a HashSet 2011-03-22T21:36:10 Also, declare the generic types, but instantiate the specific types 2011-03-22T21:36:33 also.. how would i go about copying such sets? 2011-03-22T21:36:44 i don't want my new variable to just point to the old one, i want a copy 2011-03-22T21:37:18 A shallow or a deep copy? 2011-03-22T21:37:22 shallow 2011-03-22T21:38:26 then use .clone() on the list 2011-03-22T21:40:36 *** kaemo has quit IRC (Ping timeout: 276 seconds) 2011-03-22T21:42:04 amstan: If you use Eclipse, you can press Ctrl+Shift+H and enter 'Set'. Then you will see all Set implementations and if you installed Java with docs, compare them to find the one that best fits your needs in terms of performance, features and memory use. 2011-03-22T21:42:47 i don't use eclipse 2011-03-22T21:43:03 NetBeans? 2011-03-22T21:43:09 *** delt0r___ has joined #aichallenge 2011-03-22T21:43:09 so.. don't i have to cast stuff before taking them out of the set? 2011-03-22T21:43:14 no.. just kate 2011-03-22T21:43:21 *shudders* 2011-03-22T21:43:43 no, since you declared the element type 2011-03-22T21:44:31 Frontier: ok.. so like this: SortedSet directions = new SortedSet; 2011-03-22T21:44:37 *** McLeopold has quit IRC (Read error: Connection reset by peer) 2011-03-22T21:44:45 no.. that won't work 2011-03-22T21:44:51 *** delt0r_ has quit IRC (Remote host closed the connection) 2011-03-22T21:44:52 But your must give the SortedSet a Comparator object that knows how to compute which of your objects is 'less' than the other or implement IComparable directly in your element class. 2011-03-22T21:44:52 *** pgpaskar_ has quit IRC (Quit: leaving) 2011-03-22T21:45:06 what? why? 2011-03-22T21:45:07 SortedSet = new ... 2011-03-22T21:45:22 it just needs an equals.. 2011-03-22T21:45:33 You have a SortedSet, so the library needs a way to sort them. 2011-03-22T21:45:36 *** Kingpin13 has quit IRC (Quit: You're a kitty!) 2011-03-22T21:45:41 ok, nvm sorted set then 2011-03-22T21:46:07 Frontier: how's this? http://pastebin.com/kt4SSHyH 2011-03-22T21:46:36 *** pgpaskar_ has joined #aichallenge 2011-03-22T21:47:37 should be fine except for the missing in the first line. You need it wherever you use the type 2011-03-22T21:47:52 SortedSet = new SortedSet(); 2011-03-22T21:50:04 I can really recommend Eclipse even for small projects, because there you just type "SortedSet = new " and press Ctrl+Enter. The IDE will show an autocompletion with the constructor for the declared object. It can also add casts to objects automagically if required. 2011-03-22T21:50:45 hmm 2011-03-22T21:50:51 so.. i get these: http://pastebin.com/VsK4L1h8 2011-03-22T21:51:16 amstan: try a HashSet, it works without a Comparator 2011-03-22T21:51:36 Frontier: same 2011-03-22T21:51:44 i think i can give it a comparator.. 2011-03-22T21:52:09 is the Compass declared somewhere? :p 2011-03-22T21:52:22 nope, i don't have the source.. 2011-03-22T21:52:32 it's a contest with no documentation about the classes, totally in java 2011-03-22T21:52:39 and.. closed source 2011-03-22T21:52:47 ok you NEED the jar on the classpath 2011-03-22T21:53:08 and add the right import line. ... or let Eclipse do that for you ^^ 2011-03-22T21:53:09 Frontier: nope.. i compiled it before, works fine 2011-03-22T21:53:31 hmm, can you hint me to it? where can i download the jar? 2011-03-22T21:53:33 it's a jar with the contest code and everything, i just have to javac my source file and it somehow works 2011-03-22T21:54:06 well I don't know how the compiler would know about Compass if the jar isn't on the classpath 2011-03-22T21:54:06 Frontier: http://www2.mohawkcollege.ca/events/amazebot/download/AMazeBot2011Sample1.4.zip 2011-03-22T21:54:36 Frontier: i'm import amazebot2011.*;ing them 2011-03-22T21:54:45 and when i'm javacing the jar file is in the pwd 2011-03-22T21:54:49 maybe that's how it can do it 2011-03-22T21:55:12 isn't pwd included in classpath or something? 2011-03-22T21:56:09 i was convinced that jars have to be named 2011-03-22T21:58:47 ok try this: Compass direction; 2011-03-22T21:58:47 for(Iterator it = directions.iterator(); it.hasNext(); direction = it.next()) {} 2011-03-22T21:59:17 *** antiuni has quit IRC (Ping timeout: 252 seconds) 2011-03-22T22:00:04 Frontier: do i have to import anything to have access to hashset? 2011-03-22T22:00:21 import java.util.HashSet; 2011-03-22T22:00:21 import java.util.Iterator; 2011-03-22T22:00:49 or just press Ctrl+Shift+O to auto-organize your imports in Eclipse ;) 2011-03-22T22:02:02 Frontier: my it.next returns a java.lang.object, whereas i want to put it in a compass 2011-03-22T22:02:04 do i just cast? 2011-03-22T22:02:21 look above ^ 2011-03-22T22:02:34 you declared the Iterator wrongly 2011-03-22T22:03:10 Frontier: ok.. got it now, except hashset doesn't have .remove 2011-03-22T22:03:58 oh 2011-03-22T22:04:22 it has 2011-03-22T22:04:45 even the iterator has a remove method 2011-03-22T22:05:16 yeah, it's good 2011-03-22T22:05:22 except: "variable direction might not have been initialized" 2011-03-22T22:05:47 ffuuu java! when i write code that does that, you should take my word for it, and not decide to not compile 2011-03-22T22:05:57 that is because you dont set it to a value when you start the for 2011-03-22T22:06:15 yes, i know, but like.. ugh 2011-03-22T22:06:54 how about for (Compass compass : directions) { ... } 2011-03-22T22:08:00 although, if you want to remove items in the for-loop, you better stick with the iterator and make it a while loop 2011-03-22T22:09:17 Iterator it = directions.iterator(); 2011-03-22T22:09:18 while (it.hasNext()) { 2011-03-22T22:09:18 Compass direction = it.next(); 2011-03-22T22:09:18 it.remove(); 2011-03-22T22:09:18 } 2011-03-22T22:10:39 Frontier: yeah, looks ok, except it crashed, out of bounds 2011-03-22T22:11:00 wait.. hmm 2011-03-22T22:11:22 yeah.. i get it, it crashes because i'm taking stuff out of the set without the iterator knowing 2011-03-22T22:11:27 maybe? lol 2011-03-22T22:11:35 definitly ^^ 2011-03-22T22:11:48 i want to have a pruned set at the end 2011-03-22T22:11:59 does it.remove remove it from the set too? 2011-03-22T22:12:41 That what the remove method on iterators in any language is for, yes. 2011-03-22T22:13:29 On a linked list is is an O(1) operation, because the iterator is already at the right position. If you called list.remove(item), the list would have to be searched first 2011-03-22T22:15:46 oh fun: remove() in java.util.Iterator cannot be applied to (amazebot2011.Compass) 2011-03-22T22:16:09 oh.. 2011-03-22T22:16:14 wait, it.remove(), with no arguments 2011-03-22T22:16:48 finally, it works 2011-03-22T22:26:06 aichallenge: Marco Leise epsilon * rea871a2 / (6 files in 3 dirs): visualizer: player names with profile links / added support for JSON meta data / slightly faster rendering using the applet - http://bit.ly/eArQPa 2011-03-22T22:27:12 amstan: do you have a file named /etc/jvm ? 2011-03-22T22:27:44 if so, maybe you can use that on Ubuntu to find the JRE. 2011-03-22T22:30:57 *** antimatroid has quit IRC (Ping timeout: 250 seconds) 2011-03-22T22:34:29 *** dlila has joined #aichallenge 2011-03-22T22:36:52 Frontier: nope 2011-03-22T22:38:07 i haven't read the docs much yet, but what fields of AI are expected to be most relevant in the upcoming challenge (other than adversarial search)? 2011-03-22T22:38:08 why did i even ask -.- 2011-03-22T22:43:10 moongrass: path finding be important for starting up 2011-03-22T22:43:43 also various fields that deal with representing uncertainty 2011-03-22T22:44:45 makes sense, thx 2011-03-22T22:45:54 *** antimatroid has joined #aichallenge 2011-03-22T22:50:12 i've never studied ai, but i've started working through "artificial intelligence, a modern approach"(3ed). "the wumpus world revisited" (chapter 13) seems to be of interest :P 2011-03-22T22:50:41 I've got that, it's not a bad book :) 2011-03-22T22:52:13 definitely very interesting read! but i need more time off from real life to really dive in... 2011-03-22T22:53:40 yeah, you really need to implement some of that stuff to get it... it's more of a reference imo, than something you read cover to cover 2011-03-22T22:54:20 *** davidjliu has quit IRC (Quit: Page closed) 2011-03-22T22:54:51 indeed. a lot of the later chapters require knowledge from the earlier ones though. 2011-03-22T22:55:16 i'm especially interested in NLP actually 2011-03-22T22:55:37 if there were a ai challenge involving nlp, i would be so on it 2011-03-22T22:55:48 NLP? 2011-03-22T22:55:58 natural language processing 2011-03-22T22:56:14 ah, now that's a tricky beast :) 2011-03-22T22:56:51 but endlessly fascinating, and a very crucial field to the advancement of ai as a whole i believe :) 2011-03-22T22:59:00 you might want to look at this: http://www.nltk.org/ 2011-03-22T22:59:50 *** amstan has quit IRC (Ping timeout: 246 seconds) 2011-03-22T22:59:51 yeah, i've played around with that a bit and intend to do more with it 2011-03-22T22:59:57 :) 2011-03-22T23:01:01 *** Cyndre has joined #aichallenge 2011-03-22T23:01:17 sigh: what's your field of specialty/interest? 2011-03-22T23:03:00 damn, something came up... sorry, will be back later 2011-03-22T23:03:03 *** moongrass has quit IRC (Quit: Lost terminal) 2011-03-22T23:03:23 oh, he left 2011-03-22T23:17:40 *** amstan has joined #aichallenge 2011-03-22T23:17:40 *** ChanServ sets mode: +o amstan 2011-03-22T23:20:14 *** amstan_ has joined #aichallenge 2011-03-22T23:20:14 *** ChanServ sets mode: +o amstan_ 2011-03-22T23:21:56 *** amriedle has quit IRC (Quit: Lost terminal) 2011-03-22T23:26:23 *** jmcarthur has quit IRC (Quit: WeeChat 0.3.2) 2011-03-22T23:26:52 *** amstan_ has quit IRC (Ping timeout: 255 seconds) 2011-03-22T23:28:05 *** jmcarthur has joined #aichallenge 2011-03-22T23:31:36 *** jbroman has quit IRC (Quit: Scotty, beam me up!) 2011-03-22T23:31:49 *** Zepp has quit IRC (Ping timeout: 255 seconds) 2011-03-22T23:32:00 *** Sunhay has quit IRC (Ping timeout: 240 seconds) 2011-03-22T23:32:06 *** jbroman has joined #aichallenge 2011-03-22T23:33:25 *** Zepp has joined #aichallenge 2011-03-22T23:35:44 *** phirenz has joined #aichallenge 2011-03-22T23:37:23 *** Sunhay has joined #aichallenge