00:04:12 -!- sebbu2 has joined. 00:04:12 -!- sebbu2 has quit (Changing host). 00:04:12 -!- sebbu2 has joined. 00:04:17 -!- sebbu has quit (Ping timeout: 248 seconds). 00:21:14 -!- carado_ has joined. 00:21:38 -!- carado has quit (Ping timeout: 256 seconds). 00:21:48 -!- carado_ has changed nick to carado. 00:22:40 -!- kallisti_ has quit (Ping timeout: 250 seconds). 00:31:51 How does Free (Cont r) behave? 00:58:25 -!- oonbotti has quit (Ping timeout: 252 seconds). 01:03:00 :t runState 01:03:02 State s a -> s -> (a, s) 01:03:15 @src State 01:03:16 Source not found. :( 01:03:38 The order of applicatives matter, yet there's no nice syntax for rearranging the order when using a nonmonadic applicative 01:03:59 :t (<**>) 01:04:00 Ambiguous occurrence `<**>' 01:04:01 It could refer to either `Control.Applicative.<**>', 01:04:01 imported from `Control.Applicative' at State/L.hs:4:1-26 01:04:08 cool 01:04:18 @hoogle (<**>) 01:04:18 @hoogle (<**>) 01:04:18 Control.Applicative (<**>) :: Applicative f => f a -> f (a -> b) -> f b 01:04:19 Control.Applicative (<**>) :: Applicative f => f a -> f (a -> b) -> f b 01:04:29 (not flip (<*>)) 01:04:32 ambiguous occuence 01:05:04 I still think a do-like syntax for applicatives could be reasonable 01:05:32 Sgeo: i've been thinking comprehension syntax is more fitting 01:05:57 Good point 01:06:40 all you need afaict is to check that none of the comma separated <- declarations use each other 01:06:48 But, if there's a monad that let's you put applicatives together (maybe returning Nothing if you attempt an illegal operation), monad comprehensions could be used 01:07:14 Although direct syntax support would be better 01:10:44 oerjan: well comprehensions and do notations are basically the same. though the free "pure" in comprehensions suits applicatives well 01:11:13 yes, the latter is what i was thinking 01:15:04 so [f x y z | x <- ..., y <- ..., z <- ...] ==> f <$> ... <*> ... <*> ... 01:15:20 hmm it would work well with record puns, too bad record puns are evil 01:15:29 or can you pun that way... 01:20:52 seems backwards 01:21:26 or wait i'm thinking of record wildcards 01:23:29 I was thinking if you could do [Rec{..} | field <- ..., field2 <- ...] 01:23:49 that's wildcards 01:24:32 and also backwards, i think 01:24:41 what do you mean by backwards 01:25:03 that .. is a pattern you get the names _out_ of, not put them into 01:25:22 oh wait 01:25:42 that seems to be allowed 01:26:04 that should work then 01:27:30 I wonder if you get a fun type error if you e.g. forget to bind field3 01:27:37 and it tries to do field3 = field3 01:27:41 where field3 is the _accessor_ function 01:27:44 (because punning is awful) 01:27:53 probably it just detects that I guess :( 01:28:31 it says that particular binding is excluded 01:36:56 Dependently typed languages don't have idiotic numbers of zip functions, right? 01:37:05 zip3 zip4 zipOkThisIsDumb 01:37:10 :t zip4 01:37:11 [a] -> [b] -> [c] -> [d] -> [(a, b, c, d)] 01:37:20 Just use HLists instead of tuples 01:38:27 HLists ~ tuples 01:38:39 that was how they were originally written 01:38:41 nothing to do with dependent types, also 01:38:52 ZipList abstracts away the zip pattern 01:39:19 HLists are tuples structured like lists though, rather than flat, iirc 01:39:39 (1, (2,3)) rather than (1,2,3) 01:39:46 or, erm 01:39:51 more like (1,(2,(3,()))) 01:39:53 (1, (2, (3, ()))) 01:39:54 that's some old school shit right there 01:39:58 anyway it's a bad representation because you get O(n) access 01:42:31 -!- Phantom__Hoover has quit (Remote host closed the connection). 01:45:54 > zip (zip (zip (repeat ()) (repeat ())) (repeat ())) (repeat ())) 01:45:55 :1:64: parse error on input `)' 01:45:59 > zip (zip (zip (repeat ()) (repeat ())) (repeat ())) (repeat ()) 01:46:01 [((((),()),()),()),((((),()),()),()),((((),()),()),()),((((),()),()),()),((... 01:48:55 > join $ fix $ (["","()"]++) . ap (zipWith (\x y->"("++x++y++")")) tail 01:48:57 "()(())(()(()))((())(()(())))((()(()))((())(()(()))))(((())(()(())))((()(()... 01:49:14 it's like i'm really using an esolang 01:49:57 you're not, Bike. because you don't know haskell 01:50:01 because you're barely even a person!!!! 01:50:07 i'm barely even a bike 01:50:35 what kind of bike are you 01:50:49 a fixie 01:51:07 > fix it 01:51:07 but you don't fix anything 01:51:08 Not in scope: `it' 01:51:08 Perhaps you meant one of these: 01:51:08 `id' (imported from ... 01:51:17 @google fixie 01:51:19 http://en.wikipedia.org/wiki/Fixed-gear_bicycle 01:51:19 Title: Fixed-gear bicycle - Wikipedia, the free encyclopedia 01:51:22 > let bike = const "Bike" in fix bike 01:51:24 "Bike" 01:51:28 thanks 01:51:36 :t const "shitshitshit" 01:51:38 b -> [Char] 01:51:40 i know what fixies are!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! FUCKER 01:51:43 oh nice 01:51:56 I did not know what a fixie s 01:51:57 is 01:52:26 hope that helped 01:52:35 elliott, what's that thing that was in lambdabot that made a joke about fixing? 01:52:47 @fix 01:52:47 Maybe you meant: bid faq ft id thx 01:52:52 @id 01:52:56 @thx 01:52:56 you are welcome 01:53:00 @id foo 01:53:00 foo 01:53:00 :-) 01:53:04 @id "honk 01:53:05 "honk 01:53:23 i think i must be tired because im laughing at Bike's smiley 01:53:29 and i usually only laugh when i use that smiley 01:53:42 are you okay bro 01:53:44 !underload (:aS(:^S^:)Sa:):^S^:(:aS(:^S^:)Sa:) 01:53:45 no :( 01:53:46 ​(:aS(:^S^:)Sa:):^S^:(:aS(:^S^:)Sa:) 01:53:55 :( 01:54:02 :t ( :) 01:54:04 a -> [a] -> [a] 01:54:05 elliott, I laughed when you said that what I said was the saddest thing you've heard 01:54:16 the saddest thing he'd heard you say 01:54:53 Sgeo: were you tired 01:54:59 I don't remember 01:55:06 insufficient data for meaningful answer 01:57:32 @pl (\x -> x x) (\x -> x x) 01:57:35 ap id id (ap id id) 01:57:35 optimization suspended, use @pl-resume to continue. 01:57:42 @pl-resume 01:57:48 ap id id (ap id id) 01:57:48 optimization suspended, use @pl-resume to continue. 01:57:53 uh...? 01:57:56 i think i see where this is going 01:57:57 optimization? 01:58:20 its optimising the points away 01:58:54 But the points are gone 01:59:00 Why is it still trying to get rid of more? 01:59:50 :t app 01:59:51 ArrowApply a => a (a b c, b) c 02:00:01 wait i thought arrows sucked 02:00:49 (#(% %) #(% %)) 02:00:50 Clojure 02:00:56 elegant 02:01:07 its ap not app 02:01:12 :t ap 02:01:13 its trying to make the code shorter 02:01:14 oh 02:01:14 Monad m => m (a -> b) -> m a -> m b 02:01:17 whoa 02:01:58 :t id<*>id$id<*>id 02:02:00 Occurs check: cannot construct the infinite type: a0 = a0 -> b0 02:02:00 Expected type: (a0 -> b0) -> a0 02:02:00 Actual type: (a0 -> b0) -> a0 -> b0 02:02:04 uh? 02:02:11 :t (\x -> x x) (\x -> x x) 02:02:13 Occurs check: cannot construct the infinite type: t1 = t1 -> t0 02:02:13 In the first argument of `x', namely `x' 02:02:13 In the expression: x x 02:02:21 did you expect that to work i'm confused 02:03:54 :t \x -> x x 02:03:56 Occurs check: cannot construct the infinite type: t1 = t1 -> t0 02:03:56 In the first argument of `x', namely `x' 02:03:56 In the expression: x x 02:04:06 this is why fix exists surely 02:04:45 There are functions you can pass to themselves 02:04:58 So why can't I write a function that can only take such a function? 02:05:07 what functions can you pass to themselves 02:05:11 id 02:05:21 Sgeo: what type do you expect (\x -> x x) to have 02:05:24 well that's because it's polymorphic isn't it 02:05:29 note that it can be assigned a type but not in haskell 2010 02:05:45 oh? what type would it be assigned? 02:05:58 Bike: i won't spoil 02:06:05 you dick 02:06:10 ok i will but only if everyone gives up 02:06:27 how can we give up if we're too incompetent to even guess 02:06:33 does it count as giving up if i already know the answer? 02:06:39 yes 02:06:43 you don't count as part of everyone, oerjan 02:06:44 ok then 02:06:56 a priori i assume that anything i could possibly say is something oerjan already knows 02:06:59 and i'm ok with that 02:07:14 I don't know anything about type theory outside of Haskell. Well, a little subtyping I guess 02:07:21 its not really anything to do with type theory 02:07:30 Typeclasses? 02:07:35 no 02:07:46 surely \x -> x x not being typeable in HM is type theory something 02:07:47 Some sort of or type? 02:07:56 (\x -> x x) is a function so must have type $A -> $B for some $A, $B 02:08:11 are those perl style variables 02:08:18 we apply x inside so we know $A must be a function type, ($C -> $D) -> $B for some $C, $D, $B 02:08:30 the function's result is the result of applying x 02:08:32 so $B = $D 02:08:39 Recursive types 02:08:40 ($C -> $D) -> $D for some $C, $D 02:08:50 $C is what we pass in i.e. the type of x 02:09:01 but oops, that's infinite 02:09:03 $C = $C -> $D 02:09:09 02:03:56 Occurs check: cannot construct the infinite type: t1 = t1 -> t0 02:09:34 from a rank2 pov we can assign the type (\x -> x x) :: (forall a. a -> a) -> b -> b 02:09:38 but it's not inferred 02:10:15 Bike: btw fucking learn haskell you god damn fixie 02:10:17 @where lyah 02:10:18 http://www.learnyouahaskell.com/ 02:10:20 go. go do it 02:10:24 that fuckin book 02:10:31 i dont care 02:10:36 about your opinions of the book 02:10:46 well i'm certainly not doing it now but that's because my head is underwater 02:10:58 how about this tomorrow i will learn agda and then shoot you 02:10:59 buy hutton's programming in haskell if you want I hear that's good!!!! 02:11:10 fuck it give up and read real world haskell if you want to be the worst person slash bike 02:11:14 i don't care it just needs to happen 02:11:17 why 02:11:27 well rwh is kind of crappy as a `first read' 02:11:39 no i mean why does it need to happen 02:12:02 look 02:12:06 Why does Bike hate LYAH? 02:12:13 either you'll learn and understand 02:12:15 or you'll die trying 02:12:18 and it won't matter any more 02:12:22 i don't hate it, i just think it's kind of irritating 02:12:27 headlines FIRST BICYCLE KILLED BY HASKELL 02:12:31 SIMON PEYTON JONES ARRESTED 02:12:32 okay fuck fine i'll try it right now you fucking shitter 02:12:37 thx <3 02:12:40 fucking sun 02:12:43 fuck you, sun. 02:13:02 Bike: have you read why's (poignant) guide to ruby 02:13:02 Sun's dead. Try Oracle. 02:13:12 lyah is the tamest shit in comparison (and i love wpgtr with all my heart) 02:13:39 i read some of wpgtr but i thought it was funnier than lyah 02:13:39 iirc wpgtr says something and that something is obsolete 02:13:48 Some flaw that Ruby had that was fixed 02:13:50 i forget why i don't like lyah, maybe it's because i hate joy 02:13:55 well wpgtr was last updated like a billion years ago 02:13:56 do i hate joy? i forget 02:14:01 i think its for ruby 1.8.something 02:14:04 Joy is a different language. 02:14:14 but it doesn't matter because nobody has ever learned ruby from wpgtr 02:14:16 and that's the beauty of it 02:14:26 i like joy the language i mean joy the happiness 02:14:35 did you know wpgtr has a soundtrack 02:14:46 yes 02:14:54 good bicycle 02:15:25 -!- kallisti has joined. 02:15:26 -!- kallisti has quit (Changing host). 02:15:26 -!- kallisti has joined. 02:15:30 is there a haskell mode for emacs that isn't bullshit 02:15:39 yes its called the haskell mode 02:15:44 cool 02:15:46 just get the latest one from git or whatever since your package might just be shit 02:15:54 oh i set it into stupid indentation mode i think 02:15:59 since the smart indentation mode irritates me 02:16:05 like it knows better than me 02:16:12 and wants to cycle thoruhg every possible indentation when i press tab 02:16:16 wow it's actually in a repository gosh 02:16:21 "did you know it's theoretically possible for you to write code at this indentation here???" 02:16:26 haha 02:16:37 also in reality 02:16:38 i just use vim 02:16:38 elliott: those are the best indentations you know 02:16:45 and type my indentation manually 02:16:49 by pressing the spacebar 02:16:55 i don't know when i regressed like this but i am happy 02:17:10 oh right 02:17:17 it's because i tried the fancy alternative haskell mode thing chrisdone had 02:17:30 and it annoyed the hell out of me and wanted me to make a .cabal for everything when i just wanted to load a file into ghci 02:17:39 so i gave up and started doing vi foo.hs instead 02:17:39 so what's the usual mode for editing haskell 02:17:49 like uh 02:17:52 "workflow" that's the ticket 02:17:53 well chrisdone just merged the good stuff into real haskell-mode i think 02:17:56 oh 02:17:59 well you write stuff in a file 02:18:00 C-c C-l 02:18:05 it loads in the ghci in the other emacs window 02:18:09 oh good, i'm all over that. 02:18:09 and you switch over and evaluate stuff 02:18:16 its basically like lisp but we don't have anything fancy like slime 02:18:37 suddenly i have the horrible idea of writing haskell swank 02:18:51 like it's basically literally the same as running ghci in another terminal and pressing :r 02:18:54 which is what i do now 02:19:08 well i'll miss C-c C-c but i can deal 02:19:11 :r still wipes bindings 02:19:13 :( 02:19:27 i've forgotten what c-c c-c does 02:19:28 it's been so long 02:19:29 why would it not 02:19:38 holy fuck haskell-platform installs a lot 02:20:00 Because I want to test a function with some data that took some time to produce and don't want to re-create the data each time I change the function 02:20:03 everything haskell platform installs for you is something you cant fuck up installing manually with cabal-install 02:20:08 accept the blessing 02:20:43 Sgeo: yeah sounds like C-c C-c would be good for that, but a lot of times being able to destroy old bindings would be kind of nice too 02:21:11 yo 02:21:14 what does c-c c-c do!!! 02:21:16 don't leave me in the dark 02:21:20 elliott: until you need to upgrade a package 02:21:25 slime-compile-defun 02:21:31 Jafet: that's when you throw out your computer and buy a new one 02:21:33 just compiles and loads the current form 02:21:36 instead of like, the whole file. 02:21:46 % format / 02:22:22 whole-file vs single-function isn't relevant, it's what happens to old bindings made at REPL that's relevant 02:22:33 Bike: the real cool emacs stuff starts when you give up on ever writing programs and just go to coq and agda 02:22:43 good, i hate programs 02:22:44 where you get tightly-integrated ~HYPER-INTERACTIVE~ emacs environments 02:22:49 it's pretty much the best 02:23:48 Maybe I should be a teacher instead of a programmer 02:25:34 hey Bike should i sleep 02:25:38 god yes 02:25:45 ok but why 02:25:50 is it so you can have peace 02:26:04 because you're whiting out every few seconds and at this rate you'll become a p-zombie 02:26:20 ok becoming a p-zombie is now on my list of life goals 02:26:30 just before becoming a bicycle (how do you do it???) 02:26:34 read more smullyan then 02:26:38 it's an ancient secret i'm afraid 02:26:45 ancient wisdom of the bicycles 02:27:06 "so for reasons that will remain unclear i have an account on a novell network which uses windows 7 and i wish to get the sam and system files or the password hashes and saved onto a flashdrive" ##asm is a great channel 02:27:15 nice 02:27:53 it's like 98% actual asm questions 2% random scriptkiddies asking for hacking help 02:28:24 plot twist: 40% of the actual asm questions are people trying to wargame. 02:28:31 97% homework questions 02:28:36 well as I understand it the point of assembler is to bypass the security checks in the Micro-Soft Windows operating system to achieve a lower level of control with which to extract the necessary passwords from the system code 02:28:37 Yeah XD but wargame stuff sounds really cool 02:28:46 lol 02:29:15 that is why microsoft do not supply an assembler. it is too risky 02:30:11 do you ever get the feeling someone in the channel is taking your bullshit joke seriously 02:30:17 i'm getting that feeling real strong right now 02:30:37 you think someone in this channel would say "Micro-Soft"? 02:30:48 bike have you SEEN the people in thnis channel 02:30:53 is it me 02:30:56 am i the narc? 02:30:57 it's everyone 02:31:02 oh shit 02:31:12 and noöne (← DIÆRESIS) 02:31:13 -!- wareya has quit (Read error: Connection reset by peer). 02:32:08 -!- wareya has joined. 02:32:10 damn Bike you are so right. i should be sleeping 02:32:14 see 02:32:22 `welcome Bike 02:32:28 Bike: Welcome to the international hub for esoteric programming language design and deployment! For more information, check out our wiki: http://esolangs.org/wiki/Main_Page. (For the other kind of esoterica, try #esoteric on irc.dal.net.) 02:32:33 this is the advantage of the ancient wisdom of the bicycles. 02:33:12 right britland 02:33:50 bike have you ever even seen a britland 02:34:03 Only once, when I was young. 02:34:22 wow you're looking at my time without permission 02:34:27 that's confidential Bike 02:34:38 @localtime elliott 02:34:39 Local time for elliott is Thu Mar 7 02:34:38 2013 02:34:47 GUYS?? SOME PRIVACY??? 02:35:03 what if ghosts find me 02:35:05 /say @localtime had better just ctcp people 02:35:34 @localtime words more words 02:35:51 @localtime words Sgeo lambdabot words 02:35:54 /say hello Bike 02:35:58 good command. 02:36:09 /help 02:36:20 /sleep 02:36:42 02:36:39 -!- Irssi: Unknown command: sleep 02:36:46 my irc client sucks 02:36:53 /msg nickserv ghost elliott 02:37:08 kmc: whats your password 02:38:05 bonghits4jesus 02:38:42 i didn't believe you but tried to ghost you nonetheless 02:38:47 basic principles of professionalism 02:38:54 you sure did 02:39:06 did it tell you 02:39:11 you're one of the worst sleepers i've ever seen. 02:39:16 did it say hey kmc im nickserv the snitchand that elliott guy is the WORST 02:39:16 nobody will guess my password because i used the numeral '4' instead of the word 'four' 02:39:24 yes 02:39:24 you lied again 02:39:25 im so upset 02:39:33 Bike: wait am i asleep 02:39:37 is this all a dream 02:39:39 no not you that other guy 02:39:40 don't you trust me kmc 02:39:42 with your password 02:39:47 no 02:39:48 fuck do i look like zhuangzi to you 02:39:48 fuck you already have mine since i use mosh 02:39:49 hth 02:39:56 and im sure you have some great backdoors in that crypto 02:40:00 and don't forget that sharing is caring 02:40:04 no i just have a backdoor for AES 02:40:06 don't you acre 02:40:08 about anything 02:40:09 'much better' 02:41:04 Bike: what does it feel like to be able to decide to go to sleep and then enact that decision successfully 02:41:25 narcoleptic. 02:41:50 i wish i was narcoleptic 02:41:55 It feels like being dead tired at midnight instead of 2pm 02:42:11 It's... weird. 02:43:06 I think... my sleep schedule has actually been quasinormal lately 02:44:40 im starting to become irritated at everything for existing 02:44:49 especialyl Bike because bicycles feel more like tangible objects than humans to me 02:45:32 FireFlys aren't humans either. 02:45:54 And humans being the dual of pumpkins seems weird 02:46:50 elliott may already be a dualist! 02:47:13 im offended Bike 02:47:29 What if I threw in being a duelist as well? 02:47:58 like galois 02:47:59 Bike: do you know haskell yet 02:48:20 Almost. 02:48:26 Just need to figure out these monad things. 02:48:33 i know some good tutorials for that :-) 02:48:44 (-: 02:48:50 (-:-) fusion 02:48:58 that's sick 02:48:59 superglued them eyeballzzz together 02:50:50 dual & duel smiling power 02:50:55 twice the noses: twice the power 02:51:06 can ü comprehend it 02:51:15 even as a bicycle you have never seen the dawning of a day with this much smiling upon it 02:52:08 Bike my irc client is about to literally explode if you dont tell me to go to bed again 02:53:06 Bike is away: are you asleep yet? 02:53:50 rip Bike 02:53:53 died from being away 02:56:24 (-:-) TIE FIGHTER 02:56:35 combining tie fighter above 02:56:44 yes 02:57:03 bike you told me you were away 02:57:04 did you lie 02:57:19 Bike is away: do you regret? 02:58:37 have joined ##asm 02:59:29 the hacker already left sorry 03:00:06 HACKERS 03:00:33 sgeo you're kind of adorable sometimes i hope you know that 03:02:36 -!- Sanky has quit (Read error: Operation timed out). 03:03:03 -!- Sanky has joined. 03:11:20 -!- monqy has joined. 03:11:49 -!- impomatic has quit (Ping timeout: 246 seconds). 03:20:15 how do i get inferior-haskell to get me a repl? haskell wiki says to C-c C-l something but that seems pretty dumb 03:20:57 C-c C-l 03:21:06 fuck 03:21:09 if yo uwant a repl without a file, you can open a terminal and type ghci 03:21:11 but seriously you want a file 03:21:17 since declarations are like 10x more convenient in a file 03:21:19 and like indentation and stuff 03:21:26 okay yes but i want a repl too 03:21:52 lyah starts with a repl. i gotta go by the book here. 03:22:53 ok so open a terminal 03:22:54 and type ghci 03:22:56 and press enter 03:23:09 alternatively m-x some shit FUCK I NEED TO SLEEP 03:23:13 fine ;_; 03:26:15 oh 4 * -3 isn't allowed, nice 03:26:55 > 4 * -3 03:26:58 Precedence parsing error 03:26:58 cannot mix `GHC.Num.*' [infixl 7] and prefix ... 03:27:01 huh so it isn't 03:27:06 well negative numbers are kin dof a clusterfuck 03:27:08 just put them in parens always 03:27:09 its like lisp 03:27:13 its a long story 03:27:36 it's gross 03:27:37 > ((*) 4 ((-) 3)) 03:27:39 No instance for (GHC.Num.Num (a0 -> a0)) 03:27:39 arising from a use of `e_143' 03:27:39 ... 03:27:43 er what 03:27:45 monqy: whats Your Solution i have my solution 03:28:03 :t (-) 03:28:05 Num a => a -> a -> a 03:28:13 oh. is there like negate somewhere 03:28:15 > negate 4 03:28:16 -4 03:28:20 perfection 03:28:25 elliott: my solution is get rid of unary -, have -4 and such be numeric literal, use negate if you want a function 03:28:39 and in that moment i swear we were all monqy 03:28:42 monqy: and what does (- 3) mean 03:28:50 section 03:28:51 it means - takes two arguments 03:28:55 monqy: u passed the test 03:28:59 monqy: however what does foo x = -x mean????? 03:29:05 > ((*) 4 (negate 3)) 03:29:07 -12 03:29:14 const -x 03:29:17 maybe i'll write all my haskell like this to piss people off pointlessly 03:29:20 (-x is an identifier) 03:29:26 (that's alliteration) 03:29:29 yikes monqy yikes 03:29:29 oh wait 03:29:33 > (- 3) 5 03:29:35 Could not deduce (GHC.Num.Num (a0 -> t)) 03:29:35 arising from the ambiguity chec... 03:29:41 Why is elliott still awake? 03:29:46 good fucking question 03:29:47 yeah i'd probably end up making haskell into agda somehow 03:30:03 mixfix is kind of awful 03:30:05 but also kind of good 03:30:06 god dammit 03:30:07 im going 03:30:07 bye 03:30:09 shit 03:30:10 bye 03:32:17 bye 03:32:25 elliott: narcolepsy is not that fun 03:32:42 shh he's asleep 03:33:27 "You may not have known it but we've been using functions now all along. For instance, * is a function that takes two numbers and multiplies them." this is pretty great 03:37:03 -!- Bike has quit (Quit: Reconnecting). 03:37:20 -!- Bike has joined. 03:39:08 Sgeo: talking about languages is a bad idea hth 03:39:38 In that channel, maybe. 03:39:58 what did sgeo do.... 03:40:20 Mentioned Haskell in ##asm. Or maybe it was someone else but anyway now everything is terrible. 03:40:34 I'm going along with it because I'm also terrible? I don't know. 03:41:16 the person who's arguing with you, I haven't even seen them post anything except off-topic video clips before this o_O 03:41:21 freenode is weird 03:41:56 I wish people wouldn't do the "thing is obviously absurd and useless" for things that obviously exist. It's so uncreative. 03:42:20 > ((1 +) * (2 +)) 3 03:42:22 No instance for (GHC.Num.Num (a0 -> a0)) 03:42:22 arising from a use of `e_1123' 03:42:22 ... 03:44:08 "This is a very simple example of a common pattern you will see throughout Haskell. Making basic functions that are obviously correct and then combining them into more complex functions." good tutorial, this 03:45:56 ok i have a confession: I didn't know haskell actually had a basic if 03:46:16 i thought you used case everywhere 03:48:17 Real functional programmers use if' 03:48:37 if syntax lets you do fun things with indentation though 03:49:10 * Bike hits tab a few times. what 03:51:52 -!- carado has quit (Ping timeout: 256 seconds). 03:54:48 -!- Arc_Koen has joined. 03:55:36 -!- Arc_Koen has quit (Client Quit). 03:55:53 -!- Arc_Koen has joined. 04:03:09 * oerjan assumes that Bike's "what" was followed by " could possibly go wrong?" 04:03:29 "the hell just went wrong", more like. 04:03:59 whatever it was, the tabs swallowed it. 04:18:02 Sgeo: So anyway, I'm curious, what's so alien about assembly? 04:18:48 It's so... low-level 04:18:51 Ish 04:18:57 I don't actually know Assembly really 04:19:07 You didn't learn any in school? 04:19:24 They teach assembly in schools? 04:19:29 (My school sucked) 04:19:46 Yeah, I learned basic ancient MIPS in arch class. 04:20:14 I had an OS class. We wrote in C#, because the professor wrote a computer simulator thingy in C# 04:20:36 Except it wasn't really a good simulator, since you didn't write things like memory management stuff in the assembly of the simulator, you wrote it in C# 04:20:50 we learned MIPS in the architecture class I took, and in another one of the low-level ones we had to learn basic x86 asm and how to debug with gdb, reverse engineer a basic program 04:21:07 like the program was a "bomb" and asked for a series of codes, and we had to use a debugger and look at the asm to figure out each code 04:21:15 and each one had a progressively more obfuscated way of validating the codes 04:21:24 Sgeo: OS is a bit different from arch, I think. 04:21:29 and each time you inputted a wrong code, it'd email the teacher XD 04:21:52 that seems like it'd just annoy them really 04:22:00 the professor would take off a small number of points for each one 04:22:08 (only up to a limited amount, it wasn't major) 04:22:14 it was mainly just to encourage people to figure out how to patch out the emailer 04:22:21 hehe 04:23:00 the OS class didn't have any outright asm but it did deal with a lot of low level stuff, since we were doing, like, paging and threading on a mips simulator 04:23:16 the intro CS class had a toy asm language that they used. that and python were the two intro languages 04:23:29 so um.... I guess there was kinda a good amount of asm 04:24:04 Maybe it's related to Sgeo apparently getting some kind of IT degree, though he sure knows a lot of CS so I get confused about what the heck he was actually taught. 04:25:04 they definitely did a good job at being varied, I mean, there was everything from a class that covered natural deduction and formal logic and stuff (and had no coding!) to scheme and haskell and java and C++ and asm and stuff 04:25:20 and prolog. prolog says No., fiora, you are not getting an A. 04:25:26 Bike, http://www.farmingdale.edu/academics/business/bcs/courses.shtml 04:25:54 I also get confused that you actually lived in a place called Farmingdale, and I can see cows from my fucking window. 04:26:09 "Programming in Visual Basic " oh you poor dear 04:26:30 There ... was a C++ one too 04:26:36 I don't know why it's not there 04:27:03 I don't think we actually had any courses called 'programming in ' 04:27:11 like gosh I can't remember any, I don't think they existed 04:27:14 Oh, they're still there, just not called "C++" 04:27:16 well that seems pretty boring overall 04:27:24 Bike, yes. 04:27:28 hm let me see if there were any "programming in X" classes at my old school 04:27:45 I guess the closest we had to that is the intro course was mostly python, and the data structures class was mostly C++ 04:27:46 Also this is available courses, it's not like all of them were mandatory 04:27:55 'course 04:28:10 Fiora: well you're learning programming, not learning a language, at least nominally. 04:28:22 the compilers course used Lisp but it's not like they'd advertise that as "lisp programming" :P 04:28:23 yeah, that's what I mean 04:28:29 http://schedules.wsu.edu/List/Vancouver/20133/CS 04:28:51 the compiler course I took used haskell but like. only a little bit of it covered haskell 04:28:53 haha advanced topics is concurrency. 04:28:59 the professor kind of expected us to magically figure everything out after the first two weeks <.< 04:29:17 i thought haskell let you do everything magically?? was i wrong 04:29:26 but yeah i have a compilers book that uses SML and it's like dude i don't know SML what is this 04:30:21 related to haskell: is there a way to keep infinite lists from printing forever because that's pretty much not what I want? 04:30:25 so my memories of haskell are like, a mix of "gosh this is hard and oh gosh how do monads work and aghhhhh" and "wow pattern matching is so cool and the type system and omg" 04:30:36 Bike, can turn it into a finite list 04:30:43 take 50 yourList 04:30:50 :( 04:31:05 Or Ctrl-C if that's what you mean, although I don't know what the emacs-y version is 04:31:27 it's still ctrl-c (inferior-haskell is pretty much just a shell anyway) 04:31:59 it's just in CL I can do (setf *print-length* 50) and then when i do something stupid it at least stops. i imagine there's some config option for ghci, just wondering if anybody knows it 04:33:42 Try asking in Haskell? 04:33:58 oops i thought this was #haskell 04:35:59 close enough, right? XD 04:37:15 Looks like lambdabot just puts an ellipsis there after some characters with no regard to anything. 04:38:24 -!- DHeadshot has quit (Read error: Connection reset by peer). 04:38:30 -!- DH____ has joined. 04:39:53 -!- DH____ has quit (Read error: Connection reset by peer). 04:39:59 -!- DHeadshot has joined. 04:54:12 -!- Jafet has quit (Quit: Leaving.). 04:54:12 -!- DHeadshot has quit (Read error: Connection reset by peer). 05:05:46 -!- monqy has quit (Quit: hello). 05:18:24 -!- oerjan has quit (Quit: leaving). 05:41:53 -!- sebbu2 has quit (Ping timeout: 248 seconds). 06:10:05 -!- Jafet has joined. 06:33:58 -!- DHeadshot has joined. 06:34:02 -!- DHeadshot has quit (Remote host closed the connection). 06:34:47 -!- DHeadshot has joined. 06:41:41 -!- sebbu has joined. 06:41:41 -!- sebbu has quit (Changing host). 06:41:41 -!- sebbu has joined. 06:47:29 -!- sebbu has quit (Ping timeout: 248 seconds). 06:49:57 -!- TeruFSX has quit (Ping timeout: 276 seconds). 06:59:13 -!- applicative_ has joined. 06:59:42 -!- epicmonkey has joined. 07:07:48 -!- sebbu has joined. 07:07:48 -!- sebbu has quit (Changing host). 07:07:48 -!- sebbu has joined. 07:09:42 -!- FreeFull has quit. 07:11:19 fungot 07:11:37 `quote fungot 07:11:50 11) GregorR-L: i bet only you can prevent forest fires. basically, you know. \ 14) Finally I have found some actually useful purpose for it. \ 15) oerjan: are you a man, if there weren't evil in this kingdom to you! you shall find bekkler! executing program. plea 07:15:45 -!- sebbu has quit (Ping timeout: 248 seconds). 07:22:08 -!- applicative_ has quit (Ping timeout: 245 seconds). 07:29:33 -!- fungot has joined. 07:29:34 I AM SUMMONED 07:36:06 -!- Bike has quit (Ping timeout: 276 seconds). 07:38:06 -!- impomatic has joined. 07:38:41 -!- DHeadshot has quit (Ping timeout: 248 seconds). 07:46:41 -!- epicmonkey has quit (Ping timeout: 248 seconds). 08:03:11 -!- monqy has joined. 08:03:50 Spell of summon fungot 08:03:50 Jafet: abstraction by not explicitly renaming anything will interact very poorly and have strange bugs. in that time 08:05:10 -!- nooga has joined. 08:09:40 -!- azaq23 has joined. 09:06:24 -!- epicmonkey has joined. 09:26:55 -!- nooga has quit (Ping timeout: 252 seconds). 09:57:40 -!- nooga has joined. 10:11:59 http://ideone.com/luw5I2 that was kind of funny. (It doesn't do that on *my* 4.7.2.) 10:12:16 (I know it's probably a bad, I was just curious.) 10:15:07 that's pretty amazing 10:51:25 -!- carado has joined. 11:25:53 -!- azaq23 has quit (Quit: Leaving.). 12:12:49 -!- cookienugget has joined. 12:13:38 ah, I remembered the lang wih the arrows, it was ziim 12:42:22 -!- oonbotti has joined. 12:45:21 -!- monqy has quit (Quit: hello). 12:52:14 -!- KingOfKarlsruhe has joined. 13:15:12 :( I didn't eat dinner yet and it's now 8:15 AM 13:15:16 I did fall asleep 13:15:17 ugh 13:33:11 -!- boily has joined. 13:33:55 -!- metasepia has joined. 13:46:18 -!- monqy has joined. 14:02:35 -!- Phantom_Hoover has joined. 14:25:04 -!- cookienugget has quit. 14:26:37 -!- carado has quit (Quit: Leaving). 14:26:50 -!- carado has joined. 14:31:40 -!- copumpkin has quit (Ping timeout: 240 seconds). 14:32:12 -!- copumpkin has joined. 14:39:11 -!- cookienugget has joined. 14:46:25 -!- copumpkin has quit (Ping timeout: 248 seconds). 14:47:01 -!- copumpkin has joined. 15:02:45 -!- oklopol has joined. 15:07:14 Eep 15:07:34 Another company wants to pay me more than Ipreo (if they hire me), but it's more of a temporary position 15:36:03 fungot 15:36:03 quintopia: i do not know 15:36:21 are you quoting zzo38 at me fungot 15:36:21 quintopia: i don't believe in wimpy shortcut functions. let them eat their ice cream or water ice on a small board in my case 15:37:51 quintopia: hi! 15:38:00 how are you boily 15:38:03 fungot: zzo38-hi! 15:38:03 boily: what about naivity, then? 15:38:54 quintopia: hungry. some vietnamese demon has been visiting my mind and urging me to eat pho. 15:39:15 fungot: don't you dare undiaerese naïvity at me, you rambunctious bot! 15:39:16 boily: apparently lostchild doesn't msn, since that idea doesn't strike me as being overconfident n00b... so i'm trying to figure out 15:39:16 boily: i think this demon has your best interests at heart 15:39:49 boily: it's spelled naïvete actually. i think fungot just misspelled nativity 15:39:49 quintopia: you did it right. " would somebody please find a gimp irc channel and try to infer types 15:40:30 even fungot agrees i fixed his mistake 15:40:30 quintopia: how is it 15:40:38 excellent fungot 15:40:39 quintopia: if i avoid any dependence whatsoever on state held in the surrounding emacs instance, the repl didn't fnord and had these bug guys called fnord 15:50:09 -!- nooodl has joined. 15:50:34 I am now addicted to http://www.bonkersworld.net/ 15:53:30 https://developers.google.com/events/io/ 15:53:34 click the buttons 15:56:33 after the wobbly shapes, a game. 15:58:58 I don't get the wobbly shapes. It's not asking to input 13. I got the answer, but only because I was quasi-randomly clicking around 16:00:11 Oh, there are all several ones 16:00:15 11010011 16:00:29 13,3 16:01:10 ~eval 0xd3 16:01:13 Error (1): 16:01:23 I never like Simon as a game 16:02:57 I'm used to Simon ending at 10 16:03:05 ~eval 0xd3 16:03:06 211 16:03:06 Because it was a puzzle in Mutation 16:03:11 (I usually cheated) 16:14:56 what language is metasepia 16:18:44 how do you cheat 16:18:47 write it down? 16:19:46 -!- Taneb has joined. 16:20:18 Yes 16:20:35 Since it's also a chat thing, I just typed the number of each one into the chat bo 16:20:36 box 16:22:21 Help 16:22:30 I've bought a vaguely popular album 16:22:46 how did you buy it? 16:22:51 Amazon 16:22:58 digital download? 16:23:06 Nah, ordered CD 16:23:19 so it's not too late to cancel the order and pirate it! 16:23:26 No, it is! 16:23:33 I'm holding the CD! 16:23:36 Well, I'm not 16:23:39 I'm playing the CD 16:23:45 And I've got the CD case here 16:24:18 nooodl: haskell. 16:24:42 -!- Bike has joined. 16:26:16 On another note, I'm beginning to really enjoy Schlock Mercenary 16:26:26 I'm up to.. February 2004 16:26:31 At two pages a day 16:27:18 oh okay, so in a few more decades you might be caught up 16:28:18 Perhaps 16:30:40 I'm a tad confused how RhythmBox can only work out the length of one track 16:30:50 And it's track 7 16:32:11 CDs actually only store the length of track numbers that are multiples of 7, good cd players use sofisticated heuristics to figure out the rest of it 16:39:12 Also, I found out recently that the E in "Ngevd" doesn't stand for elliott, after all. 16:39:16 It stands for eliot. 16:39:20 :( 16:39:53 pretty sure the e stands for ngevd, it's a recursive acronym 16:40:57 olsner, that's what the G stands for 16:41:06 I'm not Nathan Ngevd Ngevd van Doorn 16:41:09 the g? there is no g in ngevd 16:41:17 it starts with a ng 16:42:49 Nguyen Nguyen Engevd van Doorn? 16:43:50 NGevd ngEvd ngeVd ngevD 16:44:23 Taneb: What is ngevd? 16:44:37 g'eegan 16:44:43 Let's ask HackEgo 16:44:45 `? Ngevd 16:44:50 ​,WAc;ME6rH7ysF'U@?Dvij\]$5iהV3"4UٛZ5K߲b3QdW#!kftPڭYtDnF!men}$.Ke=֜7,͕tE#CxZ(]zϤ82msċXA.g•G 16:44:55 Thanks, HackEgo! 16:45:02 shachaf, that's Ngevd 16:45:21 -!- Phantom_Hoover has quit (Read error: Connection reset by peer). 16:45:28 I really should correct that italics-screen-urxvt combo bug. 16:46:47 the what ? 16:46:58 -!- Phantom_Hoover has joined. 16:47:15 italics are rendered as reverse video in my terminal when I'm in screen, which means all the time. 16:47:27 :P 16:47:43 Phantom_Hoover, there's a stronghold on the Minecraft server 16:47:53 why is most of your terminal text in italics ? 16:49:00 -!- hagb4rd|lounge has joined. 16:49:45 cookienugget: it usually isn't, as normal text is. I'm just always not far away from a screen session, and when someone ngevds, I like it to be properly rendered. 16:49:52 I mean, it's a matter of honour. 16:50:40 :D 16:50:56 Taneb: What does the nge stand for? 16:51:36 "Nathan George Eliot" 16:52:31 Not GNU Eliot 16:52:40 Alas, no 16:54:10 Partially because I am annoyed by how insistent GNU is on tacking itself onto Linux's name when it's used as an OS 16:54:23 Partially, because, as the ancient war-ballad goes, 16:54:27 "That's not my name" 16:54:31 "That's not my name" 17:07:28 GLASSES PEOPLE 17:07:29 INSTRUCT ME 17:07:31 HOW DO I GLASSES 17:07:51 Gregor: Directly. 17:08:05 That advise does not help. 17:08:10 *advice 17:08:15 I can't even type properly with these fool things. 17:09:06 Gregor: OK... Indirectly? 17:10:05 Gregor, have you been playing Sburb and combining a computer with your glasses 17:10:39 Noooooo 17:11:27 Does Gregor Homestuck? 17:11:31 If not, he should. 17:11:38 You people. 17:11:40 You are not helpful. 17:11:59 No, he should not. 17:12:09 Gregor: To be fair your question wasn't helpful either. 17:12:15 help Taneb help you 17:12:25 I have new glasses. 17:12:36 Where by "new" I mean "I have never worn any sort of vision correction in my life" 17:12:44 I... don't get it. 17:12:48 I don't know how to glasses., 17:13:15 Unfold them, so you get two pointing things hanging out. Put on such that pointy things are above ears 17:13:26 Yeah, I got that much. 17:13:44 Gregor: Oh, I remember that. 17:13:51 Gregor, the pointy things hanging out point downwards 17:13:56 * shachaf got glasses -- ~6 years ago? 17:14:01 A little less. 17:14:13 Well, they hook downwards 17:14:23 shachaf: HOW 17:14:26 shachaf: HOW DO YOU GLASSES 17:14:36 Gregor: It sort of happens automatically. 17:14:38 Gregor, try to walk around with them on 17:14:39 But it takes a while. 17:14:42 shachaf: Or perhaps more importantly, does the adjustment phase end? Because right now everything is much clearer without them. 17:14:49 Taneb: They're not general-purpose, walkin' around sort of glasses. 17:14:52 Clearer without them? 17:14:58 shachaf: Yes. 17:15:01 Oh, I think we're talking about different things. 17:15:13 Mine were general-purose, walkin' around sort of glasses. 17:15:24 Erm, they should be clearer when worn, if a bit confusing 17:15:28 I think 17:15:29 By my understanding, the concept is the same X-D 17:15:37 Then again, the glasses I've worn aren't really that strong 17:15:38 I got glasses some 18 years ago, I think. 17:15:58 They're not general-purpose because their focal areas (or whatever these are called) are optimized for computer use, not general use. 17:16:06 But they're still supposed to be glasses X-D 17:16:18 HOLY CRAP IT IS CLEARER WITH THEM ON 17:16:36 zomg 17:16:38 It's just hard to know where/how to look at things. 17:16:38 Yes, that's supposed to happen. 17:16:44 Gregor: You're missing out on the experience of looking at trees! 17:16:55 shachaf: I can look at trees without glasses >_> 17:17:04 Or I can play Minecraft and look at trees with glasses. 17:17:50 Gregor: The experience of seeing Minecraft-looking trees turn into real-world-looking trees when you put your glasses on. 17:18:00 shachaf: My eyes are nowhere near that bad. 17:18:10 Mine aren't either. 17:18:16 My trees are much less cubical even without glasses. 17:18:18 But it was still quite an experience, looking at trees! 17:18:23 Actually, I have 20/20 vision, I just get eyestrain due to focal issues. 17:18:24 The resolution is approximately Minecrafty, though. 17:18:31 Hallways. It's hallways that get me. 17:18:56 I get this "holy crap the world is so bright and sharp" feeling every time I clean my glasses, though. (I can manage that maybe once a month, so they're quite... opaque immediately before.) 17:18:58 I'm not good at reading signs 17:18:59 My right eye's fine, my left eye isn't. So it's always a trip being able to have real depth perception 17:22:34 I've got glasses of strength somewhere around -4.0 to -4.5, which is I guess reasonably a lot but not terribly a horribly much. 17:25:58 Gregor: Have you considered a monocle? You seem a monocle kind of a guy. 17:26:09 Perhaps even two monocles. 17:26:13 lol 17:26:24 Maybe two monocles connected with some kind of a bridge over the nose. 17:26:25 And for efficiency, the monocles can be attached via the nose. 17:26:29 An—damn X-D 17:26:30 preflex: seen kmc 17:27:17 Also, a monocle sounds more appropriate for "computer stuff", too. Glasses for general use, a monocle for operating a computer, that's the general rule. 17:29:19 a monocle, a smoking, a top hat, white gloves and maybe a kind of sword cane 17:29:40 -!- hagb4rd|lounge has changed nick to hagb4rd. 17:29:42 co classy 17:29:46 *so 17:31:07 don't you thinK? 17:31:44 hichaf 17:32:20 -!- Sgeo has quit (Read error: Connection reset by peer). 17:33:23 -!- Sgeo has joined. 17:33:44 "a smoking" 17:33:47 kmc: I ended up taking M60 to the Harlem-125th Metro-North station. 17:34:08 Then I got on the express train instead of the local train, and went to Yonkers. 17:36:15 Is that like being bonkers, except with Y? 17:39:24 Surprisingly, yes. 17:40:02 gregor: my dictionary says "tuxedo" or "dinner jacket". for that i wonder why we name it "smoking" here in germany. 17:40:21 "Smoking jacket" is a thing. 17:40:28 ok 17:40:31 Perhaps "smoking" is a German shortform of that? 17:40:36 it is yes 17:40:44 Well there ya go X-D 17:40:50 cool :) 17:41:01 thx 17:41:35 Actually, I have a top hat and white gloves already. 17:41:48 So all I need is to saw these glasses in half and get a smoking jacket. 17:42:11 And all you need to get a smoking jacket is a book of matches and a regular jacket. 17:42:20 Indeed! 17:45:47 -!- iamcal_ has quit (*.net *.split). 17:45:47 -!- FireFly has quit (*.net *.split). 17:48:26 wtf if io 17:48:49 also is it a game? i have a hard time finding something meaningful to do in the second level. 17:49:48 oh there are multiple second levels. 17:49:49 k 17:49:56 just like Sgeo said, i suppose. 17:51:07 -!- FireFly has joined. 17:52:03 -!- FreeFull has joined. 17:52:33 -!- KingOfKarlsruhe has quit (Ping timeout: 248 seconds). 17:53:35 shachaf: cool 17:54:03 oh you were not trying to get to yonkers were you 17:54:19 -!- sebbu has joined. 17:54:19 -!- sebbu has quit (Changing host). 17:54:20 -!- sebbu has joined. 17:54:27 No, I was trying to get to Spuyten Duyvil. 17:54:35 did you get back? 17:55:07 The conductor wrote me an impromptu ticket back. 17:57:55 http://www.youtube.com/watch?v=H6TVVP-gy1Q 17:57:58 <3 this song 17:58:38 -!- carado has quit (Remote host closed the connection). 18:02:14 -!- carado has joined. 18:15:00 -!- nooga has quit (Ping timeout: 245 seconds). 18:28:06 -!- Taneb has quit (Ping timeout: 252 seconds). 18:34:36 -!- Taneb has joined. 18:35:15 Maybe I could understand quantum computing if I learn the monad that someone wrote for it 18:37:20 I think a quantum computing monad'd be more useful on a quantum computer 18:41:32 -!- monqy has quit (Quit: hello). 18:42:59 It comes with a simulator 18:52:17 -!- epicmonkey has quit (Ping timeout: 248 seconds). 19:03:37 Program received signal SIGTRAP, Trace/breakpoint trap. 19:03:39 0x77515655 in ntdll!RtlpSetUserPreferredUILanguages () from C:\Windows\system32\ntdll.dll 19:03:46 the hell is that o_O 19:09:51 someone forgot a breakpoint. 19:15:16 warning: Heap block at 00530F60 modified at 00530F6C past requested size of 4 19:15:30 I must be doing something horribly wrong then :D 19:15:52 Trivia: it's difficult to guess how to code in C++ 19:24:26 -!- AnotherTest has joined. 19:25:49 holy shit :( 19:26:10 but interesting that it worked :) 19:26:12 I tried and got 14 pages of errors 19:26:20 struct foobar* = malloc(sizeof(struct foobar*)); 19:26:24 -!- Jafet has quit (Ping timeout: 252 seconds). 19:27:13 mroman_: that looks like undefined behavior 19:27:13 AnotherTest: You have 3 new messages. '/msg lambdabot @messages' to read them. 19:27:17 not sure if it is though 19:27:26 That looks like a parse error. 19:28:01 -!- aloril has quit (Ping timeout: 256 seconds). 19:28:04 struct foobar *foo = malloc(sizeof *foo); // may be what you wanted 19:28:58 Taneb: how do you define a page? 19:29:13 pikhq_: struct foobar* foo = malloc(sizeof(foo*)); is what I did 19:29:15 Probably bigger than the standard size 19:29:28 Which is wrong 19:30:11 Yeah, that's still a parse error. 19:31:09 -!- Jafet1 has joined. 19:31:26 Okay, if I actually printed this out, it's be just over 9 pages 19:32:12 Taneb: what font size? 19:32:18 and what font? 19:32:33 How much padding? 19:34:22 Size 10, liberation mono, chrome's default 19:34:42 10mm at top, 14.5mm at bottom,10mm at sides 19:34:57 pikhq_: foo* -> foobar* 19:35:20 + struct 19:38:47 also "foobar"->foobar is apparentely legal 19:39:08 not really legal. 19:40:35 Taneb: distance between lines :)? 19:40:53 Look, do you just want me to link it to you? 19:41:00 no, it's fine 19:42:07 -!- aloril has joined. 19:42:25 -!- Phantom_Hoover has quit (Read error: Connection reset by peer). 19:42:50 http://sprunge.us/SBTS 19:44:40 Enya literally lives in a castle. 19:46:16 -!- iamcal_ has joined. 19:46:29 Michael Flatley also wanted that castle 19:46:34 I... just... wat. 19:50:55 -!- Phantom_Hoover has joined. 20:12:50 -!- epicmonkey has joined. 20:12:58 -!- nooga has joined. 20:25:21 -!- nooodl_ has joined. 20:28:54 -!- nooodl has quit (Ping timeout: 264 seconds). 20:32:06 -!- Sgeo has quit (Quit: Going to go do a pre-interview screening things). 20:36:56 -!- AnotherTest has quit (Quit: Leaving.). 20:40:13 -!- oerjan has joined. 20:52:48 gregor: my dictionary says "tuxedo" or "dinner jacket". for that i wonder why we name it "smoking" here in germany. <-- it's smoking in norwegian too fwiw 20:54:52 -!- Sgeo has joined. 20:55:42 Well, that was easy 20:58:32 does that mean you have a job now? 20:59:26 It was just a "technical pre-screen" 21:01:39 aka an x-ray demanded by their insurance company, if you pass you get a _damn_ good health insurance 21:01:45 "What is 1+3?" "If I give you a computer, a hammer and a screwdriver, which tool would you use to open the computer?" 21:02:34 the hammer is nice for when the screwdriver isn't working properly, right? 21:02:41 Gregor, 1+3 is 1+3. Personally I'd use the computer. 21:02:43 I'd use the computer to open it. 21:02:51 darn. Taneb is quicker than me. 21:03:03 boily, great minds think alike! 21:03:36 great minds sometimes skip the most obvious jokes. 21:03:49 It was a thing where they asked questions and then they see exactly what you type and delete etc 21:03:49 s/skip/discard/ 21:04:13 I actually have a link to the questions and my answers, but don't know if it's a good idea to just go around sharing it 21:04:17 oerjan, why discard the most obvious 21:04:35 Discard the most subtle, because nobody's gonna get thsoe 21:04:51 but neither was subtle. 21:04:59 oerjan: it's the end of the day, and I'm only on my... *count on his fingers*... around 4th cup of coffee, ±2. 21:05:11 oerjan: my brains aren't working anymore. 21:05:44 i'm on my first half cup of coffee. i didn't want more as my stomach isn't too well. 21:06:14 I'm on my zeroth 21:08:22 @tell quintopia Btw, this lunch's pho was good. I did well to listen to my Vietnamese demon. 21:08:22 Consider it noted. 21:08:42 @tell boily sounds good. but i'm gonna have fried chicken! ha 21:08:42 Consider it noted. 21:13:54 my demon must be from somewhere else, it only wants me to eat children, although none of the restaurants around here serve it. 21:14:34 *serves 21:15:03 -!- Arc_Koen has quit (Quit: Arc_Koen). 21:15:50 -!- copumpkin has quit (Ping timeout: 245 seconds). 21:16:30 -!- copumpkin has joined. 21:21:35 oerjan: *serve, "none" uses plural verbs. 21:23:05 is this one of those british/american things? 21:24:11 No. 21:24:21 This is one of those correct/incorrect things. 21:24:29 "serve" is correct, and "serves" is incorrect. 21:24:32 "Usually, a singular verb follows NONE, even if the noun following it is plural." 21:25:06 Um... no? What completely-broken source are you getting that from? 21:26:01 one of the google summaries for "none verb subject agreement" 21:27:38 “Usually, a singular verb follows NONE, even if the noun following it is plural. However, in 21:27:38 conversational English, a plural noun has become acceptable.” 21:27:40 Ugh 21:27:42 they both seem right to me 21:27:49 > :1:1: parse error on input `<' 21:27:51 can't find file: L.hs 21:27:53 http://grammar.ccc.commnet.edu/grammar/sv_agr.htm is more subtle. 21:27:56 oh come on 21:27:58 > :1:1: parse error on input `<' 21:28:00 :1:1: parse error on input `<' 21:28:06 i think "serves" is what I taught as a tutor 21:28:07 quintopia: You have 4 new messages. '/msg lambdabot @messages' to read them. 21:28:13 Sgeo: nice 21:28:19 @messages 21:28:19 elliott asked 2m 27d 14h 55m 5s ago: is the description for quintopia_a on the strategies page up-to-date for space_hotel? 21:28:19 ais523 said 2m 14d 6h 9m 12s ago: I made a program based on what we discussed, and a few other concepts too; see ais523_stealth 21:28:19 ais523 said 27d 18h 42m 27s ago: I just beat space_hotel by over 10 score :) Can you remember when anticipation2 topped the hill (2012, or 2013)? I want to write about it and about omnipotence 21:28:19 boily said 19m 57s ago: Btw, this lunch's pho was good. I did well to listen to my Vietnamese demon. 21:28:32 24 days huh 21:28:34 ) foobar 21:28:34 Sgeo: |value error: foobar 21:28:43 ) Sgeo: |value error: foobar 21:28:44 Sgeo: |spelling error 21:28:44 Sgeo: | Sgeo: |value error: foobar 21:28:44 Sgeo: | ^ 21:28:50 Does Mannerisky still visit #esoteric? 21:28:50 ) Sgeo: |spelling error 21:28:51 Sgeo: |spelling error 21:28:51 Sgeo: | Sgeo: |spelling error 21:28:51 Sgeo: | ^ 21:29:09 damn you, multiline errors 21:30:57 > Hmm 21:30:58 Not in scope: data constructor `Hmm' 21:31:12 > Not in scope: data constructor `Not' 21:31:13 :1:5: parse error on input `in' 21:31:19 darn 21:31:56 > fnord 21:31:58 can't find file: L.hs 21:32:01 > fnord 21:32:02 Not in scope: `fnord' 21:33:19 > show 21:33:20 No instance for (GHC.Show.Show (a0 -> GHC.Base.String)) 21:33:21 arising from a u... 21:33:41 oh well 21:33:44 > Nothing 21:33:46 Nothing 21:33:46 Should make a Haskell program to make error quines 21:33:48 it's a quine! 21:34:14 nooodl_: but not an error 21:34:16 remotely functional languages really take the fun out of quines :'( 21:34:19 > error "hm" 21:34:21 *Exception: hm 21:36:25 > :1:1: parse error on input `<' 21:36:26 :1:1: parse error on input `<' 21:36:30 that's all i can find :( 21:37:08 i wonder if there's any error quines that aren't parse errors 21:37:35 > not in scope 21:37:37 :1:5: parse error on input `in' 21:37:42 > not scope 21:37:44 Not in scope: `scope' 21:37:57 That in causes parse errors, unless you can find a way to work around it 21:38:11 Or find an error other than not in scope errors 21:38:24 > No instance for (GHC.Show.Show (a0 -> GHC.Base.String)) 21:38:25 :1:4: parse error on input `instance' 21:38:27 -!- carado has quit (Remote host closed the connection). 21:38:38 Can't use no instance errors 21:38:43 > fromJust Nothing 21:38:45 *Exception: Maybe.fromJust: Nothing 21:38:53 That would probably be a parse error 21:40:30 let's say you have a corpus of text to train an AI with 21:40:53 > (:1:59: parse error (possibly incorrect indentation) 21:40:55 :1:59: parse error (possibly incorrect indentation) 21:40:55 And let's say that corpus of text is fungot's collected wisdom. 21:40:56 Sgeo: i don't even have to be loaded. thus loading the srfis is implementation-dependant and not portable for every goddamn thing we suggest. i've just got home and called me away from my reading list for too long 21:40:56 how do you take an input sentence and determine which words are "the most interesting"? 21:41:22 look for the least frequent ones? 21:41:25 -!- carado has joined. 21:41:46 Interesting to what? For what? 21:43:04 my guess would be that you lookup each word from the input sentence in your corpus and determine their frequency of occurence, then calculate the standard deviation of all the words' frequencies and accept only words below a threshhold 21:43:08 > can't find file: L.hs 21:43:08 > can't find file: L.hs 21:43:10 mueval-core: L.hs: removeLink: does not exist (No such file or directory) 21:43:10 Not in scope: `can't'Not in scope: `file'Not in scope: `L.hs' 21:43:16 oops 21:43:22 close enough. you get the idea 21:44:19 Bike: interesting for the purposes of making a passable chat bot that can reply to things 21:44:53 > 1*undefined 21:44:55 *Exception: Prelude.undefined 21:45:02 > e*undefined 21:45:04 e * *Exception: Prelude.undefined 21:45:05 onedefined 21:45:14 hth 21:45:45 > e 21:45:47 e 21:45:49 :t e 21:45:51 Expr 21:48:12 I think you want 2 markov models 21:48:18 > var$ap(++)show"var$ap(++)show" 21:48:19 so that you can construct a sentence "around" a given keyword 21:48:21 var$ap(++)show"var$ap(++)show" 21:48:24 the stuff before and the stuff after 21:48:45 but that only works with one keyword. not sure how you could incorporate multiple keywords into this process 21:48:45 @type var 21:48:47 String -> Sym a 21:49:50 > var$(++)<*>show$"var$(++)<*>show$" 21:49:52 var$(++)<*>show$"var$(++)<*>show$" 21:50:39 -!- DHeadshot has joined. 21:52:52 :t fun 21:52:53 FromExpr a => String -> a 21:52:54 13:16 > mueval: recoverEncode: invаlid argument (invalid character) 21:53:03 > mueval: recoverEncode: invаlid argument (invalid character) 21:53:04 mueval: recoverEncode: invalid argument (invalid character) 21:53:08 Sadly it's not a real quine. 21:53:17 > join fun"join fun"::Expr 21:53:18 join fun "join fun" 21:53:36 > join fun"join fun" 21:53:38 Ambiguous type variable `a0' in the constraints: 21:53:38 (GHC.Show.Show a0) 21:53:38 ... 21:53:42 sad 21:54:08 shachaf: because of the extra space? 21:54:15 :t expr 21:54:17 Expr -> Expr 21:54:18 No, because it's different text. 21:54:19 oh 21:54:42 > expr$join fun "expr$join fun" 21:54:44 expr$join fun "expr$join fun" 21:55:34 > expr.join fun$ "expr.join fun$" 21:55:36 expr.join fun$ "expr.join fun$" 21:57:16 -!- Taneb has quit (Quit: Leaving). 21:58:36 :t sym 21:58:38 Not in scope: `sym' 21:58:38 Perhaps you meant one of these: 21:58:38 `sum' (imported from Data.List), 22:02:27 > "(++)??show"&(++)??show 22:02:29 Couldn't match expected type `a0 -> b0' 22:02:29 with actual type `[GHC... 22:02:35 :t (&) 22:02:37 a -> (a -> b) -> b 22:02:46 -!- Phantom_Hoover has quit (Remote host closed the connection). 22:02:51 :t (??) 22:02:52 Functor f => f (a -> b) -> a -> f b 22:04:32 erm 22:04:53 > "&([show,id]=<<)"&([show,id]=<<) 22:04:54 Couldn't match expected type `GHC.Types.Char -> [b0]' 22:04:55 with act... 22:05:13 @hoogle (??) 22:05:14 keyword ?? 22:05:15 oh hm 22:05:26 wtf lambdabot 22:05:42 > "&(??)[show,id]"&(??)[show,id] 22:05:44 ["\"&(??)[show,id]\"","&(??)[show,id]"] 22:05:47 -!- boily has quit (Quit: Poulet!). 22:05:48 oops 22:05:53 -!- metasepia has quit (Remote host closed the connection). 22:06:36 > "&var.sequence[show,id]"&var.sequence[show,id] 22:06:37 Couldn't match expected type `GHC.Types.Char' 22:06:37 with actual type... 22:06:50 somehow i don't seem to get this 22:06:55 Sgeo: it's from lens 22:08:00 -!- Phantom_Hoover has joined. 22:08:46 > (0$0&) 22:08:47 The operator `Control.Lens.Combinators.&' [infixl 1] of a section 22:08:47 must... 22:12:13 > "&var&(??)join$fun.show.show" &var&(??)join$fun.show.show 22:12:14 Ambiguous type variable `a0' in the constraints: 22:12:14 (GHC.Show.Show a0) 22:12:14 ... 22:15:59 > (0$0=<<) 22:16:00 The operator `Control.Monad.=<<' [infixr 1] of a section 22:16:00 must have low... 22:16:05 > (0$0>>=) 22:16:06 The operator `GHC.Base.>>=' [infixl 1] of a section 22:16:06 must have lower pr... 22:17:27 > (0$0??) 22:17:29 The operator `Control.Lens.Combinators.??' [infixl 1] of a section 22:17:29 mus... 22:21:40 -!- momech has joined. 22:24:31 > "& fun.show <*> expr & expr" & fun.show <*> expr & expr 22:24:32 Couldn't match expected type `[GHC.Types.Char]' 22:24:32 with actual ty... 22:24:57 > (0$0<*>) 22:24:58 The operator `Control.Applicative.<*>' [infixl 4] of a section 22:24:58 must ha... 22:25:25 > "& fun.show <*> expr & expr" & fun.show <*> expr 22:25:26 Couldn't match expected type `[GHC.Types.Char]' 22:25:26 with actual ty... 22:25:36 > fun.show <*> expr 22:25:38 No instance for (GHC.Show.Show 22:25:38 (Debug.SimpleReflect.Exp... 22:25:42 :t fun.show <*> expr 22:25:43 FromExpr b => Expr -> b 22:25:58 doh 22:26:26 > "& fun.show <*> var & expr" & fun.show <*> var & expr 22:26:28 "& fun.show <*> var & expr" & fun.show <*> var & expr 22:28:03 there you go. 22:28:54 -!- nooga has quit (Ping timeout: 276 seconds). 22:39:03 -!- DHeadshot has quit (Read error: Connection reset by peer). 22:39:08 -!- DH____ has joined. 22:42:59 -!- momech has left (":wq"). 22:43:14 -!- ais523 has joined. 22:53:11 -!- nooga has joined. 23:02:19 -!- TeruFSX has joined. 23:45:12 -!- epicmonkey has quit (Ping timeout: 272 seconds). 23:47:55 03:32:25 elliott: narcolepsy is not that fun 23:48:00 Fiora: it sounds convenient! 23:48:13 it really isn't 23:48:31 well at least it couldn't make my sleep schedule any worse :P 23:48:55 There are headphones that adjust volume to prevent hearing loss, right? 23:49:27 not on meds: feeling really tired all day, having trouble focusing and thinking well, falling asleep for random time periods in the evening, totally throwing my sleep schedule off, and making me end up awake at 12 AM to 5 AM which is... when none of my friends are awake and then it's all lonely 23:49:55 Make differently-scheduled friends. 23:50:04 ok narcolepsy probably wouldn't be an improvement 23:50:14 on meds: hyperfocused, even more anxiety than usual, nervousness 23:50:14 but my sleep schedule is roughly that bad to start with 23:50:42 how about a special kind of narcolepsy where it only makes you go to sleep when you should be sleeping, i could go for that 23:51:02 hi elliott 23:51:17 (to be fair I'm not sure which I'd prefer, not being able to sleep is pretty awful too) 23:51:33 did you see my Inv isomorphisms thingy; if so: was it really related to lenses somehow 23:51:36 and it's easy to emulate: try to nap around 5 hours after taking meds <.< 23:52:10 elliott, I can confirm that it is possible to fix sleep cycles 23:52:18 My current sleep cycle is quite good 23:52:47 in college sgeo only got irrational time intervals of sleep. very unpleasant 23:52:55 i could probably fix mine with enough dedication and willpower but the problem is that i am by far the most productive when i should be sleeping 23:53:01 so it is kind of bad either way :( 23:53:23 elliott, lose a few days of productivity so that you can be productive when you shouldn't be sleeping 23:53:23 s/dedication/medication/ 23:53:26 good typo 23:53:47 it is quiet at night 23:54:09 noise and distractions are a things that happens mostly when others are awake 23:54:11 Sgeo: in my experience I am pretty much only ever motivated to/good at programming late at night 23:54:17 I guess I could wake up really early 23:54:22 s/ a / / 23:54:24 are you judging the programming late at night also 23:54:43 Bike: what are you implying!!! 23:54:47 also did you learn Haskell yet 23:54:57 g'elliott 23:55:14 i think i've got most of it now what are these "type" things 23:55:15 I'm slowly recovering from my lackofsleeping. 23:55:17 @hoogle zipWithin 23:55:17 No results found 23:55:25 @hayoo needs to be a command 23:55:25 Unknown command, try @list 23:55:33 or more concretely: i'm curious how cases where one of the cases is an object instead of a constructor pattern works 23:55:34 Bike: Types are a lie. 23:55:48 does it get lifted to a typeish thing 23:55:53 Bike: what do you mean by object? 23:56:19 Just like the basic case n of {0 -> 1; n -> n * fact (n - 1)} 23:56:32 (I'm assuming Integer isn't actually defined as blablapeano) 23:56:42 Pretend that numbers are constructors 23:56:43 Which part of that is the object? 23:56:48 The zero. 23:57:01 Oh. 23:57:05 object is a bad word for that 23:57:10 Pattern-matching on numbers is just a special case. 23:57:11 it seems like you're saying what if it's a "primitive type" 23:57:15 It gets turned into == 23:57:15 in this case it just becomes 23:57:21 if n == 0 then 1 else n * fact (n - 1) 23:57:28 (Except it gets turned into something else with GHC and Ints.) 23:57:31 which is about number literals yeah 23:57:42 same for something like Char or whatever I guess 23:58:04 note that that "case n" works even if n is a peano numeral or whatever! 23:58:07 as long as you have a Num instance 23:58:10 and an Eq instance 23:58:12 But it works for case x of {[4] -> [5]; x:xs -> xs} too, I mean. 23:58:20 Char is not overloaded so its definition doesn't need to mention (==) 23:58:32 Bike: Yes, because you're pattern-matching on a list and then on a number. 23:58:45 And we've already said what pattern-matching on a number is like. 23:58:45 Or some thing not involving typeclasses not that that's probably actually relevant 23:58:59 Bike: data [a] = [] | a : [a] 23:59:04 data List a = Nil | Cons a (List a) 23:59:11 the constructors have a funky name but that's really all they are 23:59:16 [1,2,3] is just sugar for 1:2:3:[] 23:59:25 Language primitives that have special-cased expression syntax -- like lists, numbers, Char, String, ... -- usually also have special-case number syntax. 23:59:26 Ok, but so you can match on literals? 23:59:34 That's just how it is. 23:59:48 This is only sugar, though; for the most part ADTs are what counts. 23:59:49 Bike: data Foo = Bar Int String 23:59:57 case x of {Bar n xs -> ...}