2011-12-12T00:04:03 huh, drand48 is pretty damn expensive 2011-12-12T00:10:57 BenJackson: http://en.cppreference.com/w/cpp/numeric/random not sure if gcc/libstdc++ have this stuff yet 2011-12-12T00:11:36 I'm just using drand48() as parto f my simulated annealing 2011-12-12T00:11:48 it's surprisingly slow 2011-12-12T00:12:07 I think the C++11 rand stuff lets you pick a generator 2011-12-12T00:12:32 I'm just going to switch from exp() < drand48() to exp()*RAND_MAX < random() 2011-12-12T00:14:58 random() is about 10x faster than drand48() 2011-12-12T00:16:24 *** u_ has quit IRC (Quit: u_) 2011-12-12T00:17:04 the drand48 man page says not to use it :P 2011-12-12T00:19:49 *** Areks has joined #aichallenge 2011-12-12T00:19:58 not mine on FreeBSD :) 2011-12-12T00:20:16 ok, been at this since friday, time to watch a tv show and go to bed. Tired.... 2011-12-12T00:20:19 night all 2011-12-12T00:20:38 BenJackson: the linux rand() is the same generator as random() according to the man page 2011-12-12T00:21:02 but it says not to use it if you want it to be portable, cause the old rand() is crap 2011-12-12T00:21:13 anyway doesn't matter since the contest server is modern linux 2011-12-12T00:21:35 oh I know way too much about random 2011-12-12T00:21:45 I even filed an obscure bug against the glibc one 2011-12-12T00:21:59 a friend of mine got interested in attacks on random() on the nethack server 2011-12-12T00:22:14 someone noticed they were using srandom(time()) 2011-12-12T00:22:27 so to make a point he started a game at just the right second of the day so there would be a wand of wishing on the first level 2011-12-12T00:22:30 and then kicked it 2011-12-12T00:22:32 (that kills you) 2011-12-12T00:22:42 so it would show he died from kicking a wand of wishing on lvl 1 2011-12-12T00:23:05 the server operators changed it to use srandom( 4 bytes from /dev/urandom, which is truly random in some sense) 2011-12-12T00:23:14 so still pseudorandom, but you can't game the seed 2011-12-12T00:23:25 my friend had worked out ways in which the game leaked out bits of random 2011-12-12T00:23:39 oh, so he figured out the state? 2011-12-12T00:23:41 and had written some code to search every seed (2^32) to figure out which one he was in 2011-12-12T00:24:00 he came to me when he thought he wanted to put it in an FPGA 2011-12-12T00:24:19 ultimately I wrote a version that searched the seed space 50x faster 2011-12-12T00:24:23 something like 25M seeds/sec 2011-12-12T00:24:37 basically in a prototype of how I'd do it in an FPGA, but in C 2011-12-12T00:24:46 *** TheLinker has quit IRC (Quit: Bye) 2011-12-12T00:24:52 and after that I computed a sort of rainbow table 2011-12-12T00:24:55 it made a 16G file 2011-12-12T00:25:01 and could tell you the seed in a fraction of a second 2011-12-12T00:25:10 ANYWAY 2011-12-12T00:25:21 glibc interpreted negative seeds wrong 2011-12-12T00:25:37 which I discovered because I reimplemented random/srandom in a much faster way for that project 2011-12-12T00:25:43 glibc is crap though 2011-12-12T00:26:07 btw that is the only project where I've ever seen a HUGE difference between 32 and 64-bit performance 2011-12-12T00:26:21 that 25M seed/sec program built for 32 bit on the same CPU is only about 50-60% as fast 2011-12-12T00:27:03 with -march=native? 2011-12-12T00:27:24 http://sourceware.org/ml/glibc-bugs/2009-03/msg00010.html 2011-12-12T00:27:29 there's my obscure bug 2011-12-12T00:27:46 just -m32 2011-12-12T00:28:46 that program also had very careful balancing of "likely" and "unlikely" 2011-12-12T00:28:52 some (true) likelys actually slowed it down 2011-12-12T00:28:54 *** TheLinker has joined #aichallenge 2011-12-12T00:29:01 *** Extrarius has quit IRC (Ping timeout: 276 seconds) 2011-12-12T00:30:14 clang can almost compile my bot 2011-12-12T00:30:23 it just doesn't support C++11 lambdas 2011-12-12T00:30:30 but apparently it _does_ support lambdas 2011-12-12T00:31:02 well, it has objective-C blocks as a C language extension or something like that 2011-12-12T00:31:48 not sure how to build it with support for them though, the Arch package for clang is already barely hacked together 2011-12-12T00:32:31 BenJackson: "(...) how I'd do it in an FPGA, but in C" <--- with the limited amount of FPGA programming i have done, the first thing that would come to mind would be parallelizing it. since i can't imagine that that approach would be 50x faster in C (unless you have 50 cores), what was your idea? 2011-12-12T00:32:35 I tried some bits of my code in clang though, and the performance differences are very neat 2011-12-12T00:33:39 bqf: if you look at how random() is implemented and convolve it to avoid repeated operations you can go much much faster 2011-12-12T00:34:23 actually I don't think an FPGA implementation would be better 2011-12-12T00:34:45 BenJackson: oh, of course... if you're trying to search the whole space there's no need to start from scratch every time. 2011-12-12T00:35:24 in particular if you are willing to search the seeds in the order of srandom()'s own internal LFSR you can eliminate a ton of math 2011-12-12T00:35:55 the next step of srandom is actually invoking random() 300ish times to stir the pot of its internal state 2011-12-12T00:36:05 to avoid some initial degeneracy I think 2011-12-12T00:36:19 so it stirs up its 31 (I think it is) terms of random state 2011-12-12T00:36:36 whereas I precomputed the coefficients of the resulting 31 terms that apply to the initial seed 2011-12-12T00:37:40 and finally since you are testing several sequential outputs of random when searching the seeds it is able to pipeline those 2011-12-12T00:38:16 since a huge amount is shared between the first output of a given seed and the second output of the *previous* seed (given you're searching them in the order I described) 2011-12-12T00:40:07 i really shouldn't be talking to you. every time i do (or listen in on conversations you're having here), you make me want to research some obscure, but incredibly interesting topic. 2011-12-12T00:40:29 that was a really interesting project 2011-12-12T00:40:41 the adjunct project (figure out how to exploit the known seed) never got done, though :) 2011-12-12T00:40:51 BenJackson: I tend to hate everyone's RNG. 2011-12-12T00:41:20 a friend of mine was trying to work out (given the seed) how many times to do some action that burned 1 random() before you did something like make a wish or pray 2011-12-12T00:41:21 In particular, I have it in for Mersenne's Twister 2011-12-12T00:44:28 BenJackson: if the adjunct project caused you to dig that deep into a topic and stay interested, then it has served its purpose. i guess i need new friends, when mine come to me with a technology related problem, it is mostly "how do i cheat in game X?" or "can you get me this movie?" (no, i can't. go pay for it.) 2011-12-12T00:45:39 technically this WAS "how to cheat at nethack" 2011-12-12T00:46:44 BenJackson: I do a tiny bit of development on the game Dungeon Crawl (along with Zannick) -- I ended up rewriting the RNG to prevent exactly that sort of attack 2011-12-12T00:47:26 btw if you like nethack you should look at the nethack AIs that are out there 2011-12-12T00:47:42 saiph in particular 2011-12-12T00:47:52 http://www.youtube.com/watch?v=vDAmUNofE00 2011-12-12T00:47:55 as an example 2011-12-12T00:48:20 the neat thing about it is that it's very modular, so if you solve some part of nethack (eg sokoban or the castle or whatever) you canplug it in 2011-12-12T00:48:47 plus it can use those strategies you're too lazy to use, like engraving Elbereth all the damn time 2011-12-12T00:49:10 That's cute. The problem is that nethack is tedious and there's an 'optimal' strategy 2011-12-12T00:52:08 i never really got into nethack - mainly because i could instantly recognize its potential to kill weeks of my time. botting it does sound interesting though, so once again, i _really_ shouldn't be talking to you ;) 2011-12-12T00:52:32 I quit crawl when I was 18 and thankfully didn't discover crawl until 5 years later. 2011-12-12T00:52:34 nethack is amazing for the way everything works together 2011-12-12T00:52:42 er %s/crawl/nethack/ 2011-12-12T00:52:53 everything interacts in appropriate ways 2011-12-12T00:53:01 BenJackson: try crawl :) 2011-12-12T00:53:09 bmh: I'm playing Skyrim :) 2011-12-12T00:53:49 mid-game I'm finding that my goals become instable and ants near the hill never really run away from the hill. Suggestions? 2011-12-12T00:54:14 same thing happened to me 2011-12-12T00:54:38 couple ideas: change your idea of explored ever to explored "recently" 2011-12-12T00:54:45 so it keeps refreshing 2011-12-12T00:54:55 or add the refreshing one as a secondary goal 2011-12-12T00:55:03 V7 did something like that, I think 2011-12-12T00:56:07 v2 beats v3. I think I might have made a mistake 2011-12-12T00:56:23 that's why I keep all the old ones around 2011-12-12T00:56:33 That's why I use git and tags 2011-12-12T00:56:41 yep 2011-12-12T00:58:08 v2 uses integer values for goals and each ant moves toward its nearest goal. v3 transforms those scores 1/sqrt(n) and then sums over the directions 2011-12-12T00:58:13 *** Antimony has quit IRC (Ping timeout: 248 seconds) 2011-12-12T00:58:21 *** skalogryz has joined #aichallenge 2011-12-12T00:58:28 *** Antimony has joined #aichallenge 2011-12-12T00:59:16 I used integer values for goals 2011-12-12T00:59:24 but then I scaled them 2011-12-12T00:59:34 something like if > threshold use *mul/div 2011-12-12T00:59:49 so local goals would use 1/n to make it uninteresting far away 2011-12-12T01:00:01 errr n/1 2011-12-12T01:00:10 and goals like hills would use 1/n so it seemed "closer" 2011-12-12T01:00:50 oh, I see the problem. Some of my BFSs are blocked by ants. Ants go through choke points near the hill, which causes other ants to reverse course 2011-12-12T01:00:55 I'm pretty much convinced now that despite my attempts to avoid it the only way to win is going to be to assign to each individual bot 2011-12-12T01:01:38 yeah I wrote path costing but I've yet to use it 2011-12-12T01:01:47 I'm afraid of how... emergent... its behavior coudl be 2011-12-12T01:02:42 my costing is implicit. The BFS gets staunched at an ant, so the scores traveling through an ant are something like: n, n+1, n+3 2011-12-12T01:02:53 *** skalogryz has quit IRC (Ping timeout: 258 seconds) 2011-12-12T01:05:01 BenJackson: are you still running v4 on my server? 2011-12-12T01:05:15 I think it's running now 2011-12-12T01:05:24 I stopped V7 when someone mentioned it was beating them a lot 2011-12-12T01:06:11 do you guys use an ant to block BFS? i currently don't, makes my exploration weaker 2011-12-12T01:06:30 not sure it does, really 2011-12-12T01:06:33 one ant doesn't block much 2011-12-12T01:06:51 even if the cost of the ant is 1000 the cost of walking around the ant is only like 5 2011-12-12T01:07:31 plus let's say it DOES work (there's a chokepoint). do you really mean that THAT ant is responsible for everything on the other side? 2011-12-12T01:07:38 since it is "on the way" over there 2011-12-12T01:08:26 yes. my problem is that at chokepoints my ants just pile up there 2011-12-12T01:08:42 AntDroid_: I block BFS depending on the goal type -- 'enemy ant,' yes, to get my ants to flow around and try to envelop the target 2011-12-12T01:08:53 so i wanted to limit the number of ants there at 1 layer 2011-12-12T01:09:23 the problem is that at mazes my exploration doesn't work well 2011-12-12T01:11:12 I still need combat. oops. 2011-12-12T01:12:21 bmh: did you try the "simple" one on the forum? 2011-12-12T01:12:38 BenJackson: nope. Haven't looked at the forum lately 2011-12-12T01:12:49 bmh: i used to block BFS when enemy ant is encountered, i cant remember anymore why my current implementation just subtracts a value whne an ant is encountered 2011-12-12T01:13:20 BenJackson: is that the one by Memetix? 2011-12-12T01:15:13 "yeah 2011-12-12T01:15:31 BenJackson: for doing so many dumb things, v3 is running over your v4 http://bhickey.net:2080/replay.7228 2011-12-12T01:17:05 i've managed to implement the calculations on the technique but what i can't get is how to command my ants to do combat with that, the only thing i could use it for is to determine if a square you're stepping to is safe, draw, or not 2011-12-12T01:18:18 yes, well, v4 is terrible :) 2011-12-12T01:19:29 bmh: if you're runnign out of disk space you coudl go do a query to delete all the v4 vs v5 games 2011-12-12T01:19:32 *** Antimony has quit IRC (Ping timeout: 252 seconds) 2011-12-12T01:19:37 which must be 1000s 2011-12-12T01:19:41 BenJackson: I took down the machine and gave it an extra 4gb 2011-12-12T01:19:49 *** shleb has joined #aichallenge 2011-12-12T01:19:55 It ran out of space because I installed every Haskell library 2011-12-12T01:20:45 BenJackson: http://bhickey.net:2080/replay.7234 I think I might be on to something. 2011-12-12T01:21:03 *** gazpachoking has left #aichallenge ("Leaving") 2011-12-12T01:21:07 *** ltriant has quit IRC (Quit: Computer has gone to sleep) 2011-12-12T01:24:13 *** Jak_o_Shadows has joined #aichallenge 2011-12-12T01:25:02 Im following the tutorial, anyone answer a python question me? 2011-12-12T01:25:12 *mind answering 2011-12-12T01:25:59 bmh: wow that's hard to watch 2011-12-12T01:26:02 those bots are terrible :) 2011-12-12T01:26:30 BenJackson: three weeks ago, I'd be in the top 20. 2011-12-12T01:29:41 *** shleb has quit IRC (Quit: Page closed) 2011-12-12T01:34:18 BenJackson: does my exploration (apart from the food bug at 365) look ok? 2011-12-12T01:35:39 can some one give me a sanity check? 2011-12-12T01:35:51 I've got a combat situation I want a review on 2011-12-12T01:36:02 a a _ _ b 2011-12-12T01:36:39 my thought is the "correct" move is the close a goes up or down, and the furthur slides in it's place 2011-12-12T01:39:40 McLeopold: Agree 2011-12-12T01:40:00 so, shouldn't a1k0n's method be able to solve that? 2011-12-12T01:41:21 yes. 2011-12-12T01:41:40 bmh: I wonder what I'm doing wrong then... 2011-12-12T01:42:52 bmh: what is your food bug? 2011-12-12T01:43:17 McLeopold: I only consider food that can be seen at the moment. 2011-12-12T01:44:17 what the 2011-12-12T01:44:17 hell 2011-12-12T01:44:20 java is being RETARDED 2011-12-12T01:44:36 zoneMap = combatMap; 2011-12-12T01:44:43 where zonemap is int[][] zoneMap 2011-12-12T01:44:51 = complete bot freeze 2011-12-12T01:44:51 :| 2011-12-12T01:49:12 *** Harpyon has quit IRC (Quit: Textual IRC Client: http://www.textualapp.com/) 2011-12-12T01:50:38 Fluxid: btw, your tcp server has slowed to a crawl for some reason 2011-12-12T01:50:53 http://ants.fluxid.pl/player/strcat_push 2011-12-12T01:51:20 well 2011-12-12T01:51:24 I guess it's not that bad :P 2011-12-12T01:51:35 there are just a lot of good bots now so games take a long time 2011-12-12T01:52:13 there seem to be a lot of timeouts now though 2011-12-12T01:56:24 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has quit IRC (Quit: Lost terminal) 2011-12-12T02:01:06 *** epicmonkey has joined #aichallenge 2011-12-12T02:07:59 bug fixed. My bot has object permanence. 2011-12-12T02:09:45 *** raemde_ is now known as raemde 2011-12-12T02:10:04 *** epicmonkey has quit IRC (Ping timeout: 240 seconds) 2011-12-12T02:15:04 arg, my battle simulator assumes ants can't move on to each other :( 2011-12-12T02:15:18 considering I wrote the dang engine, that is pretty stupid :( 2011-12-12T02:15:51 *** TheLinker has quit IRC (Quit: Bye) 2011-12-12T02:16:02 McLeopold: why do we pick up food by walking next to it? 2011-12-12T02:16:20 instead of on it? 2011-12-12T02:16:24 yes 2011-12-12T02:16:45 we originally had a radius, so you only had to be within 3 squares 2011-12-12T02:16:54 then we started playing with the numbers 2011-12-12T02:17:21 at one point it was highly likely that 2 ants could both be within range, it which case the food would vanish 2011-12-12T02:18:08 we lowered it to 1, which at the time was the closest you could get, because we wanted the map in a matrix and you couldn't have 2 things at the same spot 2011-12-12T02:18:24 what would happen if a*b ? 2011-12-12T02:18:29 *** roflmao has left #aichallenge 2011-12-12T02:18:50 AntDroid_: food goes away, no one gets it 2011-12-12T02:18:57 but it can't happen 2011-12-12T02:18:58 who gets the food? is it vanished or both ants will kill each other? 2011-12-12T02:19:10 the attack will happen first, and the ants will die 2011-12-12T02:19:30 McLeopold: can still happen only if the food spawns next to a hill at the same time an ant spawns on the hill 2011-12-12T02:19:38 also, we had battle types that allowed ants to live if they were near each other, so we needed the rule for that as well 2011-12-12T02:19:46 ahh, right 2011-12-12T02:19:50 janzert: nope 2011-12-12T02:20:07 well, yes, you can see it, but the gather happens after the deaths 2011-12-12T02:20:14 so the next turn will be _*_ 2011-12-12T02:20:52 ah. okay. 2011-12-12T02:24:15 *** Garf has quit IRC (Ping timeout: 240 seconds) 2011-12-12T02:25:13 *** bmh has quit IRC (Quit: Page closed) 2011-12-12T02:34:20 McLeopold: can two ants not be in range of food after battle? 2011-12-12T02:34:29 ooh, janzert answered 2011-12-12T02:34:47 bmh: ants also used to spawn at food before ant hills, so it wouldn't have worked very well to spawn ants tehre 2011-12-12T02:38:01 *** GeorgeSebastian has joined #aichallenge 2011-12-12T02:39:38 *** Jak_o_Shadows has quit IRC (Read error: Connection reset by peer) 2011-12-12T02:41:37 *** Jak_o_Shadows has joined #aichallenge 2011-12-12T03:00:25 *** mviel has joined #aichallenge 2011-12-12T03:02:31 *** Garf has joined #aichallenge 2011-12-12T03:07:30 *** Hexren has joined #aichallenge 2011-12-12T03:07:32 *** Hexren has left #aichallenge 2011-12-12T03:09:49 *** mj41 has joined #aichallenge 2011-12-12T03:14:54 *** ikaros has joined #aichallenge 2011-12-12T03:17:27 hk 2011-12-12T03:37:09 *** Blkt has joined #aichallenge 2011-12-12T03:47:48 @rankings 2011-12-12T03:47:49 BenJackson: Top 10 players: pguillory(93.5), xathis(92.7), GreenTea(91.4), ChrisH(90.3), lazarant(89.9), delineate(89.7), Memetix(88.2), FlagCapper(88.1), a1k0n(87.7), BenJackson(87.2) 2011-12-12T03:47:56 *** Blkt has quit IRC (Remote host closed the connection) 2011-12-12T03:48:15 my bot dropped like 50 places this weekend 2011-12-12T03:48:22 people must be submitting new ones like crazy 2011-12-12T03:48:38 I'm trying to figure out if I moved back up or if some people resub'd 2011-12-12T03:48:40 They want to get testing in before the final 2011-12-12T03:48:45 my bot is slowly climbing the ranks 2011-12-12T03:48:47 at 807 now! 2011-12-12T03:48:58 if only i could make my battle code faster 2011-12-12T03:49:02 stupid thing timesout all the time 2011-12-12T03:49:08 my move generator for minmax sucks 2011-12-12T03:49:16 maybe i should just switch to the battle described in the forums 2011-12-12T03:49:32 it's obviously "enough" 2011-12-12T03:49:42 since that guy is Memetix 2011-12-12T03:49:43 did it work for you ben? 2011-12-12T03:49:55 My bot blows and I am at 1400s 2011-12-12T03:49:56 no, I wrote mine before that and it's much different 2011-12-12T03:50:03 ah k 2011-12-12T03:50:08 Hope to have a new bot ready tonight to resub and see where it can go 2011-12-12T03:50:12 I don't think combat is differentiating that much in the top 10 2011-12-12T03:50:13 a1k0n is also doing quite well 2011-12-12T03:50:19 I think in the top 10 it's back to strategy 2011-12-12T03:50:20 so mostly exploration? 2011-12-12T03:50:24 and when to fight 2011-12-12T03:50:33 look at xathis on fluxid 2011-12-12T03:50:41 his positioning of ants is crazy good 2011-12-12T03:50:48 * Wraithan started late so his goal is to break into the top 500 2011-12-12T03:50:58 wraithan: beware creeping goals 2011-12-12T03:51:06 I was happy with top 25 or so until I broke into the top 10 :) 2011-12-12T03:51:19 BenJackson: heh 2011-12-12T03:51:26 I'm already spending all my spare time on my bot 2011-12-12T03:51:33 but I just got started last weekend 2011-12-12T03:51:54 so at this instant I'm #10. my vague goal would be to be solidly in the top 10 so as to be sure to stay there in the finals 2011-12-12T03:52:00 nice ben 2011-12-12T03:52:07 *** olexs has joined #aichallenge 2011-12-12T03:53:09 BenJackson: that can be hard, you have no idea what will be submitted the 17th :P 2011-12-12T03:53:42 that's why being #10 (or say #13 like I was earlier this afternoon) is no good! 2011-12-12T03:54:04 If you don't have a top ranking bot is it worth playing on fluxid? 2011-12-12T03:54:21 sure, there's a mix of bots 2011-12-12T03:54:30 http://pastebin.com/QUxumwqt current top 20 mu 2011-12-12T03:54:33 if you're at 1500 you might try bhasker.net instead 2011-12-12T03:54:39 fluxid has insaly good bots 2011-12-12T03:54:44 BenJackson: thanks 2011-12-12T03:54:52 bhasker.net?? lol 2011-12-12T03:54:53 *** Blkt has joined #aichallenge 2011-12-12T03:54:56 server spot = fluxid spot / 2 :P 2011-12-12T03:55:03 did i just host a server there? 2011-12-12T03:55:04 err bhickey.net 2011-12-12T03:55:13 bh*something ;) 2011-12-12T03:56:13 janzerT: you should make that a page 2011-12-12T03:56:33 anyway that list by mu is pretty close to what's in my mind 2011-12-12T03:56:46 I don't expect to be xathis, pguillory or ChrisH 2011-12-12T03:56:50 people would pretty certainly generally take the wrong idea from such a page 2011-12-12T03:56:54 haven't been watching GreenTea or Flag lately 2011-12-12T03:57:04 *** Jak_o_Shadows has quit IRC (Remote host closed the connection) 2011-12-12T03:57:12 wow my sigma fell below xathis? 2011-12-12T03:57:26 isn't that expected? 2011-12-12T03:57:35 it's harder for xanthis to find close opponents 2011-12-12T03:57:41 he's got like 2x my games though 2011-12-12T04:33:42 *** Fandekasp has quit IRC (Ping timeout: 248 seconds) 2011-12-12T04:35:18 *** Hexren has joined #aichallenge 2011-12-12T04:35:19 *** Hexren has left #aichallenge 2011-12-12T04:47:42 thestinger: you are saved by an unfortunate timeout of my bot here: http://ants.fluxid.pl/replay.27605 2011-12-12T04:48:21 my combat algo sucks but it is being compensated by sheer number 2011-12-12T04:50:29 *** ikaros has quit IRC (Quit: Ex-Chat) 2011-12-12T04:54:27 *** liberforce has joined #aichallenge 2011-12-12T05:03:38 *** replore has quit IRC (Read error: Connection reset by peer) 2011-12-12T05:06:08 *** pairofdice has joined #aichallenge 2011-12-12T05:09:38 *** amstan has quit IRC (Ping timeout: 240 seconds) 2011-12-12T05:12:34 *** raemde_ has joined #aichallenge 2011-12-12T05:15:16 *** raemde has quit IRC (Ping timeout: 240 seconds) 2011-12-12T05:18:05 *** mviel_ has joined #aichallenge 2011-12-12T05:18:54 *** mviel has quit IRC (Read error: Connection reset by peer) 2011-12-12T05:20:34 go to the first 100 over the night.. three non-1st-place games out of 15 2011-12-12T05:21:45 *** olexs has quit IRC (Quit: Leaving.) 2011-12-12T05:23:56 *** AntDroid_ has quit IRC (Ping timeout: 258 seconds) 2011-12-12T05:26:21 is it possible that visionradius2 changes in the final contest?? 2011-12-12T05:28:09 it may change 2011-12-12T05:29:14 pretty certainly at this stage none of the radius variables will change 2011-12-12T05:33:52 *** vjacob has quit IRC (Quit: Leaving) 2011-12-12T05:44:22 *** nha has joined #aichallenge 2011-12-12T05:50:21 *** jstemmer has joined #aichallenge 2011-12-12T05:58:00 *** raemde_ is now known as raemde 2011-12-12T06:03:31 *** ikaros has joined #aichallenge 2011-12-12T06:04:15 *** sigh has joined #aichallenge 2011-12-12T06:11:22 *** Kurnevsky has joined #aichallenge 2011-12-12T06:11:34 *** Fandekasp has joined #aichallenge 2011-12-12T06:11:38 *** raemde has quit IRC (Read error: Connection reset by peer) 2011-12-12T06:19:38 *** JakeFisher has joined #aichallenge 2011-12-12T06:29:11 *** JakeFisher has quit IRC (Quit: Page closed) 2011-12-12T06:31:24 *** Kurnevsky1 has joined #aichallenge 2011-12-12T06:31:24 *** Kurnevsky has quit IRC (Read error: Connection reset by peer) 2011-12-12T06:58:20 *** g0llum has joined #aichallenge 2011-12-12T07:14:35 *** AntDroid has quit IRC (Quit: Page closed) 2011-12-12T07:18:33 *** replore has joined #aichallenge 2011-12-12T07:19:33 *** replore has quit IRC (Remote host closed the connection) 2011-12-12T07:26:37 *** Nitro has joined #aichallenge 2011-12-12T07:28:24 *** Nitro has quit IRC (Client Quit) 2011-12-12T07:29:16 *** TL_ has joined #aichallenge 2011-12-12T07:29:46 *** Conorach has joined #aichallenge 2011-12-12T07:32:11 *** ikaros has quit IRC (Ping timeout: 268 seconds) 2011-12-12T07:33:54 *** Antimony has joined #aichallenge 2011-12-12T07:38:54 *** praveen has joined #aichallenge 2011-12-12T07:45:04 *** ikaros has joined #aichallenge 2011-12-12T07:48:57 *** Antimony has quit IRC (Ping timeout: 255 seconds) 2011-12-12T07:49:36 *** ikaros has quit IRC (Remote host closed the connection) 2011-12-12T08:10:11 *** ikaros has joined #aichallenge 2011-12-12T08:23:07 *** mviel__ has joined #aichallenge 2011-12-12T08:26:43 *** mviel_ has quit IRC (Ping timeout: 245 seconds) 2011-12-12T08:39:46 *** liuw has joined #aichallenge 2011-12-12T08:44:37 *** u_ has joined #aichallenge 2011-12-12T08:45:22 *** u__ has joined #aichallenge 2011-12-12T08:45:23 *** wuil has joined #aichallenge 2011-12-12T08:46:39 *** wuil has quit IRC (Client Quit) 2011-12-12T08:48:47 *** u_ has quit IRC (Ping timeout: 240 seconds) 2011-12-12T08:48:47 *** u__ is now known as u_ 2011-12-12T08:50:40 *** raemde has joined #aichallenge 2011-12-12T08:53:19 *** keolpkojihu has joined #aichallenge 2011-12-12T08:54:05 quiet channel is quiet 2011-12-12T08:54:15 *** UncleVasya has joined #aichallenge 2011-12-12T08:59:04 *** flowenol has joined #aichallenge 2011-12-12T09:01:35 *** mviel_ has joined #aichallenge 2011-12-12T09:04:39 *** |UncleVasya| <|UncleVasya|!kvirc@31-12-143-177.dialup.umc.net.ua> has joined #aichallenge 2011-12-12T09:05:13 *** mviel__ has quit IRC (Ping timeout: 252 seconds) 2011-12-12T09:06:18 *** UncleVasya has quit IRC (Ping timeout: 252 seconds) 2011-12-12T09:13:13 *** TheLinker has joined #aichallenge 2011-12-12T09:15:02 *** avdg has joined #aichallenge 2011-12-12T09:18:40 *** Anilm3 has joined #aichallenge 2011-12-12T09:19:05 Hi guys 2011-12-12T09:19:53 Hewwo 2011-12-12T09:21:57 *** sigh has quit IRC (Remote host closed the connection) 2011-12-12T09:28:05 *** QuirionPT has joined #aichallenge 2011-12-12T09:29:30 *** keolpkojihu has quit IRC (Quit: Leaving) 2011-12-12T09:33:13 http://aichallenge.org/visualizer.php?game=205479&user=757 this game... those bots are few whole levels above 2011-12-12T09:35:25 *** tobym has joined #aichallenge 2011-12-12T09:36:19 *** Antimony has joined #aichallenge 2011-12-12T09:39:07 *** mviel__ has joined #aichallenge 2011-12-12T09:40:27 *** Areks has quit IRC (Ping timeout: 268 seconds) 2011-12-12T09:42:36 Big walls 2011-12-12T09:42:55 *** mviel_ has quit IRC (Ping timeout: 268 seconds) 2011-12-12T09:47:02 *** Antimony has quit IRC (Ping timeout: 252 seconds) 2011-12-12T09:50:55 *** roflmao has joined #aichallenge 2011-12-12T09:54:19 *** xathis has joined #aichallenge 2011-12-12T09:57:13 impressive fighting skills 2011-12-12T10:02:41 Fluxid: pguillory is very aggressive 2011-12-12T10:05:18 he's like a spartan 2011-12-12T10:05:22 lol 2011-12-12T10:05:22 or a klingon 2011-12-12T10:05:34 he wins! 2011-12-12T10:05:45 Qapla'!!! 2011-12-12T10:06:07 *** roflmao has quit IRC (Ping timeout: 240 seconds) 2011-12-12T10:08:55 i have no idea if and how he intentionaly isolates enemy 2011-12-12T10:09:13 it looks like he actually work on isolating anemy and killing one by one 2011-12-12T10:13:14 Certainly looks that way 2011-12-12T10:13:48 another thing I noticed 2011-12-12T10:14:06 is that he takes into account enemy ants when attacking to a third enemy 2011-12-12T10:14:37 I don't know if it's intentional or just something emergent 2011-12-12T10:15:24 maybe its trying to make hidden formations 2011-12-12T10:15:30 *** Palmik has joined #aichallenge 2011-12-12T10:15:37 what do you mean? 2011-12-12T10:16:07 *** praveen has quit IRC (Quit: Page closed) 2011-12-12T10:18:17 I have the impression he is trying to squeeze enemies, though I have to see more games 2011-12-12T10:20:41 hmm, nah, I think he is just exploring every corner, go as far as the ants can go, then pick enemies that are squeezed 2011-12-12T10:23:00 *** BEASTMODE has quit IRC (Remote host closed the connection) 2011-12-12T10:23:00 *** nickjohnson has quit IRC (Remote host closed the connection) 2011-12-12T10:23:14 *** BEASTMODE has joined #aichallenge 2011-12-12T10:26:31 *** nickjohnson has joined #aichallenge 2011-12-12T10:32:55 *** mviel__ is now known as mviel 2011-12-12T10:35:04 *** amstan has joined #aichallenge 2011-12-12T10:35:04 *** ChanServ sets mode: +o amstan 2011-12-12T10:58:27 *** nha has quit IRC (Ping timeout: 240 seconds) 2011-12-12T11:16:52 *** bergmark_ has joined #aichallenge 2011-12-12T11:20:27 *** dvladim has joined #aichallenge 2011-12-12T11:24:46 *** jstrong has joined #aichallenge 2011-12-12T11:31:30 *** JorgeB has joined #aichallenge 2011-12-12T11:32:29 Hola JorgeB 2011-12-12T11:32:48 morning 2011-12-12T11:33:08 *** flowenol has quit IRC (Ping timeout: 240 seconds) 2011-12-12T11:41:52 http://aichallenge.org/visualizer.php?game=206254&user=757 achievment unlocked: handled 432 ants without timeout and still working "combat" 2011-12-12T11:43:38 I wonder about games like this: http://aichallenge.org/visualizer.php?game=199516 2011-12-12T11:43:39 Beautifull guerrilla action 2011-12-12T11:44:38 (my bot isn't as good as I wanted) 2011-12-12T11:45:11 avdg: your bot is "gauss bot" 2011-12-12T11:45:22 almost gaussian distrubution :) 2011-12-12T11:45:40 central limit theorem and all that 2011-12-12T11:45:41 I don't have time for developing my bot 2011-12-12T11:45:41 meh, I wish I didn't had a lot of frustrations 2011-12-12T11:45:48 it's so sad to see it rot 2011-12-12T11:46:16 SIX MORE DAYS 2011-12-12T11:46:20 :p 2011-12-12T11:46:21 at least it ranks high on ants in the hive 2011-12-12T11:46:26 :( 2011-12-12T11:46:33 js -> slow c++ -> no skillz 2011-12-12T11:47:27 204 ants and 2115 in the hive, I don't think I've seen that much ever before 2011-12-12T11:48:01 the hive could be a lot higher 2011-12-12T11:48:13 It's important to have reserves :) 2011-12-12T11:48:23 :p 2011-12-12T11:53:55 Java bots seem to do well 2011-12-12T11:54:26 c++ has a strong showing aswell 2011-12-12T11:54:49 <|UncleVasya|> And do not forget OCaml! 2011-12-12T11:55:33 I don't even know what that is ;) 2011-12-12T11:55:40 *** bergmark_ has quit IRC (Ping timeout: 240 seconds) 2011-12-12T11:56:21 * a1k0n shakes his fist at Memetix 2011-12-12T12:05:14 *** Harpyon has joined #aichallenge 2011-12-12T12:05:19 Fluxid: 460ms, cutting it close eh? 2011-12-12T12:06:11 i like the way easydoesit moves 2011-12-12T12:07:14 *** Dlayne has left #aichallenge 2011-12-12T12:08:29 *** bergmark_ has joined #aichallenge 2011-12-12T12:13:43 *** Ashoka has joined #aichallenge 2011-12-12T12:16:19 holy crap xathis resubmitted? 2011-12-12T12:16:44 a1k0n: run 2011-12-12T12:17:18 @rankings 2011-12-12T12:17:20 Anilm3: Top 10 players: pguillory(93.6), GreenTea(91.3), FlagCapper(91.1), ChrisH(90.4), lazarant(90.0), delineate(89.5), Memetix(88.9), a1k0n(88.8), BenJackson(87.4), Hammerok(86.8) 2011-12-12T12:17:25 :O 2011-12-12T12:17:59 interesting development!!! 2011-12-12T12:18:57 oh 2011-12-12T12:19:09 *** SMJ has joined #aichallenge 2011-12-12T12:19:18 xathis takes out the secret weapon 2011-12-12T12:19:39 I was wondering where xathis disappeared 2011-12-12T12:19:53 nuclear powered ants! 2011-12-12T12:20:02 from the ranking 2011-12-12T12:20:09 amstan: Went do the finals start? 2011-12-12T12:20:19 hm i'm on the homepage again, always weird to see that 2011-12-12T12:20:20 *** hkraal^afk is now known as hkraal_ 2011-12-12T12:21:03 actually I'm still wondering 2011-12-12T12:21:09 tcp? 2011-12-12T12:21:47 *** GeorgeSebastian has quit IRC (Read error: Connection reset by peer) 2011-12-12T12:21:51 xathis's profile must be the most visited page of today 2011-12-12T12:22:41 I see, a new version 2011-12-12T12:23:18 probably of all time 2011-12-12T12:23:26 (except homepage) 2011-12-12T12:23:27 pguillory's F5 must be on fire 2011-12-12T12:23:40 *** besh has joined #aichallenge 2011-12-12T12:24:05 * avdg f5's his page (bot in game) 2011-12-12T12:26:13 *** Blkt has quit IRC (Quit: ERC Version 5.3 (IRC client for Emacs)) 2011-12-12T12:26:14 hmm, there are 5 players ahead now and I still didn't play a game :/ 2011-12-12T12:26:26 I wonder what happened 2011-12-12T12:26:29 avdg: check if your submission is active 2011-12-12T12:26:39 its just submitted 2011-12-12T12:27:07 ah 2011-12-12T12:27:15 game finished 2011-12-12T12:30:16 xathis resubmitted? wow 2011-12-12T12:30:30 dang, he played starter bots :( 2011-12-12T12:31:06 :p 2011-12-12T12:31:27 I wonder whats next, probably timeout bots 2011-12-12T12:31:38 well duh, everyone gets to beat up on starter bots 2011-12-12T12:32:00 but they have both been deactivated for a month 2011-12-12T12:32:08 did that change the mu distribution a lot? suddenly I'm alone at 87.5 2011-12-12T12:32:12 I'm the only person in the 87s 2011-12-12T12:32:13 doesn't mean they can't play games 2011-12-12T12:32:31 yesterday I was so close to RVeerdonk I was bouncing back and forth every game 2011-12-12T12:33:29 * avdg wonders when xathis will play 2011-12-12T12:33:35 haahaha 2011-12-12T12:33:37 me too 2011-12-12T12:34:08 i keep switching places with Memetix 2011-12-12T12:34:30 so i guess it is indeed fair to say our approaches are broadly comparable 2011-12-12T12:34:45 except his takes 1/1000th the CPU power 2011-12-12T12:34:49 haha 2011-12-12T12:35:05 a1k0n: I think he also has a lot of logic he didn't describe 2011-12-12T12:35:16 perhaps. i guess i do too 2011-12-12T12:35:55 a1k0n: I implemented formations and shoehorned it into your method 2011-12-12T12:36:01 it's helped out alot 2011-12-12T12:36:07 formations eh 2011-12-12T12:36:10 I don't have to do the dependant ant thing 2011-12-12T12:36:23 meaning you consider moves of ants in formation together? 2011-12-12T12:36:32 kind of 2011-12-12T12:36:43 you're not going to submit your bot? 2011-12-12T12:36:50 after moving 1 ant, I get a hash of only my ants and their formation 2011-12-12T12:36:54 a1k0n: no 2011-12-12T12:36:56 I wish I could do big array operations (preferably with a simple syntax) 2011-12-12T12:37:40 for each formation formed by a single ant's best move, inc the counter by one 2011-12-12T12:37:42 *** Antimony has joined #aichallenge 2011-12-12T12:37:46 how do you represent formations? 2011-12-12T12:38:06 then instead of returning individual moves, I return formations, with the instructions to reach them 2011-12-12T12:38:15 I hate when I break my code completely 2011-12-12T12:38:19 *** pguillory has joined #aichallenge 2011-12-12T12:38:31 this also help avoid ant swaping 2011-12-12T12:38:44 it's all in python and very slow 2011-12-12T12:38:51 a fomation is a tuple of tuples :) 2011-12-12T12:38:55 I just accepted ant swapping 2011-12-12T12:38:58 my implementation doesn't allow swapping 2011-12-12T12:39:06 because it was going to be more expensive to eliminate it 2011-12-12T12:39:09 could add a peephole optimizer to un-swap them :) 2011-12-12T12:39:17 and sometimes a whole bunch of meaningless moves actually do something 2011-12-12T12:39:22 except if I have a version to move 2 ants at the same time (which requires me to write an other function) 2011-12-12T12:39:44 I do allow swaping, I just don't consider different ways to rotate into the same position as different 2011-12-12T12:40:07 My bot had more than 600 ants but fortunately it didn't time out. But all of its ants were piled up at choke points. 2011-12-12T12:40:12 so, whichever random set of moves made the formation the first time, that is all I store 2011-12-12T12:40:14 so i don't get it. how do you decide which ants are part of which formation? 2011-12-12T12:40:19 How do you avoid that ? 2011-12-12T12:40:38 a formation is a list of final destinations for my ants only 2011-12-12T12:40:41 *** GeorgeSebastian has joined #aichallenge 2011-12-12T12:40:44 for all of your ants? 2011-12-12T12:40:55 should work fine 2011-12-12T12:40:57 oh, I separate ants into combat theaters 2011-12-12T12:41:00 I was hoping you would say eigenvectors ;) 2011-12-12T12:41:01 oh ok 2011-12-12T12:41:08 oh shit that's a good idea, though 2011-12-12T12:41:08 *** ikaros has quit IRC (Quit: Ex-Chat) 2011-12-12T12:41:10 pairofdice: :p 2011-12-12T12:41:26 a1k0n: it helped me solve this a a _ _ b 2011-12-12T12:42:02 the left ant moving east is good most of the time, the right ant moving up or down to line up with it is good half the time 2011-12-12T12:42:19 wow, I almost won a game with no food collecting code working 2011-12-12T12:42:20 the same is with moving backwards, right goes west, left goes up or down 2011-12-12T12:42:22 kinda funny 2011-12-12T12:42:45 so for each individual ant, moving e or w was the best move, so they just swapped places 2011-12-12T12:42:55 funny, my only cares about collecting food 2011-12-12T12:43:18 avdg: I broke the base code that processed food tiles hah 2011-12-12T12:43:31 I think it was spectral clustering.... 2011-12-12T12:45:04 McLeopold: ah yes, heh 2011-12-12T12:45:07 is anyone using any more sophisticated distance heuristics than manhattan? 2011-12-12T12:45:14 like waypoints or whatnot? 2011-12-12T12:46:01 a1k0n: so, if a combat set is large enough, there is no way I can hit all the formations, and I might not hit a formation more than a couple of times 2011-12-12T12:46:11 a1k0n: that's where your sampling method comes in 2011-12-12T12:46:18 *** Ashoka has quit IRC (Ping timeout: 258 seconds) 2011-12-12T12:46:40 the pousse program I lost to was clever about searching the move tree 2011-12-12T12:46:53 they hashed the whole board and if any tree hit that board again they knew the result already 2011-12-12T12:47:07 zobrist hashing 2011-12-12T12:47:10 there's a hashing function named aftloses 2011-12-12T12:48:00 McLeopold: do you have a replay of your strategy? 2011-12-12T12:48:13 Anilm3: yeah, hold on 2011-12-12T12:49:04 YESSS!! 2011-12-12T12:49:06 bug DOWN 2011-12-12T12:50:03 two big bugs down 2011-12-12T12:50:26 xathis: is taking a long time for his next game... 2011-12-12T12:50:31 -: 2011-12-12T12:50:51 jstrong: yesterday I found my entire exploration frontier was one square to the east of where it should have been 2011-12-12T12:50:54 sadly not a game changer :) 2011-12-12T12:51:44 I expect that xathis will play in around 20 min 2011-12-12T12:51:56 bj: hah nice 2011-12-12T12:52:08 bj: today I discovered that 1. i was double counting enemies for my new island system 2011-12-12T12:52:17 which is why the whole prediction went to the toilet and my bot skill went to the toilet as well 2011-12-12T12:52:17 wow, I just sat here for 5 minutes debugging my combat 2011-12-12T12:52:27 to realize I commented out the call to run it 2011-12-12T12:52:33 and 2. I was using information about ENEMY ANTS for combat prediction moves 2011-12-12T12:52:39 when i should have been suing the maps for MY ants 2011-12-12T12:52:53 creating stupid prediction moves for my enemies also screwing around with the payoff matrix 2011-12-12T12:53:09 http://paste.aichallenge.org/Ek04K/ 2011-12-12T12:53:44 which explains why i would get into so many 1v1s 2011-12-12T12:53:54 because the "offensive" move I'd predict for my enemy didn't actually pit him against me 2011-12-12T12:54:06 making the me defense he offense score be a nice 0 2011-12-12T12:54:09 meaning a neutral move 2011-12-12T12:54:16 meaning my bot would suicide into enemy ants sometimes 2011-12-12T12:56:40 now maybe this will make my bot worse 2011-12-12T12:56:44 since it will make it more cautious 2011-12-12T12:56:55 meaning i gotta tweak some of the other stuff to implement intentional aggressivity xD 2011-12-12T12:57:41 <@amstan> Fluxid: 460ms, cutting it close eh? ← sorry... is that bad? i try to iterate until i find best solution, sometimes it hits time limit, when tried to limit it to loop count it failed hard... 2011-12-12T12:57:52 Fluxid: no, i'm just commenting 2011-12-12T12:58:02 k 2011-12-12T12:58:24 *** Israfel has quit IRC (Ping timeout: 268 seconds) 2011-12-12T12:58:45 18:16:18 < a1k0n> holy crap xathis resubmitted? ← HE GONNA BEAT OUR ASSES HARD 2011-12-12T12:58:50 wow its been 24 hours and my bot hasn't played a single game on official 2011-12-12T12:58:52 hahaha 2011-12-12T12:59:02 jstrong: you have to be the only one :P 2011-12-12T12:59:04 jstrong: deactivated? 2011-12-12T12:59:14 pairofdice: that might've been it 2011-12-12T12:59:17 i thought bots auto reactivated 2011-12-12T12:59:20 when you uploaded new code 2011-12-12T12:59:24 10 games per minute atm 2011-12-12T12:59:31 That's quite a bit 2011-12-12T12:59:40 jstrong: 22 mintues ago? 2011-12-12T12:59:41 They do 2011-12-12T13:00:02 acutally its -only- been 12 hrs 2011-12-12T13:00:10 jstrong: what is your bot name? 2011-12-12T13:00:22 oh, I'm roflmao 2011-12-12T13:00:42 i just couldn't secure that nickname on nickserv and my irc client is too stupid to have alternate nicknames 2011-12-12T13:00:43 48 seconds ago :) 2011-12-12T13:00:46 soo i have to change it manually 2011-12-12T13:00:49 *** jstrong is now known as roflmao 2011-12-12T13:01:39 What kind of a irc clinet is that. All I've ever tried have alt nicks 2011-12-12T13:01:47 client* 2011-12-12T13:02:22 Except maybe webclients 2011-12-12T13:02:37 well hang on 2011-12-12T13:02:44 by my "irc client is too stupid" 2011-12-12T13:02:57 i really mean "i'm too lazy to figure it out" 2011-12-12T13:03:23 it's usually default to have a _ after your original nick 2011-12-12T13:03:30 *** McLeopold has quit IRC (Quit: Leaving.) 2011-12-12T13:05:42 it was under preferences (duh) 2011-12-12T13:06:47 *** bhasker has quit IRC (Ping timeout: 252 seconds) 2011-12-12T13:07:34 *** mj41 has quit IRC (Ping timeout: 276 seconds) 2011-12-12T13:10:10 *** Israfel has joined #aichallenge 2011-12-12T13:11:13 xathis got a new fight 2011-12-12T13:12:02 49 steps only :/ 2011-12-12T13:12:04 49 turns lol 2011-12-12T13:13:32 * avdg looks back at his prediction :p 2011-12-12T13:13:43 http://fluxid.pl/misc/2011-12-12-191327_250x183_scrot.png Why do i see this only with js disabled 2011-12-12T13:14:30 my js is enabled, which browser are you using? 2011-12-12T13:14:43 mine too 2011-12-12T13:14:46 I see it with js enabled 2011-12-12T13:15:01 and that logo is quite new 2011-12-12T13:15:05 only a few days 2011-12-12T13:15:18 *** liberforce has left #aichallenge 2011-12-12T13:15:36 it disappears immediately after page finishes loading, and stays when i disable js (Opera 11.60) 2011-12-12T13:15:53 Fluxid: you have a plugin that does it maybe? 2011-12-12T13:16:06 adblock or something? 2011-12-12T13:17:16 I see it in opera with js enabled 2011-12-12T13:17:33 hm... then "Thanks to additional server sponsor" shuldn't dissapear, but lemme check 2011-12-12T13:17:49 right, adblock... 2011-12-12T13:18:04 sorry! 2011-12-12T13:18:18 anyway, i think xathis implemented enemy hill positon prediction 2011-12-12T13:18:31 xathis: tell us your new secrets 2011-12-12T13:19:03 Hey anybody tried seeing what happens when 3 ants move on the same tile? 2011-12-12T13:19:18 nuclear fusion 2011-12-12T13:19:29 whats next, four ants? 2011-12-12T13:19:30 i'm pretty sure he did, his ants rush in group to hill that wasn't seen 2011-12-12T13:19:30 :p 2011-12-12T13:19:52 rwest: WHAT ABOUT SIX? 2011-12-12T13:20:45 Will it blend?! 2011-12-12T13:20:54 move six ants to the same tile and every enemy dies and you get +100 bonus points 2011-12-12T13:20:57 pairofdice: I like the ipad one haha 2011-12-12T13:21:28 Fluxid: I was thinking like what Darhuuk said on forums, maybe you can take enemy hills like that if 1 ant is left 2011-12-12T13:21:55 rwest: what do you mean? 2011-12-12T13:22:17 you can raze hill even with ant on top of it 2011-12-12T13:22:18 say the enemy hill has ants in it 2011-12-12T13:22:27 maybe moving 2 ants onto it 2011-12-12T13:22:35 will cause 2 to die from collision and leave you 1 2011-12-12T13:22:42 to take it 2011-12-12T13:22:43 you don't need to spawnkill all the ants in hill 2011-12-12T13:23:10 I dunno if it works, that's why I asked if anybody has seen what happens when 3 ants stack 2011-12-12T13:23:51 You do, unless the ant moves 2011-12-12T13:23:55 Is how I understood it 2011-12-12T13:25:39 *** TheLinker has quit IRC (Quit: Bye) 2011-12-12T13:25:40 <|UncleVasya|> All ants are moved to their new positions. 2011-12-12T13:25:41 <|UncleVasya|> Any ants which occupy the same square are killed. 2011-12-12T13:25:55 <|UncleVasya|> rwest: this is a commentary from engine source code 2011-12-12T13:26:33 *** |UncleVasya| is now known as UncleVasya 2011-12-12T13:26:45 Hi Uncle 2011-12-12T13:28:56 UncleVasya: Yea I just read the source, it adds them to a list and kills them 2011-12-12T13:29:03 after all moves 2011-12-12T13:29:17 Anilm3: Hi 2011-12-12T13:29:23 *** TheLinker has joined #aichallenge 2011-12-12T13:29:33 *** Jacob_Strauss has joined #aichallenge 2011-12-12T13:32:16 *** dvladim has quit IRC (Ping timeout: 276 seconds) 2011-12-12T13:32:18 hmm 2011-12-12T13:32:22 i have this weird problem with my islands 2011-12-12T13:32:26 for combat resolution 2011-12-12T13:32:31 its not....local enough 2011-12-12T13:32:37 i'm just using AR 2011-12-12T13:32:50 but it can create this kind of huge chain creating a huge global island 2011-12-12T13:32:56 that really contains like 3-4 mini conflicts inside 2011-12-12T13:32:58 :-\ 2011-12-12T13:35:47 Damn combat. It's like pick two: effective, original, not-slow. :| 2011-12-12T13:36:18 I've tuned my prunning hard so I do not afraid big fights anymore. 2011-12-12T13:36:27 59th place 2011-12-12T13:36:38 Even more, I like big fights more now. 2011-12-12T13:36:46 picking c or c++ would get ride of at least 1 of them 2011-12-12T13:37:02 at least, if programming isn't a problem 2011-12-12T13:37:07 i think i'll take wednesday free at work and speedhack missing parts of my bot 2011-12-12T13:37:11 Or OCaml :D 2011-12-12T13:37:52 guys, will you publish your code after submissions are closed? 2011-12-12T13:38:20 It is a honor to do so. 2011-12-12T13:38:27 I hope some of the top bots do so I can have my revenge 2011-12-12T13:38:32 I'll do it, though it will serve no purpose imo 2011-12-12T13:38:50 i want to know the rocket science stuff behind top bots 2011-12-12T13:39:02 (i'll publish mine too of course) 2011-12-12T13:39:11 But you also need to make some cleanup in code to make it look not as ugly as it is :) 2011-12-12T13:39:32 * avdg would probably use uglify.js :p 2011-12-12T13:39:33 And write several lines about your strategy... 2011-12-12T13:39:35 *** roflmao has quit IRC (Quit: Leaving.) 2011-12-12T13:39:45 Maybe I'll be too lazy for it :) 2011-12-12T13:39:54 well, me too actually 2011-12-12T13:40:11 but I already have written an api 2011-12-12T13:40:13 wiki 2011-12-12T13:40:39 *** roflmao has joined #aichallenge 2011-12-12T13:40:40 I can't believe how many small problems prevents me to build a good bot 2011-12-12T13:40:52 roflmao: how are you doing "islands"? 2011-12-12T13:41:19 i compile a map of ints 2011-12-12T13:41:29 with all the tiles that are in the combat radius of any ant on the map 2011-12-12T13:41:30 btw, after last contest bots of different ranks were published. While being #310 I have found something interesting even in some bot with rank over 600. 2011-12-12T13:41:39 then I start a BFS from enemy tiles 2011-12-12T13:41:52 make sure they haven't been used for an already existing island 2011-12-12T13:42:06 and then ignore tiles that have a value of 0 on the map of ints 2011-12-12T13:42:11 (ergo they aren't part of a combat radius) 2011-12-12T13:42:17 so it grabs all clusters of combat radius 2011-12-12T13:42:23 .. but 2011-12-12T13:42:23 http://minus.com/m0NCqWkzA#1 2011-12-12T13:42:41 the pistachio ant way over on the left 2011-12-12T13:42:42 UncleVasya: its also a different ranking system if I'm right, but still an interesting fact 2011-12-12T13:42:44 is part of that one huge combat 2011-12-12T13:42:54 since there is an actual link between all the radiuses of that entire area 2011-12-12T13:43:03 when in reality they are two completely different combat zones 2011-12-12T13:43:15 so my ants on the bottom wont attack because the ant dying on top is reducing the score of an offensive move 2011-12-12T13:43:27 (on the left better said) 2011-12-12T13:44:31 maybe I should use attackradius MINUS 1? 2011-12-12T13:44:34 my method: 2011-12-12T13:44:36 for the int compilation 2011-12-12T13:44:40 1) find all enemy ants threatened by me 2011-12-12T13:44:48 2) find all my ants threatened by enemy 2011-12-12T13:45:13 into a common map label each combat radius of both sets using union-find to merge overlaps 2011-12-12T13:45:56 then for each label that was created, if it is the root of a union-find tree, pick all ants and enemies that are in that "island" 2011-12-12T13:46:37 then for each label if there were any ants in it (some will not have ants because they're not the root of a tree) run combat just like I did before 2011-12-12T13:46:40 but only considering those ants 2011-12-12T13:46:52 not sure what you mean by "label" 2011-12-12T13:47:29 *** tdubellz_ has joined #aichallenge 2011-12-12T13:47:45 ah i see 2011-12-12T13:47:49 for every ant in combat (both sides): in a grid of ints assign 'n' to every square in its combat radius 2011-12-12T13:47:56 if you find a pre-existing n, use union-find to merge it 2011-12-12T13:48:26 you could do it other ways, union-find is just the "best" way 2011-12-12T13:48:39 roflmao: I thought about dividing big combats into subcombats. 2011-12-12T13:48:52 but you could use maps or anything to say equiv[n] = some other n you found overlapping 2011-12-12T13:48:55 *** iglo has joined #aichallenge 2011-12-12T13:49:04 so long as you have a way to find some COMMON n for ALL n that got unioned 2011-12-12T13:49:04 I wonder if it wouldn't be interested to just create arrays of it with a number how high the threat would be 2011-12-12T13:49:26 It can increase your speed (at the cost of little decreasing of accuracy)/ 2011-12-12T13:49:48 it can be used for many things for simply 1 map 2011-12-12T13:49:54 right 2011-12-12T13:49:57 so the overlap of the combat zones 2011-12-12T13:50:04 But I found that optimizing move generator is much easier. 2011-12-12T13:50:25 using simple +1 on the int map this would mean a row/col value greater than 1 2011-12-12T13:50:35 (if you do it properly 2011-12-12T13:51:00 *** tdubellz_ is now known as tdubz 2011-12-12T13:51:12 and then you collect 2011-12-12T13:51:16 *** GeorgeSebastian has quit IRC (Read error: Connection reset by peer) 2011-12-12T13:51:17 ants that are on unioned ground? 2011-12-12T13:51:51 no that can't be right 2011-12-12T13:53:45 *** risico has joined #aichallenge 2011-12-12T13:55:01 *** Scryer has joined #aichallenge 2011-12-12T13:56:14 Woohoo - Xathis v2 is on its way! Looking at his first two games, we may need to get a new category... instead of just number of games to get into the top few, the total number of *moves* to get there. 2011-12-12T13:58:01 *** tdubz has quit IRC (Read error: Connection reset by peer) 2011-12-12T13:58:24 we are watching xathis very closely, probably even closer than you think Scryer ;-) 2011-12-12T13:58:55 now i feel stalked 2011-12-12T13:59:38 Phear us. :) 2011-12-12T14:02:02 haha 2011-12-12T14:04:02 *** flowenol has joined #aichallenge 2011-12-12T14:05:13 Scryer: fast games aren't *that* impressive. Against starter kits it's the turn you took your first hill 2011-12-12T14:06:47 xathis: haha 2011-12-12T14:09:20 *** kire has joined #aichallenge 2011-12-12T14:09:32 *** TheLinker has quit IRC (Remote host closed the connection) 2011-12-12T14:10:33 bj one last question 2011-12-12T14:10:37 do assign a unique label to every ant? 2011-12-12T14:10:48 ergo three ants are threatened in the same battle 2011-12-12T14:10:58 so you assign labels '1' '2' and '3' 2011-12-12T14:11:04 then have 3 union finds that you go through 2011-12-12T14:11:18 since by definition for them to be in the same battle there is overlap between their combat zones 2011-12-12T14:11:27 yes 2011-12-12T14:11:36 during the labelling every ant is assigned a new id 2011-12-12T14:11:50 as you iterate over its combat area you may find other ids 2011-12-12T14:11:53 you union with those 2011-12-12T14:12:05 hm 2011-12-12T14:12:08 union find has two operations, union and find (!) 2011-12-12T14:12:22 because i think it will still cause a union that I don't want 2011-12-12T14:12:25 have they changed the timeout deadline? 2011-12-12T14:12:30 so while labelling if grid(loc) is already labelled, union(my new label, grid(loc)) 2011-12-12T14:12:46 later for all ants, the group it's in is find(grid(loc)) 2011-12-12T14:13:02 iglo: no, but there are new timeout issues 2011-12-12T14:13:04 see the forum 2011-12-12T14:13:07 *** rmmh has quit IRC (Ping timeout: 240 seconds) 2011-12-12T14:14:33 which topic? 2011-12-12T14:15:02 *** rmmh has joined #aichallenge 2011-12-12T14:19:10 maybe we should change topic to something like 'xathis v2 released! *link to profile*' :D 2011-12-12T14:19:34 lol :) 2011-12-12T14:20:04 *** aarossig has quit IRC (Ping timeout: 240 seconds) 2011-12-12T14:20:06 or a bot mentioning when xathis played a game (or any top 5 players?) 2011-12-12T14:20:09 his bot that's been on fluxid's tcp server is probably pretty close to that 2011-12-12T14:20:45 seems to care about hills a lot more than his last one 2011-12-12T14:22:10 btw, how does the contestbot get its rangings ? 2011-12-12T14:22:30 g0llum: check microsofts trueskill system 2011-12-12T14:22:49 In his next version he will teach his ants to spawn directly on the enemy hill. 2011-12-12T14:22:50 no, i mean, where does it get the data from ? 2011-12-12T14:23:04 I think game position 2011-12-12T14:23:17 UncleVasya: at one point I wondered what the game would be like with "powerups" 2011-12-12T14:24:49 * avdg guesses many people should look at xathis stats in 10 min 2011-12-12T14:25:29 my profile page says 5 mins remaining 2011-12-12T14:25:30 he'll win at least 4 in a row 2011-12-12T14:25:30 next contest should come with some rest-api for bots, twitter feeds, etc 2011-12-12T14:25:37 I think all of my bots have won at least 4 or 5 in a row 2011-12-12T14:25:52 xathis can probably win 6 and get in the top 100 that way 2011-12-12T14:25:57 he'll be in the top 100 by 7 games for sure 2011-12-12T14:26:02 not going to be too interesting until then 2011-12-12T14:27:08 it's like a totalizator :D 2011-12-12T14:27:20 A what? 2011-12-12T14:27:59 wait a sec, I'll open my vocabulary 2011-12-12T14:28:11 Terminator? 2011-12-12T14:28:27 *** Hexren has joined #aichallenge 2011-12-12T14:28:30 *** Hexren has left #aichallenge 2011-12-12T14:29:21 no 2011-12-12T14:29:21 A place where people make stackes 2011-12-12T14:29:22 like '100$ for case when horse a come first' 2011-12-12T14:29:22 * horse A 2011-12-12T14:29:24 more like T1001 2011-12-12T14:29:44 gambling 2011-12-12T14:29:49 bookmaking 2011-12-12T14:29:53 wagering 2011-12-12T14:29:57 placing bets 2011-12-12T14:30:11 I wish I had money to do that ;-) 2011-12-12T14:30:12 Ahh 2011-12-12T14:30:27 Casino 2011-12-12T14:30:29 casino? 2011-12-12T14:30:43 a casino is not really associated with wagering on events 2011-12-12T14:30:51 at a casino you play games mostly against the house 2011-12-12T14:31:05 bookies (bookmakers) take bets on arbitrary events 2011-12-12T14:31:11 like who will win a game 2011-12-12T14:31:14 Yeah, more some sports events 2011-12-12T14:31:25 hmm 3 min earlier than normal 2011-12-12T14:33:14 are there strong bots left that have never been submitted to the official tournament ? 2011-12-12T14:33:27 meh, xathis almost had world domination (1 bot alive at the end of the game) 2011-12-12T14:33:42 I see too many of them on fluxid with weird names .. 2011-12-12T14:34:15 *** JorgeB has quit IRC (Ping timeout: 252 seconds) 2011-12-12T14:35:33 *** Paradoxial has joined #aichallenge 2011-12-12T14:36:44 i think xathis' submission will win straight games until it hits the top 10 2011-12-12T14:39:41 haha 2011-12-12T14:40:35 anyone know who plays as Q on the fluxid tcp? 2011-12-12T14:41:00 Q is an omnipotent being 2011-12-12T14:41:23 from the Q continuum 2011-12-12T14:41:28 you can't win against him 2011-12-12T14:41:36 *** Antimony has quit IRC (Ping timeout: 255 seconds) 2011-12-12T14:41:40 I think he shouldn't be allowed to participate 2011-12-12T14:41:51 but how could you refuse... 2011-12-12T14:42:33 because Q is near A i guess it's FlagCapper ;P 2011-12-12T14:42:36 but no idea 2011-12-12T14:42:49 In Game: Playing in a game right now. 2011-12-12T14:42:53 wish me luck 2011-12-12T14:42:56 gl 2011-12-12T14:43:07 f5f5f5f5 2011-12-12T14:43:13 haha 2011-12-12T14:43:49 i want to know if my newest submission is better than previous one 2011-12-12T14:43:50 popcorn, F5 InsaneMalkavian 2011-12-12T14:44:08 it never happens 2011-12-12T14:44:16 haha 2011-12-12T14:46:31 fffffffffffoiled again 2011-12-12T14:46:55 what? 2011-12-12T14:47:05 *** aarossig has joined #aichallenge 2011-12-12T14:47:06 this is simple formula 2011-12-12T14:47:51 fourth place in 9p map, but another game immediately after soooo 2011-12-12T14:47:54 *** Antimony has joined #aichallenge 2011-12-12T14:48:47 xathis: do you have a dead-ant detector? 2011-12-12T14:49:06 if you have a good submission then you will beat it not earlier than cur_submission_num + N where n is 2 or more. 2011-12-12T14:49:19 avdg: you mean bots that timeouted? 2011-12-12T14:49:23 yeah 2011-12-12T14:50:08 avdg: i look for ants that stay on the same position for multiple turns 2011-12-12T14:50:20 xathis: I'm sure somebody already asked but will you share your code after deadline? 2011-12-12T14:50:36 UncleVasya: i will, but it's a mess 2011-12-12T14:50:57 it doesn't matter! 2011-12-12T14:51:03 ah, that would probably explain why you only attack certain groups of ants, but not all ants of 1 enemie 2011-12-12T14:51:23 on Planet Wars one _very_ interesting bot wasn't open sourced because guys who made it used some of their commerial secrets in it. 2011-12-12T14:52:14 i remember that 2011-12-12T14:52:23 that was the genetic programming bot 2011-12-12T14:52:32 *a* genetic programming bot, i suppose 2011-12-12T14:52:51 *** Antimony has quit IRC (Ping timeout: 252 seconds) 2011-12-12T14:53:07 http://aichallenge.org/visualizer.php?game=208209&user=757 proud to not die 2011-12-12T14:54:50 *** Accoun has quit IRC () 2011-12-12T14:55:09 I love the early my jump when I start a new bot on tcp 2011-12-12T14:55:15 Someone tell me why this line doesn't work: if ( state->map[nloc.row][nloc.col].ant > 0 ) 2011-12-12T14:55:38 I get inside that if statement if the value is -1. 2011-12-12T14:55:46 I fixed it by adding 2 to both sides. 2011-12-12T14:55:52 But I'm still curious. 2011-12-12T14:56:27 http://ants.fluxid.pl/player/strcat_stupid hehe, early luck :) 2011-12-12T14:58:02 *** bhasker has joined #aichallenge 2011-12-12T15:02:48 *** ikaros has joined #aichallenge 2011-12-12T15:05:05 *** sigh has joined #aichallenge 2011-12-12T15:05:10 *** bergmark_ has quit IRC (Ping timeout: 248 seconds) 2011-12-12T15:08:48 *** treeform has joined #aichallenge 2011-12-12T15:09:05 *** Antimony has joined #aichallenge 2011-12-12T15:12:03 *** Accoun has joined #aichallenge 2011-12-12T15:12:44 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has joined #aichallenge 2011-12-12T15:14:22 xathis: Have you found too that removing repeated positions of ants in battle is more time-consumig than process them again? 2011-12-12T15:15:04 like [30;22] [30;21] and [30;21] [3022] 2011-12-12T15:15:31 <_flag> Hello everyone 2011-12-12T15:15:52 Hi _flag, are you Q on tcp? 2011-12-12T15:15:55 hi 2011-12-12T15:16:16 it will be good if you will answer my question too :) 2011-12-12T15:16:16 UncleVasya: the way i implemented it removing those doesn't cost any time, it's a single if statement 2011-12-12T15:16:34 <_flag> Anilm3: I am 2011-12-12T15:16:46 everybody's been asking 2011-12-12T15:16:59 oh nice to know, _flag 2011-12-12T15:17:27 <_flag> xathis: I see you've been giving me a bit of a beating :( 2011-12-12T15:18:38 _flag: i'm sorry ;) 2011-12-12T15:19:00 i really hope all those timeouts are tcp-specific 2011-12-12T15:19:34 <_flag> _flag: I think they are, I timeout on tcp often but when I feed the input into my bot it does just fine 2011-12-12T15:19:44 *** TheLinker has joined #aichallenge 2011-12-12T15:19:49 _flag: that's good 2011-12-12T15:22:36 *** Antimony has quit IRC (Ping timeout: 240 seconds) 2011-12-12T15:26:55 http://aichallenge.org/visualizer.php?game=208027&user=4513 almost extermination... but not so exciting 2011-12-12T15:29:00 *** Antimony has joined #aichallenge 2011-12-12T15:29:02 when I'll share my code you will find probably the most commented bot source. Because it has several hundrets of *commented out* code >< 2011-12-12T15:29:24 *** bhasker has quit IRC (Ping timeout: 244 seconds) 2011-12-12T15:29:55 *** sigh has quit IRC (Remote host closed the connection) 2011-12-12T15:31:21 UncleVasya: use version control :P 2011-12-12T15:33:13 *** Redgis has joined #aichallenge 2011-12-12T15:35:06 How I Learned to Stop Worrying and Love the Git 2011-12-12T15:37:03 lol 2011-12-12T15:39:07 xathis: that's one of those tricks that as soon as I thought of it I spotted other top bots doing it 2011-12-12T15:39:22 oops paged up more than I thought 2011-12-12T15:39:26 that was re: attacking stationary bots 2011-12-12T15:40:43 So to win _xathis you must be able to pretend dead. 2011-12-12T15:40:54 Trap sprung 2011-12-12T15:41:08 that might work, go for it! :P 2011-12-12T15:41:31 I actually have a small random component in that code 2011-12-12T15:41:36 to avoid someone trying to game it 2011-12-12T15:42:19 *** Kurnevsky1 has left #aichallenge 2011-12-12T15:43:31 xathis: Isn't it a secret how many kb is your source code? 2011-12-12T15:45:04 UncleVasya: 7 classes, 100kb total 2011-12-12T15:45:29 thats not much (certainy given that it must be java) 2011-12-12T15:46:05 I'm sad, my new "combat" works rather poorly, and i don't know it needs tweaking or scrap whole design and restart 2011-12-12T15:46:42 poor Fluxid 2011-12-12T15:46:55 Use your old combat code then ;) 2011-12-12T15:47:15 my old combat isn't good enough 2011-12-12T15:47:33 (old == current submission) 2011-12-12T15:48:30 I spent quite some time implementing xathis-like map control. Now my mu dropped because my ants are getting isolated and killed off. 2011-12-12T15:48:40 "almost but not quite" :P 2011-12-12T15:48:46 fluxid: what are you trying to implement in the new one ? my combat don't have probablities that a lot other bots seem to have 2011-12-12T15:49:25 my combat works best on timed out bots :) In other words it assumes they are static. 2011-12-12T15:50:05 Garf: yeah, my combat isn't good enough to pull off map control 2011-12-12T15:50:24 me too 2011-12-12T15:50:34 it turns into a genius agaisnt tmied out bots 2011-12-12T15:51:03 besh: i try to predict how likely enemy will move in given area in given direction 2011-12-12T15:51:06 and try to predict how much my ant actually can do in killing enemy 2011-12-12T15:51:26 or something like that 2011-12-12T15:51:32 my code is 84k, which is more than I expected 2011-12-12T15:52:02 *** epicmonkey has joined #aichallenge 2011-12-12T15:52:11 gzipped source size is more meaningful 2011-12-12T15:52:13 BenJackson: loc or chars? 2011-12-12T15:52:32 3k LOC 84kB 2011-12-12T15:52:40 my sloccount: python: 933 (55.83%) ansic: 738 (44.17%) 2011-12-12T15:52:53 BenJackson: mine is pretty much 50% of that :P 2011-12-12T15:53:09 1600 lines, 60kB 2011-12-12T15:53:10 69.2kb current submission, 79.6kb coming version. 2011-12-12T15:53:11 so not really 2011-12-12T15:53:14 the C++ starter is like 1000 by itself 2011-12-12T15:53:22 yeah but I deleted almost all of that 2011-12-12T15:53:57 16.7 kb is my starterpack 2011-12-12T15:55:39 I would like to see some discussion on exploration instead of combat in the forum. 2011-12-12T15:55:54 My bot is 114kb in 25 files, but there's a lot of duplicated or unused code 2011-12-12T15:56:18 I have mostly deleted my unused code 2011-12-12T15:56:23 but I do have ifdef'd out visualizations 2011-12-12T15:56:36 For example, my bot has at least 2 BFSs and 2A*s in it 2011-12-12T15:56:54 Holy **** 2011-12-12T15:56:55 *** ltriant has joined #aichallenge 2011-12-12T15:56:57 http://paste.aichallenge.org/DzIEp/ 2011-12-12T15:57:00 what? 2011-12-12T15:57:03 I have 2 BFS but no A* 2011-12-12T15:57:33 I have dragons 2011-12-12T15:57:33 the problem is that with slight differences between each search, it's easier to just duplicate the code, then to try to generalize it 2011-12-12T15:57:45 Yeah, true 2011-12-12T15:57:55 my food search and hill search in particular are near copies 2011-12-12T15:58:01 when my primary bfs got too many options I made it a template that took functors 2011-12-12T15:58:09 and my code actually got smaller *and* faster 2011-12-12T15:58:23 I guess I should try that 2011-12-12T15:58:26 I only have a second BFS because the second one is a C++ iterator 2011-12-12T15:58:47 so Bfs begin(loc), end 2011-12-12T15:58:53 Antimony: that's what higher order functions are for :P 2011-12-12T15:59:02 yeah but I'm lazy 2011-12-12T15:59:08 same with me 2011-12-12T15:59:11 yeah if I was using std::functions then I could probably fold all mine into 1 2011-12-12T15:59:20 because instead of an iterator I'd just pass the code as an argument 2011-12-12T15:59:41 *** besh has quit IRC (Quit: Page closed) 2011-12-12T15:59:43 although the iterator is fast for what it does 2011-12-12T16:00:09 it can tell you the distance and direction to the source but it doesn't have to record most of that like the map-making one does 2011-12-12T16:00:25 xathis on TCP is timing out 2011-12-12T16:00:53 tcp has many timouts 2011-12-12T16:01:05 *** UncleVasya has quit IRC (Read error: Connection reset by peer) 2011-12-12T16:01:09 I also have duplicated combat graph code because one version uses positions and one uses integer ids 2011-12-12T16:01:40 I should probably just stick with ints and make code to reassign ids to a graph 2011-12-12T16:02:54 is anyone using boost? 2011-12-12T16:03:43 I would, but its making me more confused than its being helpful atm 2011-12-12T16:04:40 and I think someone else on aichallenge's forum wanted to use boost as well (look it up) 2011-12-12T16:04:56 c++11 is kind of a boost :) 2011-12-12T16:05:05 http://forums.aichallenge.org/viewtopic.php?f=26&t=1718&p=11954&hilit=boost#p11954 2011-12-12T16:05:20 meh, I need a new laptop 2011-12-12T16:05:32 but yesterday i wanted to submit my first c++11 bot and had to realize the server uses gcc4.5 which doesnt implement lots of the nice stuff 2011-12-12T16:05:34 osx is hurting me more than helping as well 2011-12-12T16:07:04 hmm i like to implement a combat algo... but it would take too long time :/ 2011-12-12T16:07:14 avdg: linux power 2011-12-12T16:07:44 Anilm3: yeah, I was thinking that too 2011-12-12T16:07:56 you don't need to buy a new laptop for that! 2011-12-12T16:08:17 no, but its too messy to do atm 2011-12-12T16:08:31 Tell me about it, I have a mac 2011-12-12T16:08:56 but I used osx for a while and hated it 2011-12-12T16:09:05 my disk is almost full, and I have a server I wanted to install which has enough hd to store a backup 2011-12-12T16:09:31 well, I loved osx simply because it was better than windows and easier than linux 2011-12-12T16:09:43 but now I learned more, linux became more easy to use 2011-12-12T16:10:33 avdg: in my experience 2011-12-12T16:10:40 since 2005 or so 2011-12-12T16:10:55 linux has not been difficult 2011-12-12T16:11:00 before that, maybe 2011-12-12T16:11:11 before that I had only tried sucky distros 2011-12-12T16:11:18 :-) 2011-12-12T16:11:50 also be careful with kde 2011-12-12T16:11:57 and unity 2011-12-12T16:12:12 they will scare the hell out of you!! 2011-12-12T16:12:27 meh, I just need a browser and a console ;-) 2011-12-12T16:12:29 i dont like what they did to gnome too :) 2011-12-12T16:12:49 ikaros: you mean the gnome shell stuff?? 2011-12-12T16:12:53 I don't like it either 2011-12-12T16:12:54 gnome3 2011-12-12T16:13:01 im glad my debian still has gnome2 2011-12-12T16:13:09 yeah, I have plans for a new gui, but I'm always bad in implementing stuff (check my ai as proof) 2011-12-12T16:13:16 but on my laptop i have arch and there is gnome 3 2011-12-12T16:13:27 and I have to learn everything on my own 2011-12-12T16:13:30 guess ill have to switch to xfce or such 2011-12-12T16:13:41 go back to gnome2 2011-12-12T16:13:41 ! 2011-12-12T16:13:41 not sure yet 2011-12-12T16:13:44 well 2011-12-12T16:14:00 maybe archlinux :p 2011-12-12T16:14:00 that's not so easy if your distro has switched to gnome 3 2011-12-12T16:14:33 im waiting for some guys that will fork gnome 2 and continue it :) 2011-12-12T16:14:37 cant take that long lol 2011-12-12T16:14:38 (though I really would keep debian packages) 2011-12-12T16:14:51 debian and arch are both great 2011-12-12T16:14:59 meh, I just hope I can create my own gui 2011-12-12T16:15:19 I'm too good in theory, and bad in doing it 2011-12-12T16:15:24 what do you mean create your own gui? 2011-12-12T16:15:28 i like how bleeding edge the arch packages are.. but it breaks more often :) 2011-12-12T16:15:56 ikaros: me too, debian and arch are two sides of the same coin 2011-12-12T16:15:59 I simply need a search bar to launch my app (and nothing more), a way to switch apps and my console :p 2011-12-12T16:16:01 if i wouldnt be so lazy i should probably use some *box and compiz on top 2011-12-12T16:16:04 thats all I need 2011-12-12T16:16:09 arch only breaks if you break it :P 2011-12-12T16:16:20 hehe not really :) 2011-12-12T16:16:31 upgrades are enough sometimes :) 2011-12-12T16:16:41 I've run [testing] for 2 years and never had breakage 2011-12-12T16:16:48 you have to read the mailing list tho 2011-12-12T16:16:49 fascinating :) 2011-12-12T16:17:12 well.. i've had lots of -Syu which caused alot of trouble 2011-12-12T16:17:21 can be fixed always so no problem 2011-12-12T16:17:29 *** bergmark has joined #aichallenge 2011-12-12T16:17:55 @seen mcstar 2011-12-12T16:17:55 g0llum: mcstar was last seen in #aichallenge 2 weeks, 0 days, 22 hours, 11 minutes, and 58 seconds ago: i dont agree 2011-12-12T16:18:01 :p 2011-12-12T16:18:18 but that are experiences that are a few years old i think 2011-12-12T16:18:25 didnt use arch for at least 3 years 2011-12-12T16:18:32 ah 2011-12-12T16:18:38 it's quite a bit different than it used to be 2011-12-12T16:18:43 until some weeks ago :) i decided to give it another shot on my laptop 2011-12-12T16:19:00 every package in [core] has to get sign-offs before they move it from [testing] 2011-12-12T16:19:02 funny thing was when i installed it switched to testing immediately 2011-12-12T16:19:09 so there's really no breakage in the core packages 2011-12-12T16:19:13 wanted to update with pacman 4 2011-12-12T16:19:24 pacman 4 is nice :) 2011-12-12T16:19:26 and the packages were signed and i hadnt the keys 2011-12-12T16:19:39 there was a script on the wiki to import them.. 2011-12-12T16:19:43 yeah, there's no keyring package so it has to fetch them 2011-12-12T16:19:47 you don't need to use the script 2011-12-12T16:19:47 but it used elinks that wasnt installed lol 2011-12-12T16:19:53 just need to change the setting in pacman.conf 2011-12-12T16:19:55 was kind of funny to import this by hand.. 2011-12-12T16:19:58 yea 2011-12-12T16:20:02 i realised that later 2011-12-12T16:20:03 lol 2011-12-12T16:20:40 imo, Ubuntu and Arch are probably equally unstable at any point in time 2011-12-12T16:20:44 thestinger, what wm do you use? 2011-12-12T16:20:55 but with Arch you deal with the upgrades slowly over time, not a massive change every 6 months 2011-12-12T16:20:58 is everyone allowed to participate in the final tournament or is it limited to TOP X players? 2011-12-12T16:20:58 ikaros: i3 2011-12-12T16:21:01 ubuntu has become a mess (imho) 2011-12-12T16:21:03 oh ok :) 2011-12-12T16:21:05 used awesomewm until recently 2011-12-12T16:21:11 i3 is amazing though :D 2011-12-12T16:21:19 when they changed to unity it became dirty 2011-12-12T16:21:27 unstable^3 unity is... 2011-12-12T16:21:37 QuirionPT, everyone 2011-12-12T16:21:42 ikaros, thanks 2011-12-12T16:21:43 I haven't really used Ubuntu since like 9.10 2011-12-12T16:21:59 I just installed it in a VM to see if a java zero-day worked in linux 2011-12-12T16:22:06 that was a few days ago 2011-12-12T16:22:08 its installed on my gfs laptop :) 2011-12-12T16:22:34 in the 10 mins I used it, I ran into like 3 unity bugs 2011-12-12T16:22:52 and I checked out the software center thing, but it crashed when I tried to remove libreoffice 2011-12-12T16:23:02 so yeah... seems like they have taken a step backwards 2011-12-12T16:23:10 I have been using solely Ubuntu for the last 2 years. Has been quite okay and was a great help to avoid playing games and focusing on working/studying :) 2011-12-12T16:23:50 QuirionPT: so you haven't found dwarf fortress yet? :P 2011-12-12T16:24:14 hrhr 2011-12-12T16:24:41 I still have windows 7 on a drive but I haven't booted into it for a year 2011-12-12T16:24:41 doomrl for the coffeebreaks :) 2011-12-12T16:24:51 i had to some weeks ago 2011-12-12T16:24:58 and it needed a half day to install updates.. 2011-12-12T16:26:53 *** Palmik has quit IRC (Remote host closed the connection) 2011-12-12T16:27:11 meh, I need to do a major cleanup on my computer, I almost have no free space 2011-12-12T16:28:42 thestinger, doesn't seem to be my thing, fortunately! :) 2011-12-12T16:30:13 There's no guarantee that finals include everyone 2011-12-12T16:30:42 *** mj41 has joined #aichallenge 2011-12-12T16:31:04 pairofdice, explain 2011-12-12T16:31:18 the final finals 2011-12-12T16:31:31 they'll implement a cutoff after the finals run for a while 2011-12-12T16:31:51 no need to churn the starter kits against each other for 100s of games 2011-12-12T16:32:02 ok. 2011-12-12T16:32:45 i would guess there will be a resubmission ? eliminating the starter kits 2011-12-12T16:35:00 * avdg wonders how long it takes to do 150 turns with relative fast starter bots 2011-12-12T16:37:58 how to eliminate the starter kits, crc32, md5hash, unsolved problem, afiik 2011-12-12T16:38:17 *** jab_bott has joined #aichallenge 2011-12-12T16:38:38 eh up chucks - I still haven't implemented combat yet 2011-12-12T16:39:14 haha 2011-12-12T16:39:22 g0llum, by cutting low mu, low sigma bots 2011-12-12T16:39:54 * avdg wonders how many games it would take to get a reliable mu and sigma score 2011-12-12T16:40:02 for the finals the lower ranks are slowly eliminated 2011-12-12T16:40:05 um.. so what's the deal? if I get something working by the 18th can I still submit it? or will it need to have time to rise in the ranks in order to take part or anything like that? 2011-12-12T16:40:27 all rankings are completely reset at the beginning of finals 2011-12-12T16:40:28 I don't think it will have to rise 2011-12-12T16:40:40 jab_bott: there is an hour given on the homepage 2011-12-12T16:40:45 so it doesn't matter where in the rankings you are at the time submissions close 2011-12-12T16:41:24 just whatever your last submission is, is what will be used in the finals 2011-12-12T16:41:32 janzert, do we have to resubmit after deadline? 2011-12-12T16:41:33 janzert: is the deadline fixed or can it be changed? 2011-12-12T16:41:36 ah 2011-12-12T16:41:39 forget that :) 2011-12-12T16:41:47 the deadline is fixed 2011-12-12T16:41:48 ok, phew, so I can frantically submit this week and try to improve it until Sunday! 2011-12-12T16:41:53 :( 2011-12-12T16:42:02 janzert: are we resetting all the rankings? people were talking about just messing with the mu's the other day? 2011-12-12T16:42:16 yes, their will be a complete reset 2011-12-12T16:42:25 good :) 2011-12-12T16:42:38 I suppose I'd better be sure to not break something at the last minute 2011-12-12T16:42:39 tip: just send your bot as early as possible, so most bugs/mistakes are out once the deadline passes ;-) 2011-12-12T16:43:12 yeah, the very last submission made for planetwars ended up not compiling 2011-12-12T16:43:19 poor guy 2011-12-12T16:43:20 counter tip: don't come up with a neat idea for your game tree like 7 hours before submissions close and then submit a buggy version of it 2011-12-12T16:43:40 :) 2011-12-12T16:43:55 :p 2011-12-12T16:43:58 counter-counter tip: please do exactly that 2011-12-12T16:44:01 i don't think my bot was actually any worse though, if anything it might have been better 2011-12-12T16:44:05 janzert: wouldn't it revert to the last-known-good (i.e. compiled and passed tests) version in that case? 2011-12-12T16:44:29 in planetwars it didn't, I think it might now but I'm not positive 2011-12-12T16:44:40 I really wish I'd worked on combat much sooner now so I could have more time for feedback and refinement 2011-12-12T16:44:51 don't remember for sure if that changed or not 2011-12-12T16:45:14 * avdg wonders if the site could crash just before the deadline 2011-12-12T16:45:22 *** bergmark has quit IRC (Ping timeout: 252 seconds) 2011-12-12T16:45:27 I'm gonna submit the C-version of my bot now to see if it even compiles on the servers! 2011-12-12T16:45:32 avdg: or overload, like tax-on-web :P 2011-12-12T16:45:33 there are too many server crashes at ai-class already 2011-12-12T16:45:47 garf: are you belgian? 2011-12-12T16:45:55 ah you are 2011-12-12T16:46:11 yes, thats why I made that reference 2011-12-12T16:46:21 :-) 2011-12-12T16:48:21 ahh.. another ai-class student :) 2011-12-12T16:48:31 just a watcher 2011-12-12T16:48:39 I'm too frustrated to study well 2011-12-12T16:48:41 :-) 2011-12-12T16:49:03 that's how I heard about this aichallenge, through searching since I've been doing the ai-class 2011-12-12T16:49:28 I heared on twitter 2011-12-12T16:49:34 my bot doesn't exactly employ much of the stuff from ai-class though 2011-12-12T16:50:12 too many people promising they will complete the course, but I didn't hear any1 once week 2 started 2011-12-12T16:50:14 Oh right, deadline in 2 hours 2011-12-12T16:50:17 the c-version is now super-fast! I'm struggling with making my ants spread out though, they keep getting stuck to water 2011-12-12T16:50:36 avdg: I'm still on for 100% on the course 2011-12-12T16:50:44 Yeah 100% here too 2011-12-12T16:50:50 It's a good course 2011-12-12T16:51:04 I'm still ready to listen, I'm lacking math skills to complete the course 2011-12-12T16:51:09 I got 98% and 95% on two of the homeworks, but they discard the two worst scores, so technically I could still get 100 2011-12-12T16:51:26 There's hardly any math required, some basic division in Bayes 2011-12-12T16:51:37 probability kills me 2011-12-12T16:52:00 and rarely time 2011-12-12T16:52:07 to study it peaceful 2011-12-12T16:52:20 (though I have no job atm) 2011-12-12T16:53:05 I keep getting annoyed by poorly specified questions, like that's the minimum value for something, and the *real* correct answer is that the value must be >14 and the answer used for marking is 15 - but nobody said it must be an integer - things like taht 2011-12-12T16:53:34 yeah, that was especially at the start 2011-12-12T16:54:15 *** risico has quit IRC (Quit: Leaving) 2011-12-12T16:55:12 I guess the videos take long to make and are hard to fix because they sometimes leave wrong information up and just put some text down the bottom to ay actually the video is wrong in some way 2011-12-12T16:55:21 "what's the minimum value of X" I would expect to be giving a unique element of X as an answer to that 2011-12-12T16:56:09 antimatroid1: if X is a set, yes, but if it's a value... 2011-12-12T16:56:56 *** Andrew_Makar has joined #aichallenge 2011-12-12T16:57:20 by X i mean the set of values they're referring to :P 2011-12-12T16:57:31 that meet the given condition 2011-12-12T16:57:32 *** Andrew_Makar has quit IRC (Client Quit) 2011-12-12T16:57:37 *** g0llum has quit IRC (Read error: Connection reset by peer) 2011-12-12T16:57:45 anyway, i'm off to submit a phd application 2011-12-12T16:58:05 *** g0llum has joined #aichallenge 2011-12-12T16:58:30 antimatroid1: show-off :P 2011-12-12T16:58:31 * avdg wishes he could study on a more peaceful location 2011-12-12T16:58:47 and a little bit help :p 2011-12-12T16:59:07 I hate being the smartest person in house 2011-12-12T16:59:47 nobody to share ideas 2011-12-12T17:00:09 welcome to my life 2011-12-12T17:00:32 it's not that I'm smarter than everyone else, it's just that usually even the smart people have no clue what I'm talking about 2011-12-12T17:01:08 oh well, I'm not smart on everything as well 2011-12-12T17:01:41 *** bergmark has joined #aichallenge 2011-12-12T17:01:46 just 108 iq, but yeah, iq doesn't tell a lot 2011-12-12T17:02:52 *** mj41 has quit IRC (Ping timeout: 240 seconds) 2011-12-12T17:03:40 *** Antimony has quit IRC (Ping timeout: 240 seconds) 2011-12-12T17:04:55 *** Antimony has joined #aichallenge 2011-12-12T17:13:42 *** Antimony has quit IRC (Ping timeout: 255 seconds) 2011-12-12T17:29:36 *** Anilm3 has quit IRC (Quit: Lost terminal) 2011-12-12T17:33:14 *** g0llum has quit IRC (Read error: Connection reset by peer) 2011-12-12T17:37:09 by the way - I've been testing my bot on this map: maps/cell_maze/cell_maze_p04_14.map - and I've noticed a significant advantage to playing in player-3 position - when I play against my older bots I can only just beat them when they are in spot 3 and when my latest bot plays in spot 3 it kicks-ass 2011-12-12T17:37:43 aren't they supposed to be equal? 2011-12-12T17:38:31 jab_bott: you have something wrong with your code then 2011-12-12T17:38:33 The maps are equal, but your bots might not be 2011-12-12T17:38:48 ie, the bots have a bias 2011-12-12T17:39:13 jab_bott: your bot should play exactly the same from all positions given that you have the same opponents in the other positions(and given that they play the same too) 2011-12-12T17:39:21 *** bergmark has quit IRC (Ping timeout: 255 seconds) 2011-12-12T17:39:44 jab_bott: you probably have a bias in how you pick directions 2011-12-12T17:40:22 or a problem crossing the map wrap in the negative direction 2011-12-12T17:40:37 *** gazpachoking has joined #aichallenge 2011-12-12T17:41:06 well, I guess it's furthest from the vertical negative wrap but not the horizontal one 2011-12-12T17:41:14 jab_bott: in your language, what does -3%10 equal to? 2011-12-12T17:41:16 I pick directions by picking a random direction, then cycling from there until a max-desirable direction is found, so if none is found the left-over direction is random 2011-12-12T17:41:30 I may have finally built a bot capable of consistently beating my previous version 2011-12-12T17:41:50 amstan: for wrapping I do (x + width) % width and (y + height) % height 2011-12-12T17:41:56 *** ikaros has quit IRC (Quit: Ex-Chat) 2011-12-12T17:41:58 that should be fine 2011-12-12T17:42:28 I've run into maps like that 2011-12-12T17:42:33 where the symmetry is all "north", too 2011-12-12T17:42:39 so there's basically no difference 2011-12-12T17:42:43 never did figure out why 2011-12-12T17:43:12 do all bots start with the same player_seed? 2011-12-12T17:43:21 they do if you pass it to the engine 2011-12-12T17:43:23 not sure otherwise 2011-12-12T17:44:15 wow 6 in a row and xathis is only 902nd 2011-12-12T17:44:28 just didn't luck out and get a strong opponent to boost him up 2011-12-12T17:45:47 ugh - my new C bot crashed in the test cases! 2011-12-12T17:46:19 I thought I'd fixed all the bugs, must be a few lurking still - can I run the test cases locally so I can run it under valgrind? 2011-12-12T17:47:30 *** iglo has quit IRC (Remote host closed the connection) 2011-12-12T17:48:32 *** mj41 has joined #aichallenge 2011-12-12T17:52:05 jab_bott: libmudflap is nicer than valgrind 2011-12-12T17:52:39 There's the test_bot.sh/.cmd 2011-12-12T17:52:45 thestinger: oh - never heard of it - will have to take a look 2011-12-12T17:52:56 pairofdice: cheers - just found it :P 2011-12-12T17:53:12 *** ikaros has joined #aichallenge 2011-12-12T17:54:00 jab_bott: http://sprunge.us/gdEg 2011-12-12T17:54:04 that's how you use it 2011-12-12T17:54:29 valgrind doesn't catch that one 2011-12-12T17:54:45 oops, tcpclient ate all my fd's again 2011-12-12T17:54:49 it basically catches _all_ out of bounds array access 2011-12-12T17:54:54 valgrind just catches some 2011-12-12T17:56:05 I guess it doesn't notice stuff on the stack like that 2011-12-12T17:56:34 @seen McLeopold 2011-12-12T17:56:34 BenJackson: McLeopold was last seen in #aichallenge 4 hours, 55 minutes, and 50 seconds ago: 48 seconds ago :) 2011-12-12T17:57:10 *** mj41 has quit IRC (Ping timeout: 244 seconds) 2011-12-12T17:57:43 jab_bott: http://gcc.gnu.org/wiki/Mudflap_Pointer_Debugging there are a dozen switches to mess around with but it has pretty sane default, and it comes with gcc 2011-12-12T17:58:01 sadly it doesn't really work with C++ 2011-12-12T17:58:14 *** Jacob_Strauss has quit IRC (Quit: Page closed) 2011-12-12T18:01:24 thestinger: cool - I may try to get clang working on it too 2011-12-12T18:01:32 *** bluegaspode has joined #aichallenge 2011-12-12T18:01:33 *** pairofdice has quit IRC (Quit: leaving) 2011-12-12T18:06:39 http://aichallenge.org/visualizer.php?game=209877&user=757 this game stabilized pretty quickly 2011-12-12T18:08:17 *** Antimony has joined #aichallenge 2011-12-12T18:09:03 just afraid to attack :/ 2011-12-12T18:11:41 yellow has a bit of traffic jam there lol 2011-12-12T18:12:47 *** hkraal_ has quit IRC (Ping timeout: 240 seconds) 2011-12-12T18:12:55 *** hkraal_ has joined #aichallenge 2011-12-12T18:14:24 *** kire has quit IRC (Quit: Leaving) 2011-12-12T18:15:05 lol! ai-class has a question: "Did you get this?" 2011-12-12T18:15:11 and if you answer no, it says it's wrong, lol 2011-12-12T18:16:41 yeah :-) 2011-12-12T18:17:02 luckely I tried wrong at take 2 2011-12-12T18:17:11 (well I hope it won't count in the results) 2011-12-12T18:17:53 quizes don't count for your mark 2011-12-12T18:18:21 well, I heard they record the first guess 2011-12-12T18:18:36 Unless you're in basic class, it doesn't count towards your final score. 2011-12-12T18:18:37 they do, but only for that progress thing 2011-12-12T18:19:29 most of those quizes i fail at first try, because maybe i didn't get the question, have no idea how to do the question or i'm just too lazy to do it 2011-12-12T18:19:53 they should really use the last attempt instead 2011-12-12T18:20:35 Then you could just answer anything->see explanation->answer correct. 2011-12-12T18:21:07 you don't learn much that way :p 2011-12-12T18:21:19 yes, but i don't see how the quiz mark is relevant if some of the questions are designed to be impossible to do with no previous knowlege 2011-12-12T18:21:55 they sometimes "measure" your preknowledge or thinking 2011-12-12T18:21:58 if they want to have it as a student tool, students should be able to use it as they want, as a way to track progress of stuff they understand at present 2011-12-12T18:22:13 not your knowlege before you were even taught the material 2011-12-12T18:22:48 *** Anilm3 has joined #aichallenge 2011-12-12T18:30:30 *** Redgis has quit IRC (Read error: Connection reset by peer) 2011-12-12T18:32:17 *** Kaji has quit IRC (Ping timeout: 252 seconds) 2011-12-12T18:32:47 *** epicmonkey has quit IRC (Ping timeout: 240 seconds) 2011-12-12T18:34:40 *** epicmonkey has joined #aichallenge 2011-12-12T18:37:08 *** Redgis has joined #aichallenge 2011-12-12T18:41:58 *** Redgis has quit IRC (Ping timeout: 252 seconds) 2011-12-12T18:43:22 *** Kaji has joined #aichallenge 2011-12-12T18:44:15 *** Anilm3 has quit IRC (Quit: Lost terminal) 2011-12-12T18:47:27 *** epicmonkey has quit IRC (Ping timeout: 240 seconds) 2011-12-12T18:54:21 amstan: when I was still following ai-class I got to the point where I just put in "0" for every quiz 2011-12-12T18:54:43 BenJackson: done that a few times, to find out how to actually solve something 2011-12-12T18:54:47 at least the ones that seemed to involve too much calculation for mid-lecture 2011-12-12T18:55:14 I was down on the quality of the ai-class lectures and then a friend at Stanford showed me the REAL video lectures 2011-12-12T18:55:20 then I was REALLY down on the ai-class ones 2011-12-12T18:55:39 hmm, are these videos public? 2011-12-12T18:55:43 no 2011-12-12T18:55:51 the urls are not locked down, but they're not advertised 2011-12-12T18:55:52 that would have been nice 2011-12-12T18:56:05 same topics, same guys, but with prepared slides 2011-12-12T18:56:07 working examples 2011-12-12T18:56:10 still, the idea of most classes is that you use outside resources too, like books and stuff 2011-12-12T18:56:10 well, I know they released only some of the videos 2011-12-12T18:56:15 and a class of students pointing out confusing/wrong things 2011-12-12T18:56:18 i have a bad habit of not using books 2011-12-12T18:56:19 also high def 2011-12-12T18:56:22 and not interrupted by quizzes 2011-12-12T18:56:29 :p 2011-12-12T18:56:42 I need to keep an eye on the used book price 2011-12-12T18:56:45 or with other words, its a better way to fall asleep 2011-12-12T18:56:50 I'm hoping it will crash after ai-class so I can pick it up 2011-12-12T18:57:57 i'm still undecided what course to do next term 2011-12-12T18:58:29 people who took ml-class really liked it 2011-12-12T18:58:34 but there's overlap with ai-class 2011-12-12T18:58:54 is there any way to put the topics on the forum in some kind of logical order? 2011-12-12T18:59:01 like by date of last reply? 2011-12-12T18:59:05 i eventually want to learn that stuff properly, but not for any short term stuff 2011-12-12T18:59:08 BenJackson: yeah, I tried both, and quickly picked ml in favor of ai 2011-12-12T18:59:11 http://forums.aichallenge.org/search.php?search_id=newposts 2011-12-12T18:59:16 i want something that can benefit me in short term 2011-12-12T18:59:29 ml-class pacing, questions, exercises are excellent imho 2011-12-12T18:59:37 BenJackson: I guess that works, wish it was just normal lol 2011-12-12T18:59:44 wish it went deeper and broader (even if not in the class, but with pointers) sometimes 2011-12-12T19:00:22 rwest_: I happened to just click on that when you asked 2011-12-12T19:01:34 there was this webpage with all the free stanford courses for next term, anyone have a link? 2011-12-12T19:01:43 there was also a subreddit on it, which might have that link 2011-12-12T19:02:08 *** Antimony has quit IRC (Ping timeout: 240 seconds) 2011-12-12T19:03:16 the teacher of ml-class is also caring a lot for quality and ways to educate stuff the "new" way ;-) 2011-12-12T19:03:40 I'm sure he spend easily hours with it 2011-12-12T19:03:41 so if I had stuck on my previous submission it would have slipped from top 20 to mid 40s by now 2011-12-12T19:04:06 i just got a 50 in my latest homework, that was unexpected 2011-12-12T19:04:14 :p 2011-12-12T19:04:47 hmm, ai-class doesn't load 2011-12-12T19:05:45 I guess Stanford can look at retention rates for both classes and draw a conclusion 2011-12-12T19:06:34 :-) looks like I have 4/6 right (I didn't answer 2/6) 2011-12-12T19:06:36 avdg: the homework just closed 2011-12-12T19:06:45 so yeah, it's pretty slow 2011-12-12T19:07:43 * avdg wonders why we should learn the position of standford's team :p 2011-12-12T19:08:40 oh, I did make mistakes, I looked at it wrong 2011-12-12T19:09:11 dynamic state -> 1 under :/ 2011-12-12T19:09:35 come on... both particle questions i got wrong 2011-12-12T19:09:44 and even #7 2011-12-12T19:09:50 where i made a python program run it 2011-12-12T19:10:33 avdg: did you get #7? 2011-12-12T19:10:38 no 2011-12-12T19:11:06 I didn't do anything that required a lot of math (on first view) 2011-12-12T19:11:28 only 1, 2, 3 and 6 2011-12-12T19:11:43 http://www.bhickey.net:2080/replay.8921 2011-12-12T19:11:44 oh man! i did get it wrong, i only did 15 steps, not 16 2011-12-12T19:11:51 http://pastebin.com/BRQ4BY7W 2011-12-12T19:11:55 lol @ my ants near my hill at the end 2011-12-12T19:12:57 *** Antimony has joined #aichallenge 2011-12-12T19:13:27 rwest: too scared to kill? 2011-12-12T19:13:55 my combat is completely reactive 2011-12-12T19:13:56 haha 2011-12-12T19:14:07 I still need to fix that 2011-12-12T19:15:38 well, if you count the coverage of enemies on 1 map and have a system to cover at least 2 ants on each "safe" direction, you would have a pretty good one to start with ;-) 2011-12-12T19:16:21 the main issue is I don't calculate safe moves only unsafe ones really 2011-12-12T19:17:55 meh I wouldn't implement it in my current bot, because js is too slow to do it 2011-12-12T19:20:01 *** Antimony has quit IRC (Ping timeout: 276 seconds) 2011-12-12T19:22:29 js? 2011-12-12T19:22:52 I guess we're getting to the point where we could look at the highest scoring bots for the obscure languages 2011-12-12T19:23:15 javascript I would assume 2011-12-12T19:23:18 yeah, I really hoped it would be fast enough 2011-12-12T19:23:22 guy I work with is doing it in tcl 2011-12-12T19:23:32 not that much variety in the top 100 2011-12-12T19:23:33 and I'm not good enough to do it in c++ 2011-12-12T19:23:41 tcl is crazy talk 2011-12-12T19:23:49 That's what I said 2011-12-12T19:23:58 Our whole automation system is in tcl but still 2011-12-12T19:24:12 modelsim? 2011-12-12T19:24:29 *** Antimony has joined #aichallenge 2011-12-12T19:24:44 no 2011-12-12T19:24:47 home-grown 2011-12-12T19:25:00 that's the only commercial system I know of where tcl took off the way it was intended 2011-12-12T19:25:32 http://www.bhickey.net:2080/replay.8925 2011-12-12T19:25:34 a lonnng time ago I wrote a 3d wireframe tool in tcl/wish 2011-12-12T19:25:36 new explore code works 2011-12-12T19:25:37 lol 2011-12-12T19:25:39 but I did implement matrix extensions in C 2011-12-12T19:26:35 oh hi ben 2011-12-12T19:26:45 Is your syemmtry system similar to the one on the forums? 2011-12-12T19:27:35 nope! 2011-12-12T19:27:45 I'd call that the brute force method 2011-12-12T19:28:00 very nice visualization of how it works, though 2011-12-12T19:29:11 oh, so there's a better way? I was doing brute force too 2011-12-12T19:29:26 rwest_: nice distribution :p 2011-12-12T19:29:39 hmm, looks like there's a bug in my stored food calculation 2011-12-12T19:30:02 what kind of bug? 2011-12-12T19:30:49 I implemented the calculation but still haven't used it 2011-12-12T19:31:37 I have implemented it in my c++ bot, but not tested it yet, its currently underestimating 2011-12-12T19:32:11 In this replay, my bot thinks white has an extra food starting around turn 123http://aichallenge.org/visualizer.php?game=210389&user=3875 2011-12-12T19:32:16 mine resets if it doesn't see an ant appear at a hill for a few turns 2011-12-12T19:32:31 if it thinks it has food and no ant appears it thinks it knows my hills are dead 2011-12-12T19:32:34 mine concludes that a hill was razed because it expected spawning 2011-12-12T19:32:34 but it also doesn't use that 2011-12-12T19:32:55 I guess I should make it fail safe, rather than fail deadly 2011-12-12T19:32:56 hmm overestimating? 2011-12-12T19:33:06 thats dangerous 2011-12-12T19:33:08 that's what I'm trying to figure out 2011-12-12T19:33:17 there must be a bug somewhere 2011-12-12T19:34:33 do you take the number of spawned ants into account? 2011-12-12T19:34:42 http://codesprint.interviewstreet.com/recruit/challenges/ 2011-12-12T19:34:44 *** replore_ has joined #aichallenge 2011-12-12T19:34:58 you probably have to debug it with tcp and debug information 2011-12-12T19:35:27 "CodeSprint is a coding contest designed to streamline the job hunt for programmers. Instead of applying to 65 companies individually, work your noggin on a single set of interesting and tough coding challenges in a 48 hour period to get interview calls from these awesome companies!" 2011-12-12T19:36:06 * avdg doesn't believe in job hunts :-) 2011-12-12T19:36:17 "login to see the fall 2011 problems" mmmm... no. 2011-12-12T19:37:33 most recruiters don't hire me, because they don't understand my brain 2011-12-12T19:38:07 avdg: get in the top 100 for aichallenge and you'll notice quite a few people wanting to talk to you 2011-12-12T19:38:27 oh, I already got my plans :p 2011-12-12T19:38:31 top 100 is hard :P 2011-12-12T19:38:43 get in the top 10 and they'll be afraid of you 2011-12-12T19:38:43 and I have too many issues with my system to do good coding 2011-12-12T19:39:04 well, that thing could probably work for less too 2011-12-12T19:39:14 also.. contributing to the contest code is not a bad thing either 2011-12-12T19:39:30 if the employers heard about it 2011-12-12T19:39:31 :p I only added "extermination" 2011-12-12T19:39:45 2 loc 2011-12-12T19:40:42 I'm probably better in finding bugs 2011-12-12T19:41:44 *** ltriant has quit IRC (Read error: No route to host) 2011-12-12T19:42:07 avdg: get in the top 100 for aichallenge and you'll notice quite a few people wanting to talk to you <- there's no way to find out who's who, right? 2011-12-12T19:42:13 is there a way to upload replays? 2011-12-12T19:42:24 garf: just add a link? 2011-12-12T19:42:39 Garf: ideally you want to use a name on the servers that you are known for 2011-12-12T19:42:42 I mean for people who didn't specifically put something down 2011-12-12T19:42:52 but url is good too 2011-12-12T19:43:16 in the past years jeff sent the top epsilon to google 2011-12-12T19:43:19 with their permission 2011-12-12T19:46:05 *** ltriant has joined #aichallenge 2011-12-12T19:46:07 google would probably a dream 2011-12-12T19:46:29 but I know someone who rejected a job offer from google (but I also know why) 2011-12-12T19:46:40 why? 2011-12-12T19:46:42 'cos he didn't want to move? 2011-12-12T19:46:53 because he want his own business :p 2011-12-12T19:47:38 now he is co-owner of a new business specialized in mobile applications 2011-12-12T19:49:49 cool 2011-12-12T19:52:44 is there a way to get the version of Go installed on the workers? 2011-12-12T19:58:11 bugnuts: http://aichallenge.org/starter_packages.php 2011-12-12T19:58:12 bugnuts: check setup/worker_setup.py 2011-12-12T19:58:22 actually.. that link is easier 2011-12-12T19:58:32 bugnuts: the site says what version you'll be running against 2011-12-12T19:58:46 hey xathis played some "real" games 2011-12-12T19:58:51 beat chrish 2011-12-12T19:59:19 the version that reports isn't really a standard release afaict 2011-12-12T19:59:54 I will have a look at worker_setup 2011-12-12T20:01:33 wow, the updateVision() function from the c++ starter package is really terrible :o 2011-12-12T20:01:51 yep 2011-12-12T20:01:52 I was using it without much changes and now I realized it is taking more than half of the whole cpu usage 2011-12-12T20:01:53 yeah 2011-12-12T20:01:57 yep 2011-12-12T20:02:01 QuirionPT: antimatroid1 made it probably 2011-12-12T20:02:14 The C++ starter in general isn't very good 2011-12-12T20:02:20 yep 2011-12-12T20:02:22 :_ 2011-12-12T20:02:22 by the way, did you get my updated timer? 2011-12-12T20:02:23 ) 2011-12-12T20:02:43 I am not sure 2011-12-12T20:02:43 BenJackson: ChrisH is having timing issues or something 2011-12-12T20:03:08 * avdg checks c++ timer 2011-12-12T20:03:29 amstan: is there a way I can pull down the golang.deb you are installing... 2011-12-12T20:03:29 BenJackson: you can see a lot of it happening in that game, ants not moving 2011-12-12T20:03:48 bugnuts: https://github.com/downloads/aichallenge/aichallenge/golang_60.1-9753~natty1_amd64.deb 2011-12-12T20:03:59 excellent tyvm 2011-12-12T20:04:06 Antimony: are you storyyeller? 2011-12-12T20:05:01 yes, why? 2011-12-12T20:05:04 oh on github 2011-12-12T20:05:06 yeah 2011-12-12T20:05:13 pguillory: ah, didn't watch the game yet 2011-12-12T20:05:39 Ok I figured out where the discrepancy in stored food count came from 2011-12-12T20:05:45 Antimony: you probably have to add a commit where you remove a file 2011-12-12T20:06:01 My bot moved an ant onto the hill, but the actual bot moved it away, so when a new ant spawned, my bot didn't recognize it as new 2011-12-12T20:06:24 oh ok 2011-12-12T20:06:44 I'm new to git. Why doesn't it automatically remove the old version if you rename? 2011-12-12T20:06:57 *** roflmao has quit IRC (Quit: Leaving.) 2011-12-12T20:07:07 git only knows about renames by guessing and comparing files, renaming in git equals 2 "internal" operations (well, to keep things abstracted and simple) 2011-12-12T20:07:10 rename in git is add+delete 2011-12-12T20:07:15 oh 2011-12-12T20:07:20 renames are detected dynamically every time (every time you merge, log, etc) 2011-12-12T20:07:35 there's a shortcut git command that does both steps for you at once 2011-12-12T20:07:41 git mv 2011-12-12T20:08:35 I guess stored food detection is difficult if the moves being made are not what you expect 2011-12-12T20:08:49 at least it's not a bug in my boy 2011-12-12T20:08:52 my bot 2011-12-12T20:09:01 My least favorite thing to explain to people who don't know git is that git has no idea what a directory is, it has paths to files and directories are an implementation detail. Which is why you can't add an empty dir lol. 2011-12-12T20:09:14 there are some constrains, but once you know them, you shouldn't hit strange moves 2011-12-12T20:09:30 no, I'm running it on a replay from a different bot 2011-12-12T20:09:46 ah, in that case, you are always underestimating 2011-12-12T20:09:58 or overestimating in this case 2011-12-12T20:10:16 in the case you have a visual on all hills and see nothing spawns, you can reset the hive count 2011-12-12T20:10:20 actually I don't rely on hive spawning at all for counting 2011-12-12T20:10:40 I only observe the lack of ants on hills over time as indicating I should reset (in case of other bugs leading to drift) 2011-12-12T20:10:45 overestimating would do more bad in most cases here 2011-12-12T20:11:01 but in this case, the bot thought there was no spawn when there was 2011-12-12T20:11:06 thus overestimation 2011-12-12T20:11:17 I'm not really sure how you can avoid that 2011-12-12T20:11:21 why do you need spawn? 2011-12-12T20:12:03 hive = food eaten - (dead ants + (live ants - original ants)) 2011-12-12T20:12:46 you can't always see your ants deaths 2011-12-12T20:12:53 yes you can 2011-12-12T20:13:02 you see your ant deaths even if you don't see the square otherwise 2011-12-12T20:13:04 and its also kinda tricky to determine if an ant was spawned from the hill 2011-12-12T20:13:13 really? 2011-12-12T20:13:16 because you don't know the moves of the ant 2011-12-12T20:13:26 *** ikaros has quit IRC (Quit: Ex-Chat) 2011-12-12T20:13:44 # only include updates to squares which are visible 2011-12-12T20:13:44 # and the current players dead ants 2011-12-12T20:13:44 if v[row][col] or (ilk == 'd' and update[-1] == player) 2011-12-12T20:13:53 wow 2011-12-12T20:14:03 that's why I just read the damn game engine 2011-12-12T20:14:06 I don't think that was in the specification 2011-12-12T20:14:09 the specs are not precise enough 2011-12-12T20:14:55 :p my assumption was right here 2011-12-12T20:15:04 I hope I won't get a wrong assumption 2011-12-12T20:15:20 I also wonder what happens with dead ants in view radius of the dead ant 2011-12-12T20:15:58 for example you collide against an enemy, would you also see that you killed the enemy 2011-12-12T20:16:09 Oh wait, it is in the specs. I guess I fail at reading 2011-12-12T20:16:15 well that will make things ismpler 2011-12-12T20:16:19 when an ant moves and dies does it get to see the map anyway? 2011-12-12T20:16:28 no 2011-12-12T20:16:46 no, just the death of that ant 2011-12-12T20:16:47 just its own square, if I read that correctly 2011-12-12T20:16:52 not even its square 2011-12-12T20:16:54 just its death 2011-12-12T20:16:58 just the carcass 2011-12-12T20:17:01 multiple deaths can occur on a square 2011-12-12T20:17:08 and in the same turn something else (an ant, a hill) can be there 2011-12-12T20:17:10 *** NightExcessive has joined #aichallenge 2011-12-12T20:18:08 I guess I should redo my stored food count to use dead ants 2011-12-12T20:18:35 I had ripped the dead ant list out of Square (in the C++ starteR) so I had to re-add counting them 2011-12-12T20:18:39 but I only count, I don't save them 2011-12-12T20:19:05 I removed dead ant stuff from the python lib 2011-12-12T20:19:22 For a while, I didn't even process dead ants 2011-12-12T20:19:40 they're only useful for keeping track of food 2011-12-12T20:21:12 it might be good to know where your ants died 2011-12-12T20:21:22 e.g. if your trying to assess the strength of an opponent ;) 2011-12-12T20:21:31 you're 2011-12-12T20:23:08 do you try to detect when your hills have been razed by a lack of spawning? 2011-12-12T20:23:38 *** amstan has quit IRC (Ping timeout: 240 seconds) 2011-12-12T20:24:48 so I spun up an m2.xlarge instance and benchmarked it and it turns out its almost exactly as fast as my desktop machine... 2011-12-12T20:27:36 as long as I'm fixing my bot to be able to run on replays of others, I guess I should change the dead ant set to a multiset 2011-12-12T20:27:46 in case the actula bot is dumb enough to allow collisions 2011-12-12T20:28:36 *** Garf has quit IRC (Quit: Make a new plan, Stan!) 2011-12-12T20:31:31 *** Conorach has quit IRC (Ping timeout: 276 seconds) 2011-12-12T20:33:08 *** Antimony has quit IRC (Ping timeout: 240 seconds) 2011-12-12T20:37:50 Antimony: I print it out in my debug but I don't do anything with it 2011-12-12T20:38:53 BenJackson: can you put your bots back on bhickey? 2011-12-12T20:40:01 *** TL__ has joined #aichallenge 2011-12-12T20:42:08 *** QuirionPT has quit IRC (Quit: Leaving) 2011-12-12T20:49:04 nice, lots of servers now 2011-12-12T20:49:19 I just reuploaded earlier today and my bot has already played 5 games 2011-12-12T20:49:42 so around a game per hour 2011-12-12T20:50:31 *** Antimony has joined #aichallenge 2011-12-12T20:54:59 Antimony: why don't you use the fact that the hill no longer exists or the ant no longer exists to track ant/hill removal? 2011-12-12T20:55:29 rwest_: how do you get your ants to spread out so nicely? 2011-12-12T20:56:31 mine subtract values from the heat-map I use for exploration so that bunched up ants tend to move away from each other, but when it gets very crowded they get confused and start sticking to walls, causing further problems 2011-12-12T21:05:32 jab_bott: you're talking about filling space to search for food? 2011-12-12T21:05:45 thestinger: yeah 2011-12-12T21:06:11 walls==water :D 2011-12-12T21:06:21 I've experimented with it a bit and I can get a nice behavior to emerge now 2011-12-12T21:06:39 I started with just a multi-source BFS from all non-visible locations 2011-12-12T21:07:00 I think perhaps they need to look further afield, rather than their immediate surroundings, because often they move one way then move straight back 2011-12-12T21:07:09 and I stop multiple ants from going to a location (I propagate locations _and_ distance through that BFS) and then tag the nearby locations of a target as also taken 2011-12-12T21:07:35 and with a bunch of random hacks and tweaks it turned into a nice spread for foraging 2011-12-12T21:08:19 basically I maximize the area that is visible 2011-12-12T21:08:33 but I get it to happen indirectly 2011-12-12T21:08:41 thestinger: I have something similar for initial exploration, it works great, but after the outer ants have explored nicely, when the food collection is too much, basically when it gets too crowded around my hill the ones in the crowd get stuck 2011-12-12T21:08:59 oh, because they don't have a path to a target? 2011-12-12T21:10:06 no, they're not searching for a path, it's just that with so many crowded up they move one way to get away from the crowd only to find there's another crowd in that direction too and so they move back again as the distances change 2011-12-12T21:10:20 ah, I don't actually make them spread out 2011-12-12T21:10:38 the behavior emerges because they won't get the same targets 2011-12-12T21:10:43 for food searching 2011-12-12T21:10:45 and the ones on the edge stop spreading out once the exploration frontier is empty (i.e. the whole map has been seen at some point regardless of its current visibility) 2011-12-12T21:11:11 *** amstan has joined #aichallenge 2011-12-12T21:11:11 *** ChanServ sets mode: +o amstan 2011-12-12T21:11:30 so the ones on the edge think everything is fine, they see no need to spread out further, they don't realize that crowds are building up near the hill 2011-12-12T21:12:16 *** SMJ has quit IRC (Quit: Konversation terminated!) 2011-12-12T21:12:40 I have two types of exploration 2011-12-12T21:13:03 there's the food gathering part (which tries to maximize the visible area) and it doesn't really need very many ants 2011-12-12T21:13:15 so I have a bunch leftover at the end to attack enemy hills, or search for them 2011-12-12T21:13:52 I used to limit the number of ants used for foraging, but now that I mark off locations around a target as taken in addition to the target, it limits itself 2011-12-12T21:18:57 ok.. I see. I think I'm going to try looking a bit further afield for a suitable direction, that might help the ants get past local valleys in the heat-map 2011-12-12T21:20:15 or maybe just adding a bias away from the hill and requiring a greater step difference to override it 2011-12-12T21:21:01 maybe you aren't propogating your heat map enough 2011-12-12T21:25:26 how did languages other than c++ do vision 2011-12-12T21:25:48 antimatroid1: I copied the java method 2011-12-12T21:26:00 it basically comes up with the offsets to paint on info around the radius 2011-12-12T21:26:04 *** dmj111 has joined #aichallenge 2011-12-12T21:26:05 yeah, i do that now 2011-12-12T21:26:07 like, on turn 0 2011-12-12T21:26:12 and then paints it on every turn 2011-12-12T21:26:17 oh well, starter bots were just a starting point :P 2011-12-12T21:26:21 so I made a higher-order function to do it for any radius info 2011-12-12T21:26:40 yeah, i was just reading comments earlier about the updateVision function i wrote ages ago :P 2011-12-12T21:27:05 well, you did save me the trouble of writing the 10 lines for a BFS once I gave up on A* :P 2011-12-12T21:28:57 oh wow, I have a major bug 2011-12-12T21:29:02 rwest_: done 2011-12-12T21:29:14 I used std::function 2011-12-12T21:29:38 and I wanted it to return an int 2011-12-12T21:30:04 if (get_nattackers(new_loc) <= get_nattackers(ant)) { 2011-12-12T21:30:15 that just returns a bool atm... 2011-12-12T21:31:05 finding bugs rules when it makes your bot better 2011-12-12T21:31:11 I'm scared to fix this 2011-12-12T21:31:13 lol 2011-12-12T21:31:14 it's just plain annoying when it seems to make your bot worse 2011-12-12T21:31:30 I have to figure out what the hell my positioning code is actually doing now... 2011-12-12T21:32:06 I think this explains why my bot sometimes doesn't attack a lone ant 2011-12-12T21:32:54 wow, this is actually a huge bug 2011-12-12T21:33:15 I use this for coming up with offensive moves, positioning, etc. 2011-12-12T21:33:18 I just found that bug with my bot with a testcase 2011-12-12T21:34:17 oh well, I'll test this fix with strcat_next :P 2011-12-12T21:34:46 I have 6 bots on tcp now though... 2011-12-12T21:35:44 http://ants.fluxid.pl/replay.29264 strcat_push fixes another silly bug - my ants would leave a gap whenever they attacked due to collision avoidance 2011-12-12T21:37:57 *** roflmao has joined #aichallenge 2011-12-12T21:38:02 woah - do new submissions start playing all the lowest players first or something? my bot just played against a load of bots that basically did nothing 2011-12-12T21:38:17 jab_bott: yeah :) 2011-12-12T21:38:22 you start at skill 0 2011-12-12T21:38:33 so they only play similar skills? 2011-12-12T21:39:11 not only, but you usually play people close to you in skill 2011-12-12T21:39:22 sometimes the matchmaking does inexplicable things :P 2011-12-12T21:39:37 ahh well at least it will go up eventually and I can get an idea if it's better than my previous one that got to like place 550 or something around there 2011-12-12T21:41:15 xathis just beat pguillory on his trek to the top 2011-12-12T21:41:52 jab_bott: _lots_ of games get played now, which is nice :) 2011-12-12T21:42:05 running both on tcp at the same time should give you a good idea of which is better 2011-12-12T21:42:10 if there's a significant improvement 2011-12-12T21:42:31 oh, in a 3 player game he beat ThisIsNotABug and tied pguillory more like 2011-12-12T21:42:33 fluxid's tcp server is nice and crowded now 2011-12-12T21:42:58 I'll probably be late for work quite a few days this week!! 2011-12-12T21:45:01 *** flowenol has quit IRC (Ping timeout: 244 seconds) 2011-12-12T21:45:12 I wonder if Rust will be somewhat stable in time for the next contest 2011-12-12T21:45:19 it seriously looks like such an awesome language 2011-12-12T21:45:36 http://www.rust-lang.org/ 2011-12-12T21:46:01 I love all the features/decisions on the front page, and looking through the tutorial really makes me wish I was using it now :P 2011-12-12T21:46:59 Rust is a curly-brace,  2011-12-12T21:47:05 i stopped reading there 2011-12-12T21:47:15 they haven't actually decided on syntax yet 2011-12-12T21:47:18 that doesn't really matter 2011-12-12T21:47:31 it will be compiled, so you can just have a preprocessor for python-like syntax or whatever 2011-12-12T21:47:42 *** timtamboy63 has joined #aichallenge 2011-12-12T21:48:01 utf8-strings (so sane, like perl/go) 2011-12-12T21:48:27 Hey guys, I'm trying to work out how to set up the Ants challenge on my local machine to work with PHP, but I'm not entirely sure how, anyone have any tips/advice/help? 2011-12-12T21:48:32 algebraic data types, type inference, C++-style generics but without the crap 2011-12-12T21:48:42 I sure hope this isn't some kind of "local maximum" because my working bot just curb stomped two of my previous version 2011-12-12T21:49:03 and concurrency like erlang 2011-12-12T21:51:55 http://www.rust-lang.org/doc/tutorial/data.html so awesome :D 2011-12-12T21:52:39 bj: 2011-12-12T21:52:41 isn't that good? 2011-12-12T21:53:04 roflmao: it is, I mean I hope I haven't just made a old-bot-killer 2011-12-12T21:53:12 yeah 2011-12-12T21:53:14 that happens 2011-12-12T21:53:22 so fricken hard to adequately test your bot 2011-12-12T21:53:24 in a global way 2011-12-12T21:53:38 but with a near-top-10 bot as your baseline it's hard to make something that consistently wins 2011-12-12T21:53:39 BenJackson, how does your symmetry detection do on this map? http://aichallenge.org/visualizer.php?game=210389&user=3875 2011-12-12T21:53:52 that's why you run 20 versions on tcp to slowly optimize equations/constants :) 2011-12-12T21:54:02 offtopic: http://www.ted.com/talks/blaise_aguera_y_arcas_demos_photosynth.html 2011-12-12T21:54:23 I wonder when someone is going to grab that design a GUI for an OS around it 2011-12-12T21:54:28 no more workspaces 2011-12-12T21:54:48 Antimony: no idea. I didn't get that far in testing before deciding I didn't want to use it in my strategy 2011-12-12T21:54:54 oh 2011-12-12T21:55:10 I only bothered with certain rotations 2011-12-12T21:55:11 now I'll never know if your method is really as good as you say it is 2011-12-12T21:55:13 roflmao: workspaces are silly, I never use them 2011-12-12T21:55:19 to the poitn where I could see it work and then see my bot be worse 2011-12-12T21:55:25 thestinger: but ... what if you have a gazillion windows open? 2011-12-12T21:55:42 i usually dual monitor 6 workspaces 2011-12-12T21:55:42 yes, my window manager lets me make any windows tabbed or stacked together 2011-12-12T21:55:44 12 total screens :P 2011-12-12T21:55:52 what wmanager do you use? xmonad? 2011-12-12T21:55:55 I just use a 30" monitor at home 2011-12-12T21:55:56 i3 2011-12-12T21:55:59 it seemed huge when I got it 2011-12-12T21:56:05 just like my 24" seemed huge when I got *it* 2011-12-12T21:56:07 it was inspired by wmii, but it's a _lot_ different 2011-12-12T21:56:10 now the 30" seems normal :) 2011-12-12T21:56:15 30" 2011-12-12T21:56:16 wow 2011-12-12T21:56:17 each workspace is a tree of windows/containers 2011-12-12T21:56:17 I'm envious 2011-12-12T21:56:40 I'm running on 21" 2011-12-12T21:56:42 so any container (a workspace is basically a container) can be split horizontally/vertically and they can be stacked, tabbed, tiled or floating 2011-12-12T21:57:00 no layouts like dwm/awesome, you make your own 2011-12-12T21:57:01 *** Antimony has quit IRC (Quit: ChatZilla 0.9.87 [Firefox 8.0/20111104165243]) 2011-12-12T21:57:09 sounds a lot like xmonad 2011-12-12T21:57:12 or the other tiling window managers 2011-12-12T21:57:30 well, it's a manual tiler basically 2011-12-12T21:57:35 ah cool 2011-12-12T21:57:40 does it integrate easily with gnome? 2011-12-12T21:57:44 i don't want to lose my taskbar 2011-12-12T21:57:48 with all my app shortcuts 2011-12-12T21:57:51 dunno 2011-12-12T21:57:56 try dmenu, it's better :P 2011-12-12T21:58:26 ugluy 2011-12-12T21:58:55 :P 2011-12-12T21:59:08 not ugly, you only see it when you launch something anyway 2011-12-12T21:59:39 thing I don't really liker about tiling managers 2011-12-12T21:59:43 is I have a 21" screen 2011-12-12T21:59:50 so if I tile things they'll all be super small 2011-12-12T22:00:00 so I end up just using the tiling manager workspaces 2011-12-12T22:00:04 which is identical to using the gnome ones 2011-12-12T22:00:20 you don't have to tile everything 2011-12-12T22:00:51 yeah but i still easily fill up all 1-0 keys of workspaces 2011-12-12T22:00:56 my monitor is wide enough that I pretty much always want it split down the middle 2011-12-12T22:00:58 then I'm like "uhh err which one was I on?" 2011-12-12T22:01:02 so I don't really "tile" 2011-12-12T22:01:09 I have a vertical split 2011-12-12T22:01:14 and then everything in stacks/tabs 2011-12-12T22:01:34 also 2011-12-12T22:01:37 what about app shortcuts? 2011-12-12T22:01:43 like what? 2011-12-12T22:01:46 using alt+everything = huge conflict possibilities 2011-12-12T22:01:48 like photoshop ;P 2011-12-12T22:01:53 super+d == dmenu 2011-12-12T22:02:10 or whatever 2011-12-12T22:02:18 so if I want to start gimp 2011-12-12T22:02:34 dgimp 2011-12-12T22:02:50 it has menu based (dmenu :P) autocompletion 2011-12-12T22:03:26 *** jab_bott has quit IRC (Quit: Page closed) 2011-12-12T22:04:02 *** Paradoxial has quit IRC (Quit: :) 2011-12-12T22:04:03 nice 2011-12-12T22:04:06 that does sound nice :P 2011-12-12T22:04:42 it's a lightweight version of quicksilver basically 2011-12-12T22:04:46 ooooooooooooooooooh 2011-12-12T22:04:47 stacking 2011-12-12T22:04:48 i see 2011-12-12T22:04:50 thats fkin awesome 2011-12-12T22:05:38 http://i3wm.org/docs/userguide.html#_changing_the_container_layout 2011-12-12T22:05:46 their example is pretty silly 2011-12-12T22:06:11 you can also resize containers/splits manually ofc 2011-12-12T22:07:07 window hints are respected by default, so stuff like a firefox dialog (page info, preferences) is floating by default 2011-12-12T22:07:07 *** NightExcessive has quit IRC (Quit: Leaving) 2011-12-12T22:07:22 cool 2011-12-12T22:07:57 *** timtamboy63 has left #aichallenge 2011-12-12T22:08:56 anyways 2011-12-12T22:09:02 i can totally envision a touch tablet 2011-12-12T22:09:09 using that photosynth movement mechanism 2011-12-12T22:09:17 infinite real estate 2011-12-12T22:12:04 *** Jak_o_Shadows has joined #aichallenge 2011-12-12T22:51:20 *** roflmao has quit IRC (Quit: Leaving.) 2011-12-12T22:53:28 on the discussion earlier about the same bots playing the same, early in beta i found it was very hard to do that 2011-12-12T22:53:50 the wrapping makes it hard for all bots to choose the same targets with equal paths 2011-12-12T22:53:54 *** ltriant has quit IRC (Ping timeout: 255 seconds) 2011-12-12T22:54:33 although thinking about it, i don't see why for translationally symmetric maps 2011-12-12T22:58:25 *** TheLinker has quit IRC (Quit: Bye) 2011-12-12T23:02:20 *** dvladim has joined #aichallenge 2011-12-12T23:02:34 hmm, could i3wm replace gnome or is it a layer on top of it? 2011-12-12T23:04:03 meh, I have to go 2011-12-12T23:06:50 *** ltriant has joined #aichallenge 2011-12-12T23:07:23 *** avdg has quit IRC (Quit: Leaving.) 2011-12-12T23:07:40 *** Fandekasp has quit IRC (Ping timeout: 268 seconds) 2011-12-12T23:10:28 *** keith__ has joined #aichallenge 2011-12-12T23:16:54 *** xathis has quit IRC () 2011-12-12T23:22:41 *** Scryer has quit IRC (Quit: Page closed) 2011-12-12T23:29:26 *** dvladim has quit IRC (Ping timeout: 252 seconds) 2011-12-12T23:42:16 *** treeform has quit IRC (Ping timeout: 252 seconds) 2011-12-12T23:46:41 *** keith__ has quit IRC (Quit: Page closed) 2011-12-12T23:47:00 *** keith__ has joined #aichallenge 2011-12-12T23:49:23 *** u_ has quit IRC (Quit: u_) 2011-12-12T23:58:57 oh man, I have a condition 2011-12-12T23:58:59 !foo < 8 2011-12-12T23:59:05 dammit