2012-08-17T00:09:45 *** antimatroid has quit IRC (Read error: Connection reset by peer) 2012-08-17T00:09:56 *** antimatroid has joined #aichallenge 2012-08-17T01:10:08 *** mceier has quit IRC (Quit: leaving) 2012-08-17T01:56:10 *** NoxiaZ^ has joined #aichallenge 2012-08-17T02:06:28 *** mceier has joined #aichallenge 2012-08-17T02:20:00 *** mleise has joined #aichallenge 2012-08-17T02:38:08 *** NoxiaZ^ has quit IRC (Ping timeout: 246 seconds) 2012-08-17T03:02:15 *** kilae has joined #aichallenge 2012-08-17T03:16:59 *** antimatroid has quit IRC (Quit: Leaving.) 2012-08-17T03:17:10 *** antimatroid has joined #aichallenge 2012-08-17T04:00:11 *** foRei has joined #aichallenge 2012-08-17T04:01:24 *** epicmonkey has joined #aichallenge 2012-08-17T04:42:36 *** coeus has quit IRC (Quit: Verlassend) 2012-08-17T05:04:34 *** kilae_ has joined #aichallenge 2012-08-17T05:06:15 *** kilae has quit IRC (Ping timeout: 256 seconds) 2012-08-17T05:35:27 *** pairofdice has joined #aichallenge 2012-08-17T05:55:41 *** epicmonkey has quit IRC (Ping timeout: 244 seconds) 2012-08-17T06:22:09 *** Scooper has joined #aichallenge 2012-08-17T06:58:13 *** epicmonkey has joined #aichallenge 2012-08-17T06:58:51 *** kilae_ has quit IRC (Ping timeout: 240 seconds) 2012-08-17T07:13:15 *** alehorst has quit IRC (Ping timeout: 244 seconds) 2012-08-17T07:32:57 *** alehorst has joined #aichallenge 2012-08-17T07:36:07 *** bqf has quit IRC (Changing host) 2012-08-17T07:36:07 *** bqf has joined #aichallenge 2012-08-17T08:21:28 *** thestinger has joined #aichallenge 2012-08-17T08:29:01 *** choas has joined #aichallenge 2012-08-17T08:30:31 *** mcstar has joined #aichallenge 2012-08-17T09:57:34 *** antimatroid has quit IRC (*.net *.split) 2012-08-17T09:57:34 *** ejls has quit IRC (*.net *.split) 2012-08-17T09:57:34 *** mattswe has quit IRC (*.net *.split) 2012-08-17T09:57:35 *** sevikkk has quit IRC (*.net *.split) 2012-08-17T09:58:10 *** antimatroid has joined #aichallenge 2012-08-17T09:58:10 *** ejls has joined #aichallenge 2012-08-17T09:58:10 *** sevikkk has joined #aichallenge 2012-08-17T10:01:47 *** mceier has quit IRC (Quit: leaving) 2012-08-17T10:05:31 *** mattswe has joined #aichallenge 2012-08-17T10:15:47 mcstar: i can read these problems now :P 2012-08-17T10:15:51 also no more bms ever :( 2012-08-17T10:24:29 antimatroid: bms? 2012-08-17T10:24:39 blue mountain state 2012-08-17T10:24:43 good show if you like that kind of thing 2012-08-17T10:24:57 i dont know what kind of show that is, so i cant say 2012-08-17T10:25:15 basically a good version of original american pie 2012-08-17T10:25:23 ie. college football team that parties a lot 2012-08-17T10:25:44 not my plate of pie 2012-08-17T10:26:22 ^^ more catchier than 'not my cup of tea' dont you think? 2012-08-17T10:26:49 slice of pie? 2012-08-17T10:27:15 not bad, but i'd prefer p 2012-08-17T10:29:17 antimatroid: there are 3 new problems 2012-08-17T10:29:30 yesterday he had his last interview 2012-08-17T10:29:36 he got the contract 2012-08-17T10:29:43 nice 2012-08-17T10:29:46 till the end of this year 2012-08-17T10:29:48 http://www.youtube.com/watch?v=1gT6Urkyh4o i'm trying to learn this stuff 2012-08-17T10:29:54 after that they said they will see.. 2012-08-17T10:30:01 that's good 2012-08-17T10:31:01 im doing renormalization now 2012-08-17T10:31:17 i hope i cant mold my theory to get some answers... 2012-08-17T10:31:28 i cant deal with category theory right now, sorry 2012-08-17T10:31:42 cant -> can 2012-08-17T10:32:43 antimatroid: are you going to give haskell a try again? (seems like a logical next step) 2012-08-17T10:32:53 not at the moment 2012-08-17T10:33:10 too many other things with higher priority 2012-08-17T10:33:57 antimatroid >>= haskell 2012-08-17T10:34:06 i just read one or two articles on functional programming sometimes, as a recreation 2012-08-17T10:34:48 :2:1: Not in scope: `antimatroid' 2012-08-17T10:34:50 :2:17: Not in scope: `haskell' 2012-08-17T10:34:51 things i want to know about: category theory, representation/character theory, (co)homology etc. and they're all very confusing to me 2012-08-17T10:35:25 i need to know some representation/character theory before i can understand the point of all the diagram stuff i'm doing for the thesis 2012-08-17T10:35:26 classmate of mine was at home in cohomolgy 2012-08-17T10:36:06 he went to the usa studying string theory 2012-08-17T10:36:39 oh and lie algebra/groups 2012-08-17T10:36:50 haha, the usual suspects 2012-08-17T10:36:56 yep :P 2012-08-17T10:37:10 it's ridiculous how deep the rabbit hole goes 2012-08-17T10:37:30 i prefer approaching math from a different angle 2012-08-17T10:37:35 from formal logic XD 2012-08-17T10:37:39 They keep making the rabbit hole deeper 2012-08-17T10:37:43 masochist over here 2012-08-17T10:38:11 but who feeds the rabbits? 2012-08-17T10:38:18 government funding 2012-08-17T10:38:27 and undergrads 2012-08-17T10:38:48 academia caused the financial recession, ive been telling this for decades... 2012-08-17T10:39:02 lots of things caused the financial recession 2012-08-17T10:39:11 i don't think academia was really one of them? 2012-08-17T10:39:15 * mcstar was joking as usual 2012-08-17T10:39:20 i know, was just checking 2012-08-17T10:39:41 the current trend in the us with education is a bit worrying 2012-08-17T10:39:51 * antimatroid is too lazy to hold shift down 2012-08-17T10:39:51 (but really, it is not always the best investment for a country to support basic research) 2012-08-17T10:40:36 no, although pure maths is getting less funding as more people demand to know immediate applications of potential research projects 2012-08-17T10:40:39 which is a little sad imo 2012-08-17T10:41:03 yeah, but understandable 2012-08-17T10:41:06 i think 2012-08-17T10:41:23 dunno, it just makes a lot of research applications full of bullshit 2012-08-17T10:41:23 i mean there are lots of areas, that could have a bigger impact on our lives 2012-08-17T10:41:29 like bio and nanotech 2012-08-17T10:41:55 sure, but without pure maths in times past we wouldn't have such research fields today 2012-08-17T10:42:12 who's to say what will come from still funding the expansion of our mathematical knowledge? 2012-08-17T10:42:22 basic research will always be done, the less funding just results in the best minds doing that kind of research 2012-08-17T10:42:51 i think research is one of those things which is socially optimal to be publicly funded 2012-08-17T10:42:56 especially mathematics 2012-08-17T10:43:10 it isn't usually useful enough fast enough for the mathematician to profit 2012-08-17T10:43:20 nor are they legally allowed to patent etc. their work 2012-08-17T10:43:28 bottom line is, i hate barking dogs 2012-08-17T10:43:31 i am of course heavily biased 2012-08-17T10:44:25 antimatroid: so you want to hear the problems? 2012-08-17T10:44:33 shoot 2012-08-17T10:44:36 i dont have much time, but ill tel these 2012-08-17T10:44:48 yeah give them to me and i'll have a play 2012-08-17T10:44:55 it better not rain tomorrow 2012-08-17T10:44:57 i want to go skating 2012-08-17T10:45:01 well, today 2012-08-17T10:45:15 i hope i remember this one correctly 2012-08-17T10:45:20 i have it on ppaer somewhere 2012-08-17T10:45:28 but i cant find it in the heap i have beside my desk 2012-08-17T10:45:45 A numbers* 2012-08-17T10:46:19 write max(A,min(x,B)) as a*min(x,b)+c*min(x,d)+e 2012-08-17T10:46:31 with a,b,c,d,e expressed via A,B 2012-08-17T10:48:15 (the guy said, this tripped up mathematicians....) 2012-08-17T10:48:30 he apparently had to explain this to them, which is weird 2012-08-17T10:50:32 hehe, i'm not sure how to go about it right away :P 2012-08-17T10:51:16 with pen and paper 2012-08-17T10:51:48 fair point 2012-08-17T10:52:00 incidentally, my friend made a mistake in telling me this 2012-08-17T10:52:00 let me go get some 2012-08-17T10:52:04 i've run out of lined paper 2012-08-17T10:52:14 ha said max(A,max(x,b)) 2012-08-17T10:52:19 and i solved that at first 2012-08-17T10:52:26 (which needs a bit of trick to work) 2012-08-17T11:01:30 hmmmm 2012-08-17T11:01:35 well i know it equals the middle number 2012-08-17T11:01:48 but still not seeing how to put it how they want 2012-08-17T11:01:52 will continue playing though 2012-08-17T11:03:15 antimatroid: what do you mean? 2012-08-17T11:03:21 equals the middle number? 2012-08-17T11:03:48 if A etc. 2012-08-17T11:03:51 *** choas has quit IRC (Ping timeout: 240 seconds) 2012-08-17T11:04:02 yeah 2012-08-17T11:04:30 the two formulas can give the exact same function of x if you choose a,b,c,d,e correctly 2012-08-17T11:04:46 and those parameters cant contain x, only A and B 2012-08-17T11:05:17 yeah i think i might have it hang on 2012-08-17T11:05:59 err nah 2012-08-17T11:06:03 still lost haa 2012-08-17T11:06:22 remember, your career is at stake 2012-08-17T11:06:29 :) 2012-08-17T11:06:52 how long was he given? 2012-08-17T11:08:00 i think this was done over the phone 2012-08-17T11:08:06 and a second problem too 2012-08-17T11:08:10 i think i failed aha 2012-08-17T11:08:20 and he had to do it in english 2012-08-17T11:08:30 i have to go outside but ill be back 2012-08-17T11:11:35 *** alehorst1 has joined #aichallenge 2012-08-17T11:13:51 *** alehorst has quit IRC (Ping timeout: 240 seconds) 2012-08-17T11:15:19 *** NoxiaZ^ has joined #aichallenge 2012-08-17T11:16:06 *** mceier has joined #aichallenge 2012-08-17T11:41:19 i'm singing audioslave. a must-hear, haha ^^ 2012-08-17T11:51:05 antimatroid: im back, ready for the next one? 2012-08-17T11:53:37 cbf now tonight 2012-08-17T11:53:39 doing cat 2012-08-17T11:53:55 o.O 2012-08-17T11:54:04 i dont understand new-english 2012-08-17T12:02:02 mleise: link? 2012-08-17T12:14:59 can i haz teh muzik? 2012-08-17T12:44:12 stupid mathematica 2012-08-17T12:45:02 *** mviel has quit IRC (Quit: Leaving) 2012-08-17T12:47:50 *** choas has joined #aichallenge 2012-08-17T13:05:11 … 2012-08-17T13:05:41 i can type ellipsis now 2012-08-17T13:08:34 mcstar: nah wai. itz only for teh naibors 2012-08-17T13:10:33 but i had to turn the music so loud that my voice is drowned, because he's singing very high notes with a jagged voice noone can immitate 2012-08-17T13:11:15 mleise: https://www.youtube.com/watch?v=XzPBUGUM7KQ 2012-08-17T13:12:27 mcstar: https://www.youtube.com/watch?v=ygQvB6OjHOU&feature=related 2012-08-17T13:15:38 mleise: https://www.youtube.com/watch?v=UmvnXKRfdb8 2012-08-17T13:15:49 found something more badass? 2012-08-17T13:16:05 can't watch: copyright issues :p 2012-08-17T13:16:47 what? 2012-08-17T13:16:59 yes, god said no 2012-08-17T13:17:16 And Ezekiel, too. and sony music and bmg 2012-08-17T13:17:52 no actually it is UMG and MC MRMX 2012-08-17T13:17:52 https://www.youtube.com/watch?v=1SPpEFlpkMY 2012-08-17T13:19:18 mleise: it was just the SLJ's speah, the supposed quote from the bible 2012-08-17T13:19:27 speach* 2012-08-17T13:20:19 i so loved this movie scene: https://www.youtube.com/watch?v=yMwmqp3GLMc 2012-08-17T13:20:55 oh and I think I'm gonna watch this one now https://www.youtube.com/watch?v=BhzNP83GiEs&feature=fvwrel 2012-08-17T13:25:43 mcstar: You got em all from this collection, https://www.youtube.com/watch?v=JlVgBxVqW2c&feature=related, admit it ;o) 2012-08-17T13:26:37 what? 2012-08-17T13:26:56 I didn't know that "say hello to my little friend" was from a movie. i know it from the first hitman game 2012-08-17T13:27:20 i never said "say hello to my little friend" 2012-08-17T13:27:22 mcstar: there is the bible verse from pulp fiction, the "dodge this" scene, and "you talkin to me"? 2012-08-17T13:27:41 i remembered those scenes 2012-08-17T13:27:50 as well as "you've got to ask yourself a question. do i feel lucky?" 2012-08-17T13:27:50 not 'dodge this' 2012-08-17T13:27:59 well do you punk? 2012-08-17T13:28:07 no... that's the copy 2012-08-17T13:28:14 the original is clint eastwood 2012-08-17T13:28:18 i know 2012-08-17T13:28:21 oh 2012-08-17T13:28:25 what are you talking about? 2012-08-17T13:28:29 what is the copy? 2012-08-17T13:28:33 im a bit confused now 2012-08-17T13:28:47 the one with ... what's his name again... the green mask 2012-08-17T13:28:51 *** choas has quit IRC (Ping timeout: 272 seconds) 2012-08-17T13:28:57 o.O 2012-08-17T13:29:01 i have no idea 2012-08-17T13:29:03 zorro? 2012-08-17T13:29:07 there he says "do you punk" 2012-08-17T13:29:15 idk 2012-08-17T13:29:38 oh clint said punk too 2012-08-17T13:29:40 nevermind 2012-08-17T13:30:35 here is the copy: https://www.youtube.com/watch?v=yyxkODGdp1E 2012-08-17T13:30:40 haha 2012-08-17T13:30:48 last death, in departed 2012-08-17T13:30:50 that was nice 2012-08-17T13:31:22 i haven't seen that I think 2012-08-17T13:31:27 very good movie 2012-08-17T13:31:44 i dont like dicaprio at all 2012-08-17T13:31:52 but he was good in that movie 2012-08-17T13:32:03 there are great performance in it 2012-08-17T13:32:07 ces* 2012-08-17T13:32:41 well, he is a good actor. you can't say anything 2012-08-17T13:33:16 i can say that im not impressed 2012-08-17T13:33:23 but he was good in that movie 2012-08-17T13:33:36 mleise: im watching the collection 2012-08-17T13:33:39 ok, which actor or actress does impress you? 2012-08-17T13:33:40 clint says it in it 2012-08-17T13:33:46 what was the problem before? 2012-08-17T13:34:01 yeah i figgured that out. i misunderstood him 2012-08-17T13:34:17 i thought for the mask they changed the line 2012-08-17T13:34:20 cause there are 2 scenes in that movie when he says this line 2012-08-17T13:34:30 in the beginning to the nigger 2012-08-17T13:34:35 thats irrelevant to the story 2012-08-17T13:34:48 and in the end, when he kills the serial killer 2012-08-17T13:34:58 by the lake 2012-08-17T13:35:42 you said nigger 2012-08-17T13:35:48 yeah 2012-08-17T13:36:14 i begin to remember the movie now 2012-08-17T13:36:30 haha fuck, 'dodge this' is from the matrix 2012-08-17T13:36:43 i didnt recall it when you quoted that 2012-08-17T13:36:55 that's why I said that you got your clips from this compilation, you showed the the matrix one once 2012-08-17T13:37:37 ah, long time ago 2012-08-17T13:37:44 i dont remember this compilation though 2012-08-17T13:37:47 although the most badass thing about the matrix is slowmotion with deep bass sounds 2012-08-17T13:38:13 i think the philosophical questions are the most badass things about the matrix 2012-08-17T13:38:21 not this compilation necessarily, but it matches your taste in movies ^^ 2012-08-17T13:38:34 i havent watched the shining to the end 2012-08-17T13:38:38 once i started... 2012-08-17T13:39:03 i watched it long time ago and didn't fall asleep 2012-08-17T13:39:26 ah, scarface, say hi to my litle friend 2012-08-17T13:40:22 nice ending with yipikayay 2012-08-17T13:41:12 mleise: https://www.youtube.com/watch?v=C6eeLebiGY8&feature=related 2012-08-17T13:42:35 that's good one. i remember the hamburger phone from Juno 2012-08-17T13:42:55 *** UncleVasya has joined #aichallenge 2012-08-17T13:43:29 mleise: this is soo pathetic 2012-08-17T13:43:30 what's the out of bubblegum movie? 2012-08-17T13:43:38 i pair of boobs can distract me from the movies 2012-08-17T13:43:44 1 2012-08-17T13:44:02 mleise: i havent seen that one 2012-08-17T13:45:18 where is "*haaaatcheeeewww* ... sorry, I'm allergic to bullshit." 2012-08-17T13:46:16 hmm it doesn't sound funny out of context 2012-08-17T13:49:52 mleise: you gonna love this... https://www.youtube.com/watch?v=ZYAFoso0CLk&feature=related 2012-08-17T13:50:04 i think ill put it on loop 2012-08-17T13:51:13 ah shit, omg. and that face 2012-08-17T13:51:39 i downloaded it 2012-08-17T13:52:21 how can anyone not love this. i hope she isn't too ashamed of it :p 2012-08-17T13:59:45 mleise: https://www.youtube.com/watch?v=nIm2dnyJ1Ps&feature=related 2012-08-17T14:01:12 that lamp post wasn't very sturdy 2012-08-17T14:02:43 omg the warehouse 2012-08-17T14:02:50 not sturdy either... 2012-08-17T14:02:54 mleise: i like the back-kick 2012-08-17T14:02:59 me too 2012-08-17T14:03:05 very elegant :D 2012-08-17T14:03:17 i had to watch it three times 2012-08-17T14:03:26 couldn't see how he was timing it 2012-08-17T14:04:11 http://www.extremetech.com/extreme/134672-harvard-cracks-dna-storage-crams-700-terabytes-of-data-into-a-single-gram 2012-08-17T14:04:59 oh the poor dog 2012-08-17T14:05:17 *** epicmonkey has quit IRC (Read error: Operation timed out) 2012-08-17T14:07:29 mleise: lol, i rewoud several times too 2012-08-17T14:07:35 i think i learned it pretty well 2012-08-17T14:07:40 going outside and test it 2012-08-17T14:07:48 rewound* 2012-08-17T14:07:57 yep find yourself some shoplifters 2012-08-17T14:08:36 you know this one? https://www.youtube.com/watch?v=3LEz4-N7FjI 2012-08-17T14:10:08 also this one rocks http://www.youtube.com/watch?v=ReXG4h5z3Pc 2012-08-17T14:11:13 do you have one of a police chase by chance? 2012-08-17T14:11:15 pairofdice: nice, but not very practical yet 2012-08-17T14:11:34 No, not very practical. Impressive though 2012-08-17T14:12:57 lol 2012-08-17T14:13:02 they smothered the dove 2012-08-17T14:13:22 *** NoxiaZ^ has quit IRC (Ping timeout: 252 seconds) 2012-08-17T14:15:28 http://www.youtube.com/watch?v=O-X-HqYbTNw&feature=related O.o I don't want to ever be chased by the police in this town 2012-08-17T14:15:59 he's waiting at every crossing, taking care of the other drivers, and what does the police do to him? 2012-08-17T14:16:25 looks even a bit like he's complaining in the end ^^ 2012-08-17T14:21:56 *** alehorst1 has quit IRC (Quit: Leaving.) 2012-08-17T14:22:36 mleise: that truck vs. train, the driver was possibly the biggest idiot of all times 2012-08-17T14:22:50 but he survived it 2012-08-17T14:23:01 so he's also a lucky idiot 2012-08-17T14:32:53 mleise: lucky fucktartd http://www.youtube.com/watch?v=5FGGI2iXsHA&feature=related 2012-08-17T14:56:08 *** choas has joined #aichallenge 2012-08-17T14:58:05 wow, close to not knowing where up and down is 2012-08-17T14:58:22 mleise: i ate some cinnamon this morning too http://www.youtube.com/watch?feature=player_detailpage&v=dCeVk_Ps1lw 2012-08-17T14:58:32 but not like this... 2012-08-17T14:58:41 i put it on top of an instant cappucino 2012-08-17T14:59:07 what a complete jerk-off would voluntarily swallow that quantity of cinnamon 2012-08-17T14:59:35 do they trick them into doing this? 2012-08-17T14:59:49 It's called the cinnamon challenge 2012-08-17T15:00:04 The guy in mythbusters managed to do it 2012-08-17T15:00:22 pairofdice: what was the myth? 2012-08-17T15:00:29 and managed to do what? 2012-08-17T15:00:42 Swallowin a spoonful of cinnamon is impossible or something 2012-08-17T15:01:36 http://www.youtube.com/watch?v=UXkGtJUP0WE 2012-08-17T15:02:11 *** UncleVasya has quit IRC (Ping timeout: 265 seconds) 2012-08-17T15:03:12 so not mythbusters started it 2012-08-17T15:03:17 No 2012-08-17T15:03:37 hm, yeah, i dont know why did i think that 2012-08-17T15:03:47 pairofdice: hey, mcstar gets to write history the way he wants it to be 2012-08-17T15:04:17 call me napoleon 2012-08-17T15:05:17 hm, i didnt know girls had problems swallowing a spoonful before 2012-08-17T15:05:25 eheh 2012-08-17T15:06:27 i would never try this cinnamon challenge, i would worry that wold go into my airways 2012-08-17T15:08:15 pairofdice: that gus simply cheats 2012-08-17T15:08:24 Naaaah 2012-08-17T15:08:48 yes 2012-08-17T15:09:06 How so? What are the rules? 2012-08-17T15:09:07 he keeps it in his mouth and mixes it with this saliva 2012-08-17T15:09:41 he would have had the same reaction as the others if he didnt try to mix it in his whole mouth 2012-08-17T15:09:53 anyway, quite a stupid 'myth' 2012-08-17T15:10:04 Yes, and doing something that doesn't work is stupid :) 2012-08-17T15:10:20 consider this: 2012-08-17T15:10:27 there are people who can swallow fire 2012-08-17T15:10:33 and most of us cant 2012-08-17T15:10:49 if you would pick some random assholes to try to do it they would fail 2012-08-17T15:10:54 and get into the hospital 2012-08-17T15:11:00 Doesn't seem like a worthwhile skill to pursue to me 2012-08-17T15:11:04 now, would you say it is impossible to swallow fire? 2012-08-17T15:11:32 No. And they have had several such myths that depend heavily on operator skill 2012-08-17T15:11:56 i think i saw a couple of episodes, but i dont remember these faces 2012-08-17T15:15:48 https://www.youtube.com/watch?v=FYvl1iRTsKI&feature=related 2012-08-17T15:17:32 *** NoxiaZ^ has joined #aichallenge 2012-08-17T15:20:26 *** Accoun has quit IRC () 2012-08-17T15:33:45 rabies is bad for your health, thanks youtube 2012-08-17T15:37:12 *** Accoun has joined #aichallenge 2012-08-17T15:41:28 239.255.255.250 what a weird address 2012-08-17T15:41:36 havent seen anything in that range 2012-08-17T15:42:08 mcstar: ipv4 ran out of addresses already :P 2012-08-17T15:42:31 so there are lots of sales of existing blocks that never got used 2012-08-17T15:43:56 i think it is some youtube service 2012-08-17T16:07:42 i hate languages without a proper way of binding values to names 2012-08-17T16:08:55 hmm? 2012-08-17T16:09:01 unlambda? 2012-08-17T16:09:28 omg 2012-08-17T16:09:33 this is worse than i thought 2012-08-17T16:09:42 mathematica can suck soo much in some respects 2012-08-17T16:09:49 oh god mathematica 2012-08-17T16:09:54 what? 2012-08-17T16:10:02 do you know it? 2012-08-17T16:10:16 I wouldn't really say "know" 2012-08-17T16:10:32 thestinger: python falls into the category i started with 2012-08-17T16:10:39 mcstar: how so? 2012-08-17T16:10:41 so does c and the rest 2012-08-17T16:10:59 there is no let 2012-08-17T16:11:10 mcstar: C has block-scoping 2012-08-17T16:11:13 same thing 2012-08-17T16:11:27 python doesn't 2012-08-17T16:11:29 what about in the scope? 2012-08-17T16:11:32 so.. 2012-08-17T16:11:47 anyway, this is more of a concept of non-compiled languages 2012-08-17T16:11:51 concern* 2012-08-17T16:12:34 languages which support interactive evaluation should have a construct to introduce local variables 2012-08-17T16:13:55 python just does the javascript thing 2012-08-17T16:14:12 any variables you use get declared as locals for you 2012-08-17T16:14:18 so no block scope 2012-08-17T16:14:49 Errr 2012-08-17T16:15:49 http://sprunge.us/CJdj like that 2012-08-17T16:16:06 js has the same stupidity 2012-08-17T16:17:52 http://i.imgur.com/9qpPk.png 2012-08-17T16:18:01 look at that mess, mathematica's local bindings 2012-08-17T16:18:19 .. 2012-08-17T16:19:35 thestinger: what was supposed your snippet demonstrate? 2012-08-17T16:20:07 mcstar: that there is only function scope 2012-08-17T16:20:14 any variable used in a function exists in the whole function 2012-08-17T16:20:22 there are no block scopes and it doesn't matter when you first declare it 2012-08-17T16:20:27 js works exactly the same way 2012-08-17T16:21:05 but in python you get an exception for using a defined but unassigned variable 2012-08-17T16:21:16 js stays silent (undefined is a valid value) 2012-08-17T16:21:37 i dont get this 2012-08-17T16:21:42 what is surprising there? 2012-08-17T16:21:47 there is an 'x' 2012-08-17T16:22:01 if there was a global one, print would have picked that up 2012-08-17T16:22:01 And it's defined after you use it 2012-08-17T16:22:12 no 2012-08-17T16:22:16 pairofdice: it's defined in the whole function 2012-08-17T16:22:18 it is defined in the function 2012-08-17T16:22:22 it's just not assigned yet 2012-08-17T16:22:26 yeah 2012-08-17T16:22:29 but whats the problem? 2012-08-17T16:22:39 python's evaluation model is weird anyway 2012-08-17T16:22:58 no... 2012-08-17T16:23:05 pairofdice: yes, look at my paste 2012-08-17T16:23:23 it would say NameError: name 'x' is not defined 2012-08-17T16:23:30 if I hadn't done x = 5 anywhere in the function 2012-08-17T16:23:34 I wasn't saying that 2012-08-17T16:24:10 "And it's defined after you use it" 2012-08-17T16:24:15 thats what you said 2012-08-17T16:24:26 Yeah. 2012-08-17T16:24:39 it sis defined, when python's evaluator evaluated the function body 2012-08-17T16:24:44 in some way 2012-08-17T16:24:51 yeah, compiles to bytecode 2012-08-17T16:24:58 but not when executed it 2012-08-17T16:25:07 the bytecode puts the definition at the top 2012-08-17T16:25:14 so it happens before the interpreter sees it 2012-08-17T16:25:35 i want lisp's 'let' and 'let*' in every language 2012-08-17T16:26:02 haskell's let is nice too ofc, but it is always recursive 2012-08-17T16:26:09 http://sprunge.us/IhBF it's just weird 2012-08-17T16:26:24 ocaml has 'let' 'let rec' and 'let _ and _' 2012-08-17T16:26:52 so in mathematica i cant bind things succesively 2012-08-17T16:27:19 i cant use a prevously bound name in a later biding in the same With/Block/Module 2012-08-17T16:27:29 i would have to NEST these 2012-08-17T16:27:43 go wolfram and … yourself 2012-08-17T16:27:56 genious my ass 2012-08-17T16:28:06 not a bigger genious than jobs 2012-08-17T16:28:26 heh 2012-08-17T16:32:06 i wish some symbolic/numerical environment had a notebook interface as good as mathematica's and would have the same quality plotting 2012-08-17T16:32:54 R? 2012-08-17T16:33:05 R is weird 2012-08-17T16:33:13 and it doesnt really fit 2012-08-17T16:33:20 and quite slow 2012-08-17T16:33:29 it doesnt have a notebook 2012-08-17T16:33:44 but the graphics are probably ok, at least the 2d ones 2012-08-17T16:34:06 sage has a web notebook 2012-08-17T16:34:28 it has some nice features, but overall, mathematica's is better 2012-08-17T16:34:30 mcstar: and there's that new language 2012-08-17T16:34:34 but ofc it's new 2012-08-17T16:34:39 what? 2012-08-17T16:34:39 so it won't have good libs yet :P 2012-08-17T16:34:42 mcstar: http://julialang.org/ 2012-08-17T16:34:47 i know julia 2012-08-17T16:34:52 been writing some things in it 2012-08-17T16:35:07 its web interface is just a repl that can inline pictures 2012-08-17T16:35:16 way less sophisticated than sage's 2012-08-17T16:35:22 but the language is very nice 2012-08-17T16:35:48 supports macros for example, you can access easily the AST 2012-08-17T16:36:00 jit makes it fast even without type annotations 2012-08-17T16:36:23 allocation saturated programs or gc heavy ones dont perform too well for now 2012-08-17T16:36:39 the type system is quite good 2012-08-17T16:36:53 * thestinger really likes rust 2012-08-17T16:37:03 you can have abstract type hierarchies and union types 2012-08-17T16:37:16 but the thing loads pretty slowly 2012-08-17T16:37:33 it does the llvm compilation of the whole core language every time you start it 2012-08-17T16:37:38 heh 2012-08-17T16:37:43 so you cant just fire this up for scripts 2012-08-17T16:37:50 but they will improve on this 2012-08-17T16:38:03 really, it is just too young for everything to be smooth 2012-08-17T16:38:08 rust is actually pretty neat, it's a mix of haskell and c++ 2012-08-17T16:38:55 Type inferenceyes, only local variables 2012-08-17T16:38:59 :( 2012-08-17T16:39:11 mcstar: it still has generic functions with inference 2012-08-17T16:39:21 parametric polymorphism I should say 2012-08-17T16:39:22 Generic typesyes, only simple, non-turing-complete substitution 2012-08-17T16:39:29 mcstar: as in, like haskell 2012-08-17T16:39:32 not like C++ 2012-08-17T16:39:45 haskell has a lot of extensions to simple parametric polimorphism 2012-08-17T16:39:51 first of all, it has typeclasses 2012-08-17T16:40:03 ocaml at least has functors 2012-08-17T16:40:25 haskell can handle higher kinded types, and functional dependencies with typeclasses even 2012-08-17T16:41:17 mcstar: http://dl.rust-lang.org/doc/tutorial.html#traits 2012-08-17T16:41:23 http://dl.rust-lang.org/doc/tutorial.html#basic-datatypes 2012-08-17T16:41:37 ofc it doesn't cover all the things that ghc extensions do 2012-08-17T16:41:46 the next language that im going to familiarize myself with, is X-10 2012-08-17T16:42:39 thestinger: rust might be good, but there are already great alternatives 2012-08-17T16:42:54 mcstar: rust aims to be an alternative to C++ though 2012-08-17T16:43:06 (i.e. not mandating GC or adding any overhead over idiomatic C++) 2012-08-17T16:43:13 but i can use haskell/ocaml/f# already as an alternative 2012-08-17T16:43:41 some people just cant live without curly braces 2012-08-17T16:43:50 they might change the syntax 2012-08-17T16:44:02 the author has say he will, and he changes it every month :P 2012-08-17T16:44:04 said* 2012-08-17T16:44:09 D is already better than c++, at least mleise would say that 2012-08-17T16:46:11 I don't think D has lightweight threads 2012-08-17T16:46:49 and it basically mandates GC for the nice features 2012-08-17T16:46:54 it *is* a better language than C++ 2012-08-17T16:47:20 but the implementation isn't great 2012-08-17T16:47:37 i sort of decided what i want to do 2012-08-17T16:47:51 use c++ as less as i can 2012-08-17T16:47:57 sounds good 2012-08-17T16:48:06 grok better haskell/ocaml/f# 2012-08-17T16:48:21 leave the lisps such as common lisp and clojure alone 2012-08-17T16:48:35 why? speed? 2012-08-17T16:48:41 and for highperformance and scientific number crunching learn x-10 2012-08-17T16:48:43 *** epicmonkey has joined #aichallenge 2012-08-17T16:48:53 thestinger: i dont have all the time in the world 2012-08-17T16:49:09 x-10 instead of fortran 2012-08-17T16:49:39 have you used CUDA at all? 2012-08-17T16:49:50 yes 2012-08-17T16:49:53 c++ 2012-08-17T16:49:59 why? 2012-08-17T16:50:04 just curious 2012-08-17T16:50:29 i have the code on my github account for a cuda project 2012-08-17T17:02:25 *** epicmonkey has quit IRC (Ping timeout: 246 seconds) 2012-08-17T17:04:55 thank you daily motion for videos in which girls flash their tits in public 2012-08-17T17:09:29 thestinger: shopt -s cmdhist 2012-08-17T17:09:36 do you know this? 2012-08-17T17:10:05 multi-line history for bash 2012-08-17T17:10:14 ah, you use zsh 2012-08-17T17:10:25 nvm 2012-08-17T17:11:17 just use zsh 2012-08-17T17:11:53 don't even have to configure anything, just pacman -S zsh grml-zsh-config && chsh -s /bin/zsh 2012-08-17T17:14:22 haha 2012-08-17T17:14:33 thestinger: that leads to catastropy 2012-08-17T17:14:57 i tried believe me 2012-08-17T17:15:15 what do you mean? :P 2012-08-17T17:15:20 chsh is fine 2012-08-17T17:15:25 just changes the interactive login shell 2012-08-17T17:15:25 no 2012-08-17T17:15:29 i meant 2012-08-17T17:15:42 if i already executed .bashrc, the propmt is changed 2012-08-17T17:15:46 i have a very nice propmot 2012-08-17T17:15:51 and zsh cant understand that 2012-08-17T17:15:58 mcstar: what's in it? 2012-08-17T17:16:01 but i see, you want to make me change my login script 2012-08-17T17:16:08 login shell 2012-08-17T17:16:17 it's trivial to add stuff like git repo/status to zsh's prompt 2012-08-17T17:16:23 ▼ (mcstar@stargate|01:19) ~ 2012-08-17T17:16:25 newline 2012-08-17T17:16:34 triangle is exit status? 2012-08-17T17:16:37 that's simple :P 2012-08-17T17:16:43 ? 2012-08-17T17:16:44 no 2012-08-17T17:16:59 it just points to the first character of the command im gonna type 2012-08-17T17:17:09 and it is colorful 2012-08-17T17:17:17 it has 2 nice colors 2012-08-17T17:17:20 yes, that's simple 2012-08-17T17:17:31 actually, 3 colors 2012-08-17T17:17:36 i dont think zsh can handle that 2012-08-17T17:17:43 sure it can 2012-08-17T17:17:44 XD 2012-08-17T17:17:50 im trying to joke here 2012-08-17T17:17:52 and you can use {red} instead of awful escapes 2012-08-17T17:18:11 * thestinger has a simple prompt 2012-08-17T17:18:22 just shows the current vi mode :P 2012-08-17T17:18:22 my joking skills are comparable my bash string excaping skills 2012-08-17T17:18:55 escaping* 2012-08-17T17:19:12 im eating greasy things 2012-08-17T17:20:03 and using a keyboard? 2012-08-17T17:20:08 yeah 2012-08-17T17:20:23 but im not typing with my greasy fingers 2012-08-17T17:20:47 thestinger: python doesnt understand ~? 2012-08-17T17:20:57 mcstar: you mean for dirs? 2012-08-17T17:21:04 i dont think i jave run into this before 2012-08-17T17:21:07 yeah 2012-08-17T17:21:16 i was trying to load up a matrix from file with numpy 2012-08-17T17:21:29 you have to use os.path.expanduser 2012-08-17T17:21:45 expands stuff like ~apache, ~mcstar, ~ 2012-08-17T17:23:12 hm, i think i always used relative and absolute paths before, but never with ~ 2012-08-17T17:24:04 also sys.path[0] is your friend for relative ones (the dir the script is in) 2012-08-17T17:41:26 *** GarfTop has quit IRC (Quit: Make a new plan, Stan!) 2012-08-17T18:06:13 *** amstan_ has joined #aichallenge 2012-08-17T18:06:14 *** ChanServ sets mode: +o amstan_ 2012-08-17T18:36:47 *** NoxiaZ^ has quit IRC () 2012-08-17T18:43:42 thestinger: are you still there? 2012-08-17T18:44:57 yeah 2012-08-17T18:44:59 *** Scooper has quit IRC (Quit: Leaving) 2012-08-17T18:45:01 *** choas has quit IRC (Ping timeout: 265 seconds) 2012-08-17T18:45:47 python trouble 2012-08-17T18:46:03 imagine i have 2 numpy.ndarrays 2012-08-17T18:46:17 i can apply some numeric function to the one, and not the other 2012-08-17T18:46:21 like exp, or sin 2012-08-17T18:46:32 AttributeError: exp 2012-08-17T18:47:13 what does this attribute error mean usually? 2012-08-17T18:47:56 hm 2012-08-17T18:48:00 i might have a clue 2012-08-17T18:49:23 array(…, dtype=object) 2012-08-17T18:49:45 why on earth would the type of the elements of the array be object 2012-08-17T18:50:00 because sage-numpy interaction sucks 2012-08-17T18:50:09 in sage 5.1 or something 2012-08-17T18:50:59 2012-08-17T18:51:08 instead of float 2012-08-17T18:51:30 nice, ive been looking at this for 5 minutes 2012-08-17T18:52:05 and thestinger just doesnt care, he is right 2012-08-17T18:52:41 mcstar: it's object because it has arbitrary python object's in it 2012-08-17T18:52:43 objects* 2012-08-17T18:52:54 i know what object means 2012-08-17T18:53:05 but that doesnt explain why it is object and not float 2012-08-17T18:53:18 the problem is that sage's integers are classes 2012-08-17T18:54:21 and numpy.linspace can actually use them 2012-08-17T18:54:30 AttributeError would mean that something did foo.exp 2012-08-17T18:54:33 but it wont give back an array floats 2012-08-17T18:54:35 and it had no exp attribute 2012-08-17T18:54:47 aha 2012-08-17T18:56:01 sage's integers => sage's numbers 2012-08-17T18:56:30 i hate this, getting sidetracked all the time 2012-08-17T18:56:43 one time i will get really angry about these kinds of thinds 2012-08-17T18:57:06 static typing can be nice :P 2012-08-17T18:57:09 and i will just write the ultimate badass computer algebra systems something or other 2012-08-17T19:08:56 i better go to sleep 2012-08-17T19:09:06 have a nice day 2012-08-17T19:09:08 *** mcstar has quit IRC (Quit: mcstar) 2012-08-17T19:17:19 *** foRei has quit IRC (Read error: Connection reset by peer) 2012-08-17T19:41:57 *** pairofdice has quit IRC (Quit: In girum imus nocte et consumimur igni.) 2012-08-17T20:35:52 *** antimatroid has quit IRC (Ping timeout: 240 seconds) 2012-08-17T20:58:20 *** thestinger has quit IRC (Quit: WeeChat 0.3.8) 2012-08-17T21:52:46 *** amstan_ has quit IRC (Quit: Konversation terminated!) 2012-08-17T23:26:53 *** thestinger has joined #aichallenge