2011-10-16T00:03:06 *** Zannick has quit IRC (Ping timeout: 255 seconds) 2011-10-16T00:03:17 *** amstan_ has joined #aichallenge 2011-10-16T00:03:18 *** ChanServ sets mode: +o amstan_ 2011-10-16T00:05:01 *** Zannick has joined #aichallenge 2011-10-16T00:19:25 *** foRei has quit IRC (Quit: Bye) 2011-10-16T00:30:52 *** delt0r_ has quit IRC (Ping timeout: 258 seconds) 2011-10-16T00:43:57 *** delt0r_ has joined #aichallenge 2011-10-16T01:43:30 *** dvladim has joined #aichallenge 2011-10-16T02:04:32 *** Palmik has joined #aichallenge 2011-10-16T02:12:50 *** dvladim has quit IRC (Quit: Konversation terminated!) 2011-10-16T02:27:15 *** cebrian has joined #aichallenge 2011-10-16T02:27:30 hi everybody 2011-10-16T02:27:41 does anyone knows whether a haskell client is in the works? 2011-10-16T02:28:19 *** boegel has joined #aichallenge 2011-10-16T02:48:39 *** boegel has quit IRC (Quit: This computer has gone to sleep) 2011-10-16T02:54:19 *** cebrian has quit IRC (Remote host closed the connection) 2011-10-16T02:55:50 *** boegel has joined #aichallenge 2011-10-16T02:58:29 *** boegel has quit IRC (Client Quit) 2011-10-16T03:17:38 *** _flag <_flag!~flag@69.165.173.172> has quit IRC (Ping timeout: 276 seconds) 2011-10-16T04:01:28 *** dvladim has joined #aichallenge 2011-10-16T04:13:51 *** ibdknox has quit IRC (Remote host closed the connection) 2011-10-16T04:14:22 *** ibdknox has joined #aichallenge 2011-10-16T04:18:49 *** ibdknox has quit IRC (Ping timeout: 252 seconds) 2011-10-16T04:30:07 *** dvladim has quit IRC (Ping timeout: 248 seconds) 2011-10-16T04:36:20 *** Akranis has joined #aichallenge 2011-10-16T04:42:52 *** mceier has joined #aichallenge 2011-10-16T05:00:38 *** mcstar has joined #aichallenge 2011-10-16T05:03:25 *** okayzed has quit IRC (Ping timeout: 258 seconds) 2011-10-16T05:03:30 *** okayzed has joined #aichallenge 2011-10-16T05:14:06 *** dvladim has joined #aichallenge 2011-10-16T05:19:40 *** Laentir has joined #aichallenge 2011-10-16T05:19:59 Есть кто русскоговорящий? 2011-10-16T05:26:10 найдется 2011-10-16T05:26:49 some people just dont get that this is an english-language channel 2011-10-16T05:39:59 *** kaemo has quit IRC (Ping timeout: 276 seconds) 2011-10-16T05:45:50 Да, спасибо... Сам разобрался... 2011-10-16T06:20:10 *** foRei has joined #aichallenge 2011-10-16T06:54:48 *** onensora has joined #aichallenge 2011-10-16T06:57:49 *** Eruonen|asleep has joined #aichallenge 2011-10-16T06:59:06 *** onensora has quit IRC (Ping timeout: 244 seconds) 2011-10-16T06:59:35 *** Eruonen|asleep is now known as onensora 2011-10-16T07:01:32 *** ancooper has joined #aichallenge 2011-10-16T07:04:11 *** mleise has joined #aichallenge 2011-10-16T07:06:24 *** okayzed has quit IRC (Ping timeout: 248 seconds) 2011-10-16T07:17:35 *** ancooper has quit IRC (Quit: Page closed) 2011-10-16T07:18:46 @later tell amstan: There are to JavaScript objects ("hashes") in the constructor for the visualizer: In options set "decorated":false and in config set "fullscreen":true. There is no way to disable the shaded parts of the map though, they will be at least 10 pixels in size. 2011-10-16T07:18:46 mleise: As you wish. 2011-10-16T07:21:10 *** onensora has quit IRC (Ping timeout: 260 seconds) 2011-10-16T07:22:37 @later tell amstan: For any integral number n, you can set width = 20 + n * map_cols, height = 20 + n * map_rows, to get the minimum border size. 2011-10-16T07:22:37 mleise: Yep. 2011-10-16T07:28:37 *** mleyen has joined #aichallenge 2011-10-16T07:30:13 *** okayzed has joined #aichallenge 2011-10-16T07:32:32 *** onensora has joined #aichallenge 2011-10-16T07:36:20 *** okayzed has quit IRC (Ping timeout: 260 seconds) 2011-10-16T07:37:01 *** boegel has joined #aichallenge 2011-10-16T07:44:29 *** okayzed has joined #aichallenge 2011-10-16T07:45:17 *** boegel has quit IRC (Quit: This computer has gone to sleep) 2011-10-16T07:49:39 *** dvladim has quit IRC (Read error: Operation timed out) 2011-10-16T07:59:12 *** kaemo has joined #aichallenge 2011-10-16T08:22:24 *** kaemo has quit IRC (Ping timeout: 260 seconds) 2011-10-16T08:25:14 *** kaemo has joined #aichallenge 2011-10-16T08:30:48 *** delt0r_ has quit IRC (Ping timeout: 245 seconds) 2011-10-16T08:33:48 *** boegel has joined #aichallenge 2011-10-16T08:39:27 *** okayzed has quit IRC (Read error: Operation timed out) 2011-10-16T08:39:32 *** okayzed has joined #aichallenge 2011-10-16T08:43:33 *** delt0r_ has joined #aichallenge 2011-10-16T08:43:45 *** Lithosphere has quit IRC (Remote host closed the connection) 2011-10-16T08:43:59 *** Lithosphere has joined #aichallenge 2011-10-16T08:43:59 *** Lithosphere has joined #aichallenge 2011-10-16T08:45:07 *** boegel has quit IRC (Quit: Leaving) 2011-10-16T08:48:45 *** amstan_ has quit IRC (Ping timeout: 260 seconds) 2011-10-16T08:50:40 *** Oleg has joined #aichallenge 2011-10-16T08:51:06 *** Oleg is now known as Guest57926 2011-10-16T08:53:41 *** kaemo has quit IRC (Ping timeout: 252 seconds) 2011-10-16T09:01:24 *** Guest57926 has quit IRC (Quit: Page closed) 2011-10-16T09:10:24 *** Kingpin13 has joined #aichallenge 2011-10-16T09:17:50 *** george_ has joined #aichallenge 2011-10-16T09:18:23 hi, could i ask quick question about scoring/rank stabilised ending? 2011-10-16T09:19:05 i see some games ending with 'rank stabilized' with 2 players remaining, the otehrs eliminated, with 0 points. 1 remaining player has 1 point & 1 hill 2011-10-16T09:19:14 this player gets ranked 2nd 2011-10-16T09:19:38 BUT could he not finish (joint) 3rd, if/when he loses his hill? 2011-10-16T10:09:37 *** dvladim has joined #aichallenge 2011-10-16T10:23:54 *** kaemo has joined #aichallenge 2011-10-16T10:35:29 *** dvladim has quit IRC (Quit: Konversation terminated!) 2011-10-16T10:35:33 *** dvladim_ has joined #aichallenge 2011-10-16T10:37:41 *** sigh has quit IRC (Remote host closed the connection) 2011-10-16T10:38:14 *** sigh has joined #aichallenge 2011-10-16T10:39:35 *** dvladim_ has quit IRC (Remote host closed the connection) 2011-10-16T10:39:57 *** dvladim_ has joined #aichallenge 2011-10-16T10:42:28 *** sigh has quit IRC (Ping timeout: 245 seconds) 2011-10-16T11:10:30 *** luckyluck has joined #aichallenge 2011-10-16T11:13:00 *** luckyluck has quit IRC (Client Quit) 2011-10-16T11:20:29 *** Blkt has joined #aichallenge 2011-10-16T11:25:36 *** amstan_ has joined #aichallenge 2011-10-16T11:25:36 *** ChanServ sets mode: +o amstan_ 2011-10-16T11:31:33 good evening everyone 2011-10-16T11:36:18 *** dvladim_ is now known as dvladim 2011-10-16T11:40:48 *** Kingpin13 has quit IRC (Quit: quit) 2011-10-16T11:48:23 *** mleyen has quit IRC (Ping timeout: 256 seconds) 2011-10-16T11:55:23 *** Takezo has joined #aichallenge 2011-10-16T11:55:30 hello everyone :) 2011-10-16T11:56:02 *** g0llum has joined #aichallenge 2011-10-16T11:56:51 can you help me start my own bot on my computer? 2011-10-16T11:57:42 I downloaded java_starter and tools, unzipped them, compiled .java files, but it doesn't start the game when I run "java -jar tools/PlayGame.jar maps/map7.txt 1000 1000 log.txt "java MyBot" "java MyBot" | java -jar tools/ShowGame.jar" 2011-10-16T11:58:07 says no "PlayGame.jar" and indeed there is no such file in tools folder 2011-10-16T11:58:08 *** mleyen has joined #aichallenge 2011-10-16T11:58:42 anyone from Russia? ;) 2011-10-16T12:03:17 why did this game end so early? http://aichallengebeta.hypertriangle.com/visualizer.php?game=32752 2011-10-16T12:04:03 Takezo: where are you getting this info from? 2011-10-16T12:04:32 http://beta.aichallenge.org/starting_your_own.php ? 2011-10-16T12:04:54 sigh.. i tought we got rid of the planetwars stuff 2011-10-16T12:05:01 try this: http://aichallengebeta.hypertriangle.com/using_the_tools.php 2011-10-16T12:05:50 yep, that's exactly where I downloaded tools from (for Windows) 2011-10-16T12:06:03 there are .py files and no "PlayGame.jar" 2011-10-16T12:06:12 somewhat clueless on what I do wrong 2011-10-16T12:06:13 there's instructions on that page, run play_one_game.cmd 2011-10-16T12:06:44 should I install Python on my computer then? 2011-10-16T12:07:10 yes 2011-10-16T12:07:27 contestbot: seen antimatroid 2011-10-16T12:07:27 amstan_: antimatroid was last seen in #aichallenge 15 hours, 14 minutes, and 3 seconds ago: @later tell amstan hmmm, it seems i've only added options for min/max dimensions 2011-10-16T12:07:27 -_-; alrighty then, Python it is.. 2011-10-16T12:07:41 antimatroid: you around? 2011-10-16T12:07:48 *** Takezo has quit IRC (Quit: Page closed) 2011-10-16T12:13:01 *** Palmik has quit IRC (Ping timeout: 240 seconds) 2011-10-16T12:19:20 *** Fortnox has joined #aichallenge 2011-10-16T12:27:42 *** aarossig has quit IRC (Remote host closed the connection) 2011-10-16T12:31:53 *** Fortnox has quit IRC (Quit: Fortnox) 2011-10-16T12:39:14 *** mkukkk has joined #aichallenge 2011-10-16T12:46:25 Hello, please help run the graphical mode of the game. I have ubuntu. I compiled the c + + sample files via "make". Now run through the terminal ". / MyBot" and nothing happens = ( 2011-10-16T12:49:30 *** Blkt has quit IRC (Quit: cya) 2011-10-16T12:49:42 mkukkk: running it like that just executes your bot 2011-10-16T12:50:01 the bot doesn't know how to run the game by itself 2011-10-16T12:50:10 mkukkk: see this: http://aichallengebeta.hypertriangle.com/using_the_tools.php 2011-10-16T12:51:38 thank you! 2011-10-16T12:55:23 *** Palmik has joined #aichallenge 2011-10-16T12:58:59 *** onensora has quit IRC (Ping timeout: 252 seconds) 2011-10-16T13:00:54 *** mkukkk has quit IRC (Ping timeout: 265 seconds) 2011-10-16T13:09:19 *** nplus has quit IRC (Quit: ChatZilla 0.9.87-rdmsoft [XULRunner 1.9.0.17/2009122204]) 2011-10-16T13:09:54 *** nplus has joined #aichallenge 2011-10-16T13:18:42 *** dvladim has quit IRC (Ping timeout: 255 seconds) 2011-10-16T13:30:28 *** UncleVasya has joined #aichallenge 2011-10-16T13:31:15 mcstar: hi. Here is a girls from Ukraine: http://aichallengebeta.hypertriangle.com/profile.php?user=499 2011-10-16T13:31:22 *girl 2011-10-16T13:31:57 haha 2011-10-16T13:32:01 hi 2011-10-16T13:32:44 do you know her, or you only suspect she is a girl? 2011-10-16T13:34:25 female name. And not very beautiful (I mean that the man who tries to joke would pick more pretty name) 2011-10-16T13:35:43 *** ibdknox has joined #aichallenge 2011-10-16T13:36:12 anyway, she isnt your type, she chose java 2011-10-16T13:36:30 I have a difficult weeks now in institute, we must get some points in all subjects. That's why you don't see me here. 2011-10-16T13:36:43 Yeah, I had a same thought :) 2011-10-16T13:37:35 Bye. 2011-10-16T13:37:53 *** UncleVasya has quit IRC () 2011-10-16T13:44:11 *** kaemo has quit IRC (Ping timeout: 258 seconds) 2011-10-16T13:49:27 amstan_: I think I've got something for you 2011-10-16T13:49:33 hmm? 2011-10-16T13:50:06 it will take a little while 2011-10-16T13:51:19 lol it overheats my laptop 2011-10-16T13:54:33 *** Apophis has joined #aichallenge 2011-10-16T14:19:29 antimatroid: you there? 2011-10-16T14:30:02 *** eashoka has joined #aichallenge 2011-10-16T14:33:03 *** diskonnect has joined #aichallenge 2011-10-16T14:33:42 *** george_ has quit IRC (Ping timeout: 265 seconds) 2011-10-16T14:37:05 *** eashoka has quit IRC (Ping timeout: 265 seconds) 2011-10-16T14:38:21 anyone doing ai-class? 2011-10-16T14:38:31 yes 2011-10-16T14:38:39 how do i know my mark in the homework? 2011-10-16T14:38:48 all i have is checkmarks next to them, but no mark 2011-10-16T14:38:51 i have no idea, im not doing it 2011-10-16T14:39:02 a guy was here who said he is doing it 2011-10-16T14:39:06 i cant remember his name 2011-10-16T14:39:19 mcleopold's doing it too 2011-10-16T14:39:28 wsnt him 2011-10-16T14:39:46 i looked at the site, even watched the video 2011-10-16T14:40:04 norvig and the ferman guy rightM? 2011-10-16T14:40:08 german* 2011-10-16T14:40:37 Sebastian Thrun and Peter Norvig 2011-10-16T14:40:45 yep 2011-10-16T14:40:56 imagine, im learning c++ 2011-10-16T14:41:22 i was at a "job market"(i have no idea what else to call it) 2011-10-16T14:41:36 and they wanted c++, java, and c# programers 2011-10-16T14:41:55 well, at least it's not vb or something weirder 2011-10-16T14:42:18 havent seen vb jobs there 2011-10-16T14:42:37 but i saw a video with brian beckman 2011-10-16T14:43:05 he is implementing all sorts of new programming language ideas into vb.net at ms resaearch 2011-10-16T14:43:09 research* 2011-10-16T14:43:29 they want to put monads in there 2011-10-16T14:44:20 *** ibdknox has quit IRC (Remote host closed the connection) 2011-10-16T14:44:25 oh dear 2011-10-16T14:44:51 *** ibdknox has joined #aichallenge 2011-10-16T14:49:19 *** ibdknox has quit IRC (Ping timeout: 248 seconds) 2011-10-16T14:50:05 *** g0llum has quit IRC (Read error: Connection reset by peer) 2011-10-16T14:50:38 *** g0llum has joined #aichallenge 2011-10-16T14:58:38 *** choas has joined #aichallenge 2011-10-16T15:12:33 *** TTE has joined #aichallenge 2011-10-16T15:14:18 *** amstan_ is now known as amstan 2011-10-16T15:20:07 *** TTE has quit IRC (Quit: Page closed) 2011-10-16T15:20:08 amstan: maybe marks will be after due date 2011-10-16T15:20:23 yeah, what's what i'm thinking 2011-10-16T15:20:45 now you can change answers and I dont see any button to submit for grade like in db-class 2011-10-16T15:22:29 *** Accoun has quit IRC () 2011-10-16T15:34:19 amstan: http://marco-leise.homedns.org/movie.mp4 2011-10-16T15:34:49 mleise: is the top wrapped to the bottom? or is there pixels missing? 2011-10-16T15:35:20 ideally i would have wanted to see the whole board 2011-10-16T15:35:24 but this is appropriate too 2011-10-16T15:36:18 i don't understand why cyan oscilates so much 2011-10-16T15:36:23 why don't they just stand still 2011-10-16T15:36:25 aichallenge: Marco Leise * r2fce7d0 / (6 files in 3 dirs): Mozilla moved Rhino from their CVS to GitHub - http://git.io/TJCX8w 2011-10-16T15:36:25 aichallenge: Marco Leise * r5cc643b / (11 files in 3 dirs): added video output option to Java visualizer - http://git.io/Tu8INQ 2011-10-16T15:37:51 mleise: looks good 2011-10-16T15:38:01 *** dvladim has joined #aichallenge 2011-10-16T15:38:36 amstan: I cropped the video to 1280x720 2011-10-16T15:38:45 *kiss* 2011-10-16T15:38:49 You can chose a different map size 2011-10-16T15:39:05 *** Accoun has joined #aichallenge 2011-10-16T15:39:40 I recommend a size where you get the squares all aligned on mpeg macroblocks (8x8 pixels) for best quality 2011-10-16T15:40:28 what are we supposed to see? 2011-10-16T15:40:38 (correction: amstan to see) 2011-10-16T15:40:52 janzert: you around? 2011-10-16T15:41:23 amstan: rows=86 cols=156 would be the perfect size 2011-10-16T15:41:55 mleise: i was poking around in the mapgen to get different sizes, there's no way to make it output a specific map size 2011-10-16T15:42:03 just ranges on both x and y(at the same time) 2011-10-16T15:42:08 most of the time it'll output a square map 2011-10-16T15:42:32 I'm just saying :) 2011-10-16T15:42:58 aham, so the news is the rendering itself 2011-10-16T15:48:33 mcstar: Yes, the news is that the visualizer supports fixed frame rate output to compressed numbered image files using multi-threading. 2011-10-16T15:49:19 aham, so you make the movie from those images 2011-10-16T15:49:39 yes, using ffmpeg in this case 2011-10-16T15:50:15 make the script available too, where the visualizer is 2011-10-16T15:50:20 but i guess you thought of that 2011-10-16T15:50:30 what script? 2011-10-16T15:50:41 the parameterized ffmpeg call 2011-10-16T15:52:11 I added a simple example in the help for the visualizer (java -jar visualizer.jar --help), that will work. But the quality can be improved with the right map size, image resolution and video format. 2011-10-16T15:54:11 The final line I used was: ffmpeg -i %08d.png -vcodec libx264 -vpre lossless_max movie.mp4 2011-10-16T15:54:44 Now it is in the channel logs for later reference :p 2011-10-16T15:57:36 *** g0llum has quit IRC (Ping timeout: 248 seconds) 2011-10-16T15:57:48 yeah 2011-10-16T15:58:30 now you just have to make a readme "pls grep the logs for the exact video conversion call" 2011-10-16T15:59:21 i am proud of myself too, btw 2011-10-16T15:59:30 If a video is going to be uploaded on YouTube there might be someone editing it, so its probably not simply a conversion call. 2011-10-16T15:59:36 i wrote a slow matrix multiplication c++ program 2011-10-16T15:59:49 lol, at least it works 2011-10-16T16:00:07 for what sizes of matrixes? 2011-10-16T16:00:28 well, i tested fot a 300x300 double prec. matrix, 10 times 2011-10-16T16:00:36 took 1.4 sec with -O3 2011-10-16T16:00:48 ok, that's a huge one 2011-10-16T16:00:50 mathematica did it in 0.35sec 2011-10-16T16:01:26 the thing is, the matrix can be indexed like a 2d static array 2011-10-16T16:01:42 mleise: why do you think someone will edit it? 2011-10-16T16:01:51 i guess, for internal operations, like multiplication, i will not use double indexing 2011-10-16T16:02:00 mcstar: If you want to optimize you can try do reduce the number of divisions 2011-10-16T16:02:18 what divisions? 2011-10-16T16:02:39 sorry, i was somewhere else -> inversion 2011-10-16T16:02:46 ah 2011-10-16T16:02:49 next step 2011-10-16T16:03:05 but i will do an LU decomposition to solve linear systems 2011-10-16T16:03:19 but maybe ill do inversion too 2011-10-16T16:03:39 anyway, this is my second object-oriented program 2011-10-16T16:03:51 amstan: Create an intro saying "Goole AI challenge - Ants (sample gameplay)" or something and "Thanks for watching" 2011-10-16T16:04:11 for youtube? 2011-10-16T16:04:25 mleise: last time we just went with it, was pretty popular 2011-10-16T16:04:32 mcstar: yes, or don't you do this on youtube? 2011-10-16T16:04:56 its a good idea to make a video that will circulate among youtubers 2011-10-16T16:04:59 or not.. http://www.youtube.com/watch?v=mwDKMiAfxFE&feature=player_embedded 2011-10-16T16:05:07 sigh 2011-10-16T16:05:13 jeff sucks at archiving data 2011-10-16T16:05:22 closes accounts, loses replays 2011-10-16T16:05:25 but the home-page is good, too, you are welcomed by a gameplay 2011-10-16T16:05:30 ok, PlanetWars was more interesting to watch though. Ants could use some zoom in on an ant hill and other action. 2011-10-16T16:05:59 this was done in tron 2011-10-16T16:06:17 mleise: zoom in, than you could see the expressions on the ants' faces 2011-10-16T16:07:12 *** diskonnect has quit IRC (Quit: KVIrc 4.0.2 Insomnia http://www.kvirc.net/) 2011-10-16T16:08:03 how about speeding up the game on the front page? 2011-10-16T16:08:37 lol, the visualizer already has a hard time to get more than one frame per turn out :p 2011-10-16T16:08:54 not like that 2011-10-16T16:08:57 more turns per sec 2011-10-16T16:09:07 not more frames per turn 2011-10-16T16:09:46 im just saying, if it seems faster, than more things would happen, and the newbie would find the game more interesting 2011-10-16T16:09:48 I know what you mean. The faster you play the replay, the more the per turn preparations weight. 2011-10-16T16:10:05 he wouldnt know where to look, and would think, mmaaaan this is crazy, im doing it! 2011-10-16T16:10:34 you want think it has to look crazy enough? hmm :-) 2011-10-16T16:10:42 -want 2011-10-16T16:10:53 crazy is the new awesome 2011-10-16T16:10:57 :D 2011-10-16T16:11:49 theres a good chance that im doing my bot in c++ too 2011-10-16T16:12:00 (shameful i know, but practical) 2011-10-16T16:12:12 Anyway for an introduction video it would be nice to have it like the typical strategy/role playing game promo video. Some titles like "collect food", "raise an army" and such, with scenes in the right zoom level the showcase this. 2011-10-16T16:13:01 mcstar: There are also other systems languages like Go or D. 2011-10-16T16:13:57 Iterating over stl lists in C++ makes for very ugly code. 2011-10-16T16:14:21 mleise: yes, it would be cool 2011-10-16T16:14:26 but we're out of time, jeff wants it today 2011-10-16T16:15:03 *today* ? the visualizer upgrade was just in time, I'd say :p 2011-10-16T16:15:47 i was thinking of using a desktop recording program 2011-10-16T16:15:51 (mleise: i saw a couple of jobs, they wanted c++ c# and java, so i chose c++) 2011-10-16T16:15:53 but now i guess i don't have to anymore 2011-10-16T16:16:09 mleise: didn't you see the new iterating options in c++11? 2011-10-16T16:16:16 they actually have nice solutions for it now 2011-10-16T16:16:30 amstan: I was seeing that coming, and thought that the frame rate conversion would suck. 2011-10-16T16:16:52 kire: c++11 ? is c++10 implemented yet? 2011-10-16T16:16:58 hey.. that's what i used last time 2011-10-16T16:17:01 there is no c++10 2011-10-16T16:17:07 x++0x 2011-10-16T16:17:10 c++0x 2011-10-16T16:17:11 and the visualizer last time was made in python, outputting bash colour commands 2011-10-16T16:17:16 c++11 is the finalized C++0x 2011-10-16T16:17:35 standard came out some weeks back 2011-10-16T16:17:52 in september, was big news here too 2011-10-16T16:17:52 amstan: :-) there is always room for improvement. I'll have to look for an old planet wars video 2011-10-16T16:18:11 mleise: note: talking about the tron video 2011-10-16T16:18:17 before we had an online visualizer 2011-10-16T16:18:36 *** ibdknox has joined #aichallenge 2011-10-16T16:18:38 mcstar: Yeah, I actually asked a few times which gcc version would be used for the competition especially to know which features I could use already but never got an answer :( 2011-10-16T16:18:52 4.6 probably 2011-10-16T16:19:14 the answer is what comes with current ubuntu 2011-10-16T16:19:19 aha, thank you 2011-10-16T16:19:23 i feel like this is not popular enough: https://github.com/aichallenge/aichallenge/issues/3 2011-10-16T16:20:15 kire: im not sure how much of c++0x is added with a minor version, that is 4.6.X 2011-10-16T16:20:17 oneiric's 4.6 and that's good enough as I'm used to that one, thank you for info 2011-10-16T16:20:25 quite a lot is in it already 2011-10-16T16:20:30 but i heard gcc has the most of the standard 2011-10-16T16:20:30 *** Ketino has joined #aichallenge 2011-10-16T16:20:36 amstan: a closed issue about starter bots? 2011-10-16T16:20:47 what is oneiric? 2011-10-16T16:20:51 next ubuntu? 2011-10-16T16:20:57 they have natty 2011-10-16T16:21:03 mleise: yeah... i should do something about that 2011-10-16T16:21:11 only "major things" I missed were some more advanced synchronization mechanisms and the "final" and "override" keywords, these are for later gcc versions 2011-10-16T16:21:38 *** Ketino has quit IRC (Client Quit) 2011-10-16T16:21:41 mcstar: oneiric is the most recent ubuntu (2 days old I think :P), natty is the one before that 2011-10-16T16:21:56 kire: is it possible to overload an operator like + or * for non-class types? 2011-10-16T16:22:40 for example i have a class, and i have a pointer to it 2011-10-16T16:22:43 mcstar: structs and classes are the same in C++ or do you mean something else? 2011-10-16T16:22:48 c* cptr; 2011-10-16T16:22:52 c + c 2011-10-16T16:23:05 just look at this 2011-10-16T16:23:21 this makes no sense :p 2011-10-16T16:23:26 but i guess it doesnt make sense since it would apply pointer arithmetic 2011-10-16T16:23:31 mleise: it would make perfect sense 2011-10-16T16:23:32 cptr + cptr ? 2011-10-16T16:23:36 ahah 2011-10-16T16:23:38 yes 2011-10-16T16:23:40 cptr+cptr 2011-10-16T16:23:55 since pointers cannot be added or multiplied 2011-10-16T16:24:11 The language would become unreadable if simple things like that did something unexpected. It is good the way it is. 2011-10-16T16:24:16 i want to interpret this, as a something, that now only can be achieved with *cptr 2011-10-16T16:24:41 let say i have a matrix class, to be definite 2011-10-16T16:24:55 Use a reference to the matrix then. 2011-10-16T16:24:56 and now multiplication looks like this: 2011-10-16T16:25:02 *mat * *mat 2011-10-16T16:25:07 mcstar: afaik only enums and classes are allowed 2011-10-16T16:25:24 and of course structs, but those are just classes with default public access 2011-10-16T16:25:30 yes 2011-10-16T16:25:54 mleise: what do you mean use a reference? 2011-10-16T16:26:04 i know what it is, i just dont understand how 2011-10-16T16:26:07 How do you declare a reference in C++ again? Matrix& ? I think so. Matrix& a = ...; a * a; 2011-10-16T16:26:29 and actually C++11 discourages raw pointers in preference of wrapped pointers and references 2011-10-16T16:26:36 but my matrix class is dynamically created with new 2011-10-16T16:26:39 you still have don't copy data, but can use the overloaded operator 2011-10-16T16:26:41 instantiated 2011-10-16T16:27:10 Matrix& a = *new Matrix(...); ? :p 2011-10-16T16:27:21 i dont think that is correct 2011-10-16T16:27:25 no it's not 2011-10-16T16:27:51 whenever i use new, i have to use a pointer to store that address 2011-10-16T16:28:07 and theres no point in referencing that in any way i can see 2011-10-16T16:28:43 references are only good for function calls, makes them clearer, wrt to poitners 2011-10-16T16:28:50 -to 2011-10-16T16:29:25 anyway, i think i have my solution 2011-10-16T16:29:37 why is it not correct what I wrote?!? 2011-10-16T16:29:57 please explain 2011-10-16T16:30:31 =new type 2011-10-16T16:30:36 isnt this the correct syntax? 2011-10-16T16:30:42 what is = * ? 2011-10-16T16:30:54 pointer dereference 2011-10-16T16:30:55 if you say its correct i believe you 2011-10-16T16:31:03 *** delt0r_ has quit IRC (Ping timeout: 244 seconds) 2011-10-16T16:31:08 *(new Matric()) 2011-10-16T16:31:09 then 2011-10-16T16:31:11 no? 2011-10-16T16:31:25 All I know is it compiles :-| 2011-10-16T16:31:32 mleise: that expression will return an rvalue 2011-10-16T16:31:38 it can be a simple multiplication 2011-10-16T16:31:44 ow, sorry, mistaken 2011-10-16T16:31:58 I missed the * 2011-10-16T16:32:01 mleise: you can do it 2011-10-16T16:32:07 but you'll leak memory 2011-10-16T16:32:17 mleise: anyway, can you ping jeff with your video when you're happy with it? 2011-10-16T16:33:01 kire: You can still free that memory. A reference is just a pointer in disguise. Just use &a and you are back at the start. 2011-10-16T16:33:23 mleise: I'm not 100% sure, but I think that is UB 2011-10-16T16:33:24 amstan: I'm not doing anything with the video. I was just providing a tool for you two. 2011-10-16T16:33:26 it could work 2011-10-16T16:33:31 it could possibly not work 2011-10-16T16:34:10 mleise: well, without antimatroid's help in changing the map gen dimensions, your video is as good as it will get 2011-10-16T16:34:15 mleise: can we just use that one? 2011-10-16T16:34:39 amstan: sure, but the replay was just a random pick Oo 2011-10-16T16:35:05 ok, fine, how do i make another one? 2011-10-16T16:35:06 antimatroid: wake up! 2011-10-16T16:35:28 just run the visualizer.jar with --help, it explains it 2011-10-16T16:36:36 and how do i compile it? 2011-10-16T16:36:37 update git, run ant jar, run java -jar visualizer.jar --help 2011-10-16T16:37:33 hmm, ok you have to be in ants/visualizer for the compile of course and the jar file will end up inside the build directory there 2011-10-16T16:37:46 k, getting rihno right now 2011-10-16T16:38:05 :) guthub rox 2011-10-16T16:38:08 *github 2011-10-16T16:38:37 mleise: thx, nice tip, it works 2011-10-16T16:38:44 delete &ref; 2011-10-16T16:38:48 seems to work too 2011-10-16T16:39:03 *** grand_sbor has joined #aichallenge 2011-10-16T16:39:05 I checked and it's valid, but it's extremely unclear code 2011-10-16T16:39:13 I feel so knowledgeable today *g* 2011-10-16T16:39:27 its 22:38 2011-10-16T16:39:44 had you told me this in the morning :D 2011-10-16T16:40:08 sorry!!! 2011-10-16T16:40:22 @mcstar: really, don't, you hide the dynamic memory in all ways and just ask for memory leaks 2011-10-16T16:40:23 kire: You have no gotten any error messages recently, so here's a random one just to let you know that we care. 2011-10-16T16:40:49 kire: I don't think mcstar is looking to write clear 'standard' code at the moment. 2011-10-16T16:41:07 nevertheless, its good to know what is possible 2011-10-16T16:41:17 aichallenge: Alexandru Stan * r1b9cc15 / website/credits.php : changed andrew's username - http://git.io/HXUY1Q 2011-10-16T16:41:35 mleise: you should always look to write decent code when in C++ if you do not want to shoot your leg off 2011-10-16T16:41:55 kire: we have valgrind! 2011-10-16T16:42:23 valgrind is no static analysis tool, a single run could have uncovered code paths 2011-10-16T16:42:36 mleise: 2011-10-16T16:42:38 http://pastebin.com/wmccKm2j 2011-10-16T16:42:49 anyway, the only safe way is to use the unique_ptr and shared_ptr wrappers (or other non-std ones) 2011-10-16T16:43:43 *** grand_sbor has quit IRC (Ping timeout: 265 seconds) 2011-10-16T16:44:08 amstan: In the visualizer directory, create a file named "local.properties" with the content "java.plugin: /opt/icedtea6-web-bin/share/icedtea-web/plugin.jar" or wherever else your plugin.jar is located 2011-10-16T16:44:19 *** delt0r_ has joined #aichallenge 2011-10-16T16:44:57 kire: shared_ptr replaces garbage collection in C++ pretty well I've heard? 2011-10-16T16:45:00 *** Palmik has quit IRC (Remote host closed the connection) 2011-10-16T16:45:58 mleise: it does a good job, of course it doesn't solve things like fragmentation yet, but when it comes to auto deallocation, yes it does 2011-10-16T16:46:05 amstan: iceadtea6-plugin I think is the package containing that file for Ubuntu. It should be installed if you can view applets on the web. 2011-10-16T16:46:18 and unique_ptr is a good version of auto_ptr (that is deprecated now) 2011-10-16T16:47:08 mleise: already installed 2011-10-16T16:48:18 *** dvladim has quit IRC (Ping timeout: 245 seconds) 2011-10-16T16:48:58 amstan: does it compile now or are you looking for plugin.jar? 2011-10-16T16:50:44 mleise: it was installed when that error poped up 2011-10-16T16:50:47 kire: I have some hopes on D, but I hesitate to allocate memory on the heap to avoid the garbage collector. That is still a topic that comes up often, especially from real-time and game programmers. 2011-10-16T16:52:06 amstan: does the error still pop up with local.properties in place? It should be the only problem on a new machine. 2011-10-16T16:52:42 mleise: what? 2011-10-16T16:52:44 mleise: well, actually scoped_ptr is good at doing automatic deallocation as soon as your object goes out of scope, but it's a bit harder to cary over ownership (it uses new std::move and rvalue references). shared_ptr uses reference counters and therefore is a bit more subtle. 2011-10-16T16:52:49 there's no local.properties 2011-10-16T16:53:02 But in general I find most game and real-time programmers exaggerate (I personally work on embedded hardware) 2011-10-16T16:53:25 Look above ^. You need to give the build script a hint to the plugin.jar to compile against 2011-10-16T16:54:26 You've got loads of possiblities to define (de)allocation mechanisms for standard containers and such. But anyway, gtg, bye 2011-10-16T16:54:43 bye 2011-10-16T16:56:21 finally! 2011-10-16T16:56:33 ℤero problems? 2011-10-16T16:59:20 amstan: If you use compiz and it uses a fair bit of CPU while rendering the images, try minimizing the visualizer and the console window. It worked for me. Maybe I should upgrade to Gnome 3 and forget about compiz. 2011-10-16T16:59:32 good map? http://beta.aichallenge.org/map.php?map=multi_hill_maze/multi_maze_02.map 2011-10-16T17:00:28 http://beta.aichallenge.org/visualizer.php?game=1070 2011-10-16T17:01:02 It is two rows too high, but if you use a higher image and crop it later it should be good! 2011-10-16T17:01:15 http://pastebin.com/dRBJFaR5 2011-10-16T17:01:34 higher image? 2011-10-16T17:01:57 88*8pixels+16 shaded top+16 shaded bottom=736 pixels 2011-10-16T17:02:39 i guess i could run convert on everything 2011-10-16T17:02:40 ok 2011-10-16T17:02:53 use that height instead of 720 2011-10-16T17:02:59 yeah, i get it 2011-10-16T17:03:19 *** mleyen has quit IRC (Quit: ~ Trillian Astra - www.trillian.im ~) 2011-10-16T17:03:31 then use ffmpeg or convert to crop the first and last 8 pixels (which will align fine with 8 pixel macroblocks again) 2011-10-16T17:04:08 maybe it's just me, but I don't like the compression artifacts on hard edges 2011-10-16T17:04:09 hmm 2011-10-16T17:04:14 i need another map, this one's boring 2011-10-16T17:04:59 mleise: 3 players: http://beta.aichallenge.org/map.php?map=maze/maze_6.map 2011-10-16T17:06:17 above rows=86 cols=156 the squares become smaller than 8 pixels 2011-10-16T17:07:21 But if the game look interesting, just use it, I'd say. Its not easy to find a perfect map. 2011-10-16T17:08:25 mleise: wanna pick one? http://pastebin.com/yWv6QmGH 2011-10-16T17:08:54 30288 2011-10-16T17:09:00 let's see :) 2011-10-16T17:09:05 i think my solution will be to NOT use new, or references, but to stick with class-stack allocation, of course the matrix inside it is heap allocated, and i will need to overload the = operator, so i can store the result easily, and of course i need to add an empty constructor matrix() 2011-10-16T17:09:21 mleise: kinda boring, what about: http://beta.aichallenge.org/visualizer.php?game=13821 2011-10-16T17:10:15 that looks more interesting 2011-10-16T17:11:13 if you watch these ant games backwards, they're about different colour ants producing offsprings who then proceed toward their individual hives 2011-10-16T17:11:19 90*8=720, hmm. so if you use 740 as the visualizer height and crop 10 pixels top/down it still fits in the video fully :) 2011-10-16T17:11:38 ok, what about width? 2011-10-16T17:11:49 amstan: Theoretically the games could be played backwards 2011-10-16T17:12:03 the width... ok what is it? 2011-10-16T17:12:16 for 720p at 16:9 it needs to be 1280 2011-10-16T17:12:28 and the map has how many cols? 2011-10-16T17:13:24 144 2011-10-16T17:14:04 144*8=1152 , 1280-1152=128 -> 64 pixels shaded on each side 2011-10-16T17:14:44 Sounds fair enough, so go with --width=1280 and --height=740 --decoration=false 2011-10-16T17:15:29 Do you know what formats can be uploaded without conversion to YouTube? 2011-10-16T17:16:04 *** amstan has quit IRC (Remote host closed the connection) 2011-10-16T17:17:04 hahahahha 2011-10-16T17:17:06 success 2011-10-16T17:17:48 don't hack amstan, we still need him 2011-10-16T17:17:56 *** amstan has joined #aichallenge 2011-10-16T17:17:56 *** ChanServ sets mode: +o amstan 2011-10-16T17:19:17 mleise: http://pastebin.com/HwsP5caP 2011-10-16T17:19:58 actually, i used the matrix multiplication example, because once antimatroid told me, that he couldnt overload the * operator for his matrices 2011-10-16T17:20:07 for his game-theory library 2011-10-16T17:20:16 and i thought i give it a try 2011-10-16T17:20:46 mleise: what do i give --video for fmt? 2011-10-16T17:20:54 oh, png 2011-10-16T17:22:41 here we go. 36m left 2011-10-16T17:22:42 3 frames per turn gives 25FPS/3 ~ 8 turns/s 2011-10-16T17:22:52 36 minutes? wow 2011-10-16T17:23:12 I got around 4,2 images per second 2011-10-16T17:23:31 amstan: you need a multi-core cpu 2011-10-16T17:23:35 i have quad 2011-10-16T17:23:41 Oo 2011-10-16T17:23:44 maybe i need another java or something? 2011-10-16T17:23:59 I think so, lol. try the sun jvm next time 2011-10-16T17:24:46 I have only a mobile 2 Ghz dual-core :) 2011-10-16T17:24:56 mleise: do you know the package name? 2011-10-16T17:25:13 no 2011-10-16T17:25:40 I only new icedtea6-plugin from the work on the server, don't use a debian/ubuntu here 2011-10-16T17:25:50 *knew 2011-10-16T17:27:00 mleise: so apparently youtube 720p uses some weird fps, like 29.97 2011-10-16T17:28:10 nvm, i'll just do 25fps 2011-10-16T17:32:29 *** Laentir has quit IRC (Quit: Page closed) 2011-10-16T17:32:34 amstan: http://www.google.com/support/youtube/bin/answer.py?hl=en&answer=132460 no word on 29.97 2011-10-16T17:33:50 I think it is fine 2011-10-16T17:35:52 29.97 is NTSC (i.e. north america) standard television frame rate 2011-10-16T17:36:12 mleise: how do i check if i'm running sun java? 2011-10-16T17:36:28 amstan: Does java -version not say? 2011-10-16T17:36:39 still icedtea, sigh 2011-10-16T17:37:07 mleise: it is now 50 minutes 2011-10-16T17:37:56 Maybe you need to recompile with sun's excellent compiler? :) 2011-10-16T17:38:34 mleise: ugh, ok 2011-10-16T17:38:45 I don't know. It ran in under 12 minutes here. 2011-10-16T17:40:51 maybe icedtea *is* faster and your computer is just doing crazy stuff in the background 2011-10-16T17:40:59 it's 0%ing 2011-10-16T17:41:18 what does that mean now? 2011-10-16T17:41:38 as in, it's not doing crazy stuff 2011-10-16T17:42:17 its a quad-core. i don't understand it. i whish i had a quad-core :D 2011-10-16T17:42:40 except for i prefer cool notebooks 2011-10-16T17:45:35 amstan: you did use --video=3,png right? 2011-10-16T17:45:45 not --video=25,png or something like that 2011-10-16T18:09:04 *** Akranis has quit IRC (Ping timeout: 258 seconds) 2011-10-16T18:12:40 amstan: I tried both VMs now and I don't see a difference in speed. A 1000 turn game would take around 12-13 minutes. Do you run 32-bit or 64-bit software? 2011-10-16T18:15:15 It could be that the JavaScript part is heavy on 64-bit data types and doesn't run well in a 32-bit environment. But I'm not sure. 2011-10-16T18:29:09 *** onensora has joined #aichallenge 2011-10-16T18:46:17 -server flag maybe? 2011-10-16T18:46:37 *** mceier has quit IRC (Quit: leaving) 2011-10-16T18:50:17 *** ibdknox has quit IRC (Remote host closed the connection) 2011-10-16T18:50:50 *** ibdknox has joined #aichallenge 2011-10-16T18:51:05 *** mcstar has quit IRC (Quit: WeeChat 0.3.5) 2011-10-16T18:53:10 McLeopold: ping 2011-10-16T18:53:47 mleise: --video=25 i did 2011-10-16T18:54:42 amstan: haha, ok. 2011-10-16T18:55:05 *** ibdknox has quit IRC (Ping timeout: 256 seconds) 2011-10-16T18:55:15 mleise: why? 2011-10-16T18:55:44 it says "frames per turn" not per second. when you later create the video from it, you set the frames per second 2011-10-16T18:56:00 well.. that would explain it 2011-10-16T18:56:03 oh well 2011-10-16T18:56:06 np, i got pizza in the meantime 2011-10-16T18:56:28 3 frames per turn played at 25 FPS -> 25/2 ~= 8 turns per second 2011-10-16T18:56:35 sorry, 25/3 2011-10-16T18:57:54 damn, now you got images for 1 turn/s ^^ 2011-10-16T18:58:32 or you can produce a 75 FPS movie for the refresh rate junkies 2011-10-16T19:06:17 antimatroid: It's 10:00 in Tasmania, are you up yet? 2011-10-16T19:08:14 aichallenge: janzert * r66dcada / website/game_list.php : Fix game list html generation - http://git.io/pIUbJg 2011-10-16T19:14:35 mleise: so.. if i do ffmpeg -i %08d.png -vcodec libx264 -vpre lossless_max movie.mp4 2011-10-16T19:14:41 mleise: what fps will it do it at? 2011-10-16T19:15:07 it will use a default of 25, you can use -r though 2011-10-16T19:15:15 ok 2011-10-16T19:15:17 good 2011-10-16T19:15:27 try: ffmpeg -i %08d.png -vcodec libx264 -vpre lossless_max -vf crop=1280:720 -threads 4 movie.mp4 2011-10-16T19:15:55 mleise: you could have said about the crop option before aarosig made a script to convert all of them 2011-10-16T19:16:15 hey I did say either ffmpeg or convert 2011-10-16T19:17:00 (23:03:28) mleise: then use ffmpeg or convert to crop the first and last 8 pixels (which will align fine with 8 pixel macroblocks again) 2011-10-16T19:17:45 yeah, but i went with convert instead 2011-10-16T19:17:54 :) 2011-10-16T19:19:20 just don't tell him about ffmpeg's crop ;) 2011-10-16T19:21:58 *** ChrisH_ has joined #aichallenge 2011-10-16T19:26:10 aichallenge: janzert * r215b400 / website/visualizer_widget.php : Fix when user agent is undefined - http://git.io/Ts9cVA 2011-10-16T19:26:33 oops my fault 2011-10-16T19:26:39 mleise: so.. how did a 720p movie end up being 4.9M 2011-10-16T19:26:46 it's a 2 minute movie 2011-10-16T19:26:52 what's wrong? 2011-10-16T19:26:53 mleise: your 8 pixel thing must be magic 2011-10-16T19:27:03 it's 720p, like awesome 2011-10-16T19:27:17 lol, it is simple block graphics ;) 2011-10-16T19:27:34 mleise: k.. going to get aarosig to narate+add music 2011-10-16T19:27:49 cool, I'm looking forward to it 2011-10-16T19:27:52 aichallenge: janzert * r78a6cff / website/visualizer_widget.php : Add mising ) - http://git.io/w2AbuQ 2011-10-16T19:27:57 oops :) 2011-10-16T19:28:33 just to go sure: you can add sound to the video without re-encoding it ;) 2011-10-16T19:29:26 janzert: Can you smell the marketing in the air? We are close to the launch! 2011-10-16T19:29:38 :) 2011-10-16T19:29:51 *** choas has quit IRC (Ping timeout: 252 seconds) 2011-10-16T19:30:00 with unexplained worker breakage :( 2011-10-16T19:30:27 oh I hope it can be debugged somehow 2011-10-16T19:30:58 yeah, I'm working on it. just running into other stuff to fix while trying to find the problem 2011-10-16T19:31:06 when my java code broke I usually attached a remote debugger to it and let it run for a few hours 2011-10-16T19:34:17 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has joined #aichallenge 2011-10-16T19:37:34 always hoping that now hacker finds the open port 2011-10-16T19:38:04 *no 2011-10-16T19:40:35 aichallenge: janzert * r2e3f66e / (website/lookup.php website/profile_games.php): Separate finding the user by user_id and submission_id - http://git.io/qz6W1A 2011-10-16T19:42:48 aichallenge: janzert * ra022e0e / website/lookup.php : Use the correct variable name - http://git.io/7hWs9w 2011-10-16T19:43:04 janzert: this is probably minor, but I realized that you cannot select a page for the list of recently played games below the map view. 2011-10-16T19:43:34 The URL would say &page=2, but the display stays at the first page of results 2011-10-16T19:44:05 I thought McLeopold fixed that a while ago, guess not 2011-10-16T19:44:11 or it got rebroke :/ 2011-10-16T19:51:01 aichallenge: janzert * r250b09e / website/lookup.php : Use the correct variable name each time - http://git.io/j_2UVQ 2011-10-16T19:51:40 heh, that took me a little while to figure out. Apparently forgot to do a file save before my previous commit 2011-10-16T19:57:24 Since I used Delphi 2006, with the IDE crashing now and then, I'm really trigger happy with Ctrl+S :). I'll add a new tag in GitHub for tools & debugging support for the participants. The other tags are all focussed on our needs as organization team 2011-10-16T20:04:05 *** ChrisH_ has quit IRC (Quit: Page closed) 2011-10-16T20:05:35 <_flag> Are the workers going to come back up? 2011-10-16T20:07:01 When I figure out why the submission of results is failing 2011-10-16T20:07:45 *** chris__0076 is now known as chris_0076 2011-10-16T20:17:52 *** Zenchess has joined #aichallenge 2011-10-16T20:20:15 Is there any info on how to make a starter package? I'd like to make a starter package for gnu smalltalk 2011-10-16T20:22:46 <_flag> Zenchess: You can find a spec and some other info on the wiki: https://github.com/aichallenge/aichallenge/wiki 2011-10-16T20:38:54 aichallenge: janzert * rb54f411 / worker/worker.py : Also save result type when saving a result in case the post fails - http://git.io/WftVkQ 2011-10-16T20:45:23 umm, I'm really not terribly happy at the moment with whoever decided to change the beta server configuration from a default site to a permanent redirect 2011-10-16T20:54:54 if you want to permanent redirect aichallenge.org to beta.aichallenge.org right now feel free but do not redirect antsbeta.janzert.com it will break things 2011-10-16T20:59:50 aichallenge: janzert * r2d1759d / worker/worker.py : Fix missed file name change - http://git.io/JcEAgg 2011-10-16T21:02:12 *** amstan_ has joined #aichallenge 2011-10-16T21:02:12 *** ChanServ sets mode: +o amstan_ 2011-10-16T21:02:21 oh man, i have a surprise for you guys 2011-10-16T21:06:10 *** Zenchess has quit IRC (Ping timeout: 265 seconds) 2011-10-16T21:09:29 *** eashoka has joined #aichallenge 2011-10-16T21:13:29 *** onensora has quit IRC (Read error: Connection reset by peer) 2011-10-16T21:15:58 janzert, McLeopold, mleise: don't go anywhere in the next 30 minutes 2011-10-16T21:21:28 *** aarossig has joined #aichallenge 2011-10-16T21:22:33 http://www.youtube.com/watch?v=OGijmGbQxWM 2011-10-16T21:22:46 janzert, McLeopold, mleise: it's here! 2011-10-16T21:23:10 aww, come on, 30 min ago there were ppl commiting things 2011-10-16T21:23:13 now everyone's afk 2011-10-16T21:39:48 amstan : waiting to here about the surprise you promised :-) 2011-10-16T21:40:17 eashoka: aarossig posted it 2011-10-16T21:41:49 *** amstan_ has quit IRC (Ping timeout: 258 seconds) 2011-10-16T21:42:33 aarossig : good one! 2011-10-16T21:45:35 *** Cyndre has quit IRC (Quit: Leaving) 2011-10-16T21:52:12 *** mleise has quit IRC (Quit: Leaving.) 2011-10-16T22:09:32 *** ibdknox has joined #aichallenge 2011-10-16T22:13:28 *** ibdknox has quit IRC (Remote host closed the connection) 2011-10-16T22:14:02 *** ibdknox has joined #aichallenge 2011-10-16T22:18:24 *** ibdknox has quit IRC (Ping timeout: 248 seconds) 2011-10-16T22:23:41 eashoka: thanks :D -- amstan and I spent about 2 hours on it 2011-10-16T22:24:18 *** eashoka has quit IRC (Quit: Page closed) 2011-10-16T22:36:16 *** foRei has quit IRC (Read error: Connection reset by peer) 2011-10-16T22:38:41 amstan: hello 2011-10-16T22:40:32 McLeopold: http://www.youtube.com/watch?v=OGijmGbQxWM 2011-10-16T22:40:42 yeah, watching now :) 2011-10-16T22:43:34 Nice. 2011-10-16T22:44:32 McLeopold: glad you like it 2011-10-16T22:46:21 janzert: you around? 2011-10-16T22:49:46 amstan: is it possible to go through the irc logs and attempt to compile faqs? 2011-10-16T22:50:26 McLeopold: i could add all the messages in a set then count how many times each of them appears 2011-10-16T22:50:29 but it'll take a while 2011-10-16T22:50:38 and they'll have to be exact matches 2011-10-16T22:50:45 and they won't be questions either 2011-10-16T22:51:23 amstan: if you do that... you could say that if a question is asked twice then it is a faq 2011-10-16T22:51:40 aarossig: yes, but it's statistically irrelevant 2011-10-16T22:51:51 you'll have lots of noise 2011-10-16T22:52:00 lol for example 2011-10-16T22:52:26 * amstan blows the dust away from https://github.com/amstan/IRC-Analysis-Toolkit 2011-10-16T22:52:45 it might work better on the forum conversations 2011-10-16T22:55:49 look for irc messages with question marks, then split into tokens and categorize by least used words... 2011-10-16T22:56:45 how do i search inside a string again 2011-10-16T23:00:11 McLeopold: doesn't look good 2011-10-16T23:02:29 McLeopold: this year: http://pastebin.com/s6AQM0qF 2011-10-16T23:02:35 3 how old are you? 2011-10-16T23:02:55 64 why? 2011-10-16T23:03:02 10 wtf? 2011-10-16T23:03:07 16 link? 2011-10-16T23:03:10 oh man, this is gold 2011-10-16T23:03:29 https://github.com/amstan/IRC-Analysis-Toolkit/commit/01feec2f0a2efc9f4b1af089528ca9f2435073d5 2011-10-16T23:04:21 why is McLeopold so awesome? 2011-10-16T23:04:22 why is McLeopold so awesome? 2011-10-16T23:04:24 why is McLeopold so awesome? 2011-10-16T23:04:25 why is McLeopold so awesome? 2011-10-16T23:04:26 why is McLeopold so awesome? 2011-10-16T23:04:28 why is McLeopold so awesome? 2011-10-16T23:04:29 why is McLeopold so awesome? 2011-10-16T23:04:30 why is McLeopold so awesome? 2011-10-16T23:04:34 why is McLeopold so awesome? 2011-10-16T23:04:35 why is McLeopold so awesome? 2011-10-16T23:04:38 :D 2011-10-16T23:05:02 dunnolol 2011-10-16T23:05:02 okay, I'm out for the day, looking forward to launch 2011-10-16T23:06:48 McLeopold: 10 why is mcleopold so awesome? 2011-10-16T23:07:05 lol 2011-10-16T23:07:07 new sorted list: http://pastebin.com/83P9nhyw 2011-10-16T23:07:37 FAQ: 1) What do you mean? 2011-10-16T23:07:41 so yeah, not a good source of frequently asked questions 2011-10-16T23:07:42 Answer: In what context? 2011-10-16T23:07:42 lol 2011-10-16T23:07:57 2) In what context? 2011-10-16T23:08:10 Answer: I don't know, I'm just a silly FAQ. You tell me. 2011-10-16T23:08:14 aarossig: i dare you to do what i just did in C 2011-10-16T23:08:16 I think we need cleverbot 2011-10-16T23:08:25 amstan: you got some library 2011-10-16T23:08:29 amstan: and used it 2011-10-16T23:08:30 lol 2011-10-16T23:08:32 yes, it's in the other file 2011-10-16T23:08:58 heres what I suggest 2011-10-16T23:09:09 do as mcleopold suggested, take the question mark 2011-10-16T23:09:23 any message with more than two or even three spaces as well 2011-10-16T23:09:29 then see what you get 2011-10-16T23:09:46 since you can't really have a good faq question that has no spaces... 2011-10-16T23:10:28 you might be able to get away with even 6 or 7 spaces... 2011-10-16T23:10:31 n+1 words 2011-10-16T23:11:49 http://pastebin.com/qJA0X6Tw 2011-10-16T23:11:58 ahh much cooler 2011-10-16T23:12:06 still nothing relevant 2011-10-16T23:12:10 no, this is good 2011-10-16T23:12:13 get more spaces 2011-10-16T23:12:15 problem is that all frequently asked questions are rephrased 2011-10-16T23:12:24 get more spaces 2011-10-16T23:12:28 don't even look in the 2 section 2011-10-16T23:12:39 that's just people sending it twice because of lag or something 2011-10-16T23:13:02 get like.. 6 or 7 spaces 2011-10-16T23:13:07 aarossig: what will more spaces do? you already have the data 2011-10-16T23:13:09 you will probably filter out all the low quality questions 2011-10-16T23:13:21 isn't this just the top? 2011-10-16T23:13:35 no, this is all questions from this year, with 3 or more words 2011-10-16T23:13:42 ah okay 2011-10-16T23:13:55 well 2011-10-16T23:13:58 you can read into it a little 2011-10-16T23:14:05 3 what language are you using? 2011-10-16T23:14:13 FAQ: What languages are available? 2011-10-16T23:14:26 that's people asking for questions without stating what they're coding in 2011-10-16T23:14:32 so helpers usually start by asking that 2011-10-16T23:14:34 Answer: See the starter pack page and if you're not satisfied come and see us on IRC. 2011-10-16T23:15:05 2 how is your bot doing? 2011-10-16T23:15:12 See the ranking page. 2011-10-16T23:15:17 see what I mean? 2011-10-16T23:15:20 just read into it a little 2011-10-16T23:16:03 but yeah, this is weak 2011-10-16T23:16:04 also.. 2011-10-16T23:16:07 irc is for experts lol 2011-10-16T23:16:19 you need to build a faq using this exact script 2011-10-16T23:16:24 once you get the redditors in here 2011-10-16T23:16:28 with 500 people chatting 2011-10-16T23:16:38 your logging bot will provide you with some useful data at that point 2011-10-16T23:16:57 aarossig: last year: http://pastebin.com/FQRKxMUh 2011-10-16T23:17:06 aarossig: with 3 or more words 2011-10-16T23:17:10 yeah, that's cool 2011-10-16T23:17:29 you'll see 2011-10-16T23:17:31 #check if serious question 2011-10-16T23:17:32 also.. reddit comments 2011-10-16T23:17:33 if len(line[3].split())>2: 2011-10-16T23:18:02 yeah, reddit comments will be good 2011-10-16T23:18:12 the most upvoted is probably frequent 2011-10-16T23:18:22 k, i'm not doing ibm 2011-10-16T23:18:31 lol 2011-10-16T23:18:33 oh man 2011-10-16T23:18:35 jobs 2011-10-16T23:18:37 jobs 2011-10-16T23:18:39 well HTTP Status 503 - There are too many simultaneous logins - please wait and try again. 2011-10-16T23:18:39 jobs and jobs 2011-10-16T23:18:43 let's vote for jobs 2011-10-16T23:18:49 * aarossig waits for it 2011-10-16T23:19:03 aarossig: me to ask for the placepro pass? 2011-10-16T23:19:09 *** ibdknox has joined #aichallenge 2011-10-16T23:19:11 http://www.youtube.com/watch?v=-Psfn6iOfS8&t=45 2011-10-16T23:19:26 aarossig: do you know what it is? 2011-10-16T23:19:32 oh, i have no idea 2011-10-16T23:19:34 let me try... 2011-10-16T23:19:39 aarossig: you wrote it down 2011-10-16T23:19:44 yeah 2011-10-16T23:19:46 let me get that 2011-10-16T23:20:00 i never needed it till now, because mocomo decided to be annoying 2011-10-16T23:20:09 seejobs lol 2011-10-16T23:20:12 i remember that 2011-10-16T23:20:13 someone's probably ddosing them 2011-10-16T23:20:17 probably lol 2011-10-16T23:20:22 i was f5'ing for a while 2011-10-16T23:20:24 kind of like reddit 2011-10-16T23:20:27 aarossig: so it was you! 2011-10-16T23:20:30 lol 2011-10-16T23:20:38 now ibm will be all dissapoint 2011-10-16T23:20:43 that i didn't go to their website 2011-10-16T23:21:01 amstan: i got in... 2011-10-16T23:21:10 but it's just a crappy guest account 2011-10-16T23:21:17 you just see *all* the jobs 2011-10-16T23:21:21 so you can't actually apply 2011-10-16T23:21:30 so retardedf 2011-10-16T23:21:34 oh, screw that then 2011-10-16T23:21:39 yeah, ok 2011-10-16T23:21:44 like.. 2011-10-16T23:21:50 you can reply to ibm directly 2011-10-16T23:21:51 but not this 2011-10-16T23:21:54 i'll have to actually apply to ibm jobs then, oh well, not a big deal, i saw like 2 that were interesting 2011-10-16T23:22:00 yeah 2011-10-16T23:22:10 what is annoying.. 2011-10-16T23:22:13 i can't believe i'm doing this over a site not working 2011-10-16T23:22:14 the login gateway responds 2011-10-16T23:22:25 but "too many users" 2011-10-16T23:22:44 i have a suggestion... 2011-10-16T23:22:48 for your irc srcript 2011-10-16T23:22:58 a lot of idiots come on irc and say "I have a question" 2011-10-16T23:23:03 there is no question mark in there 2011-10-16T23:23:10 maybe do a search 2011-10-16T23:23:16 and then return the following message written by them 2011-10-16T23:23:24 or like.. the following 3 messages 2011-10-16T23:23:30 i know from experience, being one of these idiots lol 2011-10-16T23:23:41 what do you think? 2011-10-16T23:23:50 because.. most people don't use proper grammar on here 2011-10-16T23:24:32 the exchange server is still running 2011-10-16T23:24:38 for mohawk email 2011-10-16T23:24:49 aarossig: i have a question 2011-10-16T23:24:52 is 0 times 2011-10-16T23:24:57 really? 2011-10-16T23:24:58 both this year and last 2011-10-16T23:24:59 yes 2011-10-16T23:25:00 what about just question? 2011-10-16T23:25:10 ? 2011-10-16T23:25:16 "question" 2011-10-16T23:25:17 k, put it in quotes 2011-10-16T23:25:24 lol, i won 2011-10-16T23:25:41 so we have a lab test tomorrow for industrial 2011-10-16T23:25:45 i got 2 "question" this year 2011-10-16T23:25:48 wow 2011-10-16T23:25:52 what about last? 2011-10-16T23:25:55 nothing 2011-10-16T23:26:02 hmm 2011-10-16T23:26:07 that's surprsing 2011-10-16T23:26:09 surprising* 2011-10-16T23:26:16 2011-03-30T08:44:26 2011-10-16T23:26:17 2011-04-15T19:15:48 2011-10-16T23:26:22 timestamps ^ 2011-10-16T23:26:31 yeah so? 2011-10-16T23:26:50 oh 2011-10-16T23:26:54 what about "what if" 2011-10-16T23:26:57 like.. 2011-10-16T23:26:59 question words 2011-10-16T23:27:00 yes 2011-10-16T23:27:04 who what where when why how 2011-10-16T23:27:10 independently.. of course 2011-10-16T23:27:24 yes 2011-10-16T23:27:27 get question words 2011-10-16T23:29:26 aarossig: huh? 2011-10-16T23:29:30 "who" 2011-10-16T23:29:33 "where" 2011-10-16T23:29:35 "what" 2011-10-16T23:29:36 and so on 2011-10-16T23:29:41 what about them? 2011-10-16T23:29:41 "why" "how" 2011-10-16T23:29:50 use those as search terms instead of "?" 2011-10-16T23:30:11 and maybe make it minimum 2 words or something 2011-10-16T23:30:22 to filter out the "what?" messages 2011-10-16T23:30:27 minimum three even 2011-10-16T23:31:26 aarossig: http://pastebin.com/R4kvy7BJ 2011-10-16T23:31:39 wow, decent 2011-10-16T23:31:45 they're all 2 though 2011-10-16T23:31:50 and they're too long to be coincidences 2011-10-16T23:31:53 yeah 2011-10-16T23:31:57 so they're all doubles 2011-10-16T23:32:04 the three messages aren't that interesting 2011-10-16T23:32:22 *** ibdknox has quit IRC (Remote host closed the connection) 2011-10-16T23:32:42 okay, so we just exchange non-question information lol 2011-10-16T23:32:54 now... this might take a while... but what if you do this: 2011-10-16T23:32:56 *** ibdknox has joined #aichallenge 2011-10-16T23:33:00 take all words that are say minimum 4 characters 2011-10-16T23:33:04 create a dictionary of them 2011-10-16T23:33:15 and then keep track of how many times the words come up 2011-10-16T23:33:25 and then return those messages with the higest ranked words 2011-10-16T23:33:30 say top 50 words or something 2011-10-16T23:33:38 they won't necessarily be questions 2011-10-16T23:33:48 but maybe just general conversations that were important 2011-10-16T23:33:52 that questions could arise about 2011-10-16T23:34:29 idk, what do you think? 2011-10-16T23:34:36 the output would be huge 2011-10-16T23:35:22 you can increase the minimum word size as well 2011-10-16T23:35:32 if you make it 6, your result would be smaller 2011-10-16T23:37:03 *** ibdknox has quit IRC (Ping timeout: 245 seconds)