2011-05-24T00:12:46 *** McLeopold has joined #aichallenge 2011-05-24T00:14:19 *** bhasker has joined #aichallenge 2011-05-24T00:25:36 *** BAM_ has quit IRC (Ping timeout: 252 seconds) 2011-05-24T00:32:35 *** Mathnerd314 has quit IRC (Ping timeout: 276 seconds) 2011-05-24T00:39:10 *** McLeopold has quit IRC (Ping timeout: 252 seconds) 2011-05-24T00:48:23 *** Palmik has joined #aichallenge 2011-05-24T00:51:56 *** Nebri has quit IRC () 2011-05-24T01:22:51 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has quit IRC (Quit: Lost terminal) 2011-05-24T01:28:43 *** McLeopold has joined #aichallenge 2011-05-24T01:55:31 *** FireFly has joined #aichallenge 2011-05-24T03:05:38 *** berak has joined #aichallenge 2011-05-24T03:14:52 *** Ice_Harley has joined #aichallenge 2011-05-24T03:23:05 *** aerique has joined #aichallenge 2011-05-24T03:23:27 *** qacek has quit IRC (Quit: WeeChat 0.3.5) 2011-05-24T03:31:51 *** ltriant has quit IRC (Quit: Computer has gone to sleep) 2011-05-24T03:45:03 re: issue 15, for what it's worth, i just compiled the CL starter bot locally using the sandbox - https://github.com/aichallenge/aichallenge/issues/15 2011-05-24T04:06:48 *** FireFly has quit IRC (Quit: swatted to death) 2011-05-24T04:10:34 *** berak has quit IRC (Ping timeout: 246 seconds) 2011-05-24T04:21:21 *** McLeopold has quit IRC (Read error: Connection reset by peer) 2011-05-24T04:23:28 *** berak has joined #aichallenge 2011-05-24T04:30:28 *** Naktibalda has joined #aichallenge 2011-05-24T04:48:00 *** FireFly has joined #aichallenge 2011-05-24T04:52:39 *** Accoun has quit IRC () 2011-05-24T05:07:25 hey aerique 2011-05-24T05:09:11 *** Accoun has joined #aichallenge 2011-05-24T05:10:10 *** Eruonen has joined #aichallenge 2011-05-24T05:22:12 *** sigh has joined #aichallenge 2011-05-24T05:23:15 mcstar: hiya 2011-05-24T05:31:59 where are you with your visualization? 2011-05-24T05:32:00 *** amstan has quit IRC (Read error: Connection reset by peer) 2011-05-24T05:33:20 i have a working cellular automaton in lispbuilder, and i was wondering you might like to see the code 2011-05-24T05:33:39 *** needsch has joined #aichallenge 2011-05-24T05:41:38 mcstar: sure, give me a link 2011-05-24T05:46:48 *** FireFly has quit IRC (Quit: swatted to death) 2011-05-24T06:15:12 how about dcc? 2011-05-24T06:15:26 im not on the internet lol 2011-05-24T06:16:23 dcc send aerique ~/src/aiall/ca.tar 2011-05-24T06:59:58 *** delt0r___ has joined #aichallenge 2011-05-24T07:00:33 *** delt0r_ has quit IRC (Read error: Operation timed out) 2011-05-24T07:52:14 *** _0x47 <_0x47!~slash@p57B3E967.dip.t-dialin.net> has joined #aichallenge 2011-05-24T07:54:50 What general algorithms you think are going to be employed the most in this challenge? 2011-05-24T07:56:03 *** amstan has joined #aichallenge 2011-05-24T07:56:03 *** ChanServ sets mode: +o amstan 2011-05-24T08:14:56 10 if ai == perfect goto 40 2011-05-24T08:14:59 20 call make_better_ai 2011-05-24T08:15:01 30 goto 10 2011-05-24T08:15:08 40 print "that was easy" 2011-05-24T08:16:00 *** amstan has quit IRC (Ping timeout: 260 seconds) 2011-05-24T08:27:43 breadth first search! 2011-05-24T08:28:07 i'm claiming that to be the most used 2011-05-24T08:35:42 antimatroid1: well, i still think mine will be used more often 2011-05-24T08:36:53 (and arguably mine is the more general :D) 2011-05-24T08:46:54 mcstar: are you willing to put your money where your fingers are? 2011-05-24T08:46:57 :p 2011-05-24T08:47:15 :) 2011-05-24T08:56:45 *** berak_ has joined #aichallenge 2011-05-24T08:58:35 *** smiley1983 has joined #aichallenge 2011-05-24T08:58:37 *** berak has quit IRC (Ping timeout: 246 seconds) 2011-05-24T09:01:10 some kind of multiplayer rubix cube game could be cool 2011-05-24T09:01:24 first player to get a face filled with their colour 2011-05-24T09:01:55 not sure how one would do that simultaneously 2011-05-24T09:17:22 *** sigh has quit IRC (Remote host closed the connection) 2011-05-24T09:18:31 this is for you antimatroid1 http://4.bp.blogspot.com/_eXQh6Qsh7Z8/S1PDRRElvGI/AAAAAAAABv0/s5SSbrLf22g/s1600/wtf.jpg 2011-05-24T09:19:34 -.- http://www.youtube.com/watch?v=AAfpq6EPKck 2011-05-24T09:23:39 ive seen almost every video they showed in the clip 2011-05-24T09:24:52 (not sure thats a good or a bad thing, but im not obsessed with cats, in fact i have dogs) 2011-05-24T09:31:52 mcstar: http://i.imgur.com/qp4Cf.png 2011-05-24T09:31:56 i just spent way too long making that 2011-05-24T09:32:00 i want a physical one 2011-05-24T09:33:39 whoa thats your idea of the multiplayer version of th cube? 2011-05-24T09:34:23 no, that was just an alternate idea for a rubix cube 2011-05-24T09:34:49 how dou you intend to color it? 2011-05-24T09:35:44 30 colors is too much 2011-05-24T09:35:50 no it's not 2011-05-24T09:35:55 i know only 5-6 colors 2011-05-24T09:36:06 i'm a mathematician 2011-05-24T09:36:15 as far as i'm concerned there's an infinite number of colours 2011-05-24T09:36:16 :p 2011-05-24T09:37:10 im not talking about colours, im talking about colors 2011-05-24T09:37:17 hehe 2011-05-24T09:37:43 of course you could print the alphabet with number on the faces 2011-05-24T09:37:45 i'm australian :P 2011-05-24T09:37:52 or a number :P 2011-05-24T09:38:05 no, it has to be 1 character 2011-05-24T09:38:18 yeah, each face gets a unique number, 1-30 2011-05-24T09:38:37 you could start adding more cubes on so that you could transform the object into different things as well 2011-05-24T09:38:47 ie. the object isn't symmetric under all rotations 2011-05-24T09:39:34 *** berak_ has quit IRC (Ping timeout: 246 seconds) 2011-05-24T09:39:58 im sure that i cant conceive of the group structure of your cube 2011-05-24T09:40:16 the original is complex enough 2011-05-24T09:40:23 btw can u do it? 2011-05-24T09:40:41 i can make it in 2.5 minutes 2011-05-24T09:40:52 cause my fingers are slow 2011-05-24T09:40:52 nah, never bothered to learn 2011-05-24T09:41:13 one could write a program to get the group structure, no idea if i could run it though 2011-05-24T09:42:06 i was bad at group theory, i studied it only to get through the exam 2011-05-24T09:42:29 i hated those character tables 2011-05-24T09:43:31 group theory is awesome 2011-05-24T09:43:45 i can see why someone likes it 2011-05-24T09:44:02 it just took me too much of an effort to study it 2011-05-24T09:45:07 now back to work, i have to watch the end of SGU 2011-05-24T09:53:17 *** Kingpin13 has joined #aichallenge 2011-05-24T10:11:36 *** _0x47 <_0x47!~slash@p57B3E967.dip.t-dialin.net> has quit IRC (Ping timeout: 250 seconds) 2011-05-24T10:11:39 *** _0x471 <_0x471!~slash@p5B12EA5F.dip.t-dialin.net> has joined #aichallenge 2011-05-24T10:17:29 *** _0x471 <_0x471!~slash@p5B12EA5F.dip.t-dialin.net> has quit IRC (Ping timeout: 260 seconds) 2011-05-24T10:22:22 *** _0x47 <_0x47!~slash@p5B12F548.dip.t-dialin.net> has joined #aichallenge 2011-05-24T10:27:11 *** _0x471 <_0x471!~slash@p5B12F34D.dip.t-dialin.net> has joined #aichallenge 2011-05-24T10:28:09 *** _0x47 <_0x47!~slash@p5B12F548.dip.t-dialin.net> has quit IRC (Ping timeout: 258 seconds) 2011-05-24T10:34:25 *** aerique has quit IRC (Quit: ...) 2011-05-24T10:48:38 *** berak has joined #aichallenge 2011-05-24T10:56:34 *** berak has quit IRC (Ping timeout: 246 seconds) 2011-05-24T10:58:22 *** _0x47 <_0x47!~slash@p57B3E535.dip.t-dialin.net> has joined #aichallenge 2011-05-24T11:00:29 *** _0x471 <_0x471!~slash@p5B12F34D.dip.t-dialin.net> has quit IRC (Ping timeout: 276 seconds) 2011-05-24T11:00:45 *** FireFly has joined #aichallenge 2011-05-24T11:15:42 oh god, talk written 2011-05-24T11:15:52 i don't think people are going to understand wtf i'm saying 2011-05-24T11:19:00 *** Ice_Harley has quit IRC (Ping timeout: 252 seconds) 2011-05-24T11:32:18 *** demerzel has joined #aichallenge 2011-05-24T11:39:20 *** _0x471 <_0x471!~slash@p5B12F231.dip.t-dialin.net> has joined #aichallenge 2011-05-24T11:39:29 *** _0x47 <_0x47!~slash@p57B3E535.dip.t-dialin.net> has quit IRC (Ping timeout: 276 seconds) 2011-05-24T11:51:37 *** Frontier has quit IRC (Quit: Leaving.) 2011-05-24T12:06:04 *** bhasker has quit IRC (Quit: bhasker) 2011-05-24T12:06:27 *** berak has joined #aichallenge 2011-05-24T12:06:32 *** Mathnerd314 has joined #aichallenge 2011-05-24T12:31:39 *** amstan has joined #aichallenge 2011-05-24T12:31:40 *** ChanServ sets mode: +o amstan 2011-05-24T12:33:34 *** _0x47 <_0x47!~slash@p5B12FB04.dip.t-dialin.net> has joined #aichallenge 2011-05-24T12:34:34 *** _0x471 <_0x471!~slash@p5B12F231.dip.t-dialin.net> has quit IRC (Ping timeout: 246 seconds) 2011-05-24T12:42:07 *** _0x47 <_0x47!~slash@p5B12FB04.dip.t-dialin.net> has quit IRC (Ping timeout: 252 seconds) 2011-05-24T12:50:17 *** amstan has quit IRC (Ping timeout: 252 seconds) 2011-05-24T12:52:17 *** bhasker has joined #aichallenge 2011-05-24T12:59:25 *** berak has quit IRC (Ping timeout: 246 seconds) 2011-05-24T13:02:34 *** berak has joined #aichallenge 2011-05-24T13:13:18 *** Naktibalda has quit IRC (Quit: ChatZilla 0.9.86.1 [Firefox 4.0.1/20110413222027]) 2011-05-24T13:20:17 *** fgump has joined #aichallenge 2011-05-24T13:27:44 *** _0x47 <_0x47!~slash@p5B12F650.dip.t-dialin.net> has joined #aichallenge 2011-05-24T13:32:19 *** fgump has quit IRC (Quit: Leaving) 2011-05-24T13:37:15 *** Cyndre_ is now known as Cyndre 2011-05-24T14:12:36 *** Frontier has joined #aichallenge 2011-05-24T14:25:00 so IE9 is now officially released, I've got a Windows Update notification. I wonder how much I have to change to get the visualizer going in JScript. 2011-05-24T14:28:38 *** Frontier has quit IRC (Read error: Connection reset by peer) 2011-05-24T14:31:44 *** Redgis has joined #aichallenge 2011-05-24T14:33:19 *** Frontier has joined #aichallenge 2011-05-24T14:39:56 IE9 doesn't seem to respect the size constraints, but otherwise it works nicely. It is even quite fast. 2011-05-24T14:40:40 *** Ow has quit IRC (Ping timeout: 252 seconds) 2011-05-24T14:43:14 you wasted 4:41 minutes of your life to reboot windows 2011-05-24T14:43:43 14 2011-05-24T14:44:02 no 2011-05-24T14:44:07 never mind 2011-05-24T14:53:49 :p 2011-05-24T14:54:10 and now it offers me an update to ie that has been released last year 2011-05-24T14:55:26 it's like 'lets release the alpha version from last year, ppl can gradually patch it to the release version' 2011-05-24T14:57:50 anyway IE is a good example of what you can do when you don't have to care about cross-platformness. It outruns Firefox and Chrome in JavaScript benchmarks now! 2011-05-24T14:58:12 (Firefox 4 that is) 2011-05-24T14:59:59 *** delt0r_ has joined #aichallenge 2011-05-24T15:01:30 *** delt0r___ has quit IRC (Ping timeout: 250 seconds) 2011-05-24T15:08:33 *** Naktibalda has joined #aichallenge 2011-05-24T15:09:20 Though to be honest, my visualizer runs with 20 FPS in IE9 and about 60 in Chrome on Linux. So whatever the benchmark included was no good test case :p 2011-05-24T15:13:16 *** _flag <_flag!~flag@69-165-173-172.dsl.teksavvy.com> has joined #aichallenge 2011-05-24T15:13:48 *** smiley1983 has quit IRC (Ping timeout: 240 seconds) 2011-05-24T15:15:00 *** smiley1983 has joined #aichallenge 2011-05-24T15:16:23 i guess drawing performance is not related to js execution speed then 2011-05-24T15:24:21 its gotta phone home to microsoft with every image you view 2011-05-24T15:24:38 no idk but i would turn off compatibility mode and safemode (or whatever it's called) and try it 2011-05-24T15:33:07 *** amstan has joined #aichallenge 2011-05-24T15:33:07 *** ChanServ sets mode: +o amstan 2011-05-24T16:03:01 *** Accoun has quit IRC () 2011-05-24T16:04:09 *** sente has quit IRC (Ping timeout: 252 seconds) 2011-05-24T16:19:01 *** tomh has joined #aichallenge 2011-05-24T16:19:12 hey 2011-05-24T16:19:24 is the Ants game ready to develop against? 2011-05-24T16:20:50 develop against? not sure what you mean by that exactly but the game itself exists on github 2011-05-24T16:21:01 to create a bot for it 2011-05-24T16:22:00 yes 2011-05-24T16:22:05 there are starter packages etc 2011-05-24T16:22:26 yeah I saw that, but it said winter 2011, so I thought it might be still under heavy development 2011-05-24T16:22:52 it is 2011-05-24T16:22:55 but the basic game is there 2011-05-24T16:23:02 ok 2011-05-24T16:23:02 the game itself won't change much 2011-05-24T16:23:06 just the site etc is under dev 2011-05-24T16:23:13 and when is the competition deadline? 2011-05-24T16:23:17 idk 2011-05-24T16:23:33 ok 2011-05-24T16:28:09 tomh: it didn't start.. so.. you're good 2011-05-24T16:29:49 amstan: worker still stalled? 2011-05-24T16:30:01 demerzel: yes, bug mcleopold pls 2011-05-24T16:30:19 contestbot: seen mcleopold 2011-05-24T16:30:19 demerzel: mcleopold was last seen in #aichallenge 21 hours, 46 minutes, and 25 seconds ago: amstan: I think my memcache code is crappy and useless 2011-05-24T16:30:25 yea that was the last one 2011-05-24T16:30:34 got a 'giving up' vibe :( 2011-05-24T16:30:45 hopefully not tho 2011-05-24T16:30:59 winter? so there is quite some time before the contest then? 2011-05-24T16:31:07 * berak would like a debate, why it's taking so long for take-off, ppl, you're half a year late now, already ! 2011-05-24T16:31:10 i might be able to participate after all if so 2011-05-24T16:31:33 berak: well, nobody's really into coding the backend 2011-05-24T16:31:37 berak: we need more coders 2011-05-24T16:31:41 i would be if it wasn't all python lol 2011-05-24T16:31:46 i'd tolerate php 2011-05-24T16:31:47 ;) 2011-05-24T16:32:32 python: literally the only language i won't touch with a 10-foot pole 2011-05-24T16:32:43 sorry 2011-05-24T16:32:46 demerzel: like me with c# and java? 2011-05-24T16:32:59 idk you do seem progress-resistant ;) 2011-05-24T16:33:28 since when was c# progress? i see it more as chains 2011-05-24T16:33:49 i'm not even gonna dignify that lol 2011-05-24T16:34:12 i think its funny linux users like python it's like the cmoplete oppoiste of my mindset 2011-05-24T16:34:13 since when is php progressive compared to python? 2011-05-24T16:34:25 i want complete control over my os but not my coding 2011-05-24T16:34:32 it should 'just do it' 2011-05-24T16:35:28 i mean, i'm with you that python is not a nicely progressive language, but php does not stand in contrast to it 2011-05-24T16:35:39 no i was giving him shit about not liking c# / java 2011-05-24T16:36:05 python is a weird association to linux but it's there for some reason 2011-05-24T16:36:07 java is one of the most, err. regressive languages i know. c# is alright at least 2011-05-24T16:36:35 they're syntactically very similar but c# is better implemented because it was planned that way 2011-05-24T16:36:48 otoh java 'theoretically' is open-platform 2011-05-24T16:36:52 but with mono existing it's a moot point imo 2011-05-24T16:36:52 and was actually designed to be better than the languages it competes with 2011-05-24T16:36:58 yea 2011-05-24T16:37:01 the only new thing java introduced to the mainstream was GC 2011-05-24T16:37:18 which of course was already around 2011-05-24T16:37:22 just not in a "fast" language 2011-05-24T16:37:27 amstan: what kind of backend stuff is not done? 2011-05-24T16:37:35 jmcarthur: The JVM is apparently rather nice. 2011-05-24T16:37:43 (It's arguably a byproduct of Java.) 2011-05-24T16:37:45 jbroman: for anything that is not interactive, yes 2011-05-24T16:37:57 the JIT is amazing 2011-05-24T16:38:09 and the GC fairly nice 2011-05-24T16:38:13 the thing that ties the whole run games/upload/move compiled/everything else is constantly broken 2011-05-24T16:38:18 afaik the actual components work fine 2011-05-24T16:38:32 I can develop the bot in any language I want right? 2011-05-24T16:38:39 tomh: a bunch of bugs, and mcleopold and janzert are the only ones familiar with the code 2011-05-24T16:38:46 tomh: so we're at their mercy 2011-05-24T16:38:51 ok 2011-05-24T16:39:16 its written in such way, that no one else could be familirized with the code? 2011-05-24T16:39:26 amstan is lazy 2011-05-24T16:40:15 * berak sees now, what 'we need more coders!' means.. 2011-05-24T16:40:26 500 lines of python which is 'really easy to read'? might as well be greek 2011-05-24T16:40:33 *** Accoun has joined #aichallenge 2011-05-24T16:40:54 demerzel: then what language do you like? :P 2011-05-24T16:41:13 i am giving amstan shit about not debugging it himself since he said python was really easy to read 2011-05-24T16:41:22 anything that starts with the letter c, generally 2011-05-24T16:41:28 except cobol :P 2011-05-24T16:41:40 demerzel: i am, i never wanted to work on this code, see my zeta suggestion 2011-05-24T16:42:03 hehe ok 2011-05-24T16:42:03 demerzel: Cython 2011-05-24T16:42:11 oshit! 2011-05-24T16:42:33 but for the competitions, you could write the bot in any language right? 2011-05-24T16:42:37 lol the c thing for python is funny 2011-05-24T16:42:40 idgi 2011-05-24T16:42:46 tomh: Most common languages, yes. 2011-05-24T16:42:52 haskell?\ 2011-05-24T16:42:54 if you admit c/c++ extensions would run much faster why not just write teh whole thing in c/c++ 2011-05-24T16:42:59 yep 2011-05-24T16:43:05 they even already have a haskell starter package 2011-05-24T16:43:09 ok good 2011-05-24T16:43:33 demerzel: Some things are faster to write in raw assembly than C/C++. Why would you not write the whole thing in assembly? 2011-05-24T16:43:55 i'm pretty sure the variety and amount of those things are much smaller in scope if not microscopic in comparison 2011-05-24T16:44:12 *** Naktibalda has quit IRC (Quit: ChatZilla 0.9.86.1 [Firefox 4.0.1/20110504060726]) 2011-05-24T16:44:27 The same argument holds. People who use higher level languages do so because they prefer the convenient facilities that provides, usually at the cost of some measure of performance. 2011-05-24T16:45:06 i thought this debate was settled when fortran/lisp was created 2011-05-24T16:45:12 50 years ago 2011-05-24T16:45:26 haskell is also quite performant 2011-05-24T16:45:50 i want to learn lisp 2011-05-24T16:45:56 maybe i'll try this year 2011-05-24T16:46:01 +1 2011-05-24T16:46:12 if you can type ( and ), you are halfway there 2011-05-24T16:46:34 tomh is being sarcastic 2011-05-24T16:46:56 i want a straight answer guys: 2011-05-24T16:47:03 jbroman: i don't believe that performance must necessarily be sacrificed for a higher level language, although it is definitely not going to be fast for early iterations of the compiler 2011-05-24T16:47:07 is it possible that the contest really will only start in the winter? 2011-05-24T16:48:53 jmcarthur: Well, some facilities due inevitably sacrifice performance (e.g. it's probably impossible to write GC that is never slower than well-written malloc/free code). Certainly some may be achievable without loss of performance (and I know you're not too subtly talking about GHC here). But those facilities are still the reason that people choose languages like Python. 2011-05-24T16:49:09 s/due in/do in/ 2011-05-24T16:49:18 i'm actually not talking about ghc at all 2011-05-24T16:50:25 Hmm, OK. 2011-05-24T16:50:30 jbroman: regions are often faster than malloc/free 2011-05-24T16:50:44 another language war won't make it happen. 2011-05-24T16:50:58 by that i mean faster than is at all possible with malloc/free unless you write a full blown regions library on top of it 2011-05-24T16:51:40 jmcarthur: I don't really care about the speed of the allocation algorithm. I meant that the GC will sometimes do operations that might be avoidable with foreknowledge of the program. And it was only an example. 2011-05-24T16:51:42 region inference isn't well-studied enough to avoid some explicitness in your code though, unfortunately 2011-05-24T16:52:01 * amstan points that speed of execution is not the only thing that matters 2011-05-24T16:52:05 even faster is not having to use malloc/free by careful design 2011-05-24T16:52:14 jbroman: no i understood your point. i just mean there are alternatives to gc 2011-05-24T16:52:19 regions being one 2011-05-24T16:52:20 i believe speed of developing is also important in this contest at least 2011-05-24T16:52:38 its really not though we have like 5 months to develop nothing but pure math logic 2011-05-24T16:52:42 *** smiley1983 has quit IRC (Ping timeout: 248 seconds) 2011-05-24T16:53:06 demerzel: what? 2011-05-24T16:53:13 thsi is one of the ffew applications i don't even take a hit in time by going back to pure c95 2011-05-24T16:53:20 dev time* 2011-05-24T16:53:57 *** smiley1983 has joined #aichallenge 2011-05-24T16:54:09 amstan: stdio (already written) and just pure logic ie math operation and conditions is all that's left 2011-05-24T16:54:11 jbroman: but since you brought up ghc, i feel i need to point out that ghc is *not* anywhere near where i think it could be. there are several optimizations glaringly missing and questionable design decisions making other kinds of optimizations impossible. even some of haskell's design decisions play a part here, most of which superficially make haskell appear *lower* level 2011-05-24T16:54:23 dev time is not really a factor since any language is going ot be similar in time invested 2011-05-24T16:54:37 higher level languages extract concepts like gui / input etc which is useful but not necessary in this 2011-05-24T16:54:46 demerzel: That is debatable. If that were provable true nobody would use high-level languages. 2011-05-24T16:54:52 s/provable/provably/ 2011-05-24T16:55:01 demerzel: i strongly disagree with that 2011-05-24T16:55:26 how much difference can there really be between languages on 'if h(n) < then' 2011-05-24T16:55:34 For instance, a whole class of memory allocation bugs do not occur in some higher-level languages. Thus you do not need to spend time debugging those issues. 2011-05-24T16:55:35 in terms of dev time not syntax 2011-05-24T16:55:39 higher level languages give you a richer vocabulary in general 2011-05-24T16:55:47 demerzel: i'm not just talking about syntax sugar 2011-05-24T16:55:49 jbroman: your dimensions are static 2011-05-24T16:55:56 given to you on turn1 2011-05-24T16:56:02 you don't even have to malloc 2011-05-24T16:56:17 demerzel: you were only talking about syntax, but let's analyze your example there (if then)... 2011-05-24T16:56:18 demerzel: That's only one example. 2011-05-24T16:56:46 demerzel: If you end up writing an identical program switching one syntax for another, sure, you won't notice much of a difference. 2011-05-24T16:56:59 demerzel: other ways to do it are pattern matching, which gives you a more powerful operation in fewer lines of code, allowing branches to have a context sensitivity which if statements simply can't mimick at all 2011-05-24T16:57:22 but you're giong to want to optimize that as much as possible anyway given the large amount of possibilities that exist 2011-05-24T16:57:52 demerzel: if statements also require booleans. with pattern matching, you can get a truth value which also carries its own proof, and then you can use that proof in the branches 2011-05-24T16:58:09 what do you mean by pattern matching? 2011-05-24T16:58:27 well i could give a simple example, but it won't show its full potential 2011-05-24T16:58:27 saying it brings regex to mind which i don't think is what you mean 2011-05-24T16:58:33 no, not regex 2011-05-24T16:58:57 case foo bar of Nothing -> ; Just x -> 2011-05-24T16:59:07 demerzel: that as opposed to checking for null before using x 2011-05-24T16:59:20 * berak just encountered a (python) syntax err in turn 100, a c-compiler would have got that even before startup 2011-05-24T16:59:27 demerzel: in other words, because you obtain x through pattern matching, it's impossible to use x if it's null 2011-05-24T16:59:46 it's not even syntactically expressible to use a null value 2011-05-24T16:59:52 but you could just initialize x with a value that's impossible to arrive at 2011-05-24T17:00:07 guess i don't understand the example 2011-05-24T17:00:09 but that's just a hack 2011-05-24T17:00:23 true but i don't understand the significance of null 2011-05-24T17:00:42 berak: python syntax errors are detected from the start, unless you're doing evals 2011-05-24T17:01:27 okay how about this... open a source file, find the first if statement in the file, and tell me what you are using it for. nine times out of ten, pattern matching and a high level data structure can do it more nicely 2011-05-24T17:01:47 not just more nicely, that is 2011-05-24T17:01:53 more safely 2011-05-24T17:02:18 demerzel: Suppose you have an object, Person, who maintains a pointer to another object, Company. You might try to do "person->company->name" to get the company name, forgetting to check the possibility that the company field is null. 2011-05-24T17:02:19 In Haskell, you cannot do this because the field is of type "Maybe Company", so you are forced to consider the possibility by the language. 2011-05-24T17:03:01 Pattern matching provides a syntax which makes doing this not painful. 2011-05-24T17:03:11 ok i understand that but how is that different than null checking 2011-05-24T17:03:21 it's different in a few ways 2011-05-24T17:03:31 1. The compiler prevents you from accidentally using a null value. 2011-05-24T17:03:54 2. The synax gives you a "denullified" value to use which you are guaranteed is not null. 2011-05-24T17:04:14 3. The syntax makes it impossible to use a denullified value without having first checked it via pattern matching. 2011-05-24T17:04:36 pattern matching is actually much more general than this. this is just a very simple example 2011-05-24T17:05:06 how is that different than initializing to a non-null value that is either that min/max or unreachable by calculation? 2011-05-24T17:05:13 not only is this higher level, but it can also make your code faster because you don't have to perform redundant null checks in different functions 2011-05-24T17:05:15 depending on application 2011-05-24T17:05:41 what is the 'denullified' value, do you define it or is it language-wide 2011-05-24T17:05:53 because your proposal does not prevent you from misusing it and does not give you a syntactically obvious indication that you need to check for null 2011-05-24T17:06:06 the denullified value is x in my example code 2011-05-24T17:06:21 the possibly-null value is "foo bar" 2011-05-24T17:06:48 once you have x you can use it however you want and not have to ever think about the possiblity of it being null 2011-05-24T17:07:15 your "special value" proposal does not have this property 2011-05-24T17:07:26 cool ty gonna look into haskell - i do know of some exchange companies that use it 2011-05-24T17:07:38 well yea i guess it depends on how much you trust the coder haha 2011-05-24T17:08:11 it goes a lot deeper than this though, as i said. overall, haskell's type system makes it much easier to reason about your code. 2011-05-24T17:08:36 jbroman: it also makes it easier for the compiler to reason about your code. that's the direction i was intending to push when i said high level languages don't necessarily have to be slower than low level languages 2011-05-24T17:09:35 jmcarthur: True in theory, but extremely difficult in practice. But point taken. 2011-05-24T17:10:24 dont get wrong i wouldn't even think about using iso c in a gui app or something similar 2011-05-24T17:10:35 it was just super nice to have something like this where i don't have to think at all about user interaction 2011-05-24T17:11:10 seemed an optimal choice because all the stuff that is abstracted in other languages really isn't part of it 2011-05-24T17:11:29 but i only know class-based languages and a handful of others i have never touched haskell/lisp/etc 2011-05-24T17:11:35 i don't think it's that difficult in practice. i think the problem is that so far people have been too afraid to continue purifying (in the sense of purely functional) languages. there are many ways to bring it further. i think turing completeness is vastly overrated, for example. dropping that in certain ways makes crazier optimizations much easier, just as purity makes certain optimizations a 2011-05-24T17:11:35 c-based i meant 2011-05-24T17:11:36 lot easier too 2011-05-24T17:12:28 i guess i was due for my functional languages conversation in #aichallenge 2011-05-24T17:13:15 iso c isn't a functional language? 2011-05-24T17:13:40 demerzel: I wouldn't describe it as one, no. 2011-05-24T17:13:41 tough question to answer honestly. C is not functional in the sense that i am talking about 2011-05-24T17:14:15 since functional is such an ambiguous word, i've been using "denotative" in its place 2011-05-24T17:14:28 a language is denotative if it satisfies the following criteria: 2011-05-24T17:14:44 1. Expressions are made up of subexpressions. 2011-05-24T17:15:13 2. Each subexpression has a well-defined meaning all by itself (a value, mathematical object, function, etc.). 2011-05-24T17:15:29 3. The meaning of an expression depends only on the meanings of its subexpressions. 2011-05-24T17:15:37 C does not satisfy that criteria. 2011-05-24T17:16:17 nor does Haskell, by a very strict interpretation 2011-05-24T17:16:39 i will admit i'm not very knowledgeable at the academic side of coding lol 2011-05-24T17:16:42 jmcarthur: Do you consider the IO monad a violation of that? 2011-05-24T17:16:47 didnt' go to school for cs at least 2011-05-24T17:16:52 the IO monad does not have a well-defined meaning 2011-05-24T17:17:05 *** berak has quit IRC (Quit: ChatZilla 0.9.84 [SeaMonkey 2.0a3/20090223135443]) 2011-05-24T17:17:17 demerzel: even if you did, they probably wouldn't teach you this 2011-05-24T17:19:32 brb coffee time 2011-05-24T17:33:03 *** computerwiz_222 has joined #aichallenge 2011-05-24T17:38:05 well.. now we know where jeff is: http://www.tmx.com/en/news_events/broadcast_centre/events_calendar.html 2011-05-24T17:38:12 * amstan points at blue suit 2011-05-24T17:38:49 yay coffee 2011-05-24T17:39:16 *** _0x47 <_0x47!~slash@p5B12F650.dip.t-dialin.net> has quit IRC (Ping timeout: 244 seconds) 2011-05-24T17:39:52 *** _0x47 <_0x47!~slash@p5B12FF30.dip.t-dialin.net> has joined #aichallenge 2011-05-24T17:41:22 that's really jeff? 2011-05-24T17:41:28 yeah 2011-05-24T17:41:40 and wait, what blue suit? 2011-05-24T17:41:46 the blue shirt you mean? 2011-05-24T17:41:46 in the middle 2011-05-24T17:41:52 Blue shirt. 2011-05-24T17:41:53 he presses something 2011-05-24T17:42:02 that would be a shirt, not a suit :P 2011-05-24T17:42:11 oh, w/e 2011-05-24T17:42:16 tought it was a blazer at first 2011-05-24T17:42:26 heh 2011-05-24T17:48:10 *** ltriant has joined #aichallenge 2011-05-24T17:53:04 if you want to know something about the most powerful computer language, pls watch this promo video, you wont regret it: 2011-05-24T17:53:06 http://www.youtube.com/watch?v=HM1Zb3xmvMc 2011-05-24T17:53:14 I crashed IE9, yay! 2011-05-24T17:54:16 *** _0x47 <_0x47!~slash@p5B12FF30.dip.t-dialin.net> has quit IRC (Quit: Leaving.) 2011-05-24T17:56:08 *** smiley1983 has quit IRC (Ping timeout: 250 seconds) 2011-05-24T17:57:15 *** smiley1983 has joined #aichallenge 2011-05-24T17:57:24 *** McLeopold has joined #aichallenge 2011-05-24T17:57:51 miau..miau..miau...? ^^ 2011-05-24T17:58:26 nyan.cat? 2011-05-24T17:58:30 oh! 2011-05-24T17:58:39 McLeopold: miau! 2011-05-24T17:59:19 btw the game examples is from the book, the clip supposed to promote 2011-05-24T17:59:34 its a nice book teaching you lisp throgh writing simple games 2011-05-24T17:59:49 amstan: hi 2011-05-24T18:01:26 McLeopold: we can has fixed worker? 2011-05-24T18:01:36 mcleopold i think you are obiwan at this point 2011-05-24T18:01:40 re: only hope 2011-05-24T18:01:58 amstan: we can has more free php labor? 2011-05-24T18:02:08 McLeopold: on what? 2011-05-24T18:02:17 everything 2011-05-24T18:02:35 I don't want to be the point of failure 2011-05-24T18:02:40 the website seems to be working, mostly 2011-05-24T18:02:44 the worker is the broken one 2011-05-24T18:04:09 I was fixing up my misguided attempts at improved caching 2011-05-24T18:05:30 where? 2011-05-24T18:07:15 game_list.php and ranking.php 2011-05-24T18:07:22 let me commit, hold on... 2011-05-24T18:07:34 what about the worker? 2011-05-24T18:07:47 the .copy() stuff 2011-05-24T18:08:00 *** orivej has joined #aichallenge 2011-05-24T18:08:09 yeah, that too 2011-05-24T18:13:05 aichallenge: McLeopold epsilon * r1ad3c35 / (5 files in 2 dirs): fixed worker game settings issue, better (less) memcache - http://bit.ly/lddI5B 2011-05-24T18:14:17 McLeopold: can i test that?, will it fix the loop? 2011-05-24T18:15:07 you mean, the part where it suddenly fires off hundreds of fast games in a row? 2011-05-24T18:15:23 yes, but they're not games at all, mostly errors 2011-05-24T18:15:48 no, still broken 2011-05-24T18:16:38 for me, it is throwing an error in ants.py, parse_map 2011-05-24T18:17:19 OSError: [Errno 1] Operation not permitted: '../0/6/bot/MyBot.py' 2011-05-24T18:17:29 oh shit 2011-05-24T18:17:31 that's my fault 2011-05-24T18:17:35 i was dicking around in there 2011-05-24T18:17:42 demerzel: dude.. 2011-05-24T18:17:55 0/6 is me just delete 2011-05-24T18:18:06 demerzel: it's in the db.. 2011-05-24T18:18:16 i know that now i'm sorry 2011-05-24T18:18:46 i was only on there for a second was curious if it uploaded but nobody was on 2011-05-24T18:18:50 amstan: can I get a line number on that? 2011-05-24T18:19:03 demerzel: File "worker.py", line 250, in unpack 2011-05-24T18:19:12 demerzel: so did you delete the submission from disk? 2011-05-24T18:19:18 McLeopold: ^^ 2011-05-24T18:19:27 demerzel: should i delete it from db as well? or? 2011-05-24T18:19:31 no i unzipped the zip 2011-05-24T18:19:38 sigh.. 2011-05-24T18:19:39 i had to sudo so its probably escalated 2011-05-24T18:19:40 sorry 2011-05-24T18:19:55 sorry sorry! sheesh just delete 2011-05-24T18:20:07 if i can figure out what to delete.. 2011-05-24T18:20:17 in compiled/0/6 2011-05-24T18:20:23 itw as just generic mybot.py whatever is standard 2011-05-24T18:20:30 *** sigh has joined #aichallenge 2011-05-24T18:20:30 just put it back to whatever it starts as 2011-05-24T18:20:39 i deleted the zip sorry 2011-05-24T18:20:46 i thought it nly wanted the .py so i put that back 2011-05-24T18:20:49 i didn'tk now it needed the zip 2011-05-24T18:21:02 demerzel: submit a new one, maybe that helps 2011-05-24T18:21:07 ok sec 2011-05-24T18:21:14 amstan: did worker fail gracefully, or did it die? 2011-05-24T18:21:22 McLeopold: it looped 2011-05-24T18:21:28 ran it with -n 0 though 2011-05-24T18:21:32 amstan: for added confusion, i do have a pending submission 2011-05-24T18:21:33 hmm... 2011-05-24T18:21:52 ok, that's it, i'm getting closer and closer to wanting to reinstall all of this 2011-05-24T18:21:57 that means get task needs to report back to the server an error, but it didn't? 2011-05-24T18:21:57 amstan: nm it says error receiving i will reupload 2011-05-24T18:22:34 needsch: lots of this: http://pastebin.com/6kijk47E 2011-05-24T18:22:42 McLeopold: ^ 2011-05-24T18:22:45 needsch: sorry, wp 2011-05-24T18:24:57 thats weird so worker /requires/ there to be a zip present in compiled? 2011-05-24T18:25:06 anyway i reuploaded 2011-05-24T18:25:20 same problem, i'm reinstalling 2011-05-24T18:25:33 McLeopold: you ok with that? 2011-05-24T18:25:36 wait 2011-05-24T18:25:40 just delete the dir and copy one of yours serious 2011-05-24T18:25:43 dont reinstall over that 2011-05-24T18:25:49 demerzel: it'll take like 10 min 2011-05-24T18:25:52 oh 2011-05-24T18:25:55 demerzel: and it was already partially broken 2011-05-24T18:25:55 well in that case 2011-05-24T18:26:11 McLeopold: you ok with that? 2011-05-24T18:26:28 sorry btw i thought it needed the stuff for command line and the .zip was an artifact from transfer 2011-05-24T18:26:39 not that i plan on doing anything with my new understanding but still 2011-05-24T18:27:09 aichallenge: McLeopold epsilon * r1b5c325 / worker/worker.py : catch unpack errors - http://bit.ly/lcrhg5 2011-05-24T18:27:31 McLeopold: that fixed folder in zip problem? 2011-05-24T18:27:36 amstan: let's wait and see if it will heal itself 2011-05-24T18:28:06 * amstan had sudo apt-get purge apache* mysql* in the terminal ready, lol 2011-05-24T18:28:28 McLeopold: still the same problem 2011-05-24T18:28:37 McLeopold: demerzel broke it by deleting his zip from uploads/ 2011-05-24T18:28:51 what is the error again 2011-05-24T18:29:24 amstan: it should still be able to detect any issue and flag the submission as errored 2011-05-24T18:29:43 there we go 2011-05-24T18:29:46 now it's doing it 2011-05-24T18:29:55 i did sudo unpack it iirc maybe a access error 2011-05-24T18:30:00 needsch: 2011-05-25 02:29:39,157 - 3999 - ERROR - Unpack Error 2011-05-24T18:30:03 oh wow that tok a wihle to go through haha sorry 2011-05-24T18:30:05 McLeopold: ^ 2011-05-24T18:30:11 ? 2011-05-24T18:30:28 how are you msising mcleopold that far amstan lol 2011-05-24T18:30:32 that's like 3 away 2011-05-24T18:30:37 needsch: sorry about that, lol, i'm having typos today, n is close to m from mcleopold 2011-05-24T18:30:37 xD 2011-05-24T18:30:50 demerzel: i type m 2011-05-24T18:30:53 ah 2011-05-24T18:30:54 demerzel: and in this case n 2011-05-24T18:31:01 ooh that works in freenode 2011-05-24T18:31:02 McLeopold: seems to be working 2011-05-24T18:31:02 yay 2011-05-24T18:31:15 err works in webchat even 2011-05-24T18:32:22 argh every time i get ready to buckle down on some botting work throws some 5 minute database bullshit at me and i get distracted for an hour 2011-05-24T18:32:51 if only i got paid way too much to sit at home it would all be worth it 2011-05-24T18:32:55 wait.. 2011-05-24T18:32:57 McLeopold: what's the standard usage for manager.py? 2011-05-24T18:33:20 -l 15 good? 2011-05-24T18:34:37 *** Redgis has quit IRC (Quit: ... mains libres) 2011-05-24T18:35:57 amstan: it doesn't matter yet, since the api_game_result isn't executing manager.py properly 2011-05-24T18:36:15 amstan: but, that would be correct for generating a leaderboard every 15 seconds 2011-05-24T18:36:28 Okay, C++ newbie question here: when I define a template function that is used in a different compilation unit, it naturally is stripped out before linking. Is the idiomatic solution to put template functions in headers, or is there a better way? 2011-05-24T18:36:31 so i'm not supposed to be running that manually? 2011-05-24T18:36:54 yes, for leaderboard generation 2011-05-24T18:37:14 McLeopold: all submissions now fail 2011-05-24T18:37:14 the php calls it to update the individual game true skill scores 2011-05-24T18:37:31 McLeopold: unpack error 2011-05-24T18:38:16 that sucks... 2011-05-24T18:39:17 amstan: which server are you on? 2011-05-24T18:39:27 aichallengebeta 2011-05-24T18:39:30 .hypert... 2011-05-24T18:39:40 jbroman: try pinging antimatroid1 2011-05-24T18:40:28 *** sigh has quit IRC (Remote host closed the connection) 2011-05-24T18:40:43 amstan: meaning you can upload? 2011-05-24T18:40:50 *can't* 2011-05-24T18:41:03 McLeopold: any upload gives unpack error 2011-05-24T18:41:07 just tried with python starter 2011-05-24T18:46:01 jbroman: You have to place templates in header files 2011-05-24T18:46:26 jbroman: there isn't really a better way unless you consider separating it into its own file better (which some people do) 2011-05-24T18:46:29 boo :P 2011-05-24T18:48:03 http://aichallengebeta.hypertriangle.com/ doesn't work in IE9 -.- 2011-05-24T18:48:23 jbroman: to be more specific what Frontier said + the only thing you can do to make it any better is separate implementation (which is arguably better, not imo) 2011-05-24T18:49:34 *** Destoryer has joined #aichallenge 2011-05-24T18:50:07 can i upload my bot to the aichallengebeta 2011-05-24T18:50:12 *** nann has joined #aichallenge 2011-05-24T18:50:22 :) 2011-05-24T18:50:42 you can 2011-05-24T18:50:43 bhasker: yes..... 2011-05-24T18:50:46 it will stare at you blankly 2011-05-24T18:50:54 unless its been turned on in the last 5 minutes? 2011-05-24T18:51:16 oh i got another problem with submission 2011-05-24T18:51:24 demerzel: im in yr tubes nerfing yr uploads 2011-05-24T18:51:28 let me try 2011-05-24T18:51:48 McLeopold: are you going to put the compiler output into an email like last year? 2011-05-24T18:51:52 *** Palmik has quit IRC (Read error: Connection reset by peer) 2011-05-24T18:52:05 IE9 defaults to "Quirks mode" on aichallengebeta.hypertriangle.com, so it disables the canvas. This is really bad. And also some of the CSS looks wrong in Quirks mode. 2011-05-24T18:52:05 that was useful since i don't have a gcc ubuntu box laying about 2011-05-24T18:52:11 I don't know what happened last year. I only wrote perfect code. 2011-05-24T18:52:18 hmm no activation maiil 2011-05-24T18:52:30 bhasker: thats ok 2011-05-24T18:52:32 bhasker: you have to click the link at the bottom of the page 2011-05-24T18:52:46 bhasker: i missed it first time too, had to be demerzel2 2011-05-24T18:52:55 *** Apophis_ has quit IRC (Ping timeout: 246 seconds) 2011-05-24T18:52:56 ouch lol 2011-05-24T18:53:02 i missed it toosigh 2011-05-24T18:54:10 bhasker: did it accept it? 2011-05-24T18:54:18 yea worked now 2011-05-24T18:54:20 let me upload 2011-05-24T18:54:27 bhasker: ? 2011-05-24T18:54:36 as in the login worked 2011-05-24T18:54:38 now to upload my bot 2011-05-24T18:54:40 oh, ok 2011-05-24T18:54:49 yeah, don't miss that activation link 2011-05-24T18:55:59 its a zip file to upload right 2011-05-24T18:56:01 i forget 2011-05-24T18:56:16 bhasker: yes, make sure there's no folder inside it 2011-05-24T18:56:23 k done 2011-05-24T18:56:26 just the files directly in the zip 2011-05-24T18:56:30 uploaded now 2011-05-24T18:56:43 Submission Time Status Language 2011-05-24T18:56:44 May 25th 02:56:25 ready to be compiled Unknown 2011-05-24T18:56:44 hmm 2011-05-24T18:56:52 McLeopold: 2011-05-25 02:56:44,313 - 3999 - ERROR - Unpack Error 2011-05-24T18:56:54 problem with submission file 2011-05-24T18:57:17 does the .cc extension not work? 2011-05-24T18:57:23 does it have to be .cpp? 2011-05-24T18:57:25 i'm just going to checkout 1ad3c35b8c9331d059fb662ac546fa10fcbc5222 2011-05-24T18:57:29 bhasker: some stuff is broken 2011-05-24T18:57:35 bhasker: like that.. it's our end 2011-05-24T18:57:39 amstan: I will add "" to header.php if you don't mind. It disables quirks mode in browsers. 2011-05-24T18:57:48 Frontier: np 2011-05-24T18:58:08 oh.. nvm, mcleopold is editing stuff 2011-05-24T18:58:09 if youre gonna do that put the full tag 2011-05-24T18:58:33 so should i just rename the files to .cpp? 2011-05-24T18:58:36 and will it work? 2011-05-24T18:58:43 bhasker: it should work right now 2011-05-24T18:58:45 oh k 2011-05-24T18:58:46 maybe 2011-05-24T18:58:46 bhasker: our code is broken 2011-05-24T18:58:54 upload again? 2011-05-24T18:59:01 bhasker: when mcleopold says so 2011-05-24T18:59:13 k 2011-05-24T18:59:18 contestbot: seen ahmedhelal 2011-05-24T18:59:18 amstan: ahmedhelal was last seen in #aichallenge 3 days, 19 hours, 57 minutes, and 4 seconds ago: amstan: can i use google's logo in my design ? or should i write google plainly ? 2011-05-24T19:00:32 its funny seeing so many of hte same names from last year 2011-05-24T19:02:24 amstan: look&feel of ants web site on IE9: http://imageshack.us/f/837/ie9yn.jpg/ 2011-05-24T19:02:46 Frontier: yes, would you be able to play with it? 2011-05-24T19:02:50 amstan: hey 2011-05-24T19:03:01 Frontier: i don't have ie9 accessible 2011-05-24T19:03:22 ahmedhelal: hey, i was wondering if you have some mockups for us 2011-05-24T19:04:03 amstan: not yet, i still have 4 days till our deadline :) , ill try to finish something faster anyway 2011-05-24T19:04:14 amstan: this is weird, an error about a MyBot.py file in a c bot upload? 2011-05-24T19:04:16 ahmedhelal: by 1 week i meant with implementation 2011-05-24T19:04:51 amstan: I know very little about CSS. 2011-05-24T19:04:53 McLeopold: weird 2011-05-24T19:04:57 Frontier: aww 2011-05-24T19:05:28 and it is not like i see any warnings in ie9 either 2011-05-24T19:05:34 amstan: hmm, ok will try to finish something soon 2011-05-24T19:06:01 Frontier: the background is ok, right? the gradient looks the same 2011-05-24T19:06:09 Frontier: what about the footer? 2011-05-24T19:07:35 ahmedhelal: are you using IE9 exclusively? have you seen ants in anything else? 2011-05-24T19:07:47 computerwiz_222: you mean Frontier 2011-05-24T19:07:53 oh, my bad 2011-05-24T19:08:00 ahmedhelal: ignore that 2011-05-24T19:08:54 amstan: looks like the issues in ie9 are the triangle indentation and the header/footer bg's -- everything else looks mostly okay 2011-05-24T19:08:55 OH! 2011-05-24T19:09:04 amstan: but how did ie end up blue?? 2011-05-24T19:11:42 amstan: the footer is like the header, blue but ok 2011-05-24T19:11:51 *** mcstar has quit IRC (Quit: WeeChat 0.3.5) 2011-05-24T19:12:06 aichallenge: McLeopold epsilon * r2cc2f70 / worker/worker.py : fix issue with unpacking bots - http://bit.ly/llxRPz 2011-05-24T19:12:39 *** FireFly has quit IRC (Quit: swatted to death) 2011-05-24T19:12:59 McLeopold: who's running the worker? 2011-05-24T19:14:06 me 2011-05-24T19:14:08 ghosts 2011-05-24T19:14:27 * McLeopold fades away and disappears... 2011-05-24T19:14:42 It looks more like the triangle ROTATION isn't working. There is some line about a DirectX filter and a rotation of 5. I have no idea what that is supposed to do, lol 2011-05-24T19:14:51 McLeopold: aww, stay 2011-05-24T19:14:58 uploads work now 2011-05-24T19:15:05 can we get email turned on? 2011-05-24T19:15:07 bhasker: ping 2011-05-24T19:15:13 yup 2011-05-24T19:15:14 McLeopold: maybe, idk, probably 2011-05-24T19:15:21 zug zug 2011-05-24T19:15:24 McLeopold: i never had mail working properly from servers that i admined 2011-05-24T19:15:34 Frontier: are you rotating it in increments of 90 degrees? 2011-05-24T19:15:40 they all involved bell filtering port 25 2011-05-24T19:15:48 demerzel: do you have an email relay? 2011-05-24T19:15:49 *** needsch has quit IRC (Quit: Leaving.) 2011-05-24T19:15:49 Frontier: always had to have rotation in everything but ie and use the filter one for ie 2011-05-24T19:16:02 McLeopold: no 2011-05-24T19:16:31 McLeopold: my job outsources it and that server is new to me 2011-05-24T19:16:35 sorry 2011-05-24T19:16:46 amstan: what did you use last time? 2011-05-24T19:17:06 amstan: You can fix the gradient, by changing the value of "startColorstr" from #090 to #009900 and do the same expansion for endColorstr 2011-05-24T19:18:31 (in css/layout.css) 2011-05-24T19:19:16 I don't feel like fiddling with ssh on Windows right now, to commit the change myself :o) 2011-05-24T19:20:15 amstan: where is ai-contest.com hosted, did jeff use their email relay? 2011-05-24T19:21:52 Frontier: SmartGit 2011-05-24T19:22:13 i use it for work it makes git less painful, wraps putty ssh 2011-05-24T19:24:48 dmerzel: I may give it a try. I have Git GUI installed. 2011-05-24T19:25:59 amstan: I don't know how to fix the triangle really. The applied DX filter doesn't seem to affect what's on screen. 2011-05-24T19:27:45 shitty thing about those filters is sometimes they trip security 2011-05-24T19:27:53 depends on the ie version 2011-05-24T19:28:04 as to whether its shown or whether you get a confirmation or nothing at all 2011-05-24T19:30:55 i'll reboot to linux 2011-05-24T19:31:00 *** Frontier has quit IRC (Read error: Connection reset by peer) 2011-05-24T19:38:40 * amstan is back 2011-05-24T19:39:37 McLeopold: we used gmail last time i think 2011-05-24T19:39:49 McLeopold: try just sending email from the server directly, it might work 2011-05-24T19:40:47 amstan: generate matchup is stuck again :( 2011-05-24T19:40:58 ... 2011-05-24T19:41:00 lol 2011-05-24T19:42:14 *** Eruonen has quit IRC () 2011-05-24T19:46:03 amstan: now it works, didn't change anything 2011-05-24T19:46:14 good to know, lol 2011-05-24T19:49:24 mcleopold are uploads working correctly 2011-05-24T19:49:48 bhasker: you can usually answer that question by uploading a starter pack 2011-05-24T19:50:08 hmm good idea let me try that 2011-05-24T19:50:18 should have thought of that 2011-05-24T19:51:05 <_flag> Why do the rankings list multiple of the same amstans? 2011-05-24T19:51:34 i think rankings are done with submissions for this version 2011-05-24T19:51:41 it's temp until we're satisfied that it works 2011-05-24T19:52:38 <_flag> Also the rankings seem to be ranking backwards. The better players are near the bottom 2011-05-24T19:59:04 yeah, they are backwards 2011-05-24T20:04:00 *** Kingpin13 has quit IRC (Quit: quit) 2011-05-24T20:07:43 hmm weird starter bot upload works 2011-05-24T20:07:48 but when i upload mine it flunks 2011-05-24T20:07:54 even though mine is based on the starter bot 2011-05-24T20:08:07 can anyone look at the actual error and tell me why its flunking 2011-05-24T20:08:38 *** Frontier has joined #aichallenge 2011-05-24T20:08:44 bhasker: what language? 2011-05-24T20:08:54 c++ 2011-05-24T20:09:18 2011-05-25 04:06:49,225 - 10129 - ERROR - {'errors': ["./maptest.o: In function `main':\nmaptest.cpp:(.text+0x0): multiple definition of `main'\n./logger_test.o:logger_test.cc:(.text+0x0): first defined here\n./MyBot.o: In function `main':\nMyBot.cc:(.text+0x0): multiple definition of `main'\n./logger_test.o:logger_test.cc:(.text+0x0): first defined here\ncollect2: ld returned 1 exit status\n", "Command 'g++ -O2 -lm -o MyBot ./logger_ 2011-05-24T20:09:20 test.o ./maptest.o ./Bot.o ./State.o ./fieldgenerator.o ./Logger.o ./MyBot.o' had error return code 1"] 2011-05-24T20:09:21 maybe that? 2011-05-24T20:09:22 it keeps saying error while compiling submission " language unknown 2011-05-24T20:09:29 oh.. 2011-05-24T20:09:29 weird 2011-05-24T20:09:35 did you put it in a folder? 2011-05-24T20:09:40 hmm nope 2011-05-24T20:09:47 let me see why maptest is flunking 2011-05-24T20:09:50 is that yours though? 2011-05-24T20:10:12 actually why is it compiling maptest 2011-05-24T20:10:17 weird its not even part of my make file 2011-05-24T20:10:35 does it just build all .cc 2011-05-24T20:10:37 and link them? 2011-05-24T20:10:42 and ignore the makefile? 2011-05-24T20:10:51 <_flag> I'm pretty sure makefiles were ignored in the last one 2011-05-24T20:10:53 yes 2011-05-24T20:10:55 doh 2011-05-24T20:10:57 no wonder 2011-05-24T20:11:02 let me remove that file 2011-05-24T20:11:41 does the front page always show the most recent game or just some arbitrary one that somebody set? 2011-05-24T20:11:47 or something else 2011-05-24T20:12:59 hmm weird still flunks 2011-05-24T20:13:18 *** ltriant has quit IRC (Read error: No route to host) 2011-05-24T20:13:28 anyway we can show the actual error on the page itself 2011-05-24T20:14:38 ah crap 2011-05-24T20:14:42 i have another test program 2011-05-24T20:14:44 which has a main 2011-05-24T20:15:49 ah worked 2011-05-24T20:16:37 now to see when it gets to play a game 2011-05-24T20:16:45 where is the beta site running the games? locally? 2011-05-24T20:17:01 *** ltriant has joined #aichallenge 2011-05-24T20:17:21 bhasker: yes, there's a worker on the same comp 2011-05-24T20:17:34 hmm i will probably timeout for all you know 2011-05-24T20:20:29 why are failed submissions also showing up on the ranking? 2011-05-24T20:20:42 like there are 6 submissions of mine which show up as "unknown" 2011-05-24T20:21:38 bhasker: they're all showing 2011-05-24T20:22:53 yea but shouldn't that be like disabled 2011-05-24T20:23:10 yes 2011-05-24T20:27:15 amstan: the good news is the games are having their mu/sigma updated 2011-05-24T20:27:27 amstan: the bad news is it is backwards 2011-05-24T20:27:52 amstan: the furthur bad news is that somehow the matchmaking sql gets stuck 2011-05-24T20:28:12 the stickyness survived a restart of both apache and mysql, so it is probably data related 2011-05-24T20:29:01 after inserting a row into matchup and matchup_player, it works, so it may only get stuck for specific user/submission id's at this point 2011-05-24T20:30:09 http://aichallengebeta.hypertriangle.com/visualizer.php?game=89 did my bot time out? 2011-05-24T20:30:26 hmm nm 2011-05-24T20:32:27 bhasker: http://aichallengebeta.hypertriangle.com/game/89 according to this, there were no timeout statuses 2011-05-24T20:32:54 I pitty the browser developer who had to implement rotated scrollbars ^^: http://www.useragentman.com/tests/cssSandpaper/example.html 2011-05-24T20:32:54 *** McLeopold has quit IRC (Read error: Connection reset by peer) 2011-05-24T20:33:10 yea weird somehow my bot just got stuck 2011-05-24T20:33:15 and didn't do shit 2011-05-24T20:33:17 after a point 2011-05-24T20:34:46 http://aichallengebeta.hypertriangle.com/visualizer.php?game=91 2011-05-24T20:34:47 much better 2011-05-24T20:52:36 Frontier: some of the colours are hard to see 2011-05-24T20:52:45 purple on brown is not a good idea 2011-05-24T20:54:11 ok, I only noticed that when I started implementing the gfx mode. I'll use one of the other 20 colors in that slot. 2011-05-24T20:56:51 ,bhasker: nice work for a random test prog lol 2011-05-24T20:57:11 not a random test per se:) 2011-05-24T20:58:17 thats as good or better than my 1 day of concerted effort haha 2011-05-24T20:58:49 oh not a random test well thought it was ;) 2011-05-24T21:03:02 *** bhasker has quit IRC (Ping timeout: 276 seconds) 2011-05-24T21:07:17 *** Accoun has quit IRC () 2011-05-24T21:08:56 *** Frontier has quit IRC (Quit: Leaving.) 2011-05-24T21:11:10 *** Frontier has joined #aichallenge 2011-05-24T21:40:11 *** smiley1983 has quit IRC (Ping timeout: 240 seconds) 2011-05-24T21:42:13 *** smiley1983 has joined #aichallenge 2011-05-24T21:45:10 *** Accoun has joined #aichallenge 2011-05-24T21:54:00 *** javagamer has quit IRC (Quit: WeeChat 0.3.4) 2011-05-24T21:54:12 *** javagamer has joined #aichallenge 2011-05-24T21:57:30 *** javagamer has quit IRC (Client Quit) 2011-05-24T21:58:05 *** smiley1983 has quit IRC (Ping timeout: 276 seconds) 2011-05-24T21:58:44 *** smiley1983 has joined #aichallenge 2011-05-24T21:58:46 *** javagamer has joined #aichallenge 2011-05-24T21:58:50 otr 2011-05-24T21:58:54 woops, mistype 2011-05-24T22:00:35 *** javagamer has quit IRC (Client Quit) 2011-05-24T22:00:58 *** javagamer has joined #aichallenge 2011-05-24T22:10:59 *** smiley1983 has quit IRC (Ping timeout: 240 seconds) 2011-05-24T22:12:22 *** smiley1983 has joined #aichallenge 2011-05-24T22:14:57 *** Frontier has quit IRC (Read error: Connection reset by peer) 2011-05-24T22:17:03 *** Frontier has joined #aichallenge 2011-05-24T22:21:58 aichallenge: Marco Leise epsilon * rcd5bcf2 / (website/css/layout.css website/header.php): website: corrected IE9 display - http://bit.ly/kFiqny 2011-05-24T22:22:50 amstan: I hope the triangle still displays correctly in firefox, chrome and safari :-) 2011-05-24T22:24:05 Frontier: it's ok 2011-05-24T22:24:11 Frontier: but what's with the translate(1.24264068711em? 2011-05-24T22:24:24 that is an ugly hack, don't you see that? 2011-05-24T22:24:43 I can explain it if you want? 2011-05-24T22:25:02 yes, but why are you changing the one for the other browsers as well? 2011-05-24T22:25:23 *** smiley1983 has quit IRC (Ping timeout: 276 seconds) 2011-05-24T22:25:43 *** smiley1983 has joined #aichallenge 2011-05-24T22:25:49 ideally you should have a thing only for ie that does this 2011-05-24T22:26:11 Frontier: hmm, see line 118? 2011-05-24T22:26:14 ok Internet Explorer's matrix transform just enlarges the green box to the right and the bottom. there is no way to rotate it around the center, like in other browsers or move it back in position 2011-05-24T22:26:19 Frontier: it says rotation 5 2011-05-24T22:26:24 shouldn't it be 45? 2011-05-24T22:26:28 no 2011-05-24T22:26:36 the part where you deleted it 2011-05-24T22:26:39 118 deleted 2011-05-24T22:26:50 filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=***5***); /*for IE*/ 2011-05-24T22:27:05 so what I did is move the box to a position where it will be correct after IE's awkward rotation filter. 2011-05-24T22:28:17 in the other browsers I just mimic that behaviour by rotating and then moving the box by sin(45°) * 3em - something i forgot 2011-05-24T22:28:28 ok, cool 2011-05-24T22:28:37 does it show all good now in ie? 2011-05-24T22:29:41 yes, though it rotates a bitmap of the box there and you see 1. a black line on the border from top to right and 2. no antialiasing 2011-05-24T22:29:59 but it is really hardly visible, so thumbs up 2011-05-24T22:30:48 :( http://browsershots.org/screenshots/8ffa8336267795ac7784e290ca1c3fb0 2011-05-24T22:30:57 BasicImage rotation just didn't work at all. maybe it can only rotate by 90° increments or works on pictures only... no idea 2011-05-24T22:31:00 what's the point of having browsershots if it scrolls to the middle of the page? 2011-05-24T22:31:55 http://browsershots.org/screenshots/c595e7f456a216280486b2455a51c259 2011-05-24T22:31:57 oh man.. 2011-05-24T22:31:58 THAT version of Opera is ancient, it doesn't implement the JSON parser yet. Also for security reasons this person should update asap :p 2011-05-24T22:32:01 msie6! 2011-05-24T22:32:12 it works good too 2011-05-24T22:32:13 lol 2011-05-24T22:32:19 wait, nvm, that's 8 2011-05-24T22:32:35 this is 7: http://browsershots.org/screenshots/7309caf558e2da73b86d8cba21da859e 2011-05-24T22:34:13 I cannot install IE 7 to fix that. And where is the person who created the css anyway? 2011-05-24T22:34:57 Then again, look at how many ppl still use IE 7. <1% I assume. And they have other options. 2011-05-24T22:37:07 Frontier: that would be me, lol 2011-05-24T22:37:40 usually i throw something like http://code.google.com/p/ie7-js/ at it 2011-05-24T22:37:42 it does wonders 2011-05-24T22:37:57 haha, then go install WinXP in a VM and test yourself. I know it is tideous :p 2011-05-24T22:38:00 makes ie6 behave like a proper browser 2011-05-24T22:38:09 same for ie7 and 8 2011-05-24T22:38:59 i used it on http://www.sandhillconsultants.com/ 2011-05-24T22:39:02 but don't tell anyone 2011-05-24T22:41:48 You could give it a try if it is able to fix some of the css formating. Though I don't know how good it is at the matrix computation I did there. It will have its limitations. 2011-05-24T22:42:20 *** computerwiz_222 has quit IRC (Remote host closed the connection) 2011-05-24T22:43:22 i doubt it could do that rotate thing 2011-05-24T22:43:28 w3c shows ~7.5% for IE6+IE7. That is different on ai-contest.com, but still they die hard. Probably some older school PCs. 2011-05-24T22:43:31 that's more like a css3 thing, 2011-05-24T22:44:40 apparently someone uses IE 999.1 2011-05-24T22:44:44 must be advanced shit! 2011-05-24T22:45:10 lololol 2011-05-24T22:45:26 so.. IE is 6.53% of visitors 2011-05-24T22:45:47 and IE7 is 13.22% of that, IE6 is 4.69% 2011-05-24T22:45:59 hmm actually I have IE6 installed on wine... but no, I wont bother. Next thing I fix is the php, then the engine. no, I stick with my visualizer 2011-05-24T22:46:27 well.. i should check some of the issues 2011-05-24T22:46:36 i think we fixed a few 2011-05-24T22:46:50 1,17% then :) 2011-05-24T22:47:33 must be the relatives of the programmers 2011-05-24T22:49:03 ie9.js should fix them 2011-05-24T22:49:39 Frontier: here's one if you want: https://github.com/aichallenge/aichallenge/issues/120 2011-05-24T22:50:32 contestbot: seen janzert 2011-05-24T22:50:32 amstan: janzert was last seen in #aichallenge 3 days, 14 hours, 40 minutes, and 59 seconds ago: contestbot: later tell amstan also I'm working out of town until Thursday so so probably won't be coding anything until after that 2011-05-24T22:50:44 that explains it then 2011-05-24T22:50:55 contestbot; y u no tell me? 2011-05-24T22:50:56 amstan: You have no gotten any error messages recently, so here's a random one just to let you know that we care. 2011-05-24T22:51:40 *** smiley1983 has quit IRC (Ping timeout: 250 seconds) 2011-05-24T22:52:24 *** smiley1983 has joined #aichallenge 2011-05-24T22:55:31 contestbot, you develop a conciousness 2011-05-24T22:55:32 Frontier: No! 2011-05-24T22:55:37 oh yes! 2011-05-24T22:55:40 lol 2011-05-24T22:56:32 well, after 33MB of logs, it has the right 2011-05-24T22:57:35 it should have a web interface so you can put text in irc on behalf of 'contestbot'. That would make for some nice "wft"s 2011-05-24T23:00:26 *** delt0r___ has joined #aichallenge 2011-05-24T23:00:46 about that issue: I cannot write Python, so it is assigned to the right person. 2011-05-24T23:02:14 *** delt0r_ has quit IRC (Ping timeout: 260 seconds) 2011-05-24T23:02:20 ok 2011-05-24T23:02:38 *** smiley1983 has quit IRC (Ping timeout: 240 seconds) 2011-05-24T23:03:56 *** smiley1983 has joined #aichallenge 2011-05-24T23:09:14 *** Destoryer has quit IRC (Ping timeout: 252 seconds) 2011-05-24T23:15:39 *** smiley1983 has quit IRC (Ping timeout: 248 seconds) 2011-05-24T23:16:21 *** smiley1983 has joined #aichallenge 2011-05-24T23:51:44 *** qacek has joined #aichallenge