2011-04-26T00:00:05 there was a closed beta period before opening to the public 2011-04-26T00:00:13 amstan: I thought about that, but it is only a test database and so I didn't care 2011-04-26T00:00:13 _flag: umm... yes.. 2011-04-26T00:00:30 didn't notice that, i saw the first post on reddit like a week before official openiong 2011-04-26T00:00:32 _flag: can you make another one? and this time fork the repo 2011-04-26T00:00:41 amstan: plus, it's a funny password 2011-04-26T00:01:21 <_flag> amstan: another what exactly? 2011-04-26T00:01:32 _flag: another c starter 2011-04-26T00:01:40 _flag: if you want me to delete this one.. 2011-04-26T00:02:14 <_flag> What I meant is you can just ignore the example bot, the starter pack is fine 2011-04-26T00:03:02 <_flag> I'm talking about this: https://github.com/aichallenge/aichallenge/issues/41 2011-04-26T00:04:52 <_flag> amstan: ping 2011-04-26T00:05:14 oh, ok 2011-04-26T00:05:23 _flag: so i don't have to do anything then? 2011-04-26T00:05:29 _flag: i'm confused 2011-04-26T00:05:51 _flag: keep in mind that we're using an older version of your repo atm, i wasn't aware you made new changes or if i'm supposed to use them 2011-04-26T00:06:17 _flag: oh, there's a new line of input btw :P 2011-04-26T00:06:29 there is now an 'r' line 2011-04-26T00:06:41 the old bots aren't broken, but it'd be cool if the starter bot got updated 2011-04-26T00:06:48 <_flag> amstan: Originally I had a sample bot instead of the starter bot because I wasn't aware the starter bot had a spec 2011-04-26T00:07:07 basically you just stop clearing food information each turn and if you get an 'r' line, remove food information at the specified location 2011-04-26T00:07:08 <_flag> antimatroid: Is it on the wiki? I can do it tommorow 2011-04-26T00:07:12 yep 2011-04-26T00:07:16 no rush :) 2011-04-26T00:07:35 it makes it easy to track information about food out of sight and know the correct value of a visible square 2011-04-26T00:07:57 if one doesn't change the bot it just keeps working as it did 2011-04-26T00:08:06 *** sigh has quit IRC (Ping timeout: 240 seconds) 2011-04-26T00:08:37 *** sigh has joined #aichallenge 2011-04-26T00:10:01 <_flag> antimatroid: okay, I'll do it tomorrow then 2011-04-26T00:10:33 *** sigh has joined #aichallenge 2011-04-26T00:19:43 *** contestbot has joined #aichallenge 2011-04-26T00:19:51 contestbot: rankings 2011-04-26T00:19:52 amstan: Top 10 players: bocsimacko(3765), _iouri_(3565), Slin-.-(3524), _Astek_(3501), jimrogerz(3500), Accoun(3498), george(3494), GreenTea(3489), asavis(3480), bix0r4ever(3476) 2011-04-26T00:23:16 amstan: it takes awhile, it's lots of test data 2011-04-26T00:24:44 McLeopold: it's still doing it.. 2011-04-26T00:24:57 aichallenge: janzert epsilon * r7675414 / (setup/worker_setup.py worker/jail_own.c): Add small program to change ownership of certain jail files between the jail user and contest user - http://bit.ly/esljh5 2011-04-26T00:25:18 and there's still no rankings on the site 2011-04-26T00:25:47 McLeopold: i'm running it with def create_test_data(user_count=5000, map_count=100, game_count=1000000, matchup_count=10): 2011-04-26T00:25:48 if there are any C Unix programmers around, a thorough review of jail_own.c above would be really good 2011-04-26T00:25:49 is that bad? 2011-04-26T00:26:02 since it is the only setuid program of the contest 2011-04-26T00:26:25 janzert: you could try #c if nobody comes up 2011-04-26T00:26:32 i found the ppl there to know their stuff 2011-04-26T00:27:12 yeah, if no one looks at it before then as we get closer that would be a good idea 2011-04-26T00:27:32 I'll hold off for now in case I need further changes in functionality first 2011-04-26T00:28:33 at least all the pieces should now be in place for sandbox.py to do real sandboxing on a worker 2011-04-26T00:28:47 now to just make it actually do it 2011-04-26T00:32:03 janzert: owner_uid = CONTEST_UID 2011-04-26T00:32:15 janzert: is that supposed to be defined in a header file? 2011-04-26T00:33:16 no, it's defined with "gcc -DCONTEST_UID=blah -DCONTEST_GID=blag -DJAIL_GID=blar jail_own.c -o jail_own" currently 2011-04-26T00:34:00 oh, ok 2011-04-26T00:34:03 I thought about a real makefile for it but the python seemed easier :} 2011-04-26T00:34:11 McLeopold: i got bored, changed it to much lower values 2011-04-26T00:34:29 McLeopold: it finished but i still don't see much 2011-04-26T00:34:38 amstan: you only need that for load testing database queries 2011-04-26T00:34:51 use small amounts just for looking at web pages 2011-04-26T00:35:06 no.. what i wanted was a way to see a rankings table 2011-04-26T00:35:18 or is that not finished yet? 2011-04-26T00:35:25 a few users is good enough for that, isn't it? 2011-04-26T00:35:38 by table i meant html table 2011-04-26T00:35:41 no, not finished yet 2011-04-26T00:35:49 ok, lol 2011-04-26T00:35:49 yeah, I know 2011-04-26T00:47:10 *** nullkuhl has joined #aichallenge 2011-04-26T00:47:48 *** nullkuhl has quit IRC (Remote host closed the connection) 2011-04-26T00:48:12 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has quit IRC (Quit: Lost terminal) 2011-04-26T00:49:32 *** nullkuhl has joined #aichallenge 2011-04-26T00:57:26 oh man.. you can type so well with this: http://duiker101.tk/hackertyper/ 2011-04-26T00:59:16 amstan: I just learned c! 2011-04-26T00:59:24 I'm soo good at it 2011-04-26T00:59:43 i just learned to type a character even when i'm releasing a key 2011-04-26T00:59:49 so i can type doubly fast 2011-04-26T01:09:09 *** nullkuhl has quit IRC (Ping timeout: 250 seconds) 2011-04-26T01:11:19 *** amstan_ has joined #aichallenge 2011-04-26T01:11:19 *** ChanServ sets mode: +o amstan_ 2011-04-26T01:13:15 *** nullkuhl has joined #aichallenge 2011-04-26T01:20:40 *** amstan has quit IRC (Ping timeout: 260 seconds) 2011-04-26T01:28:01 *** lean has joined #aichallenge 2011-04-26T01:28:18 Hi! Anyone here? 2011-04-26T01:30:34 I would like to sponsor AI projects and research. Contact me at leandror@intraway.com. Will favor latin american projects. 2011-04-26T01:31:13 *** lean has quit IRC (Client Quit) 2011-04-26T01:33:50 random 2011-04-26T01:49:40 *** Accoun has quit IRC (Ping timeout: 240 seconds) 2011-04-26T01:51:37 *** Mathnerd314 has quit IRC (Ping timeout: 250 seconds) 2011-04-26T01:54:26 amstan_, that site does not work so well for me in firefox, when I press a key it types but then it launches the quickfind box so any more typing is captured by that 2011-04-26T01:54:53 quickfind box? 2011-04-26T01:55:30 sigh: wierd, it works fine here on FF 4 2011-04-26T01:55:50 pressing / in a normal page on firefox puts you in the quick find box 2011-04-26T01:55:51 amstan_: I assume what you would get by hitting / 2011-04-26T01:55:57 on that page it does it with any key 2011-04-26T01:56:11 worked for me in firefox 2011-04-26T01:56:13 weird 2011-04-26T01:56:22 works for me in chrome 2011-04-26T01:56:23 odd 2011-04-26T01:56:58 contestbot: later tell j3camero [01:30] I would like to sponsor AI projects and research. Contact me at leandror@intraway.com. Will favor latin american projects. 2011-04-26T01:56:59 amstan_: I come to serve. 2011-04-26T01:58:55 I can still type with Esc, delete, shift, ctrl, alt, return, apple key and the arrow keys 2011-04-26T01:59:55 ahh...if I hold down ctrl or alt I can press the alphanum keys 2011-04-26T02:00:19 ok, that's enough time looking at stupid workarounds 2011-04-26T02:02:25 sigh: are you ready for more changes? 2011-04-26T02:02:50 what changes? 2011-04-26T02:02:56 I probably won't get to them today 2011-04-26T02:03:02 that's fine 2011-04-26T02:03:36 *** jaycobcoleman has joined #aichallenge 2011-04-26T02:03:46 http://pastebin.com/G429rgbe 2011-04-26T02:04:02 sigh: there's a log if you care to slog through our conversation 2011-04-26T02:04:22 sigh: In a nut shell, 1 point per ant spawn in addition to the kill points 2011-04-26T02:04:24 the idea is to give every ant spawned a point 2011-04-26T02:05:39 *crickets* 2011-04-26T02:05:39 the basic reasoning being that an ant that improves their food collection should see a noticeable boost in their rankings (get 'em hooked) 2011-04-26T02:05:54 we've had a fairly lengthy discussion about what it does/n't encourage 2011-04-26T02:06:11 that seem quite easy 2011-04-26T02:06:18 makes the scoring a bit more consistent 2011-04-26T02:06:34 yeah, now there are 2 things you can do to score 2011-04-26T02:06:41 make ants and kill ants 2011-04-26T02:06:48 the best of both worlds 2011-04-26T02:06:58 animatroid: I belive you had a similar idea to me of having a last seen array, correct? :) 2011-04-26T02:07:03 and you can think of it like this, each and is worth 1 point + whatever it makes from damaging dying enemies 2011-04-26T02:07:09 plus, we think there is still enough discouragement of campers and drawn out games 2011-04-26T02:07:29 the question is, does the first ant get a point? 2011-04-26T02:07:32 the poor little bugger 2011-04-26T02:07:35 also, I love this. creating ants should definitely score points 2011-04-26T02:07:40 antimatroid, might as well 2011-04-26T02:07:41 *** Ice_Harley has joined #aichallenge 2011-04-26T02:07:41 why not? 2011-04-26T02:07:45 yep 2011-04-26T02:07:51 make 'em feel good 2011-04-26T02:07:53 so, no one can score 0 2011-04-26T02:07:55 free point 2011-04-26T02:08:08 how about -100 if he dies 2011-04-26T02:08:25 sigh: just going over the seq branch, it looks fine to merge to epsilon at least so we can play with it more and check that sequential running works for us 2011-04-26T02:08:40 The first ant? 2011-04-26T02:08:40 or the bot? 2011-04-26T02:08:53 probably better to get it back into the mainline soon so it doesn't bitrot anymore than it has 2011-04-26T02:08:56 janzert, cool, thanks 2011-04-26T02:09:08 the first ant 2011-04-26T02:09:26 meehhhhh that seems like a bad plan 2011-04-26T02:09:27 btw, I'll be working heavily in sandbox.py starting tomorrow 2011-04-26T02:09:53 oh, it's a *really* bad plan, but would be funny 2011-04-26T02:10:09 haha yes indeed 2011-04-26T02:10:12 oh ok, I'll the merge soon 2011-04-26T02:10:19 you had me worried for a second 2011-04-26T02:10:30 I forget to type smilies :D 2011-04-26T02:10:31 but it was sitting in the back of my mind "is he joking?..." 2011-04-26T02:10:41 :) 2011-04-26T02:10:44 * janzert *still* likes inverse elimination :P 2011-04-26T02:10:56 * McLeopold wonders what janzert means 2011-04-26T02:11:02 * janzert goes afk before anyone can start arguing with him over that 2011-04-26T02:11:07 for game scoring 2011-04-26T02:11:15 * McLeopold still wonders 2011-04-26T02:11:35 was that in the wiki? 2011-04-26T02:11:38 i think inverse elimination with strongly discourage attacking 2011-04-26T02:11:52 first person eliminated is ranked last, last person surviving is ranked first 2011-04-26T02:11:54 which will lead to long drawn out games 2011-04-26T02:11:55 and I'm gone 2011-04-26T02:12:20 play galcon online, then come argue that 2011-04-26T02:12:58 :P 2011-04-26T02:13:04 * McLeopold forgot another smiley 2011-04-26T02:13:30 * antimatroid was recently alerted to the feature where you can strip the smileys and get the original text 2011-04-26T02:13:33 I think the food bonus will be large enough so that last player remaining will win anyway 2011-04-26T02:13:34 you guys must think I'm a totaly asshole half the time if you though -100 was serious? 2011-04-26T02:13:38 it's very nice when maths etc. is given 2011-04-26T02:13:58 McLeopold: who took that seriously? 2011-04-26T02:14:00 in pidgen? 2011-04-26T02:14:02 serially* 2011-04-26T02:14:07 I did, I was about to push the change :( 2011-04-26T02:14:08 yeah, pidgin <3 2011-04-26T02:14:19 me :) 2011-04-26T02:14:21 "disable smileys in selected text" 2011-04-26T02:14:23 I took me 2 month to find the smiley off switch :) 2011-04-26T02:14:34 i was told about it like last week 2011-04-26T02:14:42 wait, change your theme 2011-04-26T02:14:51 I had no smileys to begin with 2011-04-26T02:14:52 perminant off 2011-04-26T02:15:00 oh, i like having them d; 2011-04-26T02:15:15 (>^_^)> 2011-04-26T02:15:25 apparenly backwards smileys makes someone a girl 2011-04-26T02:15:37 so i've been sticking it to the stereotype of late 2011-04-26T02:15:39 just because 2011-04-26T02:15:50 yeah... that'll learn 'em 2011-04-26T02:15:51 d: is my favourite 2011-04-26T02:16:17 *** sigh has quit IRC (Quit: Leaving) 2011-04-26T02:17:25 It's shocking how you guys manage to have all the important discussions as soon as I disappear 2011-04-26T02:17:29 *** sigh has joined #aichallenge 2011-04-26T02:17:33 I must seriously hinder progress around here 2011-04-26T02:21:15 Speaking of. How did you decide points would be distributed in a battle? 2011-04-26T02:21:33 rationally 2011-04-26T02:21:47 lol 2011-04-26T02:22:12 (cause we use the Fraction class, hee hee) 2011-04-26T02:22:38 jaycobcoleman: the scoring method for battles makes perfect sense for the damage option 2011-04-26T02:23:46 1/(number of ants in battle) distributed to every ant in the battle? 2011-04-26T02:23:56 yeah 2011-04-26T02:24:06 okay, maybe not perfectly 2011-04-26T02:24:08 but close 2011-04-26T02:24:10 ants adding damage to a death at to be specific 2011-04-26T02:24:10 including dying ants 2011-04-26T02:24:25 *dead ant* 2011-04-26T02:24:39 yeah, even colliding ants get points 2011-04-26T02:24:43 and colliding ants give out points 2011-04-26T02:24:46 do they? 2011-04-26T02:24:49 yes 2011-04-26T02:24:56 if an enemy is in range 2011-04-26T02:24:57 otherwise if two enemies collided no one got points 2011-04-26T02:24:59 yep 2011-04-26T02:25:23 sigh: is that right? collided ants get points from dying battle ants and vice versa? 2011-04-26T02:25:34 yeah 2011-04-26T02:25:41 i like it like that 2011-04-26T02:26:13 and you can't collide your ants in battle range of an enemy to stop them getting points 2011-04-26T02:26:17 although you can outside range 2011-04-26T02:26:25 say you have 2 ants surrounded 2011-04-26T02:28:50 aichallenge: sigh epsilon * rf889d72 / (worker/engine.py worker/sandbox.py): Merge branch 'seq' into epsilon - http://bit.ly/fw6Z8g 2011-04-26T02:28:51 aichallenge: sigh epsilon * rc350f26 / worker/engine.py : Fix up broken merge with seq branch - http://bit.ly/eRQ4tu 2011-04-26T02:29:42 https://github.com/aichallenge/aichallenge/wiki/Ants-Game-Specification 2011-04-26T02:29:54 McLeopold: want to check the scoring section of that for me? :P 2011-04-26T02:30:17 it's right at the bottom 2011-04-26T02:30:57 why does every text block start with a space? 2011-04-26T02:31:03 it's probably perfect 2011-04-26T02:31:54 jaycobcoleman: see my comments to amstan before 2011-04-26T02:32:01 the good news is they aren't there when he converts them 2011-04-26T02:32:28 http://hypertriangle.com:13080/specification.php 2011-04-26T02:32:31 see there 2011-04-26T02:32:33 alright, I figured you'd have it covered :P 2011-04-26T02:34:52 i'm still not sure about that blue 2011-04-26T02:35:02 i wonder if a dirt coloured brown would look nicer 2011-04-26T02:35:26 yes, brown would look nicer 2011-04-26T02:36:03 animatroid: I was talking to amstan about that earier :P 2011-04-26T02:36:26 would making a dirt image from scratch be the best option? 2011-04-26T02:37:28 use repeating layered backgrounds 2011-04-26T02:38:31 i like whoever had the idea of making the background reflect different maps 2011-04-26T02:39:28 oh yes I remember that 2011-04-26T02:40:03 But to like a person for a single idea seems pretty shallow :P 2011-04-26T02:41:07 i realised that mishap 2011-04-26T02:41:10 i meant i liked the idea 2011-04-26T02:41:16 but i like the person anyway, shallow or not 2011-04-26T02:42:59 :) 2011-04-26T02:44:04 *** sigh has quit IRC (Ping timeout: 260 seconds) 2011-04-26T02:44:49 *** sigh has joined #aichallenge 2011-04-26T02:59:43 *** aerique has joined #aichallenge 2011-04-26T03:13:30 lol lame 2011-04-26T03:13:45 ? 2011-04-26T03:13:46 all four of the gambit projects are for doing representations of games etc. 2011-04-26T03:13:52 no fun algorithms projects 2011-04-26T03:14:11 so is your rejection good? 2011-04-26T03:14:38 i'm sort of glad i didn't get it, but $5k would have been nice 2011-04-26T03:15:00 *** sigh has quit IRC (Ping timeout: 260 seconds) 2011-04-26T03:15:11 but now i get to keep playing around with cooperation for my thesis instead of writing some function for a horribly written library 2011-04-26T03:15:47 *** sigh has joined #aichallenge 2011-04-26T03:17:10 Well I made an image of (supposedly) dirt from scratch. And in the process discovered that I'm terrible at editing images :P 2011-04-26T03:20:09 look at that baby: http://imgur.com/HpOp6 2011-04-26T03:20:18 I'm not sure I even know what dirt looks like 2011-04-26T03:20:47 green? 2011-04-26T03:20:58 lol 2011-04-26T03:21:03 I don't think you do :p 2011-04-26T03:21:05 i was thinking more a brown shade 2011-04-26T03:21:19 evidently I'm convinced it's green 2011-04-26T03:21:24 haha so was I 2011-04-26T03:21:35 I'm colorblind leave me alone! 2011-04-26T03:21:42 haha 2011-04-26T03:21:56 maybe you should be doing the graphics then ;p 2011-04-26T03:21:56 :P 2011-04-26T03:22:03 shouldn't* :P 2011-04-26T03:22:21 probably a good idea :) 2011-04-26T03:23:15 Would you want a texture like that though or a more realistic, inconsistent one? 2011-04-26T03:23:26 or maps? 2011-04-26T03:23:26 or blue 2011-04-26T03:23:37 everything's on the table 2011-04-26T03:30:09 *** _0x47 <_0x47!~slash@p5B25ED8F.dip.t-dialin.net> has joined #aichallenge 2011-04-26T03:32:03 http://imgur.com/rAVZq 2011-04-26T03:32:09 Is that one any more brown? 2011-04-26T03:32:18 way better 2011-04-26T03:32:39 couldn't you take the average red and green and just make sure they are similar? 2011-04-26T03:32:52 yeah, that is much more dirtish 2011-04-26T03:33:39 good. Dirtish is what I was going for 2011-04-26T03:34:26 and McLeopold, don't ask me 2011-04-26T03:34:34 I know literally nothing about colors 2011-04-26T03:34:37 about what? 2011-04-26T03:34:53 avg. red/green 2011-04-26T03:34:56 oh, a paint program should be able to tell you the values 2011-04-26T03:34:56 colour! 2011-04-26T03:35:05 haha 2011-04-26T03:35:08 America 2011-04-26T03:35:19 Am'r'ca! 2011-04-26T03:35:26 you guys don't use teh metric system. 2011-04-26T03:35:33 I do :P 2011-04-26T03:35:33 so, the aussies sided with the british for spelling? 2011-04-26T03:35:43 McLeopold: yep 2011-04-26T03:35:47 I use metric just to rebel 2011-04-26T03:36:01 Nobody every knows what I'm talking about 2011-04-26T03:36:14 that doesn't make sense 2011-04-26T03:36:23 *ever 2011-04-26T03:36:23 ^^ i like how unreadable that sentence is given what it's saying 2011-04-26T03:37:01 oh irony... 2011-04-26T03:37:14 I'm an idiot sometimes 2011-04-26T03:38:07 or my second finger was feeling bored and decided to push extra buttons 2011-04-26T03:39:45 *** woudshoo` has joined #aichallenge 2011-04-26T03:40:18 *** McLeopold has quit IRC (Ping timeout: 240 seconds) 2011-04-26T03:41:07 *** McLeopold has joined #aichallenge 2011-04-26T03:44:55 *** Accoun has joined #aichallenge 2011-04-26T03:44:57 animatroid: Well, brand new git clone. I think it's time to play with the C++ bot 2011-04-26T03:49:25 we should get some sample c++ bots out 2011-04-26T03:49:43 *** janzert has left #aichallenge 2011-04-26T03:50:17 *** janzert has joined #aichallenge 2011-04-26T04:00:35 amstan_: we have to disable fullscreen mode on the front page. People who set fullscreen as the default wont see the front page otherwise. 2011-04-26T04:00:51 *** sigh has quit IRC (Ping timeout: 240 seconds) 2011-04-26T04:02:24 *** Frontier has quit IRC (Quit: Leaving.) 2011-04-26T04:03:53 *** amstan_ has quit IRC (Ping timeout: 252 seconds) 2011-04-26T04:07:17 *** Frontier has joined #aichallenge 2011-04-26T04:11:00 *** sigh has joined #aichallenge 2011-04-26T04:11:34 *** kaemo0 has quit IRC (Ping timeout: 246 seconds) 2011-04-26T04:12:20 *** kaemo has quit IRC (Ping timeout: 258 seconds) 2011-04-26T04:14:31 *** boegel has joined #aichallenge 2011-04-26T04:16:20 sigh: Do you know any c++? 2011-04-26T04:18:40 *** Blkt has joined #aichallenge 2011-04-26T04:19:38 he does 2011-04-26T04:19:44 he's one of my goto people for help 2011-04-26T04:19:47 :p 2011-04-26T04:20:23 I think a problem he brought up with the previous python code would also apply to your c++ vision code 2011-04-26T04:20:27 this one to be exact: http://pastebin.com/gscdvw3u 2011-04-26T04:20:47 *previous python vision code that is 2011-04-26T04:21:49 there's got to be a way to pick the correct ant when you merge 2011-04-26T04:22:16 i don't think so 2011-04-26T04:22:24 https://github.com/aichallenge/aichallenge/blob/epsilon/ants/dist/starter_bots/cpp/State.cc 2011-04-26T04:22:28 line 71 on has the vision code 2011-04-26T04:22:35 it uses a new visited vector for each ant 2011-04-26T04:23:46 that it does :) 2011-04-26T04:24:02 although that does seem terribly inefficient... 2011-04-26T04:25:07 *** McLeopold has quit IRC (Read error: Connection reset by peer) 2011-04-26T04:26:49 If my memory of c++ will cooperate with me then I think I'll write a rendition of sigh's vision_by_ant for c++ 2011-04-26T04:27:52 it's a starter bot 2011-04-26T04:28:02 vision isn't terribly expensive anyway 2011-04-26T04:28:06 you only need to run it once per turn 2011-04-26T04:29:09 a harder problem is finding the set of ants that might affect one of your ants with a battle 2011-04-26T04:29:14 maybe I'm just getting too used to python where everything is expensive :P 2011-04-26T04:29:23 a%%b, a%.b, a.%b begins to highlight my problem 2011-04-26T04:29:58 and of course one would like it to be general for different battle radiuses 2011-04-26T04:30:08 good day everyone 2011-04-26T04:30:11 you mean predicting whether you'll become locked in a battle the next turn? 2011-04-26T04:30:23 whether it's possible for the ants to land in a battle 2011-04-26T04:30:35 and hence whether they should be considered in the same "game" 2011-04-26T04:30:47 I see 2011-04-26T04:31:05 *** woudshoo` has quit IRC (Ping timeout: 250 seconds) 2011-04-26T04:33:50 i think the best might be to find the subset of 5 squares you might be able to land in 2011-04-26T04:34:04 then search the extended set to see if any ants can move into a square within range of one of those 2011-04-26T04:34:41 another thing would be a.a..b 2011-04-26T04:34:45 you don't need to consider the first a there 2011-04-26T04:35:43 *** sids_aquarius has joined #aichallenge 2011-04-26T04:35:53 could you just test the outermost squares of your current battle radius and see if any enemies are within 2 squares of each of them? 2011-04-26T04:36:04 or within of course 2011-04-26T04:36:24 but what about a%.b 2011-04-26T04:36:29 i mean a%%b 2011-04-26T04:36:40 you don't want to put those two in the same game 2011-04-26T04:37:14 putting more players than necessary in a game is about the most costly thing you can do 2011-04-26T04:37:31 and not good strategy 2011-04-26T04:39:53 okay well for each ant create an array of the distances to each square and if any enemy ants are within your battle radius plus 2 and the distance they need to travel to get to you is consistent with that value then they're a part of the game 2011-04-26T04:40:27 "for each ant create an array of the distances to each square" 2011-04-26T04:40:28 lol what 2011-04-26T04:40:32 that would be very expensive 2011-04-26T04:40:43 you aren't storing it 2011-04-26T04:40:56 it isn't so terrible 2011-04-26T04:41:08 and it's not for the whole map 2011-04-26T04:41:09 it is when i want it to be quite fast 2011-04-26T04:41:16 you really only need to do it for your battle radius plus 2 2011-04-26T04:41:22 which would be quite fast 2011-04-26T04:46:00 another option would be to check each square on a direct path from you to an enemy ant to see if it is water. if so +2 to the total distance to compenstate, then check all around for more water, adding to compensate each time, until you run out of water in one direction or reach BR+2 2011-04-26T04:46:30 although that's not entirely accurate... 2011-04-26T04:46:53 *** Naktibalda has joined #aichallenge 2011-04-26T04:47:14 *** _0x471 <_0x471!~slash@p3EE0B00C.dip.t-dialin.net> has joined #aichallenge 2011-04-26T04:47:21 Theres definitely a way to determine what how to compensate for various positions of water relative to your ant 2011-04-26T04:47:26 i need it to be accurate and to work for any battle radius 2011-04-26T04:47:43 If implemented corrctly that'd do it 2011-04-26T04:47:48 *correctly 2011-04-26T04:48:09 But I can't wrap my head around the compensation at the moment 2011-04-26T04:48:20 *** _0x47 <_0x47!~slash@p5B25ED8F.dip.t-dialin.net> has quit IRC (Ping timeout: 276 seconds) 2011-04-26T04:49:59 another example is 2011-04-26T04:49:59 a%% 2011-04-26T04:50:00 %%b 2011-04-26T04:50:07 yo don't want them in the same game 2011-04-26T04:55:59 *** _0x47 <_0x47!~slash@p3EE0BDC7.dip.t-dialin.net> has joined #aichallenge 2011-04-26T04:56:33 The idea of following the water to its ends or until the value is greater than what would institute a possible battle cenario is to rule out battles where travel distance becomes greater than actual distance 2011-04-26T04:56:38 *scenario 2011-04-26T04:57:01 *** woudshoo` has joined #aichallenge 2011-04-26T04:57:07 not really what I meant, but okay 2011-04-26T04:57:38 when actual travel distance is greater than what would allow a battle 2011-04-26T04:57:57 *** _0x471 <_0x471!~slash@p3EE0B00C.dip.t-dialin.net> has quit IRC (Ping timeout: 250 seconds) 2011-04-26T04:59:50 *** mceier has joined #aichallenge 2011-04-26T05:10:54 i wish we hadn't used the euclidean metric 2011-04-26T05:10:58 it makes life tough sometimes 2011-04-26T05:12:47 makes it damn tough 2011-04-26T05:12:54 but much more realistic 2011-04-26T05:18:14 that could be fixed by adding diagonal movement. and the fact that you'd actually be moving much faster going diagonally could be accounted for by making twice as high and wide and making movement in a single direction worth two squares whereas diagonal movement would be 1x1 2011-04-26T05:20:11 *** woudshoo` has quit IRC (Ping timeout: 276 seconds) 2011-04-26T05:21:32 *** dr-` has joined #aichallenge 2011-04-26T05:21:41 *** dr- has quit IRC (Ping timeout: 276 seconds) 2011-04-26T05:23:20 *** _0x471 <_0x471!~slash@p3EE0ACED.dip.t-dialin.net> has joined #aichallenge 2011-04-26T05:23:33 *** _0x47 <_0x47!~slash@p3EE0BDC7.dip.t-dialin.net> has quit IRC (Ping timeout: 240 seconds) 2011-04-26T05:25:57 There's about a 50% chance that last, surely muddled thought was coherent. If not then I should probably be sleeping 2011-04-26T05:27:58 *** jaycobcoleman has quit IRC (Quit: Page closed) 2011-04-26T05:28:21 *** jaycobcoleman has joined #aichallenge 2011-04-26T05:37:36 *** mcstar has joined #aichallenge 2011-04-26T05:38:31 *** woudshoo` has joined #aichallenge 2011-04-26T05:39:17 *** jaycobcoleman has quit IRC (Quit: Page closed) 2011-04-26T06:04:22 *** Eruonen has joined #aichallenge 2011-04-26T06:07:45 *** nullkuhl has quit IRC (Remote host closed the connection) 2011-04-26T06:08:36 *** Eruonen has quit IRC (Ping timeout: 252 seconds) 2011-04-26T06:12:50 *** Eruonen has joined #aichallenge 2011-04-26T06:16:40 *** needsch has joined #aichallenge 2011-04-26T06:31:59 *** woudshoo` has quit IRC (Ping timeout: 250 seconds) 2011-04-26T06:38:38 *** antimatroid has quit IRC (Ping timeout: 240 seconds) 2011-04-26T06:44:30 *** sigh has quit IRC (Ping timeout: 240 seconds) 2011-04-26T06:45:55 *** sigh has joined #aichallenge 2011-04-26T06:49:14 *** Frontier1 has joined #aichallenge 2011-04-26T06:50:06 *** Frontier has quit IRC (Ping timeout: 240 seconds) 2011-04-26T06:55:24 *** antimatroid has joined #aichallenge 2011-04-26T06:55:43 *** delt0r___ has joined #aichallenge 2011-04-26T06:57:07 *** delt0r_ has quit IRC (Ping timeout: 250 seconds) 2011-04-26T06:59:05 *** woudshoo` has joined #aichallenge 2011-04-26T07:09:43 *** Ice_Harley has quit IRC (Ping timeout: 252 seconds) 2011-04-26T07:15:19 *** woudshoo` has quit IRC (Ping timeout: 246 seconds) 2011-04-26T07:29:04 *** sigh has quit IRC (Ping timeout: 248 seconds) 2011-04-26T07:30:14 *** sigh has joined #aichallenge 2011-04-26T07:38:00 lol i just made a QMatrix 2011-04-26T07:38:08 it stores a queue of elements that have been used 2011-04-26T07:38:18 that should probably be a set 2011-04-26T07:39:29 *** sigh has quit IRC (Ping timeout: 252 seconds) 2011-04-26T07:40:40 *** sigh has joined #aichallenge 2011-04-26T07:52:04 *** _0x47 <_0x47!~slash@p3EE0B402.dip.t-dialin.net> has joined #aichallenge 2011-04-26T07:53:08 *** _0x471 <_0x471!~slash@p3EE0ACED.dip.t-dialin.net> has quit IRC (Ping timeout: 260 seconds) 2011-04-26T07:59:02 *** helo_ has joined #aichallenge 2011-04-26T08:05:55 *** helo_ has quit IRC (Quit: Page closed) 2011-04-26T08:07:45 *** Blkt has quit IRC (Ping timeout: 250 seconds) 2011-04-26T08:31:02 sigh: will this work like python %? :P 2011-04-26T08:31:14 http://pastebin.com/gvzDSpG1 2011-04-26T08:31:27 or more importantly, how can i do that better? 2011-04-26T08:32:39 what do you mean like python? you mean how python takes the sign from the Divisor? 2011-04-26T08:32:53 i want -6%5 = 4 2011-04-26T08:33:26 i'm worried about translating with the vision code, and it not wrapping properly with my +rows)%rows trick 2011-04-26T08:33:39 what about 6%-5? 2011-04-26T08:33:55 i wouldn't be calling it with -5 :P 2011-04-26T08:34:07 :P 2011-04-26T08:34:12 or, do you think it's safe for my to assume rows/cols > viewradius? 2011-04-26T08:34:44 perl unload beep 2011-04-26T08:35:30 antimatroid: using floating point operations for integer arithmatic is rarely safe 2011-04-26T08:35:50 so how do i get python like modulo in c++? :P 2011-04-26T08:35:58 otherwise my code is not general 2011-04-26T08:36:20 just do: r=t%n; if (r<0) r+=n; 2011-04-26T08:36:28 what's wrong with that? 2011-04-26T08:46:59 woah... ping: sendto: Cannot allocate memory 2011-04-26T08:47:15 and I've got 4.3 GB free memory... never seen ping screw up before 2011-04-26T08:49:50 *** smiley1983 has joined #aichallenge 2011-04-26T08:50:21 *** FireFly has joined #aichallenge 2011-04-26T08:59:08 what is the point in -6%5=4 ? 2011-04-26T08:59:25 mcstar: what do you mean? 2011-04-26T08:59:32 why isnt it -1? 2011-04-26T09:00:06 well, antimatroid means (-6)%5 2011-04-26T09:00:11 -1*5-1=-6 2011-04-26T09:00:36 the remainder is -1 2011-04-26T09:00:51 yes, but also -2*5+5=-6 :) 2011-04-26T09:01:00 -2*5+4=-6 :) 2011-04-26T09:01:20 aha 2011-04-26T09:01:49 i still dont see why is 4 preferred over -1 2011-04-26T09:01:59 both -1 and 4 are valid answers... some languages take the sign from the dividend and some from the divisor 2011-04-26T09:02:13 i get it 2011-04-26T09:02:35 new_row = (current_row-1)%height 2011-04-26T09:02:45 It should be 4 not -1 if we treat % as mod 2011-04-26T09:02:56 nice to guarantee that the result is positive 2011-04-26T09:03:22 delt0r___: what do you mean? 2011-04-26T09:03:27 i see, its a convention to make life easier 2011-04-26T09:03:48 negative is just "counting" backwards... ie moving the other direction on the number line, and with mod you number line goes from 0 to 5 (mod 6) 2011-04-26T09:04:01 with wraping---there are no "negatives" 2011-04-26T09:04:08 other than a+-a=0 2011-04-26T09:04:09 mcstar: yes... also in antimatroid's case, he wants to port python code, and python takes the sign form the divisior 2011-04-26T09:04:31 the the negative of 3 mod 6 is 3 2011-04-26T09:04:35 not -3 2011-04-26T09:04:37 mod 3 2011-04-26T09:04:40 :D 2011-04-26T09:04:50 *** kaemo0 has joined #aichallenge 2011-04-26T09:04:55 we are talking mod 5 here :P 2011-04-26T09:05:07 but you could argue that the results are the equivalence classes [0]..[4] 2011-04-26T09:05:11 well it should be a prime... they are cooler.. 2011-04-26T09:05:12 totally different case :) 2011-04-26T09:05:14 mod 7 2011-04-26T09:05:17 both 4 and -1 are valid representatives of [4] 2011-04-26T09:05:40 5 is already a prime! 2011-04-26T09:06:07 in fact -1 here mean "the negative of 1" rather than "minus 1" 2011-04-26T09:06:19 the negative with respect to + 2011-04-26T09:06:26 hmm... i don't understand the distinction? 2011-04-26T09:06:26 sorry too much math 2011-04-26T09:07:09 keep it coming math is important 2011-04-26T09:07:11 sigh: there is not really one. it just that minus one in not in the set of valid numbers 2011-04-26T09:08:02 in finite fields or rings or groups --all operations results in members of the set 2011-04-26T09:08:14 ie the operation is closed 2011-04-26T09:08:21 its all moot really however 2011-04-26T09:08:31 sure, I agree :) 2011-04-26T09:08:35 since % should not genreally be read as mod 2011-04-26T09:08:41 but remainder 2011-04-26T09:08:46 which is different 2011-04-26T09:08:49 :) 2011-04-26T09:09:18 I do agree that taking the sign from the dividend is silly... I wonder why some languages/implementations do that 2011-04-26T09:09:38 its a classic way of defining remainder 2011-04-26T09:10:12 i see 2011-04-26T09:10:19 if u take N for example % never takes u out of the set 2011-04-26T09:10:44 but if u take Z than an ambiguity arises 2011-04-26T09:10:56 yes 2011-04-26T09:11:09 p*q+r=x 2011-04-26T09:11:27 where p, q, r and x are in Z 2011-04-26T09:12:07 btw u can say (((int)(p/q)+1)*q)%q 2011-04-26T09:12:25 and it gives the crrect answer w/o checking sign 2011-04-26T09:12:35 correct as in pythonic 2011-04-26T09:13:06 btw u can say (p+((int)(p/q)+1)*q)%q 2011-04-26T09:13:09 hehe 2011-04-26T09:13:11 typo 2011-04-26T09:13:48 soo much shorter than checkin if (r<0) .... 2011-04-26T09:14:02 dam 2011-04-26T09:14:08 rather stay away from using floating point in integer arithmetic unless there is a clear advantage and the code is fool-proof 2011-04-26T09:14:31 :) sure boss 2011-04-26T09:14:50 Does anyone know whether any more changes to the I/O spec are under consideration (such as "g row col" for first seen ground)? 2011-04-26T09:14:56 why not just solve the Riemann postulate/whatever in the comments/margin 2011-04-26T09:15:07 Just wondering whether I should update my starter pack or wait 2011-04-26T09:15:12 riemann hypothesis? 2011-04-26T09:15:18 distrubution of primes? 2011-04-26T09:15:25 no ty 2011-04-26T09:16:06 mcstar: if we are playing code golf then "T r=t%n;return r<0?r+n:r;" is shorter than "return (p+((int)(p/q)+1)*q)%q;" 2011-04-26T09:16:21 man i was jesting 2011-04-26T09:16:24 :D 2011-04-26T09:16:27 :) 2011-04-26T09:16:36 obfuscation contest! 2011-04-26T09:16:54 98r4urhuihuihr17812re2125cz8d75 2011-04-26T09:17:07 mine isn't obfuscated... mearly whitespace deficient 2011-04-26T09:17:22 im confident some key makes this line meaningful 2011-04-26T09:17:45 btw i dont like c macros 2011-04-26T09:17:51 ? is macro roght? 2011-04-26T09:17:55 right? 2011-04-26T09:18:04 no, ? is the ternary operator 2011-04-26T09:18:12 oh 2011-04-26T09:18:14 macros are where you #define stuff 2011-04-26T09:18:44 nice to know 2011-04-26T09:19:14 i always thought of ?,: as something that has to do with the preprocessor 2011-04-26T09:19:24 C/C++ macros are pure evil 2011-04-26T09:19:52 nope, ?: it is part of c proper, and is in many languages with c-like syntax :) 2011-04-26T09:20:01 they make Satan look like the reason for easter 2011-04-26T09:20:24 I like to need my ? 2011-04-26T09:21:10 what does that mean? o_O 2011-04-26T09:21:24 x>0?-x nest 2011-04-26T09:21:35 i got confusted nesting 2011-04-26T09:21:43 i think i got it wrong 2011-04-26T09:21:47 parantheses? 2011-04-26T09:21:47 oh sure... nesting is fine if you structure your code correctly 2011-04-26T09:22:05 can ?: be paranthesized? 2011-04-26T09:22:09 i guess 2011-04-26T09:22:23 but wikipedia says its different from if/else 2011-04-26T09:22:30 I don't really --i use ?: only on single lines and almost always as a inline abs or clamp 2011-04-26T09:22:30 *** Ttech has quit IRC (Ping timeout: 246 seconds) 2011-04-26T09:23:16 most languages get nesting right so you can usually avoid parenthesis and have to come out right 2011-04-26T09:23:33 unless you are using php, in which case i am sorry 2011-04-26T09:23:38 so whats the precedence of ?:? 2011-04-26T09:23:47 ? precedes : 2011-04-26T09:23:50 right? 2011-04-26T09:24:00 ??:: 2011-04-26T09:24:06 ?(?:): 2011-04-26T09:24:18 can only go one way 2011-04-26T09:24:40 true 2011-04-26T09:24:47 ??:?::?: 2011-04-26T09:24:50 cond ? res1 : cond2 ? res2 : res3 => cond1 ? res1 : (cond2 ? res2 : res3) 2011-04-26T09:25:02 in everything except PHP 2011-04-26T09:25:19 ?(?:(?:)):(?:) 2011-04-26T09:25:27 sigh: php have a crap parser 2011-04-26T09:25:47 php has a crap everything 2011-04-26T09:26:06 this bs can never happen in lisp :) 2011-04-26T09:26:43 im starting to like it more and more 2011-04-26T09:26:50 tis why lisp is thee most awesome of all things 2011-04-26T09:26:55 I just never get to use 2011-04-26T09:26:57 it 2011-04-26T09:27:00 haha 2011-04-26T09:27:09 )))))) 2011-04-26T09:27:24 are you drunk deltor? 2011-04-26T09:27:25 i wrote my first lisp prog like 3 weeks ago 2011-04-26T09:27:41 sigh: no --just working like crazy on the other screen 2011-04-26T09:27:47 *** _0x47 <_0x47!~slash@p3EE0B402.dip.t-dialin.net> has quit IRC (Ping timeout: 240 seconds) 2011-04-26T09:27:49 keep hiting the wrong keys 2011-04-26T09:27:52 heh 2011-04-26T09:28:02 *** _0x47 <_0x47!~slash@p3EE0BA91.dip.t-dialin.net> has joined #aichallenge 2011-04-26T09:28:19 last time i got drunk .. someone kick the crap out of me and took my mp3 player 2011-04-26T09:28:27 :( 2011-04-26T09:28:28 :) 2011-04-26T09:28:42 I want to pick up lisp, but don't have the time right now 2011-04-26T09:28:48 either that or I feel down some stairs and forgot to pick up my mp3 player ;) 2011-04-26T09:28:56 even better 2011-04-26T09:29:09 :P 2011-04-26T09:29:21 i pissed in the glass in the pub 2011-04-26T09:29:25 and left it on the table 2011-04-26T09:29:35 so i decided i shouldnt drink 2011-04-26T09:29:36 mcstar: are you an aussie 2011-04-26T09:29:41 no 2011-04-26T09:29:45 english 2011-04-26T09:29:53 hungarian 2011-04-26T09:30:10 what? you guys are suppose to be good drunks 2011-04-26T09:30:30 what do u mean by that? 2011-04-26T09:30:38 i can get drunk 2011-04-26T09:30:40 behave your selfs 2011-04-26T09:30:43 i just cant nehave 2011-04-26T09:30:46 b 2011-04-26T09:30:47 even when drunk 2011-04-26T09:30:50 noo 2011-04-26T09:30:57 that heresay 2011-04-26T09:31:17 heresy or hearsay? 2011-04-26T09:31:27 if u use bash 2011-04-26T09:31:29 heresay 2011-04-26T09:31:37 :) 2011-04-26T09:31:47 (here-document) 2011-04-26T09:31:47 last time i was in Budapest they had a national rally for the --dear i say... nazi party 2011-04-26T09:31:54 burring flags and all sorts 2011-04-26T09:32:10 talking about taking back half of Romaina 2011-04-26T09:32:13 in what decade did u visit? 2011-04-26T09:32:17 it was very odd 2011-04-26T09:32:27 about 2 years ago 2011-04-26T09:32:30 oh 2011-04-26T09:32:47 im not a nationalist 2011-04-26T09:32:54 i dont know what u saw :) 2011-04-26T09:33:09 there are crazy ppl like everyhwere else 2011-04-26T09:33:12 well i am in austria... here they are called the FPO 2011-04-26T09:33:24 and they got more than 20% last election 2011-04-26T09:33:30 really? 2011-04-26T09:33:33 o_O 2011-04-26T09:33:33 yea 2011-04-26T09:33:44 totally clueless.. 2011-04-26T09:33:48 well, theres a party 2011-04-26T09:33:50 Jobbik 2011-04-26T09:33:55 sounds like the tea party in america 2011-04-26T09:33:57 it fits ur description 2011-04-26T09:33:58 *** Ttech has joined #aichallenge 2011-04-26T09:34:16 Jobbik means Right and The Better 2011-04-26T09:34:38 but they have like 5 percent 2011-04-26T09:34:39 "the best argument against democracy is a five minute conversation with the average voter" W. Churchill 2011-04-26T09:34:47 i saw that one 2011-04-26T09:34:52 its good 2011-04-26T09:35:26 "It has been said that democracy is the worst form of government except all the others that have been tried." W. Churchill 2011-04-26T09:35:27 :P 2011-04-26T09:35:27 churchill was as wise as fat 2011-04-26T09:35:38 yea 2011-04-26T09:35:50 read his books... they are good 2011-04-26T09:36:46 no time for that 2011-04-26T09:36:54 paul graham got my priority 2011-04-26T09:37:31 back to lisp 2011-04-26T09:37:48 i will try and write my bot in lisp 2011-04-26T09:38:04 i guess this will be hard 2011-04-26T09:38:17 since i got acquinted with it only recently 2011-04-26T09:38:29 i would probably have tried that if I was writing a bot, that or haskell 2011-04-26T09:38:49 i know even less about haskell :( 2011-04-26T09:38:53 but its very nice 2011-04-26T09:38:59 very concise 2011-04-26T09:39:03 i looked at jmcarthur's haskell starter and it scared me 2011-04-26T09:39:24 :) 2011-04-26T09:39:41 the problem with haskell is IO 2011-04-26T09:39:54 its through monads 2011-04-26T09:39:56 or whatever 2011-04-26T09:40:06 IO is not too bad 2011-04-26T09:40:22 just monads in general are hard to get your head around 2011-04-26T09:40:39 but since i dont know the language i cant know monads so i cant write IO until i know some more 2011-04-26T09:40:51 for example in C io is very easy 2011-04-26T09:41:04 u dont really have to know the language itself 2011-04-26T09:41:24 I think when starting out you can just take the boiler plate for doing IO as magic and go with that 2011-04-26T09:41:44 and that works well enough until you learn monads properly 2011-04-26T09:41:57 ur right, but time matters in my case and lisp boilerplate is easier 2011-04-26T09:42:03 :) 2011-04-26T09:42:42 have you used any functional languages before? 2011-04-26T09:42:50 Mathematica? 2011-04-26T09:42:58 not purely functional 2011-04-26T09:43:02 but close 2011-04-26T09:43:30 and there are constructs in python 2011-04-26T09:43:37 that mimic functional style 2011-04-26T09:43:44 thats it 2011-04-26T09:43:45 yeah, fair enough 2011-04-26T09:44:06 python's functional capabilities are pretty lame 2011-04-26T09:44:14 especially given it's crappy lambdas 2011-04-26T09:44:18 *its 2011-04-26T09:44:19 mcstar: if you are half decent at math programming, and functional programing style won't be that hard for you IMO 2011-04-26T09:44:20 oh 2011-04-26T09:44:24 u mean single expression? 2011-04-26T09:44:49 yeah... anonymous functions in an expression 2011-04-26T09:45:13 i mean in lambdas the body must consist of a single expression 2011-04-26T09:45:34 yeah 2011-04-26T09:45:54 makes it much much harder to take advantage of the higher level functions like map 2011-04-26T09:46:17 deltor: im not concerned about functional programming, but haskell is pretty different from anything i saw 2011-04-26T09:46:31 I have gone off it completely 2011-04-26T09:46:32 lazy evaluation, type system.... 2011-04-26T09:46:59 *** Mathnerd314 has joined #aichallenge 2011-04-26T09:47:05 it a theory lang... ML or ocaml are better production ones now IMO 2011-04-26T09:47:55 really? they advertise haskell as a bug-free u-can-do-anything-in-it language 2011-04-26T09:48:49 have any of you got any experience with ncurses? 2011-04-26T09:48:50 well YMMV 2011-04-26T09:48:58 back a bit now 2011-04-26T09:49:00 why? 2011-04-26T09:49:13 i want to write a console file manager 2011-04-26T09:49:13 its not something you really need for this 2011-04-26T09:49:24 not for this no 2011-04-26T09:50:04 from memory it was fine... quite simple providing the terminal supported everything properly 2011-04-26T09:50:06 delt0r___: actually I tried to start an ascii visualiser for this game but the map was too big to display nicely 2011-04-26T09:50:19 so you ncurses could be used for this :P 2011-04-26T09:50:31 in linux this is pretty much always the case. 2011-04-26T09:50:55 but working with older VT whatever can be a problem i heard 2011-04-26T09:51:06 I have a little experience with ncurses 2011-04-26T09:51:08 Some time ago 2011-04-26T09:51:13 what language binding did u use? 2011-04-26T09:51:17 Ocaml 2011-04-26T09:51:23 And Python before that 2011-04-26T09:51:53 python has it as part of the standard library 2011-04-26T09:51:56 im interested in python/clisp/haskell 2011-04-26T09:52:12 good to know 2011-04-26T09:52:24 http://docs.python.org/library/curses.html 2011-04-26T09:52:31 sigh: Did it always? I thought I had to install it from somewhere, but I could be wrong 2011-04-26T09:53:11 smiley1983: if I am reading the docs right, ncurses support has been around since 1.6 2011-04-26T09:53:52 Right. It would have been there when I was using it, then. 2011-04-26T09:54:23 thats not python 1.6 2011-04-26T09:54:29 sigh 2011-04-26T09:54:44 really? 2011-04-26T09:54:45 down a bit it talks about version 5.4 2011-04-26T09:55:11 and i think python only has v 3.1? 2011-04-26T09:55:14 or something 2011-04-26T09:55:14 5.4 is refering to the ncurses library 2011-04-26T09:55:23 and 1.6 too i think 2011-04-26T09:55:43 but throughout the python docs, it references when features were introduced and it gives the version in italics 2011-04-26T09:57:08 I seem to recall the Python binding does some work to make it a bit friendlier for the programmer. 2011-04-26T09:57:18 ok ur right 2011-04-26T09:57:37 Not that it's particularly unfriendly. 2011-04-26T09:58:32 i think through this file manager project i will learn haskell 2011-04-26T09:58:46 it has up-to-date bindings as i saw 2011-04-26T09:59:04 !roulette 2011-04-26T09:59:16 dam whats the bot prefex 2011-04-26T09:59:23 I think amstan disabled that a long time ago 2011-04-26T09:59:23 if they write window manager in it a file manager can be done too 2011-04-26T09:59:33 !contestbot 2011-04-26T09:59:37 @contestbot 2011-04-26T09:59:38 sigh: I'm sorry Dave, err sigh; I cannot 'contestbot'. 2011-04-26T09:59:44 ok, you need to use @ 2011-04-26T09:59:49 @roulette 2011-04-26T09:59:49 *BANG* Hey, who put a blank in here?! 2011-04-26T09:59:50 * contestbot reloads and spins the chambers. 2011-04-26T10:00:02 ahh... still there :P 2011-04-26T10:00:28 @roulette 2011-04-26T10:00:28 mcstar: *click* 2011-04-26T10:00:31 hehe 2011-04-26T10:00:43 @roulette 2011-04-26T10:00:43 delt0r___: *click* 2011-04-26T10:01:09 stupid lame blanks 2011-04-26T10:01:16 @sigh 2011-04-26T10:01:17 sigh: I do not know about 'sigh', but I do know about these similar topics: 'spec' 2011-04-26T10:01:39 awww... amstan took out the sigh command 2011-04-26T10:03:21 im curious about your opinion 2011-04-26T10:03:30 regarding a console file manager 2011-04-26T10:03:51 the main idea is that i would implement tabs as standalone windows 2011-04-26T10:04:22 so u get different folder views, but not in tabs, like in most fmanagers 2011-04-26T10:04:26 *** janzert has quit IRC (Ping timeout: 276 seconds) 2011-04-26T10:04:41 but in different windows, which communicate with each other 2011-04-26T10:04:52 how do they communicate? 2011-04-26T10:05:15 theres a server-like process, and it can spawn several guis 2011-04-26T10:05:23 and they are the clients 2011-04-26T10:05:36 and they would use miller-columns 2011-04-26T10:05:43 ahh 2011-04-26T10:06:13 i think it would be ideal with tiling-wms 2011-04-26T10:07:38 I just use screen for everything :P 2011-04-26T10:08:36 i always get frustrated when i have to use tabs 2011-04-26T10:08:42 or a two column file manager 2011-04-26T10:09:13 u mean like mc is running in screen? 2011-04-26T10:09:27 mc? 2011-04-26T10:09:32 midnight commander 2011-04-26T10:09:42 what console file manager do u use? 2011-04-26T10:09:50 plain shell? 2011-04-26T10:10:12 I don't use a console file manager 2011-04-26T10:10:22 just that when I use the console, I do it in screen 2011-04-26T10:10:38 so that renders a tiling window manager kind of moot 2011-04-26T10:10:38 ok 2011-04-26T10:10:48 i see 2011-04-26T10:10:49 that was my only point :P 2011-04-26T10:11:23 *** sids_aquarius has quit IRC (Ping timeout: 260 seconds) 2011-04-26T10:11:32 i only recently started using tiling wm 2011-04-26T10:12:10 a bit awkward at first 2011-04-26T10:12:19 but i can get used to it 2011-04-26T10:12:32 *** sids_aquarius has joined #aichallenge 2011-04-26T10:14:00 I can definitely see the advantage of one 2011-04-26T10:15:35 anyway, time for me to sleep 2011-04-26T10:15:43 *** sigh has quit IRC (Quit: Leaving...) 2011-04-26T10:21:35 *** mcstar has quit IRC (Quit: WeeChat 0.3.4) 2011-04-26T10:24:25 *** mcstar has joined #aichallenge 2011-04-26T10:41:19 @later tell sigh yeah, the haskell starter was way over-engineered when i stopped working on it 2011-04-26T10:41:19 jmcarthur: Job's done. 2011-04-26T10:41:36 and under-documented 2011-04-26T10:41:45 lol, as if that latter part gets through too 2011-04-26T10:41:52 * jmcarthur just woke up 2011-04-26T10:46:02 *** sids_aquarius has quit IRC (Ping timeout: 276 seconds) 2011-04-26T10:46:05 *** amstan has joined #aichallenge 2011-04-26T10:46:05 *** ChanServ sets mode: +o amstan 2011-04-26T10:47:43 hello 2011-04-26T10:58:36 *** sids_aquarius has joined #aichallenge 2011-04-26T11:01:36 *** valtex has joined #aichallenge 2011-04-26T11:12:52 *** aerique has quit IRC (Quit: ...) 2011-04-26T11:16:27 *** sids_aquarius has quit IRC (Quit: Leaving) 2011-04-26T11:18:53 <_0x47> Hey, after reading the rules I undesrstand that in this ( http://pastebin.com/BpAYBpHa ) game, the green bot would win, even if my bot (red) has like 3 quarters of all ants? is that fair tho? 2011-04-26T11:19:01 <_0x47> understand* 2011-04-26T11:19:49 <_0x47> if you don't have the visualizer right now, paste it here: http://www.fuceekay.com/ants_visualizer/copy_paste.html 2011-04-26T11:23:20 the documentation for the new challenge is very confusing to an "outsider," would now be a good or bad time to start developing a bot? 2011-04-26T11:24:22 <_0x47> what is confusing? 2011-04-26T11:25:11 everything? For example, some stuff is just a direct copy and paste from the old contest, and doesn't make any sense in the new context 2011-04-26T11:25:28 Kingpin13: what are you talking about? 2011-04-26T11:25:52 the uh, github wiki? 2011-04-26T11:26:20 Kingpin13: as long as you click on the ants pages, you should be fine 2011-04-26T11:26:25 https://github.com/aichallenge/aichallenge/wiki/Ants-Five-Minute-Quickstart-Guide 2011-04-26T11:27:04 that one is copied and pasted because it has nothing to do with the actual competition type, it applies to all of them 2011-04-26T11:27:24 ah, I'm just confused by all the links pointing to the old website, I guess 2011-04-26T11:27:39 the old website will be the main website 2011-04-26T11:27:51 ants hasn't started yet, you could make a bot for it 2011-04-26T11:27:56 but.. some stuff might change 2011-04-26T11:28:19 <_0x47> indeed, and hopefully the rules for scoring (see above) 2011-04-26T11:28:34 _0x47: yeah, that doesn't seem cool 2011-04-26T11:28:36 ah okay, heh, so I gather :P. Are you aware of any .NET/C# starter packs, or do I need to build by own? 2011-04-26T11:28:46 I found a few, but they seem half finished 2011-04-26T11:29:08 <_0x47> you might use the c++ package and port it to c# 2011-04-26T11:29:32 Kingpin13: there's some, but they don't seem to be informed that we're not actually using visual studio to run their bot 2011-04-26T11:29:54 Kingpin13: if you find a good one that runs well in mono, please link me 2011-04-26T11:29:58 are you using mono? 2011-04-26T11:30:01 yes 2011-04-26T11:30:44 Ah I see :P. Well I'll keep on looking ;) 2011-04-26T11:31:05 I suppose I could give in a use python, that's what all the backend stuff is written in right? 2011-04-26T11:31:34 sure 2011-04-26T11:31:37 but python's slow 2011-04-26T11:31:46 java could work for you 2011-04-26T11:31:50 or c/c++ 2011-04-26T11:32:48 All true :D. Do you have perl support too? 2011-04-26T11:33:47 *** _0x471 <_0x471!~slash@p3EE0B11D.dip.t-dialin.net> has joined #aichallenge 2011-04-26T11:33:53 we have support for anything 2011-04-26T11:34:00 as long as it runs on ubuntu 2011-04-26T11:34:22 <_0x471> imho most .NET stuff runs on mono out of the box 2011-04-26T11:34:34 <_0x471> so, you could still use it 2011-04-26T11:34:50 well.. try it and see 2011-04-26T11:34:55 well, I think it needs to be .NET 2.0 really, but I'm not that knowledgeable about mono 2011-04-26T11:35:31 <_0x471> iirc it's up to .NET 4.0 2011-04-26T11:36:32 <_0x471> http://www.mono-project.com/Compatibility 2011-04-26T11:36:44 *** _0x47 <_0x47!~slash@p3EE0BA91.dip.t-dialin.net> has quit IRC (Ping timeout: 276 seconds) 2011-04-26T11:37:51 I've actually never used mono before myself, if I install that on a windows is it going to get into conflicts with .NET...? Might as well just try I suppose 2011-04-26T11:39:05 <_0x471> i don't think it will conflict, but i have no real knowledge on mono either 2011-04-26T11:39:59 *** boegel has quit IRC (Ping timeout: 276 seconds) 2011-04-26T11:41:00 i agree with kingpin 2011-04-26T11:41:08 the wiki is confusing 2011-04-26T11:41:21 theres a link in 5 min. guid 2011-04-26T11:41:25 guide 2011-04-26T11:41:36 to register on ai-challenge.com 2011-04-26T11:41:40 it doesnt work 2011-04-26T11:41:42 but 2011-04-26T11:41:53 i could register on hypertriangle 2011-04-26T11:42:12 mcstar: none of them are actually open 2011-04-26T11:42:20 mcstar: it's just for testing for us 2011-04-26T11:42:31 i registered nevertheless :) 2011-04-26T11:42:42 does it mean it will be deleted? 2011-04-26T11:42:47 i'm just saying.. it might dissapear in some case 2011-04-26T11:42:51 ok 2011-04-26T11:43:03 and yes.. it'll definatelly not be copied to the main server 2011-04-26T11:43:06 but at hypertriangle at least a nice game animation welcomes me 2011-04-26T11:43:16 the most you can do with hypertriangle is upload something.. 2011-04-26T11:43:54 is the opening animation the same as the visualizer? 2011-04-26T11:44:31 animation? 2011-04-26T11:44:37 i'm embarrassed that i've allowed that haskell starter to escape in the form it's in 2011-04-26T11:44:44 lol 2011-04-26T11:45:00 with my name on it 2011-04-26T11:47:05 Heh, I installed monodevelop, started it, but when I focused on it, and it immediately went to (Not Responding) ;). 2011-04-26T11:47:24 I wonder if I'll need to install mono separately, or if it comes with it. 2011-04-26T11:49:17 by the way, do you still have the no threading rule? 2011-04-26T11:49:24 yes 2011-04-26T11:49:45 *** berak has joined #aichallenge 2011-04-26T11:55:59 *** MatmaRex has joined #aichallenge 2011-04-26T11:56:07 *** MatmaRex has joined #aichallenge 2011-04-26T11:57:05 *** janzert has joined #aichallenge 2011-04-26T11:57:52 *** Eruonen has joined #aichallenge 2011-04-26T12:03:37 oh 2011-04-26T12:03:43 u mean only i thread? 2011-04-26T12:03:49 no forking or whatever? 2011-04-26T12:04:08 s/i/1 2011-04-26T12:05:17 no forking, any forks will be blocked 2011-04-26T12:14:12 i promise i will never fork publicly again ever! 2011-04-26T12:23:12 *** mcstar has quit IRC (Quit: WeeChat 0.3.4) 2011-04-26T12:24:54 *** mcstar has joined #aichallenge 2011-04-26T12:43:47 *** janzert has quit IRC (Ping timeout: 250 seconds) 2011-04-26T12:45:35 *** Naktibalda has quit IRC (Quit: ChatZilla 0.9.86.1 [Firefox 4.0/20110318052756]) 2011-04-26T12:47:30 *** Chris_0076 has joined #aichallenge 2011-04-26T12:53:49 mcstar: the opening animation is the actual visualizer, yes. I was wondering when someone comes to me and asks me to implement a movie recorder, but I got around that it seems :-) 2011-04-26T12:53:55 *** Frontier1 is now known as Frontier 2011-04-26T12:56:30 Maybe I should remove the bordered mode alltogether. It is slightly more performant and always centers the map, so it is still of limited use, but I don't think it looks as good as the borderless mode, especially when used on the front page. 2011-04-26T12:57:50 *** Chris_0076 has quit IRC (Read error: Operation timed out) 2011-04-26T12:58:10 *** Chris_0076 has joined #aichallenge 2011-04-26T13:00:21 is it html5? 2011-04-26T13:00:40 ? 2011-04-26T13:01:23 if i may say a higher default zoom would be nice 2011-04-26T13:04:10 *** _0x471 <_0x471!~slash@p3EE0B11D.dip.t-dialin.net> has quit IRC (Ping timeout: 240 seconds) 2011-04-26T13:04:35 mcstar: I am against a default view that will hide parts of the map 2011-04-26T13:05:43 sure, im not saying that 2011-04-26T13:05:48 if u look at it 2011-04-26T13:05:59 there white rom on both sides 2011-04-26T13:06:11 u could zoom the frame up 2011-04-26T13:06:14 *** chris__0076 has joined #aichallenge 2011-04-26T13:06:18 so that will get filled 2011-04-26T13:06:26 the room between the frame and the controls 2011-04-26T13:07:12 but then you miss the top and bottom of the map :( 2011-04-26T13:07:40 no, the entire visualization get longer 2011-04-26T13:07:45 see what i mean? 2011-04-26T13:07:58 no hiding of the map 2011-04-26T13:08:40 everyone has 1280x1024 monitors at least, it will fit on the page :) 2011-04-26T13:08:55 *** Chris_0076 has quit IRC (Ping timeout: 250 seconds) 2011-04-26T13:10:39 mcstar: on the visualizer.php page I set it to adapt to the browser window height 2011-04-26T13:11:32 (in a way that player names and playback controls are visible, too) 2011-04-26T13:12:40 *** _0x47 <_0x47!~slash@p3EE0B11D.dip.t-dialin.net> has joined #aichallenge 2011-04-26T13:13:32 Is it better resize only the map area to the window instead of the whole thing? 2011-04-26T13:14:38 well, the slider-graph needs to be resized as well 2011-04-26T13:14:43 so its good like this 2011-04-26T13:15:11 *** chris___0076 has joined #aichallenge 2011-04-26T13:15:19 actually if i press the + arrow thingy it scales up nice 2011-04-26T13:15:46 a bit slow in firefox 2011-04-26T13:16:14 better in chromium 2011-04-26T13:16:30 how does this work? 2011-04-26T13:16:54 the javascript instructs the browser in html5? 2011-04-26T13:16:59 My latest change made it a bit slower in Firefox when you zoom in and use no fog or letters on ants, it is a lot faster in the worst case scenarios though 2011-04-26T13:17:27 yeah. you have a canvas element and basically call draw functions on it 2011-04-26T13:17:31 *** _0x47 <_0x47!~slash@p3EE0B11D.dip.t-dialin.net> has quit IRC (Ping timeout: 260 seconds) 2011-04-26T13:17:35 *** chris__0076 has quit IRC (Ping timeout: 250 seconds) 2011-04-26T13:17:55 im total nuub to javascript/html 2011-04-26T13:18:09 so u have to concatenate the html instructions? 2011-04-26T13:18:28 mcstar: you can also draw images and other canvases into a canvas or manipulate the thing on a per pixel basis :) 2011-04-26T13:18:33 or u can use javascript functions, and u dont see <> 2011-04-26T13:18:41 aha 2011-04-26T13:18:46 it is all written in javascript 2011-04-26T13:18:54 ty 2011-04-26T13:19:10 *** _0x47 <_0x47!~slash@p3EE0B11D.dip.t-dialin.net> has joined #aichallenge 2011-04-26T13:19:18 the javascript also places the element in the web page, hehe. this works because of DOM 2011-04-26T13:19:58 DOM means you can pretty much remove and add elements or change their attributes at any time through javascript 2011-04-26T13:20:05 hello guys. can i get some git help? 2011-04-26T13:20:17 i'm trying to update my forked repo or aichallenge/aichallenge 2011-04-26T13:20:26 i see here very ompetent ppl so yes, u can get help :) 2011-04-26T13:20:30 c 2011-04-26T13:20:37 i've found this: http://help.github.com/fork-a-repo/ 2011-04-26T13:21:00 but it doesn't seem to work. i've been waiting for "git fetch upstream" to output something for a good few minutes 2011-04-26T13:23:39 *** _0x47 <_0x47!~slash@p3EE0B11D.dip.t-dialin.net> has quit IRC (Ping timeout: 250 seconds) 2011-04-26T13:23:58 im certainly not a guru, but I would just click fork on the github page for aichallenge and then check out the newly created branch as usual from my account. 2011-04-26T13:24:26 i have a fork, i've already edited it, and even made a pull request, which was accepted 2011-04-26T13:24:36 https://github.com/MatmaRex/aichallenge 2011-04-26T13:24:38 *** ahmedhelal has joined #aichallenge 2011-04-26T13:25:02 i want to update it with recent commits on aichallenge/aichallenge 2011-04-26T13:25:29 hm. maybe i'll just kill it, and make a new fork? 2011-04-26T13:25:37 maybe it is waiting for you to enter the password to you ssh key :p 2011-04-26T13:25:55 nah 2011-04-26T13:26:00 it didnt output anything 2011-04-26T13:26:05 and i couldnt input anything 2011-04-26T13:26:42 *** _0x47 <_0x47!~slash@p3EE0B11D.dip.t-dialin.net> has joined #aichallenge 2011-04-26T13:26:46 MatmaRex: network problems maybe? 2011-04-26T13:26:58 MatmaRex: cat .git/config 2011-04-26T13:27:02 MatmaRex: pastebin that for me 2011-04-26T13:27:08 um, i'm talking with you here, so network should be okay 2011-04-26T13:27:28 When I cloned my repo I missed the line which goes like this: 2011-04-26T13:27:34 git remote add upstream git://github.com 2011-04-26T13:27:42 i didn't :P 2011-04-26T13:27:46 :) 2011-04-26T13:28:26 ./git/config looks like this: http://pastebin.com/qmWKXxrW 2011-04-26T13:28:51 MatmaRex: so.. git fetch upstream doesn't do anything? 2011-04-26T13:28:58 it hangs 2011-04-26T13:29:03 doesn';t seme to use the internet connection 2011-04-26T13:29:08 doesnt output anything 2011-04-26T13:29:17 i think i'll just kill it all and fork again 2011-04-26T13:29:32 you'll need this again after your forking 2011-04-26T13:29:47 *** chris___0076 has quit IRC (Quit: Leaving) 2011-04-26T13:30:31 "git clone" worked before :P 2011-04-26T13:31:53 by the way - the starter is supposed to be named "MyBot.ext", right? 2011-04-26T13:32:02 Yes 2011-04-26T13:32:07 what starter? 2011-04-26T13:32:19 because i didn;t know it when i made mine, and it's called "my_ai.rb" - could somebody rename it? 2011-04-26T13:32:28 s/starter/bot/ 2011-04-26T13:32:35 MatmaRex: i'll pull from you 2011-04-26T13:32:45 just rename it :P 2011-04-26T13:33:00 i've had enough problems with git already ;) 2011-04-26T13:33:13 i don't have the setup right now 2011-04-26T13:34:06 does the ants have internal health state? 2011-04-26T13:34:26 health? 2011-04-26T13:34:30 they're either dead or alive 2011-04-26T13:34:34 ah 2011-04-26T13:34:40 ty 2011-04-26T13:34:52 theres no fractional damaga 2011-04-26T13:34:55 a->e 2011-04-26T13:35:26 there is, but life is reset back to full each turn 2011-04-26T13:35:33 ok 2011-04-26T13:36:43 alright, killed it, forked, cloned, works. 2011-04-26T13:36:56 amstan: should i rename it now, commit, and send you another pull req? 2011-04-26T13:36:57 MatmaRex: what about upstream? 2011-04-26T13:37:43 i just deleted my local repo, killed git fork, and forked again, then cloned it to my computer 2011-04-26T13:37:55 i'll worry about upstream later ;) 2011-04-26T13:37:59 MatmaRex: yes, but you're just supressing the symptoms 2011-04-26T13:38:04 you should have upstream working too 2011-04-26T13:38:31 maybe it will now 2011-04-26T13:38:48 my computer seems to be somewhat non-determinative 2011-04-26T13:39:10 o.O 2011-04-26T13:39:32 kill it b4 it becomes skynet 2011-04-26T13:40:53 huh. 2011-04-26T13:41:05 my fresh repo tells me it has uncommited changes 2011-04-26T13:41:56 MatmaRex: pastebin me the message 2011-04-26T13:42:12 modified: website/js/jquery.countdown.min.js 2011-04-26T13:42:24 probably some encoding issues 2011-04-26T13:44:14 *** smiley1983 has quit IRC (Quit: leaving) 2011-04-26T13:44:39 i sent the pull req 2011-04-26T13:45:59 oh man.. decent.. 2011-04-26T13:46:01 aichallenge: MatmaRex epsilon * r5b84239 / (2 files): renamed Ruby starter - http://bit.ly/fi1hH8 2011-04-26T13:46:02 i just press a button 2011-04-26T13:46:04 aichallenge: Alexandru Stan epsilon * r19fc089 / (2 files): 2011-04-26T13:46:04 aichallenge: Merged pull request #83 from MatmaRex/epsilon. 2011-04-26T13:46:04 aichallenge: renamed Ruby starter - http://bit.ly/exDgBK 2011-04-26T13:49:35 haha 2011-04-26T13:52:25 *** Naktibalda has joined #aichallenge 2011-04-26T13:58:17 now playgame.py doesn't work. you guys broke something, since it did earlier. 2011-04-26T13:58:25 http://pastebin.com/e4ACUU1H 2011-04-26T13:58:33 when trying to run play_one_game.cmd 2011-04-26T13:58:41 (i'm on Windows) 2011-04-26T13:58:56 *** _0x471 <_0x471!~slash@p3EE0A9BB.dip.t-dialin.net> has joined #aichallenge 2011-04-26T14:00:27 MatmaRex: you'll have to ask mcleopold 2011-04-26T14:00:29 *** _0x47 <_0x47!~slash@p3EE0B11D.dip.t-dialin.net> has quit IRC (Ping timeout: 250 seconds) 2011-04-26T14:05:31 *** kaemo0 has quit IRC (*.net *.split) 2011-04-26T14:05:31 *** jmpespxoreax has quit IRC (*.net *.split) 2011-04-26T14:06:32 *** jmpespxoreax has joined #aichallenge 2011-04-26T14:06:47 *** kaemo0 has joined #aichallenge 2011-04-26T14:28:40 *** smiley1983 has joined #aichallenge 2011-04-26T14:34:22 *** smiley1983 has quit IRC (Quit: leaving) 2011-04-26T14:48:49 _0x47: I'm still reading through the logs slowly sorry, but McLeopold and i decided last night to give each ant a point for every ant spawned too 2011-04-26T14:48:55 will that solve your issue with scoring? 2011-04-26T14:49:01 so - should i make an issue about it on github? 2011-04-26T14:49:13 (about what i mentioned 50 mins ago) 2011-04-26T14:50:30 is that to me? 2011-04-26T14:50:36 i'll be back soon, i'm reading my way down :P 2011-04-26T14:50:50 no, you just popped up when i was writing :P 2011-04-26T14:50:55 but you can answer, why not 2011-04-26T14:53:10 *** janzert has joined #aichallenge 2011-04-26T14:55:09 MatmaRex: I'm not good with git/hub :P 2011-04-26T14:55:41 _0x471: **^ 2011-04-26T14:55:43 *** delt0r_ has joined #aichallenge 2011-04-26T14:57:29 *** delt0r___ has quit IRC (Ping timeout: 258 seconds) 2011-04-26T14:57:50 amstan: you there? should i make an issue about that playgame.py crash? 2011-04-26T14:58:17 MatmaRex: make sure you say in there that it's a windows problem 2011-04-26T14:58:24 MatmaRex: this will affect the downloadable tools 2011-04-26T14:59:00 yeah, sure 2011-04-26T14:59:04 on it, then 2011-04-26T15:07:38 oh goddammit, github's dead, and i've written a nice post. :( 2011-04-26T15:08:06 i'll do it tomorrow, then. bye, guys. 2011-04-26T15:08:08 *** MatmaRex has left #aichallenge 2011-04-26T15:11:25 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has joined #aichallenge 2011-04-26T15:11:59 *** _0x471 <_0x471!~slash@p3EE0A9BB.dip.t-dialin.net> has quit IRC (Ping timeout: 250 seconds) 2011-04-26T15:12:29 *** _0x47 <_0x47!~slash@p5B25E041.dip.t-dialin.net> has joined #aichallenge 2011-04-26T15:38:25 *** _0x47 <_0x47!~slash@p5B25E041.dip.t-dialin.net> has quit IRC (Ping timeout: 250 seconds) 2011-04-26T15:39:56 *** _0x47 <_0x47!~slash@p5B25F2B2.dip.t-dialin.net> has joined #aichallenge 2011-04-26T15:40:55 _0x47: did you see my comment before? 2011-04-26T15:42:19 *** valtex has quit IRC (Ping timeout: 252 seconds) 2011-04-26T15:48:58 *** _0x47 <_0x47!~slash@p5B25F2B2.dip.t-dialin.net> has quit IRC (Ping timeout: 240 seconds) 2011-04-26T15:50:34 *** _0x47 <_0x47!~slash@p5B25F2B2.dip.t-dialin.net> has joined #aichallenge 2011-04-26T15:51:01 <_0x47> antimatroid: sorry, just arrived. I think it might solve it. need to get that new version then :) thanks! 2011-04-26T15:51:14 i don't think it exists yet sorry 2011-04-26T15:51:41 you would find the green ant in your game didn't "fight" as well as the other ant 2011-04-26T15:51:41 <_0x47> i see, but anyways, that should solve it 2011-04-26T15:52:04 but really, someone that can expand well should also do well, so we've added the spawn points 2011-04-26T15:52:28 it also means people can get a nice boost in their ranking from doing food collection, which is the first obvious thing to tackle and gets people addicted 2011-04-26T15:53:09 *** nullkuhl has joined #aichallenge 2011-04-26T15:53:24 <_0x47> that's great, it's just like if there were 30 more rounds I would have beaten him and would have gotten those extra points. sometimes, of two 'good' bots fight against each other, it just doesn't work in 200 turns 2011-04-26T15:54:27 scoring would now make sense with 1v1 i think too 2011-04-26T15:54:34 it didn't before, not really 2011-04-26T15:55:04 *** Accoun has quit IRC () 2011-04-26T15:55:32 <_0x47> antimatroid: it also seems (dunno if already fixed in git) that the scoring doesn't work in the c++ starter pack. you search for the string "scores" where the engine sends "score". but even changing that to "score" never gave me the scores. i gave up too quickly tho, didn't check further... 2011-04-26T15:55:59 <_0x47> else if(inputType == "scores") //score information 2011-04-26T15:56:01 <_0x47> that is 2011-04-26T15:56:14 you only get given score information if you are the winner 2011-04-26T15:56:22 or at least at the end of the game 2011-04-26T15:56:34 it's up to you to try and guess what your score might be 2011-04-26T15:56:46 <_0x47> that didn't happen, or i misunderstood something. 2011-04-26T15:56:51 (you wont see your ants die outside of view of other ants and any points they receive) 2011-04-26T15:57:34 https://github.com/aichallenge/aichallenge/blob/epsilon/ants/dist/starter_bots/cpp/State.cc 2011-04-26T15:57:44 at line 230, it'll read the scores if they're passed 2011-04-26T15:57:49 but you don't get given scores every tur 2011-04-26T15:57:52 <_0x47> no, i just wanted to do some stress testing (like 500 rounds) and have a log file with just the lines "win" or "loss"... 2011-04-26T15:57:53 every turn* 2011-04-26T15:58:03 *** berak has quit IRC (Quit: ChatZilla 0.9.84 [SeaMonkey 2.0a3/20090223135443]) 2011-04-26T15:58:27 <_0x47> yeah antimatroid that's what i mean 2011-04-26T15:58:28 <_0x47> sec 2011-04-26T15:59:17 *** jaycobcoleman has joined #aichallenge 2011-04-26T15:59:18 oh, the parameter is meant to be score? 2011-04-26T15:59:22 <_0x47> https://github.com/aichallenge/aichallenge/wiki/Ants-Game-Specification 2011-04-26T15:59:27 "scores" would make more sense :\ 2011-04-26T15:59:28 <_0x47> yes, as it seems 2011-04-26T15:59:51 i'll talk to sigh, i would prefer scores, but i might have to just change the c++ one 2011-04-26T16:01:06 <_0x47> nice :) but i still don't get it to work 2011-04-26T16:01:11 <_0x47> need to re-check the code tho 2011-04-26T16:01:23 i'll ask sigh :) 2011-04-26T16:02:57 <_0x47> besides, do you guys plan to have some beta subdomain where people could upload their sources just like for the competition? could be nice for testing and stuff. and of course it would make something like a jBotManager redundant 2011-04-26T16:05:06 jBotManager is not redundant! 2011-04-26T16:05:14 i suspect we'll test submissions during beta 2011-04-26T16:05:22 but i think mcleopold has a tcp server too 2011-04-26T16:05:30 so hopefully most of the testing can just be done there 2011-04-26T16:06:06 the 2 most important things about jbotmanager were live tcp games (and easy tcp access for "beginners") and human play mode 2011-04-26T16:06:29 <_0x47> err, right, i forgot :/ 2011-04-26T16:06:35 *** Accoun has joined #aichallenge 2011-04-26T16:06:45 <_0x47> so the server is already up? 2011-04-26T16:06:53 don't think so 2011-04-26T16:07:04 but mcleopold has been working on it i understand 2011-04-26T16:07:15 i was getting ready to email the last person that did it to see if they'd come save us 2011-04-26T16:07:26 <_0x47> hehe 2011-04-26T16:07:38 hopefully the tcp stuff will just be on the main site this time 2011-04-26T16:07:47 and hopefully we get lots more people on there 2011-04-26T16:08:42 what i'm really interested in doing with zeta is getting servers up for all past games and some other games (like variations) 2011-04-26T16:08:49 so people can continually play around with stuff 2011-04-26T16:08:56 tron is a particularly good game for beginners 2011-04-26T16:09:08 <_0x47> that would be great, ongoing contest <3 2011-04-26T16:09:15 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has quit IRC (Quit: Lost terminal) 2011-04-26T16:09:51 *** nullkuhl has quit IRC (Remote host closed the connection) 2011-04-26T16:10:26 *** nullkuhl has joined #aichallenge 2011-04-26T16:10:34 <_0x47> but to be honest i am not so sure about the ants game. it seems too random sometimes. it totally depends on how fast you grow in the beginning if you win or not. so it's totally depending on food availability around your starting ant. 2011-04-26T16:11:08 <_0x47> may as well be lack of battle intelligence, but that doesn't work as expected in that 1000ms limit 2011-04-26T16:11:12 have you been using symmetric maps with symmetric food spawning? 2011-04-26T16:12:02 add "--food symmetric" to play_one_game.sh :) 2011-04-26T16:12:13 <_0x47> yes, but barely 2011-04-26T16:12:18 <_0x47> let me try 2011-04-26T16:12:31 i have been a bit worried about the scoring myself 2011-04-26T16:12:40 hence the introduction of the spawn points too 2011-04-26T16:13:03 *** nullkuhl has quit IRC (Remote host closed the connection) 2011-04-26T16:13:58 we've cranked maxTurns up to 1000 as the default too 2011-04-26T16:14:14 and the parameters have changed to spawn2 = 1, attack2 = 4, view2 = 55 2011-04-26T16:14:32 <_0x47> seriously? that changes a lot 2011-04-26T16:14:36 I love these parameters 2011-04-26T16:14:44 i tried to get a longer turnlimit (so people can do more interesting stuff), but we're quite concerned about how long games are going to take 2011-04-26T16:14:48 <_0x47> got to follow the specs more often >< 2011-04-26T16:14:59 it's still development stage :P 2011-04-26T16:15:11 i don't expect the parameters to change again now unless a problem is found with them 2011-04-26T16:15:12 <_0x47> sure :D i just can't wait 2011-04-26T16:15:15 also whats this scores conversation about? 2011-04-26T16:15:31 jaycobcoleman: McLeopold and I decided to give every ant spawned 1 point 2011-04-26T16:15:35 including the starting ants 2011-04-26T16:15:45 oh I know 2011-04-26T16:15:47 *** nullkuhl has joined #aichallenge 2011-04-26T16:15:48 it hasn't been implemented yet, but it will be 2011-04-26T16:16:13 But you were talking about a score parameter? 2011-04-26T16:16:30 <_0x47> there was a problem with either the code, or the speces 2011-04-26T16:16:54 <_0x47> c++ pack was checking for "scores" where the engine sent "score" 2011-04-26T16:16:55 just an irregularity? 2011-04-26T16:17:03 got it 2011-04-26T16:17:10 <_0x47> yes 2011-04-26T16:17:14 are other bots doing the same? 2011-04-26T16:17:29 <_0x47> dunno, just used the c++ one 2011-04-26T16:17:59 are you referring to the score report at the very end? 2011-04-26T16:18:15 <_0x47> lol 2011-04-26T16:18:32 <_0x47> the D one is ignoring it completely as it seems 2011-04-26T16:18:39 <_0x47> yes jaycobcoleman 2011-04-26T16:20:43 _0x47: yeah, i think most people just ignore that 2011-04-26T16:20:53 i wouldn't be surprised if the engine isn't giving the information :P 2011-04-26T16:21:03 <_0x47> it is, at least the stream log sais so 2011-04-26T16:21:12 with "score"? 2011-04-26T16:21:19 <_0x47> if not, it would explain why i can't get it to work 2011-04-26T16:21:32 i think you might only get it if you are the winning bot 2011-04-26T16:21:38 <_0x47> no, the reaplay stream sais it does output it 2011-04-26T16:21:45 <_0x47> replay* 2011-04-26T16:21:49 try changing it to "score" and playing the game for long enough to end 2011-04-26T16:22:18 I don't think python has a problem with it, because it never seems to handle the information directly, just as current_line 2011-04-26T16:24:01 This new 'r' system should work beautifully with a last_seen value :P 2011-04-26T16:24:43 jaycobcoleman: i got rid of lastSeen :P 2011-04-26T16:24:53 the starterbot now just gives people if a square is visible or not 2011-04-26T16:25:09 that's good 2011-04-26T16:26:20 It should be their job to decide what food in the list to be biased towards 2011-04-26T16:26:49 it's something to cover in strategy guides 2011-04-26T16:27:33 i don't give them a food list either 2011-04-26T16:27:43 i got rid of the enemies and food vector 2011-04-26T16:27:50 because it's hard to give a "food" vector 2011-04-26T16:27:54 i might add them back as sets 2011-04-26T16:28:25 are you going to make them parse the input themselves? what are you doing with enemies and food right now? 2011-04-26T16:28:37 i just add the information to the grid 2011-04-26T16:28:50 the information is there, they just don't have vectors of locations for enemies and food 2011-04-26T16:29:33 Oh I see 2011-04-26T16:30:12 I think you should give them sets 2011-04-26T16:31:24 i'll do that once i know what's going on with "score(s)" 2011-04-26T16:31:55 I'd prefer scores 2011-04-26T16:32:10 I'll look at some other bots and see what they're doing 2011-04-26T16:32:29 *** Eruonen has quit IRC (Ping timeout: 276 seconds) 2011-04-26T16:37:52 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has joined #aichallenge 2011-04-26T16:41:18 <_0x47> ffs my bot times out everytime there's only 1 ant left 2011-04-26T16:41:45 <_0x47> enemy's ant of course 2011-04-26T16:43:31 animatroid: I don't think you should bother handling scores directly. There isn't really a need to is there? 2011-04-26T16:43:47 has anyone heard of yelp? 2011-04-26T16:44:14 nope :P 2011-04-26T16:46:03 *** _0x471 <_0x471!~slash@p5B25FDAE.dip.t-dialin.net> has joined #aichallenge 2011-04-26T16:47:45 *** _0x47 <_0x47!~slash@p5B25F2B2.dip.t-dialin.net> has quit IRC (Ping timeout: 250 seconds) 2011-04-26T16:47:50 jaycobcoleman: it's not that difficult to do 2011-04-26T16:48:00 _0x47: can you pastebin a replay file? 2011-04-26T16:49:50 *** nullkuhl has quit IRC (Ping timeout: 276 seconds) 2011-04-26T16:51:10 it can just handle changes better 2011-04-26T16:51:22 there's certainly nothing wrong with it as it is 2011-04-26T16:51:30 apart from being wrong of course :P 2011-04-26T16:52:15 somebody needs to finish this lolcode bot 2011-04-26T16:54:40 <_0x471> antimatroid: what for? 2011-04-26T16:54:47 <_0x471> with the unfair scoring? 2011-04-26T16:54:52 that timeout thing 2011-04-26T16:55:14 <_0x471> i don't get replays from timed out games :( 2011-04-26T16:55:15 lolcode can't do much i don't think 2011-04-26T16:55:24 ah, lame 2011-04-26T16:55:34 <_0x471> but it's my codes fault, nothing special 2011-04-26T16:56:00 <_0x471> my pathing is too intensive sometimes 2011-04-26T16:56:23 <_0x471> like if i have 200+ ants, and try to path with all of them to 1 or 2 enemy ants 2011-04-26T16:56:31 apparently yelp is not very popular on #proggit 2011-04-26T16:56:55 use the timer? :P 2011-04-26T16:57:19 *** Redgis has joined #aichallenge 2011-04-26T16:57:26 *** nullkuhl has joined #aichallenge 2011-04-26T16:57:30 @amstan: why are you looking for information about yelp? 2011-04-26T16:57:31 jaycobcoleman: User error -- Replace user. 2011-04-26T16:57:49 jaycobcoleman: i got a referrence from there just now, i'm digging around 2011-04-26T16:57:51 <_0x471> i do, but at the wrong places. i assumed it would be enough to kill the pathing after something like 900ms, but it still times out. need to fix 2011-04-26T16:58:13 *** nullkuhl_ has joined #aichallenge 2011-04-26T17:00:21 @amtsan: all I can gather is that it's required to run the GNOME desktop 2011-04-26T17:00:22 jaycobcoleman: Run as fast as you can and don't look back. 2011-04-26T17:00:49 jaycobcoleman: stop putting @ in front of my name, it confuses contestbot 2011-04-26T17:01:03 haha sorry 2011-04-26T17:01:16 I like the message it gave me though 2011-04-26T17:01:18 jaycobcoleman: also.. wrong yelp 2011-04-26T17:01:26 alright, I though so 2011-04-26T17:01:32 talking about this yelp: http://engineeringblog.yelp.com/ 2011-04-26T17:02:10 *** nullkuhl has quit IRC (Ping timeout: 260 seconds) 2011-04-26T17:03:29 I've really never heard of them :P 2011-04-26T17:07:33 *** Naktibalda has quit IRC (Quit: ChatZilla 0.9.86.1 [Firefox 3.6.16/20110323143040]) 2011-04-26T17:14:04 animatroid: I was surprised to see that LOLCODE actually does have the capacity to create functions 2011-04-26T17:38:12 *** Eruonen has joined #aichallenge 2011-04-26T17:43:57 have a look at Whitespace and Brainfuck 2011-04-26T17:44:26 lolcode seems easy compared to them 2011-04-26T17:58:44 *** sigh has joined #aichallenge 2011-04-26T18:00:11 *** jaycobcoleman has quit IRC (Ping timeout: 252 seconds) 2011-04-26T18:05:47 mcstar: Seen J? 2011-04-26T18:05:58 (Useful, but incredibly terse.) 2011-04-26T18:06:23 nein 2011-04-26T18:06:44 only knew those 2 weirdos 2011-04-26T18:07:03 *** Mathnerd314 has quit IRC (Ping timeout: 250 seconds) 2011-04-26T18:07:06 J is actually used (esp. for code golf), but reading it can be tricky. 2011-04-26T18:07:06 http://en.wikipedia.org/wiki/J_%28programming_language%29 2011-04-26T18:08:52 Quicksort is this: 2011-04-26T18:08:53 quicksort=: (($:@(<#[) , (=#[) , $:@(>#[)) ({~ ?@#)) ^: (1<#) 2011-04-26T18:09:19 i see 2011-04-26T18:09:43 i still prefer the haskell version 2011-04-26T18:09:43 :) 2011-04-26T18:09:50 Tacit programming never heard of it b4 2011-04-26T18:10:21 so where does it shine? 2011-04-26T18:10:48 Code golf and confusing people, in practice. 2011-04-26T18:11:09 You can do computations on arrays really concisely, though for non-trivial code it's too opaque to be useful. 2011-04-26T18:11:32 Nonetheless, it wasn't invented as a joke language like Whitespace but is nearly as hard to read. 2011-04-26T18:13:12 :) 2011-04-26T18:13:12 im sure i will learn it 2011-04-26T18:13:12 when brain-augmentation becomes commonplace 2011-04-26T18:16:04 i think it becomes more readable when u replace digraphs with proper keywords 2011-04-26T18:16:17 and frankly 2011-04-26T18:16:36 when i look at lisp code the first time i could make heads or tails of it 2011-04-26T18:16:45 couldn't 2011-04-26T18:16:47 sry 2011-04-26T18:17:00 alas that was long ago 2011-04-26T18:18:17 *** Mathnerd314 has joined #aichallenge 2011-04-26T18:21:58 *** _0x47 <_0x47!~slash@p3EE0A724.dip.t-dialin.net> has joined #aichallenge 2011-04-26T18:22:11 *** _0x471 <_0x471!~slash@p5B25FDAE.dip.t-dialin.net> has quit IRC (Ping timeout: 258 seconds) 2011-04-26T18:25:19 *** antimatroid has quit IRC (Quit: Leaving.) 2011-04-26T18:25:26 *** antimatroid has joined #aichallenge 2011-04-26T18:29:11 *** Redgis has quit IRC (Quit: ... mains libres) 2011-04-26T18:34:07 *** sigh has quit IRC (Remote host closed the connection) 2011-04-26T18:50:41 *** mceier has quit IRC (Quit: leaving) 2011-04-26T18:57:03 aichallenge: janzert epsilon * r0f45d58 / worker/sandbox.py : General cleanup of current sandbox code - http://bit.ly/i4Kd1k 2011-04-26T18:58:40 *** amriedle has joined #aichallenge 2011-04-26T19:03:42 *** _0x471 <_0x471!~slash@p3EE0A250.dip.t-dialin.net> has joined #aichallenge 2011-04-26T19:04:15 *** _0x47 <_0x47!~slash@p3EE0A724.dip.t-dialin.net> has quit IRC (Ping timeout: 250 seconds) 2011-04-26T19:09:06 *** _0x471 <_0x471!~slash@p3EE0A250.dip.t-dialin.net> has quit IRC (Quit: Leaving.) 2011-04-26T19:11:21 aichallenge: janzert epsilon * r5948c11 / worker/jail_own.c : Correct error propagation in jail_own program - http://bit.ly/hTMkmY 2011-04-26T19:15:36 *** janzert has quit IRC (Ping timeout: 246 seconds) 2011-04-26T19:16:20 *** jaycobcoleman has joined #aichallenge 2011-04-26T19:18:20 *** Kingpin13 has quit IRC (Quit: money can't buy you love, but it can if you have enough) 2011-04-26T19:22:07 mcstar: have you heard of any actual occurances of a whitespace program being hidden within a program of another language? 2011-04-26T19:23:01 yes 2011-04-26T19:23:09 polyglot they call it 2011-04-26T19:23:23 theres example on wikipedia 2011-04-26T19:23:39 theres code allegedly legitim in 16 diff. languages 2011-04-26T19:23:44 lol 2011-04-26T19:24:02 didnt know about them b4 today thou 2011-04-26T19:24:10 hehe, also I'm aware of brainfuck 2011-04-26T19:24:14 it's ridiculous 2011-04-26T19:24:35 i met him ~2 years ago? 2011-04-26T19:24:40 but that was it 2011-04-26T19:24:48 Oh man 2011-04-26T19:24:51 we said goodbye almost instantly 2011-04-26T19:26:39 *** janzert has joined #aichallenge 2011-04-26T19:27:00 probably i should learn that though is spelled though 2011-04-26T19:27:26 perhaps :P 2011-04-26T19:27:43 anyway, gotta go 2011-04-26T19:27:52 *** jaycobcoleman has quit IRC (Quit: Page closed) 2011-04-26T19:29:26 bb 2011-04-26T19:32:08 aichallenge: janzert epsilon * r516aaa3 / (manager/semaphore_cleanup.py worker/delete_jail_users.py): Get rid of a few more no longer needed scripts - http://bit.ly/fjV6EC 2011-04-26T19:34:37 *** FireFly has quit IRC (Quit: swatted to death) 2011-04-26T19:35:19 *** needsch has quit IRC (Quit: Leaving.) 2011-04-26T19:48:08 *** jmpespxoreax has quit IRC (Changing host) 2011-04-26T19:48:09 *** jmpespxoreax has joined #aichallenge 2011-04-26T19:56:15 *** Mathnerd314 has quit IRC (Ping timeout: 250 seconds) 2011-04-26T20:05:49 *** Mathnerd314 has joined #aichallenge 2011-04-26T20:07:21 *** smellyhippy has quit IRC (Ping timeout: 264 seconds) 2011-04-26T20:20:46 *** AlliedEnvy has quit IRC (Ping timeout: 246 seconds) 2011-04-26T20:21:02 *** mcstar has quit IRC (Remote host closed the connection) 2011-04-26T20:22:24 *** AlliedEnvy has joined #aichallenge 2011-04-26T20:28:22 *** Eruonen has quit IRC (Ping timeout: 240 seconds) 2011-04-26T20:41:36 fuuuu wikipedia 2011-04-26T20:42:04 they have an example for a 2x2 game where x is the probability of player 2 making a move and y is the probability of player 1 making a move 2011-04-26T20:42:17 x comes before y damnit! 2011-04-26T20:43:06 Maybe so they can say "x given y"? 2011-04-26T20:43:33 (Also, I am tempted to use the letters "y" and "q" for my next example.) 2011-04-26T20:55:11 *** McLeopold has joined #aichallenge 2011-04-26T20:55:50 *** jaycobcoleman has joined #aichallenge 2011-04-26T20:57:18 *** AlliedEnvy has quit IRC (Read error: Connection reset by peer) 2011-04-26T20:58:38 *** AlliedEnvy has joined #aichallenge 2011-04-26T20:59:45 Hello everybody. What's that you ask? Hot sauce? Oh no you definitely shouldn't breathe hot sauce, that's a terrible idea 2011-04-26T21:00:35 animatroid: what wikipedia page are you talking about? 2011-04-26T21:06:10 jaycobcoleman: http://en.wikipedia.org/wiki/Best_response 2011-04-26T21:06:28 one thing that has been bugging me a lot is symmetry of games 2011-04-26T21:06:56 antimatroid: http://github.com/McLeopold/TCPServer spread the word 2011-04-26T21:07:00 a lot of people define a game as strict if they payoff "tensors" remain unchanged from permuting any number of the players 2011-04-26T21:07:06 McLeopold: :D 2011-04-26T21:07:18 don't get too excited, it doesn't work yet 2011-04-26T21:07:19 OOHH!! 2011-04-26T21:07:23 ooohh :( 2011-04-26T21:07:30 buzzkill 2011-04-26T21:07:37 but I can at least play a planet wars game and see a visualizer of it 2011-04-26T21:07:42 jaycobcoleman: but that condition isn't strict enough 2011-04-26T21:08:07 actually it's too strict sorry 2011-04-26T21:08:39 best part about wikipedia: you can edit it :P 2011-04-26T21:08:54 and make their stupid examples less stupid 2011-04-26T21:09:05 or at the very least stupid in a different way 2011-04-26T21:09:11 nah, i'd need to make new graphs 2011-04-26T21:09:13 mehffort 2011-04-26T21:10:21 Do you have some other things I could read like this? 2011-04-26T21:10:35 McLeopold: i can fork taht to aichallenge 2011-04-26T21:11:02 that stuff wont help you very much for ai contests 2011-04-26T21:11:09 it's more for general game theory 2011-04-26T21:11:21 amstan: I'd hate for people to think it's official until it is somewhat functional 2011-04-26T21:11:25 if you want to learn game theory, get osbornes INTRODUCTORY text 2011-04-26T21:11:41 myerson and tirol & fudenbergs texts are best, but the maths might be a little over your head 2011-04-26T21:11:46 tirole* 2011-04-26T21:13:56 the second of those covers more, but the first probably does a better job of what is does cover 2011-04-26T21:14:13 (i am by no means an expert) 2011-04-26T21:20:18 McLeopold: should i see if daniel is willing to do tcp stuff for us? 2011-04-26T21:40:57 * jaycobcoleman is fiddling with IRC function :P 2011-04-26T21:41:16 *functions 2011-04-26T21:52:57 <_flag> antimatroid: I can't seem to find it on the wiki, what is the most recent update to the engine again? 2011-04-26T22:01:36 *** McLeopold has quit IRC (Ping timeout: 240 seconds) 2011-04-26T22:11:56 _flag: the 'r' lines? 2011-04-26T22:15:01 <_flag> antimatroid: yes 2011-04-26T22:15:12 they should be on the wiki 2011-04-26T22:15:25 <_flag> I'm looking at the bot input output section 2011-04-26T22:15:30 *** janzert has quit IRC (Ping timeout: 246 seconds) 2011-04-26T22:16:00 search for "You will be given information about removing food for a visible square that contained food the last time you saw it and that currently does not contain food" 2011-04-26T22:16:32 you're on https://github.com/aichallenge/aichallenge/wiki/Ants-Game-Specification yeah? 2011-04-26T22:17:09 <_flag> No, I was on: https://github.com/aichallenge/aichallenge/wiki/Ant-bot-input-output where all the other commands (w,a,d,l,etc.) are 2011-04-26T22:18:22 <_flag> So the r command can be treated as just another command that sets a square to land right? 2011-04-26T22:18:29 ah sorry, i didn't make that page :P 2011-04-26T22:18:35 yes 2011-04-26T22:18:55 you can stop wiping food information when you clear information each turn and just process the r lines 2011-04-26T22:19:10 although be careful giving a list of food locations then, because you may good a food location more than once 2011-04-26T22:19:16 without having cleared it 2011-04-26T22:19:25 may get* 2011-04-26T22:20:44 <_flag> So the engine no longer gives food information every turn? 2011-04-26T22:22:11 <_flag> Wait, nevermind, my starter pack wouldn't be still working then 2011-04-26T22:22:50 yeah, we left that coming every turn, hence the problem with storing a list of food squares 2011-04-26T22:23:10 i suspect i might give it to people with a set in the c++ bot, but atm they are just not getting such a list/set/vector 2011-04-26T22:24:44 <_flag> Coincidentally because I expect all the information to be sent every turn anyway, my bot just clears all the data (except water squares) and the 'r' command doesn't do anything, although I suppose there's some tiny efficiency gains :P 2011-04-26T22:26:40 yeah, it was good that we were able to add the 'r' lines while leaving everything else working 2011-04-26T22:34:30 I'm adding 'r' lines to the input-output wiki page 2011-04-26T22:35:32 is an f line given every turn that a food square is visible? 2011-04-26T22:38:18 also, I imagine these wiki pages are being reformatted for the website? 2011-04-26T22:47:24 an f line is given every time a food square is visible yes 2011-04-26T22:47:40 amstan is just going to convert the pages i think 2011-04-26T22:49:00 alright good 2011-04-26T22:49:33 I might also change the example, because it only shows setup and turn one, which doesn't allow us to show an example of an 'r' line being given 2011-04-26T22:50:46 i don't want the examples to be too long 2011-04-26T22:50:49 i think they are sufficient 2011-04-26T22:51:43 it could be cool to keep stats on which ant managed to score the most individual points 2011-04-26T22:54:42 you mean within the engine? 2011-04-26T22:55:05 just as a general idea 2011-04-26T22:55:11 one would really want to do it engine side 2011-04-26T22:55:21 i'm off to buy something to cook for lunch anyway 2011-04-26T22:56:01 alright, goodbye 2011-04-26T22:57:53 *** delt0r_ has quit IRC (Ping timeout: 260 seconds) 2011-04-26T23:09:46 *** amriedle has quit IRC (Quit: Lost terminal) 2011-04-26T23:23:50 *** delt0r_ has joined #aichallenge