2011-06-16T00:09:46 *** janzert has joined #aichallenge 2011-06-16T00:10:50 oh, wow ICFP programming contest starts in less than 24 hours 2011-06-16T00:14:18 interesting they're putting a hard cpu limit on entries this year, don't remember that before 2011-06-16T00:16:44 *** Chris_0076 has joined #aichallenge 2011-06-16T00:17:28 *** Chris_0076 has left #aichallenge 2011-06-16T00:54:16 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has quit IRC (Quit: Lost terminal) 2011-06-16T01:04:29 *** antimatroid has quit IRC (Quit: Leaving.) 2011-06-16T01:04:35 *** antimatroid has joined #aichallenge 2011-06-16T01:18:28 *** antimatroid has quit IRC (Quit: Leaving.) 2011-06-16T01:18:42 *** antimatroid has joined #aichallenge 2011-06-16T01:20:14 *** berak has joined #aichallenge 2011-06-16T01:30:47 *** mcstar has joined #aichallenge 2011-06-16T01:32:43 *** Kingpin13 has joined #aichallenge 2011-06-16T01:45:59 *** UncleVasya has joined #aichallenge 2011-06-16T01:46:05 *** McLeopold has joined #aichallenge 2011-06-16T01:47:00 antimatroid: did you understand my idea for a new attack method? 2011-06-16T02:00:17 amstan , can you describe in detail how you see the work of a button for making submissions in testing app? 2011-06-16T02:01:08 where is that new attack method introduced? 2011-06-16T02:01:09 *** Zannick has quit IRC (Ping timeout: 240 seconds) 2011-06-16T02:02:14 *** Zannick has joined #aichallenge 2011-06-16T02:02:31 rabidus: I haven't really explained it at all, I was waiting for antimatroid to show up 2011-06-16T02:02:57 so you were talking privately 2011-06-16T02:03:13 Basically, if any ant only attacked, or was within attack range, of one other ant, then its full damage would go to that ant and kill it 2011-06-16T02:03:13 McLeopold: the outcome of your --html update and advices is that you can launch replays for every game during and after the multimap testing. Also my app inserts good bot names in the replay and you can see them in the visualizer. 2011-06-16T02:04:30 UncleVasya: I attempted to retrieve bot names from command lines passed, but it is a bit broken. If your app has manages bots, then having a name outside of the command line is a good thing. So, nice work. 2011-06-16T02:05:11 UncleVasya: also, if there are bugs or features you need in playgame, please open up issues on github for them and I will fix/code stuff 2011-06-16T02:05:24 rabidus: back to attacking... 2011-06-16T02:06:10 For defense, the goal would be to make sure your ant has a buddy to take half the damage from attacking ants. 2011-06-16T02:06:10 i was just wondering... next task for me was good attack planning, but i think i'll move that task a bit 2011-06-16T02:06:36 McLeopold: Again, it's my crazy way to work: When html-file exists I just deal with it as with a text file and adding text info about bots. :) 2011-06-16T02:06:50 This can be extended to maintaining a higher ant count than the enemy, even in localized situations 2011-06-16T02:07:15 Which allows for some trivial blocking if the enemy doesn't have freedom of movement, as in corridors. 2011-06-16T02:08:05 McLeopold: can you show static blocking of a 4 width corridor with attackradius2=9? 2011-06-16T02:08:07 http://dl.dropbox.com/u/9140666/ants-r2-9-corridors.png 2011-06-16T02:08:18 i dont get it. what's the difference between now and that ? 2011-06-16T02:08:19 UncleVasya: yeah, interjecting playernames into the replay file, or into the html replay makes sense. 2011-06-16T02:09:12 rabidus: There is not two methods of attack. I'm just disecting the damage method in general. We have not made changes nor implemented a new attack method. 2011-06-16T02:09:20 the best I see is 2 for 1 2011-06-16T02:10:40 janzert: I ran a test of a column of ants, of different widths, heading in the same direction against a sea of enemy ants. For every radius there is a shape that will block. The larger the radius, the larger the shape. 2011-06-16T02:11:13 So, there can always be blocking, but the shapes may be too large to create. 2011-06-16T02:11:36 Of course there will be variations depending on where water is and such. 2011-06-16T02:11:40 I really don't believe that is true for a radius that has both 'nibs' and 'convex shoulders' (as defined a few days ago ;) ) 2011-06-16T02:11:54 I also think attackradius2=9 may be the only radius that fulfills that 2011-06-16T02:12:01 I thought it wouldn't be either, but it is. 2011-06-16T02:12:27 I'd really like to see that static shape that will bock the 4 width corridor then 2011-06-16T02:12:49 The ants were all moving north. Perhaps I could come up with some side attacks or something, but it looks like there will always be a static shape this is solid. 2011-06-16T02:12:59 for radius 9? 2011-06-16T02:13:11 thank god my nick isn't radius 2011-06-16T02:13:12 radius squared = 9 yes 2011-06-16T02:13:24 hold on... 2011-06-16T02:13:34 I believe it is in use on the beta server now 2011-06-16T02:13:56 the beta server won't give us any info, there are no good blocking bots 2011-06-16T02:14:08 did you see the image I posted above? 2011-06-16T02:14:27 yeah 2011-06-16T02:14:41 that is what I did my check work from to see that 1, 2 and 3 width can be blocked but I don't think 4 width 2011-06-16T02:14:58 I'm running the test to prove you wrong... 2011-06-16T02:15:04 good :) 2011-06-16T02:16:56 *** Ice_Harley has joined #aichallenge 2011-06-16T02:16:57 how about giving the opportunity to ants to combine their strength? 2011-06-16T02:17:19 for example 2-3 ants could youn up on one square, for a single attack 2011-06-16T02:17:33 if their startegy is good, they could break any block 2011-06-16T02:17:53 but the formation couldnt be maintained for more than a couple of turns 2011-06-16T02:18:50 youn->team up? 2011-06-16T02:19:22 oh no, i meant join up probably, that makes sense 2011-06-16T02:19:47 I wouldn't mind a single order including an attack square for a single ant 2011-06-16T02:20:19 janzert: I've messed up my code, it will be just a minute... 2011-06-16T02:20:36 you mean, that only that ant could attack, others cannot, with more than 1 damage to distribute? 2011-06-16T02:21:19 no, meaning 1 ant can choose not to spread its 1 damage across all enemies in range, but rather choose which enemy to take out 2011-06-16T02:21:29 oh 2011-06-16T02:21:35 *** Palmik has joined #aichallenge 2011-06-16T02:21:37 yeah, thats not bad either 2011-06-16T02:22:46 i said what i said, because there would have to be some balance maintained between attacking force and the number and spread of ants 2011-06-16T02:23:29 this would certainly make the game strategy wise more interesting 2011-06-16T02:23:43 also its porbably too late for this now isnt it? 2011-06-16T02:24:10 not really, especially if the current method can lead to static blocking 2011-06-16T02:24:20 of any width corridor that is 2011-06-16T02:24:41 meaning you think the rules can change that much? 2011-06-16T02:24:46 I also like the idea of ants doling out more than 1 damage, say 1.5 2011-06-16T02:24:59 mcstar: yes, if necessary 2011-06-16T02:25:16 if static blocking is always possible the rules are basically broken 2011-06-16T02:27:42 McLeopold: I saw a new type of error during watching the games on server: 2011-06-16T02:27:58 *** iShurf has quit IRC (Ping timeout: 252 seconds) 2011-06-16T02:28:15 Creating canvas... 2011-06-16T02:28:18 status 0 2011-06-16T02:28:21 janzert: http://imgur.com/BjbzJ okay, here's the shape 2011-06-16T02:28:36 &debug=true helped 2011-06-16T02:28:55 UncleVasya: open a github issue. Also let Frontier know 2011-06-16T02:30:44 McLeopold: ahh, I see the important part is the ability to place ants not just at the end of the corridor but one space further as well 2011-06-16T02:31:22 .˙˙˙˙˙. these forms can block 2011-06-16T02:31:35 yeah, so for any radius, there is a shape 2011-06-16T02:32:03 for set of random waters in there, you could probably modify the shape 2011-06-16T02:32:38 i recently realized that you changed the radii, i was wondering why the f i dont understand a discussion, turned out i was thinking in ar2<=6 2011-06-16T02:32:38 we probably want the shape to be large enough that it is improbable or impractical to maintain 2011-06-16T02:32:40 http://pastebin.com/sMkJYMbp 2011-06-16T02:32:57 i.e. there has to be space for those top and bottom b ants 2011-06-16T02:33:34 in any case I'd agree the current method is broken enough that we need to do something else 2011-06-16T02:33:46 :( 2011-06-16T02:33:55 so if it is just a solid corridor, you can't block, or in other words, if both bots have the same degrees of freedom, then you can't block 2011-06-16T02:34:30 it's only when one bot has more freedom of movement that blocking is possible 2011-06-16T02:35:17 and what about attack formations? i dont want to talk shit, but i think 4 ants can always kill 1 ant 2011-06-16T02:35:37 active formations are fine with me :) 2011-06-16T02:35:57 I'd like to encourage them 2011-06-16T02:35:58 mcstar: breaking away from 1:1 kill ratios is the goal 2011-06-16T02:36:27 ok 2011-06-16T02:36:51 janzert: we could try giving each ant more than 1 damage or less than 1 hp? 2011-06-16T02:37:04 comulative damage? 2011-06-16T02:37:23 we are trying to avoid maintaining ant hp state 2011-06-16T02:38:04 well, it certainly makes the engine simpler 2011-06-16T02:38:27 adding extra damage might be the simplest change with a possibility of working out 2011-06-16T02:39:06 let me try 1.5... 2011-06-16T02:39:09 do you think starter packages should be able to handle them? 2011-06-16T02:39:11 standing still = attack power 0.9 and moving = attack power 1 2011-06-16T02:39:15 sure 2011-06-16T02:39:26 hey, that's a good idea 2011-06-16T02:39:43 ants have more attacking power if they moved during the turn? 2011-06-16T02:39:47 yes 2011-06-16T02:39:53 like irl 2011-06-16T02:40:03 what's that? 2011-06-16T02:40:09 you are moving towards your target, you have more power in your arm 2011-06-16T02:40:09 :) 2011-06-16T02:40:09 what if an ant cant move bc of water of his own ants, should it suffer from this restriction? 2011-06-16T02:40:10 hmm, that might work as well 2011-06-16T02:40:39 it does add more complexity that simply making damage > 1 though 2011-06-16T02:40:40 of->or 2011-06-16T02:40:53 but it avoids maintaining state 2011-06-16T02:41:29 and irl = in real life 2011-06-16T02:41:34 if you ment that 2011-06-16T02:41:51 yeah, that's what I ment 2011-06-16T02:41:52 now back to work (real work) -> 2011-06-16T02:41:53 meant 2011-06-16T02:41:57 McLeopold: I couldn't reproduce the bug. After page reloading visualizer works even without &debug=true. 2011-06-16T02:42:16 UncleVasya: you have a healing touch 2011-06-16T02:43:54 janzert: damage=1.5 still has a defense shape, but it is larger, requiring 2 ants for each incoming for a 4 width corridor 2011-06-16T02:44:48 not sure how it gets larger? 2011-06-16T02:45:13 mcstar: symptoms are hiding. Illness lies to us, like everybody else. :) 2011-06-16T02:45:41 UncleVasya: you arent an optimist are you :D 2011-06-16T02:46:34 Just watched default-TV-show too many times. 2011-06-16T02:48:47 McLeopold: maybe you should make the beta server more secure, so that people may upload their most current bots, i can imagine somebody might have very good solutions, only afraid that others might get his code... 2011-06-16T02:50:17 is there a securiti issues hanging around? 2011-06-16T02:50:21 mcstar: then we would have to remove several of the people that have accounts to help out with the coding that don't want to lose the opportunity of competing and things would develop slower 2011-06-16T02:50:24 *securyty 2011-06-16T02:50:32 http://imgur.com/6Fy2j damage 1.5 2011-06-16T02:50:50 ok, im understand 2011-06-16T02:50:51 *** smellyhippy has quit IRC (Quit: Take your stinking clause off me you damn dirty predicate!) 2011-06-16T02:50:53 -m 2011-06-16T02:51:30 imgur doesn't want to show me the image :( 2011-06-16T02:51:40 it works for me 2011-06-16T02:51:45 me too 2011-06-16T02:52:05 weird, the site loads but not the image itself 2011-06-16T02:52:38 McLeopold: what is the attackradius on the pic? 2011-06-16T02:52:43 9 2011-06-16T02:52:58 alright 2011-06-16T02:53:36 *** Kingpin13 has quit IRC (Quit: this used to be the life, but I don't need another one) 2011-06-16T02:54:12 finally got it 2011-06-16T02:54:32 *** znutar has left #aichallenge 2011-06-16T02:55:41 *** amstan has quit IRC (Ping timeout: 276 seconds) 2011-06-16T02:55:51 *** UncleVasya has quit IRC (Ping timeout: 260 seconds) 2011-06-16T02:56:17 *** Kingpin13 has joined #aichallenge 2011-06-16T02:56:22 ok, so how hard would it be for you test 1.5 damage moving and 1 when standing still? 2011-06-16T02:56:41 *** UncleVasya has joined #aichallenge 2011-06-16T02:56:45 or basically for the test give the attackers 1.5 the defenders 1 2011-06-16T02:57:11 easy 2011-06-16T02:57:19 actually, I don't think it works 2011-06-16T02:57:43 just take your current shape and step it north and south on alternating turns 2011-06-16T02:57:59 I suppose it's not technically static, but close enough? 2011-06-16T02:58:19 or is there a way to get through it then? 2011-06-16T02:58:29 ugh 2011-06-16T02:58:54 the fact that the shape needs to be larger may be good enough 2011-06-16T02:59:26 yeah, possibly 2011-06-16T02:59:27 the shape is the same with or without the moving ant code 2011-06-16T02:59:56 oops, right 2011-06-16T03:00:17 since the defenders only need .5 damage 2011-06-16T03:00:26 damage = 2 works quite nicely 2011-06-16T03:00:59 the real trick is the defenders just need to make sure each enemy ant is spreading their damage to enough ants 2011-06-16T03:01:09 *** aerique has joined #aichallenge 2011-06-16T03:01:22 at which point were almost to 1 for 1 in most any realistic scenario though right? 2011-06-16T03:01:35 for damage=2? not really 2011-06-16T03:01:37 with this reasoning, damage can be a large number even 2011-06-16T03:02:33 with damage close to 2, but not quite there, it is really nice 2011-06-16T03:02:35 once damage is large enough the best tactic seems spread out individuals :( 2011-06-16T03:02:44 1 ant can't take out 2 2011-06-16T03:03:08 but the 1.5 damage blocking shape still holds 2011-06-16T03:03:19 but in a fight, if you can manage to get 2 ants close to an enemy, you can probably take them out, even with extra enemy taking some of the extra damage 2011-06-16T03:03:51 yeah, but that is for only moving 1 direction 2011-06-16T03:04:43 the fact that some of the damage is 90 degrees to the attacks may give enough room 2011-06-16T03:04:49 without "diagonal" moves it doesn't matter how you move into it when coming out of a corridor does it? 2011-06-16T03:05:49 with damage = 1.9, maybe I should reduce the attack radius again? 2011-06-16T03:06:51 ooh, that's quite nice 2011-06-16T03:07:38 2 width is blockable, but not 3 2011-06-16T03:07:43 doesn't a diagonal (or straight if a radius without nibs) line of ants just block then? 2011-06-16T03:08:32 no 2011-06-16T03:08:43 not with attackradius=4 and damage=1.9 2011-06-16T03:09:18 damage > 1 is away from what we want 2011-06-16T03:09:20 damage=1.5 does block width 3 2011-06-16T03:09:28 antimatroid: no it's not 2011-06-16T03:09:30 we wanted balance so that "bunching" up for fights was good 2011-06-16T03:10:08 except not so good that you can block with a static shape :( 2011-06-16T03:11:46 what about that 'standing still' vs 'moving' ? 2011-06-16T03:12:03 *** aumfer has quit IRC (Ping timeout: 255 seconds) 2011-06-16T03:12:31 rabidus: that doesn't make a difference to the attackers 2011-06-16T03:12:37 only in their loses 2011-06-16T03:12:53 but corridors are beaten 2011-06-16T03:13:32 *** Zaphus has joined #aichallenge 2011-06-16T03:13:49 radius=4, damage=1.9 is nice 2011-06-16T03:14:07 damage=1.875 is the sweet spot for breaking a 3 width corridor 2011-06-16T03:15:07 Evening all, talking about damage multipliers? 2011-06-16T03:15:08 you can get 3 ants in, the left and right can't attack the same set and get spread to 3 enemies, the center spreads to 5 enemies, so you need 1/(1/3+1/5) damage to break it 2011-06-16T03:15:47 antimatroid: can you make that latex? :) 2011-06-16T03:16:29 http://imgur.com/9AfZH 2011-06-16T03:17:03 *** antimatroid has quit IRC (Quit: Leaving.) 2011-06-16T03:17:17 *** antimatroid has joined #aichallenge 2011-06-16T03:17:20 Zaphus: hi. 2011-06-16T03:17:26 McLeopold: /frac{1}{\frac{1}{3} + \frac{1}{5}} is that what you want? 2011-06-16T03:17:27 Is this better? 1 / (⅓ + ⅕) 2011-06-16T03:17:33 *** smellyhippy has joined #aichallenge 2011-06-16T03:17:38 ergh, \ at the start, not / 2011-06-16T03:17:41 mleise: yes, and how? 2011-06-16T03:18:26 sorry, i haven't followed the discussion. do you mean how to unicode? 2011-06-16T03:18:39 yep 2011-06-16T03:18:55 type charmap and search for 'fifth' 2011-06-16T03:19:28 So with a 1.85, two ants can kill three (mutually assured destruction anyway) 2011-06-16T03:20:25 actaully, that might actually make fights more interesting 2011-06-16T03:20:32 I'm a bit worried that it removes too much motivation to cluster though 2011-06-16T03:20:45 but you'd still want to cluster a bit 2011-06-16T03:21:00 1 can't kill 2, 2 can kill 3, 2 can't kill 4 2011-06-16T03:21:19 3 can kill 5, but now we need to consider position 2011-06-16T03:21:24 what about 1.4? 2011-06-16T03:21:38 you need 3 ants in a battle to kill more than 1:1 2011-06-16T03:21:39 is blockable 2011-06-16T03:21:42 Seems like you found a possible solution for the blocking situations. :) 2011-06-16T03:21:43 hm okay 2011-06-16T03:21:56 even 1.5 was blockable 2011-06-16T03:22:07 McLeopold: your comment the other day about combining iterative closest with damage, hell no :P 2011-06-16T03:22:22 i'd rather move to power, which would be more understandable :P 2011-06-16T03:22:23 although the space needed to block gets larger 2011-06-16T03:22:26 antimatroid: I coded it and I agree :D 2011-06-16T03:22:29 Interesting idea. Of course you now get standoff instead I imagine 2011-06-16T03:23:58 maybe damage increases for an ant with the number of enemies, whatever makes it so a local 2 on 1 works 2011-06-16T03:24:35 i don't like the idea of damage amounts differing depending on what the ant dos 2011-06-16T03:24:40 that's complicating the rules a lot 2011-06-16T03:24:51 i'd rather we moved to power method if you want to complicate stuff :P 2011-06-16T03:25:08 The occupied method blocked as well 2011-06-16T03:25:09 What is the power method ? 2011-06-16T03:25:48 Zaphus: enemies(A) := the set of enemys within the attack radius of A, A lives if |enemies(A)| < |enemies(B)| for all B \in enemies(A) 2011-06-16T03:26:34 So ants around you but out of range of attack 2011-06-16T03:26:59 In other words, if all attackers get hit by more ants than your own ant 2011-06-16T03:27:30 you can only kill ants more occupied with enemies than yourself 2011-06-16T03:28:13 Confusing in words, is there a pic somewhere ? 2011-06-16T03:28:58 its because 3 people are talking :p 2011-06-16T03:29:17 image.google.com 2011-06-16T03:29:29 is there a moon-clipse? today? 2011-06-16T03:30:26 oh, it only shown on the defualt google search site 2011-06-16T03:30:35 i mis-spelled google 2011-06-16T03:30:50 So an ant could kill one enemy but be killed by one on the other side 2011-06-16T03:31:38 it's the coolest rule (imo) to date, but it was deemed too complicated 2011-06-16T03:33:25 It is interesting, but agree it is complex 2011-06-16T03:33:38 oh, it wsa yesterday 2011-06-16T03:33:53 ive never seen a lunar eclipse 2011-06-16T03:37:53 *** okay has joined #aichallenge 2011-06-16T03:43:16 There's another lunar eclipse on Dec 10th I think 2011-06-16T03:45:54 yep, but thats months away, ill be dying until then 2011-06-16T03:46:19 (not really) 2011-06-16T03:46:26 Lol 2011-06-16T03:47:27 So, what's happening with ants, any sign of a launch date or anything? 2011-06-16T03:51:27 Zaphus: I've released v0.3 on the forums. Statistic now is shown for all bots that played all games. 2011-06-16T03:51:48 Cool! 2011-06-16T03:53:40 Zaphus: Still eating processor. I plan to fix it in v0.4. 2011-06-16T03:54:15 Zaphus: Here it is: http://ai-contest.com/forums/viewtopic.php?f=25&t=1401#p9057 2011-06-16T03:55:57 btw, I dissapointed a bit: v0.2 downloaded 32 times while v0.3 only 6 times. 2011-06-16T03:56:14 Will grab it when I get home (this is on my phone) 2011-06-16T03:56:57 That's because there's no movement on the contest, people get bored waiting... 2011-06-16T03:58:36 *** qacek has quit IRC (Quit: WeeChat 0.3.5) 2011-06-16T04:11:11 UncleVasya: It works in Wine and looks funny ! 2011-06-16T04:12:46 wow! I thought it cannot work under Wine. Or you just launched it and didn't tried to press Start button? 2011-06-16T04:13:16 uh yes ... I just pressed start 2011-06-16T04:13:54 let me install python... 2011-06-16T04:15:09 winetricks python .... is taking some time 2011-06-16T04:22:31 UncleVasya: It says "You must specify a map file." 2011-06-16T04:23:11 I think it's because of '\' instead of '/'. 2011-06-16T04:24:45 hmm I'm not quite sure of it. It can launch the Python program which uses '\' in the path 2011-06-16T04:26:58 mleise: somewhere i used TrailingPathDelimiter, somewhere I was too lazy and hardcoded '\'. So you can get a string with both of them. 2011-06-16T04:27:58 mleise: or maybe you are using an old environment. 2011-06-16T04:28:13 tools.zip was updated few days ago. 2011-06-16T04:29:57 hmm if I run the command with bare wine python.exe ... it works 2011-06-16T04:31:27 maybe it is the extra space after the map name 2011-06-16T04:32:00 UncleVasya: It looks like --map_file "H:\...\symmetric_10,map " 2011-06-16T04:35:41 mleise: in the play_one_game.cmd: --map_file %~dp0maps\symmetric_maps\symmetric_10.map %* 2011-06-16T04:35:41 in the play_one_game.sh: --map_file maps/symmetric_maps/symmetric_10.map "$@" 2011-06-16T04:35:41 2011-06-16T04:36:07 Maybe problem is here, I don't know what that symbol means. 2011-06-16T04:36:25 %* and "$@" 2011-06-16T04:36:57 it means: add any command line parameters here 2011-06-16T04:37:00 *** Zaphus has quit IRC (Quit: Bye) 2011-06-16T04:37:18 do you use the .cmd file in your tool? 2011-06-16T04:37:27 yes 2011-06-16T04:38:03 my tool build test.cmd file like play_one_game.cmd 2011-06-16T04:38:17 andthen launches it 2011-06-16T04:38:48 So I can delete %*? 2011-06-16T04:39:12 yes, but may i ask why you dont launch the playgame.py directly? 2011-06-16T04:39:45 one less step in between may be one less source of bugs :) 2011-06-16T04:39:57 mleise: you can find test.cmd in the specified directory and look at it. 2011-06-16T04:40:45 mleise: I am a bad programmer. I can't launch playgame.py directly :) 2011-06-16T04:44:09 UncleVasya: WinExec('python.exe ...', SW_NORMAL); 2011-06-16T04:46:51 mleise: heh, I've tried WinExec('playgame.py' + options, SW_HIDE). I'll try your solution, thanks. 2011-06-16T04:47:51 there is also ShellExecute which is a bit more complicated, but you can tell it to 'open' a file. So you could just put a .txt or .py in there and it would launch the associated program 2011-06-16T04:49:11 UncleVasya: And if you want to make your window resizable look at the anchors of the controls. They define how controls resize with the window! 2011-06-16T04:50:33 * mleise is happy that there is someone using Delphi that I can actually tech something. 2011-06-16T04:51:19 *teach 2011-06-16T04:52:25 *** Zaphus has joined #aichallenge 2011-06-16T04:52:50 UncleVasya: Can you give me that link again ? or is it just the one in the ai-contest forum ? 2011-06-16T04:53:18 mleise: Hah, I thought about something like "when the size of form is changed we are going to manually resize table to the old percentage of the form occupy". 2011-06-16T04:53:22 Zaphus: the same. 2011-06-16T04:53:53 mleise: I didn't know what Anchors properties means :) 2011-06-16T04:54:15 I thought so... it took me a long time to realize they are helpful 2011-06-16T04:54:30 There is a second option: autosize = true 2011-06-16T04:55:01 mleise: I still can't launch playgame directly. 2011-06-16T04:55:10 But you have to use a few fixed size Panels to create a layout with that 2011-06-16T04:55:35 UncleVasya: Good work ! now can you make it edit my code and make my bot smarter ? :-) 2011-06-16T04:55:53 UncleVasya: I cannot run Delphi on Wine :/ 2011-06-16T04:55:55 Let's suppose I have a string that contains all the text I write into the cmd-file. 2011-06-16T04:56:00 UncleVasya: speaking of bots, did you work out how to make your bot not require ocaml to be installed ? 2011-06-16T04:56:23 Zaphus: I've downloaded tools but didn't tried it yet. 2011-06-16T04:56:50 UncleVasya: You have these %dp0 in the cmd file. These have to be replaced of course 2011-06-16T04:57:16 Best is you change the working directory to where playgame.py is and just remove all %dp0 2011-06-16T04:57:41 mleise: If I do Write(test_file, test_string) and then launch test.cmd via WinExec - it works. 2011-06-16T04:57:58 "SetCurrentDir " 2011-06-16T04:59:30 UncleVasya: it works because cmd.exe knows how to replace %dp0 2011-06-16T04:59:54 You cannot use these when you launch a program the 'normal' way 2011-06-16T05:00:50 mleise: 1. I have SetCurrentDir in my code. 2. dp0 was only an example of play_one_game.cmd text and my test.cmd doesn't consist it. 2011-06-16T05:01:02 *contains 2011-06-16T05:01:33 hmm where do you save the .cmd again? 2011-06-16T05:01:38 In my test.cmd all paths are have full format 2011-06-16T05:01:59 Near playgame.py . 2011-06-16T05:02:12 And is there a chance you add a space after the map file name? 2011-06-16T05:03:00 Ahhh now I found it! 2011-06-16T05:03:25 Yes very bad!!! very VERY bad :p 2011-06-16T05:03:34 --map_file "H:\Entwicklung\Python\aichallenge\ants\maps\symmetric_maps\symmetric_10.map %*" 2011-06-16T05:04:11 But you remove that you said. So I'm waiting for the patch :) 2011-06-16T05:10:35 mleise: I've uploaded version without "%*" but forgot to give a link. http://www.filefactory.com/file/ccd6dfe/n/AntsTesting_0.3_Linux.7z 2011-06-16T05:11:06 Zaphus: If I'll try to make your bot smarter it become stupid :) 2011-06-16T05:15:00 mleise: WinExec(PAnsiChar('python.exe ' + test_string), SW_SHOW) ; gives me only a black screen flash. 2011-06-16T05:15:07 *** boegel has joined #aichallenge 2011-06-16T05:19:16 hmm at least pythin is starting then ! 2011-06-16T05:20:52 *** sir_macelon has joined #aichallenge 2011-06-16T05:21:03 hi 2011-06-16T05:22:08 hi 2011-06-16T05:22:13 hi 2011-06-16T05:22:32 flashmob :) 2011-06-16T05:22:48 been reading the damage/blocking discussion 2011-06-16T05:23:26 i don't like the ideas with changing the battle resolution 2011-06-16T05:23:56 i would rather see maps properlu adjusted so that such situations shouldn't be decisive 2011-06-16T05:24:35 or on the other hand make it as a part of the game 2011-06-16T05:25:13 like in go you have a live formations that cannot be killed 2011-06-16T05:26:11 you were also talking about corridors without considering the other end of it, so it is blockable only from one side 2011-06-16T05:26:37 unless you have blocked a peninsula 2011-06-16T05:27:23 blocking would just another cool tactic 2011-06-16T05:28:39 you have to be aware that you "sacrifice" ants so they will be standing still, but they could have been more useful if they would be moving towards food or enemy positions 2011-06-16T05:29:56 moreover if we would have symmetric maps, then every player would have an equal opportunity to set his defenses 2011-06-16T05:30:46 i don't get it why you don't like blocking so much? 2011-06-16T05:31:09 *** olexs has joined #aichallenge 2011-06-16T05:31:24 UncleVasya: It seems like wine starts the Linux Python interpreter. That's why the file names don't work 2011-06-16T05:32:36 any adjustments to the damage resolution would lead to bunching up won't be a good tactic, because a bunch of ants can be killed with fewer enemy ants 2011-06-16T05:32:48 that's just not right 2011-06-16T05:35:49 UncleVasya: You set the working directory to where playgame.py is, right? Then it may be fixable on wine if you use only relative paths and '/' instead of '\'. Windows understands that since Windows 2000. 2011-06-16T05:40:47 *** sigh has quit IRC (Ping timeout: 276 seconds) 2011-06-16T05:41:26 mleise: Is test.cmd works for you with changes you are talking about? 2011-06-16T05:42:30 sir_macelon: I agree, I'm yet to see proof that blocking is really bad, people just say it's a bit boring... so what ? whatever happens the top bots are going to be similar anyway and be a bit boring - doing standoffs waiting for someone to make a wrong move 2011-06-16T05:43:05 I cannot run test.cmd. Don't know how in wine. But I see Linux path names "/home/..." when I change playgame.py to print the working directory 2011-06-16T05:43:35 and if you're the bot with the lower score (which you cannot tell..) then you'll lose a standoff or blocking battle anyway 2011-06-16T05:43:40 so relative paths with '/' *should* work. But I understand if you don't want to make that change 2011-06-16T05:44:13 maybe you can launch test.cmd without Wine? Just like usual binary file. 2011-06-16T05:45:17 Zaphus: what 2011-06-16T05:45:18 hmm ok let me turn this into a shell script quickly 2011-06-16T05:45:25 's boring in blocking 2011-06-16T05:45:44 Zaphus: what's boring in blocking? 2011-06-16T05:45:58 it's just another tactic 2011-06-16T05:46:14 I don't think it's boring, but thats the only 'argument' I've heard against it - nobody in the Beta has demonstrated it being a problem so far 2011-06-16T05:46:23 it shouldn't be all about attacking 2011-06-16T05:46:43 but there should be also some defense possiblities for balance 2011-06-16T05:46:47 mleise: If it's the only thing that doesn'tlet my tool work under Linux, I'll fix it. Linux users are dominating here in humber. 2011-06-16T05:47:22 Look at Zaphus_BlockTest - it doesnt even block properly, just does a half-hearted attempt - but watching other bots work out ways to cut it back or block it in so it can't get any more food is good 2011-06-16T05:47:30 UncleVasya: yes it works! I replaced all absolute paths with relative ones and replaced '\' with '/' 2011-06-16T05:47:40 I don't mean I'll abandon Windows users, I mean I'll try to make app more portable. 2011-06-16T05:48:04 it depends on what you are blocking actually 2011-06-16T05:48:19 you may be blocking yourself 2011-06-16T05:48:24 in 2011-06-16T05:48:44 UncleVasya: If Delphi had a native Linux version I would still use it for GUI applications! 2011-06-16T05:50:02 I don't know if it is good or bad that wine launches the linux python. It's good because it is already installed and it is bad because absolute file names don't work 2011-06-16T05:51:16 mleise: If I just replace '\' with '/' but left absolute paths - will it work? 2011-06-16T05:51:33 no the absolute paths are the important part. 2011-06-16T05:52:21 playgame.py is launched with windows file names like "C:\..." but cannot find the files because on linux they start with "/..." 2011-06-16T05:53:12 ok 2011-06-16T05:55:28 BTW, here check out some nicely advanced battles: http://aichallengebeta.hypertriangle.com/visualizer.php?game=25256 2011-06-16T05:55:29 :) 2011-06-16T05:55:45 http://aichallengebeta.hypertriangle.com/visualizer.php?game=25056 2011-06-16T05:56:15 *** Naktibalda has joined #aichallenge 2011-06-16T06:00:45 *** olexs has quit IRC (Quit: Leaving.) 2011-06-16T06:03:17 sir_macelon: yes, I have been admiring your "chase down and kill" behaviour that your bot has, looks cool :-) 2011-06-16T06:15:33 *** stocha has joined #aichallenge 2011-06-16T06:15:58 hi, i'd like to learn the verilog language. Do you think it would be feasible to support/submit a verilog bot ? 2011-06-16T06:17:56 create a starter pack for it :) 2011-06-16T06:20:26 *** stocha has quit IRC (Ping timeout: 252 seconds) 2011-06-16T06:21:02 Zaphus: Indeed it looks even better with increased attack range, with radius2=4, there were many stale positions 2011-06-16T06:21:31 If Java worked more consistently the top places would be much more interesting 2011-06-16T06:22:20 I don't care about places cause it's beta, but enjoy some real fights :) 2011-06-16T06:22:20 Don't want to give me a copy of your bot to test against do you ? :-) I've got a Stocha and a Leviathan 2011-06-16T06:23:14 It could be decompiled, so I wouldn't like to do that 2011-06-16T06:23:41 yeah, thats not good.. pity you can't just make a .exe of it or something 2011-06-16T06:23:42 maybe if there's a way to create a binary undecompilable version 2011-06-16T06:24:06 the other solution would be tcp server 2011-06-16T06:25:45 http://jode.sourceforge.net/ - obfuscate it... but it does seem that Java is by it's nature giving away the code :-) 2011-06-16T06:25:51 sir_macelon: I believe NetBeans has an options for code obfuscation while making jar-file. 2011-06-16T06:26:32 *** McLeopold has quit IRC (Read error: Connection reset by peer) 2011-06-16T06:27:32 i wouldn't like to take the risk :) 2011-06-16T06:29:00 but suerly there will be some advanced c++ bots 2011-06-16T06:29:06 you could ask for 2011-06-16T06:29:14 *** onensora has joined #aichallenge 2011-06-16T06:29:52 indeed, I already have one (Leviathan), I just like to get some variety in my local testing, there's only so many times you can play against GreedyBot :-) 2011-06-16T06:30:42 Stocha seems very strong, beats Leviathan and me (Zaphus) most of the time locally, is just low down the ladder because of the Java VM issue 2011-06-16T06:31:35 I use only stocha's bot so far and still didn't fully exploit it :) 2011-06-16T06:32:09 but about this hunting, there's nothing special, it's just like moving food :) 2011-06-16T06:33:04 not quite, you attack with a wave of ants which is interesting to watch (even if you don't mean to) 2011-06-16T06:33:16 *** stocha has joined #aichallenge 2011-06-16T06:34:22 speak of the devil - just commenting that your bot is pretty strong, Stocha 2011-06-16T06:35:49 stocha curently the starter c bot. 2011-06-16T06:35:54 on the test server i mean 2011-06-16T06:36:22 i have a project of making a stocha_ref_light and stocha_ref_greedy C version though. 2011-06-16T06:36:34 maybe i'll finish before the test server actually can run some java bot properly 2011-06-16T06:37:59 the problem with very log is to know if it even MAKE SENSE to build a bot upon it. I don't know if the current engin will be able to run it. Not speaking about the communication protocol wich may proved quite tricky. So if some people would give me their (enlightened ) opinion about the feasibility of bulding/running a verilog bot .... 2011-06-16T06:38:31 *** GeorgeSebastian has joined #aichallenge 2011-06-16T06:38:35 The bot most people refers as "stocha" is a kind of stocha_ref_greedy (with some bug added) 2011-06-16T06:39:06 *** GeorgeSebastian has quit IRC (Quit: Leaving) 2011-06-16T06:39:10 why are you putting Stocha up as a ref bot ? thats a pretty strong starting point, right ? 2011-06-16T06:39:15 i find the stocha_ref_light more pleasing intellectually. but it's weaker. 2011-06-16T06:39:29 *** GeorgeSebastian has joined #aichallenge 2011-06-16T06:39:36 *** GeorgeSebastian has joined #aichallenge 2011-06-16T06:39:37 Zaphus: ? 2011-06-16T06:39:54 Zaphus: i didn't quite get it. 2011-06-16T06:40:00 what was your question ? 2011-06-16T06:40:33 Stocha: Your bot, Stocha, is way more powerful than Greedy 2011-06-16T06:40:58 Zaphus: yeah. stocha_ref_light might proove to be a good intermediary 2011-06-16T06:41:23 Zaphus: the point with Stocha, is that it implements the main thread ideas people will most probably have. 2011-06-16T06:41:33 the quick one. 2011-06-16T06:42:17 So because people will discus those idea in here at some point, there is little purpose trying to protect them from investigation. 2011-06-16T06:42:48 although it seems that bit manipulation obfuscate my code quite well at this point :p 2011-06-16T06:44:47 hehe, well said. 2011-06-16T06:44:47 stocha: Just seems unfair on the people starting in other languages, who don't get that same starting place. you're doing all sorts of interesting stuff in there :-) 2011-06-16T06:44:48 The other thing is : although i'd like to win the challenge for prooving something to the world, sharing proves to be far more satisfying to me :p 2011-06-16T06:45:31 Zaphus: yeah that worry me a bit. Although all people can use the java bot. Java people seems to more keen into doing that. 2011-06-16T06:45:49 I don't think anyone tryed or will try to use my code as a starting point though. 2011-06-16T06:46:15 Is the stocha C bot the same as the java one you sent me the other day ? because I'd have expected to see it way higher on the ranking if it was 2011-06-16T06:46:18 the idea are much more worthy than the implementation itself. Wich would fit only with bit-oriented-thinking. 2011-06-16T06:46:58 Zaphus: the current STOCHA-C on the TEST SERVER, is C-STARTER bot ! 2011-06-16T06:47:21 it's basically even worst than a pure random bot. 2011-06-16T06:47:36 hmm, now I see why I got confused - I thought you meant you'd made the C-Starter Bot use the Stocha code :-) not the other way around! 2011-06-16T06:47:52 okay :) 2011-06-16T06:48:28 although people can just grab stocha java bot, make a few tweaks, and upload 2011-06-16T06:49:07 anyway, back to figuring out why my bot's attacking code is afraid of a single ant sitting all alone :-) 2011-06-16T06:49:12 can they. 2011-06-16T06:50:17 Zaphus: the wave is just an effect of adjusting the movement of ants so they won't get killed 2011-06-16T06:50:23 i didn't really think of that to be fair. i though people would want to put in their own code. 2011-06-16T06:51:32 stocha: well, if you release the bot to everyone, they can do that - nothing stopping them... tweak the numbers to get slightly different behaviour. you underestimate the laziness of people :-) 2011-06-16T06:51:35 i also enjoy seeing it battling, because I didn't hardcoded any battle moves, so my ants get only directives which they are figuring out pretty well :) 2011-06-16T06:52:08 sir_macelon: It looks great, I really like it, really good to watch 2011-06-16T06:52:11 Zaphus: tweak seems quite hard if you don't understand how it works. And if you do, you don't need the code then (wich is buggy also) 2011-06-16T06:53:06 *** antimatroid has quit IRC (Ping timeout: 252 seconds) 2011-06-16T06:54:12 anyone knows verilog in there ? 2011-06-16T06:54:54 *** Floder has joined #aichallenge 2011-06-16T06:58:56 *** Floder has quit IRC (Client Quit) 2011-06-16T07:07:10 stocha: I think "anyone knows what is verilog" is a better question :) 2011-06-16T07:11:05 Zaphus: I think I found a bug in the playgame.py. Let's confirm it before posting an issue on the Github. 2011-06-16T07:11:21 UncleVasya: what is it ? 2011-06-16T07:12:20 something like # >()< at end of the line 2011-06-16T07:12:23 clearly a bug 2011-06-16T07:13:12 what does it cause to happen ? 2011-06-16T07:13:58 was a joke 2011-06-16T07:14:02 ... :) 2011-06-16T07:14:49 oh, :-) 2011-06-16T07:15:08 something like >8< 2011-06-16T07:15:18 yeah :) 2011-06-16T07:16:10 Zaphus: If you try to involve exe-bot in the fight using relative-path, it will fall unless your bot is not int the same directory as a playgame.py 2011-06-16T07:16:40 So "my_bots\MyBot.exe" doesn't works 2011-06-16T07:16:48 actually, yes, I think I've been stuck trying to do that locally and it didnt work 2011-06-16T07:17:02 you need the dp0 at the start to make it work, but shouldnt need it 2011-06-16T07:17:03 It works only with absolute path. 2011-06-16T07:18:17 *** guyverthree has joined #aichallenge 2011-06-16T07:18:20 hey all 2011-06-16T07:19:20 hi. 2011-06-16T07:19:42 Zaphus: yes, adding %~dp0 solved the problem. 2011-06-16T07:25:48 mleise: Are you here? 2011-06-16T07:28:03 yes 2011-06-16T07:30:34 Is it easy to determine that program is running via Wine under Linux? 2011-06-16T07:31:26 Or must I ask user to pick his OS? 2011-06-16T07:31:26 Okay let me test it this : Anyone in there knows assembly langage ? Do you think a a 64 bits assembly language should be supported for the contest ? if Yes i might try to port my Stocha-ref-light bot to it :p 2011-06-16T07:32:24 The question would be, what specifially 64 bit assembly langage will be supported, what about the interfacing with the input/output console. 2011-06-16T07:32:32 stocha: Is it your site where "Hellow world" writen in 2000 languages?:) 2011-06-16T07:32:48 >_< 2011-06-16T07:33:00 it's a cooperative site most probably. 2011-06-16T07:33:12 i'm juste interested with verilog at the moment. 2011-06-16T07:33:43 a more concret language would be an assembly langage. A more high level language would be C. An even more high level language would be Java. 2011-06-16T07:33:44 UncleVasya: I don't quite understand you. A linux user must install wine and then I think it should work. 2011-06-16T07:33:58 This one is nice too: http://99-bottles-of-beer.net/ 2011-06-16T07:34:20 The stocha-ref-bot is design with bit logic at it's core. So building it over the most low level language make sense really. 2011-06-16T07:34:25 Maybe some versions of wine don't launch linux python. These would have to install Python for windows into wine as well... 2011-06-16T07:35:03 the lowest language i found was verilod. Hence my question about it :p 2011-06-16T07:35:11 verilog 2011-06-16T07:35:19 But I hope that I can just click on your next .exe and it works! 2011-06-16T07:35:41 mleise: I already replaced absolute paths with relative ones. Now I think I must to replace '\' with '/' if program is running under Linux. 2011-06-16T07:36:32 But if it's running under Windows then '\' must stay. 2011-06-16T07:36:47 i'd like to learn verilog and apply to job for it. There is a firm that need verilog-er right next to the place i live. 2011-06-16T07:37:01 they want experienced user obviously, but well. 2011-06-16T07:37:20 UncleVasya: You don't need \ under Windows, trust me 2011-06-16T07:38:10 mleise: you are right. 2011-06-16T07:40:56 mleise: and what's abot %~dp0 ? It is ok under Linux? 2011-06-16T07:41:07 '%~dp0dist/sample_bots/python/HunterBot.py'" 2011-06-16T07:41:31 no this is only understood by Windows' cmd.exe 2011-06-16T07:41:36 *is it 2011-06-16T07:41:47 It works only in batch files on Windows 2011-06-16T07:41:54 So I must determine OS anyway? 2011-06-16T07:42:04 no, you can use relative paths :p 2011-06-16T07:42:31 %~dp0 just gives you the current directory.. but you are there already so you should not need it 2011-06-16T07:42:37 I can't use relative paths under Windows without %~dp0 2011-06-16T07:42:54 that is strange 2011-06-16T07:43:21 mleise: it's a playgame.py issue. 2011-06-16T07:43:27 I don't understand why it would not work 2011-06-16T07:43:36 It works on linux 2011-06-16T07:44:14 I think playgame.py changing current directory while it working or something like that. 2011-06-16T07:44:42 or the python process is launched i a different directory 2011-06-16T07:45:24 you still use the .cmd file, right? 2011-06-16T07:45:41 yes 2011-06-16T07:46:15 You can let playgame.py print out the current directory on start to verify the problem 2011-06-16T07:46:28 I'm finding the new tools don't work quite right on windows 2011-06-16T07:46:30 relatives path works on winows. 2011-06-16T07:46:31 print os.cwd() <- add this to the main 2011-06-16T07:46:37 they sure worked last time i tryed. 2011-06-16T07:46:40 everythign needs a bit of jigging to get it to work correctly 2011-06-16T07:46:48 (with command line i mean) 2011-06-16T07:47:00 (with command batch file rather) 2011-06-16T07:48:36 in the batch file the current working directory is still correct, since %~dp0 works there. So it must happen when python is started by cmd.exe 2011-06-16T07:50:08 *** FireFly has joined #aichallenge 2011-06-16T07:51:58 UncleVasya: If you try out os.cwd please tell me what it says. The working directory may give us a clue on which piece of software is misbehaving 2011-06-16T07:52:16 mleise: print os.cwd() Invalid syntax :) 2011-06-16T07:54:30 Maybe we shall wait for McLeopold or someone else who can tell us about using relative paths under windows. 2011-06-16T07:55:11 mleise: Now I'll make version without %~dp0 and with '/' . 2011-06-16T07:56:43 UncleVasya: sorry, os.getcwd() 2011-06-16T07:57:00 wow, holy '/' ! 2011-06-16T07:57:19 With '/' it works even without %~dp0 2011-06-16T07:58:11 no, it doesn't. A little mistake here. 2011-06-16T07:58:53 mleise: now I have version wich produces cmd-file with stuff like that: 'dist/sample_bots/python/HunterBot.py' 2011-06-16T08:00:02 i found an ant bot. It looks like one : http://www.youtube.com/watch?v=yx7_yzypm5w&NR=1 2011-06-16T08:00:19 relative paths should just work under windows 2011-06-16T08:00:43 the only thing i have found is that relative paths in windows are always from the base sscript 2011-06-16T08:01:05 so if you call one perl script from another the base path is the first script 2011-06-16T08:04:26 mleise: http://www.filefactory.com/file/ccd667e/n/AntsTesting_0.3_Linux_2.7z 2011-06-16T08:04:47 *** guyverthree has quit IRC (Quit: Page closed) 2011-06-16T08:07:05 UncleVasya: Thank you ! It works!! 2011-06-16T08:08:01 def main(argv): 2011-06-16T08:08:01 print os.getcwd() 2011-06-16T08:08:02 ^ 2011-06-16T08:08:02 SyntaxError: invalid syntax 2011-06-16T08:08:34 forgot: import os 2011-06-16T08:08:37 mleise: Is replay viewing works too? 2011-06-16T08:08:48 no, it's already imported 2011-06-16T08:09:44 UncleVasya: yes it opens my browser :) 2011-06-16T08:14:54 *** |UncleVasya| <|UncleVasya|!kvirc@31.144.205.43> has joined #aichallenge 2011-06-16T08:17:51 *** UncleVasya has quit IRC (Ping timeout: 260 seconds) 2011-06-16T08:35:56 *** |UncleVasya| <|UncleVasya|!kvirc@31.144.205.43> has quit IRC (Ping timeout: 260 seconds) 2011-06-16T08:39:57 nice network @ukraine 2011-06-16T08:44:10 *** stocha has quit IRC (Ping timeout: 252 seconds) 2011-06-16T09:01:18 finally figured out my bug in my code... boiled down to the fact that (x+2)^2 != (x^2)+2 silly maths error :-) 2011-06-16T09:01:20 *** antimatroid has joined #aichallenge 2011-06-16T09:16:55 *** Zaphus has quit IRC (Quit: Page closed) 2011-06-16T09:17:28 *** UncleVasya has joined #aichallenge 2011-06-16T09:29:27 *** onensora has quit IRC () 2011-06-16T09:30:17 Zaphus: unit tests should detect such errors :) 2011-06-16T09:32:20 *** onensora has joined #aichallenge 2011-06-16T09:35:18 http://aichallengebeta.hypertriangle.com/visualizer.php?game=25565 fastest win I've seen so far 2011-06-16T09:40:55 very nie 2011-06-16T09:40:58 nice* 2011-06-16T09:46:26 your enemies were practically standing still 2011-06-16T09:48:08 why was your second ant turning to the food soo late after a 90deg turn? 2011-06-16T09:48:28 90 deg turn? 2011-06-16T09:48:48 what? 2011-06-16T09:49:32 you rather want pi/2 radians? 2011-06-16T09:50:10 antimatroid pls explain what does your question mean? 2011-06-16T09:50:12 that's how my a* works 2011-06-16T09:50:28 mcstar: why not just think of it as n,e,s,w? 2011-06-16T09:50:48 this is easier for me? 2011-06-16T09:50:54 and its comulative 2011-06-16T09:51:15 if it makes a e,s,w i just write 90 deg 2011-06-16T09:51:29 yes, i should have written -90 deg before sry 2011-06-16T09:51:52 mcstar: i don't get your original point about the second ant? 2011-06-16T09:51:56 what does it do that's funny 2011-06-16T09:52:04 i'm interested in sir_macelons a* now 2011-06-16T09:52:21 i have a new problem for my a* algorithm 2011-06-16T09:52:41 updating h values efficiently if I take a target out of the set 2011-06-16T09:53:01 if i can do that, my a* is complete 2011-06-16T09:53:29 well, its just a bit hard to get used to that travelling the edges of the rectangle is as fast as travelling its jagged diagonal :D 2011-06-16T09:54:22 my rather simple alg. makes n,e moves randomly if the food is in that direction 2011-06-16T09:54:55 i mean the selected direction depends upon the quadrant the food is located realitive to the given ant 2011-06-16T09:55:15 so its more like a "staright" line 2011-06-16T09:55:17 i'm so confused 2011-06-16T09:55:20 *** onensora has quit IRC () 2011-06-16T09:55:21 what turn does it happen on? 2011-06-16T09:55:34 in the prev game? in the beginnning 2011-06-16T09:55:44 >13 2011-06-16T09:56:53 i don't see anything weird :\ 2011-06-16T09:57:11 well i didnt say it was weird 2011-06-16T09:57:18 sir_macelon: what does your a* do? 2011-06-16T09:57:39 *** amstan_ has joined #aichallenge 2011-06-16T09:57:39 *** ChanServ sets mode: +o amstan_ 2011-06-16T09:57:50 like, when you run it, what are your sources and targets, and what's your h function? 2011-06-16T09:58:02 *** onensora has joined #aichallenge 2011-06-16T09:58:40 i use a* for a single source and single target 2011-06-16T09:58:58 so h is very simple, just the distance left to the target 2011-06-16T09:59:34 i handle multiple targets by sorting all targets based on the closest distance to closest ant 2011-06-16T10:00:06 and just doing a* for the closest source and target 2011-06-16T10:00:22 so if you have say *....a..%* your a* would just try to send a right somehow? 2011-06-16T10:00:32 if it is still the closest after finding path then that's it 2011-06-16T10:00:41 take it and move on to the next target 2011-06-16T10:00:49 and if it's not? 2011-06-16T10:01:13 yes it will find the path to the right food first 2011-06-16T10:01:33 hmmm, i suspect a simple bfs from all food locations might even be faster for you 2011-06-16T10:01:45 but then after sorting left food will be on top 2011-06-16T10:01:51 and then find a path for it 2011-06-16T10:01:56 then work on doing a* with that 2011-06-16T10:02:18 i find this way quite efficient 2011-06-16T10:02:56 if there aren't many obstacles on the way, then it's the quickest way 2011-06-16T10:03:29 *** amstan_ is now known as amstan 2011-06-16T10:04:03 moreover i use single source single target a* to other purposes than just collecting food 2011-06-16T10:04:34 checking if enemy will reach the food faster, finding explore paths 2011-06-16T10:05:13 finding other path if the initial is not secure 2011-06-16T10:05:22 if you have multiple targets and don't want to "collect" food enemies can reach fastest, just use their ants as well when collecting with multiple sources 2011-06-16T10:06:55 i prefer first checking the distance before trying to find a path 2011-06-16T10:07:26 so sometimes you don't even have to look for path 2011-06-16T10:09:13 anyway i am not trying to convince you to use a* instead of bfs 2011-06-16T10:09:32 i am pretty confident with my way, it fits to my design well 2011-06-16T10:09:38 i've already decided on a* :P 2011-06-16T10:09:50 i have it worked out, i just want to make h more efficient 2011-06-16T10:09:57 otherwise it might end up being slower than bfs 2011-06-16T10:11:36 from what i've seen food collection algorithm is not that important, usually you won't have too many targets and simple a* will do 2011-06-16T10:12:07 exploration and battles here comes the differences between bots strengths 2011-06-16T10:13:02 i'm pretty keen on using my food collection algorithm 2011-06-16T10:13:14 it might not be the fastest, but it's way better than the more trivial ones 2011-06-16T10:14:16 food collection algorithm will be nothing without right exploration algorithm 2011-06-16T10:15:11 yes, that is separate 2011-06-16T10:15:21 food collection is the first thing i run though 2011-06-16T10:15:42 then battles, then exploration/maximising visibility etc. 2011-06-16T10:16:08 step by step :) 2011-06-16T10:22:46 antimatroid: I know you are in love with JBot Manager. What I have to do in my app to make it able to conquer your heart? 2011-06-16T10:24:12 UncleVasya: live tcp games and the ability to play my own bot 2011-06-16T10:24:43 *** sir_macelon has quit IRC (Quit: Page closed) 2011-06-16T10:25:34 What do you mean by "the ability to play my own bot"? 2011-06-16T10:25:48 like, i as a human play my bot in a game 2011-06-16T10:25:57 with the time limit way up so i can actually make my moves 2011-06-16T10:26:07 that is the ultimate debugging tool 2011-06-16T10:26:27 live tcp games are just aesthetically awesome 2011-06-16T10:27:04 also, i'm not going to run windows, so it needs to work on ubuntu, i don't mind running wine, i think people said that worked before? 2011-06-16T10:27:22 Do you wanna make some moves instead of your bot or to play versus your bot? 2011-06-16T10:27:49 i want to play against my bot 2011-06-16T10:28:06 antimatroid: I have a version that works fine with Wine. 2011-06-16T10:28:41 Wanna link? It has nothing from what you want but at least you'll see how it looks. 2011-06-16T10:28:53 i'm not sure how you'd take moves, being able to click and ant then click a target locations would be the coolest, reclicking a selected ant unselecting them 2011-06-16T10:29:09 i don't have wine installed, i'll do it after next thursday when i'm done with exams :) 2011-06-16T10:29:25 otherwise i'd settle for manually typing in my moves :) 2011-06-16T10:30:05 Also I was thinking about making visual map editor. 2011-06-16T10:30:14 that would be neat 2011-06-16T10:30:22 a web app of somekind for that would be coolest 2011-06-16T10:31:47 You are painting a part of map using water and start positions, then you choose a type of symmetric and program builds another parts of the map. 2011-06-16T10:32:10 I have no web-experiens at all. 2011-06-16T10:32:16 yeah fair enough 2011-06-16T10:32:23 i have no gui or web experience :) 2011-06-16T10:32:44 i am more than happy with an application, i was thinking more about other people getting use out of it ;) 2011-06-16T10:33:31 people will love you for human vs bot mode 2011-06-16T10:33:53 actually a bmp to ascii converter is very easy to make 2011-06-16T10:33:58 How can you be happy ith it if you didn't use it yet? 2011-06-16T10:34:20 if it sufficiently met the description i would be happy 2011-06-16T10:34:24 that better? :p 2011-06-16T10:36:28 "being able to click and ant then click a target locations would be the coolest, reclicking a selected ant unselecting them" - it will be very interesting part. I never made stuff like this before so I can not say for sure I can do it. But it doesn't look very hard to implement. 2011-06-16T10:36:44 i did a little script in mathematica, that has real time controls, basically you can drag a point on the board, and the ant moves along, displaying the cumulative damage it would give on nearby squares 2011-06-16T10:37:04 *** aerique has quit IRC (Quit: ...) 2011-06-16T10:37:07 a cross-platform maybe web version of this would be very useful when thinking up battle startegies 2011-06-16T10:38:19 im sure frontier knows how to do this 2011-06-16T10:38:30 on a html5 canvas 2011-06-16T10:38:32 UncleVasya: :D 2011-06-16T10:38:59 mcstar: he's done a LOT with the visualiser already, and most likely still has to do mor 2011-06-16T10:39:24 do you think he will come up with some like this? 2011-06-16T10:39:34 or u mean that hes done enoguh :) 2011-06-16T10:39:40 i wouldn't count on him finding the time 2011-06-16T10:39:59 well, i dont do web soo.. 2011-06-16T10:40:04 maybe in python? 2011-06-16T10:40:12 yeah doesn't really matter 2011-06-16T10:40:32 the only people participating that wont be able to run a python program would be beginner java programmers is my guess 2011-06-16T10:40:36 and imo, screw 'em :P 2011-06-16T10:40:43 actually 2011-06-16T10:40:48 they sort of have to be able to don't they :P 2011-06-16T10:40:52 to run the engine 2011-06-16T10:41:07 i have no idea what you mean 2011-06-16T10:41:16 why couldnt they run it? 2011-06-16T10:41:36 there was a time where if you gave me a python program, i wouldn't have had a clue what to do with ti 2011-06-16T10:41:39 i dont think its easier to develop in java then run a python code snippet 2011-06-16T10:41:50 ok 2011-06-16T10:41:59 everybody knows google 2011-06-16T10:42:09 its your best friend after all 2011-06-16T10:42:13 it is 2011-06-16T10:42:38 i had a delayed mind blow earlier to do with google 2011-06-16T10:42:45 yeah? 2011-06-16T10:42:52 the fact that you can pretty much check the street view of anywhere in the world 2011-06-16T10:43:04 in cities 2011-06-16T10:43:16 like you're talking about some intersection, you can just post a link to it for anyone in the world, then bam, people can suss it out 2011-06-16T10:43:16 i think thats a bit too much 2011-06-16T10:43:19 yeah, not everywhere 2011-06-16T10:43:23 but they've done a lot 2011-06-16T10:43:28 fuck em 2011-06-16T10:43:31 :D 2011-06-16T10:43:49 its getting a bit creepy dont you think? 2011-06-16T10:44:03 why? 2011-06-16T10:44:33 google has repeatedly done things I would like of a company interested in doing good over simply maximising profits 2011-06-16T10:44:38 they are one of my favourite companies 2011-06-16T10:44:46 i think you have heard of utopistic societies being controlled by all-seeing computing machines... 2011-06-16T10:45:08 yes, but they're not even approaching anything like that? 2011-06-16T10:45:16 give them time... 2011-06-16T10:45:24 i'll be dead 2011-06-16T10:45:32 nowhere near anything like that 2011-06-16T10:45:40 oh, nnooo, only if youll have an accident 2011-06-16T10:46:15 anywho, cant i be a little paranoid? makes life more fun 2011-06-16T10:46:17 i'm not a fan of constant surveillance etc. 2011-06-16T10:46:25 i don't like that trend 2011-06-16T10:46:53 we have surveillance cameras everywhere now 2011-06-16T10:47:02 horrible 2011-06-16T10:47:13 i cant urinate on the wall on the street anymore 2011-06-16T10:47:19 it can be fun walking around picking them out 2011-06-16T10:47:28 picking ? 2011-06-16T10:47:32 what do you mean? 2011-06-16T10:47:38 destroying them? 2011-06-16T10:47:48 hehe, on my 21st birthday night, like 12:30am on my birthday, cop see's be pissing on a wall and bans me from the cbd for 8 hours :( 2011-06-16T10:47:55 was with my cousin, was pretty funny in the end 2011-06-16T10:48:10 cbd? 2011-06-16T10:48:11 not destroying, just walking around looking for them 2011-06-16T10:48:14 *** GeorgeSebastian has quit IRC (Ping timeout: 276 seconds) 2011-06-16T10:48:17 central business district 2011-06-16T10:48:26 that's like the name of the middle of cities in australia 2011-06-16T10:48:27 oh, pissing in downtown? 2011-06-16T10:49:38 oh, speaking of pissing, i have a ridiculous story for you.. 2011-06-16T10:49:47 listening 2011-06-16T10:49:51 http://www.oregonlive.com/portland/index.ssf/2011/06/man_caught_urinating_in_mt_tab.html 2011-06-16T10:50:35 loll 2011-06-16T10:50:40 for one man? 2011-06-16T10:50:49 http://www.reddit.com/r/WTF/comments/i0twa/man_urinates_in_water_reservoir_prompts_city_to/ 2011-06-16T10:50:53 that's the reddit post 2011-06-16T10:50:54 did he pissed a couple of cubic meters of piss? 2011-06-16T10:50:57 pretty ridiculous 2011-06-16T10:52:30 i would say its stupid 2011-06-16T10:52:58 i mean maybe the man this Shaff just wanted the limelight 2011-06-16T10:54:12 the last line is the best 2011-06-16T10:54:18 I thought this was a sewage treatment plant. 2011-06-16T10:54:28 haha, i didn't read that :P 2011-06-16T10:54:39 milo has to be one of the nicest things in the world 2011-06-16T10:55:46 guess my next question 2011-06-16T10:55:57 what's a buffalo? 2011-06-16T10:56:03 whats milo 2011-06-16T10:56:21 http://en.wikipedia.org/wiki/Milo_(drink) 2011-06-16T10:56:32 http://en.wikipedia.org/wiki/File:Nestl%C3%A9_Milo_Comparison.jpg 2011-06-16T10:56:38 we get the good shit, the finer stuff on the right 2011-06-16T10:56:59 you put it in milk, and stir it, then you have a chocolate like milk drink with delicious stuff at the top 2011-06-16T10:57:04 it's "malted bali" 2011-06-16T10:58:05 so its solid beer with chocolate? 2011-06-16T10:58:16 not beer 2011-06-16T10:58:19 hehe 2011-06-16T10:58:30 beer-bars 2011-06-16T10:59:30 is it ok if i close reddit now, sir? 2011-06-16T10:59:34 sure 2011-06-16T10:59:44 :) 2011-06-16T11:00:00 i hate when people post imgur pictures 2011-06-16T11:00:20 i end up browsing them for half an hour when i realize how much time passed by 2011-06-16T11:00:50 lol, reddit is such a drain on my time 2011-06-16T11:01:27 i should grep the contestbot logs just to see how many times you said reddit 2011-06-16T11:01:39 gonna be a world record 2011-06-16T11:01:57 please let it be 326 2011-06-16T11:02:20 you have to do it now 2011-06-16T11:03:02 ah 2011-06-16T11:03:06 ok 2011-06-16T11:03:42 *** Gudradain has joined #aichallenge 2011-06-16T11:06:02 *** InsaneMalkavian has joined #aichallenge 2011-06-16T11:06:26 it has to wait i have somebody to deal with 2011-06-16T11:09:41 so... anyone heard of the bitcoin heist? 2011-06-16T11:09:54 amstan: saw the post, didn't read much 2011-06-16T11:10:00 haven't really paid any attention to bitcoin 2011-06-16T11:10:22 well, i'm kinda amazed, it doubled its value from last month 2011-06-16T11:11:21 (people want to take away my puppies) 2011-06-16T11:11:55 mcstar: i believe you must challenge them to a duel 2011-06-16T11:11:58 that's not on 2011-06-16T11:12:35 well, we cant keep them, but theyre soo cute 2011-06-16T11:12:42 my heart breaks 2011-06-16T11:12:52 i miss having a dog :( 2011-06-16T11:12:58 they're so awesome 2011-06-16T11:13:34 http://a1.sphotos.ak.fbcdn.net/photos-ak-snc1/v314/220/28/729581199/n729581199_907975_3634.jpg?dl=1 can you view that? 2011-06-16T11:14:02 that was a few years ago 2011-06-16T11:14:14 http://pastebin.com/eQsHFdTJ 2011-06-16T11:14:26 *** carlop has joined #aichallenge 2011-06-16T11:14:37 FFFFFFFFFff 2011-06-16T11:14:41 there was a 327 2011-06-16T11:14:54 you mean 1327 2011-06-16T11:15:11 contestbot: exec uname 2011-06-16T11:15:12 amstan: User error -- Replace user. 2011-06-16T11:15:19 irrelevant, any time i see 326, even as part of something,i giggle 2011-06-16T11:15:20 contestbot: commands 2011-06-16T11:15:20 amstan: action, add, alert, alias, announce, announce add, announce list, announce remove, any, aol, apply, apropos, at, author, azn, ban add, ban list, ban remove, base, binary, bold, cache, calc, call, capabilities, capability add, capability list, capability remove, capability set, capability setdefault, capability unset, capitalize, change, changename, channel, channels, channelstats, chr, cmd, (5 more messages) 2011-06-16T11:15:29 3206 is even better (3 twenty 6) 2011-06-16T11:15:40 contestbot: cmd uname 2011-06-16T11:15:40 amstan: (cmd takes no arguments) -- Returns some interesting command-related statistics. 2011-06-16T11:15:41 love his glowing eyes, but he wasnt a goaul'd puppy? 2011-06-16T11:15:49 mcstar: she :P 2011-06-16T11:15:50 hmm, there was a shell exec command 2011-06-16T11:16:03 sry, couldnt tell from the distance 2011-06-16T11:16:55 you look kind of said, if thats you 2011-06-16T11:17:13 dont like when caugt on a foto? 2011-06-16T11:17:38 hehe, i just found pictures of me after i got hit by a car 2011-06-16T11:17:46 things went okay, i was out of hospital that day 2011-06-16T11:18:23 how tall are you if i might ask? 2011-06-16T11:18:51 not entirely sure, let me go get a rough estimate, i have a tape measurer across the room 2011-06-16T11:19:34 167-168cm maybe? 2011-06-16T11:20:01 hm, i would have said >185 2011-06-16T11:20:12 i was just really slumped in that picture 2011-06-16T11:20:17 i'm quite short for a guy 2011-06-16T11:20:21 but not really short 2011-06-16T11:20:21 you just look long, that was the first thing i came to my mind when i saw the pic 2011-06-16T11:21:23 do you use metric down under? 2011-06-16T11:21:41 does someone remember, why jskill was chosen over trueskill.py ? 2011-06-16T11:22:14 berak: what? 2011-06-16T11:22:18 trueskill is used 2011-06-16T11:22:39 oh, got that wrong, thanks 2011-06-16T11:23:42 where did you get jskill from? 2011-06-16T11:23:55 mcstar: yeah 2011-06-16T11:24:00 we even use km/h for speed 2011-06-16T11:24:04 manager/jskills 2011-06-16T11:24:53 berak: yeah, not sure what's going on there 2011-06-16T11:25:01 updating my h values is messy :( 2011-06-16T11:25:25 automated log download has begun.... 2011-06-16T11:25:30 *** Ice_Harley has quit IRC (Ping timeout: 252 seconds) 2011-06-16T11:25:38 i'm almost 2011-06-16T11:25:41 mcstar: wget? you know there's a git link 2011-06-16T11:26:02 wget 2011-06-16T11:26:22 i didnt know, but im not better off with git 2011-06-16T11:26:34 ... 2011-06-16T11:26:48 amstan: can you describe in detail how you see the work of a button for making submissions in testing app 2011-06-16T11:26:50 yeah, nubs still exist 2011-06-16T11:26:57 all you have to do is git clone, and git pull when you want it to be updated 2011-06-16T11:27:11 its a one time project for antimatroid 2011-06-16T11:27:25 UncleVasya: you need to look at what magic submit.php does 2011-06-16T11:27:38 UncleVasya: it pretty much expects a file to be uploaded to it 2011-06-16T11:28:21 UncleVasya: are you familiar with php or another server side language? 2011-06-16T11:28:33 no 2011-06-16T11:28:38 http://pastebin.com/J94eLjK9 2011-06-16T11:28:59 that's what my updates need to do :\, it can be done, but it's a bit messy, not sure if the way i'm thinking is the best way 2011-06-16T11:29:32 UncleVasya: http://delphi.about.com/od/delphitips2007/qt/httppost_delphi.htm 2011-06-16T11:29:34 I meant what user may want from this button? 2011-06-16T11:29:39 UncleVasya: you'll also need to login somehow 2011-06-16T11:29:44 why arent there any 1:1 monospace fonts? 2011-06-16T11:29:46 UncleVasya: oh.. i see 2011-06-16T11:30:05 UncleVasya: well.. your app should know where the bot is stored 2011-06-16T11:30:13 and should pack the whole folder and upload it 2011-06-16T11:30:41 *** boegel has quit IRC (Read error: Operation timed out) 2011-06-16T11:30:55 a1k0n_: http://pastebin.com/J94eLjK9 :) 2011-06-16T11:31:27 Many people (and I am) have trash in the folder where bot's sources are stored. 2011-06-16T11:31:37 It can be >2mb. 2011-06-16T11:32:32 a1k0n_: can you think of anything better than scanning out from the removed target onto an ordered queue and then iteratively finding the "shortest" path neighbour that isn't in the set of locations to be updated? .. or something along those lines... 2011-06-16T11:32:59 amstan: And figuring out what files aren't a trash might be difficult. 2011-06-16T11:33:17 parse the makefile 2011-06-16T11:33:43 UncleVasya: yeah, you should add a pre-upload command option 2011-06-16T11:33:51 so i can just type make clean in a textbox 2011-06-16T11:33:56 and it'll execute it prior to packing 2011-06-16T11:34:08 you could even rm things with that 2011-06-16T11:34:23 UncleVasya: do you know the wonders of makefiles? 2011-06-16T11:35:53 mcstar: What about people who uses MS Visual Studio, NetBeans etc? 2011-06-16T11:36:41 doesnt everybody has gcc? and makefile is uniform, once you have cygwin 2011-06-16T11:36:43 mcstar: They use Projects instead of makefiles. 2011-06-16T11:37:01 i use project files with code::blocks 2011-06-16T11:37:06 oh 2011-06-16T11:37:10 noway 2011-06-16T11:37:18 and mingw instead of gcc 2011-06-16T11:37:20 antimatroid: that's pretty much what i'd do but a queue is not strictly necessary 2011-06-16T11:37:21 when on windows 2011-06-16T11:37:32 a1k0n_: it needs to be ordered in some way 2011-06-16T11:37:37 makefile is the solution even to overpopulation 2011-06-16T11:37:39 i'm on the phone now so i don't have the spare parallel brain capacity to explain 2011-06-16T11:37:40 i haven't quite ironed out what the ordering needs to be 2011-06-16T11:37:49 yeah fair enough :) 2011-06-16T11:38:52 UncleVasya: obviously it cant be hard to make the user selec some files, that he wants to package 2011-06-16T11:39:07 amstan: pre-upload command option? 2011-06-16T11:39:44 UncleVasya: talk to these guys.. i'm out of battery 2011-06-16T11:40:01 mcstar: seems to know The Way 2011-06-16T11:40:32 lol, i went 1 2 4 2011-06-16T11:40:39 antimatroid: 119 2011-06-16T11:40:44 your lucky number 2011-06-16T11:41:22 you said 119 time reddit since 2010.04 2011-06-16T11:41:27 s 2011-06-16T11:41:40 no logs from tron? :( 2011-06-16T11:41:55 oh, sorry, i dont know 2011-06-16T11:42:06 dw, i remember reading the start of the logs 2011-06-16T11:42:13 they were talking about what game to use which ended up being pw 2011-06-16T11:44:37 mcstar: If selecting files, I think user is more comfortable with his archiver. 2011-06-16T11:44:56 hi, i've red today discussion about change attack sytem 2011-06-16T11:45:24 UncleVasya: sry i dont get the point of that sentence 2011-06-16T11:45:59 mcstar: For example, I do upload in this way: 2011-06-16T11:46:41 i think that increase the damage for each ant can work, but i think that the main prolem is balancing between avoid blocking and having interesting attack dynamics 2011-06-16T11:47:32 antimatroid: i have some logs from tron 2011-06-16T11:47:37 cause increasing the damage for each ant imply that a lot of attack end with 1:1 kill/death ratio, so all the problem become who has the biggest army win 2011-06-16T11:47:41 antimatroid: but i don't have them there because they were in another channel 2011-06-16T11:48:20 i think UncleVasya is times out 2011-06-16T11:48:22 1. Select those few files my bot consist of. 2011-06-16T11:48:22 2. Click Pack to zip 2011-06-16T11:48:23 3. Switch to the Opera 2011-06-16T11:48:23 4. Press Browse buton, choose my archive and click Upload. 2011-06-16T11:48:26 s->d 2011-06-16T11:49:12 do you select them in in the application that youre developing? 2011-06-16T11:49:35 mcstar: If I go to make it automaticaly I need to make it more comfortable to the user than actions above. 2011-06-16T11:49:52 mcstar: No, in my file manager. 2011-06-16T11:49:56 antimatroid: nm you do need a priority queue 2011-06-16T11:50:35 UncleVasya: the user must tell at least once what files the project consists of 2011-06-16T11:51:08 i think the best is to let him drag and drop them on a spot on your gui 2011-06-16T11:51:40 the prog. saves them, and when he wants to change soemthing he d&d again, and you update the difference 2011-06-16T11:52:01 on windoze id do this ways 2011-06-16T11:52:04 -s 2011-06-16T11:52:58 *** sigh has joined #aichallenge 2011-06-16T11:53:11 *** onensora has quit IRC () 2011-06-16T11:53:16 mcstar: I saw PW bots that consist of many files. During the developing people add and delete files. I think they will forget to add files to the program often. 2011-06-16T11:53:35 wellllll 2011-06-16T11:53:44 make them eat ... 2011-06-16T11:54:14 what do you want then? for your prog. to guess what those files are? 2011-06-16T11:54:15 mcstar: Your way is seems good. Better than ones I had thinking about. 2011-06-16T11:54:32 thats too much work 2011-06-16T11:55:00 if i want to add a file to the archive, just d&d, and its updated, voila 2011-06-16T11:55:16 *** onensora has joined #aichallenge 2011-06-16T11:55:19 My point now is to figure out the profit of this functionality. I doubt users need it. 2011-06-16T11:55:41 you can add a msg-box before upload: are you sure the upload is complete? 2011-06-16T11:55:50 *** amstan has quit IRC (Ping timeout: 276 seconds) 2011-06-16T11:56:24 well, if it wont involve using the browser and a zipper, then yes, it has a point 2011-06-16T11:57:02 frankly, i would do the whole thing in memory 2011-06-16T11:57:30 pull the files, zip with an alg. in the prog. then upload it right away, wo writing to disk 2011-06-16T11:58:29 mcstar: The suggestion of automatic upload was: 2011-06-16T11:58:38 [22:13:32] <@amstan> oh.. right, someone should make an automated submission upload 2011-06-16T11:58:39 [22:13:36] <@amstan> that would be nice to include 2011-06-16T11:59:08 But when I try to imagine it's I get something useless or difficult to implement. 2011-06-16T11:59:29 useless: no, difficult: depends 2011-06-16T11:59:31 So I need to talk to amstan to understand what he told about. 2011-06-16T12:00:28 im not sure how familiar you are with the above techniques 2011-06-16T12:00:44 I like your idea with the list of files. 2011-06-16T12:01:27 are you planning to upload wo the browser? 2011-06-16T12:01:36 thats one of the main questions 2011-06-16T12:01:44 if you cant do that easy, then forget it 2011-06-16T12:02:07 there will no Drag'n'Drop. 2011-06-16T12:03:55 No, I think I don't need to use browser for uploading. I want to establish connection to the server via Delphi. 2011-06-16T12:06:01 I forgot, but is there a HTTP class in Delphi? 2011-06-16T12:06:16 its a shame, d&d is nice, imagine, sy could drop a file to any part of the app. and have it added to the archive 2011-06-16T12:06:32 *** Gudradain has quit IRC (Quit: Page closed) 2011-06-16T12:07:52 im just worried that your efforts will be wasted somewhat, a nice crossplatform tool would be more appreciated 2011-06-16T12:08:46 alright, i must attend my hashtables now 2011-06-16T12:08:53 they need care to bloom 2011-06-16T12:09:52 mcstar: As I am too lazy to learn something in a usual way to make projects like this is an easy way to get some expirience in developing. 2011-06-16T12:14:10 *** olexs has joined #aichallenge 2011-06-16T12:16:35 interesting, its not enough to define a function you actually have to call it :D 2011-06-16T12:23:20 does anyone have a* algorithm already made, so i don't need to bother 2011-06-16T12:23:22 ? :) 2011-06-16T12:25:06 i thought the fun part is when you make it yourself 2011-06-16T12:27:04 *** carlop has quit IRC (Ping timeout: 240 seconds) 2011-06-16T12:28:54 *** computerwiz_222 has joined #aichallenge 2011-06-16T12:29:25 *** |UncleVasya| <|UncleVasya|!kvirc@46.133.251.236> has joined #aichallenge 2011-06-16T12:32:45 boring :p 2011-06-16T12:32:46 *** UncleVasya has quit IRC (Ping timeout: 260 seconds) 2011-06-16T12:41:22 *** Naktibalda has quit IRC (Quit: ChatZilla 0.9.87 [Firefox 4.0.1/20110413222027]) 2011-06-16T12:47:21 *** computerwiz_222 has quit IRC (Ping timeout: 260 seconds) 2011-06-16T12:49:07 *** guyverthree has joined #aichallenge 2011-06-16T12:50:40 *** computerwiz_222 has joined #aichallenge 2011-06-16T12:55:57 *** computerwiz_222 has quit IRC (Ping timeout: 250 seconds) 2011-06-16T13:04:13 *** aeter has joined #aichallenge 2011-06-16T13:11:27 *** berak has quit IRC (Ping timeout: 255 seconds) 2011-06-16T13:14:52 *** sigh has quit IRC (Quit: This computer has gone to sleep) 2011-06-16T13:25:24 *** george1914 has quit IRC (Ping timeout: 252 seconds) 2011-06-16T13:27:32 *** aeter has left #aichallenge 2011-06-16T13:33:04 *** sigh has joined #aichallenge 2011-06-16T13:41:12 <|UncleVasya|> mcstar: I have an idea. I can archive all source files in the bot's director and skip files with not suitable extension. 2011-06-16T13:42:25 <|UncleVasya|> I can use masks like *.cpp, *.hs etc 2011-06-16T13:44:40 <|UncleVasya|> I don't ned to know what files are important and what is a trash because: 1. compiler on the server is not disturbed by un-necessary files 2. Even with un-necessary source files archive will never be bigger than 2mb 2011-06-16T13:45:23 <|UncleVasya|> So user needs only to specify a single directory. 2011-06-16T13:45:41 <|UncleVasya|> mcstar: What do you think about it? 2011-06-16T13:52:30 *** sigh has quit IRC (Quit: This computer has gone to sleep) 2011-06-16T13:56:40 im back 2011-06-16T13:57:03 *** sigh has joined #aichallenge 2011-06-16T13:57:12 well 2011-06-16T13:57:31 its hard to type | 2011-06-16T13:58:10 i didnt say this option, cause i dont consider it very elegant at all 2011-06-16T13:58:11 <|UncleVasya|> to type? 2011-06-16T13:58:19 your name begins with | 2011-06-16T13:58:51 <|UncleVasya|> ah, I was disconnected... 2011-06-16T13:59:03 *** |UncleVasya| is now known as UncleVasya 2011-06-16T13:59:04 what if the user has many versions of a source file, for example 2011-06-16T13:59:15 it might get big 2011-06-16T13:59:44 and he could store some other libraries in source code form, which he might not want to upload 2011-06-16T13:59:52 and this is very unflexible 2011-06-16T13:59:52 MyBot..cc always knows what files it needs, doesn't it? 2011-06-16T14:00:12 consider when somebody stores a whole source code hierarchy in directories 2011-06-16T14:00:46 but it might not find what it wants, cause u dont include directories 2011-06-16T14:00:57 and it could want files with whatever extensions 2011-06-16T14:01:11 or even without extensions 2011-06-16T14:01:27 so this opens up a whole bunch of problems 2011-06-16T14:01:39 or can of worms as the english say it 2011-06-16T14:02:16 do you have problem implementing an interface to include files? 2011-06-16T14:02:33 I though it's only a theoretical problem and will never happened in practic. 2011-06-16T14:02:36 otherwise i cant understand your hesitation to do so 2011-06-16T14:03:46 what exactly did you think was a theoretical problem? 2011-06-16T14:04:17 I didn't read about drag'n'drop yet. But without it choosing files will not be comfortable. 2011-06-16T14:04:32 well, not neccessarily 2011-06-16T14:04:36 I meant files with other extensions or without it. 2011-06-16T14:05:00 theres the open file dialog box, and as far as i know it comes in select file version too 2011-06-16T14:05:14 you can select mulitple files there, even directories 2011-06-16T14:05:47 and the functions returns the paths as strings 2011-06-16T14:05:54 I'll look at that, thanks 2011-06-16T14:06:43 The thing I'm afraid is that profit from uploading feature will be to low compared to its cost. 2011-06-16T14:06:46 actually my after-basic programming experience was in delphi 2011-06-16T14:07:04 as far as i can remember 2011-06-16T14:07:12 wasnt it called Kylix? 2011-06-16T14:07:21 its object pascal right? 2011-06-16T14:07:26 Yeah, Delphi for Linux. 2011-06-16T14:08:05 i remember, i was 17? and it was hard to get by the english documentation 2011-06-16T14:08:15 yes. Now even a language is called Delphi instead of ObjectPascal, not only the IDE. 2011-06-16T14:08:27 *** Naktibalda has joined #aichallenge 2011-06-16T14:08:40 How old are you now? 2011-06-16T14:08:44 25 2011-06-16T14:09:05 wow, I thought you are nearly 40 :) 2011-06-16T14:09:24 i have a humming voice 2011-06-16T14:09:27 heheh 2011-06-16T14:09:30 no 2011-06-16T14:09:34 why did you think so? 2011-06-16T14:10:10 because you seems to be very serious. 2011-06-16T14:10:22 *** amstan has joined #aichallenge 2011-06-16T14:10:22 *** ChanServ sets mode: +o amstan 2011-06-16T14:10:39 hm, interesting, i thought my every second sentence is a joke 2011-06-16T14:10:53 turtles that were climbing turtles couldn't climb over the turtle fence 2011-06-16T14:11:16 and now faster 2011-06-16T14:11:22 I understood word "turtles". 2011-06-16T14:11:24 *** computerwiz_222 has joined #aichallenge 2011-06-16T14:11:36 tortoise 2011-06-16T14:11:44 hehe, blade runner comes to my mind 2011-06-16T14:12:11 We are not a simple amphibious, we are Ninja Turtles! 2011-06-16T14:12:26 teenage mutant ninja turtles? 2011-06-16T14:12:42 yes 2011-06-16T14:13:00 What was your favourite one? 2011-06-16T14:13:05 neither 2011-06-16T14:13:07 heh 2011-06-16T14:13:45 i dont like those comics, but when they make movies of some of the good comics, those i love 2011-06-16T14:14:01 watchmen, iron man 2011-06-16T14:14:02 come on.. nobody gets the http://www.youtube.com/watch?v=qizNQKzatXA referrence 2011-06-16T14:14:41 I was watching serial cartoon in my childhood. I didn't read comixes. 2011-06-16T14:17:06 amstan: how much is actually true? 2011-06-16T14:17:18 mcstar: out of what? 2011-06-16T14:17:34 well, they really discussed to build a trutle fence? 2011-06-16T14:17:43 *** bhasker has joined #aichallenge 2011-06-16T14:18:03 mcstar: apparently it was in the news 2011-06-16T14:18:10 mcstar: I think in that context it was being used in analogy. 2011-06-16T14:18:21 oh, the healthcare 2011-06-16T14:18:26 oh yeah! healthcare 2011-06-16T14:18:45 healthcare! 2011-06-16T14:18:55 yeah, so me and computerwiz_222 have that playing on a 8mhz avr 2011-06-16T14:19:04 clocked at 2mhz 2011-06-16T14:19:25 http://www.youtube.com/watch?v=sqCsIQL0mw0 2011-06-16T14:19:31 you have autotune the news playing? 2011-06-16T14:19:35 a1k0n_: yes 2011-06-16T14:20:01 what samplerate? how much storage does that take? 2011-06-16T14:20:22 well.. we're currently trying to go the full 44.1k 2011-06-16T14:20:49 but computerwiz_222 doesn't want to get timers, so every 512 samples, he has to stop and continue reading from sd to ram 2011-06-16T14:21:12 but it works much better at 8k 2011-06-16T14:21:27 also, since we have sd cards, we can put a lot of stuff on them 2011-06-16T14:23:02 apparently its a dsp 2011-06-16T14:23:24 so, whats does this mean? 2011-06-16T14:23:29 -s 2011-06-16T14:23:33 a1k0n_: we also got this(http://hackaday.com/2011/06/10/displaying-graphics-on-an-oscilloscope/) out of the same mcu 2011-06-16T14:25:08 *** locutus2 has joined #aichallenge 2011-06-16T14:25:39 amstan: i dont want to diminish your story, but how hard was it? 2011-06-16T14:25:51 fairly easy 2011-06-16T14:25:57 ah ok 2011-06-16T14:26:32 though, we had a bunch of problems 2011-06-16T14:26:32 i mean, nowadays, there are shitloads of pre-made electronic 2011-06-16T14:26:34 s 2011-06-16T14:26:38 for those itching to take part in a contest, http://www.icfpcontest.org/ starts in just a few hours 2011-06-16T14:26:49 like for the scope we couldn't store the image in ram, so we used the actual program code to store it 2011-06-16T14:26:49 hehe 2011-06-16T14:27:02 janzert: did you ask a1k0n_ ? 2011-06-16T14:27:09 and you'll have it all done with by next tuesday 2011-06-16T14:27:11 ask me what? 2011-06-16T14:27:12 mcstar: ? 2011-06-16T14:27:27 just read janzert 2011-06-16T14:28:02 amstan: ah, you're using sd. i see, cool 2011-06-16T14:28:15 I can say with certainty the answer is no, but I don't know what I'm suppose to be asking :) 2011-06-16T14:28:40 amstan: you saw this right? http://www.linusakesson.net/scene/craft/ 2011-06-16T14:28:44 janzert: a1k0n_ yesterday was posting the same thing 2011-06-16T14:29:01 is the contest start time friday 00:00 UTC? so it's actually starting thursday in the US? 2011-06-16T14:29:06 ahh, actually I mentioned it yesterday as well 2011-06-16T14:29:08 a1k0n_: nope 2011-06-16T14:29:28 python code gen for the scope: http://pastebin.com/3Gm8p3ag 2011-06-16T14:29:33 *** Naktibalda has quit IRC (Ping timeout: 250 seconds) 2011-06-16T14:30:04 *** mceier has joined #aichallenge 2011-06-16T14:30:40 *** sigh has quit IRC (Quit: This computer has gone to sleep) 2011-06-16T14:30:52 *** Naktibalda has joined #aichallenge 2011-06-16T14:32:12 amstan: can you give numbers? 2011-06-16T14:32:19 how much is the code/data memory 2011-06-16T14:32:53 mcstar: i have 14kB space for code, 1kB of memory 2011-06-16T14:33:10 thats not much 2011-06-16T14:33:14 nope 2011-06-16T14:33:25 and, what, the code is loaded sequentially? 2011-06-16T14:33:33 what? 2011-06-16T14:33:42 code is in flash. you can't load code. 2011-06-16T14:34:02 yeah, you need a programmer 2011-06-16T14:34:11 though the avr can technically self-flash 2011-06-16T14:34:12 but the dsp must read the code doesnt it? so it stores somewhere in a faster memory to execute it 2011-06-16T14:34:42 how much is it like a pc? 2011-06-16T14:34:56 a1k0n_: yes, we have a devboard(http://en.wikipedia.org/wiki/AVR_Butterfly) and it has a bootloader that waits for programs over serial 2011-06-16T14:35:05 so it does self-flash 2011-06-16T14:35:24 mcstar: it's not a dsp and it's nothing like a pc. it's a microcontroller 2011-06-16T14:35:33 *** UncleVasya has quit IRC () 2011-06-16T14:35:41 aham 2011-06-16T14:36:24 mcstar: it's like programming a single threaded app, and the only io that you can do is through about 32 bits 2011-06-16T14:36:51 so it reads single instructions from flash? 2011-06-16T14:36:56 yep 2011-06-16T14:37:30 so to play autotune the news you need to stream from external storage and you have hardly any memory for a buffer 2011-06-16T14:38:11 yeah, i didnt understand this before either "autotune the news" 2011-06-16T14:38:14 whtas that? 2011-06-16T14:38:21 a1k0n_: yes, sd card pages are 512 bytes long, and i have 1k 2011-06-16T14:38:22 the video with the guy talking about turtles? 2011-06-16T14:38:42 mcstar: autotune the news = http://www.youtube.com/watch?v=qizNQKzatXA 2011-06-16T14:38:50 ok 2011-06-16T14:39:29 so you were streaming that wave through serial port, then this thing decoded his to analog and drived an amplifier? 2011-06-16T14:39:42 his->this 2011-06-16T14:39:46 mcstar: no 2011-06-16T14:40:09 mcstar: raw audio -> sd card -> mcu -> dac -> speaker system 2011-06-16T14:40:13 *** nux67 has joined #aichallenge 2011-06-16T14:40:26 almost :D 2011-06-16T14:40:41 would serial be too slow for this? 2011-06-16T14:40:55 could be done 2011-06-16T14:41:01 but that's not as fun 2011-06-16T14:41:14 then it's just a serial connected soundcard 2011-06-16T14:41:45 why didnt you build an in-house radio station? 2011-06-16T14:41:50 that has practical value 2011-06-16T14:42:35 can you do a 2channel fm transmitter? 2011-06-16T14:42:54 i once was trying to build an analoge one 2011-06-16T14:46:57 *** sigh has joined #aichallenge 2011-06-16T14:47:19 *** Naktibalda has quit IRC (Ping timeout: 250 seconds) 2011-06-16T14:56:45 *** amstan has quit IRC (Read error: Operation timed out) 2011-06-16T15:00:03 *** sigh has quit IRC (Quit: This computer has gone to sleep) 2011-06-16T15:02:46 *** Naktibalda has joined #aichallenge 2011-06-16T15:04:30 *** locutus2 has quit IRC (Ping timeout: 258 seconds) 2011-06-16T15:09:50 *** locutus2 has joined #aichallenge 2011-06-16T15:27:21 *** olexs1 has joined #aichallenge 2011-06-16T15:30:20 *** olexs has quit IRC (Ping timeout: 276 seconds) 2011-06-16T15:33:15 *** Naktibalda has quit IRC (Ping timeout: 250 seconds) 2011-06-16T15:35:16 *** locutus2 has quit IRC (Ping timeout: 240 seconds) 2011-06-16T15:45:33 *** Palmik has quit IRC (Remote host closed the connection) 2011-06-16T16:00:46 *** Accoun has quit IRC () 2011-06-16T16:00:53 *** olexs has joined #aichallenge 2011-06-16T16:07:36 *** olexs1 has quit IRC (Quit: Leaving.) 2011-06-16T16:13:11 *** Accoun has joined #aichallenge 2011-06-16T16:21:28 *** olexs has quit IRC (Quit: Leaving.) 2011-06-16T16:21:50 *** olexs has joined #aichallenge 2011-06-16T16:22:44 *** locutus2 has joined #aichallenge 2011-06-16T16:24:46 *** olexs1 has joined #aichallenge 2011-06-16T16:25:34 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has joined #aichallenge 2011-06-16T16:27:38 *** mcstar has quit IRC (Quit: WeeChat 0.3.5) 2011-06-16T16:59:57 *** olexs1 has quit IRC (Quit: Leaving.) 2011-06-16T17:02:50 *** olexs1 has joined #aichallenge 2011-06-16T17:12:23 *** olexs1 has quit IRC (Ping timeout: 276 seconds) 2011-06-16T17:14:34 *** sigh has joined #aichallenge 2011-06-16T17:18:08 *** Zaphus has joined #aichallenge 2011-06-16T17:19:02 *** mcstar has joined #aichallenge 2011-06-16T17:26:09 *** Zaphus has quit IRC (Quit: Page closed) 2011-06-16T17:26:46 hey, antimatroid, take a look at this, i hope it wets your lisp-apetite 2011-06-16T17:26:52 http://pastebin.com/Ykb8wwu1 2011-06-16T17:27:23 (whet) 2011-06-16T17:29:29 that's a lot of indentation 2011-06-16T17:31:25 well, i had to reindent for it to fit into pastebin 2011-06-16T17:31:40 i use longer lines, if its logically ok 2011-06-16T17:54:31 *** locutus2 has quit IRC (Ping timeout: 250 seconds) 2011-06-16T18:03:11 *** Accoun has quit IRC (Read error: Connection reset by peer) 2011-06-16T18:10:06 *** Accoun has joined #aichallenge 2011-06-16T18:11:15 *** sigh has quit IRC (Quit: This computer has gone to sleep) 2011-06-16T18:15:30 *** sigh has joined #aichallenge 2011-06-16T18:19:25 *** guyverthree has joined #aichallenge 2011-06-16T18:19:34 evening all 2011-06-16T18:23:37 *** nann has quit IRC (Read error: Connection reset by peer) 2011-06-16T18:49:09 *** Apophis has joined #aichallenge 2011-06-16T18:54:10 *** Apophis_ has joined #aichallenge 2011-06-16T18:57:30 *** Apophis has quit IRC (Ping timeout: 255 seconds) 2011-06-16T19:01:19 *** nux67 has quit IRC (Quit: Page closed) 2011-06-16T19:03:29 *** guyverthree has quit IRC (Quit: Page closed) 2011-06-16T19:03:36 *** mcstar has quit IRC (Quit: WeeChat 0.3.5) 2011-06-16T19:10:27 ICFP contest starts in an hour 2011-06-16T19:10:53 why is it running in the middle of the week? o_O 2011-06-16T19:11:45 prolly cuz it's starting at 9am on a friday in japan and the organizers are japanese 2011-06-16T19:12:15 friday is still during the week 2011-06-16T19:12:30 true. 2011-06-16T19:12:43 are you going to join team smartass? 2011-06-16T19:12:53 team smartass? 2011-06-16T19:13:01 :p 2011-06-16T19:13:03 it's the team from google that wins every year 2011-06-16T19:13:17 well, used to 2011-06-16T19:13:26 haha, I didn't know about that 2011-06-16T19:13:44 *** olexs has quit IRC (Quit: Leaving.) 2011-06-16T19:13:51 nah, I got other stuff to do (or pretend to do) 2011-06-16T19:14:37 how else will I have time to eat from all the cafes before I leave mountain view? 2011-06-16T19:14:41 http://www.reddit.com/r/WTF/comments/i0twa/man_urinates_in_water_reservoir_prompts_city_to/c200qrg 2011-06-16T19:14:44 am i missing something there? 2011-06-16T19:15:53 more context 2011-06-16T19:17:26 someone pissed in a water supply and portland just dumped all the water or something 2011-06-16T19:17:42 then someone else gave that story 2011-06-16T19:17:48 your url needs a ?context=1 2011-06-16T19:17:59 *** olexs has joined #aichallenge 2011-06-16T19:18:30 http://www.reddit.com/r/WTF/comments/i0twa/man_urinates_in_water_reservoir_prompts_city_to/c1zz8yd ? :P 2011-06-16T19:18:52 antimatroid, that's not right either, now we don't know which child you care about 2011-06-16T19:18:55 ideally: http://www.reddit.com/r/WTF/comments/i0twa/man_urinates_in_water_reservoir_prompts_city_to/c2017zf?context=2 2011-06-16T19:19:15 antimatroid, you fail at reddit 2011-06-16T19:19:32 sigh: oh noes! 2011-06-16T19:19:38 *** Kingpin13 has quit IRC (Quit: this used to be the life, but I don't need another one) 2011-06-16T19:20:35 my point is, if you put something with less pee in it than tap water into a bucket of tap water, is the concerntration of pee going to have increased or decreased compared to the bucket? 2011-06-16T19:20:43 surely it will obviously decrease? 2011-06-16T19:21:50 hmmm, on second read, I don't think they're comparing hte concerntration to the last buckets original concentration 2011-06-16T19:21:57 I'm confused 2011-06-16T19:22:07 i think cunninglinguist is saying the same thing backwards 2011-06-16T19:22:38 i've spent approximately 60 too many seconds even trying to understand that issue 2011-06-16T19:22:43 :) 2011-06-16T19:28:32 *** sigh has quit IRC (Quit: This computer has gone to sleep) 2011-06-16T19:29:30 a1k0n_: got any time to talk about that update problem i had? 2011-06-16T19:30:22 i think ??? i need to reconstruct the original bfs search? but starting with the surrounding squares ordered? 2011-06-16T19:30:50 oh, yeah, does always need to be sorted, okay yeah, easy :) 2011-06-16T19:31:03 i can now do a* for food collection when i get around to programming it 2011-06-16T19:31:48 *** InsaneMalkavian has quit IRC (Remote host closed the connection) 2011-06-16T19:34:32 sigh in mtn view? 2011-06-16T19:37:10 antimatroid: yeah you still need a queue of some sort 2011-06-16T19:37:29 antimatroid: or at least an array of lists 2011-06-16T19:37:38 i think i need to keep it as a priority queue based on what can be reached fastest? 2011-06-16T19:37:47 including when i update the value of a square and add that to the search queue 2011-06-16T19:40:43 yes, you do bfs out from the food square, stopping when the distance from the food square (your depth in the bfs-search) is greater than the distance-to-food in your map, and "deleting" values along the way 2011-06-16T19:40:54 wherever you stop, add to the priority queue 2011-06-16T19:41:23 then do bfs out from there, propagating outward from each square in the lowest level of your priority q 2011-06-16T19:41:35 yep 2011-06-16T19:41:55 should be pretty quick if there's a lot of food out, otherwise i guess it could fill the entire map 2011-06-16T19:42:05 still, visiting each square only once 2011-06-16T19:42:25 i guess simple optimization is to say if that was the last visible food, there's no need to compute anything 2011-06-16T19:42:57 yep 2011-06-16T19:43:05 i'll do some tests against a normal bfs bot 2011-06-16T19:46:34 *** sigh has joined #aichallenge 2011-06-16T19:50:02 sigh: i have a* worked out for food collection :) 2011-06-16T19:50:08 bhasker: yeah sigh is in mtv 2011-06-16T19:50:17 why is it mtv and not mv? 2011-06-16T19:50:38 i guess people say mt wellington for example 2011-06-16T19:58:02 antimatroid: didn't you have a* a long time ago 2011-06-16T19:58:12 bhasker, yes, until the end of next week 2011-06-16T19:58:20 yeah, but remember how my heuristic function was horribly inefficient? 2011-06-16T19:58:26 i've worked out how to make that better 2011-06-16T19:58:37 what was it before? 2011-06-16T19:58:54 manhatten distance, I assume? 2011-06-16T19:58:57 it's the same function, h(x) = min_* mdist(x, *) 2011-06-16T19:59:24 so the minimum manhatten distance to a food square 2011-06-16T19:59:37 are you looking at amits pages? 2011-06-16T19:59:44 he has very nice a* documents 2011-06-16T19:59:47 i can paint out the information for the entire grid with one sweep, then update the information every tiem i take a food square out 2011-06-16T20:00:03 bhasker: the wikipedia description is sufficient 2011-06-16T20:00:20 yea but he has a lot of good information about a* 2011-06-16T20:00:25 including heuristics that work etc 2011-06-16T20:00:48 i enjoy working these things out from scratch myself :P but i'll take a read 2011-06-16T20:00:59 http://theory.stanford.edu/~amitp/GameProgramming/ 2011-06-16T20:01:29 though in most cases i am find bfs to be sufficient 2011-06-16T20:01:33 for now 2011-06-16T20:01:46 if you restrict your search to a small distance bfs jsut works fine 2011-06-16T20:01:46 woah, that's very detailed 2011-06-16T20:01:49 yup 2011-06-16T20:01:55 his pages are awesome 2011-06-16T20:02:03 one of the best on the web 2011-06-16T20:02:05 for pathfinding 2011-06-16T20:02:16 http://www-cs-students.stanford.edu/~amitp/gameprog.html 2011-06-16T20:02:20 and gameprogramming as well 2011-06-16T20:02:35 he has a pretty interesting game programming blog 2011-06-16T20:02:38 that is good too 2011-06-16T20:03:01 check out his terrain generation code 2011-06-16T20:03:03 on his blog 2011-06-16T20:03:03 it is pretty cool 2011-06-16T20:03:06 very interesting reads 2011-06-16T20:03:12 doesn't seem to do anything with multiple sources/targets though? 2011-06-16T20:03:16 yeah, look pretty cool... thanks, I'll look through it all later :) 2011-06-16T20:03:20 i've only read the contents though 2011-06-16T20:03:35 no his page mostly just talks about the basic algo, i guess he might touch upont it at some point 2011-06-16T20:03:54 his latest interest seems to be around map generation 2011-06-16T20:03:54 multiple sources is easy 2011-06-16T20:04:05 the heuristic for multiple targets is the killer 2011-06-16T20:04:23 spawning ants is not exactly a standard problem :P 2011-06-16T20:04:43 that's a good thing for the game 2011-06-16T20:04:49 :) 2011-06-16T20:06:03 http://theory.stanford.edu/~amitp/GameProgramming/MapRepresentations.html#S15 wtf? 2011-06-16T20:06:06 that is terrible information 2011-06-16T20:06:30 the wraparound stuff? 2011-06-16T20:06:32 yeah 2011-06-16T20:06:38 you can do a* with that normally fine 2011-06-16T20:06:43 you just have to update your distance metric 2011-06-16T20:07:00 i guess you could, probably leave him a note:) 2011-06-16T20:08:09 yeah, his method seems overly complicated for the problem 2011-06-16T20:09:26 just a little bit :) 2011-06-16T20:10:03 well its a simplistic approach i guess 2011-06-16T20:10:12 that's far from simple 2011-06-16T20:10:18 compared to the other method anyway :P 2011-06-16T20:10:59 another blog that i find interesting is the guy who is writing Detour and recast library 2011-06-16T20:11:11 http://digestingduck.blogspot.com/ 2011-06-16T20:11:18 *** computerwiz_222 has quit IRC (Ping timeout: 255 seconds) 2011-06-16T20:11:27 raycast/detour is an awesome free pathfinding library 2011-06-16T20:12:02 if you like playing around with 3d pathfinding check out his library 2011-06-16T20:12:03 hmmm, i enjoy doing these things myself 2011-06-16T20:12:14 solving these problems is my favourite part of the contests 2011-06-16T20:12:30 well it depends, 3d pathfinding is rather complicated 2011-06-16T20:12:38 and this library does a lot of neat stuff 2011-06-16T20:12:47 which would take a year or more to implement 2011-06-16T20:12:50 if you did it from scratch 2011-06-16T20:13:00 so if your objective is to write a game 2011-06-16T20:13:12 then makes sense to use it 2011-06-16T20:13:17 *** antimatroid has quit IRC (Read error: Connection reset by peer) 2011-06-16T20:13:37 *** antimatroid has joined #aichallenge 2011-06-16T20:13:47 like it does dynamic obstacle avoidance, formation movement etc 2011-06-16T20:14:21 Welcome to the ACM SIGPLAN ICFP Programming Contest 2011! The task this year is to write a program that plays the card game Lambda: The Gathering (LTG for short). 2011-06-16T20:14:51 a1k0n_: lame :P 2011-06-16T20:14:55 *** FireFly has quit IRC (Quit: swatted to death) 2011-06-16T20:16:44 bhasker: how do they do pathfinding in 3d? 2011-06-16T20:16:46 a*? 2011-06-16T20:16:49 *** Mathnerd314 has joined #aichallenge 2011-06-16T20:17:18 true 3d pathfinding is tough; i used probabilistic roadmaps 2011-06-16T20:17:24 well its complicated, i think recast uses voxels 2011-06-16T20:17:32 why is it tough? 2011-06-16T20:17:35 to first discover the polygons 2011-06-16T20:17:41 and paths 2011-06-16T20:17:45 i would love to do a 3d ai game 2011-06-16T20:17:49 but in like, first-person shooters, the pathfinding is just a 2d graph 2011-06-16T20:17:56 then it builds a graph based on the polygons 2011-06-16T20:18:01 which it then uses for pathfinding 2011-06-16T20:18:10 i would really love to do mario kart ai 2011-06-16T20:18:36 sigh: it's tough because the subspaces are huge and nonconvex and complexly connected 2011-06-16T20:18:44 basically recast does some stuff like floodfilling from multiple points and discovers edges by variation in heights 2011-06-16T20:18:46 at the edges 2011-06-16T20:18:50 i mean it depends on the problem obviously 2011-06-16T20:19:17 once it has the edges it basically breaks it up into convex polygons 2011-06-16T20:19:39 and then 3d pathfinding has other concers 2011-06-16T20:19:43 i tried to implement A* over a 3D BSP tree where each node was a convex polyhedron. it worked, but the map was just waaaay too complicated for that 2011-06-16T20:19:46 like shape of the object being moved 2011-06-16T20:19:49 corridor widths 2011-06-16T20:19:53 height 2011-06-16T20:19:55 etc etc 2011-06-16T20:20:06 so its a lot more complicated 2011-06-16T20:20:25 recast does a lot of those things 2011-06-16T20:20:33 a1k0n_: any idea if there's much money in writing ai for actual video games? 2011-06-16T20:20:44 yeah. well, if you have a "ground" it's at least easier than when you can just move around in arbitrary directions 2011-06-16T20:20:46 well there are complete companies that provide the ai middleware 2011-06-16T20:20:55 like pathengine, which does most of the pathfinding etc 2011-06-16T20:21:01 havok which provides physics engines 2011-06-16T20:21:02 etc 2011-06-16T20:21:13 these companies live on providing middleware 2011-06-16T20:21:14 cheers :) 2011-06-16T20:22:01 antimatroid: well, not afaik.. you get paid as a game developer and work a lot 2011-06-16T20:22:01 or yeah, middleware solutions i suppose 2011-06-16T20:24:24 *** tmw has joined #aichallenge 2011-06-16T20:24:38 *** mceier has quit IRC (Quit: leaving) 2011-06-16T20:26:45 havok look pretty awesome 2011-06-16T20:30:18 woah, I have 95 unread notifications on github o_O 2011-06-16T20:30:35 *** tmw has quit IRC (Quit: Page closed) 2011-06-16T20:31:57 ah, there are 188 issues now, that explains where all the notifications came from 2011-06-16T20:39:29 *** nann has joined #aichallenge 2011-06-16T20:41:28 *** onensora has quit IRC () 2011-06-16T20:42:31 *** Apophis_ has quit IRC (Ping timeout: 240 seconds) 2011-06-16T20:58:13 *** amstan has joined #aichallenge 2011-06-16T20:58:14 *** ChanServ sets mode: +o amstan 2011-06-16T20:58:39 *** Evious has joined #aichallenge 2011-06-16T21:03:42 *** bhasker has quit IRC (Ping timeout: 240 seconds) 2011-06-16T21:04:01 What's the planned starting/ending date for this challenge? :o 2011-06-16T21:05:05 *** Apophis has joined #aichallenge 2011-06-16T21:06:16 *** sigh has quit IRC (Quit: This computer has gone to sleep) 2011-06-16T21:07:18 *** nann has quit IRC (Ping timeout: 240 seconds) 2011-06-16T21:11:00 *** Pyronaut has joined #aichallenge 2011-06-16T21:22:29 *** olexs has quit IRC (Quit: Leaving.) 2011-06-16T21:24:05 *** sigh has joined #aichallenge 2011-06-16T21:24:50 And how is score calculated? 2011-06-16T21:25:10 Score ingame, or your score as in rankings? 2011-06-16T21:25:28 Score ingame. Do you get points for kills, or just number of ants, or what? :) 2011-06-16T21:26:12 https://github.com/aichallenge/aichallenge/wiki/Ants-Game-Specification 2011-06-16T21:26:19 Scroll down to scoring (Second to last section) 2011-06-16T21:26:54 Oh, I was looking at the site. Excellent. 2011-06-16T21:30:20 *** sigh has quit IRC (Quit: This computer has gone to sleep) 2011-06-16T21:39:26 Ohmygod this is going to be FUN 2011-06-16T21:39:31 eeeeee 2011-06-16T21:46:20 :) 2011-06-16T21:46:25 You entered a bot yet? 2011-06-16T22:01:50 *** sigh has joined #aichallenge 2011-06-16T22:13:59 *** antimatroid has quit IRC (Ping timeout: 252 seconds) 2011-06-16T22:23:58 *** Zeiris_ has joined #aichallenge 2011-06-16T22:33:56 *** computerwiz_222 has joined #aichallenge 2011-06-16T22:36:44 Hmm, It seems like the server is not unzipping files right now? Uploaded a couple of hours ago and still not unzipped. 2011-06-16T22:38:33 Pyronaut: is there any other user which has the same problem? 2011-06-16T22:38:49 amstan: the worker is definitely down 2011-06-16T22:38:50 Without me going through every user and checking their profile page I don't know. 2011-06-16T22:38:55 looking at it now 2011-06-16T22:39:12 janzert: screen -r contest/worker 2011-06-16T22:39:18 already there 2011-06-16T22:40:13 hmm, json is raising a unicode error 2011-06-16T23:01:12 aichallenge: janzert epsilon * rcf5c82a / worker/worker.py : Fix json encoding of errors when they contain binary garbage - http://bit.ly/mC798O 2011-06-16T23:02:36 and it's back up and running 2011-06-16T23:03:26 :) 2011-06-16T23:17:03 Interesting, if you check the homepage right now. You should see a game where every bot crashed except one. 2011-06-16T23:17:11 Gives you a blank game slate. 2011-06-16T23:18:14 looks like it breaks the full visualizer page too 2011-06-16T23:18:15 http://aichallengebeta.hypertriangle.com/visualizer.php?game=26247&user=162 2011-06-16T23:19:00 *** Mathnerd314 has quit IRC (Ping timeout: 240 seconds) 2011-06-16T23:22:11 If I played a game, and won, but everyone within that game got Zero skill points from it, what is the reasoning? 2011-06-16T23:22:24 See the latest game here : http://aichallengebeta.hypertriangle.com/profile.php?user=131 2011-06-16T23:22:30 the rating script crashed :/ 2011-06-16T23:22:34 I got 0.00 points from it, and so did everyone else 2011-06-16T23:22:35 O :( 2011-06-16T23:22:40 Sorry to bombard oyu with bugs then :p 2011-06-16T23:22:53 it's a known problem that it occasionally crashes on game results 2011-06-16T23:23:02 definitely needs to be fixed 2011-06-16T23:24:37 *** Mathnerd314 has joined #aichallenge 2011-06-16T23:25:19 contestbot: later tell Frontier Could you take a look at http://aichallengebeta.hypertriangle.com/visualizer.php?game=26247 looks like a visualizer/replay file bug that at least I've not seen before 2011-06-16T23:25:19 janzert: Aye, aye, sir 2011-06-16T23:26:00 If it crashes, do I never get rated for that game, or does it get placed in the queue for later? 2011-06-16T23:26:24 currently the results of the game basically never get counted 2011-06-16T23:27:00 since the rating script will consistently crash on it it doesn't do any good to run it through again 2011-06-16T23:27:32 Dammit. That was a good win aswell :p. 2011-06-16T23:28:55 it's starting to look like one of us is going to be forced to write our own trueskill implementation if we want to get something stable :( 2011-06-16T23:29:00 *** sigh has quit IRC (Quit: This computer has gone to sleep) 2011-06-16T23:29:50 What is it actually crashing from? 2011-06-16T23:30:43 something in the implementation isn't converging and errors out after 1000 iterations 2011-06-16T23:31:00 I haven't actually looked closely at what exactly it is doing at the time 2011-06-16T23:31:48 it is something to do with draw rate though since specifying a larger draw rate seems to prevent it 2011-06-16T23:48:35 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has quit IRC (Quit: Lost terminal) 2011-06-16T23:52:37 *** sigh has joined #aichallenge 2011-06-16T23:56:50 *** pvarga has joined #aichallenge