2011-07-07T00:04:30 eashoka: the server is currently undergoing maininence, i'm no admin but i've heard what the've been saying 2011-07-07T00:05:13 *** escortkeel has quit IRC (Quit: Page closed) 2011-07-07T00:08:32 escortkeel : thanks 2011-07-07T00:09:02 bhasker : what is "google+ invites r open" ? 2011-07-07T00:09:39 http://plus.google.com 2011-07-07T00:13:06 *** fff has joined #aichallenge 2011-07-07T00:13:52 *** fff has left #aichallenge 2011-07-07T00:15:35 *** escortkeel has joined #aichallenge 2011-07-07T00:16:34 @help 2011-07-07T00:16:34 escortkeel: (help [] []) -- This command gives a useful description of what does. is only necessary if the command is in more than one plugin. 2011-07-07T00:16:41 @more 2011-07-07T00:16:41 escortkeel: Error: You haven't asked me a command; perhaps you want to see someone else's more. To do so, call this command with that person's nick. 2011-07-07T00:18:39 *** jmreardon has quit IRC (Quit: jmreardon) 2011-07-07T00:21:36 *** escortkeel has quit IRC () 2011-07-07T00:22:20 *** escortkeel has joined #aichallenge 2011-07-07T00:26:15 The homepage is down! 2011-07-07T00:26:25 *** ibdknox has joined #aichallenge 2011-07-07T00:26:33 The homepage is down! 2011-07-07T00:55:28 jancert: is there a procudure to address the issue of games pending rating calcualtion. 2011-07-07T00:57:16 jancert : some games display 0.00 for the rating and missed out on from rating/ranking calc . a frnd of mine have 4 such recent games. 2011-07-07T01:40:09 eashoka: I believe that results from this issue: https://github.com/aichallenge/aichallenge/issues/191 2011-07-07T01:42:52 *** escortkeel has quit IRC (Quit: Page closed) 2011-07-07T01:47:25 *** amstan has quit IRC (Ping timeout: 260 seconds) 2011-07-07T02:01:54 *** VilleH has joined #aichallenge 2011-07-07T02:06:39 smiley1983: yes. I guess we could have a service running which frequently check the db for crashed cases (games with ratings not calculated) and calculate ratings for them. at least as a tempory solution 2011-07-07T02:06:52 *** mleise has joined #aichallenge 2011-07-07T02:14:57 *** Palmik has joined #aichallenge 2011-07-07T02:22:01 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has quit IRC (Quit: Lost terminal) 2011-07-07T02:26:38 *** eashoka has quit IRC (Quit: Page closed) 2011-07-07T02:58:45 *** ltriant has quit IRC (Read error: Connection reset by peer) 2011-07-07T02:59:03 *** ltriant has joined #aichallenge 2011-07-07T03:01:05 *** ltriant has quit IRC (Read error: Connection reset by peer) 2011-07-07T03:36:31 *** aerique has joined #aichallenge 2011-07-07T03:38:11 *** GeorgeSebastian has joined #aichallenge 2011-07-07T03:38:11 *** GeorgeSebastian has joined #aichallenge 2011-07-07T04:09:59 *** stocha has joined #aichallenge 2011-07-07T04:14:53 *** stocha has quit IRC (Client Quit) 2011-07-07T04:18:47 *** GeorgeSebastian has quit IRC (Quit: Leaving) 2011-07-07T04:26:59 *** mcstar has joined #aichallenge 2011-07-07T04:46:02 *** Naktibalda has joined #aichallenge 2011-07-07T05:09:33 https://github.com/liquid-phynix/cl-ants-engine/blob/master/easy-pathfinding.mpeg?raw=true 2011-07-07T05:09:58 this is a proof of concept video of my previous pathfinding alg. which didnt really involve graph searching 2011-07-07T05:10:11 antimatroid1: you there? 2011-07-07T05:11:44 and btw who is antimatroid-uni ? 2011-07-07T05:12:03 soon there will be a whole antimat. family on this channel 2011-07-07T05:32:48 *** ibdknox has quit IRC (Remote host closed the connection) 2011-07-07T06:06:27 *** sigh has joined #aichallenge 2011-07-07T06:28:18 *** FireyFly has joined #aichallenge 2011-07-07T06:29:39 *** slkjcna has quit IRC (Read error: Operation timed out) 2011-07-07T06:29:44 *** slkjcna has joined #aichallenge 2011-07-07T06:30:36 mcstar: antimatroid-uni is my computer in my honours room at uni 2011-07-07T06:30:43 i haven't been to uni in like 2 weeks, so yeah :P 2011-07-07T06:32:40 youve got a private room? nice, are you a professor by any chance? 2011-07-07T06:32:49 *** _0x47 <_0x47!~slash@p5B12F167.dip.t-dialin.net> has joined #aichallenge 2011-07-07T06:32:51 no, there's 6 of us in the room 2011-07-07T06:32:57 i'm but a mere honours student 2011-07-07T06:33:04 it's like limbo between undergrad and postrgrad 2011-07-07T06:33:43 i can hardly work when there's 3 of us in a work room :S 2011-07-07T06:34:21 i have star trek tng on my work computer, had a 1.5TB hdd, when i couldnt afford one :) 2011-07-07T06:34:48 i think i have House M.D. all on it too 2011-07-07T06:35:09 so its a very valueable computer 2011-07-07T06:35:19 antimatroid1: did you see my newest video? 2011-07-07T06:37:23 *** antimatroid1 has quit IRC (Ping timeout: 240 seconds) 2011-07-07T06:38:00 tasmania needs better internet connection 2011-07-07T06:46:42 *** antimatroid has joined #aichallenge 2011-07-07T06:49:17 antimatroid: can you read the logs? 2011-07-07T06:50:09 i can 2011-07-07T06:50:13 i haven't seen the new video 2011-07-07T06:50:16 just had a shower sorry 2011-07-07T06:50:21 i'll get onto it in a bit 2011-07-07T06:50:29 i can't work with people in the room either 2011-07-07T06:50:33 i tend to do most of my work at home 2011-07-07T07:11:55 mcstar: your latest video is very inspiring 2011-07-07T07:12:11 is it? 2011-07-07T07:12:16 in what sense? 2011-07-07T07:13:23 *** antimatroid has quit IRC (Quit: Leaving.) 2011-07-07T07:13:41 *** antimatroid has joined #aichallenge 2011-07-07T07:13:41 using the outlines of water areas to help pathfinding 2011-07-07T07:14:28 but what happens to the ant on the last seconds? 2011-07-07T07:15:12 yeah, well its a bug, you should nat have seen it, but i was slow to stop the recording :D 2011-07-07T07:15:27 and why does it sometimes walk along the outline when it should have turned to the food 2011-07-07T07:16:09 yeah, it doesnt find the shortest path, the exit condition from the outline is not very sophisticated 2011-07-07T07:16:30 strange :P 2011-07-07T07:16:51 i wanted to do this: find the paths that you just seen, and then do the same the other way around, that is, from food to ant, and merge the 2 paths 2011-07-07T07:17:17 id get a more optimal paths, but i stopped working on it, and started a* instead 2011-07-07T07:17:44 i just wanted to document the results, but i wont be pursuing this idea 2011-07-07T07:18:36 a* has the strong advantage of being optimal and not depending on precalculated data 2011-07-07T07:18:56 well, i dont use optimal a* :) 2011-07-07T07:19:06 i use quite a strong heiristic though 2011-07-07T07:19:25 and it is simple enough to let it run over a few hundred squares 2011-07-07T07:19:35 the advantage of a full graph searching is that you always get a PATH, that is, always find your targetr 2011-07-07T07:19:54 and a* doesn't? 2011-07-07T07:20:06 no no, i mean exactly a* 2011-07-07T07:20:22 a* graph searching ok 2011-07-07T07:20:28 its robust, you can hardly destroy this ability of its 2011-07-07T07:20:48 (this sounds very un-english) 2011-07-07T07:20:57 the ability if her/his 2011-07-07T07:21:04 the ability of her=his 2011-07-07T07:21:07 but, its? 2011-07-07T07:21:31 antimatroid: how does this sound? 2011-07-07T07:21:38 mcstar: one of my problems is that if i don't want to track collisions other than this turn, then it's faster the "backtrack" the first move needed if i search from the targets to the sources 2011-07-07T07:22:02 because then i only need to find an adjacent square to the found source with g 1 less 2011-07-07T07:22:56 ah, you dont need the full backtrack 2011-07-07T07:22:59 clever 2011-07-07T07:23:23 problem with that is my a* heuristic if i have 100's if not 1000's of ants 2011-07-07T07:23:24 but i found that speed-wise it doesnt make a difference 2011-07-07T07:23:39 its not hard to look up a few locations 2011-07-07T07:24:06 i need to find the manhatten distance for every "target" loc for every location i add to my search queue 2011-07-07T07:24:35 antimatroid: your talking about now the association problem? 2011-07-07T07:25:02 cause in my latest bot i added this functionality 2011-07-07T07:25:08 it uses the Hungarian method 2011-07-07T07:25:17 i couldnt miss this one 2011-07-07T07:25:42 http://en.wikipedia.org/wiki/Hungarian_method 2011-07-07T07:26:35 i was thinking about pathfinding on this bi-parted graph, the association matrix 2011-07-07T07:26:46 with the manhattan distances on the edges 2011-07-07T07:26:57 but it seemed very difficult to come up with something 2011-07-07T07:27:27 but would have the advantage that it wouldnt have to evaluate all N*M distances 2011-07-07T07:27:56 but the alg. would have been much complicated, so i just went with this method instead, but now i calculate all the food/ant distances 2011-07-07T07:28:42 atm im evaluating spreading tactics 2011-07-07T07:29:03 its slow, but a potential based method is very promising 2011-07-07T07:29:26 wait what 2011-07-07T07:29:30 how do you use that? 2011-07-07T07:29:43 which part are you referring? 2011-07-07T07:29:52 hungarian method 2011-07-07T07:30:23 i use it to associate ants with food squares, the cost is the probable distance the ant would need to travel 2011-07-07T07:30:35 i.e. manhattan 2011-07-07T07:30:50 hmm, why not just iteratively search from all sources? 2011-07-07T07:31:25 well, i dont want to do superfluous pathfinding 2011-07-07T07:31:44 i would have thought it was actually just as fast if not faster to do it from all sources 2011-07-07T07:31:46 at least with a bfs 2011-07-07T07:32:01 because you find the closest food item first, then keep going with the rest 2011-07-07T07:32:03 i could be wrong 2011-07-07T07:32:12 are you using parallel pathfinding? from all sources to all target? 2011-07-07T07:32:27 or from one source to all targets? 2011-07-07T07:32:37 all sources to all targets 2011-07-07T07:32:49 whoa, i didnt realize that 2011-07-07T07:32:50 i just add all "ants" locations to the search queue, then search out till i find a target 2011-07-07T07:33:38 once i "collect" food with an ant, i'll also add that ants future location and the "to spawn" ant at the food into the "sources" for collecting the rest of the food, with their g value as when they'll be available, rather than 0 2011-07-07T07:34:23 how are you doing time wise? 2011-07-07T07:34:51 no idea 2011-07-07T07:35:03 that's my actual bot, and i just cap it for how long it's allowed to spend on it 2011-07-07T07:35:04 are you well withoin the second? 2011-07-07T07:35:08 aham 2011-07-07T07:35:19 it usually collects food within 200ms in the worst cases i think 2011-07-07T07:35:30 but i don't think you really need to leave it running that long 2011-07-07T07:35:39 it's going to collect the closest food first anyway 2011-07-07T07:37:32 who is TRavary? 2011-07-07T07:39:40 stocha 2011-07-07T07:39:43 .D 2011-07-07T07:39:50 another account? :\ 2011-07-07T07:39:53 wheres my other eye... 2011-07-07T07:40:01 im kidding, but he is from france 2011-07-07T07:40:17 ah 2011-07-07T07:40:34 he's preventing me from having the top c++ bot 2011-07-07T07:40:37 i don't like him :P /s 2011-07-07T07:42:30 mcstar: how much faster is your non-optimal heuristic? 2011-07-07T07:42:37 the few examples i ran had it almost twice as fast :\ 2011-07-07T07:42:47 yeah, at least 2011-07-07T07:43:00 i think that's amazing 2011-07-07T07:43:03 i wouldn't have expected that 2011-07-07T07:43:16 on the example map, the we used, i got 10000 searches under 1 sec, in like 0.98sec 2011-07-07T07:43:54 i would really like to write ai for a full on game 2011-07-07T07:43:56 on the small one, obviously, not the maze 2011-07-07T07:44:01 maybe i should do the sc ai contest 2011-07-07T07:44:15 what is that? 2011-07-07T07:44:29 http://eis.ucsc.edu/StarCraftAICompetition 2011-07-07T07:44:37 not sure if it was a one off or not :\ 2011-07-07T07:44:49 looks like it might have been 2011-07-07T07:45:04 i don't play starcraft (or games really) but twould be fun to write ai for 2011-07-07T07:45:23 i only looked at starcraft years ago 2011-07-07T07:45:33 but that challenge is hard, teams compete usually 2011-07-07T07:45:52 that game is very complex 2011-07-07T07:46:27 yes i understand that 2011-07-07T07:55:24 *** GeorgeSebastian has joined #aichallenge 2011-07-07T07:57:16 *** rabidus has joined #aichallenge 2011-07-07T07:58:46 *** onensora has joined #aichallenge 2011-07-07T08:08:09 *** foRei has joined #aichallenge 2011-07-07T08:10:03 *** jmreardon has joined #aichallenge 2011-07-07T08:20:06 *** FireyFly is now known as FireFly 2011-07-07T08:26:36 *** jugde has quit IRC (Ping timeout: 260 seconds) 2011-07-07T08:34:15 *** timgluz has joined #aichallenge 2011-07-07T08:38:32 *** timgluz has left #aichallenge ("Leaving.") 2011-07-07T08:48:42 *** jmreardon has quit IRC (Quit: jmreardon) 2011-07-07T08:57:41 *** foRei has quit IRC (Read error: Connection reset by peer) 2011-07-07T08:58:16 *** foRei has joined #aichallenge 2011-07-07T09:14:34 oh god, such a painful shoulder 2011-07-07T09:15:19 i _need_ to share this 2011-07-07T09:15:20 http://www.youtube.com/watch?v=GhxqIITtTtU 2011-07-07T09:16:56 that was incredibly stupid of them 2011-07-07T09:17:24 lol'd so hard 2011-07-07T09:17:37 i 2011-07-07T09:17:45 i'm surprised the other guy with a gun didn't shoot it 2011-07-07T09:17:55 would have been a shame though, no way it was the monkeys fault 2011-07-07T09:38:50 im sorry, where are the soldiers? i only saw monkeys.. 2011-07-07T09:39:09 and one wasnt as stupid as the others 2011-07-07T09:40:07 it's fake 2011-07-07T09:40:09 according to reddit 2011-07-07T09:40:34 also, nobody said soldier :P 2011-07-07T09:40:46 apparently you cant read then 2011-07-07T09:40:52 take a look at the title 2011-07-07T09:40:59 bah, it's not open :p 2011-07-07T09:41:04 i was trying to be a smart ass :P 2011-07-07T09:41:22 footage from west african soldier 2011-07-07T09:41:33 *** GeorgeSebastian has quit IRC (Quit: Leaving) 2011-07-07T09:41:43 what i dont understand, is how do these soldiers become so muscular 2011-07-07T09:41:59 theyre in pretty good shape 2011-07-07T09:42:04 but they supposed to be starving 2011-07-07T09:42:33 not all people would be starving in those countries 2011-07-07T09:42:48 and i imagine people like that might be top of the "food chain" so to speak 2011-07-07T09:42:49 look at the cabins they live in, in the background.. 2011-07-07T09:42:51 after actual leaders etc. 2011-07-07T09:43:32 *** olexs has joined #aichallenge 2011-07-07T09:43:39 btw the gun actually fires, that part cant be fake, and i see the bullets hit the ground 2011-07-07T09:44:23 but othereise im surprised with the good quality of the recording 2011-07-07T09:44:26 w 2011-07-07T09:46:14 *** VilleH has quit IRC (Ping timeout: 252 seconds) 2011-07-07T09:49:51 *** pcavs has quit IRC (Ping timeout: 255 seconds) 2011-07-07T09:49:51 you do realize this might be a viral marketing campaign by 21st century fox, for their new Planet of the Apes movie? 2011-07-07T09:50:55 mleise: i did say reddit claimed fake :) 2011-07-07T09:51:15 also... there is no knockback from the rifle firing ;) 2011-07-07T09:51:34 the only "gun" i've ever shot is an air rifle 2011-07-07T09:51:44 i don't think many people would really count that as a gun 2011-07-07T09:53:05 *** jmreardon has joined #aichallenge 2011-07-07T09:54:48 its recoil, and there is 2011-07-07T09:55:22 at least i think i see the monkey's arm pushed back 2011-07-07T09:55:53 for me add to it a 0.65 mm sidearm 2011-07-07T09:56:46 *** amstan_ has joined #aichallenge 2011-07-07T09:56:46 *** ChanServ sets mode: +o amstan_ 2011-07-07T09:57:23 *** jugde has joined #aichallenge 2011-07-07T09:57:32 uuh, oulu.fi :o 2011-07-07T09:58:31 mcstar: ok now i see the recoil. they must have photoshopped that in ;) 2011-07-07T10:00:16 mcstar: you can go on hog hunt with that sidearm, like the 11 year old boy on the pic :p 2011-07-07T10:01:13 0.65 cm isnt much, the boy had a 0.5 inch, that is 1.25 cm pistol 2011-07-07T10:02:02 and i dont like that kind of violence 2011-07-07T10:02:21 i mean, i would shoot, but only if theres no other way 2011-07-07T10:04:31 *** sir_macelon has joined #aichallenge 2011-07-07T10:04:44 @rankings 2011-07-07T10:04:55 mcstar: Error: There was a problem accessing the interface to ai-contest.com 2011-07-07T10:04:59 hehe 2011-07-07T10:05:11 sir_macelon show up when the site cannot be accessed 2011-07-07T10:05:13 s 2011-07-07T10:06:22 i dont understand this, the beta site shows the rankings, but this command doesnt? why? how are they connected? 2011-07-07T10:06:36 100 points boundary is broken finally :) 2011-07-07T10:06:57 sir_macelon: congratulations 2011-07-07T10:07:27 mcstar: thanks 2011-07-07T10:07:39 I don't know why this doesn't work 2011-07-07T10:08:27 *** aerique has quit IRC (Quit: ...) 2011-07-07T10:12:33 i miss summer :( 2011-07-07T10:13:34 *** olexs has quit IRC (Quit: Leaving.) 2011-07-07T10:13:57 contestbot: help rankings 2011-07-07T10:13:57 sir_macelon: (rankings [how many]) -- Get the top $(how many) players. 2011-07-07T10:15:09 *** jugde has quit IRC (Ping timeout: 264 seconds) 2011-07-07T10:16:32 contestbot: rankings 2011-07-07T10:16:43 sir_macelon: Error: There was a problem accessing the interface to ai-contest.com 2011-07-07T10:17:20 contestbot: later tell amstan seems the rankings command doesn't work anymore 2011-07-07T10:17:20 sir_macelon: Yep. 2011-07-07T10:19:39 antimatroid: i just had a sunbathe after a shower 2011-07-07T10:19:48 fuuuuu 2011-07-07T10:19:55 it's freaking cold in tasmania this week 2011-07-07T10:20:31 i like warm too, until recently i liked winter too, but i had it with yesteryear's winter 2011-07-07T10:23:24 morning! 2011-07-07T10:23:40 It's 29C in Poland now, pretty hot :) 2011-07-07T10:23:41 http://www.kogeneracja.com.pl/index.php/kogeneracja_en/content/view/full/130 2011-07-07T10:24:52 http://www.idokep.hu/hoterkep_hd.php?regio=hu 2011-07-07T10:24:58 *** VilleH has joined #aichallenge 2011-07-07T10:25:02 33C 2011-07-07T10:25:08 is the beta server worker not running? 2011-07-07T10:26:23 10C here :( 2011-07-07T10:26:28 not that cold, but still cold 2011-07-07T10:26:45 bhasker: only one workers is up: http://aichallengebeta.hypertriangle.com/server_stats.php 2011-07-07T10:26:47 10C is what you call cold? 2011-07-07T10:26:55 ah 2011-07-07T10:26:59 yeah, thats a breeze,not cold 2011-07-07T10:27:12 *** amstan_ has quit IRC (Ping timeout: 255 seconds) 2011-07-07T10:27:15 antimatroid: you don't even get snow at 10C, pff :) 2011-07-07T10:27:18 if you change the sign, i call it cold 2011-07-07T10:27:33 *** amstan_ has joined #aichallenge 2011-07-07T10:27:33 *** ChanServ sets mode: +o amstan_ 2011-07-07T10:27:43 it's very rare for us to get snow (except on a nearby mountain which currently has some) 2011-07-07T10:27:44 in sowiet russia sign changes you 2011-07-07T10:27:56 pfff 2011-07-07T10:28:07 and its v not w 2011-07-07T10:28:27 i like that soviet russia jokes, but theyre getting pretty old 2011-07-07T10:29:25 there was no futurama or mythbusters this week? :( 2011-07-07T10:29:58 wait, tv rage claims there was 2011-07-07T10:32:23 *** sigh has quit IRC (Remote host closed the connection) 2011-07-07T10:32:25 i think in the future there will be only reddit reruns 2011-07-07T10:32:34 why is there no futurama? :( 2011-07-07T10:44:02 *** jugde has joined #aichallenge 2011-07-07T10:50:21 *** Kingpin13 has joined #aichallenge 2011-07-07T10:50:45 *** computerwiz_222 has joined #aichallenge 2011-07-07T10:55:52 *** amstan_ has quit IRC (Ping timeout: 240 seconds) 2011-07-07T10:58:46 *** amstan_ has joined #aichallenge 2011-07-07T10:58:46 *** ChanServ sets mode: +o amstan_ 2011-07-07T11:05:54 *** computerwiz_222 has quit IRC (Remote host closed the connection) 2011-07-07T11:06:32 *** VilleH has quit IRC (Ping timeout: 252 seconds) 2011-07-07T11:09:25 *** parsley has joined #aichallenge 2011-07-07T11:11:41 *** VilleH has joined #aichallenge 2011-07-07T11:16:09 i miss some of python's syntactic sugar when coding in c++ sigh 2011-07-07T11:16:12 initializing maps for example 2011-07-07T11:18:18 c++0x seems to be fixing some of that 2011-07-07T11:20:23 what do you mean? 2011-07-07T11:21:07 *** amstan_ has quit IRC (Ping timeout: 258 seconds) 2011-07-07T11:24:03 example in python i could probably just initialize a map like 2011-07-07T11:24:11 or rather dictionary like 2011-07-07T11:24:17 x = { (1,2),... } 2011-07-07T11:24:28 in c++ i have to construct an array of values 2011-07-07T11:24:50 then assign the map like x (&a[0],&a[n]); 2011-07-07T11:25:08 i was hoping c++ 0x wil fix it, but looks like it doesn't 2011-07-07T11:25:27 it adds some new syntax but not for map initialization i guess 2011-07-07T11:25:41 a good source for what c++0x is bringing http://cppannotations.sourceforge.net/cppannotations/html/ 2011-07-07T11:25:45 *** SSNikolaevich has joined #aichallenge 2011-07-07T11:26:38 btw the visualizer slows down like 10x or more the moment you turn on fog of war 2011-07-07T11:26:40 :-\ 2011-07-07T11:27:15 Hi. 2011-07-07T11:27:22 frontier around? 2011-07-07T11:27:40 bhasker: you can do it like x(vector.begin(), vector.end()) i think? 2011-07-07T11:27:44 mleise: ^^? 2011-07-07T11:28:05 shhh 2011-07-07T11:28:05 yes but i have to construct the vector first 2011-07-07T11:28:09 can't do it in a single statement 2011-07-07T11:28:34 and the fact that it causes more copies? 2011-07-07T11:28:42 what are you making a map of? 2011-07-07T11:28:53 first construct the vectors then the map copies everything form the vector into the map 2011-07-07T11:29:20 if there was syntactic sugar the compiler could probably optimize such stuff away, i guess till maps are made part of the language that won't be possible 2011-07-07T11:30:06 D has hashes (associative-arrays) 2011-07-07T11:30:31 *** amstan_ has joined #aichallenge 2011-07-07T11:30:31 *** ChanServ sets mode: +o amstan_ 2011-07-07T11:30:47 ah yea nm c++0x does have something for this 2011-07-07T11:30:51 they are called initializer lists 2011-07-07T11:31:12 checkout Uniform Initialization 2011-07-07T11:31:27 so one could initialize vectors lie 2011-07-07T11:31:34 vector vi = {4,5,6}; 2011-07-07T11:33:57 *** Chris_0076 has joined #aichallenge 2011-07-07T11:34:08 so i guess stl objects will have a initializer list basde constructors defined 2011-07-07T11:34:15 Vector(std::initializer_list const &values); 2011-07-07T11:34:16 eg 2011-07-07T11:39:48 bhasker: why would you say &a[n] ?? 2011-07-07T11:39:56 it is (a+n) 2011-07-07T11:40:05 same thing? 2011-07-07T11:40:08 yes 2011-07-07T11:40:28 i am just used to putting & of operator 2011-07-07T11:40:32 and makes for easier reading 2011-07-07T11:40:34 a is just a (porbably int sized) variable 2011-07-07T11:41:13 if someone is reading its probably clearer when there is an & that its a location being passed in 2011-07-07T11:41:17 and not some value a+n 2011-07-07T11:41:26 i'm a newb, but function pointers seem to be what i want wrt passing around functions like variables? 2011-07-07T11:41:33 am i mistaken? 2011-07-07T11:41:36 correct 2011-07-07T11:41:44 or you can use functors 2011-07-07T11:41:47 c++ just got way better for me :) 2011-07-07T11:41:48 classes that overload () 2011-07-07T11:41:54 then you can pass objects around 2011-07-07T11:41:57 c has function pointers... 2011-07-07T11:41:59 which can be invoked like a function 2011-07-07T11:42:09 also check out binders 2011-07-07T11:42:12 in stl 2011-07-07T11:42:33 mcstar: c doesn't have stl 2011-07-07T11:42:37 i couldn't live without stl 2011-07-07T11:42:47 i dont care, i just said it has function pointers 2011-07-07T11:42:57 obviously c++ must have it too 2011-07-07T11:43:07 cause very correct c program is a correct c++ program 2011-07-07T11:43:09 every 2011-07-07T11:44:50 bhasker: can you combine functors? 2011-07-07T11:45:09 f o g ? 2011-07-07T11:45:22 mcstar: False. Not every correct C program is a correct C++ program. 2011-07-07T11:46:02 jbroman: pragma's, and compiler or architecture dependent features notwithstanding 2011-07-07T11:46:45 but there can be other subtleties 2011-07-07T11:46:58 i dont really know either of them 2011-07-07T11:47:21 I don't recall them off the top of my head, but there are specific cases that are defined in both C and C++ but the defined behaviours are different. 2011-07-07T11:56:04 *** amstan_ has quit IRC (Ping timeout: 240 seconds) 2011-07-07T11:59:58 omg 2011-07-07T12:00:11 i just realized how easy it is to make a snake bot 2011-07-07T12:01:47 :) I did mine first snake bot about 15 years ago.. 2011-07-07T12:02:38 i didnt know what a computer was 15 years ago 2011-07-07T12:04:56 what do you mean combine functors? 2011-07-07T12:04:59 mcstar: :P 2011-07-07T12:05:14 * antimatroid wonders how people would do it now? 2011-07-07T12:05:35 i'd just have a "direction" at each location visited and know where to find the head 2011-07-07T12:05:41 bhasker: a functor in cpp is a higher order function, which takes functions as arguments, right? 2011-07-07T12:06:28 nope 2011-07-07T12:06:37 functor in C++ is an object that can be invoked like a funciton 2011-07-07T12:06:42 http://en.wikipedia.org/wiki/Function_object#In_C_and_C.2B.2B 2011-07-07T12:06:43 *** nux67 has joined #aichallenge 2011-07-07T12:06:47 http://stackoverflow.com/questions/356950/c-functors-and-their-uses 2011-07-07T12:08:57 *** sir_macelon has quit IRC (Quit: Page closed) 2011-07-07T12:09:42 i think thats exactly what i meant 2011-07-07T12:11:30 it is interesting though that its not part of the language 2011-07-07T12:11:43 i mean this is defined through stl right? 2011-07-07T12:12:32 mcstar: You don't need STL to make functors . . . you just overload operator() on some class. 2011-07-07T12:12:51 ok 2011-07-07T12:18:02 i see, c++ doesnt have closure 2011-07-07T12:18:12 so it needs to emulate it with classes 2011-07-07T12:19:47 mcstar: Yeah, functional programming in C++ is awkward, which is why it is not done as often. 2011-07-07T12:19:57 *** SSNikolaevich has quit IRC (Remote host closed the connection) 2011-07-07T12:26:59 i need to focus now, bb 2011-07-07T12:27:02 *** mcstar has left #aichallenge ("WeeChat 0.3.5") 2011-07-07T12:36:48 *** AlliedEnvy has quit IRC (Ping timeout: 255 seconds) 2011-07-07T12:43:22 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has joined #aichallenge 2011-07-07T12:48:40 *** AlliedEnvy has joined #aichallenge 2011-07-07T12:53:59 *** Naktibalda has quit IRC (Quit: ChatZilla 0.9.87 [Firefox 5.0/20110615151330]) 2011-07-07T12:58:33 though jborman c++0x is adding some functional programming support 2011-07-07T12:58:40 *** KP13 has joined #aichallenge 2011-07-07T13:00:38 *** Kingpin13 has quit IRC (Ping timeout: 240 seconds) 2011-07-07T13:02:36 *** KP13 is now known as Kingpin13 2011-07-07T13:05:04 bhasker: I know, and I'm glad to hear it, but I'm referring to current C++. (I don't think C++0x makes it as nice as in, say, Haskell or JavaScript, but I haven't investigated it to thoroughly.) 2011-07-07T13:05:14 nope it doesn't 2011-07-07T13:05:16 but its better 2011-07-07T13:06:31 http://en.wikipedia.org/wiki/C%2B%2B0x 2011-07-07T13:06:44 http://en.wikipedia.org/wiki/C%2B%2B0x#Lambda_functions_and_expressions 2011-07-07T13:12:34 *** gobang has joined #aichallenge 2011-07-07T14:01:15 *** rabidus has quit IRC (Ping timeout: 276 seconds) 2011-07-07T14:07:28 *** rabidus has joined #aichallenge 2011-07-07T14:09:31 *** janzert has left #aichallenge 2011-07-07T14:40:20 *** amstan has joined #aichallenge 2011-07-07T14:40:20 *** ChanServ sets mode: +o amstan 2011-07-07T14:40:31 @ranking 2011-07-07T14:40:32 amstan: Run as fast as you can and don't look back. 2011-07-07T14:42:43 s 2011-07-07T14:57:53 *** Naktibalda has joined #aichallenge 2011-07-07T15:08:37 *** Naktibalda has quit IRC (Ping timeout: 240 seconds) 2011-07-07T15:10:18 *** Naktibalda has joined #aichallenge 2011-07-07T15:16:41 *** sir_macelon has joined #aichallenge 2011-07-07T15:17:06 @rankings 2011-07-07T15:17:17 sir_macelon: Error: There was a problem accessing the interface to ai-contest.com 2011-07-07T15:17:26 shortest game ever: http://aichallengebeta.hypertriangle.com/visualizer.php?game=67059 2011-07-07T15:17:42 *** smiley1983 has quit IRC (Quit: leaving) 2011-07-07T15:17:49 but why my ranking dropped after winning this game?? 2011-07-07T15:24:47 *** contestbot has joined #aichallenge 2011-07-07T15:24:48 @rankings 2011-07-07T15:24:57 amstan: Top 10 players: sir_macelon(100.2), FlagCapper(98.5), Sto03RepliCrush(85.2), davidjliu(82.0), antimatroid(81.1), OlexandrT(80.7), Zaphtest02(80.5), Zaphus(80.0), paratrechina(77.5), BaronTrozo(76.7) 2011-07-07T15:25:13 there we go, i think it was some network connection problems 2011-07-07T15:26:16 *** ibdknox has joined #aichallenge 2011-07-07T15:32:09 *** dvladim has joined #aichallenge 2011-07-07T15:37:03 *** dvladim has quit IRC (Client Quit) 2011-07-07T15:49:27 @amstan: thanks for the fix! 2011-07-07T15:49:28 sir_macelon: Run as fast as you can and don't look back. 2011-07-07T15:51:24 @later tell SSNikolaevich tools.zip is now for win only, for *nix os you have the tar 2011-07-07T15:51:24 sir_macelon: Ready to serve. 2011-07-07T15:58:11 *** VilleH has quit IRC (Quit: Page closed) 2011-07-07T16:00:41 *** Accoun has quit IRC () 2011-07-07T16:11:24 *** Accoun has joined #aichallenge 2011-07-07T16:14:15 *** Naktibalda has quit IRC (Quit: ChatZilla 0.9.87 [Firefox 5.0/20110622232440]) 2011-07-07T16:17:44 *** jmreardon has quit IRC (Quit: jmreardon) 2011-07-07T16:58:30 *** _0x47 <_0x47!~slash@p5B12F167.dip.t-dialin.net> has quit IRC (Read error: Connection reset by peer) 2011-07-07T16:58:50 *** _0x47 <_0x47!~slash@p5B12F167.dip.t-dialin.net> has joined #aichallenge 2011-07-07T17:09:54 *** computerwiz_222 has joined #aichallenge 2011-07-07T17:15:31 *** olexs has joined #aichallenge 2011-07-07T17:44:18 *** computerwiz_222 has quit IRC (Ping timeout: 246 seconds) 2011-07-07T17:47:40 *** parsley has quit IRC (Ping timeout: 252 seconds) 2011-07-07T17:50:28 *** computerwiz_222 has joined #aichallenge 2011-07-07T17:52:39 *** olexs1 has joined #aichallenge 2011-07-07T17:55:15 *** olexs has quit IRC (Ping timeout: 276 seconds) 2011-07-07T17:55:46 *** sir_macelon has quit IRC (Quit: Page closed) 2011-07-07T17:58:05 *** _0x47 <_0x47!~slash@p5B12F167.dip.t-dialin.net> has quit IRC (Read error: Connection reset by peer) 2011-07-07T17:59:28 *** computerwiz_222 has quit IRC (Read error: Connection reset by peer) 2011-07-07T18:09:33 Next Game: 7 players are ahead of you. 2011-07-07T18:09:33 The current game rate is about 4.7 players per minute. 2011-07-07T18:09:33 *** ltriant has joined #aichallenge 2011-07-07T18:09:33 Your next game should be within -1.0 minutes. 2011-07-07T18:09:36 how does that happen:p 2011-07-07T18:14:57 *** Kingpin13 has quit IRC (Quit: this used to be the life, but I don't need another one) 2011-07-07T18:16:58 *** olexs1 has quit IRC (Quit: Leaving.) 2011-07-07T18:27:02 lol 2011-07-07T18:37:53 *** ltriant has quit IRC (Read error: Connection reset by peer) 2011-07-07T18:39:21 *** Palmik has quit IRC (Remote host closed the connection) 2011-07-07T18:43:41 *** ltriant has joined #aichallenge 2011-07-07T18:51:08 i've shot an AK-47. they don't have much kick at all 2011-07-07T18:51:35 re: ape with ak-47 2011-07-07T18:57:35 *** mleise has quit IRC (Ping timeout: 260 seconds) 2011-07-07T18:58:29 exactly what tests get run when you upload a bot? 2011-07-07T18:59:02 when I upload it seems to try to provide an absurdly large number for one of the game configuration values 2011-07-07T18:59:16 which doesn't happen when I simply run ./test_bot.sh 2011-07-07T19:02:15 *** nux67 has quit IRC (Quit: Page closed) 2011-07-07T19:06:53 *** parsley has joined #aichallenge 2011-07-07T19:17:26 oh god, shoulder still hates me 2011-07-07T19:26:18 ibdknox: what? 2011-07-07T19:28:59 amstan: I get this: java.lang.NumberFormatException: For input string: "5120955916830733631" 2011-07-07T19:29:14 which is alleviated by changing to using BigInteger for the configuration variables 2011-07-07T19:43:39 *** onensora has quit IRC (Ping timeout: 246 seconds) 2011-07-07T19:45:29 *** onensora has joined #aichallenge 2011-07-07T19:56:46 *** computerwiz_222 has joined #aichallenge 2011-07-07T20:13:19 *** FireFly has quit IRC (Quit: swatted to death) 2011-07-07T20:38:10 Next Game: 1 players are ahead of you. 2011-07-07T20:38:11 The current game rate is about 3.0 players per minute. 2011-07-07T20:38:11 Your next game should be within -0.2 minutes. 2011-07-07T20:38:14 these stats are realy weird 2011-07-07T20:38:24 its been showing me a -ve time for the last 20 minutes 2011-07-07T20:38:25 ... 2011-07-07T20:44:11 sir_macelon's combat code is awesome 2011-07-07T21:07:32 *** ibdknox has quit IRC (Ping timeout: 252 seconds) 2011-07-07T21:08:19 *** ibdknox has joined #aichallenge 2011-07-07T21:19:27 *** escortkeel has joined #aichallenge 2011-07-07T21:19:41 @results 2011-07-07T21:19:42 escortkeel: I'm sorry Dave, err escortkeel; I cannot 'results'. 2011-07-07T21:19:57 @rankings 2011-07-07T21:20:14 escortkeel: Error: There was a problem accessing the interface to ai-contest.com 2011-07-07T21:20:27 @feelings 2011-07-07T21:20:28 escortkeel: No! 2011-07-07T21:20:48 @sad 2011-07-07T21:20:49 escortkeel: User error, it's not my fault. 2011-07-07T21:21:06 @unknown 2011-07-07T21:21:07 escortkeel: User error, it's not my fault. 2011-07-07T21:21:25 @sadness 2011-07-07T21:21:26 escortkeel: An error occured while trying to show the previous error. 2011-07-07T21:21:54 @list 2011-07-07T21:21:54 escortkeel: AIChallenge, Admin, Alias, Anonymous, BadWords, Channel, ChannelLogger, ChannelStats, Config, Ctcp, Dict, Dunno, Factoids, Filter, Format, Games, Google, Herald, Internet, Later, Limiter, Math, Misc, Network, News, Note, Owner, Plugin, Quote, QuoteGrabs, RSS, Reply, Scheduler, Seen, Services, ShrinkUrl, Status, String, Success, Time, Todo, Topic, URL, Unix, User, Utilities, and Web 2011-07-07T21:22:15 @games 2011-07-07T21:22:16 escortkeel: I'm sorry Dave, err escortkeel; I cannot 'games'. 2011-07-07T21:22:45 @google hello 2011-07-07T21:22:46 escortkeel: Hello: ; YouTube - Martin Solveig & Dragonette - Hello (Official Short ...: ; YouTube - Lionel Richie - Hello‏: ; Hello - Wikipedia, the free encyclopedia: ; Greetings in more than 1600 languages: (1 more message) 2011-07-07T21:23:18 @BadWords 2011-07-07T21:23:19 escortkeel: An error occured while trying to show the previous error. 2011-07-07T21:23:39 @status 2011-07-07T21:23:39 escortkeel: I am connected to freenode as contestbot. 2011-07-07T21:23:59 @factoid 2011-07-07T21:24:00 escortkeel: I have no idea what you mean. 2011-07-07T21:24:16 @Dict computer 2011-07-07T21:24:18 escortkeel: wn, foldoc, gcide, and moby-thes responded: foldoc: Computer A journal of the {IEEE Computer Society}. (1995-03-10); wn: computer n 1: a machine for performing calculations automatically [syn: {computing machine}, {computing device}, {data processor}, {electronic computer}, {information processing system}] 2: an expert at calculation (or at operating (9 more messages) 2011-07-07T21:25:03 @User 2011-07-07T21:25:03 escortkeel: (user [] ) -- Returns the last time was seen and what was last seen saying. This looks up in the user seen database, which means that it could be any nick recognized as user that was seen. is only necessary if the message isn't sent in the channel itself. 2011-07-07T21:25:10 @Utiliities 2011-07-07T21:25:11 escortkeel: I have no idea what you mean. 2011-07-07T21:25:28 @Utilities 2011-07-07T21:25:29 escortkeel: I'm sorry Dave, err escortkeel; I cannot 'Utilities'. 2011-07-07T21:25:42 @time 2011-07-07T21:25:48 @time 2011-07-07T21:25:49 escortkeel: 09:25 PM, July 07, 2011 2011-07-07T21:25:58 @web hello 2011-07-07T21:25:59 escortkeel: I have no idea what you mean. 2011-07-07T21:26:10 @later 2011-07-07T21:26:11 escortkeel: You have no gotten any error messages recently, so here's a random one just to let you know that we care. 2011-07-07T21:26:38 @plugin 2011-07-07T21:26:38 escortkeel: (plugin ) -- Returns the name of the plugin that would be used to call . If it is not uniquely determined, returns list of all plugins that contain . 2011-07-07T21:26:52 *** escortkeel has quit IRC (Quit: Page closed) 2011-07-07T22:03:09 *** foRei has quit IRC (Read error: Connection reset by peer) 2011-07-07T22:03:13 *** parsley has quit IRC (Quit: Page closed) 2011-07-07T22:30:23 *** onensora has quit IRC (Ping timeout: 252 seconds) 2011-07-07T22:39:11 *** ArchMonkey has joined #aichallenge 2011-07-07T22:40:59 bwarek 2011-07-07T22:47:10 *** jmreardon has joined #aichallenge 2011-07-07T22:49:05 *** pcavs has joined #aichallenge 2011-07-07T22:49:18 *** pcavs has left #aichallenge 2011-07-07T22:49:40 *** pcavs has joined #aichallenge 2011-07-07T22:53:39 *** pcavs has quit IRC (Client Quit) 2011-07-07T22:53:55 *** pcavs has joined #aichallenge 2011-07-07T22:55:38 *** pcavs has quit IRC (Client Quit) 2011-07-07T22:55:50 *** pcavs has joined #aichallenge 2011-07-07T22:57:09 *** pcavs has quit IRC (Client Quit) 2011-07-07T22:57:17 *** pcavs has joined #aichallenge 2011-07-07T22:59:50 *** pcavs1 has joined #aichallenge 2011-07-07T22:59:50 *** pcavs has quit IRC (Read error: Connection reset by peer) 2011-07-07T23:04:17 *** pcavs1 has quit IRC (Client Quit) 2011-07-07T23:09:57 *** jmreardon has quit IRC (Quit: jmreardon) 2011-07-07T23:10:16 *** pcavs has joined #aichallenge 2011-07-07T23:14:49 *** computerwiz_222 has quit IRC (Quit: Konversation terminated!) 2011-07-07T23:15:10 *** computerwiz_222 has joined #aichallenge 2011-07-07T23:49:42 *** computerwiz_222 has quit IRC (Quit: Konversation terminated!) 2011-07-07T23:50:04 *** computerwiz_222 has joined #aichallenge