2012-02-13T00:00:27 *** Areks has joined #aichallenge 2012-02-13T00:12:01 *** ruser has quit IRC (Remote host closed the connection) 2012-02-13T00:12:14 *** ruser has joined #aichallenge 2012-02-13T00:17:40 *** Accoun has quit IRC () 2012-02-13T00:43:58 *** dorisabayon has joined #aichallenge 2012-02-13T00:47:13 *** Fandekasp has quit IRC (Ping timeout: 265 seconds) 2012-02-13T00:49:20 *** coeus has quit IRC (Ping timeout: 260 seconds) 2012-02-13T00:59:54 *** antimatroidl has joined #aichallenge 2012-02-13T01:05:27 *** Harpyon has joined #aichallenge 2012-02-13T01:08:20 *** Fandekasp has joined #aichallenge 2012-02-13T01:12:21 *** dorisabayon has quit IRC (Ping timeout: 265 seconds) 2012-02-13T01:27:59 *** mayanks43 has joined #aichallenge 2012-02-13T01:44:19 *** Fandekasp has quit IRC (Read error: Operation timed out) 2012-02-13T01:48:32 *** Harpyon has quit IRC (Quit: Computer has gone to sleep.) 2012-02-13T02:01:38 *** Fandekasp has joined #aichallenge 2012-02-13T03:17:57 *** Palmik has joined #aichallenge 2012-02-13T03:18:37 *** Harpyon has joined #aichallenge 2012-02-13T03:33:02 *** Blkt has joined #aichallenge 2012-02-13T03:54:35 *** mviel has joined #aichallenge 2012-02-13T04:00:50 *** delt0r_ has quit IRC (Ping timeout: 248 seconds) 2012-02-13T04:14:02 *** delt0r_ has joined #aichallenge 2012-02-13T04:20:15 *** deafferret has quit IRC (Ping timeout: 252 seconds) 2012-02-13T04:22:51 *** Harpyon has quit IRC (Quit: Textual IRC Client: http://www.textualapp.com/) 2012-02-13T04:25:30 *** mviel has quit IRC (Remote host closed the connection) 2012-02-13T04:28:35 *** mviel has joined #aichallenge 2012-02-13T04:28:51 *** Garf has joined #aichallenge 2012-02-13T04:29:51 *** Fandekasp has quit IRC (Ping timeout: 260 seconds) 2012-02-13T04:36:29 *** mviel_ has joined #aichallenge 2012-02-13T04:36:33 *** mviel has quit IRC (Ping timeout: 240 seconds) 2012-02-13T04:41:26 *** sigh has joined #aichallenge 2012-02-13T04:51:54 *** Areks has quit IRC (Ping timeout: 272 seconds) 2012-02-13T04:59:30 *** ruser has quit IRC (*.net *.split) 2012-02-13T04:59:30 *** Cyndre has quit IRC (*.net *.split) 2012-02-13T04:59:31 *** mawif has quit IRC (*.net *.split) 2012-02-13T04:59:31 *** j3camero has quit IRC (*.net *.split) 2012-02-13T04:59:32 *** Zepp has quit IRC (*.net *.split) 2012-02-13T04:59:33 *** pgpaskar_ has quit IRC (*.net *.split) 2012-02-13T04:59:33 *** Alexer has quit IRC (*.net *.split) 2012-02-13T04:59:33 *** Elderwolf has quit IRC (*.net *.split) 2012-02-13T04:59:34 *** Elvorn has quit IRC (*.net *.split) 2012-02-13T04:59:34 *** delt0r_ has quit IRC (*.net *.split) 2012-02-13T04:59:34 *** AndrewBC has quit IRC (*.net *.split) 2012-02-13T04:59:35 *** andar has quit IRC (*.net *.split) 2012-02-13T04:59:35 *** nann has quit IRC (*.net *.split) 2012-02-13T04:59:35 *** Zannick has quit IRC (*.net *.split) 2012-02-13T04:59:36 *** CIA-118 has quit IRC (*.net *.split) 2012-02-13T04:59:36 *** cYmen has quit IRC (*.net *.split) 2012-02-13T04:59:37 *** dmj111 has quit IRC (*.net *.split) 2012-02-13T05:03:05 *** ruser has joined #aichallenge 2012-02-13T05:03:05 *** Cyndre has joined #aichallenge 2012-02-13T05:03:05 *** mawif has joined #aichallenge 2012-02-13T05:03:05 *** j3camero has joined #aichallenge 2012-02-13T05:03:05 *** Zepp has joined #aichallenge 2012-02-13T05:03:05 *** pgpaskar_ has joined #aichallenge 2012-02-13T05:03:05 *** Alexer has joined #aichallenge 2012-02-13T05:03:05 *** Elderwolf has joined #aichallenge 2012-02-13T05:03:05 *** Elvorn has joined #aichallenge 2012-02-13T05:03:10 *** andar has joined #aichallenge 2012-02-13T05:03:37 *** delt0r_ has joined #aichallenge 2012-02-13T05:03:37 *** AndrewBC has joined #aichallenge 2012-02-13T05:03:37 *** nann has joined #aichallenge 2012-02-13T05:03:37 *** Zannick has joined #aichallenge 2012-02-13T05:03:37 *** CIA-118 has joined #aichallenge 2012-02-13T05:03:37 *** cYmen has joined #aichallenge 2012-02-13T05:03:37 *** dmj111 has joined #aichallenge 2012-02-13T05:09:37 *** Areks has joined #aichallenge 2012-02-13T05:11:46 *** mviel__ has joined #aichallenge 2012-02-13T05:13:09 *** mviel__ is now known as mviel 2012-02-13T05:14:59 *** mviel_ has quit IRC (Ping timeout: 240 seconds) 2012-02-13T05:18:33 *** mcstar has joined #aichallenge 2012-02-13T05:39:36 *** aerique has joined #aichallenge 2012-02-13T05:41:13 *** delt0r_ has quit IRC (*.net *.split) 2012-02-13T05:41:14 *** AndrewBC has quit IRC (*.net *.split) 2012-02-13T05:41:15 *** nann has quit IRC (*.net *.split) 2012-02-13T05:41:15 *** Zannick has quit IRC (*.net *.split) 2012-02-13T05:41:15 *** CIA-118 has quit IRC (*.net *.split) 2012-02-13T05:41:16 *** cYmen has quit IRC (*.net *.split) 2012-02-13T05:41:16 *** dmj111 has quit IRC (*.net *.split) 2012-02-13T05:42:42 *** delt0r_ has joined #aichallenge 2012-02-13T05:42:42 *** AndrewBC has joined #aichallenge 2012-02-13T05:42:42 *** nann has joined #aichallenge 2012-02-13T05:42:42 *** Zannick has joined #aichallenge 2012-02-13T05:42:42 *** CIA-118 has joined #aichallenge 2012-02-13T05:42:42 *** cYmen has joined #aichallenge 2012-02-13T05:42:42 *** dmj111 has joined #aichallenge 2012-02-13T05:56:15 *** pairofdice has joined #aichallenge 2012-02-13T06:03:57 *** dici has joined #aichallenge 2012-02-13T06:04:12 *** mviel_ has joined #aichallenge 2012-02-13T06:07:23 *** ikaros has joined #aichallenge 2012-02-13T06:07:32 *** mviel has quit IRC (Ping timeout: 244 seconds) 2012-02-13T06:16:32 *** mceier has joined #aichallenge 2012-02-13T06:27:07 *** coeus has joined #aichallenge 2012-02-13T06:36:35 *** alehorst has quit IRC (Read error: Connection reset by peer) 2012-02-13T06:38:07 *** Cyndre_ has joined #aichallenge 2012-02-13T06:41:33 *** Cyndre has quit IRC (Ping timeout: 252 seconds) 2012-02-13T07:11:22 *** denysonique__ has joined #aichallenge 2012-02-13T07:18:43 *** Jak_o_Shadows has quit IRC (Read error: Connection reset by peer) 2012-02-13T07:22:34 *** ikaros has quit IRC (Quit: Ex-Chat) 2012-02-13T07:23:58 *** lhb__ has quit IRC (Ping timeout: 252 seconds) 2012-02-13T07:45:58 *** thestinger has joined #aichallenge 2012-02-13T08:03:51 *** jbroman_ is now known as jbroman 2012-02-13T08:50:16 *** UncleVasya has joined #aichallenge 2012-02-13T09:06:57 *** sigh has quit IRC (Remote host closed the connection) 2012-02-13T09:10:31 *** ikaros has joined #aichallenge 2012-02-13T09:14:34 *** amstan_ has joined #aichallenge 2012-02-13T09:14:34 *** ChanServ sets mode: +o amstan_ 2012-02-13T09:17:56 *** Areks has quit IRC (Ping timeout: 272 seconds) 2012-02-13T09:40:43 *** raemde has joined #aichallenge 2012-02-13T09:52:43 *** Guest18452 is now known as rwest 2012-02-13T09:53:18 *** rwest has left #aichallenge 2012-02-13T09:53:23 *** rwest has joined #aichallenge 2012-02-13T11:06:11 *** ikaros has quit IRC (Remote host closed the connection) 2012-02-13T11:24:07 *** mikewintermute has joined #aichallenge 2012-02-13T11:26:56 *** X-Scale has joined #aichallenge 2012-02-13T11:29:04 *** foRei has joined #aichallenge 2012-02-13T11:31:04 *** janzert has quit IRC (Read error: Connection reset by peer) 2012-02-13T11:32:49 *** janzert has joined #aichallenge 2012-02-13T11:51:50 *** kire has joined #aichallenge 2012-02-13T12:01:32 *** delt0r_ has quit IRC (Ping timeout: 265 seconds) 2012-02-13T12:13:45 *** delt0r_ has joined #aichallenge 2012-02-13T12:19:19 *** kilae has joined #aichallenge 2012-02-13T12:19:19 *** iglo has joined #aichallenge 2012-02-13T12:20:23 *** kire has quit IRC (Quit: Leaving) 2012-02-13T12:28:52 My friend showed me a code from his work and asked what the f*ck is this : http://pastebin.com/VWre0SCR :D 2012-02-13T12:38:19 stl tree's iterator pointing to the beginning 2012-02-13T12:39:00 actually, the address, where the function is 2012-02-13T12:39:12 the whole thing before it, is the type 2012-02-13T12:41:26 anyway, it is just a nested template 2012-02-13T12:46:49 UncleVasya: they're making that way more obfuscated than they have to 2012-02-13T12:47:10 std::basic_string > 2012-02-13T12:47:32 that's a std::wstring 2012-02-13T12:47:34 :\ 2012-02-13T12:47:39 *** Blkt has quit IRC (Remote host closed the connection) 2012-02-13T12:47:57 that's like writing std::basic_string > instead of std::string, same thing 2012-02-13T12:48:05 thestinger: but thats not the code, but some kind of debugging info 2012-02-13T12:48:07 oh 2012-02-13T12:48:12 maybe it unrolls the ypes 2012-02-13T12:48:13 *** antimatroidl has quit IRC (Quit: Leaving.) 2012-02-13T12:48:13 t 2012-02-13T12:48:32 yeah, it's really not that bad 2012-02-13T12:48:43 it's just turned into a mess by whatever is presenting it like that 2012-02-13T12:53:05 std::basic_string, std::allocator > 2012-02-13T12:53:08 yeah 2012-02-13T12:53:11 that entire thing is a std::wstring 2012-02-13T12:54:31 std::_Tree, std::allocator const, int>>, false>>::begin() at 0x8064a2f 2012-02-13T12:54:40 there it is without that crap, and with the C++11 >> 2012-02-13T12:55:15 std::pair ? 2012-02-13T12:55:41 std::pair const, int> 2012-02-13T12:55:42 i dont think c++ templates support partial application 2012-02-13T12:55:45 oh whoops 2012-02-13T12:55:50 added an extra > 2012-02-13T12:56:03 std::pair * 2012-02-13T12:56:07 ok 2012-02-13T12:57:15 so it's probably just a std::map 2012-02-13T12:57:22 but the debugging thing is crap 2012-02-13T12:57:25 THE SILENCE HAS BEEN BROKEN 2012-02-13T12:57:46 dont silence the broken 2012-02-13T12:58:19 yeah, std::map::begin() 2012-02-13T12:58:44 nice 2012-02-13T12:59:07 probably a crapper debugger stepping through code 2012-02-13T12:59:12 crappy* 2012-02-13T12:59:35 isnt there some reflection supported in c++11? 2012-02-13T12:59:44 how about a typeof operator? 2012-02-13T12:59:53 i guess thats what did this 2012-02-13T13:00:15 there's RTTI but not by default 2012-02-13T13:00:20 so that's from debugging symbols 2012-02-13T13:00:42 there aren't really objects once you've compiled, unless you have reflection stuff in the code (and I don't think it's very good/useful) 2012-02-13T13:00:53 http://en.cppreference.com/w/cpp/types 2012-02-13T13:01:31 there is typeid 2012-02-13T13:02:05 I don't think that deals with templates at all though 2012-02-13T13:02:57 have to use inheritance and actual OOP for that 2012-02-13T13:07:27 St3mapIiiSt4lessIiESaISt4pairIKiiEEE 2012-02-13T13:07:38 thats the name of a map 2012-02-13T13:08:27 lol 2012-02-13T13:08:43 probably specific to libstdc++ 2012-02-13T13:12:29 but a debugger could use that 2012-02-13T13:13:18 probably uncle could tell us the circumstances 2012-02-13T13:13:29 but he just waits in silence... 2012-02-13T13:16:21 thhis reminds me, that i dont really like talking about c++ 2012-02-13T13:18:47 amstan, amstan_ antimatroid, I keep spamming you with cries about any spam that comes on forum :D Excuse me but I believe I'm doing something useful for Greeter Good. 3 new topics here: http://forums.aichallenge.org/viewforum.php?f=4&sid=cc3547f343906829c0eb2c037a7ec86a 2012-02-13T13:23:05 thestinger: http://i.imgur.com/Z2ZqD.png read the fifth paragraph 2012-02-13T13:24:04 circumstances? what a strange word 2012-02-13T13:24:41 lol, markov chains I guess 2012-02-13T13:24:51 maybe not? 2012-02-13T13:25:16 UncleVasya: you like circumscision better? 2012-02-13T13:25:18 it would be pathetic if that was handwritten... 2012-02-13T13:25:37 "A prolonged erection can evil the penis." 2012-02-13T13:25:38 when InsaneMalkavian will come home I'll bring him here. 2012-02-13T13:26:16 and, mstar, no jokes like 'are you living in one home?' ! :D 2012-02-13T13:26:21 *mcstar 2012-02-13T13:26:37 thestinger: im glad you found that pearl 2012-02-13T13:27:28 UncleVasya: then say "when he will go home: 2012-02-13T13:27:31 " 2012-02-13T13:27:38 or get home 2012-02-13T13:27:42 or be home 2012-02-13T13:28:17 if you say "will come home" sounds really like, coming to you, to home, where you live(probably married) 2012-02-13T13:28:54 ok, my bad. 2012-02-13T13:30:04 He too lazy to come here but I can ask your questions to him. 2012-02-13T13:30:11 *he's ? 2012-02-13T13:30:42 is 2012-02-13T13:30:51 but i dont understand the second part of your question 2012-02-13T13:31:04 aham 2012-02-13T13:31:11 so the paste is from him? 2012-02-13T13:31:14 *** mikewintermute has quit IRC (Quit: mikewintermute) 2012-02-13T13:31:27 yep 2012-02-13T13:32:35 He pasted it to my ICQ and I decided 'wow, this is omething really scary, guys from AIC will enjoy it .' 2012-02-13T13:32:47 And you do enjoy as I see ;) 2012-02-13T13:32:51 not realy 2012-02-13T13:32:58 we are more like annoyed by it 2012-02-13T13:33:38 * do enjoy to talk about it 2012-02-13T13:34:06 UncleVasya: well, i hope we could help, and ofc thestinger likes to show off his problem solving abilities 2012-02-13T13:35:12 oh 2012-02-13T13:35:25 It seems I messed you. 2012-02-13T13:35:37 mcstar: :) 2012-02-13T13:36:10 thestinger: how fast can you type? 2012-02-13T13:36:17 im saturated at 40 wpm 2012-02-13T13:37:10 not sure 2012-02-13T13:37:38 By 'asked what the f*ck is this' I meant not 'he asked me to help figure out what is this' but rather in this sense: 'lol, was the guy who wrote this code drunk?! ' 2012-02-13T13:37:39 i recently typed 2 chapters of moby dick 2012-02-13T13:37:49 I used to type at 60wpm, but I couldn't get faster because I wasn't actually typing properly 2012-02-13T13:38:00 so I had to force myself to do it properly, which made it a lot slower 2012-02-13T13:38:06 oh 2012-02-13T13:38:10 not sure if I've actually surpassed what I used to be able to do... 2012-02-13T13:38:27 i keep making mistakes if im doing it faster 2012-02-13T13:38:30 well, trying to 2012-02-13T13:38:36 yeah 2012-02-13T13:38:50 that's what would happen since I was moving my hands around too much 2012-02-13T13:38:54 i noticed im typing the fastest if im "disconnected" 2012-02-13T13:39:11 i like the feeling when it flows 2012-02-13T13:39:21 ktouch is a relly nice program 2012-02-13T13:40:19 UncleVasya: im moderately sure that a drunk guy could not have got it right 2012-02-13T13:40:47 (had he tried to write the raw template type) 2012-02-13T13:41:38 it is possible that malkavian was drunk, and thats why he didnt notice that it was s simple map 2012-02-13T13:41:43 how about that? 2012-02-13T13:41:47 XD 2012-02-13T13:44:15 thestinger: i have no idea how can hungarians touch type 2012-02-13T13:44:26 i mean original words, with acute characters 2012-02-13T13:44:32 oh 2012-02-13T13:44:40 all the those are reachable with the right little finger 2012-02-13T13:44:44 -the 2012-02-13T13:45:03 can you use a compose key? 2012-02-13T13:45:03 and our words are filled with acute characters 2012-02-13T13:45:08 I guess so 2012-02-13T13:45:12 but then you waste a lot of time 2012-02-13T13:45:29 and we have more than 1 type of acuteness 2012-02-13T13:45:33 if you know what i mean 2012-02-13T13:45:51 https://en.wikipedia.org/wiki/Compose_key#Common_compose_combinations 2012-02-13T13:46:04 oóőö 2012-02-13T13:46:15 yeah, I know french 2012-02-13T13:46:17 uüúú 2012-02-13T13:46:18 really annoying to type 2012-02-13T13:46:26 ű 2012-02-13T13:46:27 not nearly that bad though :P 2012-02-13T13:46:37 yeah? 2012-02-13T13:46:42 french is worse? 2012-02-13T13:46:45 no 2012-02-13T13:46:49 I mean hungarian is worse 2012-02-13T13:46:51 ah 2012-02-13T13:47:01 french just has some accents on the e for the most part 2012-02-13T13:47:03 sometimes on a 2012-02-13T13:47:32 iíeéaáuűúüoöóő thats it 2012-02-13T13:47:52 the problem is that those are horribly placed 2012-02-13T13:48:02 oh, french has more then 2012-02-13T13:48:10 but they aren't that common, except on 'e' 2012-02-13T13:48:39 *** ikaros has joined #aichallenge 2012-02-13T13:48:42 *** epicmonkey has joined #aichallenge 2012-02-13T13:48:48 èà there are those too in french, and some others 2012-02-13T13:49:46 *** g0llum has joined #aichallenge 2012-02-13T13:49:52 have you considered learning dvorak? 2012-02-13T13:50:03 yeah, but I'm too lazy 2012-02-13T13:50:19 i dont think ill try either 2012-02-13T13:50:22 I don't really type that much 2012-02-13T13:50:30 if I had to code C or C++ for a living, I would probably learn 2012-02-13T13:50:49 what will you code for aliving then? 2012-02-13T13:50:51 python? 2012-02-13T13:50:57 hopefully something like python 2012-02-13T13:51:06 whats the difference? 2012-02-13T13:51:20 typing wise ofc 2012-02-13T13:51:27 C++ has so much boilerplate 2012-02-13T13:51:41 autocomplete helps though 2012-02-13T13:52:14 whilte you type the boilerplate, you figure out the code you want to write next 2012-02-13T13:52:23 with python, you just stare at the screen 2012-02-13T13:52:31 yeah, I can't think fast enough for typing to matter in a language like python or haskell 2012-02-13T13:52:58 pfft you guys and your fancy editors 2012-02-13T13:53:11 with autocomplete and the like 2012-02-13T13:53:40 helps with laziness 2012-02-13T13:54:09 autocomplete and online help is very nice, when you are getting used to something 2012-02-13T13:54:14 for exmaple to qt, in qtcreator 2012-02-13T13:54:18 or in kdevelop 2012-02-13T13:54:28 you dont have to parse the documentation 2012-02-13T13:54:47 after a while, you can turn it off, but still could save some keystrokes 2012-02-13T13:55:02 I was never a big fan of it 2012-02-13T13:55:07 *** amstan_ has quit IRC (Ping timeout: 265 seconds) 2012-02-13T13:55:11 tends to get in the way more than it helps me 2012-02-13T13:55:29 i dont bother with completion in emacs 2012-02-13T13:55:59 but i wrote my bot in kdevelop, i had to switch from emacs, cause i felt "caged" 2012-02-13T13:56:18 vim has completion for lua, ruby and python out of the box, but I don't use that 2012-02-13T13:56:22 I've only found it useful for C++ 2012-02-13T13:57:05 ugh this guy I work with types so loud 2012-02-13T13:57:53 does he type with 2 fingers? 2012-02-13T13:57:59 whats that called? 2012-02-13T13:58:03 ... picking? 2012-02-13T13:58:06 hunt and peck 2012-02-13T13:58:08 ah 2012-02-13T13:58:10 yes 2012-02-13T13:58:14 no he doesn't 2012-02-13T13:58:30 i think he slams his fists on the keyboard over and over though 2012-02-13T13:58:47 like if he was angry? 2012-02-13T13:58:55 yea, but it's 24/7 2012-02-13T13:59:01 it's loud as fuck 2012-02-13T13:59:01 lol 2012-02-13T13:59:09 I had to turn my headphones up 2012-02-13T13:59:13 i have a solution 2012-02-13T13:59:19 go over and punch him 2012-02-13T13:59:31 clang_complete is half-broken now anyway... 2012-02-13T13:59:32 mcstar: That is not very nice 2012-02-13T13:59:39 plus I like my job hah 2012-02-13T13:59:46 i thought he was a jerk 2012-02-13T13:59:50 and jerks deserve it 2012-02-13T13:59:55 no, he just types loud 2012-02-13T14:00:28 rwest: i just imagined a superhero, that takes care of the loud-typers in workplaces 2012-02-13T14:00:52 he could fly, but would look like quasimodo 2012-02-13T14:01:27 hm, this is a pretty good movie idea 2012-02-13T14:01:44 i imagine all the geeks would watch it 2012-02-13T14:02:25 *** alehorst has joined #aichallenge 2012-02-13T14:04:55 (im not trying to mock you, rwest, a lot of noises bother me, so i feel for you) 2012-02-13T14:07:26 hah 2012-02-13T14:07:32 I blast music a lot anyway 2012-02-13T14:12:16 *** McLeopold has joined #aichallenge 2012-02-13T14:26:01 *** ivan`` has quit IRC (Ping timeout: 240 seconds) 2012-02-13T14:29:31 *** ivan`` has joined #aichallenge 2012-02-13T14:40:48 *** iglo has quit IRC (Read error: Connection reset by peer) 2012-02-13T15:04:29 "A more difficult 2012-02-13T15:04:31 problem is making the program realize that zebras are not fruit." 2012-02-13T15:19:34 *** Redgis has joined #aichallenge 2012-02-13T15:35:16 *** ikaros has quit IRC (Quit: Ex-Chat) 2012-02-13T15:37:38 *** ikaros has joined #aichallenge 2012-02-13T15:48:04 *** UncleVasya has quit IRC (Ping timeout: 260 seconds) 2012-02-13T16:05:08 *** sigh has joined #aichallenge 2012-02-13T16:05:30 *** kraai has joined #aichallenge 2012-02-13T16:05:59 is this the right place to ask for help setting up the aichallenge software? 2012-02-13T16:10:34 yes 2012-02-13T16:10:51 and no, dont ask me 2012-02-13T16:12:28 mcstar: great! 2012-02-13T16:13:15 right place, but wrong time, probably, s the last contest ended christmas, nad the next will take some month to develop 2012-02-13T16:14:01 i'd like to run a private version of the latest contest. 2012-02-13T16:14:35 kraai: anything is possible, just ask specific questions when you get stuck 2012-02-13T16:14:57 i've followed the instructions in INSTALL.md and added the maps that i found, but i can't get it to generate matchups. 2012-02-13T16:16:31 i hacked sql/2_generate_matchup.sql to ignore the pairing_cutoff, then was able to generate a matchup by calling generate_matchup. 2012-02-13T16:16:31 *** loglog has quit IRC (Remote host closed the connection) 2012-02-13T16:16:43 *** loglog has joined #aichallenge 2012-02-13T16:17:23 McLeopold, amstan could you help out kraai ? 2012-02-13T16:17:39 mcstar, kraai: yo? 2012-02-13T16:17:49 kraai: pirate version? lol 2012-02-13T16:18:18 kraai: i'm not exactly sure of that area of the code, you'll have to ask either McLeopold or janzert 2012-02-13T16:18:19 how can i get it to automatically generate matchups? 2012-02-13T16:18:34 it should automatically do it 2012-02-13T16:18:37 how many users do you have? 2012-02-13T16:18:44 2 at the moment. 2012-02-13T16:18:45 you need a bunch before it does it 2012-02-13T16:18:51 yeah, try get like a dozen 2012-02-13T16:18:57 oh. 2012-02-13T16:19:08 kraai: maybe you want a tcp server 2012-02-13T16:19:13 tcp? 2012-02-13T16:19:17 @tcp 2012-02-13T16:19:18 amstan: tcp could be http://ants.fluxid.pl/howto. 2012-02-13T16:19:23 or not.. lol 2012-02-13T16:19:27 very easy to set up 2012-02-13T16:19:43 actually, i havent tried setting it up lol 2012-02-13T16:20:03 404 2012-02-13T16:20:28 it is still somewhere available in github-space 2012-02-13T16:20:33 https://github.com/berak/ants-tcp 2012-02-13T16:20:45 @google ants tcp 2012-02-13T16:20:46 amstan: berak/ants-tcp - GitHub: ; #3: Multiple issues with TCP ants server - Issues - berak/ants-tcp ...: ; AI Challenge Forums • View topic - TCP server for ants: ; TCP and the regulation of foraging in ant - Stanford Networking ...: (2 more messages) 2012-02-13T16:20:55 yeah.. only we can be those, lol 2012-02-13T16:22:04 kraai: but if you can get the site going it would be nicer 2012-02-13T16:22:08 it seems like you're almost there 2012-02-13T16:22:30 with tcp you have to have clients connected all the time 2012-02-13T16:22:34 otherwise matches don't play 2012-02-13T16:23:20 sounds like having the site set up would be better. 2012-02-13T16:27:32 *** scribble has joined #aichallenge 2012-02-13T16:28:14 *** kilae has quit IRC (Quit: ChatZilla 0.9.88 [Firefox 10.0.1/20120208060813]) 2012-02-13T16:31:12 *** sigh has quit IRC (Remote host closed the connection) 2012-02-13T16:34:22 *** dici has quit IRC (Ping timeout: 252 seconds) 2012-02-13T16:34:28 *** dici has joined #aichallenge 2012-02-13T16:54:13 *** epicmonkey has quit IRC (Ping timeout: 260 seconds) 2012-02-13T17:03:32 kraai: still around? 2012-02-13T17:05:28 yes. 2012-02-13T17:05:39 still need help with the matchups? 2012-02-13T17:05:55 yes, we now have three working submissions. 2012-02-13T17:06:39 try running the opponent.sql sp to see what happens 2012-02-13T17:06:41 when i call generate_matchup to create new matchups, it generates the following error: "abort matchup: could not find opponent" 2012-02-13T17:06:53 ok. 2012-02-13T17:06:58 probably there are opponents stuck in a current game 2012-02-13T17:07:30 opponent.sql is the same as the generate_matchup, but it outputs a lot of information 2012-02-13T17:07:55 besides the pairing cutoff, the first step is to verify the number of players 2012-02-13T17:08:02 *** Israfel has quit IRC (Ping timeout: 240 seconds) 2012-02-13T17:08:06 if you only have 2 bots, you'll need some 2 player maps 2012-02-13T17:08:26 when i run "call opponent;", it says i'm missing a parameter. 2012-02-13T17:08:33 pass in null 2012-02-13T17:08:55 or a submission id, but null gets the next one in the queue 2012-02-13T17:09:59 i get the "could not find opponent" error. 2012-02-13T17:10:19 you are probably getting a seed player, right? 2012-02-13T17:10:35 yes. 2012-02-13T17:10:55 so, the next step is to list available opponents, which gets you 0 2012-02-13T17:11:24 it excludes players currently in a matchup 2012-02-13T17:11:33 it lists a table of 9 players. 2012-02-13T17:11:41 is that what you're referring to? 2012-02-13T17:11:53 https://github.com/aichallenge/aichallenge/blob/epsilon/sql/opponent.sql#L289 2012-02-13T17:11:56 that part right there 2012-02-13T17:12:03 wait... 2012-02-13T17:12:21 maybe I'm mistaken... 2012-02-13T17:12:47 can you get me an sql dump of your database? 2012-02-13T17:13:21 how? 2012-02-13T17:13:33 using mysqldump 2012-02-13T17:13:42 then you'd have to send me the file someout 2012-02-13T17:14:09 ok, email? 2012-02-13T17:14:21 depends on the size, maybe 2012-02-13T17:14:28 107 Kb 2012-02-13T17:14:36 sure 2012-02-13T17:14:41 my nick @ gmail 2012-02-13T17:16:41 Sent. 2012-02-13T17:17:46 got it, give me a second... 2012-02-13T17:20:41 *** Israfel has joined #aichallenge 2012-02-13T17:21:46 *** g0llum has quit IRC (Read error: Connection reset by peer) 2012-02-13T17:23:18 kraai: okay, I can reproduce the issue, I'm looking at it 2012-02-13T17:23:30 great! 2012-02-13T17:24:46 that list of 9 was available maps grouped by player count 2012-02-13T17:33:11 *** foRei has quit IRC (Read error: Connection reset by peer) 2012-02-13T17:34:16 kraai: I think i've found the issue... 2012-02-13T17:38:14 *** dici has quit IRC (Read error: Connection reset by peer) 2012-02-13T17:39:46 *** dapplegate has joined #aichallenge 2012-02-13T17:40:37 *** scribble has quit IRC (Ping timeout: 240 seconds) 2012-02-13T17:43:44 McLeopold: what's wrong? 2012-02-13T17:43:51 aichallenge: McLeopold epsilon * r372fcf4 / (sql/2_generate_matchup.sql sql/opponent.sql): 2012-02-13T17:43:52 aichallenge: Fix to matchup generator for low number of submissions or new 2012-02-13T17:43:52 aichallenge: submissions. - http://git.io/frn5eg 2012-02-13T17:44:00 pairing_cutoff stuff 2012-02-13T17:44:29 clean out the matchup and matchup_player tables, set the pairing_cutoff to null in the settings table, and get the latest stored procedures 2012-02-13T17:44:49 update settings set number = null where name = 'pairing_cutoff'; 2012-02-13T17:45:04 after a git pull? 2012-02-13T17:45:23 yeah, git pull, then you'll need to run the sql to update 2012-02-13T17:46:17 you'll see this message if there are too many players currently in a game: matchup skipped because available players is less than smallest map 2012-02-13T17:46:22 delete from matchup; delete from matchup_player; also? 2012-02-13T17:46:50 yes, your database just had a bunch of error records 2012-02-13T17:46:58 we need to do something about the spam 2012-02-13T17:47:03 i'm deleting like 4+ posts a day atm 2012-02-13T17:47:37 now call opponent (null); ? 2012-02-13T17:47:43 McLeopold: I assume the problem actually was that no rank had been set yet? 2012-02-13T17:47:52 yes 2012-02-13T17:48:16 now i get "matchup skipped because available players is less than smallest map". 2012-02-13T17:48:24 which means to use the pairing cutoff, everyone needs a rank 2012-02-13T17:48:31 kraai: yes, that's good 2012-02-13T17:48:40 now, you need a worker to actually start playing the games 2012-02-13T17:48:47 i have a worker. 2012-02-13T17:48:54 @later tell UncleVasya don't stop pointing out the spam, although I have also been trying to remember to check myself lately and getting even more 2012-02-13T17:48:54 antimatroid: I come to serve. 2012-02-13T17:49:12 so the check for null cutoff could have been changed to just set the cutoff to max_players + 1 instead 2012-02-13T17:49:16 it's currently awaiting a task. 2012-02-13T17:49:24 not that it matters much 2012-02-13T17:49:35 it doesn't, since I rewriting the matchup stuff :) 2012-02-13T17:49:58 do i need to restart the worker? 2012-02-13T17:50:37 I don't think you should have to. You can manually check the response to an api request in a browser. 2012-02-13T17:51:02 kraai: https://github.com/aichallenge/aichallenge/wiki/Worker-Manager-Communication 2012-02-13T17:51:29 try an api_get_task call 2012-02-13T17:52:35 it seems to hang. 2012-02-13T17:52:53 i thought it will only work if there's something in the matchup table. 2012-02-13T17:52:53 that sucks 2012-02-13T17:53:08 it should return a blank task, not hang 2012-02-13T17:53:08 and the matchup table's empty. 2012-02-13T17:53:24 it will keep retrying for quite a while 2012-02-13T17:53:31 I think we switched the generate matchup to a service 2012-02-13T17:53:38 right 2012-02-13T17:53:44 a service? 2012-02-13T17:53:49 well a script that runs it 2012-02-13T17:54:13 there's a manager/matchup_buffer.py script that calls generate_matchup. 2012-02-13T17:54:22 to stop race conditions since mysql isam backend doesn't have proper transactions 2012-02-13T17:54:26 when i tried it before, though, it just filled the matchup table with errors. 2012-02-13T17:54:46 but, now with the fix, it should do the right think 2012-02-13T17:54:48 thing 2012-02-13T17:54:48 should i try it again with the sql? 2012-02-13T17:54:54 ok, will try. 2012-02-13T17:54:55 that works too 2012-02-13T17:55:01 one at a time by hand is ok 2012-02-13T17:55:42 janzert: while you're here, care to discuss infrastructure details? 2012-02-13T17:55:52 sorry, just leaving 2012-02-13T17:56:02 :( 2012-02-13T17:56:06 oh well 2012-02-13T17:56:13 now prints "Buffer size set to 50", then "WARNING: Found empty buffer" and "Adding 60 matches to buffer already having 0" in a loop. never adds anything to table. 2012-02-13T17:56:16 tl:dr, I like flask and mongrel2 2012-02-13T17:56:19 *** Jak_o_Shadows has joined #aichallenge 2012-02-13T17:56:29 and really I don't have much interest unless it looks like a non-profit is going to happen, which doesn't seem to be terribly promising atm 2012-02-13T17:56:46 ok 2012-02-13T17:56:54 I understand 2012-02-13T17:57:18 I too refuse to talk about the "next game", but I do enjoy learning about back end stuff 2012-02-13T17:57:49 kraai: set the buffer sizes to 1? 2012-02-13T17:59:50 Now the first number in "Adding ??? matches to buffer already having 0" increases up to 60, then stays there. 2012-02-13T18:00:28 change the max to 1 as well 2012-02-13T18:00:41 or 2 2012-02-13T18:00:43 when i run "call opponent (null);", @max_players is 0. i assume this is wrong. 2012-02-13T18:00:53 no, that is probably right 2012-02-13T18:01:01 if all 3 are in a matchup that isn't finished yet 2012-02-13T18:01:27 but the matchup table is empty. 2012-02-13T18:01:45 is there somewhere else they can be? 2012-02-13T18:01:59 matchup_players? 2012-02-13T18:02:22 matchup_player is empty too. 2012-02-13T18:02:57 then it should be 3 2012-02-13T18:03:21 the submission statuses are all 40? 2012-02-13T18:04:05 there are three with status 40, two with status 70, and one with status 80. 2012-02-13T18:04:15 one person had a number of failed submissions. 2012-02-13T18:04:31 try running the max_players query by hand, but use a select * 2012-02-13T18:05:21 *** pairofdice has quit IRC (Quit: When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.) 2012-02-13T18:05:27 @pairing_cutoff is set to 0. 2012-02-13T18:05:28 kraai: I'm sorry Dave, err kraai; I cannot 'pairing_cutoff'. 2012-02-13T18:05:34 set that to null 2012-02-13T18:06:09 in the settings table 2012-02-13T18:06:58 it displays a warning, "Column 'number' cannot be null". 2012-02-13T18:07:02 delete the row? 2012-02-13T18:07:06 sure 2012-02-13T18:07:19 I didn't think we had that constraint 2012-02-13T18:07:42 ok, now i'm back to "could not find opponent" error. 2012-02-13T18:08:02 and a clean matchup table? 2012-02-13T18:08:22 yep. 2012-02-13T18:08:29 hmm... 2012-02-13T18:08:36 paste bin the output of opponent(null) 2012-02-13T18:09:02 sorry, IRC n00b. how do i paste bin? 2012-02-13T18:09:12 http://pastebin.com/ 2012-02-13T18:10:54 http://pastebin.com/cDKN799d 2012-02-13T18:11:26 hmm, I think it's trying to fill up a 10 player map 2012-02-13T18:11:43 d'oh. 2012-02-13T18:12:10 should i only add 2 or 3 player maps? 2012-02-13T18:12:27 well, we should fix the script properly, but that would do it 2012-02-13T18:13:00 wow, totally not there :( 2012-02-13T18:13:13 eh? 2012-02-13T18:13:26 limiting the map set to <= @max_players 2012-02-13T18:15:57 aichallenge: McLeopold epsilon * r4237971 / (sql/2_generate_matchup.sql sql/opponent.sql): fix max_player selection of map - http://git.io/Pt6Mwg 2012-02-13T18:16:03 okay, git pull and update 2012-02-13T18:19:07 am i supposed to call opponent or generate_matchup? 2012-02-13T18:19:29 opponent won't fill in the matchup table, it just displays what would happen if you did 2012-02-13T18:19:29 generate_matchup seemed to generate one. 2012-02-13T18:19:39 ah. 2012-02-13T18:20:29 it worked! 2012-02-13T18:20:37 \o/ 2012-02-13T18:21:05 thanks! 2012-02-13T18:21:10 np 2012-02-13T18:29:16 how do i automatically generate matchups? 2012-02-13T18:30:45 use the matchup_buffer.py 2012-02-13T18:31:51 set both buffer options to 1 2012-02-13T18:34:16 *** scribble has joined #aichallenge 2012-02-13T18:35:50 kraai: if the matchup_buffer.py doesn't work for you, you can patch in the original method, which was to generate one from the php: https://github.com/aichallenge/aichallenge/commit/fcf36ac3e8d67e3308cc82c9327ed4c29cec7be2#website/api_get_task.php 2012-02-13T18:38:53 matchup_buffer.py goes into an infinite busy loop, so i'll try patching the php. 2012-02-13T18:39:07 okay, with only one worker, you should be fine 2012-02-13T18:43:37 thanks again. 2012-02-13T18:43:57 np 2012-02-13T18:46:06 *** mcstar has quit IRC (Quit: mcstar) 2012-02-13T18:59:58 *** Redgis has quit IRC (Ping timeout: 276 seconds) 2012-02-13T19:01:02 *** mceier has quit IRC (Quit: leaving) 2012-02-13T19:07:29 *** kraai has quit IRC (Quit: Page closed) 2012-02-13T19:08:30 *** antimatroidl has joined #aichallenge 2012-02-13T19:18:45 *** ikaros has quit IRC (Quit: Ex-Chat) 2012-02-13T19:29:40 *** Palmik has quit IRC () 2012-02-13T19:32:54 *** antimatroidl has quit IRC (Ping timeout: 248 seconds) 2012-02-13T19:36:15 *** antimatroidl has joined #aichallenge 2012-02-13T19:40:23 *** antimatroidl has quit IRC (Read error: Connection reset by peer) 2012-02-13T19:40:26 *** antimatroidl1 has joined #aichallenge 2012-02-13T19:46:46 *** antimatroidl1 has quit IRC (Ping timeout: 248 seconds) 2012-02-13T19:47:15 *** antimatroidl has joined #aichallenge 2012-02-13T19:56:22 *** antimatroidl has quit IRC (Ping timeout: 248 seconds) 2012-02-13T20:01:29 *** delt0r_ has quit IRC (Ping timeout: 260 seconds) 2012-02-13T20:02:04 *** antimatroidl has joined #aichallenge 2012-02-13T20:04:05 *** Garf has quit IRC (Quit: Make a new plan, Stan!) 2012-02-13T20:13:17 *** antimatroidl has quit IRC (Quit: Leaving.) 2012-02-13T20:14:06 *** delt0r_ has joined #aichallenge 2012-02-13T20:23:34 *** coeus has quit IRC (Ping timeout: 252 seconds) 2012-02-13T20:24:02 McLeopold: woah, newcode! 2012-02-13T20:29:28 *** McLeopold has quit IRC (Quit: Leaving.) 2012-02-13T20:49:31 *** antimatroidl has joined #aichallenge 2012-02-13T20:51:09 *** dapplegate has quit IRC (Quit: Ex-Chat) 2012-02-13T20:58:46 *** antimatroidl has quit IRC (Ping timeout: 248 seconds) 2012-02-13T21:05:43 *** antimatroidl has joined #aichallenge 2012-02-13T21:20:05 *** antimatroidl has quit IRC (Ping timeout: 248 seconds) 2012-02-13T21:21:14 *** antimatroidl has joined #aichallenge 2012-02-13T21:35:34 *** antimatroidl has quit IRC (Ping timeout: 247 seconds) 2012-02-13T22:01:17 *** denysonique__ has quit IRC (Read error: Operation timed out) 2012-02-13T22:03:04 *** denysonique__ has joined #aichallenge 2012-02-13T22:24:32 *** antimatroidl has joined #aichallenge 2012-02-13T22:31:30 *** X-Scale has quit IRC (Remote host closed the connection) 2012-02-13T22:42:32 *** antimatroidl has quit IRC (Quit: Leaving.) 2012-02-13T22:47:45 *** treeform has joined #aichallenge 2012-02-13T22:51:36 *** antimatroid has quit IRC (Ping timeout: 260 seconds) 2012-02-13T23:13:29 *** antimatroid has joined #aichallenge 2012-02-13T23:26:00 *** Chris_0076 has quit IRC (Quit: Leaving) 2012-02-13T23:28:28 *** chris_0076 has joined #aichallenge 2012-02-13T23:48:19 *** yoden1 has joined #aichallenge 2012-02-13T23:50:04 *** yoden has quit IRC (Ping timeout: 240 seconds) 2012-02-13T23:53:02 *** thestinger has quit IRC (Quit: sleep) 2012-02-13T23:57:24 *** Areks has joined #aichallenge