2012-08-07T00:52:27 *** scribble has joined #aichallenge 2012-08-07T00:53:38 *** scribble has left #aichallenge 2012-08-07T01:12:52 *** mceier has quit IRC (Quit: leaving) 2012-08-07T01:49:22 *** Chris_0076 has joined #aichallenge 2012-08-07T02:01:14 *** kilae has joined #aichallenge 2012-08-07T02:30:19 *** mceier has joined #aichallenge 2012-08-07T02:56:52 *** amstan has quit IRC (Quit: Konversation terminated!) 2012-08-07T02:57:16 *** epicmonkey has joined #aichallenge 2012-08-07T03:12:06 *** coeus has quit IRC (Ping timeout: 244 seconds) 2012-08-07T03:22:31 *** epicmonkey has quit IRC (Ping timeout: 246 seconds) 2012-08-07T03:44:04 *** jbroman has quit IRC (*.net *.split) 2012-08-07T03:44:05 *** loglog has quit IRC (*.net *.split) 2012-08-07T04:12:14 *** jbroman has joined #aichallenge 2012-08-07T04:12:14 *** loglog has joined #aichallenge 2012-08-07T04:14:03 *** just4dos has quit IRC (Ping timeout: 240 seconds) 2012-08-07T04:27:59 *** epicmonkey has joined #aichallenge 2012-08-07T04:30:42 *** antimatroid has quit IRC (Ping timeout: 265 seconds) 2012-08-07T04:58:10 *** antimatroid has joined #aichallenge 2012-08-07T05:29:03 *** pairofdice has joined #aichallenge 2012-08-07T05:32:24 *** antimatroid has quit IRC (Ping timeout: 252 seconds) 2012-08-07T05:50:52 *** alehorst has quit IRC (Read error: Connection reset by peer) 2012-08-07T05:52:45 *** alehorst has joined #aichallenge 2012-08-07T06:10:01 *** antimatroid has joined #aichallenge 2012-08-07T06:36:49 *** mleise has quit IRC (Ping timeout: 252 seconds) 2012-08-07T06:41:26 *** Scooper has joined #aichallenge 2012-08-07T07:10:43 *** antimatroid has quit IRC (Ping timeout: 255 seconds) 2012-08-07T07:13:41 *** antimatroid has joined #aichallenge 2012-08-07T07:33:01 *** epicmonkey has quit IRC (Remote host closed the connection) 2012-08-07T07:33:35 *** epicmonkey has joined #aichallenge 2012-08-07T08:50:42 *** alehorst has quit IRC (Read error: Connection reset by peer) 2012-08-07T08:52:41 *** alehorst has joined #aichallenge 2012-08-07T09:03:36 *** jmcarthur has quit IRC (Ping timeout: 248 seconds) 2012-08-07T09:05:51 *** jmcarthur has joined #aichallenge 2012-08-07T09:29:13 *** jmcarthur has quit IRC (Ping timeout: 245 seconds) 2012-08-07T09:29:27 *** pyro-_ has joined #aichallenge 2012-08-07T09:35:16 *** jmcarthur has joined #aichallenge 2012-08-07T09:52:43 *** nsh has quit IRC (Quit: meh) 2012-08-07T10:14:41 *** nsh has joined #aichallenge 2012-08-07T10:14:41 *** nsh has joined #aichallenge 2012-08-07T10:20:37 *** nsh has quit IRC (Remote host closed the connection) 2012-08-07T10:28:29 *** mceier has quit IRC (Quit: leaving) 2012-08-07T11:09:19 *** mleise has joined #aichallenge 2012-08-07T11:59:49 *** mceier has joined #aichallenge 2012-08-07T12:28:06 *** nsh has joined #aichallenge 2012-08-07T13:16:07 *** epicmonkey has quit IRC (Ping timeout: 246 seconds) 2012-08-07T13:45:25 *** justin_pdx has joined #aichallenge 2012-08-07T13:53:00 *** justin_pdx has quit IRC (Quit: justin_pdx) 2012-08-07T14:04:44 I like this, but I don't know why it is working: http://dpaste.dzfl.pl/521f47a0 2012-08-07T14:21:31 *** epicmonkey has joined #aichallenge 2012-08-07T14:40:13 *** alehorst has quit IRC (Read error: Connection reset by peer) 2012-08-07T14:42:15 *** alehorst has joined #aichallenge 2012-08-07T14:57:15 *** mcstar has joined #aichallenge 2012-08-07T14:57:42 mleise: whats the question? 2012-08-07T14:58:00 what question? 2012-08-07T14:58:22 "I like this, but I don't know why it is working: http://dpaste.dzfl.pl/521f47a0" 2012-08-07T14:58:23 you didn't see the link I posted, did you? 2012-08-07T14:58:29 you were offline! 2012-08-07T14:58:39 i sometimes read the log before i join 2012-08-07T15:00:06 well, the "static if (__traits(compiles, __traits(parent, n)))" part works, but I don't know what it does 2012-08-07T15:01:27 whats the difference between line 20 and 26? 2012-08-07T15:01:51 ah ok 2012-08-07T15:01:58 i get it 2012-08-07T15:02:02 Parent should return the parent 'symbol' of n. And I don't know why that works exactly only when n is not a compile-time value, lol 2012-08-07T15:02:04 answer is a const global 2012-08-07T15:02:12 so it CAN ecaluate the answer at compile time 2012-08-07T15:02:25 first i thought the different calling convention causes it 2012-08-07T15:02:41 yes. this was a test for a news group question. someone wanted compile time evaluation with the same syntax as run-time evaluation 2012-08-07T15:03:03 You are partially right about calling conventions. 2012-08-07T15:03:37 Usually you write "enum x = foo()" to force the compiler to make variable x a compile-time manifest constant. 2012-08-07T15:04:30 and now with this hack, depending on the arguments alone the compiler switches between ctfe and rte 2012-08-07T15:05:11 that seems minor, but could be handy for such numerical functions 2012-08-07T15:05:23 first of all, its ugly 2012-08-07T15:05:34 nooooo 2012-08-07T15:05:37 yes 2012-08-07T15:05:54 ok, a bit. but it is *special* 2012-08-07T15:06:38 how so? 2012-08-07T15:06:39 *** Accoun has quit IRC () 2012-08-07T15:06:46 do that in Haskell :p 2012-08-07T15:07:05 you say that if it was any harder... 2012-08-07T15:07:13 Oo not? 2012-08-07T15:07:19 maybe you havent heard of template haskell 2012-08-07T15:07:51 no 2012-08-07T15:08:03 the real problem is: 2012-08-07T15:08:13 i just heard of it 2012-08-07T15:08:16 thats all 2012-08-07T15:08:43 hehe, alright. but I doubt that you switch a parameter for another and it will evaluate everything at compile time. 2012-08-07T15:09:10 or maybe actually these functional languages can do that, since fibonacci is actually a typical pure function 2012-08-07T15:09:22 so the result can be given if the input is constant 2012-08-07T15:09:34 i dont know, i would conjecture that it is possible, but cant say for certain 2012-08-07T15:10:05 if (__traits(compiles, __traits(parent, n))) 2012-08-07T15:10:14 mleise: what is not clear about this line? 2012-08-07T15:10:34 it makes sense for me(maybe i dont understand it thats why) 2012-08-07T15:11:01 mcstar: this is ugly: http://unlines.wordpress.com/2009/11/05/tricking-ghc-into-evaluating-recursive-functions-at-compile-time/ 2012-08-07T15:11:24 what is the parent of 'n' I'm asking 2012-08-07T15:12:31 I can see that a literal like 123 doesn't have a parent and is evaluated in the else branch and I can see that a normal variable has some sort of sourrounding scope and if it is just the module 2012-08-07T15:12:34 whatever the parent of n is, the 'compiles' property is false for it 2012-08-07T15:12:45 but why is a const variable without parent? 2012-08-07T15:12:50 if its a run time vluse, it makes sense that it cant be used at compile time 2012-08-07T15:13:34 no, i dont think that it has no parent 2012-08-07T15:13:50 i think 'parent' is like a compile-time-kind-type 2012-08-07T15:13:55 :) 2012-08-07T15:14:09 no, parent doesn't compile if something is without parent 2012-08-07T15:14:23 that's why I used 'compiles' around it 2012-08-07T15:14:37 it says ERROR: 123 doesn't have a parent 2012-08-07T15:14:42 ok 2012-08-07T15:14:46 i was guessing 2012-08-07T15:14:57 * mcstar is wrong, he is out of the game 2012-08-07T15:15:06 * mcstar takes no money home 2012-08-07T15:15:19 mleise: what you linked, is actually a powerful feature of ghc 2012-08-07T15:15:31 but it is not template or meta-programming 2012-08-07T15:15:41 now if I look at 'b' and 'n' defined in main() I don't see why only one of them has a parent 2012-08-07T15:16:14 that rule-based simplification feature is for you to write good looking code, while with the right rules programmed in, you still dont do more work then necesar 2012-08-07T15:16:19 necessary 2012-08-07T15:16:54 mleise: why 'b'? 2012-08-07T15:16:57 b has nothing to do with it 2012-08-07T15:17:02 2ul*answer 2012-08-07T15:17:29 oh shit, maybe i made mistake 2012-08-07T15:19:12 alright *phew* I updated the code 2012-08-07T15:19:21 I mean 'k' now :p 2012-08-07T15:20:50 it's a regular proper variable sitting there, like 'n'. I think I'm abusing a compiler bug there 2012-08-07T15:20:54 mleise: btw, john carter sucks 2012-08-07T15:21:04 its a shitty steampunk 2012-08-07T15:21:33 did you see it? 2012-08-07T15:21:43 no, but I says 'Disney' 2012-08-07T15:21:53 you told me about it 2012-08-07T15:21:59 do y ou remember?\ 2012-08-07T15:22:25 I didn't tell you about *that* movie 2012-08-07T15:22:36 you mentioned it 2012-08-07T15:22:41 that it is coming out 2012-08-07T15:22:51 it was quite some time ago 2012-08-07T15:23:22 so, i read the imdb short plot: guy transplants to mars blahblahblah 2012-08-07T15:23:38 i thought, ok, i give it a watch 2012-08-07T15:23:47 since i was already disappointed with Prometheus 2012-08-07T15:24:20 Maybe another one: http://www.imdb.com/title/tt0199753/ 2012-08-07T15:24:47 real story is: a soldier from some 18th war teleports to mars, where are some kind of aliens and human dinasties 2012-08-07T15:24:51 sort of like dune 2012-08-07T15:25:05 anyway, the setting is quite like a steampunk, and i hate that 2012-08-07T15:25:31 i know red planet 2012-08-07T15:25:37 i have no strong feelings about steampunk. i find it odd at times, but ok 2012-08-07T15:25:48 tom seizemore plays a physicist 2012-08-07T15:25:57 but he tells the most idiotic things 2012-08-07T15:26:54 hehe, yeah what could you expect. but that's the authors fault 2012-08-07T15:28:14 i liked that movie. it had some good parts, like Carrie-Ann Moss, the landing pod, the abyss, the suffocation and the mystery about what happened to the terraforming 2012-08-07T15:28:38 ok, it wasnt completely bad 2012-08-07T15:28:39 oh and the 1mm foldable computer display 2012-08-07T15:28:46 i didnt delete it 2012-08-07T15:28:50 hehe 2012-08-07T15:28:56 oh, the widescreen scroll? 2012-08-07T15:29:00 I deleted Nirvana 2012-08-07T15:29:01 thats nice 2012-08-07T15:29:05 oh, nirvana 2012-08-07T15:29:10 christopher lambert? 2012-08-07T15:29:14 yes 2012-08-07T15:29:24 thats based on neuromancer 2012-08-07T15:29:27 great movie 2012-08-07T15:29:31 It was alright the first time, but the second time I couldn't stand it 2012-08-07T15:30:14 do you like the alien movies? 2012-08-07T15:30:21 although the starting scene in nirvana was nice, where the italian guy gains a conciousness and tries to make sense of his sourroundings 2012-08-07T15:30:41 and talks like a maniac to the protitute 2012-08-07T15:30:56 Yes, Alien was great. 2012-08-07T15:31:33 so, you want to see Prometheus then 2012-08-07T15:31:48 I just recently played the Gameboy Color game on an emulator :p 2012-08-07T15:32:08 good thing is you can save often there 2012-08-07T15:32:27 yeah ok, im trying to say something here 2012-08-07T15:32:30 Prometheus 2012-08-07T15:32:39 got it? 2012-08-07T15:32:51 i want to tell your subconscious that you want to watch it 2012-08-07T15:35:54 ok, so I watched their trailer 2012-08-07T15:36:07 and some dude is asking "why is this door open?" 2012-08-07T15:36:21 i hope the plot is better than that 2012-08-07T15:36:55 but actually they showed to much of the movie. now I know there is some alien glue that transforms into a ship with little grey men 2012-08-07T15:37:08 http://sprunge.us/eLbc 2012-08-07T15:37:20 and they want to attack the earth for some reason and I expect the humans to win 2012-08-07T15:38:30 i have no idea when will i have time to watch my movies again 2012-08-07T15:38:47 what the heck is Rosencrantz and Guildenstern are Dead 2012-08-07T15:38:55 this is what happens usually: i decide that im going to watch some movie 2012-08-07T15:38:59 i try to find one 2012-08-07T15:39:03 i cant find one 2012-08-07T15:39:08 and then i watch Matrix 2012-08-07T15:39:36 tim roth and some other guy's philosphical drama 2012-08-07T15:39:50 not bad, its funny 2012-08-07T15:39:50 hehe, have you seen The Matador ? 2012-08-07T15:39:54 no 2012-08-07T15:40:11 ah 2012-08-07T15:40:13 im idiot 2012-08-07T15:40:14 ok, now you have a movie you can watch besides matrix 2012-08-07T15:40:20 thats gary oldman 2012-08-07T15:40:31 'the other guy' 2012-08-07T15:40:51 mleise: what do you mean? 2012-08-07T15:40:57 is this Matador any good? 2012-08-07T15:41:33 yes, sure. it's a a bit funny, a bit sad, a bit shocking 2012-08-07T15:41:51 so you can watch it in any mood 2012-08-07T15:42:19 just don't read what it is about 2012-08-07T15:42:22 *** Accoun has joined #aichallenge 2012-08-07T15:42:24 i did 2012-08-07T15:42:30 or at least I learnt not to do that 2012-08-07T15:42:43 yeah, thats a great idea 2012-08-07T15:42:46 It's always like I have seen the movie before and know whats happening 2012-08-07T15:42:50 but then, how do you decide what to watch?? 2012-08-07T15:42:52 *** alehorst has quit IRC (Ping timeout: 244 seconds) 2012-08-07T15:43:05 other people telling me "watch this"? 2012-08-07T15:43:15 they do? 2012-08-07T15:43:23 well, i dont listen to other people 2012-08-07T15:43:31 yes, but sometimes their choices wouldn't be mine 2012-08-07T15:44:06 anyway, this matador is probably not on the same level as matrix 2012-08-07T15:44:14 seen Memento? 2012-08-07T15:44:19 they are not really interchangable 2012-08-07T15:44:27 the matrix is the BEST movie 2012-08-07T15:44:39 yes, the matrix is aweseome now get over it 2012-08-07T15:44:45 i cant 2012-08-07T15:44:53 im sorry, really, but i cant get over it 2012-08-07T15:44:55 but star wars was also awesome 2012-08-07T15:45:05 i dont give a flying fuck about star wars :) 2012-08-07T15:45:11 just remember the epic fighting on the ice plane 2012-08-07T15:45:25 and what about lord of the rings? 2012-08-07T15:45:35 all these awesome trilogies 2012-08-07T15:45:41 bleh 2012-08-07T15:45:51 revenge of the sith is good 2012-08-07T15:45:59 i like how anakin transforms 2012-08-07T15:46:02 matrix actually sucks. how are human bodies supposed to produce energy? hello? 2012-08-07T15:46:10 they do 2012-08-07T15:46:22 well, not produce 2012-08-07T15:46:33 oh and tell me how many cows are they fed for that 2012-08-07T15:46:33 energy cannot be produced 2012-08-07T15:46:46 I'm saying the human body is a consumer 2012-08-07T15:47:16 i dont think you watched Animatrix 2012-08-07T15:47:27 great animated prequel to the matrix 2012-08-07T15:47:30 + without being able to see or move, both the eyes would be blind by the time neo is released and he couldn't move, alright? 2012-08-07T15:47:42 lol 2012-08-07T15:47:58 maybe i am blind 2012-08-07T15:48:00 but i dont care 2012-08-07T15:48:11 every time i watch it, theres something i didnt notice before 2012-08-07T15:48:13 fanboy ;) 2012-08-07T15:48:19 and it is full of meaning 2012-08-07T15:48:35 hmm, I watch BSG to that extent 2012-08-07T15:48:47 i probably made up 3-4 times more things than what the wachowski's envisioned 2012-08-07T15:48:51 everytime I watch that I notice something new. some hint the directors put into it 2012-08-07T15:48:59 more meaning * 2012-08-07T15:49:19 i think im seeing things that they didnt think about 2012-08-07T15:49:25 and im started to memorize the script 2012-08-07T15:49:28 -m 2012-08-07T15:49:30 me too 2012-08-07T15:49:42 I'm talking synchroneous to the actors 2012-08-07T15:49:47 :) 2012-08-07T15:49:52 but BSg is a long series 2012-08-07T15:49:55 thats too much 2012-08-07T15:49:56 llike "what the frak?!" 2012-08-07T15:50:06 even the trilogy is long enough 2012-08-07T15:50:12 "screw me!" - "You're not my type." 2012-08-07T15:50:16 *boom* 2012-08-07T15:50:51 i think my second favorite movie is Heat 2012-08-07T15:50:59 but I also begin to see more and more flaws in the progression of the series. some decisons seem arbitrary 2012-08-07T15:51:07 never watched that one 2012-08-07T15:51:15 robert deniro, tom sizemore, val kilmer charlize theron... 2012-08-07T15:51:43 and ofc al pacino 2012-08-07T15:51:47 it is a masterpiece 2012-08-07T15:52:12 thief-cop cat and mouse action 2012-08-07T15:53:18 looks like a lot of quality action :) 2012-08-07T15:53:48 the action is good 2012-08-07T15:53:54 but thats not the reason i like it 2012-08-07T15:54:05 that movie creates a certain atmosphere 2012-08-07T15:54:20 every time i watch it, i canimmerse in that athmosphere 2012-08-07T15:56:05 the actions i like are the die hard series and the lethal weapon ones 2012-08-07T15:57:11 and i like martial arts movies too 2012-08-07T15:58:14 ok, 40 minutes of movie talk + commercials = 1 hr. this episode is over, see you next week 2012-08-07T15:58:31 :) 2012-08-07T15:58:33 bb 2012-08-07T16:31:42 *** alehorst has joined #aichallenge 2012-08-07T16:33:35 *** alehorst has quit IRC (Read error: Connection reset by peer) 2012-08-07T16:34:19 *** alehorst has joined #aichallenge 2012-08-07T16:49:59 *** scribble has joined #aichallenge 2012-08-07T16:51:11 *** pairofdice has quit IRC (Quit: In girum imus nocte et consumimur igni.) 2012-08-07T16:57:09 *** kilae has quit IRC (Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120713134347]) 2012-08-07T17:01:49 *** epicmonkey has quit IRC (Ping timeout: 265 seconds) 2012-08-07T17:34:30 *** mcstar has quit IRC (Quit: mcstar) 2012-08-07T18:04:39 *** mceier has quit IRC (Ping timeout: 276 seconds) 2012-08-07T18:06:09 *** mceier has joined #aichallenge 2012-08-07T18:14:32 *** amstan has joined #aichallenge 2012-08-07T18:14:32 *** ChanServ sets mode: +o amstan 2012-08-07T18:21:53 *** superflit has quit IRC (Ping timeout: 246 seconds) 2012-08-07T18:40:10 *** Scooper has quit IRC (Quit: Leaving) 2012-08-07T18:45:50 *** Challenger has joined #aichallenge 2012-08-07T18:46:08 Hi guys 2012-08-07T18:46:17 any news on the next challenge? 2012-08-07T18:48:19 *** Challenger has quit IRC (Client Quit) 2012-08-07T21:10:55 *** nsh has quit IRC (Read error: Connection reset by peer) 2012-08-07T21:16:41 *** nsh has joined #aichallenge 2012-08-07T21:23:09 *** ivan`` has quit IRC (Quit: ERC Version 5.3 (IRC client for Emacs)) 2012-08-07T21:25:31 *** ivan`` has joined #aichallenge 2012-08-07T22:17:18 *** foRei has joined #aichallenge 2012-08-07T22:41:13 *** mleise has quit IRC (Ping timeout: 268 seconds)