00:20 (quit) karswell_: Read error: Operation timed out 00:21 (join) karswell_ 00:43 (quit) jao: Ping timeout: 276 seconds 01:31 (quit) realitygrill: Quit: realitygrill 01:59 (quit) dnolen: Remote host closed the connection 02:19 (quit) yoklov: Quit: computer sleeping 02:21 (join) realitygrill 02:36 (quit) jonrafkind: Ping timeout: 276 seconds 02:43 (quit) jeapostrophe: Ping timeout: 272 seconds 03:18 (quit) realitygrill: Quit: realitygrill 03:26 (nick) chaozzbubi -> ChaozZBubi 03:36 (quit) mithos28: Quit: mithos28 03:38 (quit) chemuduguntar: Ping timeout: 240 seconds 03:49 (join) Shvillr_ 03:49 (quit) Shviller: Disconnected by services 03:49 (nick) Shvillr_ -> Shviller 04:50 (join) ASau` 04:50 (nick) ASau` -> ASau 05:41 (join) dzhus 06:14 (join) masm 06:26 (join) kudkudyak 06:58 (join) MayDaniel 08:11 (quit) MayDaniel: Read error: Connection reset by peer 08:27 (join) karswell__ 08:29 (quit) karswell_: Ping timeout: 276 seconds 08:40 (join) vkz 08:40 (join) mceier 09:14 (nick) LeNsTR -> LeNsTR|off 09:24 (join) carleastlund 09:25 (quit) carleastlund: Client Quit 09:49 (join) jrslepak 09:51 (quit) vkz: Quit: vkz 09:58 (join) jeapostrophe 10:11 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/Sak8og 10:11 RacketCommitBot: [racket/master] Fix type of `memf' to be more permissive. - Sam Tobin-Hochstadt 10:11 RacketCommitBot: [racket/master] Fix internal constructor name for `struct:' so that `struct-out' works. - Sam Tobin-Hochstadt 10:27 (nick) jschuster_away -> jschuster_ 10:27 (nick) jschuster_ -> jschuster 10:28 (join) vkz 10:30 (join) Frozenlock 10:31 (nick) LeNsTR|off -> LeNsTR 10:51 (join) karswell 10:53 (quit) karswell__: Ping timeout: 252 seconds 11:18 (nick) Nanakhiel -> HisDivineShadow 11:19 (join) cdidd 11:28 (quit) jeapostrophe: Ping timeout: 272 seconds 11:28 (quit) masm: Ping timeout: 248 seconds 11:30 (join) masm 11:36 (quit) cdidd: Quit: Leaving 11:37 (join) cdidd 12:06 bremner: eli: it seems to be a bug that this doesn't typecheck in pl http://paste.debian.net/153891/ 12:26 (join) yoklov 12:27 (quit) jrslepak: Quit: This computer has gone to sleep 12:31 (join) dnolen 12:33 (join) realitygrill 12:36 bremner: oh, I see. (provide (rename-out [Real Number])) 12:36 bremner: but shouldn't number? get matching treatment? 12:40 (join) jeapostrophe 12:42 (nick) jschuster -> jschuster_away 12:55 (join) dous_ 12:57 (quit) dous: Ping timeout: 260 seconds 13:05 (join) mithos28 13:11 (join) jrslepak 13:16 (join) karswell_ 13:16 (quit) karswell: Ping timeout: 244 seconds 13:18 (quit) yoklov: Quit: computer sleeping 13:28 (quit) jrslepak: Quit: This computer has gone to sleep 13:31 (join) jrslepak 13:45 (join) EmmanuelOga 13:50 (join) Shozan 13:51 (quit) SHODAN: Ping timeout: 252 seconds 13:53 (quit) jeapostrophe: Ping timeout: 276 seconds 13:58 (quit) Shozan: Ping timeout: 252 seconds 13:59 (quit) vkz: Quit: vkz 14:23 (join) ApeShot 14:23 ApeShot: anyone else had the problem with geiser and racket that it doesn't seem to respect the PLTCOLLECTS environment variable? 14:23 ApeShot: If I run racket from the command line, it is fine 14:24 ApeShot: But when I run racket in geiser, it only has the standard paths, as if it is not seeing the env variable 14:29 bremner: ApeShot: what if you do M-x getenv 14:29 ApeShot: where? 14:29 bremner: in emacs? 14:29 (join) Harsha 14:30 Harsha: hey 14:30 Harsha: how do i use the raco commands in the terminal on a mac? 14:30 bremner: type them in? 14:30 bremner: maybe I miss the real question. 14:30 Harsha: i put the racket folder from the .dmg in applications 14:31 Harsha: but how do execute a .rkt file in the terminal instead of drracket ide 14:32 bremner: Harsha: see section 1.3 in the racket guide 14:33 ApeShot: bremner: emacs does not seem to see the environment variables 14:33 ApeShot: bremner: maybe this is a unity thing 14:34 bremner: ApeShot: could be. 14:34 ApeShot: bremner: I did not launch emacs from a terminal 14:34 Harsha: thanks, uhh i also tried using raco make somefile.rkt 14:34 Harsha: in the terminal but that doesn't work 14:34 Harsha: it says command not found even when im in the racket bin directory 14:34 ApeShot: bremner: seems to be the case 14:34 ApeShot: bremner: thanks! 14:34 (quit) ApeShot: Remote host closed the connection 14:34 bremner: sure, welcome 14:36 bremner: Harsha: you probably need to set up your patch. But I don't know very well how things work on Macs 14:36 bremner: sorry, path, not patch 14:38 (join) RPR 14:46 RPR: After converting/wrapping a number of racket programs to typed/racket I have yet to convert one where the typing did not uncover bugs. 14:46 (join) jao 14:49 asumu: RPR: That's great. What kinds of bugs? 14:51 (join) jeapostrophe 14:52 Harsha: hmm anyone know how to add racket to path on a mac? 14:55 (quit) Harsha: Quit: Page closed 14:59 offby1: I manage somehow; lemme see what I do 14:59 samth: RPR: great! 14:59 offby1: hmph 15:01 (join) Harsha 15:03 (quit) dsantiago: Quit: Leaving... 15:08 (join) dsantiago 15:15 (quit) Harsha: Quit: Page closed 15:19 (join) Harsha 15:20 Harsha: I typed in racket in the terminal on my mac and it created something like an interpreter 15:20 Harsha: how do i close this without closing the terminal window? 15:20 Shviller: (exit) 15:20 bremner: Harsha: also covered in the racket guide, chapter 1 15:21 Harsha: Yea I noticed the exit command in the guide but I didn't realize you needed parenthesis 15:21 bremner: oh, you must be new here ;) 15:22 bremner: the parens are pretty important in Racket 15:22 Harsha: yea I'm completely new. this language is very different from MATLAB 15:22 bremner: that is correct 15:26 (quit) Harsha: Ping timeout: 245 seconds 15:27 RPR: asumu: The vast majority were from non-sunny day return values. 15:28 RPR: asumu: A procdure which will return a #f or a eof-object or some error value but the calling code always assumes that the procedure never "fails", i.e. it always returns what is expected as long as the sun is shining. 15:30 RPR: eh I just bought some obscure indie album off Amzn and just checked to see what song was playing. Its titled "The Price of Everything and the Value of Nothing." 15:31 bremner: hmm. that is a famous quote/aphorism, isn't it? 15:31 RPR: Yea. Lispers know the value of everything and the price of nothing. 15:32 RPR: or cost of nothing. 15:32 RPR: http://www.cs.yale.edu/quotes.html #55 15:34 (join) yoklov 15:36 (join) jonrafkind 15:39 (quit) jrslepak: Quit: This computer has gone to sleep 16:07 (join) tautologico 16:19 (join) jrslepak 16:22 (quit) jrslepak: Client Quit 16:31 (nick) LeNsTR -> LeNsTR|off 16:40 eli: bremner: Right you are. Funny how I never ran into this... I'm using (match x [(number: n) (Num n)] ...) 16:41 bremner: yeah. I pulled out the rename for now, just to see how that goes. 16:42 (join) jrslepak 16:42 eli: What do you mean, which rename? 16:43 bremner: I mean I just commented out the (provide (rename-out [Real Number])), and just provide TR's Number 16:44 eli: bremner: That would make things hard. 16:44 eli: The main problem is that students are very used to `Number's being things that you can compare, etc. 16:44 bremner: my students aren't used to anything ;) 16:44 bremner: but yeah I get your point 16:45 eli: Well, you'd end up having to explain `Real' and suffer with it throughout the semester... 16:46 bremner: yeah. I don't like the divergence between TR docs and PL either though. Since there aren't really any PL docs 16:46 eli: And my (short) experience with that is that it gets tiring to explain why I keep writing "Number" in code as "Real"... 16:46 eli: FWIW, the reason I have very little experience with it is that initially TR tried to do the same thing. 16:46 eli: Then they corrected it. 16:46 eli: Then I had my fight with "Number" being what it is, 16:47 eli: and finally decided that this is insane, and completely distracting, and ened up doing that rename. 16:49 bremner: why not just use Real everywhere in the examples? 16:49 eli: That's what I considered for a short while and gave up. 16:49 eli: The thing is that for most of these `Number' really means integer. 16:50 eli: Just being sloppy about it, really. 16:50 eli: (Justified since it's irrelevant, but still sloppy.) 16:50 bremner: huh. well, I can always change the language back if it gets annoying. 16:51 bremner: just not right before an assignment is due ;) 16:52 eli: bremner: So right now you have the TR `Number', right? 16:52 bremner: yes 16:53 eli: so I think that I can say two things: 16:53 bremner: I mean, in my private PL. I haven't pushed it out yet 16:53 eli: (a) It would be interesting to hear if you had any problems with it down the road. 16:54 eli: Specifically, at some point I want them to have a "practical" language, and then trying to make it possible to compare numbers means that you need to switch from Number to Real. 16:54 (join) sindoc 16:55 eli: (b) The option of just using Real from the start is interesting, I wonder if it will lead to problems (= being distracted by talking about the issue when you really don't care and just want to use whatever numbers Racket uses). 16:55 eli: (c) There's another option of abolishing `Number's completely (including `Real's), and just using `Integer's. 16:55 eli: I suspect that that risks getting a "toy" impression. 16:56 bremner: I guess for me it's clear that Real includes Integer, but maybe not so much for the students. 16:56 bremner: well, in the context of plai, I think numeric types are not very important. 16:56 eli will brb 17:03 (quit) jeapostrophe: Ping timeout: 245 seconds 17:04 eli: bremner: I completely agree with both: it's clear that Real includes integers, but having to use it means talking about it, and `Number' is just accepted silently. 17:04 eli: And it's true that in the PLAI context it's not important which is why I tried to find a way to just not talk about the whole thing... 17:09 bremner: we talked a fair amount about the interplay between predicates and the type checker, which also is reason to have number? and Number match. 17:10 bremner: of course they could both refer to reals 17:12 (quit) jrslepak: Quit: This computer has gone to sleep 17:15 bremner: eli: thanks for the feedback. I have to make dinner now... 17:16 eli: bremner: Yeah, I should obviously rename `number?' too to be consistent. 17:16 eli: In any case, if you have more comments I'd be happy to hear. 17:27 (quit) RPR: Read error: Connection reset by peer 17:27 (quit) cdidd: Remote host closed the connection 17:32 (join) vkz 17:37 (join) anRch 17:45 kudkudyak: I want to test wether a given argument (a mutable list) is an empty list, but the empty? predicate expects argument of type pair. I've looked at Reference 3.10, but found no obvious solution. How to perform the test? 17:45 samth: kudkudyak: that's false 17:45 samth: kudkudyak: (empty? '()) 17:46 samth: rudybot: (empty? '()) 17:46 samth: rudybot: eval (empty? '()) 17:46 samth: rudybot: init 17:46 samth: offby1: kick rudyboth 17:46 rudybot: samth: error: with-limit: out of time 17:46 samth: rudybot: init 17:46 rudybot: samth: error: with-limit: out of time 17:47 rudybot: samth: error: with-limit: out of time 17:47 rudybot: samth: error: with-limit: out of time 17:47 kudkudyak: samth: I'm having this error: expected argument of type ; given (mcons 'b (mcons 'c)) 17:47 samth: kudkudyak: ah, ok 17:47 samth: i would use `null?' 17:48 kudkudyak: It's the same. 17:48 samth: kudkudyak: what language are you using 17:48 kudkudyak: racket/mpair (i think) 17:49 kudkudyak: I could use mlist->list for this test script, but I don't like it. 17:52 (quit) mithos28: Quit: mithos28 18:08 offby1: rudybot: (time (+ 1 2 3)) 18:08 rudybot: *offby1: ; Value: 6 18:08 rudybot: *offby1: ; stdout: "cpu time: 0 real time: 0 gc time: 0\n" 18:14 (quit) ASau: Read error: Connection reset by peer 18:16 samth: rudybot: (null? '() 18:16 samth: rudybot: (null? '()) 18:16 rudybot: samth: Logout time = 8:18 Lost 0% Idle 104% Null time = 15:17:47:22 18:16 (join) ASau 18:16 samth: offby1: ? 18:17 rudybot: samth: error: with-limit: out of time 18:17 samth: offby1: rudybot hates me 18:21 (quit) sindoc: Quit: Leaving. 18:24 (quit) mceier: Quit: leaving 18:33 (quit) kudkudyak: Ping timeout: 245 seconds 18:35 (join) jeapostrophe 18:45 offby1: rudybot: (null? ' ()) 18:45 rudybot: *offby1: ; Value: #t 18:46 samth: rudybot: (null? '()) 18:46 rudybot: samth: ; Value: #t 18:46 samth: it works! 18:46 offby1: samth: the machine on which he runs was somewhat heavily loaded 18:46 offby1: it's better now 18:46 offby1 is too cheap to get anything better than an EC2 "micro instance" 19:02 (join) tauntaun 19:03 (nick) tauntaun -> Guest44921 19:04 (part) Guest44921 19:08 (join) ASau` 19:08 (nick) samth -> samth_away 19:09 (quit) jeapostrophe: Ping timeout: 255 seconds 19:12 (quit) ASau: Ping timeout: 252 seconds 19:14 (quit) anRch: Quit: anRch 19:27 eli: samth_away: I've used the drdr graphs for the first real need now. 19:28 eli: Your UI decision with that damn click is absolutely *horrible*. 19:32 (join) tauntaun 19:35 (join) Frozenlo` 19:39 (quit) Frozenlock: Ping timeout: 276 seconds 19:52 (quit) masm: Quit: Leaving. 20:02 (nick) ChaozZBubi -> chaozzbubi 20:06 vkz: guys is there a step by step manual showing how to properly setup Racket on a Mac? I'm trying to part from DrRacket and dive into command line here. Would like to be able to call racket in terminal, have bash completions, runs scripts with "#! /usr/bin/env racket" line, have man pages installed and all that. Help pls 20:09 (quit) yoklov: Quit: computer sleeping 20:15 offby1: I don't think there's any bash completion for racket; I don't even know what that could mean. 20:15 jonrafkind: there is 20:16 offby1: Unless you're just looking for bash-style completion _within_ racket 20:16 offby1: vkz: certainly, put the racket installation directory on your path. This is trickier on OS X than on normal Unix boxes :-| 20:16 jonrafkind: collects/meta/contrib/completion/racket-completion.bash 20:19 (quit) dspt: Ping timeout: 252 seconds 20:23 offby1: huh 20:23 offby1: who knw. 20:23 offby1: besides you. 20:23 (quit) karswell_: Read error: Operation timed out 20:25 (quit) realitygrill: Quit: realitygrill 20:25 (join) karswell_ 20:26 asumu: offby1: It's in the guide now, though admittedly not in an obvious place: http://pre.racket-lang.org/docs/html/guide/cmdline-tools.html#(part._.Bash_completion) 20:26 asumu: (by not obvious I just mean it's near the end of the guide) 20:27 vkz: so I just add: PATH=$PATH"/usr/local/Racket v5.2/ to my ~/.bash_profile and this should be enough? 20:27 vkz: assuming this is where I put my installation dir 20:32 asumu: vkz: You probably want to put the bin subdirectory. 20:32 asumu: Try it and then "source ~/.bash_profile" and see if it works. 20:33 vkz: yep, that works 20:34 vkz: do i need do anything special with other dirs in the main installation folder? like /lib ? 20:36 asumu: vkz: You shouldn't need to. 20:37 vkz: great! thanks asumu offby1 20:40 (quit) dzhus: Remote host closed the connection 20:47 (join) masm 20:56 (quit) vkz: Quit: vkz 20:59 (join) vkz 21:01 (join) jeapostrophe 21:01 (join) yoklov 21:22 (quit) masm: Quit: Leaving. 21:25 (join) realitygrill 21:26 (join) mithos28 21:29 (quit) offby1: Quit: Off to investigate 256 colors! 21:30 (join) offby1 21:30 (quit) offby1: Changing host 21:30 (join) offby1 21:33 (quit) vkz: Quit: vkz 21:38 (join) vkz 22:02 (quit) acarrico: Ping timeout: 260 seconds 22:02 (quit) danlndi: Ping timeout: 260 seconds 22:03 (join) danlndi 22:04 (join) acarrico 22:22 (quit) realitygrill: Quit: realitygrill 22:31 (join) macoovacany 22:33 (part) macoovacany 22:42 (join) veer 22:42 (quit) jeapostrophe: Read error: Connection reset by peer 22:42 (join) jeapostr1phe 22:43 (join) macoovacany 22:49 (part) macoovacany 23:00 (join) realitygrill 23:07 (join) jrslepak 23:08 (quit) vkz: Quit: vkz 23:26 (quit) mithos28: Quit: mithos28 23:27 (join) mithos28 23:28 (quit) mithos28: Client Quit 23:34 (join) vkz 23:36 (quit) jeapostr1phe: Ping timeout: 245 seconds