2011-02-28T00:20:31 it's amazing what some basic profiling can reveal about performance 2011-02-28T00:21:01 in the last twenty minutes or so i've doubled the speed of my already pretty fast starter 2011-02-28T00:22:12 yay for low hanging fruit 2011-02-28T00:25:03 *** flag has quit IRC (Quit: Lost terminal) 2011-02-28T00:25:04 hmmm, i think i've worked out how to make these symmetrical games 2011-02-28T00:38:57 antimatroid: I'm thinking we don't need to produce maps with starting food. 2011-02-28T00:40:59 you want the engine to do it? 2011-02-28T00:41:05 Yes 2011-02-28T00:41:07 it would be good if that was at least symmetric at the start i think 2011-02-28T00:41:17 if the water is to also be symmetric 2011-02-28T00:41:36 Yes, I'm thinking a certain radius around the starting ants should have symmetric food. 2011-02-28T00:41:37 *** chris__0076 has joined #aichallenge 2011-02-28T00:41:43 Even on non-symmetric maps. 2011-02-28T00:41:51 and if we do asymmetric maps, it's going to be really hard to test "fairness" if the engine isn't doing exacly the same food spawning on it 2011-02-28T00:42:45 McLeopold: I made some asymmetric maps, did you see those? they looked cool 2011-02-28T00:42:48 I'm thinking fairness will be making sure everyone can get to the same amount of land first, plus the same average distance to each opponent. 2011-02-28T00:43:17 links? 2011-02-28T00:43:23 http://codepad.org/olX9r6hb 2011-02-28T00:43:27 that was very rough asymmetric maps 2011-02-28T00:43:51 *** chris___0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T00:44:25 i might try the tree idea but add a line of length rand(1,4) each time i place walls onto to tree 2011-02-28T00:44:28 jmcarthur: I saw you had issues with the engine? what were they? 2011-02-28T00:47:49 McLeopold: i think it was basically that i had no idea how to run it, had to change things from how they are written in the makefile, run into some issues with paths or somesuch, had no idea which maps where good and which were bad, etc. 2011-02-28T00:48:17 okay, so, general orgainization, but no bugs? 2011-02-28T00:48:48 at least one appeared to be either a bug or a problem with my python installation. h/o 2011-02-28T00:49:54 err... now i can't find what the issue was. not showing my changes with git diff. maybe i reverted it after all 2011-02-28T00:50:00 i honestly don't remember 2011-02-28T00:50:06 i'll let you know if i think of it later 2011-02-28T00:50:57 okay, I'll need to come up with a howto for testing bots 2011-02-28T00:52:22 so, on starter bots... 2011-02-28T00:52:37 j3camero wanted simple starters for new programmers. 2011-02-28T00:53:00 I'd rather have starter packs showcase good design in the language chosen. 2011-02-28T00:53:33 Make class/library/include/whatever so that the example bots has nothing but ai-logic. 2011-02-28T00:53:57 I attempted to even put the parsing stuff in my python and java support files. 2011-02-28T00:53:59 McLeopold: ah you missed my conversation with j3camero earlier 2011-02-28T00:54:06 I'm reading some of it 2011-02-28T00:54:21 contestbot seen j3camero 2011-02-28T00:54:21 McLeopold: j3camero was last seen in #aichallenge 5 hours, 18 minutes, and 54 seconds ago: Good point. 2011-02-28T00:54:34 ^^ he agreed with you, then left? 2011-02-28T00:54:42 * jmcarthur shrugs 2011-02-28T00:54:43 i guess 2011-02-28T00:55:16 anyway, if he wants starter packs for new programmers, that's different than starter pack for programmers new to a language 2011-02-28T00:55:39 If people are willing, we could have several per language. 2011-02-28T00:55:46 eek 2011-02-28T00:55:57 Okay, just 2. 2011-02-28T00:56:06 simple / elegant 2011-02-28T00:56:46 It's just an idea. I don't want to not showcase the enum in java, just because it takes some thought. 2011-02-28T00:57:07 *** Mathnerd314 has quit IRC (Ping timeout: 250 seconds) 2011-02-28T00:57:20 I'm assuming haskell has even more tricks to showcase. 2011-02-28T00:59:39 antimatroid: so, should starter pack logic be, for each ant, go n or e or s or w? 2011-02-28T01:00:23 It's really stupid and ants will get stuck in ne corners, and step on each other... 2011-02-28T01:01:07 I'm almost thinking HunterBot should be the example. 2011-02-28T01:01:20 *** Mathnerd314 has joined #aichallenge 2011-02-28T01:01:28 for each ant, find closest target, head that direction 2011-02-28T01:01:53 McLeopold: i imagine a lot of beginners may end up trying to do advanced hunter bots 2011-02-28T01:02:06 i still think it's better to leave the start bots as stupid as go n, e, s or w 2011-02-28T01:02:20 you could make movement random? 2011-02-28T01:02:44 the planet wars one wasn't that stupid 2011-02-28T01:02:52 it was pretty stupid 2011-02-28T01:03:01 tron was exactly that 2011-02-28T01:03:05 for each planet, find weak target, send 1/2 ships 2011-02-28T01:03:19 that's almost hunter bot 2011-02-28T01:03:58 Well, I think showing them the proper distance formula is good. 2011-02-28T01:04:34 my distance function is just state.distance(loc1, loc2) 2011-02-28T01:04:43 I also think a starter bot that doesn't have ants collide would be good too 2011-02-28T01:04:55 my ants wont collide 2011-02-28T01:05:01 ok 2011-02-28T01:05:18 McLeopold: haskell has a lot of tricks, sure, but i actually don't have any intention of making a "showy" starter. i just want to have more of a black box library and an extremely simple starter 2011-02-28T01:05:35 *** Palmik has joined #aichallenge 2011-02-28T01:06:01 jmcarthur: does your starter prevent collisions? 2011-02-28T01:06:08 i agreed with the arguments last time about code being released too, if everyone keeps their code to themselves, you know how well you have done relative to the other people who sat down and programmed 2011-02-28T01:06:10 not right now 2011-02-28T01:06:36 it only checks for water 2011-02-28T01:06:57 that's the crux of my starter bot at present 2011-02-28T01:06:57 State.cc - http://codepad.org/M5fUZMAX 2011-02-28T01:06:57 MyBot.cc - http://codepad.org/vgkz1DsA 2011-02-28T01:08:02 distance is wrong for that, i need to update that 2011-02-28T01:08:03 antimatroid: I do sort of agree with you on sharing code, but it is not enforcable 2011-02-28T01:08:09 http://hpaste.org/44386/ants_starter_again 2011-02-28T01:08:17 no not enforcable, just to be encouraged i think 2011-02-28T01:08:43 We should come up with an official statement. 2011-02-28T01:08:55 pseudo code only on forums, or something 2011-02-28T01:09:04 no submittable bots 2011-02-28T01:09:08 i'd like to make those type signatures less weird. i might get rid of the magic 's' type parameter, at least 2011-02-28T01:09:13 eh 2011-02-28T01:09:17 i don't know about rules like that 2011-02-28T01:09:26 frameworks okay? 2011-02-28T01:09:30 encourage pseudo code and general strategy advice rather than actual code sharing, something like that anyway 2011-02-28T01:09:31 what's the definition of a starter pack, for example? 2011-02-28T01:09:36 tools are okay 2011-02-28T01:09:52 i think people should be fine to release "toolboxes" 2011-02-28T01:10:13 a starter pack is there to enable people to easily get started programming a bot 2011-02-28T01:10:15 i think we could have an official statement on what we'd like to *discourage*, but to make a hard rule would be going too far, IMO 2011-02-28T01:10:55 jmcarthur: there's no way to enforce it, there's too much grey area, but still, I think we should discourage releasing bot code until after the final submission 2011-02-28T01:11:01 imo serious competitors should really be writing their own bot from scratch, after playing around with a starter bot 2011-02-28T01:11:07 right, no hard rule 2011-02-28T01:11:14 maybe just forum maintenance 2011-02-28T01:11:37 generally people have been happy to comply with what people want 2011-02-28T01:11:49 yes 2011-02-28T01:11:57 and most people don't want to share their code anyway 2011-02-28T01:12:13 not until they give up or run out of time... 2011-02-28T01:12:32 I think we had to major releases last contest 2011-02-28T01:12:35 2 2011-02-28T01:13:00 i only saw the 1 2011-02-28T01:13:24 and i don't think that would have happened with a friendly comment pointing out why it might be better not to 2011-02-28T01:13:45 okay, so, we'll write something up and show jeff 2011-02-28T01:13:56 i remember one guy that took it down after all the protests but strongly disagreed that it was such a big deal 2011-02-28T01:14:18 i sort of agreed that it really didn't matter to rankings, but agreed with peoples protests more 2011-02-28T01:15:30 I think we should care about everyone's rankings, not just the top. Some people will still want to try and compete at the level they are at. Discouraging it keeps the contest fun for themm. 2011-02-28T01:15:41 agreed 2011-02-28T01:16:12 so, starter bot logic... Hunter Bot? 2011-02-28T01:18:39 describe hunter bot at a high level, please 2011-02-28T01:18:56 let me just copy paste from above... 2011-02-28T01:19:10 personally, i was thinking of having a really stupid starter with an accompanying tutorial to improve it a bit 2011-02-28T01:19:10 for each ant, find closest target, head that direction 2011-02-28T01:19:29 target being food and enemy ants 2011-02-28T01:19:36 ah 2011-02-28T01:19:49 no path finding 2011-02-28T01:19:57 no division of labor 2011-02-28T01:20:06 so if there's water in the way just don't move, or pick a different target? 2011-02-28T01:20:15 just don't move 2011-02-28T01:20:23 what about avoiding collisions? 2011-02-28T01:20:32 I'd say yes 2011-02-28T01:20:54 I'd like to avoid newbie questions of, "why do my ants disappear?" 2011-02-28T01:21:05 if i did hunter bot i would do it with a queue and paint outwards 2011-02-28T01:21:41 okay, advanced math techniques should not be in, just simple, possible slow, algorithms 2011-02-28T01:21:57 so, wrapped distance formula only 2011-02-28T01:22:25 personally i think hunterbot would make a good target for a tutorial 2011-02-28T01:22:29 instead of being the default starter 2011-02-28T01:22:35 yeah, i'm with jmcarthur 2011-02-28T01:22:54 okay, n-e-s-w colliding bot? 2011-02-28T01:22:54 it's something even a beginner can start with and get hooked 2011-02-28T01:23:06 McLeopold: have you heard of jmcarthurs beta period? 2011-02-28T01:23:08 yeah, i'm quite happy with my n-e-s-w right now 2011-02-28T01:23:10 not colliding 2011-02-28T01:23:18 no 2011-02-28T01:23:28 just update the char grid as you move ants and don't move them into a square containing an ant, simple 2011-02-28T01:24:06 we know how not to do it, the question is should the logic be in the starter :P 2011-02-28T01:24:48 or is that tutorial step 1? 2011-02-28T01:25:04 basically, have a public 1-2 week beta period once everythings about ready to go live with an explicit statement saying it's still a testing phase and rules can/will change, get some hype going and the submissions rolling, then have the official launch once everything goes properly live 2011-02-28T01:25:32 I don't have an opinion about a beta, let jeff decide 2011-02-28T01:25:39 tutorial step one, can tell them to "update makeMove function to "move" the ant" 2011-02-28T01:25:51 i was mentioning it, not asking you to make a decision :P 2011-02-28T01:25:57 jeff is a bit mehy as well 2011-02-28T01:26:12 He just wants a grand opening 2011-02-28T01:26:29 so, let's make the starter collide 2011-02-28T01:26:33 i think he's worried we'll blow the hype on the first "announcement" 2011-02-28T01:26:41 he's right 2011-02-28T01:26:45 i disagree 2011-02-28T01:26:49 whatever 2011-02-28T01:26:50 i think it'd help hype 2011-02-28T01:27:13 i'm not going to take a strong opinion on it. i think it would build hype, personally, but it won't bother me not to get my way on this one 2011-02-28T01:27:38 yeah i'm not hugely caring, but i think it's a good idea for numerous reasons :\ 2011-02-28T01:27:39 antimatroid: colliding starter packs, yes? 2011-02-28T01:27:47 McLeopold: sure 2011-02-28T01:27:50 okay, done 2011-02-28T01:27:54 yeah, i think prevent collisions makes a good step one 2011-02-28T01:28:00 *preventing 2011-02-28T01:28:32 McLeopold: are you making sure food doesn't generate adjacent to an ant or more food? 2011-02-28T01:28:48 I haven't had time to make a good food spawning algo yet. 2011-02-28T01:29:04 what happens when an ant walks onto food atm? 2011-02-28T01:29:13 It can't, food blocks 2011-02-28T01:29:26 so, it's an invalid order 2011-02-28T01:29:32 or, ignored 2011-02-28T01:29:34 ok, so move ant if grid cell != '%' or '*'? 2011-02-28T01:29:53 yeah 2011-02-28T01:30:22 I'm thinking I won't worry about where food is spawned, I don't want to bias the food to unoccupied areas. 2011-02-28T01:30:46 If the spot chosen is occupied, I'll just pick the closest unoccupied spot to it. 2011-02-28T01:32:10 antimatroid: what was your preference on radius? 2011-02-28T01:32:14 i think that's a good idea 2011-02-28T01:32:35 if food only spawns unoccupied areas then there is less incentive to occupy territory 2011-02-28T01:32:51 jmcarthur: maybe that is good? 2011-02-28T01:32:59 depends on battle resolution 2011-02-28T01:33:10 lock in view2 = 96 2011-02-28T01:33:21 i'm unsure about the other two 2011-02-28T01:33:24 i dunno 2011-02-28T01:33:49 i think maybe spawn2 = 1, attack2 = 5? 2011-02-28T01:34:28 I want spawn at least 2 2011-02-28T01:34:28 personally i think we should vary those parameters, at least for the first few weeks 2011-02-28T01:34:32 then we can nail them down 2011-02-28T01:35:04 i think spawn should be small, make it 2? 2011-02-28T01:35:06 then vary attack 2011-02-28T01:35:28 Wasn't there some concern with different radius' in the forums? 2011-02-28T01:35:32 I need to go look... 2011-02-28T01:35:48 yeah there is an issue with colliding ants and a small bith/attack radius 2011-02-28T01:36:17 woah, daniel posted in the forums 2011-02-28T01:36:20 yea 2011-02-28T01:36:23 just saw 2011-02-28T01:37:53 hmmm, i think we need spawn2 = 4 2011-02-28T01:38:12 i don't really want attack2 >= 9 2011-02-28T01:38:22 and i don't like colliding enemies 2011-02-28T01:38:35 it simplifies things for people if they don't need to deal with that 2011-02-28T01:38:39 Colliding enemies are fine with me, and the engine 2011-02-28T01:38:49 but your right on simple 2011-02-28T01:39:04 that gives us a minimum attack of... 2011-02-28T01:39:04 if somethings harder without making it any more interesting, i consider it unecessary 2011-02-28T01:39:19 if you have spawn2 = 4 you can have attack2 = whatever 2011-02-28T01:39:35 i like attack2 = 5, so with your knight moves 2011-02-28T01:39:46 why spawn = 4? thats a diamond shape 2011-02-28T01:40:08 do you want to make both 5? 2011-02-28T01:40:21 does 6 cancel all rounding errors and keep the same shape? 2011-02-28T01:40:32 i think it does 2011-02-28T01:41:15 or 7 2011-02-28T01:41:15 (view2 = 96, attack2 = 6, spawn2 = 6) == current testing parameters? 2011-02-28T01:41:53 one isn't going to be that far off calculating rt 6 2011-02-28T01:42:33 my bot is just going to use the current distance metric squared 2011-02-28T01:42:39 it just the next radius would be 8 2011-02-28T01:42:55 the definition is squared anyway, so 5 will do 2011-02-28T01:42:58 set it to 6 or 7, but are we all okay with that for the moment? 2011-02-28T01:43:00 if we want that value 2011-02-28T01:43:12 I'm thinking about it... 2011-02-28T01:43:23 but then you need people to calcualte rt 5 >= real value 2011-02-28T01:44:19 you could say ceil(sqrt(dr^2 + dc^2)) 2011-02-28T01:47:04 i just worked out the first thing i can use the first turn for 2011-02-28T01:47:12 storing distances between all the squares 2011-02-28T01:47:19 ? 2011-02-28T01:47:32 are you making a giant undirected graph? 2011-02-28T01:47:48 i've considered it 2011-02-28T01:47:59 i haven't decided to yet, but i've come close a few times 2011-02-28T01:48:03 with path finding? because you have to explore first 2011-02-28T01:48:28 it would just mean checking less edges all the time 2011-02-28T01:48:29 or, at least the distances will start to increase as you explore 2011-02-28T01:48:33 but it'd be very messy 2011-02-28T01:49:32 on a 100x100 map, you need 50million entries 2011-02-28T01:49:39 shhh :P 2011-02-28T01:49:52 i think i could do that 2011-02-28T01:49:59 wouldn't get away with more than that 2011-02-28T01:50:16 i only need to do it for squares to just outside each squares view 2011-02-28T01:50:19 might be doable 2011-02-28T01:50:40 actually, no i couldn't, there goes all my memory :P 2011-02-28T01:51:25 i'll try later and see how much memory i spend storing distances between squares that are at least almost in view of each other 2011-02-28T01:54:04 i think that sounds a bit infeasible, and maybe not even all that useful 2011-02-28T01:54:46 okay, radius, 93,6,6 2011-02-28T01:55:12 I'm really thinking that we should stick with this, only unless their is a serious issue with it. 2011-02-28T01:55:12 McLeopold: where does a bot receive end? 2011-02-28T01:55:25 is it instead of turn? or after that line? and is that the last line of bot input? 2011-02-28T01:55:40 *** sigh has quit IRC (Ping timeout: 260 seconds) 2011-02-28T01:55:41 after they die, or they are the last standing, or after the last turn 2011-02-28T01:55:53 instead of turn 2011-02-28T01:56:03 turn means the bot should be sending more orders 2011-02-28T01:56:11 end means the bot shouldn't 2011-02-28T01:56:31 that's confusing? 2011-02-28T01:56:40 not the last line, there is state after it 2011-02-28T01:56:49 why? 2011-02-28T01:57:08 so the "winner(s)" can see what happened? 2011-02-28T01:57:18 my starter is just ignoring that state. i'm not sure what a bot would be able to do with the state 2011-02-28T01:57:21 for testing and tcp server 2011-02-28T01:57:32 on official server, we can just kill the bot 2011-02-28T01:57:42 the replay will have the final state 2011-02-28T01:57:44 i am just trying to work out how to get my bot to process it properly 2011-02-28T01:58:19 you can ignore it 2011-02-28T01:58:23 i do 2011-02-28T01:58:29 antimatroid: when you see "end", the game's over 2011-02-28T01:58:35 it needs to be specified as well 2011-02-28T01:58:53 and can you please add the noPlayers after end before scores? 2011-02-28T01:58:54 or, when you see 'go', do something, otherwise don't 2011-02-28T01:58:56 i'm reading the score and making it available, for some reason 2011-02-28T01:59:46 i'm considering just dropping that though. makes things much more complicated than necessary 2011-02-28T02:00:09 yeah, you don't need it, it's just a nice thing the engine will do if you want the info 2011-02-28T02:00:35 could the end line replace go for a turn? 2011-02-28T02:01:12 no 2011-02-28T02:01:21 that way end would always be the last line of input for a bot, so you always know to quit after you've received that, not check whether there is potentially more input to get, the winner could receive the final state info to process etc. 2011-02-28T02:01:31 so, I added the 'players' line after the 'end' and 'score' 2011-02-28T02:01:38 cheers 2011-02-28T02:01:45 hmm... just before score would help 2011-02-28T02:01:47 *** chris___0076 has joined #aichallenge 2011-02-28T02:01:51 i still think it's weird that you "may or may not" have more input after you receive end 2011-02-28T02:02:05 damn, that means i have to change mine 2011-02-28T02:02:06 yeah, i only want it so i know how many scores i'm reading 2011-02-28T02:02:12 i'll just stop reading after end, dangit 2011-02-28T02:02:16 *** chris__0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T02:02:31 or can we receive go after end even if we died? 2011-02-28T02:02:34 it's not may or may not 2011-02-28T02:02:35 that'd be simple and keep me happy 2011-02-28T02:02:49 antimatroid: end means you're done 2011-02-28T02:02:52 and end -> state info -> go for the winner 2011-02-28T02:03:04 jmcarthur: if you win, end is followed by more input 2011-02-28T02:03:05 hmm... 2011-02-28T02:03:15 antimatroid: which you must respond to? 2011-02-28T02:03:17 it's not if you win, it's all bots 2011-02-28T02:03:24 yeah all bots get it 2011-02-28T02:03:26 jmcarthur: no response needed 2011-02-28T02:03:28 but it's not needed 2011-02-28T02:03:32 jmcarthur: no, but it's just effort to handle this way, receiving go would make it easier to handle 2011-02-28T02:03:33 so just... don't read it 2011-02-28T02:03:41 why? 2011-02-28T02:03:54 i don't see why receiving go makes anything easier 2011-02-28T02:03:55 because i can have a "gameover" variable, if "go" and gameover, quite 2011-02-28T02:03:57 quit* 2011-02-28T02:04:07 but why not just quit when you see "end"? 2011-02-28T02:04:10 otherwise, if end and i'm winner, read another state 2011-02-28T02:04:13 antimatroid: in python you get an eof error 2011-02-28T02:04:19 antimatroid: why read the next state? 2011-02-28T02:04:34 jmcarthur: the point of receiving the information is so people can use it when testing, if you're providing them something to use, why not make it easier to use? 2011-02-28T02:04:42 otherwise why even provide the state? 2011-02-28T02:04:49 i don't see how anybody will use that state for testing 2011-02-28T02:04:51 okay, let's say you wanted to read the next state, to fill in info for your neural net bot... 2011-02-28T02:04:54 if the point is to always ignore it, there's no reason to provide it :\ 2011-02-28T02:06:00 i guess i will have to reconsider how i'm treating the endgame right now 2011-02-28T02:06:01 i know i'm annoying, but i don't see why it shouldn't be made easier with the little effort of adding a go line :P 2011-02-28T02:06:13 jmcarthur: you could still ignore the go line too 2011-02-28T02:06:20 nothing would change for you 2011-02-28T02:06:28 antimatroid: nono, i'm not even reading the last state right now 2011-02-28T02:06:37 antimatroid: all i'm getting right now is the score 2011-02-28T02:06:43 antimatroid: and it looks like even that will be changing 2011-02-28T02:06:44 antimatroid: you're right, all add the last go 2011-02-28T02:06:51 McLeopold: :) 2011-02-28T02:07:02 i'm happy with everything except battle resolution now :P 2011-02-28T02:08:13 okay so i guess the idea now is that the endgame state is just like a normal turn, except starting with "end" instead of "turn X" and containing the score (and player count?)? 2011-02-28T02:09:12 yes 2011-02-28T02:09:32 alright. i'll just try to tackle this one later 2011-02-28T02:09:35 bedtime now 2011-02-28T02:09:37 gnite 2011-02-28T02:09:39 night 2011-02-28T02:09:43 bye 2011-02-28T02:09:44 i'll update the wiki 2011-02-28T02:10:38 the wiki need a lot of updating 2011-02-28T02:10:44 i know 2011-02-28T02:11:21 can you update the map file format and visualiser input as needed? 2011-02-28T02:11:27 I kinda want 'setup' instead of 'turn 0' 2011-02-28T02:11:30 not needed now, just i don't knowit 2011-02-28T02:11:40 i'm happy with that 2011-02-28T02:12:07 rows 82 2011-02-28T02:12:07 cols 62 2011-02-28T02:12:07 m %%% 2011-02-28T02:12:13 that's the map file format ^^ 2011-02-28T02:12:17 do you want noPlayers? 2011-02-28T02:12:37 it's not needed, I detect starting positions 2011-02-28T02:12:43 but it is allowed 2011-02-28T02:12:59 okay, i'll specify it with a "players noPlayers" line 2011-02-28T02:13:18 i'll leave you to update the visualizer input whenever you find time, it's only needed for you and frontier i'm pretty sure 2011-02-28T02:14:08 antvalue? points for a dying ant? we can take that out 2011-02-28T02:14:24 depends, did you want it for your scoring? 2011-02-28T02:14:34 it was there for you :P so remove it if you don't need it 2011-02-28T02:14:50 hmm... I wonder if a bot should know it's score 2011-02-28T02:15:02 *** chris__0076 has joined #aichallenge 2011-02-28T02:15:02 are you editing wiki now? as i'll wait if you are 2011-02-28T02:15:07 no 2011-02-28T02:15:09 just reading 2011-02-28T02:15:28 *** chris___0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T02:15:43 I'm going to bed now. I make corrections in the morning after you get done with it. 2011-02-28T02:15:57 do you want me to change "turn 0" to "setup" right now? 2011-02-28T02:16:09 do you think it's good? 2011-02-28T02:16:20 it might make it more intuitive 2011-02-28T02:16:32 turn setup? 2011-02-28T02:16:34 turn end? 2011-02-28T02:16:43 nah, i expect a number after turn 2011-02-28T02:17:26 hmm, actually, turn 0 works well for input function? 2011-02-28T02:17:27 we could take it out 2011-02-28T02:17:32 and people have already set up with it 2011-02-28T02:17:46 input function? 2011-02-28T02:18:09 read turn number, if turn == 0, get parameters, otherwise read state 2011-02-28T02:18:35 or if turn == end, deal with scores and read state 2011-02-28T02:19:13 only the winner receives scores don't they? 2011-02-28T02:19:20 no, everyone 2011-02-28T02:19:33 I haven't decided if you are beat earlier though 2011-02-28T02:19:37 how do they get a score when you kill them before the end of the game? or do you let their process run? 2011-02-28T02:19:44 do you get scores at that time, or hang on for final? 2011-02-28T02:19:52 otherwise people can do "if dead waste resources" 2011-02-28T02:20:01 well, for official, kill them 2011-02-28T02:20:15 but for tcp, I'd might leave the connection open 2011-02-28T02:20:21 ah okay, i say keep the process running for now, and send everyone end at the end 2011-02-28T02:20:48 I'll send end and state right away, even on tcp 2011-02-28T02:20:49 although we need to make sure people's bots don't then crash when being submitted to the main server 2011-02-28T02:21:01 i guess it doesn't matter if they crash once receiving end? 2011-02-28T02:21:17 for official, we won't send end, we just kill them 2011-02-28T02:21:35 so send end, then scores and go come once the game is finished? 2011-02-28T02:22:03 that way someone can quit and move onto another game on tcp if they like, or wait around for the scores 2011-02-28T02:22:08 end, state, (wait), scores, go 2011-02-28T02:22:22 oh, is scores a separate line? 2011-02-28T02:22:26 yes 2011-02-28T02:22:38 "scores" noPlayers scores? 2011-02-28T02:22:47 no 2011-02-28T02:23:00 'end', 'players 4', 'scores 1 2 3 4' 2011-02-28T02:23:07 *** kaemo has joined #aichallenge 2011-02-28T02:23:27 ah, okay easy 2011-02-28T02:23:32 you can go to bed now :P 2011-02-28T02:23:52 cya 2011-02-28T02:24:01 night 2011-02-28T02:41:02 *** chris___0076 has joined #aichallenge 2011-02-28T02:41:06 *** chris__0076 has quit IRC (Read error: Operation timed out) 2011-02-28T02:44:20 *** chris__0076 has joined #aichallenge 2011-02-28T02:46:40 *** chris___0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T02:53:23 *** sigh has joined #aichallenge 2011-02-28T02:57:40 *** chris___0076 has joined #aichallenge 2011-02-28T03:00:17 *** chris__0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T03:10:57 *** kaemo has quit IRC (Ping timeout: 276 seconds) 2011-02-28T03:15:29 *** amstan has quit IRC (Ping timeout: 240 seconds) 2011-02-28T03:42:25 i've updated everything on the wiki bar visualizer input 2011-02-28T03:50:06 *** antimatroid has quit IRC (Ping timeout: 250 seconds) 2011-02-28T04:00:56 *** chris___0076 has quit IRC (Ping timeout: 250 seconds) 2011-02-28T04:03:45 *** kaemo has joined #aichallenge 2011-02-28T04:14:22 *** chris___0076 has joined #aichallenge 2011-02-28T04:17:30 *** antimatroid has joined #aichallenge 2011-02-28T04:17:47 *** boegel has joined #aichallenge 2011-02-28T04:22:20 *** chris__0076 has joined #aichallenge 2011-02-28T04:25:15 *** chris___0076 has quit IRC (Ping timeout: 264 seconds) 2011-02-28T04:34:31 i present to you, maze maps 2011-02-28T04:34:31 http://codepad.org/ZKrF837z 2011-02-28T04:36:00 that's pretty cool :) 2011-02-28T04:36:05 how are they for playability? 2011-02-28T04:36:27 *** chris___0076 has joined #aichallenge 2011-02-28T04:38:41 *** chris__0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T04:38:53 no idea, i haven't run a single game yet 2011-02-28T04:39:38 ah 2011-02-28T04:39:52 maybe the paths should be wider? 2011-02-28T04:40:44 i actually made those by accident :P 2011-02-28T04:41:43 i realised that my very naive tree making generator would make a full maze if i told it to add enough walls to run out of feasible ones 2011-02-28T04:44:31 haha 2011-02-28T04:44:48 at first glance it looks like you actually used a proper maze generating algorithm 2011-02-28T04:46:12 *** Naktibalda has joined #aichallenge 2011-02-28T04:46:45 *** chris__0076 has joined #aichallenge 2011-02-28T04:47:05 *** chris___0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T04:47:06 sigh: i think i might have in a way 2011-02-28T04:47:11 just by accident 2011-02-28T04:48:57 a way? 2011-02-28T04:49:29 well they're mazes aren't they :P 2011-02-28T04:50:17 *** chris___0076 has joined #aichallenge 2011-02-28T04:53:48 *** chris__0076 has quit IRC (Ping timeout: 276 seconds) 2011-02-28T04:56:50 *** chris__0076 has joined #aichallenge 2011-02-28T04:57:54 *** chris___0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T05:02:49 *** Apophis_ has joined #aichallenge 2011-02-28T05:06:18 *** nann has quit IRC (Ping timeout: 240 seconds) 2011-02-28T05:08:56 *** chris__0076 has quit IRC (Read error: Connection reset by peer) 2011-02-28T05:19:15 *** antimatroid has quit IRC (Ping timeout: 240 seconds) 2011-02-28T05:25:44 *** chris__0076 has joined #aichallenge 2011-02-28T05:25:52 *** kaemo has quit IRC (Read error: Operation timed out) 2011-02-28T05:32:58 *** chris___0076 has joined #aichallenge 2011-02-28T05:35:54 *** chris__0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T05:37:16 *** chris__0076 has joined #aichallenge 2011-02-28T05:37:29 *** antimatroid has joined #aichallenge 2011-02-28T05:38:42 *** chris___0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T05:41:28 *** chris___0076 has joined #aichallenge 2011-02-28T05:43:54 *** chris__0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T06:13:54 *** delt0r_ has joined #aichallenge 2011-02-28T06:15:02 *** delt0r___ has quit IRC (Ping timeout: 240 seconds) 2011-02-28T06:32:53 *** chris__0076 has joined #aichallenge 2011-02-28T06:35:06 *** chris___0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T06:42:46 *** chris___0076 has joined #aichallenge 2011-02-28T06:45:07 *** chris__0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T07:05:07 *** chris___0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T07:18:59 *** mceier has joined #aichallenge 2011-02-28T07:22:58 *** Chris_0076 has joined #aichallenge 2011-02-28T07:49:33 *** chris__0076 has joined #aichallenge 2011-02-28T07:52:19 *** Chris_0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T07:54:48 *** chris___0076 has joined #aichallenge 2011-02-28T07:57:31 *** chris__0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T08:01:37 *** chris__0076 has joined #aichallenge 2011-02-28T08:03:31 *** chris___0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T08:11:33 *** chris__0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T08:24:54 *** chris__0076 has joined #aichallenge 2011-02-28T08:39:45 *** mceier has quit IRC (Quit: leaving) 2011-02-28T08:51:44 *** chris___0076 has joined #aichallenge 2011-02-28T08:52:51 *** Mathnerd314 has quit IRC (Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.2.13/20101203075014]) 2011-02-28T08:54:21 *** chris__0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T08:55:15 *** chris__0076 has joined #aichallenge 2011-02-28T08:57:32 *** chris___0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T08:57:42 *** chris___0076 has joined #aichallenge 2011-02-28T09:00:42 *** chris__0076 has quit IRC (Ping timeout: 276 seconds) 2011-02-28T09:02:27 *** chris__0076 has joined #aichallenge 2011-02-28T09:05:15 *** chris___0076 has quit IRC (Ping timeout: 276 seconds) 2011-02-28T09:08:47 *** sigh has quit IRC (Remote host closed the connection) 2011-02-28T09:20:37 *** chris___0076 has joined #aichallenge 2011-02-28T09:22:44 *** chris__0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T09:28:39 *** mega1 has joined #aichallenge 2011-02-28T09:34:26 *** Naktibalda has quit IRC (Remote host closed the connection) 2011-02-28T09:49:58 *** chris__0076 has joined #aichallenge 2011-02-28T09:52:47 *** chris___0076 has quit IRC (Ping timeout: 250 seconds) 2011-02-28T10:01:44 *** Naktibalda has joined #aichallenge 2011-02-28T10:27:29 *** Frontier has joined #aichallenge 2011-02-28T10:28:35 janzert: How many people did you say hit ai-contest.com with Internet Explorer <= 8 ? 2011-02-28T10:30:20 *** chris__0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T10:31:10 *** chris__0076 has joined #aichallenge 2011-02-28T10:34:11 1.24% < 8, 5.45% <= 8 2011-02-28T10:34:30 from current analytics 2011-02-28T10:37:34 *** chris___0076 has joined #aichallenge 2011-02-28T10:39:56 *** chris__0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T11:11:09 *** chris__0076 has joined #aichallenge 2011-02-28T11:13:09 *** chris___0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T11:29:00 *** McLeopold has left #aichallenge 2011-02-28T11:32:52 *** chris___0076 has joined #aichallenge 2011-02-28T11:34:38 *** mceier has joined #aichallenge 2011-02-28T11:35:09 *** chris__0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T11:37:04 *** chris__0076 has joined #aichallenge 2011-02-28T11:39:09 *** chris___0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T11:48:42 *** chris___0076 has joined #aichallenge 2011-02-28T11:49:09 *** boegel has quit IRC (Ping timeout: 240 seconds) 2011-02-28T11:51:09 *** chris__0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T11:58:05 *** amstan has joined #aichallenge 2011-02-28T11:58:05 *** ChanServ sets mode: +o amstan 2011-02-28T12:07:20 *** chris__0076 has joined #aichallenge 2011-02-28T12:09:33 *** chris___0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T12:10:02 *** Chris_0076 has joined #aichallenge 2011-02-28T12:11:33 *** chris__0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T12:27:56 *** chris__0076 has joined #aichallenge 2011-02-28T12:29:32 well, I ignorantly assumed that IE 8 has /some/ kind of canvas support, but when I checked yesterday I realized it doesn't. How are these IE users supposed to view the replays? It would be possible to write a Java applet from scratch, give them a hint to use a different browser or use Google's excanvas which generates vml (vector markup language) elements for every draw command, effectively emulating the canvas element. But it 2011-02-28T12:30:21 *** Chris_0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T12:30:36 *** JackyAlcine has quit IRC (Ping timeout: 250 seconds) 2011-02-28T12:33:27 *** JackyAlcine has joined #aichallenge 2011-02-28T12:33:48 bloody ie 2011-02-28T12:34:08 *** chris___0076 has joined #aichallenge 2011-02-28T12:36:46 *** chris__0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T12:40:27 i think my c++ starter bot is pretty much done, MyBot.cc is now 10 lines long 2011-02-28T12:41:28 i wanna see! 2011-02-28T12:41:50 print "go"; 2011-02-28T12:42:01 i started some documentation today, but i'm about to interview so i have to stop for a while 2011-02-28T12:42:13 i also superoptimized a bit 2011-02-28T12:42:29 jmcarthur: just the mybot.cc? i am gitbut incompetent, i'd need to upload a rar file for you otherwise 2011-02-28T12:42:35 well, i don't know about *super*, i guess 2011-02-28T12:42:46 antimatroid: gist.github.com 2011-02-28T12:43:05 my starter bot processes 4000 turns/second 2011-02-28T12:43:19 jmcarthur: perfect, hang on 2011-02-28T12:43:21 when i feed it a file of inputs 2011-02-28T12:45:30 *** JackyAlcine has quit IRC (Quit: I've closed my client.) 2011-02-28T12:46:01 https://gist.github.com/847673 2011-02-28T12:46:40 slightly annoying that it reordered them by name but whatever 2011-02-28T12:47:26 looks good 2011-02-28T12:50:10 jmcarthur: 4000 turns/second? is this a car engineering contest? 2011-02-28T12:51:03 amstan: check my post above about Internet Explorer compatibility 2011-02-28T12:56:20 Frontier: can you post a bug about that? 2011-02-28T12:58:17 *** JackyAlcine has joined #aichallenge 2011-02-28T12:58:19 Ok, one of these 'we still have to... ' bug reports ;) 2011-02-28T12:58:24 yes 2011-02-28T13:03:59 *** Naktibalda has quit IRC (Quit: ChatZilla 0.9.86 [Firefox 3.6.8/20100722155716]) 2011-02-28T13:05:46 *** McLeopold has joined #aichallenge 2011-02-28T13:06:56 *** chris__0076 has joined #aichallenge 2011-02-28T13:08:12 *** kaemo has joined #aichallenge 2011-02-28T13:09:10 *** chris___0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T13:10:12 jmcarthur: the wiki should be up to date for everything bar visualiser input too 2011-02-28T13:12:13 *** McLeopold has quit IRC (Ping timeout: 250 seconds) 2011-02-28T13:13:59 *** McLeopold has joined #aichallenge 2011-02-28T13:14:13 *** nullkuhl_ has quit IRC (Read error: Connection reset by peer) 2011-02-28T13:15:16 McLeopold: I added a note to the overview part about "sharing of code" 2011-02-28T13:15:32 "In order to ensure that people are able to see how well their bot performs relative to the other people who decide to participate in the contest, we encourage people not to share code that specifically implements anything related to the moves a bot would make until final submissions are closed. 2011-02-28T13:15:33 It is still alright, in fact highly encouraged, for people to share strategy ideas and general tools that people can use, both to improve their bot or enable easier development and debugging." 2011-02-28T13:18:13 *** McLeopold has quit IRC (Ping timeout: 250 seconds) 2011-02-28T13:29:01 *** chris___0076 has joined #aichallenge 2011-02-28T13:29:34 *** chris__0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T13:31:34 *** chris__0076 has joined #aichallenge 2011-02-28T13:34:00 *** justin_pdx has joined #aichallenge 2011-02-28T13:34:22 *** chris___0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T13:46:12 *** choas has joined #aichallenge 2011-02-28T13:50:58 *** justin_pdx has quit IRC (Quit: justin_pdx) 2011-02-28T13:52:09 *** chris___0076 has joined #aichallenge 2011-02-28T13:54:46 *** chris__0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T13:56:45 *** justin_pdx has joined #aichallenge 2011-02-28T13:56:53 *** kaemo has quit IRC (Ping timeout: 272 seconds) 2011-02-28T13:57:33 *** justin_pdx has quit IRC (Client Quit) 2011-02-28T14:05:00 *** chris__0076 has joined #aichallenge 2011-02-28T14:06:32 *** chris___0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T14:07:14 *** chris___0076 has joined #aichallenge 2011-02-28T14:10:17 *** chris__0076 has quit IRC (Ping timeout: 276 seconds) 2011-02-28T14:14:27 *** delt0r___ has joined #aichallenge 2011-02-28T14:15:23 *** delt0r_ has quit IRC (Read error: Operation timed out) 2011-02-28T14:20:08 *** chris___0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T14:28:31 *** McLeopold has joined #aichallenge 2011-02-28T14:41:59 janzert: you around? 2011-02-28T14:43:38 sort of, minimally 2011-02-28T14:44:38 can you tell what the games_archive table was used for? 2011-02-28T14:45:11 also, can you tell me why you had a map name and a path? I would have thought just a path would be fine 2011-02-28T14:46:13 no idea on the map name/path, that was there before I started and I agree with you 2011-02-28T14:46:46 okay, also, the rankings and rankings archive? was the archive just the last set only? 2011-02-28T14:47:35 the *_archive tables were because they tables got so large and unwieldy (in particular for the pairing algorithm with games_archive) that operations needed got too slow so old things that no longer needed to be considered for current operation was moved out to the archive 2011-02-28T14:48:36 you'll notice things like the game viewer page check first the games table then the games_archive table if it isn't found in the first one 2011-02-28T14:48:39 okay, so the union of the tables should produce the full set 2011-02-28T14:48:44 yep 2011-02-28T14:48:50 no dups? 2011-02-28T14:49:10 okay, last question 2011-02-28T14:49:14 there would be dups temporarily while moving but not ongoing 2011-02-28T14:49:15 jail_users? 2011-02-28T14:49:57 yes? 2011-02-28T14:50:16 uh, what is it? 2011-02-28T14:50:22 look at the create_jail_users script might clarify that? 2011-02-28T14:50:32 oh, leaderboard id must have been increasing, like a history? 2011-02-28T14:50:47 it is the unix users that are used to run bots under 2011-02-28T14:51:24 you needed more than one? 2011-02-28T14:51:25 the leaderboard_id in rankings? 2011-02-28T14:51:28 yea 2011-02-28T14:51:56 yes, it's actually a foreign key reference to the leaderboard_id in leaderboards 2011-02-28T14:52:07 although mysql doesn't do foreign keys 2011-02-28T14:52:27 I'm pretty sure it does... 2011-02-28T14:52:33 doesn't matter 2011-02-28T14:52:35 ahh, ok 2011-02-28T14:52:53 I didn't actually set it up and have little mysql experience overall 2011-02-28T14:53:06 so, a single database to support both bayeselo and trueskill will be tricky 2011-02-28T14:53:40 ahh, looks like innodb engine supports foreign keys. although only myisam was in use last contest 2011-02-28T14:53:53 I wouldn't worry about supporting both at the same time 2011-02-28T14:54:08 just rip out the bayeselo stuff and support trueskill for ants 2011-02-28T14:54:27 ok 2011-02-28T15:22:47 *** kaemo has joined #aichallenge 2011-02-28T15:25:17 *** Accoun has quit IRC () 2011-02-28T15:26:26 Frontier: :P 2011-02-28T15:29:09 *** flag has joined #aichallenge 2011-02-28T15:30:36 what? 2011-02-28T15:31:56 "car engineering contest" 2011-02-28T15:32:40 Oh hi McLeopold, it's good to see you. How are you? 2011-02-28T15:35:04 McLeopold: If you have new replays for me that would be great. I would like to see if I have any major bugs in the parser. 2011-02-28T15:36:03 *** McLeopold has quit IRC (Ping timeout: 240 seconds) 2011-02-28T15:41:48 *** Accoun has joined #aichallenge 2011-02-28T15:47:56 :( 2011-02-28T16:00:13 *** sigh has joined #aichallenge 2011-02-28T16:04:00 *** kaemo has quit IRC (Ping timeout: 240 seconds) 2011-02-28T16:11:27 *** sigh has quit IRC (Remote host closed the connection) 2011-02-28T16:12:00 *** mega1 has left #aichallenge ("ERC Version 5.3 (IRC client for Emacs)") 2011-02-28T16:16:06 *** kaemo has joined #aichallenge 2011-02-28T16:27:54 *** Palmik has quit IRC (Remote host closed the connection) 2011-02-28T16:53:44 aichallenge: Marco Leise epsilon * r8ff74fb / (5 files in 4 dirs): (log message trimmed) 2011-02-28T16:53:45 aichallenge: - added borders 2011-02-28T16:53:45 aichallenge: - ants no longer 'float' across the map when they pass the maps boundaries 2011-02-28T16:53:45 aichallenge: - temporarily disabled validity checks in parser until conforming replay files are available 2011-02-28T16:53:45 aichallenge: - fix for localStorage check in IE 8 2011-02-28T16:53:45 aichallenge: - excanvas replaces HTMLCanvas when using IE < 9 (no text drawing support!) 2011-02-28T16:53:46 aichallenge: - fixed a bug where a dead ant would fade in again 2011-02-28T16:58:37 *** McLeopold has joined #aichallenge 2011-02-28T17:00:51 Frontier: sry, no new replay yet 2011-02-28T17:14:06 Is that a bot? the CIA-1. 2011-02-28T17:14:22 Yup, it is. =X 2011-02-28T17:14:49 *** Mathnerd314 has joined #aichallenge 2011-02-28T17:18:42 *** sigh has joined #aichallenge 2011-02-28T17:46:28 What up everyone? 2011-02-28T17:47:03 I have just been chatting with dmj by email. He's got some delicious TrueSkill code for us. https://github.com/dmj111/trueskill 2011-02-28T17:47:11 awesome 2011-02-28T17:47:13 It's got examples and everything. It seems simple enough. 2011-02-28T17:47:34 j3camero: decent 2011-02-28T17:48:26 i've been enhancing my starter library and adding documentation today, when i'm not interviewing with companies 2011-02-28T17:48:54 *** Migi32 has joined #aichallenge 2011-02-28T17:49:25 j3camero: though.. the only thing that i see he did is removed scipy 2011-02-28T17:49:34 was was wrong with scipy? 2011-02-28T17:49:40 I think he clones it from somewhere else. 2011-02-28T17:49:43 cloned* 2011-02-28T17:50:18 amstan: I think it was just an extra dependency that was easily eliminated 2011-02-28T17:56:58 aichallenge: Alexandru Stan zeta * r5067b97 / (website/contest/models.py website/settings.py.sample): added user profile model - http://bit.ly/eCvDgr 2011-02-28T17:57:00 aichallenge: Alexandru Stan zeta * r16d79fb / (7 files in 2 dirs): Merge branch 'zeta' of github.com:aichallenge/aichallenge into zeta - http://bit.ly/fGJb2r 2011-02-28T17:57:44 j3camero: do we need all these folders in the epsilon repo? 2011-02-28T17:58:31 j3camero: i was planning to move everything from /ants/ to / 2011-02-28T17:59:44 We probably want to keep the other contests. Some of the directories aren't used any more, like third_party, cpp_util. Makefile is also not used. 2011-02-28T18:00:01 j3camero: they'll still be in the repository, just not in the way 2011-02-28T18:00:14 you can always go back to a previous version 2011-02-28T18:01:03 and this is not other contests, i'm talking about go, tic_tac_toe, experimental 2011-02-28T18:01:05 Why not just leave them? Just because we are currently focusing on a certain subdirectory in the course tree doesn't mean that we should delete everything outside that section of the source tree. 2011-02-28T18:01:16 *** choas has quit IRC (Quit: zzzzzzzzzzzzzzmmmmmmmmmmmmmmm) 2011-02-28T18:02:20 Yeah, tic_tac_toe is not a real contest, sandbox is deprecated, third_party is not used anymore, go never panned out and can probably go, cpp_util is not used anymore. 2011-02-28T18:02:35 planet_wars, ants, and experimental should probably stay though. 2011-02-28T18:03:07 experimental is a neat place to put proof of concept sort of things, when we're not actually developing something that is a production feature. 2011-02-28T18:03:18 that should be in branches 2011-02-28T18:03:31 that way it's easier to merge in places 2011-02-28T18:03:51 I think that what I'm talking about is conceptually different from a branch. 2011-02-28T18:04:12 Unless branches are really different in git. 2011-02-28T18:04:36 I'm talking about a proof of concept sort of thing, which is not meant to be merged back into the main branch. 2011-02-28T18:04:59 well.. why should that stay in the main branch then? 2011-02-28T18:05:25 Because it's part of the codebase. 2011-02-28T18:06:07 branches are part of the codebase too. right now, the only thing in experimental is some test with cpu time in python 2011-02-28T18:06:22 and i think jbroman has implemented that much nicer in zeta 2011-02-28T18:06:38 I agree with amstan most everything except the current contest should be cleared out 2011-02-28T18:07:05 but right now I believe there is still a lot of stuff that needs to be brought over from planetwars before removing it 2011-02-28T18:07:35 right now i have difficulties deciphering what we're actually using from the old contest, what's useful and what was just forgotten there. 2011-02-28T18:09:58 I guess this is a different model for organizing a repo than I am used to. I don't view the ants contest as a continuation of the planet_wars contest. I think it's a new piece of software. In any case, I guess it's okay to blow it away since we can always resurrect it later. 2011-02-28T18:10:37 j3camero: it's not blown away, it'll forever be found at: https://github.com/aichallenge/aichallenge/tree/pw 2011-02-28T18:12:09 Yeah I know it's still accessible. It's just not "there" when you check out the code. 2011-02-28T18:12:37 git is fancy and hides branches 2011-02-28T18:12:44 git checkout pw 2011-02-28T18:13:28 Yes I realize it's still accessible. It's just not part of "the main thing that gets checked out when you do a clone" 2011-02-28T18:13:44 * Zannick shrugs 2011-02-28T18:13:58 semantics at this point 2011-02-28T18:15:03 I just see it as being messier. For example, support we wanted to use a CI system. When someone changes the planet_wars code, it would not get unit tested. I guess I just object to the use of branches that contain code that is never intended to be merged into the main currently active codebase. To me, that's just another project. 2011-02-28T18:15:08 Yeah it's not a big deal. 2011-02-28T18:15:52 I'm just looking at the endpoint of where this leads, and I see dozens of branches each of which contain a different project. In that case, we should just have different projects. 2011-02-28T18:15:59 i saw it as we have two separate but similar implementations of the contest going on 2011-02-28T18:16:19 where one will be the future one, and the other will be used for this one and then be done 2011-02-28T18:16:31 *** amstan_ has joined #aichallenge 2011-02-28T18:16:31 *** ChanServ sets mode: +o amstan_ 2011-02-28T18:17:19 admittedly zeta really should probably be it's own repository 2011-02-28T18:17:25 *its 2011-02-28T18:17:54 *** CIA-89 has joined #aichallenge 2011-02-28T18:17:57 epsilon just has a lot of cruft that should be cleaned up 2011-02-28T18:17:58 Definitely. But meh, we can deal. 2011-02-28T18:18:27 *** javagamer_ has joined #aichallenge 2011-02-28T18:18:41 j3camero: personally i'm a little stressed out by the cruft 2011-02-28T18:20:07 Wht I really want is to just have the development setup that we had at Google. I so miss it. 2011-02-28T18:20:14 Everything else does not make sense after being there. 2011-02-28T18:20:39 hahaha 2011-02-28T18:20:42 j3camero: What about it did you like? 2011-02-28T18:20:49 i am kind of glad we don't have that setup 2011-02-28T18:20:55 Zannick: lol.. 2011-02-28T18:21:03 mostly because perforce is a little frightening 2011-02-28T18:21:12 Oh no, I don't care for Perforce. 2011-02-28T18:21:16 Google uses Perforce? 2011-02-28T18:21:24 jbroman: apparently 2011-02-28T18:21:25 Oh yeah baby. 2011-02-28T18:21:56 The neatest thing is that there is just one big codebase for the whole company. 2011-02-28T18:22:15 i mean, nearly everything i've ever worked on that wasn't mine to start had something or other i didn't like about it 2011-02-28T18:22:21 jbroman: your call, do we have anything useful in here: https://github.com/aichallenge/aichallenge/tree/pw/experimental/python_subprocess_cpu_time 2011-02-28T18:22:36 When you want to work on something, you check out the entire source tree. Of course, there is magic going on behind the scenes such that it does a "lazy checkout" of just the stuff you want. 2011-02-28T18:23:16 It's awesome. 2011-02-28T18:23:27 amstan_: Looks like we're OK to delete that. It's good to preserve stuff in the revision history, but I don't see us needing it. 2011-02-28T18:23:36 i do like the code review enforcement 2011-02-28T18:24:12 *** amstan has quit IRC (*.net *.split) 2011-02-28T18:24:12 *** Frontier has quit IRC (*.net *.split) 2011-02-28T18:24:13 *** javagamer has quit IRC (*.net *.split) 2011-02-28T18:24:15 *** CIA-1 has quit IRC (*.net *.split) 2011-02-28T18:24:24 amstan: yeah blow away the experimental directory as well. We can achieve the purpose of that directory by getting people to make their own new project on Github. 2011-02-28T18:25:03 j3camero: once people make their own project we can either merge their stuff in, or do the git submodule stuff 2011-02-28T18:25:15 j3camero: Does everyone at Google have access to the entire codebase, or is that per-directory access control within the repository? 2011-02-28T18:25:24 *** amstan_ is now known as amstan 2011-02-28T18:25:28 Zannick: yeah the mandatory pre-commit reviews are so awesome. It seems like a pain at first but it just ends up producing such great software. All the code is perfect, and it all looks like you wrote it yourself. 2011-02-28T18:25:46 i will disagree with "perfect" but yes 2011-02-28T18:25:48 :P 2011-02-28T18:25:51 aichallenge: Alexandru Stan epsilon * reb4c35c / (103 files in 10 dirs): removed old stuff - http://bit.ly/hah09f 2011-02-28T18:25:57 jbroman: everyone can see everything. There are a very few exceptions. 2011-02-28T18:26:29 j3camero: Interesting. That strikes me as very risky. 2011-02-28T18:26:59 readable, not writeable. anyone can commit anywhere, but needs special permission to do so 2011-02-28T18:27:02 jbroman: me too. Yet there have never been any bad leaks. I guess it turns out that most people are trustworthy. 2011-02-28T18:27:27 j3camero: Sure, but could you imagine this headline: "GOOGLE CODEBASE LEAKED" 2011-02-28T18:27:40 Yeah it's true. Could happen. 2011-02-28T18:27:47 (In related news, Bing releases a new version.) 2011-02-28T18:27:55 I guess there are a few practical matters that stop that from happening. 2011-02-28T18:28:29 freaking apache... Symbolic link not allowed or link target not accessible 2011-02-28T18:28:39 Like, if you tried to check out the entire source tree it would take forever. I don't know, but it might even stop you from doing that for security reasons. I can't imagine any reason why you would need to check out the whole tree. 2011-02-28T18:28:46 http://en.wikipedia.org/wiki/Perforce 2011-02-28T18:29:26 hey all, so, I've been doing some sql work to support multi-player 2011-02-28T18:29:39 McLeopold: decent 2011-02-28T18:29:45 maybe... 2011-02-28T18:30:22 j3camero, janzert: any of you know if the website likes being ran from a folder? as in.. not directly in the domain(http://something/HERE) 2011-02-28T18:30:49 anyway, i like the git structure we have, despite the branch/project differences 2011-02-28T18:31:15 amstan: no idea 2011-02-28T18:31:21 *** Frontier has joined #aichallenge 2011-02-28T18:31:37 Zannick: what branch/project differences? 2011-02-28T18:31:44 amstan: should work fine. 2011-02-28T18:31:50 amstan: i mean, the question whether zeta should be a branch or a separate project 2011-02-28T18:31:58 amstan: I was developing in my CSC webdir last contest. That seemed to work okay. 2011-02-28T18:32:11 Zannick: it's easy to split anyway 2011-02-28T18:32:26 yeah, i'm just saying, i like it regardless 2011-02-28T18:32:39 Yeah I don't care so much that we have two different projects as branches. It's a little awkward but poses no problem i practice right now. 2011-02-28T18:32:55 j3camero: as far as experimental goes, doing a fork/clone of the project is probably the best use of git 2011-02-28T18:33:40 why does apache refuse to cooperate? gar 2011-02-28T18:36:14 McLeopold: the experimental subdirectory was meant as a place to put proof of concepts and other experiments that are never meant to be merged into the rest of the codebase. It was not for developing experimental features for example. So the equivalent of that on GitHub would be another GitHub repo that is separate. 2011-02-28T18:36:18 amstan, not sure what you're trying to accomplish, but apache disallows following symlinks by default for security reasons. There is a configuration knob to twiddle that allows it to use them but I don't remember what it is. 2011-02-28T18:36:26 yeah 2011-02-28T18:36:35 janzert: http://pastebin.com/rJQyNDcM 2011-02-28T18:36:55 symlinksifownermatch 2011-02-28T18:36:59 and i'm pretty sure they do 2011-02-28T18:37:03 j3camero: then we agree :) 2011-02-28T18:37:12 amstan: yes I recently solved this problem myself. There are some webapps that like to be installed outside the web root that you have to use symlinks for. 2011-02-28T18:37:27 oh wait! right.. it's not inside the webroot 2011-02-28T18:37:47 Yeah there is an apache config something or other that you have to do. 2011-02-28T18:37:58 Just google the error message and it's like the first result. 2011-02-28T18:38:04 ok.. fuck this, i'll just mount it directly in www 2011-02-28T18:38:13 Aw yeah 2011-02-28T18:38:54 jbroman: what's going on with zeta? Do you think we might be able to use zeta for the upcoming contest? 2011-02-28T18:41:27 *** flag has quit IRC (Quit: leaving) 2011-02-28T18:42:28 ok.. this is a pain, apache really doesn't like showing stuff mounted using sshfs 2011-02-28T18:44:00 janzert: do we have a copy of the skeleton database anywhere? 2011-02-28T18:44:07 or should i make a new one? 2011-02-28T18:44:18 *** flag has joined #aichallenge 2011-02-28T18:45:04 i should get back up to speed on zeta 2011-02-28T18:45:22 j3camero: i agree with you. if it's not meant to be merged in, it's another project. therefore, i say that instead of being in the same branch or even in a different branch, it should be in an entirely different repository 2011-02-28T18:45:56 j3camero: unless there's been major progress on the website or manager since i last checked, probably not 2011-02-28T18:46:33 amstan: I don't know of any up to date skeleton 2011-02-28T18:46:33 not saying it isn't possible to use, but we'd want to dedicate ourselves to using it 2011-02-28T18:47:16 wait.. for upcoming? as in.. ants 2011-02-28T18:47:35 it would be nice.. but we're really late launching ants 2011-02-28T18:47:40 so idk if it's a good idea to rush 2011-02-28T18:48:10 we should definitely not rush zeta 2011-02-28T18:48:13 yeah, we should really get ants running with epsilon rather than worry about zeta 2011-02-28T18:48:35 if this was january, and we were to set out mind to it, then probably yes 2011-02-28T18:48:38 but i think it's too late 2011-02-28T18:49:21 amstan: http://pastebin.com/MsiRNxKE 2011-02-28T18:50:32 McLeopold: i think there should be content for a few of the tables 2011-02-28T18:50:43 like countries, errors, organizations 2011-02-28T18:50:46 so, I changed the names of all tables to non-plural, cause that just what I do... 2011-02-28T18:50:54 oh, that's just the structure 2011-02-28T18:51:03 we can worry about data later 2011-02-28T18:51:28 for now i wanna bring the site up on my server 2011-02-28T18:51:47 That's what I'm trying to do right now too. 2011-02-28T18:52:25 so far i have http://home.hypertriangle.com/~alex/aichallenge/planet_wars/www/ 2011-02-28T18:53:23 lol owned 2011-02-28T18:53:41 you need the server_info.php 2011-02-28T18:54:14 *** flag is now known as flag_ 2011-02-28T18:54:18 oh, mysql permissions... 2011-02-28T18:54:32 i also need the actual mysql db 2011-02-28T18:54:35 *** flag_ is now known as _flag 2011-02-28T18:54:57 I just ran the *.sql files to make it 2011-02-28T18:55:08 what .sql files? 2011-02-28T18:55:16 in backend 2011-02-28T18:55:40 there are 4 of theme 2011-02-28T18:55:49 *** Chris_0076 has joined #aichallenge 2011-02-28T18:55:51 plus you need to insert your own organizations 2011-02-28T18:56:05 http://dl.dropbox.com/u/9140666/server_setup.txt 2011-02-28T18:56:38 *** amriedle has joined #aichallenge 2011-02-28T19:00:32 McLeopold: getting an org dump 2011-02-28T19:01:05 McLeopold: http://home.hypertriangle.com/~alex/aichallenge/sql/organizations.sql 2011-02-28T19:01:58 *** Chris_0076 has quit IRC (Ping timeout: 250 seconds) 2011-02-28T19:04:28 well.. it seems to work: http://home.hypertriangle.com/~alex/aichallenge/planet_wars/www/index.php 2011-02-28T19:04:46 with no database actually installed yet 2011-02-28T19:05:32 I also had to pull the register and process_registration from the google svn repo 2011-02-28T19:05:51 McLeopold: why? 2011-02-28T19:10:46 McLeopold: so, what's in ants? ants game logic+everything that's ants only? 2011-02-28T19:12:56 because it was a file stating registrations are closed 2011-02-28T19:13:10 in the ants dir is only command line engine stuff 2011-02-28T19:17:35 aichallenge: Alexandru Stan epsilon * rfe069d5 / (700 files in 16 dirs): getting the website up - http://bit.ly/hQ40Kw 2011-02-28T19:17:48 don't we copy over everything from planet_wars to ants? 2011-02-28T19:19:08 ah ok, I see what you are going for 2011-02-28T19:19:37 then I should merge the ants/www folder into the root www folder 2011-02-28T19:20:42 Frontier: in a sec i'll push a readme 2011-02-28T19:22:07 aichallenge: Alexandru Stan epsilon * r5eb4edc / (README.md ants/README.md): added readme about folder structure - http://bit.ly/hoYFqv 2011-02-28T19:22:30 i forgot sql/ darn 2011-02-28T19:24:06 aichallenge: Alexandru Stan epsilon * r8c54959 / README.md : added sql/ in the readme - http://bit.ly/hC6YJZ 2011-02-28T19:24:16 amstan: ok, so what is the html canvas visualizer? Is it a website (www) or a visualizer? 2011-02-28T19:24:32 Frontier: what path? 2011-02-28T19:24:48 it is currently in ants/www/visualizer.php 2011-02-28T19:25:33 Frontier: right... i was thinking: ln -s ants/www/* www/ 2011-02-28T19:26:12 on the web server's file system? 2011-02-28T19:26:21 Frontier: no.. in the repo 2011-02-28T19:26:56 amstan: I hope we go with SQLAlchemy in zeta 2011-02-28T19:27:11 McLeopold: for what? 2011-02-28T19:27:24 McLeopold: i was hoping to use the django models directly, even in the backend 2011-02-28T19:27:48 amstan: Is there a special git command for linking stuff in or should I create a symlink on my disk and check that in? 2011-02-28T19:28:05 Frontier: you just create a symlink, then git add it 2011-02-28T19:28:11 Frontier: in a sec i can push that as well\ 2011-02-28T19:28:21 aichallenge: Alexandru Stan epsilon * r3c4c2f4 / (4 files in 2 dirs): linked the ants visualizer - http://bit.ly/f0PGLm 2011-02-28T19:28:23 like that^ 2011-02-28T19:28:54 or not.. 2011-02-28T19:28:56 ugh 2011-02-28T19:30:15 aichallenge: Alexandru Stan epsilon * r5d19c2b / (4 files): fixed the ln problem, really linked the visualizer - http://bit.ly/i9K4R2 2011-02-28T19:30:16 like that^ 2011-02-28T19:31:00 ok, it works, but the symlink should probably refer to ../ants instead of ants. ;) 2011-02-28T19:31:12 Frontier: i fixed it now 2011-02-28T19:31:53 on second thought, i don't think it'll play well with the apache configs 2011-02-28T19:32:03 oh well, we can fix it when the time comes 2011-02-28T19:34:02 now i've had to pull submit.php from the svn... 2011-02-28T19:34:25 McLeopold: why are you pulling from the svn? 2011-02-28T19:34:31 git has the whole history 2011-02-28T19:34:36 including the sn 2011-02-28T19:34:38 svn* 2011-02-28T19:35:07 okay, but, let's use some variables this time around ;) 2011-02-28T19:35:26 anyone want to write a nice blog entry about ants? 2011-02-28T19:35:42 something ala last 2 paragraphs in here: http://home.hypertriangle.com/~alex/aichallenge/www/ 2011-02-28T19:38:58 "Nothing to see here. Stop watching the changelog you creeps." ~ j3camero 2011-02-28T19:39:12 oh man 2011-02-28T19:40:31 Haha I love my commit messages. 2011-02-28T19:40:44 j3camero: wanna write up something about ants for the main page? 2011-02-28T19:40:46 I think remember that. That was when I was putting up the final rankings for Tron or something? 2011-02-28T19:41:24 j3camero: wanna write up something about ants for the main page? 2011-02-28T19:42:26 amstan: this behavior is famair 2011-02-28T19:42:28 amstan: this behavior is famaliar 2011-02-28T19:42:30 amstan: this behavior is familiar 2011-02-28T19:44:16 amstan: I think we should wait until we somewhat know when we're going to launch before we go publicly announcing stuff. 2011-02-28T19:44:47 j3camero: we didn't have this for galcon, but we still had the bio about it 2011-02-28T19:46:10 amstan: was there cron jobs running on the main server? 2011-02-28T19:46:11 *** Migi32 has quit IRC (Remote host closed the connection) 2011-02-28T19:46:23 McLeopold: idk, ask janzert/j3camero 2011-02-28T19:50:02 j3camero: can you tell me the what the cron jobs on the main server are? 2011-02-28T19:50:43 Yeah. 2011-02-28T19:50:54 There is one that updates the rankings, like once every two minutes or so. 2011-02-28T19:51:29 Another one that invokes a new tournament manager every 5 minutes. After we started playing games off the main server this one probably went away. 2011-02-28T19:51:47 And another that invokes the compile script every 10 seconds. 2011-02-28T19:51:53 wait, what? why wasn't the tournament manager just persistent? 2011-02-28T19:52:11 or was this a failsafe? 2011-02-28T19:52:55 aichallenge: Alexandru Stan epsilon * ra2e6fc5 / (www/footer.php www/index.php www/rankings.php): removed some outdated pw stuff - http://bit.ly/hz5PFU 2011-02-28T19:52:57 oh i'm guessing it just did a batch 2011-02-28T19:53:02 and then quit? 2011-02-28T19:53:06 j3camero: so, specific commands would be helpful, since I'm building a server 2011-02-28T19:54:01 McLeopold: everything is different now. If you're doing a planetwars server, I can help you hang on. 2011-02-28T19:54:11 So the compile script was compile_for_a_bit.sh or something. 2011-02-28T19:54:35 McLeopold: http://pastebin.com/ZaDbqfNj 2011-02-28T19:54:52 Oh brilliant. 2011-02-28T19:54:56 There it is. 2011-02-28T19:55:36 McLeopold: contest@server:~$ crontab -l 2011-02-28T19:55:41 there might be others, idk 2011-02-28T19:56:00 The thing to remember now though is that the game servers initiate the playing of games. 2011-02-28T19:56:21 right.. lol, so nothing there is valid then 2011-02-28T19:57:43 so...what should I do then? 2011-02-28T19:57:56 McLeopold: what are you trying to do? run the whole thing? 2011-02-28T19:57:59 I need an environment so I can write the engine integration code 2011-02-28T19:58:05 all the games are played on workers now 2011-02-28T19:58:19 so, I need 2 servers then 2011-02-28T19:58:35 well, i'm sure you can run both on the same host 2011-02-28T19:58:43 are we all talking about epsilon and not zeta? 2011-02-28T19:58:47 yes 2011-02-28T19:58:48 yes 2011-02-28T19:58:50 ok good 2011-02-28T19:59:11 janzert: do you have the crontab of the workers? 2011-02-28T19:59:34 hmm, not off hand. it is all set up by the one script though 2011-02-28T19:59:35 the main server still needs crontab stuff, for rankings and matchmaking, doesn't it? 2011-02-28T19:59:41 yes 2011-02-28T19:59:48 and compiling currently 2011-02-28T20:00:08 although that shouldn't be to hard to make a worker job as well 2011-02-28T20:00:19 j3camero: when can we get your server updated to latest ubuntu? 2011-02-28T20:00:34 if I remember correctly the only cron jobs for workers is to start the games running on a reboot 2011-02-28T20:01:04 and there is a script that just restarts the tournament manager there every 5-10 minutes or so 2011-02-28T20:01:33 McLeopold: should be all in /planet_wars/worker 2011-02-28T20:01:52 McLeopold: /planet_wars/worker/*.sh 2011-02-28T20:02:34 yes, start_worker.sh is run after a worker reboot and starts up the tournament_manager_runner.sh after clearing all jail_users from being in use 2011-02-28T20:03:29 amstan: let's just use EC2 for everything when we launch the next contest. 2011-02-28T20:04:05 j3camero: ok, but i still want latest ubuntu 2011-02-28T20:04:53 Yeah that is the idea. 2011-02-28T20:05:43 I love the latest Ubuntu. 2011-02-28T20:10:10 So, I'm not focusing on the workers right now, I working on a main server. 2011-02-28T20:11:15 McLeopold: not sure exactly what you're doing but the engine shouldn't integrate with anything on the main server directly 2011-02-28T20:12:09 of course the main server needs the matchmaking code, maybe that's what you're working on 2011-02-28T20:12:23 and ranking code and... :) 2011-02-28T20:12:30 McLeopold: note planet_wars/worker and planet_wars/backend 2011-02-28T20:13:07 McLeopold: they forked from the same code, eventually splitting, but there's redundant files in both of them 2011-02-28T20:13:33 the backend should only do main server stuff, and the worker should only be doing worker stuff 2011-02-28T20:13:47 the old engine/tournament_manager and other game playing stuff in planet_wars/backend should really just be dropped since it isn't used and bit rotted for the final month of the contest 2011-02-28T20:15:57 okay, so, if I'm going to create new tables for ranking, I'm going to need a main server and worker 2011-02-28T20:16:15 Instead of me wasting time, should I just wait for a cleaned up repo? 2011-02-28T20:16:40 McLeopold: i cleaned it to most of my knowlege 2011-02-28T20:16:52 McLeopold: anything left: i'm not sure what to dow with 2011-02-28T20:17:36 actually.. there's more i could do 2011-02-28T20:17:37 hmm 2011-02-28T20:17:57 if janzert says planet_wars/backend ought to be dropped, then it isn't clean 2011-02-28T20:18:13 McLeopold: it shouldn't be dropped 2011-02-28T20:18:15 pretty sure all the vm* files in backend and worker are really ancient and not used 2011-02-28T20:18:28 McLeopold: just certain files should be dropped 2011-02-28T20:18:39 janzert: can you drop them then? 2011-02-28T20:18:52 it's just that.. backend used to contain both the engine and the rankings logic, then it spit, now backend should not contain any more engine logic, and worker should not contain rankings logic 2011-02-28T20:18:58 I don't have anything setup with git 2011-02-28T20:19:16 i can drop things 2011-02-28T20:19:20 if i know what.. 2011-02-28T20:19:53 yep looks like vm* should definitely go 2011-02-28T20:20:10 janzert: if you have the time, it would be appreciated. it should be a clone, rm, commit, push 2011-02-28T20:20:28 janzert: your glob matches backend/vmkey.pub, you sure? 2011-02-28T20:20:31 tournament_manager* in backend should go 2011-02-28T20:20:35 amstan yep 2011-02-28T20:21:03 those keys are only used for the old VM sandbox 2011-02-28T20:21:07 ok.. 2011-02-28T20:21:25 actually the latest sandbox doesn't use ssh at all 2011-02-28T20:21:48 aichallenge: Alexandru Stan epsilon * rd724877 / (477 files in 16 dirs): removed a lot of stuff - http://bit.ly/e2QKYW 2011-02-28T20:22:33 amstan: while your at it, can you restore check_submit.php, process_registration.php, register.php and submit.php in the repo to pre finals status. 2011-02-28T20:22:52 A new server_info key entry of 'allow_submission' would also be nice. 2011-02-28T20:23:05 McLeopold: +1, lol 2011-02-28T20:23:56 in backend, engine.py and forkbomb.py can go and I think the jail user stuff as well but I'm not completely positive 2011-02-28T20:24:46 good thing forkbomb.py didn't have +x 2011-02-28T20:24:53 or else it would have killed my comp 2011-02-28T20:24:53 that would be create_jail_users.py, delete_jail_users.py, jail_id* and release_all_jail_users.py 2011-02-28T20:25:15 heh. yeah, no idea why that was sitting in there 2011-02-28T20:25:24 Testing the sandbox. 2011-02-28T20:26:02 aichallenge: Alexandru Stan epsilon * r50ac66a / (14 files in 5 dirs): cleaned some more - http://bit.ly/gPy78U 2011-02-28T20:26:02 sure, but having it sitting around in the backend directory seems a little, hmm, risky maybe 2011-02-28T20:26:15 janzert: moved it in integration_testing 2011-02-28T20:26:33 oh, oops. missed user_sadbox.py in backend as well 2011-02-28T20:26:56 janzert: semaphore cleanup? 2011-02-28T20:27:00 I think that's it for the backend directory 2011-02-28T20:27:07 it is? 2011-02-28T20:27:16 no it's needed as long compilation still happens on the main server 2011-02-28T20:27:22 oh, ok 2011-02-28T20:27:32 the mono compiler leaked semaphores as well as the runtime 2011-02-28T20:27:47 I think we could get away with not doing compilation on the main server amstan 2011-02-28T20:27:48 another reason compilation should be moved to workers 2011-02-28T20:28:11 When a bot tries to play its first game, but fails to compile, it will be suspended. 2011-02-28T20:28:15 j3camero: for sure, but might as well leave the code there until someone can change it 2011-02-28T20:28:41 yes, I need a working server/worker combo right now 2011-02-28T20:29:01 janzert: so.. assuming backend is clean.. and there's no common files that both the worker and backend need, can i delete everything from worker that's also in backend? 2011-02-28T20:29:43 could we update mono to a version that doesn't leak semaphores? 2011-02-28T20:29:48 if it's been fixed... 2011-02-28T20:29:58 Zannick: yeah.. probably 2011-02-28T20:30:00 in the worker directory, compile*, forkbomb.py, generate_many_maps.sh, map_generator.py, process_ratings.py, readgames.py, test_compiler.py and update_rankings.py should be able to go 2011-02-28T20:30:17 darn.. don't use commas, that was i can copy and paste 2011-02-28T20:30:24 Zannick: yeah, as long as we use a newer version of ubuntu we should be fine 2011-02-28T20:30:39 oops ;) 2011-02-28T20:31:15 aichallenge: Alexandru Stan epsilon * r09cde1c / (12 files in 3 dirs): removed even more stuff - http://bit.ly/fbF4wz 2011-02-28T20:31:54 well, i should hope we figure out how to install newer versions that aren't in aptitude 2011-02-28T20:31:57 :P 2011-02-28T20:32:25 aichallenge: Alexandru Stan epsilon * r7ac18bd / planet_wars/worker/schema.sql : removed old schema file - http://bit.ly/gCmWRN 2011-02-28T20:32:41 supermeatboy is good coding music 2011-02-28T20:32:43 amstan: you need that schema.sql for the worker setup script 2011-02-28T20:32:49 ok.. 2011-02-28T20:32:53 time to learn git revert 2011-02-28T20:33:08 although I'm pretty sure the only table used on the worker is the jail_user table 2011-02-28T20:33:08 no 2011-02-28T20:33:09 :) 2011-02-28T20:33:18 amstan: don't use git revert. it's not the same as svn revert 2011-02-28T20:33:19 so it could be trimmed down considerably 2011-02-28T20:33:26 amstan: you want to read up on git reset 2011-02-28T20:33:39 jmcarthur: git reset... won't do nice stuff, i already pushed 2011-02-28T20:33:43 oh 2011-02-28T20:33:44 i misunderstood 2011-02-28T20:33:52 git revert actually makes a new commit, that reverses another commit 2011-02-28T20:33:54 right 2011-02-28T20:34:03 i thought you were still local 2011-02-28T20:34:10 dammit amstan, I just pulled the delete! 2011-02-28T20:34:18 McLeopold: pull again 2011-02-28T20:34:19 aichallenge: Alexandru Stan epsilon * ref58c5f / planet_wars/worker/schema.sql : 2011-02-28T20:34:19 aichallenge: Revert "removed old schema file" 2011-02-28T20:34:19 aichallenge: This reverts commit 7ac18bd786b27c49f14cf186e7db1e71b1ea48f9. - http://bit.ly/ifwTHZ 2011-02-28T20:35:05 Okay, so, could we move the 3 directories over to ants? Then I can start modifying the files there? 2011-02-28T20:35:12 copy I mean 2011-02-28T20:35:15 http://3.bp.blogspot.com/-4DuAVj85HFc/TV-_x-a-6hI/AAAAAAAAAfw/0kx2NrpvUYo/s1600/everything_went_better_than_expected.jpg 2011-02-28T20:35:32 j3camero: Extremely belatedly (not sure if anyone replied to you), I doubt zeta will be ready for this contest. The one after, hopefully. 2011-02-28T20:35:57 the 3 being www, backend and worker 2011-02-28T20:36:38 hopefully that should make it quite a bit easier for anyone digging into the code to trace what is actually going on 2011-02-28T20:37:21 amstanalamabama? 2011-02-28T20:37:56 aichallenge: Alexandru Stan epsilon * r3d72f93 / (69 files in 5 dirs): rearranged folders - http://bit.ly/dOKn4T 2011-02-28T20:37:57 McLeopold: how's that? ^ 2011-02-28T20:38:27 jbroman: cool thanks. 2011-02-28T20:38:49 yay, it looks like zeta now :) 2011-02-28T20:39:07 janzert: that was the idea, :D 2011-02-28T20:39:09 looking good... 2011-02-28T20:39:23 did we lose the planet_wars engine now? 2011-02-28T20:39:33 McLeopold: i think it's still in worker/ somewhere 2011-02-28T20:39:42 oh 2011-02-28T20:39:45 hmm... 2011-02-28T20:39:46 yep, engine.py in worker/ 2011-02-28T20:39:46 McLeopold: yep: https://github.com/aichallenge/aichallenge/blob/epsilon/worker/engine.py 2011-02-28T20:40:01 gotta rip that out of there 2011-02-28T20:40:04 McLeopold: you could replace it with some glue code that refers to the ants/ folder 2011-02-28T20:40:17 McLeopold: would be nice to have stuff separated 2011-02-28T20:40:23 error: Your local changes to the following files would be overwritten by merge: 2011-02-28T20:40:23 planet_wars/backend/compile_anything.py 2011-02-28T20:40:23 Please, commit your changes or stash them before you can merge. :( 2011-02-28T20:40:40 Frontier: were you working on that? 2011-02-28T20:40:43 Frontier: did you need your changes? 2011-02-28T20:41:07 It was from before when I had write access. It was the addition of 'D'. 2011-02-28T20:41:08 oh god, so much text 2011-02-28T20:41:19 antimatroid: text? where? 2011-02-28T20:41:23 above me 2011-02-28T20:41:24 reading logs? 2011-02-28T20:41:43 i assume compile_anything is still somewhere 2011-02-28T20:41:45 Frontier: umm.. not sure, i would need to look more into it 2011-02-28T20:41:52 janzert: would it be safe to say that the worker files don't need to be on the main server 2011-02-28T20:41:55 Frontier: i assume it got confused since i moved it around 2011-02-28T20:42:00 so that the server can compile 2011-02-28T20:42:03 McLeopold: yes 2011-02-28T20:42:06 janzert: and that the manager files don't need to be on the workers? 2011-02-28T20:42:10 yes 2011-02-28T20:42:12 From what I understand the code remains inactive as long as there is no entry in the languages table corresponding to it 2011-02-28T20:42:42 Frontier: try this: git fetch; git checkout epsilon; git reset 3d72f9398f2abe844999ccdb76154619626343fb 2011-02-28T20:43:08 Frontier: you'll loose the changes, so feel free to make them again and push 2011-02-28T20:43:09 Oo looks arcane! I'll try moving the file manually first 2011-02-28T20:43:17 Zannick: look in manager/ 2011-02-28T20:43:22 Frontier: just do it my way, it should make sure it's all clean 2011-02-28T20:43:39 janzert: ah, epsilon has manager, now 2011-02-28T20:43:53 Zannick: manager/ is the old backend/ folder 2011-02-28T20:43:59 oic 2011-02-28T20:44:03 renamed it so it's more clear 2011-02-28T20:45:38 well.. i'm bored.. now what? 2011-02-28T20:45:55 amstan: oh that worked well and my changes aren't lost 2011-02-28T20:46:08 Frontier: oh.. git reset --hardf 2011-02-28T20:46:14 Frontier: oh.. git reset --hard 2011-02-28T20:46:20 Oo 2011-02-28T20:46:22 then your changes will be lost 2011-02-28T20:46:27 they should be lost.. 2011-02-28T20:46:45 um 2011-02-28T20:46:58 amstan: allow_submission! 2011-02-28T20:47:07 McLeopold: right.. that... 2011-02-28T20:47:33 but then i need.. 2011-02-28T20:47:34 ugh 2011-02-28T20:48:00 shouldn't be too bad 2011-02-28T20:48:45 so.. i need to get the db setup, properly this time, get a user, but for user i need email, and email doesn't like my server 2011-02-28T20:48:50 so.. i have to disable email somehow 2011-02-28T20:48:56 it's there 2011-02-28T20:48:59 hold on... 2011-02-28T20:49:06 I already made a setting to disable email 2011-02-28T20:49:15 one of the first things I did :P 2011-02-28T20:50:24 it's in process_submission.php 2011-02-28T20:50:25 janzert: oh, decent then 2011-02-28T20:50:29 $send_email = 0; 2011-02-28T20:50:45 so.. can i make a user then? without email confirmation? 2011-02-28T20:50:50 I have. 2011-02-28T20:51:01 Yeah just put the user in the DB manually. 2011-02-28T20:51:04 put you have to restore those 4 files to pre-final status. 2011-02-28T20:51:08 you should just be able to set a magic name for the email server in the server settings if I remember right 2011-02-28T20:51:35 ok.. i will, fine 2011-02-28T20:51:53 but I'm having a hard time finding a real process_registration.php file :/ 2011-02-28T20:52:03 McLeopold: where's that tutorial of yours? 2011-02-28T20:52:16 http://dl.dropbox.com/u/9140666/server_setup.txt 2011-02-28T20:52:21 but that was for workers 2011-02-28T20:52:28 and I blame janzert 2011-02-28T20:52:34 McLeopold: mysql -u planetwars -p'pwpass' planetwars < schema.sql applies to everything 2011-02-28T20:52:46 McLeopold: nvm.. it has www stuff in it too, it's not only workers 2011-02-28T20:53:01 oh yeah... 2011-02-28T20:53:02 someone should work of integrating it in the Readme.md 2011-02-28T20:53:12 * amstan should work on that 2011-02-28T20:53:17 I can start that, I already have. 2011-02-28T20:53:18 actually those server_setup notes are for a main server but from back before I even had any commit access 2011-02-28T20:53:25 so are probably fairly outdated 2011-02-28T20:53:48 notice it mentions applying the no email patch 2011-02-28T20:54:11 that got committed into the actual file once I had write access 2011-02-28T20:55:35 *** Chris_0076 has joined #aichallenge 2011-02-28T20:55:45 janzert: are you going to be around later tonight? I'm going to play with jail users and may need help. 2011-02-28T20:55:47 ahh, finally. set the mailer_address in server_settings.php to donotsend 2011-02-28T20:56:15 janzert: I had donotsend, but it still failed a registration 2011-02-28T20:56:16 McLeopold: probably 2011-02-28T20:57:14 McLeopold: hmm, not sure then since all it does it set $send_email to 0 2011-02-28T20:57:35 see line 70'ish of process_registration.php 2011-02-28T20:58:02 I had an easier time with my game replays. They don't even need a valid user thanks to no constraints on the tables. 2011-02-28T20:58:57 janzert: I see, register with 'donotsend' 2011-02-28T21:00:21 no, it's coming out the server settings isn't it? 2011-02-28T21:00:33 $server_info["mailer_address"] 2011-02-28T21:00:52 yeah, it's in there 2011-02-28T21:02:12 anyway the current repository version won't do anything but tell you registrations are closed :) 2011-02-28T21:02:35 *** amriedle has quit IRC (Ping timeout: 272 seconds) 2011-02-28T21:02:40 amstan will fix that later... 2011-02-28T21:02:50 otherwise I will in 4 hours or so 2011-02-28T21:02:55 i will soon 2011-02-28T21:03:09 I'm out for awhile, cya 2011-02-28T21:03:12 *** McLeopold has quit IRC (Read error: Connection reset by peer) 2011-02-28T21:03:28 awww 2011-02-28T21:03:55 *** amriedle has joined #aichallenge 2011-02-28T21:04:39 *** Chris_0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T21:06:49 *** mceier has quit IRC (Quit: leaving) 2011-02-28T21:07:58 aichallenge: Alexandru Stan epsilon * r58f6d60 / (691 files in 15 dirs): added installation instructions in readme, renamed website folder(now same as zeta), added server_info.py.sample, deleted authors file - http://bit.ly/gtsbQ6 2011-02-28T21:17:56 i love how one directory rename leads to 691 touched files 2011-02-28T21:18:37 jmcarthur: yeah, but git can manage it 2011-02-28T21:19:02 *** Chris_0076 has joined #aichallenge 2011-02-28T21:19:51 seems github is incapable of following the history back past it too 2011-02-28T21:20:10 yeah, that's annoying 2011-02-28T21:20:18 someone should bugreport that 2011-02-28T21:21:21 janzert: another problem: https://github.com/aichallenge/aichallenge/tree/pw/planet_wars/www 2011-02-28T21:21:35 janzert: new commits show as latest change on old tags 2011-02-28T21:21:42 *** JackyAlcine has quit IRC (Quit: I've closed my client.) 2011-02-28T21:22:51 i think i can stop editing my starter bot now, i just added in reading the end of game stuff which is just ignored, but now easy for people to use if they want 2011-02-28T21:23:05 antimatroid: yeah i still haven't done that 2011-02-28T21:23:32 i also want to change how the interface handles endgame. haven't decided exactly what to do with that yet 2011-02-28T21:23:43 * janzert thinks the end game results will just encourage bad bot behavior :/ 2011-02-28T21:23:51 janzert: how so? 2011-02-28T21:23:52 janzert: how so? 2011-02-28T21:23:53 err, still thinks 2011-02-28T21:23:54 bah 2011-02-28T21:23:59 hehe 2011-02-28T21:24:17 people are going to try and update files using that information 2011-02-28T21:24:29 the server will kill the bot when it sees end 2011-02-28T21:24:35 it's really there for tcp and local testing 2011-02-28T21:25:10 i'm actually considering not using dead ant info myself as well, it's messy to get anything from it, and even then you don't get much 2011-02-28T21:25:11 yes, I know but I still don't think we should encourage them to try and then complain when it doesn't work 2011-02-28T21:25:34 let them gather that information locally outside of the bot 2011-02-28T21:25:44 i'm not sure what to do with dead ant info either 2011-02-28T21:25:46 hmm, i don't know about that 2011-02-28T21:26:07 jmcarthur: link up who killed who and try to keep some scores 2011-02-28T21:26:20 yuck 2011-02-28T21:26:35 if you see a dead ant on the edge, try to link it to a live ant outside of view to remove a "possibly live opponent" 2011-02-28T21:26:44 like i said, messy for not much, i am considering just ignoring it 2011-02-28T21:26:51 yeah i guess that could be useful 2011-02-28T21:27:02 *** JackyAlcine has joined #aichallenge 2011-02-28T21:27:27 scores are going to be doubles aren't they? 2011-02-28T21:27:53 oh? i've been parsing them as natural numbers 2011-02-28T21:28:17 well if we want integer points, each ant needs to be valued like lcm(2, 3, ..., 8) or so 2011-02-28T21:28:34 so the proportions for killing an ant can be split among hte "killing" ants as an integer 2011-02-28T21:28:38 i don't even know the scoring system 2011-02-28T21:29:03 if an ant dies, give an equal proportion of its points to any enemy ants in its attack range, then those ants pass their points onto their owner 2011-02-28T21:29:17 ah 2011-02-28T21:29:23 there is a food bonus as the end for any surviving bots, but that's not as important 2011-02-28T21:29:41 i also think that scoring method makes a lot more sense with battle option 1 2011-02-28T21:30:59 i think it's an awesome game with battle option 1 and that scoring method though :(, i just need to convince jeff 2011-02-28T21:31:04 antimatroid: oh btw, your c++ starter pack is smaller than my haskell starter pack + library. thought you might get some enjoyment out of that 2011-02-28T21:31:27 without all your comments? 2011-02-28T21:31:30 yeah 2011-02-28T21:31:33 :p 2011-02-28T21:31:34 h/o lemme sloccount it 2011-02-28T21:31:39 c++ <3 2011-02-28T21:32:04 did you do a horribly long getLocation function? or use an array like mine? 2011-02-28T21:32:28 antimatroid: yours is 311 lines. mine is 464 lines. 2011-02-28T21:32:39 antimatroid: on the other hand, mine is over twice as fast as yours :P 2011-02-28T21:32:54 is that just because of me using iostreams? 2011-02-28T21:33:04 i could change that, but it only needs to run once per turn so meh 2011-02-28T21:33:05 i do think you're spending a lot more time on I/O than i am 2011-02-28T21:33:15 and i'm comparing strings a lot 2011-02-28T21:33:19 but i also use less cpu time than you 2011-02-28T21:33:44 it's like over twice as fast wall clock time and 16% or so faster by cpu time 2011-02-28T21:33:49 i'm going to have a good play with your haskell bot once everything is set up 2011-02-28T21:34:02 brb 2011-02-28T21:51:11 jmcarthur: did you leave everything untouched when you ran it? 2011-02-28T21:51:32 i just remembered the bug file is probably really expensive, it's flushing everything it gets because i can't work out how to pass it endl 2011-02-28T21:51:57 there is a debug variable in Bug.h that can switch that off... :P 2011-02-28T21:57:08 i imagine that debug thing is fairly costly too 2011-02-28T21:57:16 oops, was scrolled up :P 2011-02-28T21:58:47 *** JackyAlcine has quit IRC (Ping timeout: 250 seconds) 2011-02-28T22:00:11 *** chris__0076 has joined #aichallenge 2011-02-28T22:02:26 aichallenge: Alexandru Stan epsilon * re1b7f5c / (5 files): added "submissions_open" => True feature in server_info.php, added the open submissions code back - http://bit.ly/hYMf3O 2011-02-28T22:02:27 woot! ^ 2011-02-28T22:02:54 Submissions are open! Post to Reddit! 2011-02-28T22:03:06 lol 2011-02-28T22:03:07 *** Chris_0076 has quit IRC (Ping timeout: 246 seconds) 2011-02-28T22:03:11 don't reddit my server pls 2011-02-28T22:03:12 *** chris___0076 has joined #aichallenge 2011-02-28T22:03:18 i really doubt it can handle it 2011-02-28T22:04:22 amstan: it seems register.php always has a

at the top with "Account Creation Closed" 2011-02-28T22:04:46 janzert: darn 2011-02-28T22:05:48 *** chris__0076 has quit IRC (Ping timeout: 240 seconds) 2011-02-28T22:06:51 aichallenge: Alexandru Stan epsilon * r0e18d8a / website/register.php : fixed h2 that was supposed to only appear on closed submissions - http://bit.ly/fUQIAQ 2011-02-28T22:07:55 janzert: do you have any idea how one might write a function that can take endl as a parameter? 2011-02-28T22:08:17 my general template function wont take it :\ 2011-02-28T22:08:28 antimatroid: I think there are multiple endls. 2011-02-28T22:08:42 with c++? 2011-02-28T22:09:06 it's some kind of function that also flushes stuff, i just have no idea how they get ostreams to take it now 2011-02-28T22:09:07 *** JackyAlcine has joined #aichallenge 2011-02-28T22:09:19 no, idea. I'm pretty sure it's a template itself 2011-02-28T22:09:23 antimatroid: Trying to find reference, but I heard somewhere that there are multiple implementations of endl, and the correct one is selected. 2011-02-28T22:09:30 http://www.cplusplus.com/reference/iostream/manipulators/endl/ 2011-02-28T22:10:45 I'm not terribly proficient in c++ and don't much care for iostreams so have mostly just avoided them 2011-02-28T22:10:58 the iostream << syntax that is 2011-02-28T22:11:12 yeah fair enough, i like the iostream syntax, hate the inefficiency of it 2011-02-28T22:11:15 antimatroid: What's the code you're having trouble with? 2011-02-28T22:11:21 <_flag> Why not use "\n"? /cprogrammer 2011-02-28T22:11:29 _flag: For one, std::endl flushes. 2011-02-28T22:11:30 _flag: i want it to flush as well 2011-02-28T22:11:51 <_flag> fflush(stdout)? 2011-02-28T22:11:57 isn't it also cross platform? 2011-02-28T22:12:02 _flag: Yes, it's equivalent to writing "\n" and then doing fflush. 2011-02-28T22:12:07 antimatroid: i left it untouched, yes. the bug stuff might indeed be a bottleneck 2011-02-28T22:12:11 _flag: i'm currently doing that every time i debug something 2011-02-28T22:12:13 amstan: I'm pretty sure fflush is also cross-platform, though I haven't checked. 2011-02-28T22:12:14 broman: http://codepad.org/S8IrwsO8 2011-02-28T22:12:15 as in.. might also use \r from time to time 2011-02-28T22:12:31 antimatroid: i basically just built it with -O3 and ran it with the contents of a file as input 2011-02-28T22:12:55 jmcarthur: want to try turning off debug in the bot.h constructer for me? i'm worried about it now :P 2011-02-28T22:13:01 okay sure 2011-02-28T22:13:13 k, i'm bored again, any ideas on what i can do? 2011-02-28T22:13:16 amstan: I thought it was always \n, but I haven't read the spec. 2011-02-28T22:13:30 jbroman: i'm just saying.. maybe it uses \r\n on windows 2011-02-28T22:13:40 amstan: this is meant to be a starter bot for c++ :P 2011-02-28T22:13:43 whereas, if you just get "\n", it's hardcoded 2011-02-28T22:14:02 and \r\n hasn't worked for me in the past, otherwise i'd just define 2011-02-28T22:14:03 const string endline = "\r\n" 2011-02-28T22:14:26 antimatroid: err... i don't see what to do. Bot.h doesn't appear to contain anything to do with debug 2011-02-28T22:14:28 *** delt0r_ has joined #aichallenge 2011-02-28T22:14:35 ahh, Bug.h :P 2011-02-28T22:14:37 sorry :P 2011-02-28T22:15:05 just set debugging = 0;? 2011-02-28T22:15:09 yep 2011-02-28T22:15:15 amstan: move compilation and initial testing over to the workers ;) 2011-02-28T22:15:32 janzert: if i had any idea of what i was doing, maybe 2011-02-28T22:15:44 i will have that set at 0 when i release it later, i figure it might be nice to leave an easy way for people to debug to file 2011-02-28T22:15:49 *** delt0r___ has quit IRC (Ping timeout: 240 seconds) 2011-02-28T22:16:08 antimatroid: it's significantly faster now 2011-02-28T22:16:14 :) 2011-02-28T22:16:23 antimatroid: whereas mine was twice as fast before, yours is twice as fast now 2011-02-28T22:16:30 :P 2011-02-28T22:16:32 *twice as fast as mine, that is 2011-02-28T22:16:38 another probably easier thing to work on is generalize and adapt the worker setup script so it will work again 2011-02-28T22:16:56 i just have a new performance goal. that's all :P 2011-02-28T22:17:02 haha 2011-02-28T22:17:11 i was terribly worried for a bit there 2011-02-28T22:17:13 it *is* harder to get that speed with haskell, after all ;) 2011-02-28T22:17:33 antimatroid: oh you were probably even further crippled by my encrypted filesystem, too 2011-02-28T22:17:40 and my laptop hard drive 2011-02-28T22:17:57 yeah, but i need to fix that flush problem 2011-02-28T22:18:06 it's flushing every time it outputs a character from the state aha 2011-02-28T22:19:09 lol 2011-02-28T22:35:07 antimatroid: Took me a while (I've done almost no C++), but this seems to work: http://codepad.org/MWiypA6M 2011-02-28T22:35:25 I don't think std::endl (a templated function) matches the class template, which is why it didn't work as you had it. 2011-02-28T22:36:14 Urrg...change "if (debugging)" to "if (bug.debugging)" 2011-02-28T22:37:22 you mean if DEBUGGING 2011-02-28T22:37:34 should be a define 2011-02-28T22:37:51 amstan: I was modifying his code. 2011-02-28T22:38:43 Perhaps for his use-case, he may need to enable debugging at runtime (e.g. based on an environment variable). *shrug* 2011-02-28T22:42:50 aichallenge: Alexandru Stan epsilon * rd5977e1 / (2 files in 2 dirs): moved the forkbomb - http://bit.ly/i0mJgR 2011-02-28T22:42:52 aichallenge: Alexandru Stan epsilon * ra3737ad / (.gitmodules trueskill): added trueskill submodule - http://bit.ly/gsrPTW 2011-02-28T22:45:59 should probably just be a constant 2011-02-28T22:46:11 i'm getting a multiple definition error when i add that function, even if i remove the other one :\ 2011-02-28T22:46:13 bloody c++ 2011-02-28T22:46:16 i'll have a play, thanks 2011-02-28T22:46:19 antimatroid: it should be a #define, that way you can set it in the makefile 2011-02-28T22:48:30 it's working, but it makes me put non-template << functions in .cc and :\ 2011-02-28T22:48:34 i don't understand that at all 2011-02-28T22:48:59 I am not a C++ guru, but I don't think functions match template . 2011-02-28T22:49:33 yeah no i understand that 2011-02-28T22:51:45 jbroman: all working now, thanks :) 2011-02-28T23:05:45 contestbot: topic remove 4 2011-02-28T23:05:45 *** contestbot changes topic to "Official Google AI Challenge: http://ai-contest.com/ || Channel Logs: http://contestbot.hypertriangle.com/ || Code Repo: http://github.com/aichallenge/aichallenge || Team Meeting on IRC: 9:00 PM EST | Saturday, February 26, 2011" 2011-02-28T23:05:47 contestbot: topic remove 4 2011-02-28T23:05:47 *** contestbot changes topic to "Official Google AI Challenge: http://ai-contest.com/ || Channel Logs: http://contestbot.hypertriangle.com/ || Code Repo: http://github.com/aichallenge/aichallenge" 2011-02-28T23:05:59 contestbot: topic add Launch Checklist: https://github.com/aichallenge/aichallenge/issues/labels/launch 2011-02-28T23:05:59 *** contestbot changes topic to "Official Google AI Challenge: http://ai-contest.com/ || Channel Logs: http://contestbot.hypertriangle.com/ || Code Repo: http://github.com/aichallenge/aichallenge || Launch Checklist: https://github.com/aichallenge/aichallenge/issues/labels/launch" 2011-02-28T23:07:15 contestbot: later tell j3camero This is for you, a filter of issues that need your intervention: https://github.com/aichallenge/aichallenge/issues/labels/j3camero 2011-02-28T23:07:15 amstan: As you wish. 2011-02-28T23:13:03 *** me0w has joined #aichallenge 2011-02-28T23:26:54 *** pyro-_ has joined #aichallenge 2011-02-28T23:29:06 *** pyro- has quit IRC (Ping timeout: 260 seconds) 2011-02-28T23:29:58 oh man.. i had a friend ask why google is a link in "On behalf of Google and the University of Waterloo Computer Science Club, we would l" 2011-02-28T23:30:04 nobody needs a link to google 2011-02-28T23:30:53 yeah you could always search for it anyway :P 2011-02-28T23:31:57 amstan: it would actually be prett funny if you linked it straight to google.com :P 2011-02-28T23:32:09 antimatroid: it is straight to google.com 2011-02-28T23:32:20 oh, i thought he was asking why it wasn't, misread :P 2011-02-28T23:34:07 *** computerwiz_222 has joined #aichallenge 2011-02-28T23:43:28 jmcarthur: http://www.youtube.com/watch?v=SyD4p8_y8Kw 2011-02-28T23:48:04 antimatroid: omg 2011-02-28T23:49:39 *** JackyAlcine has quit IRC (Remote host closed the connection) 2011-02-28T23:49:39 *** JackyAlcine has joined #aichallenge 2011-02-28T23:50:39 pure gold 2011-02-28T23:55:55 "that's the dumbest thing i've ever heard! you just made that up, didn't you?!" 2011-02-28T23:56:16 <_flag> You just saw that on r/math didn't you? 2011-02-28T23:56:41 i did 2011-02-28T23:56:53 <_flag> Thought so :) 2011-02-28T23:57:37 *** iFire has quit IRC (Read error: Connection reset by peer) 2011-02-28T23:57:43 *** _flag <_flag!~root@69-165-173-172.dsl.teksavvy.com> has quit IRC (Quit: Lost terminal) 2011-02-28T23:58:09 *** iFire has joined #aichallenge 2011-02-28T23:59:40 _flag: https://gist.github.com/847673 c++ > c :P