2011-04-18T00:22:56 *** antimatroid has joined #aichallenge 2011-04-18T00:26:20 *** amstan has quit IRC (Read error: Operation timed out) 2011-04-18T00:32:16 *** ltriant has quit IRC (Ping timeout: 246 seconds) 2011-04-18T00:43:29 *** amstan__ is now known as amstan 2011-04-18T01:04:32 *** Mathnerd314 has quit IRC (Ping timeout: 258 seconds) 2011-04-18T01:26:48 *** antimatroid has quit IRC (Ping timeout: 252 seconds) 2011-04-18T01:37:44 *** antimatroid has joined #aichallenge 2011-04-18T01:39:02 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has quit IRC (Quit: Lost terminal) 2011-04-18T01:54:23 *** ltriant has joined #aichallenge 2011-04-18T01:56:26 anyone around? 2011-04-18T01:58:27 mcleopold/antimatroid/amstan? 2011-04-18T01:58:36 hi 2011-04-18T01:58:40 bhasker? 2011-04-18T01:58:49 hey i ran into some weird state 2011-04-18T01:58:54 .a*a. 2011-04-18T01:59:00 basically when my bot got into this state 2011-04-18T01:59:03 no new ant is spawning 2011-04-18T01:59:56 hmm, i'll take a look later 2011-04-18T02:09:36 *** Ice_Harley has joined #aichallenge 2011-04-18T02:17:25 Ice_Harley: I have no way of handling that case fast enough 2011-04-18T02:17:30 and smart enough 2011-04-18T02:17:57 it's a bit of a pitty people wont have enough time to do the really interesting ideas 2011-04-18T02:18:05 but people insist on having larger maps 2011-04-18T02:18:40 which will make language choice even more important 2011-04-18T02:18:54 it's going to be a contest of who can do the best stuff in the time limit 2011-04-18T02:19:05 and macro strategy of course :P 2011-04-18T02:21:02 antimatroid: so you just go to closest food everytime? 2011-04-18T02:21:17 reusing already moved ants yes 2011-04-18T02:21:41 i considered moving to the food square closest to me that minimises the distance to an enemy each iteration, but i don't think that'd work as well 2011-04-18T02:21:43 I didn't find soluthion for this either 2011-04-18T02:23:55 ideally you want to use a game tree for that too 2011-04-18T02:23:59 but i'm saving that for battles 2011-04-18T02:27:59 I thought about trees. What kind of tree you can do? Each node is one move? Or each node is ant from food spawn? 2011-04-18T02:29:34 First variant will have huge number of nodes. Second - how to handle that when one ant takes food others shold go somewhere? 2011-04-18T02:37:19 when i collect food now i already update the information at the food square as to when that will be available for collecting more food 2011-04-18T02:37:33 so yeah, i would be moving it to "next to" the food square in the tree 2011-04-18T02:45:39 but you can't build new position because you don't know where will be other ants on this step 2011-04-18T02:53:49 *** jaycobcoleman has joined #aichallenge 2011-04-18T03:06:06 Ice_Harley: what do you mean? 2011-04-18T03:08:44 Each node in tree is map position, isn't it? 2011-04-18T03:09:41 *** jaycobcoleman has quit IRC (Ping timeout: 252 seconds) 2011-04-18T03:10:23 each node in the tree contains a game state 2011-04-18T03:10:30 each edge is a strategy 2011-04-18T03:11:54 yes-yes. So when you create new node where strategy is ant A1 goes to food F1 you need new game state. In this game state A1 is near F1, and instead F1 you have new ant A2. But where are ants A3, A4 and A5? 2011-04-18T03:12:27 where they were before unmoves 2011-04-18T03:12:48 then for each of those children you move A3, A4 and A5 2011-04-18T03:13:07 or A1 and A2 again for collecting food 2011-04-18T03:14:12 You don't take into account that A1 and A3 are moving simultaneously? 2011-04-18T03:14:23 for blocking paths? 2011-04-18T03:14:24 ARGH, a combination of github's SSL certificate and redirect setup trigger a bug in wget such that you can't securely download tarballs using wget, this is making my life difficult in trying to refactor the worker setup scripts in preparation for adding jailuser chroot setup to them so I can then add that to the sandbox. 2011-04-18T03:14:40 I think it's time to go to bed and work on it tomorrow 2011-04-18T03:14:46 *** jaycobcoleman has joined #aichallenge 2011-04-18T03:15:08 one option is to have a map set > to mark when a square will be "taken" 2011-04-18T03:15:16 and use that information when path finding 2011-04-18T03:15:26 /s/map/set 2011-04-18T03:15:32 or just remove map :P 2011-04-18T03:16:20 int represents the turn it will be occupied on 2011-04-18T03:16:55 but i suspect to be quite limited on time 2011-04-18T03:17:01 so i'm not really sure what will work best yet 2011-04-18T03:17:13 expect* ergh :P 2011-04-18T03:17:43 for blocking pathes I think it's much easier to check moves before submitting to server and if two ants go to one square just recalculate path for one of them, marking that square as water 2011-04-18T03:18:48 information on the location of water squares isn't reset each turn by default, so watch out doing that. 2011-04-18T03:20:36 you can't mark a square as water, you need to retain water information across turns 2011-04-18T03:20:36 there are times where you might have ants cross each others paths that you need to account for 2011-04-18T03:20:36 but you don't want to say the ant can't walk through the path of another ant at all 2011-04-18T03:20:36 that would really block off what you can actually do 2011-04-18T03:20:36 for my squares, i have int ant, and vector newAnts, deadAnts 2011-04-18T03:20:43 jaycobcoleman: it's in temporary game state. I will not change real one 2011-04-18T03:21:08 when i move an ant, i place it onto newAnts (same as when i'm inputting state information), then when i increment states or resolve information etc. I move the ants back from newAnts to ant 2011-04-18T03:22:02 that way in your game tree for example (or heuristics if you don't mind the odd "crash of ants") you can move an ant onto a square containing another ant before it moves 2011-04-18T03:22:13 *** sigh has joined #aichallenge 2011-04-18T03:22:16 and in the case of moving enemies with a game tree, you can move them onto a square containing an enemy etc. 2011-04-18T03:23:18 finished my first day of work at Google :D 2011-04-18T03:23:25 another thing you will want to do at some point is work out how to retain information about food squares that existed when they went out of visibility of you 2011-04-18T03:23:41 sigh: I'm so jealous of you 2011-04-18T03:23:48 the annoying thing is you are only implicitly told if it's no longer there when you get back in view by not being told it's there 2011-04-18T03:23:51 :) 2011-04-18T03:23:53 sigh: :) 2011-04-18T03:23:59 didn't know you were off to google :P 2011-04-18T03:24:36 I don't think I mentioned it in the channel :P 2011-04-18T03:24:37 i was against having implicit information like that, but meh 2011-04-18T03:24:50 my comment was half indicating that :P 2011-04-18T03:25:11 a friend interned there the previous summer and really liked it 2011-04-18T03:25:15 especially the food :P 2011-04-18T03:25:26 haha, yeah... the food is awesome 2011-04-18T03:25:49 what are you doing there? :P 2011-04-18T03:26:13 just normal software engineering role :P 2011-04-18T03:27:02 sigh: What experience do you have that landed you a job with google? I feel like you'd have to have done something pretty damn impressive 2011-04-18T03:27:25 I think it' 2011-04-18T03:27:38 I think it's more that I did quite well in the interviews 2011-04-18T03:27:52 ^^ he knows quite a lot too 2011-04-18T03:28:07 it's all algorithms and system design type questions, so you have to be on top of that 2011-04-18T03:28:24 What did you do before google? 2011-04-18T03:28:26 yeah, i've heard they grill quite well there 2011-04-18T03:28:43 most technical jobs require a pretty good grilling don't they? 2011-04-18T03:28:55 i've been told the RBA will grill you until you don't know what you're talking about 2011-04-18T03:28:59 no matter how long it takes them 2011-04-18T03:29:14 jaycobcoleman: systems developer for a small cloud based mail/web filtering company 2011-04-18T03:30:15 I see. I hope to work at google someday. When I'm a few years older perhaps 2011-04-18T03:30:33 :) 2011-04-18T03:30:47 well if you are talking active interesting in things like the AI challenge, that's a good start :P 2011-04-18T03:31:09 you learn a lot of stuff from participating in things like this 2011-04-18T03:31:28 *active interest 2011-04-18T03:31:42 I've honestly gained 90% of my programming experience in the last month 2011-04-18T03:31:55 are you in uni? 2011-04-18T03:32:00 younger 2011-04-18T03:32:07 I'm 17 2011-04-18T03:32:20 jaycobcoleman: you're doing fine 2011-04-18T03:32:23 ah, I had hardly programmed much at all before uni :) 2011-04-18T03:32:29 *** ltriant has quit IRC (Quit: Computer has gone to sleep) 2011-04-18T03:32:30 i had never written a program before i started uni 2011-04-18T03:32:32 just wrote some stuff for my TI-8s :P 2011-04-18T03:32:36 *TI-83 2011-04-18T03:32:42 and didn't do the top maths in college, or physics and chemistry 2011-04-18T03:32:44 haha I've done lots of that 2011-04-18T03:33:29 when you are in uni try to get as many internships as possible 2011-04-18T03:33:30 jaycobcoleman: do you know of projecteuler.net? 2011-04-18T03:33:39 yes indeed 2011-04-18T03:33:43 i've done no internships :P 2011-04-18T03:34:09 i've had an ra job for over 2 years though, and did a summer research thing 2011-04-18T03:34:10 I did one... wish I had done more 2011-04-18T03:34:16 i'm more on track for academia 2011-04-18T03:34:22 that's sort of the same 2011-04-18T03:34:23 yeah 2011-04-18T03:34:38 i have actually been working this year :P 2011-04-18T03:34:43 :) 2011-04-18T03:35:19 I got offered an internship with linden air cargo today, which I guess relates somehow to programming? I don't know 2011-04-18T03:35:28 did you mention the ai challenge when applying/interviewing? 2011-04-18T03:35:33 i listed it for gsoc :P 2011-04-18T03:35:48 *** mceier has joined #aichallenge 2011-04-18T03:35:49 I didn't actually apply 2011-04-18T03:35:56 so no 2011-04-18T03:36:02 i was talking to sigh :P 2011-04-18T03:36:15 There we go. Makes more sense 2011-04-18T03:36:17 antimatroid: I didn't list it on my resume... I mentioned it to some of the interviewers 2011-04-18T03:36:52 my projecteuler record is more noteworthy than my aichallenge record though :P 2011-04-18T03:37:00 did you mention that? 2011-04-18T03:37:02 i don't mention that 2011-04-18T03:37:08 although i've only done 50 something problems 2011-04-18T03:37:10 I mentioned that 2011-04-18T03:37:12 and haven't touched it in ages 2011-04-18T03:37:22 well, no one asked me how many problems I had done 2011-04-18T03:37:30 animatroid: Is project euler really worth looking into? Cause I just came across it somewhat recently and haven't really gone back to it 2011-04-18T03:38:03 jaycobcoleman: it's useful for learning a language, and picking up some skill with problems like that 2011-04-18T03:38:04 and a bit of fun 2011-04-18T03:38:11 jaycobcoleman: I would highly recommend it, especially if you want to explore the maths side more 2011-04-18T03:38:30 I do like me the maths side 2011-04-18T03:38:42 jaycobcoleman: if you are serious about cs and not just programming, i can't recommend doing a dual maths major enough :) 2011-04-18T03:39:14 and i'm not very knowledgeable about cs, but i sort of know about the different things :P 2011-04-18T03:39:55 in cs if you know the basic concepts it's much easier to pick up anything else 2011-04-18T03:40:15 i think that's the case for everything :P 2011-04-18T03:40:33 Well then, to problem number one it is 2011-04-18T03:40:51 antimatroid: yes and no 2011-04-18T03:40:51 what language do you use? 2011-04-18T03:41:12 antimatroid: for example in math, ever new subject redefines what is "basic" 2011-04-18T03:41:48 queue hitler topolgy video :P 2011-04-18T03:41:53 maybe, it's still good to know the basics 2011-04-18T03:42:02 i love that video 2011-04-18T03:42:05 what do you count as the basics for maths? 2011-04-18T03:42:27 depends on what areas of maths, is there another word that encompasses more? 2011-04-18T03:42:32 everything :P 2011-04-18T03:42:36 but you know what i mean 2011-04-18T03:42:53 that was my point, the basics covers too much :P 2011-04-18T03:42:58 for pure maths say, knowing about sets, relations, etc. is vital 2011-04-18T03:43:09 then you just keep building 2011-04-18T03:44:24 animatroid: Where you asking what language I use? 2011-04-18T03:44:56 he was 2011-04-18T03:45:12 mostly python 2011-04-18T03:45:16 and C++ 2011-04-18T03:45:21 I know you like that one 2011-04-18T03:47:42 anything but java and i wont hate on you too much :P 2011-04-18T03:48:15 imo c++ is better for maths, because if you define matrices you can overload operators on them 2011-04-18T03:48:17 I don't understand java worth crap 2011-04-18T03:49:07 Matrix A = 2*B*(C^4) is a lot better than 2011-04-18T03:49:07 Matrix A = smult(2, mult(B, pow(C, 4))) 2011-04-18T03:49:20 antimatroid: you can do that in python too 2011-04-18T03:49:24 ah, nevermind then 2011-04-18T03:49:46 infact, numpy already does that for you :P 2011-04-18T03:50:01 does it do tensors? 2011-04-18T03:50:06 I like numpy :) 2011-04-18T03:50:45 antimatroid: dunno, haven't worked with tensors 2011-04-18T03:50:55 i am tempted to do a second normal form game class with utilities represented as map 2011-04-18T03:51:04 it's slower, but way easier 2011-04-18T03:51:38 I'm using numpy to keep track of the soonest that an enemy ant can be on each square given the information I have 2011-04-18T03:52:02 jaycobcoleman: how are you doing that? 2011-04-18T03:53:46 everytime I get vision information from my ants I'll assign the value of the vision radius to the square I'm on and then a value one less for each square away from that point, then at the beginning of each turn I'll subtract one from the entire array 2011-04-18T03:54:36 a good way would be as follows: create a "time accessible map" set at -1, add all enemy locations to a queue noting the current distance for each location (currently 0) and set those locations as 0 in the accessible map, then while the queue isn't empty, for any adjacent square with accessible at -1, update that to the current squares value + 1, and add that information to the end of the queue 2011-04-18T03:55:11 then your accessible map will tell you the shortest turns in which an enemy can reach any square on the map 2011-04-18T03:55:34 you can do that from food squares to get closest ant to food, from all ants to partition the map into who can reach what first, etc. etc. 2011-04-18T03:56:05 Yes I'm planning on doing something similar 2011-04-18T03:56:12 I haven't worked out all the logistics 2011-04-18T03:57:51 But I plan to come up with several possible moves for each of my ants and evaluating the likelyhood of their success and then any conflict between two ants regarding movement onto a particular aquare will be resolved by the likelyhood of success 2011-04-18T03:57:58 *square 2011-04-18T03:58:21 yep, i'm planning to do that just for ants that may land in a battle 2011-04-18T03:58:24 and use a game tree for it 2011-04-18T03:58:40 i expect time to be tight 2011-04-18T03:59:01 I know an unfortunately small amount about game theory 2011-04-18T03:59:59 the basics are quite simple 2011-04-18T04:00:07 there's a bit of jargon one needs to get used to though 2011-04-18T04:00:11 also, I feel like time shouldn't be a concern in this contest, to a reasonable extent anyway. 2011-04-18T04:00:20 it will be 2011-04-18T04:00:27 and unfortunately it'll be necessary 2011-04-18T04:00:41 with a few thousand bots, we need quite a few games for decent rankings, and the contest can't run forever 2011-04-18T04:01:00 WE NEED MORE SERVERS!!! 2011-04-18T04:01:14 that requires moar money 2011-04-18T04:01:49 psh, It's sponsored by google 2011-04-18T04:02:06 they've got loads of money 2011-04-18T04:05:00 they have given a bit of money previously, and hopefully some this time 2011-04-18T04:05:15 but the names mostly there because it looks good for both parties 2011-04-18T04:05:34 Yeah I kinda figured that out by this point 2011-04-18T04:06:04 it would be silly to remove it unless google actually wanted us to / stopped giving permission 2011-04-18T04:07:53 the contest is still quite new, but it's grown well, there was ~800 bots for tron, then ~4700 for planet wars 2011-04-18T04:08:08 the contests before that were just for uwaterloo students 2011-04-18T04:08:21 rock, paper, scissors? 2011-04-18T04:08:21 amstan won the repeated rock paper scissors one 2011-04-18T04:08:31 repeated 2011-04-18T04:08:34 have you been here the while time? 2011-04-18T04:08:38 the bots would play a bunch of games against each other 2011-04-18T04:08:44 *whole 2011-04-18T04:08:46 i came in for tron 2011-04-18T04:08:56 waterloo is in canada, i'm in tasmania, australia :p 2011-04-18T04:09:12 *** amstan has quit IRC (Read error: Operation timed out) 2011-04-18T04:09:15 yes, of course 2011-04-18T04:11:41 *** FireFly has quit IRC (Quit: swatted to death) 2011-04-18T04:15:12 *** Naktibalda has joined #aichallenge 2011-04-18T04:36:19 animatroid: Thanks a lot, now instead of making my bot I'm busy finding palindromes :P 2011-04-18T04:40:04 *** antimatroid has quit IRC (Ping timeout: 252 seconds) 2011-04-18T04:42:50 *** antimatroid has joined #aichallenge 2011-04-18T04:45:15 *** chris__0076 has joined #aichallenge 2011-04-18T04:47:01 *** Chris_0076 has quit IRC (Ping timeout: 240 seconds) 2011-04-18T04:47:18 *** antimatroid has quit IRC (Ping timeout: 252 seconds) 2011-04-18T04:48:24 *** antimatroid has joined #aichallenge 2011-04-18T05:13:36 *** woudshoo has joined #aichallenge 2011-04-18T05:33:26 *** jaycobcoleman has quit IRC (Ping timeout: 252 seconds) 2011-04-18T05:47:35 *** berak has joined #aichallenge 2011-04-18T05:53:10 *** needsch has joined #aichallenge 2011-04-18T05:59:20 *** smiley1983 has joined #aichallenge 2011-04-18T06:13:15 smiley1983: did anyone ever respond about putting the OCaml bot up? 2011-04-18T06:13:34 if the actual functionality is solid i'd say put it up 2011-04-18T06:18:19 sigh: oh yeah 2011-04-18T06:18:30 bhasker found a possible bug with ant spawning 2011-04-18T06:18:40 what was that? 2011-04-18T06:18:41 something about ...a*a... not spawning an ant 2011-04-18T06:18:56 i haven't got around to testing that myself yet 2011-04-18T06:19:28 if you can make a repeatable test case, I'll have a look at it 2011-04-18T06:19:46 i'll have a look in a bit 2011-04-18T06:50:50 *** delt0r_ has joined #aichallenge 2011-04-18T06:52:12 *** delt0r___ has quit IRC (Ping timeout: 246 seconds) 2011-04-18T06:52:26 *** sigh has quit IRC (Ping timeout: 240 seconds) 2011-04-18T07:01:32 antimatroid: no, but unless someone's in a hurry to get their hands on the code, I'll probably finish it first. I've got the git repository cloned, but I haven't done the research into how to make a pull request yet. 2011-04-18T07:01:50 yep, there's definitely no rush 2011-04-18T07:02:01 ps bring it on for first in aus again :P 2011-04-18T07:02:23 The basic functionality is (I believe) solid, though. 2011-04-18T07:02:43 Congratulations on being first last time, and by such a large margin. :) 2011-04-18T07:02:43 i take it you're planning to participate? 2011-04-18T07:02:49 Yes. 2011-04-18T07:02:53 you were worrying me towards the end 2011-04-18T07:02:58 it wasn't clear to me who was best on tcp 2011-04-18T07:03:02 (i didn't use antimatroid on tcp) 2011-04-18T07:03:23 but thanks :) 2011-04-18T07:03:33 Ha. I found it difficult to judge much from the TCP games because the pool of regular opponents was so small 2011-04-18T07:03:49 still better than testing on the main site 2011-04-18T07:03:57 i didn't even bother with a bot on there for the last month 2011-04-18T07:03:59 Oh yes, it was a great blessing 2011-04-18T07:04:20 That'll be why I didn't notice you among the top ranks until the very end. :) 2011-04-18T07:04:37 yep, i'm tempted to do the same again 2011-04-18T07:04:42 it's nice jumping in at the end 2011-04-18T07:05:15 Can anyone tell me, for the starter pack: should the distance function return the number of steps an ant has to take, or the LOS distance? 2011-04-18T07:05:18 the plan is to make tcp more official this time, so hopefully we can get more people testing on there 2011-04-18T07:05:28 LOS? 2011-04-18T07:05:30 That would be great. 2011-04-18T07:05:33 Line of Sight 2011-04-18T07:05:36 distance is the euclidean distance with edges wrapped 2011-04-18T07:05:41 check the specs page 2011-04-18T07:06:11 https://github.com/aichallenge/aichallenge/wiki/Ants-Game-Specification 2011-04-18T07:06:47 all distances are using that metric 2011-04-18T07:07:13 which is unfortunately tricky to work with when you do vision calculations, be really careful there 2011-04-18T07:07:39 ight. I think the python starter bot might be returning number of steps 2011-04-18T07:07:47 if you do a simple bfs from all ants simultaneously it doesn't always work properly, you miss some 2011-04-18T07:07:54 have you looked at my c++ bot? 2011-04-18T07:08:02 that's pretty solid, and reasonably well laid out 2011-04-18T07:08:42 I haven't - is it the c++ starter bot or available elsewhere? 2011-04-18T07:09:27 the c++ starter bot 2011-04-18T07:09:27 also - bfs? 2011-04-18T07:09:33 breadth first search 2011-04-18T07:09:45 basically, add all ants locations to a queue, then keep "painting outwards" 2011-04-18T07:10:29 it's nice for doing stuff like partitioning the squares into which player can reach them first, or finding which ant is closest to a food square etc. 2011-04-18T07:11:54 Yes. I'm looking at the c++ code now - I had used the Python one for reference because Python is readable, but I've noticed some incompletenesses. I'll use yours for reference from now, thankyou for pointing me to it 2011-04-18T07:14:32 antimatroid did you test my case? 2011-04-18T07:14:57 bhasker: not yet sorry, got a few other things to do 2011-04-18T07:15:09 kk 2011-04-18T07:16:34 i implemented a basic BFS search to find closest ant 2011-04-18T07:16:38 and extract the path 2011-04-18T07:16:47 to issue orders 2011-04-18T07:16:49 but... 2011-04-18T07:17:03 that bug is stopping my bot from going very far:p 2011-04-18T07:18:39 strange, i ran games which flooded the map and never noticed anything like that 2011-04-18T07:20:12 i can send you a text copy of the map state if you want 2011-04-18T07:20:16 or a replay 2011-04-18T07:22:32 do it to sigh 2011-04-18T07:22:38 but he's not here 2011-04-18T07:22:49 was just reading the logs he is close to where i am 2011-04-18T07:22:52 now that he works at google 2011-04-18T07:23:03 except he's in sydney :P 2011-04-18T07:23:07 oooh 2011-04-18T07:23:08 doh 2011-04-18T07:23:18 i thought he joined the US office 2011-04-18T07:23:24 nup 2011-04-18T07:23:56 smiley1983: what state are you in? 2011-04-18T07:27:42 *** sigh has joined #aichallenge 2011-04-18T07:28:16 there you go 2011-04-18T07:29:50 I'm in Sydney too 2011-04-18T07:30:27 meh, tassie is better :P 2011-04-18T07:31:24 Yes, I would consider living there if I wasn't set up here 2011-04-18T07:31:47 i'll probably have to move at the end of this year 2011-04-18T07:31:53 but i always see myself ending up back here 2011-04-18T07:32:23 Do you like bushwalking? 2011-04-18T07:32:39 yeah and camping 2011-04-18T07:32:46 particularly camping and drinking 2011-04-18T07:33:05 Definitely a great place yo live then 2011-04-18T07:33:40 my only complaint is nothing in the way of snowboarding/skiing 2011-04-18T07:33:53 i've always wanted to, but only ever snowboared for one day 2011-04-18T07:34:52 Ah. I've been assured it's fun, but it just doesn't appeal to me for some reason. 2011-04-18T07:35:34 i used to skate a fair bit, so it's always seemed like it'd be even better 2011-04-18T07:35:50 *** berak has quit IRC (Quit: ChatZilla 0.9.84 [SeaMonkey 2.0a3/20090223135443]) 2011-04-18T07:36:40 Requires more equipment, and big hills covered in snow, though 2011-04-18T07:37:07 yeah that's fine 2011-04-18T07:37:19 i'm tempted to move somewhere that's it's easily accessible 2011-04-18T07:37:47 Yes, it makes a great deal of sense in snowy places :) 2011-04-18T07:38:38 Do you have any idea of the expected duration of this contest? 2011-04-18T07:38:54 the number i proposed was 2 months 2011-04-18T07:39:03 because tron was too short and planet wars too long 2011-04-18T07:39:14 but there's going to be a beta period for like 2 weeks as well, for ironing stuff out 2011-04-18T07:39:36 although i'm tempted to change my opinion back to 3 months 2011-04-18T07:39:44 so people who come in have plenty of time 2011-04-18T07:41:21 Right. I was thinking it might be good to update the front page so casual visitors know something is happening without checking the forums 2011-04-18T07:42:04 I checked in sometime in March but didn't look at the forums, and thought nothing was happening yet. 2011-04-18T07:42:16 hmmm maybe 2011-04-18T07:42:21 I only checked the forums a few days ago and found that the next game had been determined 2011-04-18T07:42:22 i'll mention that to amstan 2011-04-18T07:42:35 yeah, we've been working for ages 2011-04-18T07:42:50 have you taken a look at the symmetric maps? 2011-04-18T07:43:00 you can turn symmetric food spawning on too 2011-04-18T07:43:32 Yes, the test map I've been using is symmetric 2011-04-18T07:43:43 I haven't fiddled with any options, though 2011-04-18T07:44:32 --food symmetric 2011-04-18T07:44:41 add that to your play_one_game script to do symmetric food 2011-04-18T07:44:52 feel free to make another map generator, we want lots of variety 2011-04-18T07:45:28 Right. I'll be looking at other things to develop once I'm happy (enough) with my starter pack. :) 2011-04-18T07:47:15 are you watching games with the viewer or visualiser? 2011-04-18T07:47:21 the visualiser is far superior 2011-04-18T07:47:48 Visualiser - I hadn't noticed the viewer 2011-04-18T07:48:03 cool, ignore what i said 2011-04-18T07:48:56 So far there isn't anything to watch, though, except to confirm that it's making the correct starter bot moves. 2011-04-18T07:49:25 yeah okay 2011-04-18T07:49:34 i've played around with food collection, which is fun to watch 2011-04-18T07:49:54 antimatroid another bug in the c++ starter bot 2011-04-18T07:50:00 it doesn't clear out old food in the grid 2011-04-18T07:50:00 :( 2011-04-18T07:50:07 ah my bad 2011-04-18T07:50:14 so if the food is now an ant 2011-04-18T07:50:20 it still shows up as a food etc 2011-04-18T07:50:32 so probably in the loop which reads in the state 2011-04-18T07:50:36 you need to validate all the food 2011-04-18T07:50:37 yes it does 2011-04-18T07:50:45 well, it should :\ 2011-04-18T07:50:55 clear() in square.h has isFood = 0 2011-04-18T07:51:07 it won't right since food information is sent only once when its seen first time? 2011-04-18T07:51:11 and you have this in your loop 2011-04-18T07:51:22 for(int row=0; row for(int col=0; col if(!grid[row][col].isFood) 2011-04-18T07:51:23 grid[row][col].reset(); 2011-04-18T07:51:29 so it doesn't reset Food Squares 2011-04-18T07:51:37 oh, that should be isWater 2011-04-18T07:51:38 cheers 2011-04-18T07:51:53 will food information be sent every turn? 2011-04-18T07:51:59 all visible food? 2011-04-18T07:52:02 if it's visible 2011-04-18T07:52:04 ah 2011-04-18T07:52:28 but if you go out of range of food while it's there, you're only implicitly told it's not there anymore when you come back in range by not being told it's there 2011-04-18T07:52:31 water squares arent sent right 2011-04-18T07:52:38 i really don't like that, but i didn't win that battle 2011-04-18T07:52:49 water square information is sent once per bot 2011-04-18T07:52:56 doh fixing that makes my bot behave better 2011-04-18T07:52:57 lol 2011-04-18T07:53:02 that was throwing my bot off 2011-04-18T07:53:06 my ants will step on each other 2011-04-18T07:53:11 and die 2011-04-18T07:53:41 That reminds me - is it okay for a starter pack to track the turn on which each tile was last seen (for the Visible function) or should it clear this info between turns? It's obviously useful to keep it, but not specified in the starter pack guide. 2011-04-18T07:55:54 aichallenge: Nick Ham epsilon * rad32822 / ants/dist/starter_bots/cpp/State.cc : fixed a food information bug - http://bit.ly/fBTQkW 2011-04-18T07:56:30 there we go :) 2011-04-18T07:56:56 smiley1983: i think i am? 2011-04-18T07:57:07 :) Right. 2011-04-18T07:57:15 hah BFS doesn't scale so well once the search space increases:-\ 2011-04-18T07:57:22 Found food: 105,62 2011-04-18T07:57:22 Issuing order : 102,43,E 2011-04-18T07:57:22 time taken: 806.759ms 2011-04-18T07:57:24 :-\ 2011-04-18T07:57:42 bhasker: i can do my food collection in under 200ms most of the time 2011-04-18T07:57:59 well each ant is finding in under 10-15 ms 2011-04-18T07:58:12 i am searching from all food squares simultaneously on each iteration 2011-04-18T07:58:22 ah i am doing reverse 2011-04-18T07:58:27 i thought of that 2011-04-18T07:58:27 moving the ant that can reach one first, including an ant that's already been moved 2011-04-18T07:58:48 but i am doing a search around each ant 2011-04-18T07:58:53 to closest food 2011-04-18T07:58:56 then guiding the ant 2011-04-18T07:59:02 expensive :P 2011-04-18T07:59:08 yes 2011-04-18T07:59:17 i can run mine on 100x100 maps with like 90% starting food 2011-04-18T07:59:36 thats why i will probably replace BFS with an a* to guide the search 2011-04-18T07:59:38 bashker: Do you stop searching as soon as all food is asigned an ant? 2011-04-18T07:59:51 i stop scanning the moment it finds an available free food 2011-04-18T07:59:59 a* doesn't help if you don't have a target when you start searching 2011-04-18T08:00:16 are you searching from all ants at the same time? or each ant individually? 2011-04-18T08:00:19 that is easy 2011-04-18T08:00:24 each ant right now 2011-04-18T08:00:40 getting target is easy 2011-04-18T08:00:49 just find in a circle around the ant food that is not tracked 2011-04-18T08:00:51 by another ant 2011-04-18T08:00:55 then path to that 2011-04-18T08:00:58 using a* 2011-04-18T08:01:09 i can't imagine that being better 2011-04-18T08:01:27 a* reduces the node exploration by a lot 2011-04-18T08:01:44 though the problem is this map wraps around 2011-04-18T08:01:50 so guiding the search is a little problem 2011-04-18T08:02:00 it doesn't complicate it much 2011-04-18T08:02:10 no more than to calculate distances 2011-04-18T08:03:47 http://theory.stanford.edu/~amitp/GameProgramming/MapRepresentations.html#S15 2011-04-18T08:04:01 thats my reference page for all pathfinding related stuff 2011-04-18T08:04:20 that's silly 2011-04-18T08:04:27 you use the same a* algorithm 2011-04-18T08:04:37 with the same rule, just using the new distance metric 2011-04-18T08:08:18 algorithm/heuristic 2011-04-18T08:17:25 k clearly a bug in my code 2011-04-18T08:17:39 Ant at: 104,43 2011-04-18T08:17:39 Found food: 86,48 2011-04-18T08:17:40 numNodesExplored2971816 2011-04-18T08:17:46 couldn't have explored 2971816 nodes 2011-04-18T08:17:50 lol 2011-04-18T08:17:53 in a 108x84 map 2011-04-18T08:18:02 no wonder it took 800ms 2011-04-18T08:20:28 *** ginDeVine has joined #aichallenge 2011-04-18T08:26:44 Is there a list over which languages that have starter packages? 2011-04-18T08:26:59 what language do you want? 2011-04-18T08:27:32 Just curious mostly. 2011-04-18T08:28:07 I was looking for a JavaScript one, but as I didn't find any, I made my own a few days ago.. 2011-04-18T08:28:08 https://github.com/aichallenge/aichallenge/tree/epsilon/ants/dist/starter_bots 2011-04-18T08:28:43 Thanks :D 2011-04-18T08:31:34 bhasker: I was getting worried (for my own prospects) when you were talking about 800ms to find food, I'm glad to hear it was (probably) a bug. 2011-04-18T08:32:04 smiley1983: it takes me more than 200ms with lots of food 2011-04-18T08:33:09 Which does make sense - even that is a little worrying, since we'll want to do a bit of other processing on top of that, but at least it leaves 4/5 of your allocation untouched. 2011-04-18T08:33:24 yea it was a bug 2011-04-18T08:33:31 not very promising when i want to use a game tree for battle ants 2011-04-18T08:33:43 well, multiple game trees 2011-04-18T08:33:44 now each BFS search is taking only 2ms or so 2011-04-18T08:34:08 i've had games with more than 1000 ants :P 2011-04-18T08:34:24 Yes, I had game tree plans, and sort of still do... I'm just a bit doubtful about how much use they'll see. :) 2011-04-18T08:37:48 *** UncleVasya has joined #aichallenge 2011-04-18T08:38:46 *** Eruonen has joined #aichallenge 2011-04-18T09:03:51 *** sigh has quit IRC (Remote host closed the connection) 2011-04-18T09:06:50 *** kaemo has quit IRC (Ping timeout: 258 seconds) 2011-04-18T09:25:15 k got it working now 2011-04-18T09:37:39 66ms to route over 125 ants 2011-04-18T09:37:42 so not bad 2011-04-18T09:38:53 Sounds pretty good really. Should cope with the 1000+ ants scenario (if it happens in contest games) 2011-04-18T09:39:25 If its a linear increase in time, which I guess it might not be 2011-04-18T09:39:57 well it will be a linear increase kind of 2011-04-18T09:40:01 since i am doing per ant 2011-04-18T09:40:19 but i guess i will add some customization to spread it over a few turns 2011-04-18T09:40:30 Is this matching against the food list, or matching against the map tile by tile? 2011-04-18T09:40:33 so that at any point i don't move than X number of hosts 2011-04-18T09:40:42 it explores the map 2011-04-18T09:40:50 starts at ant location and explores outwards 2011-04-18T09:40:58 towards the closest food/ant 2011-04-18T09:41:57 then i just extract the path and make the first move 2011-04-18T09:42:38 Right, so it's pathfinding, not just matching ants against closest food. 2011-04-18T09:42:50 yes it does do a bit of pathfinding 2011-04-18T09:43:03 it will route around my ants 2011-04-18T09:43:14 i don't explore nodes which have my ants 2011-04-18T09:43:25 so that i don't end up stomping my own ants 2011-04-18T09:44:14 Though I've noticed that you can move an ant into a tile in the same turn as moving another out - even having two ants swap places. So you may sometimes want to route through your current ant locations 2011-04-18T09:44:29 replaying http://pastebin.com/QM7LSe9b 2011-04-18T09:45:02 i could but that complicates stuff, since now i have to special case the first search to be not via my own ant 2011-04-18T09:45:22 i guess not routing via my ant might have other issues 2011-04-18T09:45:28 where corridors are narrow 2011-04-18T09:45:53 ants may end up going all around instead of following ants 2011-04-18T09:46:07 This contest will pose many interesting challenges :) 2011-04-18T09:46:57 yea it will i want to see the strategies evolve 2011-04-18T09:47:11 it will be a big learning curve similar to planetwars 2011-04-18T09:47:19 initially we will see a bunch of strategies 2011-04-18T09:47:25 then it will refine down to a few 2011-04-18T09:47:28 as time goes on 2011-04-18T09:50:17 Thanks for the replay, I haven't seen many yet 2011-04-18T09:58:45 you are welcome, though i am seeing weird stuff, looks like a lot of the game will be determined by who your neighbour is 2011-04-18T09:58:57 i played a game with hunterbot/lefty/hunter/mybot 2011-04-18T09:59:02 and lefty got eliminated 2011-04-18T09:59:06 and player 1 is now 2x my size 2011-04-18T09:59:15 turn 500 2011-04-18T09:59:16 turn 500 stats: ant_count: [565, 0, 150, 244] 2011-04-18T09:59:16 s 2011-04-18T09:59:29 i am guessing because mybot spent most time fighting with player 3 2011-04-18T10:00:55 interesting my bot blocked itself:-\ 2011-04-18T10:01:38 here's another replay http://pastebin.com/MxuRYr2H 2011-04-18T10:03:40 *** ginDeVine has quit IRC (Quit: ginDeVine) 2011-04-18T10:15:08 *** Eruonen has quit IRC (Ping timeout: 260 seconds) 2011-04-18T10:15:34 *** Eruonen has joined #aichallenge 2011-04-18T10:21:40 *** Stocha has joined #aichallenge 2011-04-18T10:22:35 Fighting will most certainly be far more complicated that food gathering. Food doesn't try to move simultaneously while trying to make your life as hard as possible. 2011-04-18T10:23:37 though i wish they would let ants stack 2011-04-18T10:23:37 instead of killing the ant if you move onto another of your ants 2011-04-18T10:27:36 *** contestbot_ has joined #aichallenge 2011-04-18T10:27:36 *** contestbot has quit IRC (Disconnected by services) 2011-04-18T10:28:56 *** contestbot_ is now known as contestbot 2011-04-18T10:28:56 *** ChanServ sets mode: +o contestbot 2011-04-18T10:28:58 *** bhasker has quit IRC (Read error: Connection reset by peer) 2011-04-18T10:31:36 *** antimatroid has quit IRC (Ping timeout: 276 seconds) 2011-04-18T10:37:50 *** contestbot_ has joined #aichallenge 2011-04-18T10:37:50 *** contestbot has quit IRC (Disconnected by services) 2011-04-18T10:40:08 *** contestbot_ is now known as contestbot 2011-04-18T10:40:09 *** ChanServ sets mode: +o contestbot 2011-04-18T10:45:00 *** ginDeVine has joined #aichallenge 2011-04-18T10:45:20 *** Eruonen has quit IRC (Ping timeout: 252 seconds) 2011-04-18T10:56:26 *** contestbot_ has joined #aichallenge 2011-04-18T10:56:26 *** contestbot has quit IRC (Disconnected by services) 2011-04-18T10:58:20 *** contestbot_ is now known as contestbot 2011-04-18T10:58:21 *** ChanServ sets mode: +o contestbot 2011-04-18T11:14:41 *** woudshoo has quit IRC (Ping timeout: 276 seconds) 2011-04-18T11:14:42 *** |UncleVasya| <|UncleVasya|!kvirc@46.133.235.66> has joined #aichallenge 2011-04-18T11:17:52 *** UncleVasya has quit IRC (Ping timeout: 260 seconds) 2011-04-18T11:25:06 *** Kingpin13 has joined #aichallenge 2011-04-18T11:35:45 *** Stocha has quit IRC (Ping timeout: 252 seconds) 2011-04-18T11:46:45 *** Ice_Harley has quit IRC (Ping timeout: 251 seconds) 2011-04-18T11:47:14 *** skynetz has joined #aichallenge 2011-04-18T11:58:58 *** needsch has quit IRC (Ping timeout: 248 seconds) 2011-04-18T12:03:36 *** needsch has joined #aichallenge 2011-04-18T12:06:29 *** superflit has joined #aichallenge 2011-04-18T12:11:36 Does anyone know how the passable function is supposed to work for the starter bots? 2011-04-18T12:11:48 Should it take account of orders already issued that turn? 2011-04-18T12:11:58 Or just exclude water and food tiles? 2011-04-18T12:12:12 second 2011-04-18T12:12:46 So only exclude water and food - nothing else? Ignore presence of ants as well? 2011-04-18T12:12:47 3. Don't attempt to avoid collision with ants. 2011-04-18T12:12:54 Right 2011-04-18T12:12:56 Thankyou 2011-04-18T12:13:52 *** |UncleVasya| <|UncleVasya|!kvirc@46.133.235.66> has quit IRC (Ping timeout: 260 seconds) 2011-04-18T12:14:09 Ah, sorry, I didn't actually mean starter bot. That's just supposed to avoid water, not even food. However, they suggest a "passable" helper function 2011-04-18T12:14:35 I'm guessing the passable function should avoid food, unlike the starter bot logic. 2011-04-18T12:24:17 *** superflit has quit IRC (Quit: superflit) 2011-04-18T12:30:41 there's also the unoccupied func 2011-04-18T12:44:04 *** kaemo has joined #aichallenge 2011-04-18T12:45:02 *** antimatroid has joined #aichallenge 2011-04-18T12:59:02 *** Naktibalda has quit IRC (Quit: ChatZilla 0.9.86.1 [Firefox 4.0/20110318052756]) 2011-04-18T13:19:33 *** amstan has joined #aichallenge 2011-04-18T13:19:34 *** ChanServ sets mode: +o amstan 2011-04-18T13:26:50 *** McLeopold has left #aichallenge 2011-04-18T13:28:20 *** kakwa__ has quit IRC (Ping timeout: 252 seconds) 2011-04-18T13:33:13 *** FireFly has joined #aichallenge 2011-04-18T13:34:13 later tell mcleopold Can you review sigh's seq branch, then merge it? 2011-04-18T13:41:06 *** smiley1983 has quit IRC (Quit: leaving) 2011-04-18T13:58:12 *** Eruonen has joined #aichallenge 2011-04-18T13:59:51 *** bhasker has joined #aichallenge 2011-04-18T14:06:16 *** bhasker has quit IRC (Ping timeout: 264 seconds) 2011-04-18T14:12:51 *** bhasker has joined #aichallenge 2011-04-18T14:18:58 *** ginDeVine has quit IRC (Quit: ginDeVine) 2011-04-18T14:26:39 *** Naktibalda has joined #aichallenge 2011-04-18T14:29:16 *** needsch has quit IRC (Quit: Leaving.) 2011-04-18T14:45:05 *** andy_ has joined #aichallenge 2011-04-18T14:50:54 *** delt0r___ has joined #aichallenge 2011-04-18T14:52:07 *** delt0r_ has quit IRC (Ping timeout: 246 seconds) 2011-04-18T14:54:36 *** Ice_Harley has joined #aichallenge 2011-04-18T15:02:40 *** FireFly has quit IRC (Ping timeout: 264 seconds) 2011-04-18T15:10:27 *** FireFly has joined #aichallenge 2011-04-18T15:13:32 *** FireFly has quit IRC (Read error: Connection reset by peer) 2011-04-18T15:13:44 *** FireFly has joined #aichallenge 2011-04-18T15:23:23 *** McLeopold has joined #aichallenge 2011-04-18T15:31:06 *** Ice_Harley has quit IRC (Quit: Page closed) 2011-04-18T15:32:41 *** needsch has joined #aichallenge 2011-04-18T15:33:52 *** kaemo has quit IRC (Ping timeout: 240 seconds) 2011-04-18T15:46:59 *** Accoun has quit IRC () 2011-04-18T16:03:14 *** Accoun has joined #aichallenge 2011-04-18T16:04:49 *** kaemo has joined #aichallenge 2011-04-18T16:05:41 *** antimatroid has quit IRC (Ping timeout: 264 seconds) 2011-04-18T16:34:12 anyone interested in watching a replay of my latest iteration , smarter about how it hunts food 2011-04-18T16:45:27 *** chris__0076 is now known as chris_0076 2011-04-18T16:56:20 woohoo my bot eliminates all other bots on this map now in 243 turns 2011-04-18T16:59:34 *** jaycobcoleman has joined #aichallenge 2011-04-18T16:59:50 for anyone who is interested http://pastebin.com/0rWBtKKF 2011-04-18T17:00:29 *** Mathnerd314 has joined #aichallenge 2011-04-18T17:02:12 bhasker: Sorry I missed this, but I imagine this is replay data from your own bot that you're sharing? 2011-04-18T17:02:16 *** Naktibalda has quit IRC (Quit: ChatZilla 0.9.86.1 [Firefox 3.6.16/20110323143040]) 2011-04-18T17:15:16 bhasker, cool 2011-04-18T17:20:26 yup 2011-04-18T17:20:38 against hunterbot and lefty so not any good opponents 2011-04-18T17:20:43 though fun to watch 2011-04-18T17:27:19 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has joined #aichallenge 2011-04-18T17:27:24 can I see the replay online or do I have to download the code? 2011-04-18T17:38:08 you have to download the code 2011-04-18T17:38:20 the viewer is local i think there is a hosted viewer as well 2011-04-18T17:38:42 *** a1k0n has joined #aichallenge 2011-04-18T17:45:25 hi. 2011-04-18T17:48:00 yo 2011-04-18T17:49:40 *** sigh has joined #aichallenge 2011-04-18T17:52:08 @sigh 2011-04-18T17:52:08 i know... 2011-04-18T17:53:44 bhasker? 2011-04-18T17:53:54 were you able to reproduce the issue i noticed yesterday 2011-04-18T17:53:58 the ant spawning issue 2011-04-18T17:54:24 though i can't seem to reproduce it now:-\ with my newer bots 2011-04-18T17:54:33 i wonder if it was just something wrong my bot was doing 2011-04-18T17:54:43 *** ltriant has joined #aichallenge 2011-04-18T17:54:58 no one pointed me to a good description of the problem :P 2011-04-18T17:55:07 I was just told there was one :) 2011-04-18T17:55:41 "players": ["amstan", "a1k0n", "mega1"], 2011-04-18T17:55:44 well shit, now i feel obligated 2011-04-18T17:55:54 :P 2011-04-18T17:55:55 lol 2011-04-18T17:56:50 i just noticed that when my ants got into a configuration like ...a*a... 2011-04-18T17:56:55 for some reason no ant was spawning 2011-04-18T17:57:06 but not sure if it was some other bug that i wasn't logging 2011-04-18T17:57:07 did the food disappear? 2011-04-18T17:57:11 nope 2011-04-18T17:57:28 oh wait hmm it might have been the bug in the c++ starter bot that i discovered later 2011-04-18T17:57:35 heh 2011-04-18T17:57:44 what bug is that? 2011-04-18T17:57:44 the reset code was not resetting the squares properly 2011-04-18T17:57:52 i told antimatroid already 2011-04-18T17:57:56 let me pull up the code 2011-04-18T17:57:57 ah, yeah... that would explain it :) 2011-04-18T17:58:18 for(int row=0; row for(int col=0; col if(!grid[row][col].isWater) 2011-04-18T17:58:19 grid[row][col].reset(); 2011-04-18T17:58:20 this code 2011-04-18T17:58:23 the isWater check 2011-04-18T17:58:28 is actually listed as isFood check 2011-04-18T17:58:33 in the State::reset() 2011-04-18T17:58:35 check 2011-04-18T17:58:50 so it won't reset for food squares 2011-04-18T17:58:50 haha 2011-04-18T17:58:51 btw, I believe antimatroid checked in the fix for that earlier 2011-04-18T17:59:08 took me sometime to track that down, my bots would keep walking into each other 2011-04-18T17:59:13 and dying near food 2011-04-18T17:59:46 bhasker: if you notice any problems like that again, just verify with the replay what is actually happening 2011-04-18T18:00:23 will do , though i haven't seen it since and my elementary bot seems reasonably good now 2011-04-18T18:00:33 cool 2011-04-18T18:00:35 seems to expand quite nicely 2011-04-18T18:00:41 and doesn't oscillate or get stuck 2011-04-18T18:01:13 and i seem to be able to pathfind for a few hundred ants without significant slowdown 2011-04-18T18:01:14 so ants can spawn on water? 2011-04-18T18:01:19 no they can't 2011-04-18T18:01:23 neither can food 2011-04-18T18:01:46 oh. right. heh. this is confusing: 2011-04-18T18:01:47 Only movement is blocked by water. Ants can see, battle and spawn over water. 2011-04-18T18:02:00 meaning they can access food through water 2011-04-18T18:02:01 haha i pointed this out yesterday as well 2011-04-18T18:02:08 its meant to be across 2011-04-18T18:02:11 yeah 2011-04-18T18:02:15 i think antimatroid is gonna fix that 2011-04-18T18:02:48 *** brainiack has joined #aichallenge 2011-04-18T18:05:36 http://pastebin.com/0LgnWjmg 2011-04-18T18:05:38 march of the ants 2011-04-18T18:07:19 looks like it would be good if someone set up a visualizer pastebin soon :) 2011-04-18T18:07:37 heh i could set up the visualizer on my website let me do that 2011-04-18T18:07:38 hold on 2011-04-18T18:09:41 http://bhasker.net/ants/copy_paste.html 2011-04-18T18:09:43 done 2011-04-18T18:10:32 holy crap that's cool 2011-04-18T18:11:23 nice 2011-04-18T18:12:19 i just hope there are no exploitable bugs in the applet code 2011-04-18T18:12:20 *** skynetz has quit IRC (Quit: .) 2011-04-18T18:12:30 i don't want someone nuking my website 2011-04-18T18:13:05 who wrote that visualizer? 2011-04-18T18:13:10 Frontier 2011-04-18T18:13:10 hmm i forget 2011-04-18T18:13:11 a1k0n: Frontier 2011-04-18T18:13:22 very nice 2011-04-18T18:13:39 *** andy_ has quit IRC (Ping timeout: 252 seconds) 2011-04-18T18:13:56 yea its a pretty sweet visualizer 2011-04-18T18:14:11 k now back to drawing board on strategies now that basics are working 2011-04-18T18:21:13 *** Kingpin13 has quit IRC (Quit: You're a kitty!) 2011-04-18T18:22:26 5 copies of my bot playing each other http://pastebin.com/wwQdv7hH 2011-04-18T18:24:58 beautiful 2011-04-18T18:28:28 i can see myself spending a lot of time fine tuning strategies 2011-04-18T18:28:36 this would be an interesting contest 2011-04-18T18:30:42 *** sigh has quit IRC (Remote host closed the connection) 2011-04-18T18:32:25 are you not competing? 2011-04-18T18:32:49 i am 2011-04-18T18:34:25 *** dlila has joined #aichallenge 2011-04-18T18:38:20 *** antimatroid has joined #aichallenge 2011-04-18T19:08:36 Does anyone know if the current python starter_bot vision code is working now? 2011-04-18T19:19:41 *** needsch has quit IRC (Quit: Leaving.) 2011-04-18T19:55:21 *** antimatroid has quit IRC (Quit: Leaving.) 2011-04-18T19:55:32 *** kaemo has quit IRC (Ping timeout: 258 seconds) 2011-04-18T19:55:34 *** antimatroid has joined #aichallenge 2011-04-18T20:01:07 I did just say something bad to someone. 2011-04-18T20:03:51 There is a pub I visit regularly and the owner was asking the staff if they know me (because I was the last non-staff guy hanging around). Of course I'm drunk and think *wtf* he has seen me so often here and say "The reason you don't know me is because you are always drunk." Man was he pissed off. 2011-04-18T20:07:22 bhasker: I made sure the applet runs without a certificate. That means it has no write access to any files and can not execute code on your server. Unless there is a security hole in the JVM. 2011-04-18T20:08:40 Why is the applet running on the server instead of the client? 2011-04-18T20:08:54 It runs on the client of course :p 2011-04-18T20:09:09 So then why would it ever be able to execute code on the server? 2011-04-18T20:09:38 Maybe trough some applet function (that doesn't exist) 2011-04-18T20:09:53 Any such function would be accessible with or without the applet. 2011-04-18T20:10:04 (By writing my own client for whatever interface it exposes.) 2011-04-18T20:10:29 But whatever…we agree there is zero threat. 2011-04-18T20:11:00 Seems like this is one of those days where I don't think enough before talking. ;) 2011-04-18T20:11:31 I was confused even by the original question. But I have been known to be temporarily stupid as well, so…meh. 2011-04-18T20:13:24 If I created a certified applet it would be able to do all kinds of things on the clients machine, but it really isn't neccesary here. 2011-04-18T20:13:59 It means no fullscreen mode though for IE users. 2011-04-18T20:14:10 Let them press F11. 2011-04-18T20:15:28 The applet will keep it's size on the web page 2011-04-18T20:16:00 Can you resize applets at runtime from JS? 2011-04-18T20:16:14 Ah, whatever. Doesn't really matter. 2011-04-18T20:16:19 IE users are, well, IE users. 2011-04-18T20:16:33 It is a bit tricky to make it the only element on the page without reloading it and resizing is a bit non-standard ^^ 2011-04-18T20:16:33 Wonder what proportion of people last time around used IE? 2011-04-18T20:16:54 I'd expect ai-contest.com's IE share to be significantly lower than the average. 2011-04-18T20:16:56 I don't know, but IE 9 will support the canvas as far as I heard 2011-04-18T20:17:25 Ask janzert or amstan, they have access to the latest browser stats. 2011-04-18T20:18:32 *** jaycobcoleman has quit IRC (Quit: Page closed) 2011-04-18T20:19:51 Last time there was an increase of visits with IE. 10% may be a good estimate. 2011-04-18T20:35:57 *** McLeopold has quit IRC (Ping timeout: 240 seconds) 2011-04-18T20:45:50 *** FireFly has quit IRC (Quit: swatted to death) 2011-04-18T20:51:01 *** b33tr00t has joined #aichallenge 2011-04-18T20:56:18 *** b33tr00t has quit IRC (Quit: quiting) 2011-04-18T20:59:52 *** mceier has quit IRC (Quit: leaving) 2011-04-18T21:33:02 *** jaycobcoleman has joined #aichallenge 2011-04-18T21:54:17 *** jmpespxoreax has joined #aichallenge 2011-04-18T21:54:35 *** Frontier has quit IRC (Quit: Leaving.) 2011-04-18T22:02:09 *** dlila has quit IRC (Quit: Leaving) 2011-04-18T22:20:12 *** Eruonen has quit IRC (Ping timeout: 276 seconds) 2011-04-18T22:22:02 *** computerwiz_222 has left #aichallenge 2011-04-18T22:23:21 *** antimatroid has quit IRC (Ping timeout: 240 seconds) 2011-04-18T22:31:23 *** j3camero has joined #aichallenge 2011-04-18T22:31:47 Ahoy! I just got back from Florida! Now I'm safely back at home. 2011-04-18T22:31:57 *** McLeopold has joined #aichallenge 2011-04-18T22:32:11 Hey McLeopold 2011-04-18T22:33:10 hi 2011-04-18T22:33:21 j3camero: thx for showing up 2011-04-18T22:33:39 nothing to report, though, I've been sick for the last 3 days, so no progress 2011-04-18T22:33:45 I actually just got in. Just got back in the door from the airport. 2011-04-18T22:33:53 Oh, I hope you're feeling better. 2011-04-18T22:34:00 I'm getting there 2011-04-18T22:34:15 leopold 2011-04-18T22:34:24 There's been some more activity as far as bots go, bhasker is working on some good ones 2011-04-18T22:35:22 haha not good ones, 2011-04-18T22:35:25 just a basic one 2011-04-18T22:35:39 Excellent. 2011-04-18T22:36:44 Is anyone showing interest in writing content for the website? Maybe some tutorials. I find it's good to have a tutorial for using the visualizer and other client-side tools, and also another tutorial that starts with the starter package and leads the person through a series of small changes that raise their ranking. 2011-04-18T22:39:08 I would recommend Stocha for that, if he's willing 2011-04-18T22:39:25 He's done a *lot* of testing and is fairly active on the forums 2011-04-18T22:40:09 antimatroid has done a lot on the wiki already, I'm sure that could be converted over easily 2011-04-18T22:40:25 Excellent. Good to hear. That's something that I have up until now always neglected until the last moment. 2011-04-18T22:40:30 amstan: did you get a test server going yet? 2011-04-18T22:40:42 nope, i'm still working on that 2011-04-18T22:41:01 j3camero: antimatroid has been writing content for the website 2011-04-18T22:41:12 amstan: excellent. 2011-04-18T22:41:28 Okay I gotta hit the sack. Big day tomorrow. 2011-04-18T22:42:12 cya 2011-04-18T22:48:45 *** Cyndre has joined #aichallenge 2011-04-18T22:51:29 *** delt0r_ has joined #aichallenge 2011-04-18T22:52:44 *** delt0r___ has quit IRC (Ping timeout: 246 seconds) 2011-04-18T23:01:42 leopold let me show you a replay of my latest iteration 2011-04-18T23:02:57 http://pastebin.com/wwQdv7hH 2011-04-18T23:03:26 bhasker: I'll have to look at it later. Also, ants.zeroviz.us will do replay pastes soon. 2011-04-18T23:03:39 oh i uploaded the visualizer 2011-04-18T23:03:42 to my website 2011-04-18T23:03:48 bhasker.net/ants/copy_paste.html 2011-04-18T23:11:10 Love that visualizer. bhasker did you make that? 2011-04-18T23:16:35 j3camero: frontier did it 2011-04-18T23:18:58 nope 2011-04-18T23:19:01 i just uploaded it 2011-04-18T23:20:32 need some good bots to test against 2011-04-18T23:24:45 Wish I could provide. Still in construction :P 2011-04-18T23:29:45 *** McLeopold has quit IRC (Ping timeout: 276 seconds) 2011-04-18T23:40:08 I looked at browser stats the other day and it was still about 4.25% that were using IE <= 8 2011-04-18T23:46:23 I don't think those statistics have our target audience in mind 2011-04-18T23:46:48 ? the 4.25% is the visitors to ai-contest.com 2011-04-18T23:47:19 I have no idea what the general population percentage is :) 2011-04-18T23:47:54 This is shocking 2011-04-18T23:48:02 http://en.wikipedia.org/wiki/File:Web_browser_usage_share.svg 2011-04-18T23:48:43 Oh god. It's horrifying 2011-04-18T23:50:20 * janzert wonders what the source of data is for that 2011-04-18T23:50:24 hah most people don't care about the browser they just use whatever came with their pc 2011-04-18T23:50:26 is it visitors to wikipedia? 2011-04-18T23:50:26 laptop 2011-04-18T23:50:26 etc 2011-04-18T23:50:52 even though IE is steadily losing ground, its still the default browser on most systems sold today 2011-04-18T23:53:41 janzert: no, here's more: http://en.wikipedia.org/wiki/Web_browser_usage_share 2011-04-18T23:54:25 yeah, I figured it out eventualy. basically it is the median values from 4 or 5 different sources including wikipedia 2011-04-18T23:56:38 Ahhh yes. A nice steady decline 2011-04-18T23:56:46 yes 2011-04-18T23:57:38 although taking the medians of market share percentages seems a rather dubious way to make a chart since you'll notice the total percentage no longer adds up to 100% (it's somewhere around 102%) 2011-04-18T23:58:11 You got me in a statisticsy mood now. Let's see how AT&T is doing