2012-11-23T00:15:14 *** Areks has joined #aichallenge 2012-11-23T00:26:25 *** Areks has quit IRC (Ping timeout: 272 seconds) 2012-11-23T00:32:42 *** antimatroidl1 has joined #aichallenge 2012-11-23T00:32:43 *** antimatroidl has quit IRC (Read error: Connection reset by peer) 2012-11-23T00:51:46 *** Areks has joined #aichallenge 2012-11-23T01:18:36 *** antimatroidl1 has quit IRC (Quit: Leaving.) 2012-11-23T01:27:34 *** mceier has quit IRC (Quit: leaving) 2012-11-23T01:40:27 *** thestinger has quit IRC (Quit: WeeChat 0.3.9.2) 2012-11-23T01:53:17 *** amstan_ has quit IRC (Quit: Konversation terminated!) 2012-11-23T01:53:29 *** amstan_ has joined #aichallenge 2012-11-23T01:53:29 *** ChanServ sets mode: +o amstan_ 2012-11-23T02:13:28 *** thestinger has joined #aichallenge 2012-11-23T02:20:15 *** coeus_ has joined #aichallenge 2012-11-23T02:21:59 *** mceier has joined #aichallenge 2012-11-23T02:47:31 *** coeus_ has quit IRC (Quit: Verlassend) 2012-11-23T03:02:18 *** mviel has quit IRC (Remote host closed the connection) 2012-11-23T03:17:01 *** Wren80[work] has joined #aichallenge 2012-11-23T03:29:41 mleise: pity no games are show for the aisandbox rankings 2012-11-23T03:29:46 *shown 2012-11-23T03:33:24 aerique: the rankings are not automated yet, it was a first competition run manually. 2012-11-23T03:33:46 we're going to automate first, then do the replay 2012-11-23T03:33:56 but that's the plan 2012-11-23T03:33:57 :-)\ 2012-11-23T03:47:44 alexjc: alright, thanks for the info and the hard work! 2012-11-23T03:48:09 my pleasure 2012-11-23T03:48:47 *** sigh has joined #aichallenge 2012-11-23T04:11:52 *** mviel has joined #aichallenge 2012-11-23T04:34:49 *** Wren80[work] has quit IRC (Remote host closed the connection) 2012-11-23T04:35:07 *** Wren80[work] has joined #aichallenge 2012-11-23T04:41:47 *** NoxiaZ^ has joined #aichallenge 2012-11-23T05:01:40 *** epicmonkey has joined #aichallenge 2012-11-23T05:26:41 *** pairofdice has joined #aichallenge 2012-11-23T05:51:48 *** smiley1983 has joined #aichallenge 2012-11-23T06:31:46 *** Wren80[work] has quit IRC (Quit: Wren80[work]) 2012-11-23T06:36:40 *** NoxiaZ^ has quit IRC () 2012-11-23T07:17:57 *** iglo has joined #aichallenge 2012-11-23T07:23:40 *** amstan_ has quit IRC (Quit: Konversation terminated!) 2012-11-23T07:38:35 *** iglo has quit IRC (Remote host closed the connection) 2012-11-23T07:42:38 *** Wren80[work] has joined #aichallenge 2012-11-23T07:45:51 *** Wren80[work] has quit IRC (Remote host closed the connection) 2012-11-23T07:46:08 *** Wren80[work] has joined #aichallenge 2012-11-23T07:53:39 *** Wren80[work] has quit IRC (Quit: Wren80[work]) 2012-11-23T08:02:29 *** mleise has joined #aichallenge 2012-11-23T08:04:51 *** Wren80[work] has joined #aichallenge 2012-11-23T08:05:29 *** Wren80[work] has joined #aichallenge 2012-11-23T08:52:45 *** smiley1983 has quit IRC (Ping timeout: 276 seconds) 2012-11-23T08:53:57 *** smiley1983 has joined #aichallenge 2012-11-23T08:55:34 *** thestinger has quit IRC (Quit: WeeChat 0.3.9.2) 2012-11-23T08:57:45 *** mcstar has joined #aichallenge 2012-11-23T09:05:16 *** sigh has quit IRC (Remote host closed the connection) 2012-11-23T09:06:02 *** dvladim has joined #aichallenge 2012-11-23T09:13:33 *** Scooper has joined #aichallenge 2012-11-23T09:23:32 *** iglo has joined #aichallenge 2012-11-23T09:39:08 *** mleise has quit IRC (Quit: Leaving.) 2012-11-23T09:39:28 *** Eibwen has quit IRC (Ping timeout: 256 seconds) 2012-11-23T09:41:11 *** mleise has joined #aichallenge 2012-11-23T09:43:11 *** Eibwen has joined #aichallenge 2012-11-23T09:43:35 mcstar: https://www.dropbox.com/s/lwr2gwyz3o6u2ni/Starship%20Troopers%20-%20Terran%20Alliance.7z :D 2012-11-23T09:46:22 whats that? 2012-11-23T09:46:31 whole game? 2012-11-23T09:49:43 *** sigh has joined #aichallenge 2012-11-23T09:50:10 *** ikaros has joined #aichallenge 2012-11-23T09:52:42 *** Eibwen has quit IRC (Ping timeout: 260 seconds) 2012-11-23T09:54:46 Yes, it is the .iso + the required video codec 2012-11-23T09:55:52 downloading, but i doubt ill play it 2012-11-23T09:56:35 because it is 12 years old ? 2012-11-23T09:56:52 no, im hooked on the line of sight problem 2012-11-23T09:57:12 *doh* :p 2012-11-23T09:57:29 I found another bug in my algorithm and hacked around it. 2012-11-23T09:58:10 turns out increments of 1m make sure you don't miss _an_ obstacle on the way. but it doesn't make sure you hit the first new obstacle 2012-11-23T09:59:02 e.g. I had two obstacles just a few cm from each other and hit the second one with the ray, while the first one was actually sticking out further 2012-11-23T10:03:44 *** dvladim has quit IRC (Ping timeout: 260 seconds) 2012-11-23T10:12:35 *** Eibwen_ has joined #aichallenge 2012-11-23T10:12:35 *** Eibwen_ is now known as Eibwen 2012-11-23T10:13:52 *** ikaros_ has joined #aichallenge 2012-11-23T10:17:17 *** ikaros has quit IRC (Ping timeout: 260 seconds) 2012-11-23T10:21:09 *** Eibwen has quit IRC (Ping timeout: 240 seconds) 2012-11-23T10:26:17 *** ikaros_ has quit IRC (Quit: Ex-Chat) 2012-11-23T10:26:34 *** ikaros has joined #aichallenge 2012-11-23T10:36:49 *** Eibwen has joined #aichallenge 2012-11-23T10:37:35 i have my projective interval merging working, i can write the line of sight now 2012-11-23T10:42:57 I'v uploaded a new svg to the programming directory in dropbox 2012-11-23T10:43:07 *** Redgis_ has joined #aichallenge 2012-11-23T10:43:17 I don't know if it was really such a good idea after all ^^ 2012-11-23T10:43:25 what? 2012-11-23T10:43:36 changing the svg? 2012-11-23T10:43:39 to calculated these blind spots 2012-11-23T10:43:56 the map gets cut into a billion pieces 2012-11-23T10:43:58 it is bigger? 2012-11-23T10:44:25 it contains all the corners now, clipped to the firing range 2012-11-23T10:45:23 this visibility.svg looks like the original, only zoomed in 2012-11-23T10:45:25 it is horrible 2012-11-23T10:45:30 i want my old svg back 2012-11-23T10:45:35 or give me my money back 2012-11-23T10:45:45 *** Eibwen has quit IRC (Ping timeout: 260 seconds) 2012-11-23T10:45:53 i didn't change the zoom 2012-11-23T10:46:13 oh 2012-11-23T10:46:17 it is my local file 2012-11-23T10:46:29 *** Redgis has quit IRC (Ping timeout: 248 seconds) 2012-11-23T10:46:35 and you can get the old file in dropbox for up to 2 weeks 2012-11-23T10:46:50 and everything was smaller yesterday 2012-11-23T10:46:50 i guess i used chromium's zoom 2012-11-23T10:47:32 did you manage to script the svg? 2012-11-23T10:50:02 yes, it was pretty easy. You can either use pure CSS to define styles on mouse-over, or use embedded JS. 2012-11-23T10:50:17 onmouseover="somJS();" 2012-11-23T10:50:22 *some 2012-11-23T10:50:54 But it isn't enough. I need to highlight ALL shapes under the cursor, not just the top layer 2012-11-23T10:51:19 mleise: can you track the mouse cursor, and update stuff based on that? 2012-11-23T10:51:22 thats what i'd like 2012-11-23T10:51:52 I guess so. There is an event object passed in. 2012-11-23T10:51:59 yay 2012-11-23T10:54:24 *** mceier has quit IRC (Quit: leaving) 2012-11-23T10:56:02 *** iglo has quit IRC (Remote host closed the connection) 2012-11-23T11:05:02 this is exciting 2012-11-23T11:05:09 the problem is, i cant see shit 2012-11-23T11:06:35 turn on the light 2012-11-23T11:07:03 *** Wren80[work] has quit IRC (Quit: Wren80[work]) 2012-11-23T11:07:08 i mean i dont see whats happening with my lines and stuff 2012-11-23T11:07:12 i need to visualize them 2012-11-23T11:07:19 The AI Sandbox network commander stopped working for me. It says "[Errno 11] Resource temporarily unavailable" after sending the initial welcome message and disconnects 2012-11-23T11:07:35 damn updates and closed source software 2012-11-23T11:08:01 mcstar: If you don't get any exceptions you are almost there :) 2012-11-23T11:08:09 exceptions? 2012-11-23T11:08:14 what do you mean? 2012-11-23T11:09:38 http://projects.haskell.org/diagrams/doc/index.html 2012-11-23T11:09:58 I had some asserts in my code, where I knew some condition would be an error, e.g. a pointer is null 2012-11-23T11:10:09 this is pure code 2012-11-23T11:10:13 no exceptions 2012-11-23T11:10:18 and from those I got exceptions or infinite loops 2012-11-23T11:10:26 no infinite loops 2012-11-23T11:10:26 no exceptions... oh well 2012-11-23T11:10:29 *** Wren80[work] has joined #aichallenge 2012-11-23T11:10:33 no infinite loops, aye 2012-11-23T11:10:37 :) 2012-11-23T11:10:48 *** antimatroidl has joined #aichallenge 2012-11-23T11:10:53 simple list processing, thats all 2012-11-23T11:11:05 well, we will see, after i draw them 2012-11-23T11:11:15 maybe i should use gloss, that simple, and interactive 2012-11-23T11:12:35 *** antimatroidl has quit IRC (Client Quit) 2012-11-23T11:12:38 mleise: i hope it will work, cause it will be only a couple of lines long 2012-11-23T11:13:17 (ofc, the speed record will be yours, probably) 2012-11-23T11:13:40 I told you it is not efficient :) 2012-11-23T11:20:29 the measurement isn't accurate. I sometimes get 8ms, but usually ~14ms 2012-11-23T11:21:55 that is possibly quite faster than what ill have 2012-11-23T11:22:37 do you use floating point in the calculations ? 2012-11-23T11:24:00 *** foRei has joined #aichallenge 2012-11-23T11:24:19 yes, i do 2012-11-23T11:28:05 *** Wren80[work] has quit IRC (Quit: Wren80[work]) 2012-11-23T11:37:02 mleise: pacman said i had glu installed, but i was missing the files, weird 2012-11-23T11:37:22 you use OpenGL now ? O.o 2012-11-23T11:37:31 gloss needs it 2012-11-23T11:37:42 super easy to use lib on top of opengl 2012-11-23T11:56:47 *** mceier has joined #aichallenge 2012-11-23T11:57:56 *** sigh has quit IRC (Remote host closed the connection) 2012-11-23T12:03:23 *** antimatroidl has joined #aichallenge 2012-11-23T12:03:38 *** ikaros_ has joined #aichallenge 2012-11-23T12:06:43 *** Eibwen has joined #aichallenge 2012-11-23T12:07:16 *** ikaros has quit IRC (Ping timeout: 245 seconds) 2012-11-23T12:34:15 *** Blkt has joined #aichallenge 2012-11-23T12:36:50 *** smiley1983 has quit IRC (Ping timeout: 252 seconds) 2012-11-23T12:41:59 *** asdf__ has joined #aichallenge 2012-11-23T12:44:13 *** asdf__ has quit IRC (Client Quit) 2012-11-23T12:55:35 *** Raimondi_ has joined #aichallenge 2012-11-23T12:55:51 *** epicmonkey has quit IRC (Ping timeout: 276 seconds) 2012-11-23T12:58:15 *** Raimondi has quit IRC (Ping timeout: 252 seconds) 2012-11-23T12:58:42 *** dvladim has joined #aichallenge 2012-11-23T13:25:33 *** mviel has quit IRC (Remote host closed the connection) 2012-11-23T13:30:25 mleise: heh, i had a bug 2012-11-23T13:30:39 i used == instead of <= 2012-11-23T13:32:50 mleise: http://i.imgur.com/XZA6o.png lines are green, that have visible parts from the origo, magenta dot 2012-11-23T13:33:00 the outer red path doesnt count 2012-11-23T13:45:31 *** Eibwen_ has joined #aichallenge 2012-11-23T13:46:33 let's see 2012-11-23T13:47:26 *** Eibwen has quit IRC (Ping timeout: 260 seconds) 2012-11-23T13:47:27 *** Eibwen_ is now known as Eibwen 2012-11-23T13:47:34 hey, you have a kink in your lens 2012-11-23T13:47:42 lens? 2012-11-23T13:48:04 mcstar: the lower left green line is not visible from the origin point. 2012-11-23T13:48:31 which is it? 2012-11-23T13:48:35 we say that here when someone sees something as straight or aligned and it isn't 2012-11-23T13:48:53 ok, but which line? 2012-11-23T13:49:06 all look ok to me 2012-11-23T13:49:10 the lowest to the left 2012-11-23T13:49:21 vertical or horizontal? 2012-11-23T13:49:46 all the lower greens cannot be seen because they are blocked by the map outline 2012-11-23T13:50:06 i said, 'the outer red path doesnt count' 2012-11-23T13:50:08 did you ignore the outer red line in these calculations as well ? 2012-11-23T13:50:21 I though you just didn't hilight it green ^^ 2012-11-23T13:50:25 no 2012-11-23T13:50:28 they are like not there 2012-11-23T13:50:36 just drawn 2012-11-23T13:50:52 well, it is upside down, but correct so far :) 2012-11-23T13:51:02 now, im gonna make clear, what segment of the lines are actually seen, i have the data, just haev to transform it 2012-11-23T13:51:12 so ill have that green polygon that you had 2012-11-23T13:52:04 oh wait.... I see something 2012-11-23T13:52:31 see that big block on the right, close to the 8 shape at the bottom ? 2012-11-23T13:52:50 i guess 2012-11-23T13:52:52 isn't it possible to see part of it from the origin point 2012-11-23T13:52:53 ? 2012-11-23T13:53:14 which is up from the 8? 2012-11-23T13:53:25 yes, that one 2012-11-23T13:53:30 no, i dont think so 2012-11-23T13:53:40 but my a4 paper tells me so ^^ 2012-11-23T13:53:49 it is wrong 2012-11-23T13:53:54 :) 2012-11-23T13:54:01 use a ruler on your screen. i think it should be visible 2012-11-23T13:54:11 it is on a crt 2012-11-23T13:54:14 it is curved 2012-11-23T13:54:15 lol 2012-11-23T13:54:32 let me see it on the tft 2012-11-23T13:54:34 then use the second monitor 2012-11-23T13:54:52 no, thats the first 2012-11-23T13:54:55 the crt is the second 2012-11-23T13:54:56 *** antimatroidl has quit IRC (Ping timeout: 252 seconds) 2012-11-23T13:55:05 somehow I knew 2012-11-23T13:56:09 yes, you are right 2012-11-23T13:56:43 i see a little bit of history repeating. all these little bugs and special cases... 2012-11-23T13:57:27 so you have an environment without exceptions or infinite loops. that's interesting 2012-11-23T13:57:55 it missed 2 lines 2012-11-23T13:58:09 this cant have bugs 2012-11-23T13:58:21 i mean, this is soo simple 2012-11-23T13:58:42 like, 8 lines 2012-11-23T13:59:17 i know the origin of the problem 2012-11-23T13:59:25 at least, i have a good suspicion 2012-11-23T13:59:35 and, it cant be solved 2012-11-23T14:00:28 *** Accoun has quit IRC () 2012-11-23T14:02:23 mleise: maybe, using double would solve it 2012-11-23T14:02:43 the numbers are in float, since thats what the visualizer expects 2012-11-23T14:04:14 do you calculate angles and distances for each point ? 2012-11-23T14:04:46 and then check each segment against each other in depth and extent ? 2012-11-23T14:05:54 idk, do i? 2012-11-23T14:06:03 no, i dont 2012-11-23T14:06:09 but im doing something similar 2012-11-23T14:12:34 *** epicmonkey has joined #aichallenge 2012-11-23T14:14:12 *** ronchaine has quit IRC (Ping timeout: 255 seconds) 2012-11-23T14:15:01 *** ronchaine has joined #aichallenge 2012-11-23T14:18:31 mleise: great, working now, just had to change a < to <= 2012-11-23T14:20:32 good, now you can write a bot 2012-11-23T14:20:44 no 2012-11-23T14:20:54 im not ready yet, i need that green area 2012-11-23T14:21:06 and make it interactive 2012-11-23T14:22:56 mleise: http://hpaste.org/78124 this is the projective interval merging code 2012-11-23T14:23:04 *** Accoun has joined #aichallenge 2012-11-23T14:23:11 i will not count this, when i will cite line counts, since this is a library... 2012-11-23T14:23:21 (now that i wrote it, it is) 2012-11-23T14:24:41 I hope your program is so slow or buggy that I don't feel like using the wrong language for the job :D 2012-11-23T14:25:21 XD 2012-11-23T14:59:14 *** dvladim has quit IRC (Ping timeout: 252 seconds) 2012-11-23T15:09:57 mleise: http://i.imgur.com/hNMr8.png 2012-11-23T15:15:21 *** raedwulf has quit IRC (Ping timeout: 252 seconds) 2012-11-23T15:22:22 *** dvladim has joined #aichallenge 2012-11-23T15:31:37 *** dvladim has quit IRC (Ping timeout: 244 seconds) 2012-11-23T15:33:17 *** ikaros_ is now known as ikaros 2012-11-23T15:33:29 that looks correct :) 2012-11-23T15:33:43 sorry, I've been playing starship troopers 2012-11-23T15:56:02 working real time 2012-11-23T15:56:49 oh, this is not compiled code 2012-11-23T15:56:53 im working in ghci 2012-11-23T15:59:41 mleise: there is one issue remaining, that i wont fix, cause, not too interesting, is that i dont handle correctly, that angles are modulo 2pi 2012-11-23T15:59:57 mleise: do you want to see the code, or run an exe? 2012-11-23T16:01:40 oh, its fast, compiled 2012-11-23T16:02:17 no, an image is enough 2012-11-23T16:02:26 nono, you really want to try it 2012-11-23T16:02:39 I do ? :p 2012-11-23T16:02:42 yes 2012-11-23T16:02:44 its fun 2012-11-23T16:02:46 how do you know what I want 2012-11-23T16:02:56 ok, just up it to the dropbox 2012-11-23T16:03:14 so i just need to wait for the sync popup :p 2012-11-23T16:04:27 well, 11MB 2012-11-23T16:04:30 will take some time 2012-11-23T16:04:45 ghc links statically by default 2012-11-23T16:06:18 *** Areks has quit IRC (Ping timeout: 272 seconds) 2012-11-23T16:09:40 I have ghc installed too, maybe i can run dynamically linked executables. 2012-11-23T16:10:47 it is linked to stuff like opengl... 2012-11-23T16:10:54 and a lot of cabal intalled libs 2012-11-23T16:11:01 so, this is ultimately better 2012-11-23T16:11:05 mleise: http://sprunge.us/RJME?haskell 2012-11-23T16:11:18 omg it is dynamic !!121eleveb 2012-11-23T16:11:19 the stuff happens in the middle 3 functions 2012-11-23T16:11:45 hm? 2012-11-23T16:12:19 toIntervals, projectSorted, intersections are the workhorse functions 2012-11-23T16:12:37 but the real stuff that makes this whole thing work, is in the library, NamedIntervals 2012-11-23T16:13:11 you still have a bug in it though ;) 2012-11-23T16:13:32 if you mean, when you move to the right side, thats because of what i said 2012-11-23T16:13:54 oh i see 2012-11-23T16:13:59 when im doing the projection, im not taking into account, that the angular variable is periodic 2012-11-23T16:15:12 nah, there are lines of sight crossing solid geometry even in the lower left 2012-11-23T16:15:17 and, i add the mouse cursor position as a vertex of the green are 2012-11-23T16:15:25 even if it isnt supposed to be added 2012-11-23T16:17:21 i changed a 'min' to 'max' its a bit better now 2012-11-23T16:17:50 now the line segments are sorted on the farthest point, of the 2, not the closest 2012-11-23T16:18:16 mleise: that solved the problem you just mentioned 2012-11-23T16:18:58 ok, but I really have to hunt some bugs now 2012-11-23T16:19:40 ok 2012-11-23T16:19:43 i see 2012-11-23T16:19:49 my code is too long 2012-11-23T16:19:56 you are not impressed at all 2012-11-23T16:19:58 *** pairofdice has quit IRC (Quit: In girum imus nocte et consumimur igni.) 2012-11-23T16:20:00 maybe next time 2012-11-23T16:20:16 that drawing takes too much loc 2012-11-23T16:21:17 *** amstan has joined #aichallenge 2012-11-23T16:21:17 *** ChanServ sets mode: +o amstan 2012-11-23T16:24:50 *** epicmonkey has quit IRC (Ping timeout: 244 seconds) 2012-11-23T16:37:08 :D 2012-11-23T16:41:05 *** thestinger has joined #aichallenge 2012-11-23T16:58:33 *** dici has joined #aichallenge 2012-11-23T17:39:16 *** raedwulf has joined #aichallenge 2012-11-23T17:45:35 *** dici has quit IRC (Read error: Connection reset by peer) 2012-11-23T17:48:51 *** sigh has joined #aichallenge 2012-11-23T17:55:04 *** mcstar has quit IRC (Quit: mcstar) 2012-11-23T17:55:15 *** sigh has quit IRC (Remote host closed the connection) 2012-11-23T17:55:41 *** coeus has joined #aichallenge 2012-11-23T18:12:20 *** Blkt has quit IRC (Read error: Connection reset by peer) 2012-11-23T18:16:48 *** ikaros has quit IRC (Quit: Ex-Chat) 2012-11-23T18:17:22 *** sigh has joined #aichallenge 2012-11-23T19:46:31 *** antimatroidl has joined #aichallenge 2012-11-23T19:47:00 *** antimatroidl1 has joined #aichallenge 2012-11-23T19:47:00 *** antimatroidl has quit IRC (Read error: Connection reset by peer) 2012-11-23T20:13:26 *** foRei has quit IRC (Read error: Connection reset by peer) 2012-11-23T20:22:02 *** antimatroidl1 has quit IRC (Quit: Leaving.) 2012-11-23T20:33:21 *** thestinger has quit IRC (Ping timeout: 244 seconds) 2012-11-23T20:52:26 *** mleise has quit IRC (Quit: Leaving.) 2012-11-23T20:56:53 *** Scooper has quit IRC (Quit: Leaving) 2012-11-23T21:02:36 *** bqf_ has joined #aichallenge 2012-11-23T21:05:29 *** bqf has quit IRC (Ping timeout: 260 seconds) 2012-11-23T22:15:05 *** thestinger has joined #aichallenge 2012-11-23T23:08:31 *** thestinger has quit IRC (Quit: WeeChat 0.3.9.2) 2012-11-23T23:09:23 *** Eibwen has quit IRC (Ping timeout: 244 seconds) 2012-11-23T23:12:11 *** Eibwen__ has joined #aichallenge 2012-11-23T23:12:14 *** Eibwen__ is now known as Eibwen 2012-11-23T23:17:15 *** Eibwen has quit IRC (Ping timeout: 260 seconds) 2012-11-23T23:58:16 *** Eibwen has joined #aichallenge