00:18 (quit) realitygrill: Ping timeout: 240 seconds 00:22 (join) realitygrill 00:28 (quit) jao: Ping timeout: 240 seconds 00:32 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/DtmCfg 00:32 RacketCommitBot: [racket/master] Added JPEG compression to `compiled-bitmap' and `compiled-bitmap-list' - Neil Toronto 00:32 RacketCommitBot: [racket/master] Fixed plot doc tests - Neil Toronto 00:32 (quit) dnolen: Ping timeout: 244 seconds 00:38 (quit) jeapostrophe: Ping timeout: 252 seconds 00:48 (quit) veer: Ping timeout: 255 seconds 01:01 (join) dnolen 01:16 (nick) LeNsTR -> LeNsTR|off 01:19 (nick) LeNsTR|off -> LeNsTR 01:28 (join) jeapostrophe 01:28 (join) vkz 01:42 (quit) jeapostrophe: Ping timeout: 255 seconds 01:44 (quit) kvda: Quit: -___- 02:11 (quit) dnolen: Remote host closed the connection 02:29 (quit) jonrafkind: Ping timeout: 245 seconds 02:33 (quit) realitygrill: Quit: realitygrill 02:37 (join) hkBst 02:37 (quit) hkBst: Changing host 02:37 (join) hkBst 02:44 (quit) sindoc1: Quit: Leaving. 03:06 (quit) vkz: Quit: vkz 03:44 (join) Mordae 03:44 Mordae: Hi! 03:44 (join) Blkt 03:45 Mordae: I am missing sha2 functions. If I add them to the collects/openssl/sha.rkt (in local git repo) what's the best way to contribute them to the project? 03:50 (join) Shvillr_ 03:50 (quit) Shviller: Disconnected by services 03:53 Blkt: good morning everyone 03:54 noelw: hi 03:54 Blkt: :D 03:59 Mordae: Morning. 04:05 (quit) carleastlund: Quit: carleastlund 04:06 Mordae: bb 04:06 (part) Mordae 04:07 (join) bluezenix 04:12 (join) bluezenix1 04:13 (quit) bluezenix: Ping timeout: 244 seconds 04:24 (join) sindoc 04:24 (join) kvda 04:25 (join) tim-brown 04:26 tim-brown: where is the source to the documentation for "scheme_make_output_port" please? 04:40 (join) veer 04:57 (join) vkz 05:02 (quit) veer: Quit: Leaving 05:08 noelw: tim-brown: https://github.com/plt/racket/blob/master/collects/scribblings/inside/ports.scrbl 05:08 rudybot: http://tinyurl.com/7r95dpm 05:10 tim-brown: thx noel. I threw a find/grep at it and found it (eventually) 05:15 noelw: (ack has replaced find/grep for me) 05:24 (quit) blomqvist: Quit: blomqvist 05:29 (join) abbe 05:38 (nick) chaozzbubi -> ChaozZBubi 05:40 (join) masm 06:05 tim-brown: noelw: could you drop me an URL for ack? 06:06 jamessan: http://betterthangrep.com/ 06:06 noelw: that's the one 06:06 jamessan: quite modest :) 06:17 (quit) ivan`: Ping timeout: 252 seconds 06:22 tim-brown: oooh shiny! 06:30 (join) ivan` 06:57 (join) tfb 07:02 (quit) vkz: Quit: vkz 07:34 (join) noelw_ 07:36 (quit) noelw: Ping timeout: 272 seconds 07:36 (nick) noelw_ -> noelw 07:43 (quit) Shvillr: Ping timeout: 272 seconds 07:45 (join) Shviller 07:46 (join) DGASAU 07:52 (quit) dmj111: Remote host closed the connection 07:52 (quit) kvda: Quit: x___x 07:56 (quit) Shviller: Ping timeout: 252 seconds 07:58 (join) ticking 07:58 (quit) ticking: Remote host closed the connection 08:02 (join) Shviller 08:06 (quit) sindoc: Quit: Leaving. 08:10 (join) sindoc 08:16 (join) ticking 08:20 (nick) ChaozZBubi -> chaozzbubi 08:27 (quit) ticking: Quit: Leaving... 08:32 (join) patterngazer 08:51 (nick) jschuster_away -> jschuster 09:00 (join) jrslepak 09:14 (join) jeapostrophe 09:14 (join) ticking 09:20 (join) traisen 09:21 (quit) traisen: Client Quit 09:25 (nick) chaozzbubi -> ChaozZBubi 09:27 (join) traisen 09:28 traisen: I have non-racket question. What program is used to for irc logging for this channel - thanks 09:34 (quit) jeapostrophe: Ping timeout: 256 seconds 09:35 (join) carleastlund 09:55 (nick) LeNsTR -> LeNsTR|off 09:57 (quit) jrslepak: Quit: This computer has gone to sleep 09:58 (quit) traisen: Ping timeout: 245 seconds 10:14 ozzloy: is it just me, or is htdp/2e missing large sections? http://www.ccs.neu.edu/home/matthias/HtDP2e/htdp2e-part4.html 10:14 ozzloy: i saw someone praising it, so i'm hoping there's a more complete version out there somewhere 10:23 (quit) DGASAU: Ping timeout: 252 seconds 10:26 (join) jeapostrophe 10:28 (join) anRch 10:30 noelw: htdp/2e is still in development, i believe 10:39 (quit) ticking: Quit: Linkinus - http://linkinus.com 10:46 RacketCommitBot: [racket] plt pushed 3 new commits to master: http://git.io/K--MXw 10:46 RacketCommitBot: [racket/master] fix test to work right with imprecise GC - Matthew Flatt 10:46 RacketCommitBot: [racket/master] Rewrite install code in '#%kernel to avoid startup time. - Sam Tobin-Hochstadt 10:46 RacketCommitBot: [racket/master] update pre-built libraries - Matthew Flatt 10:46 (join) realitygrill 10:49 (quit) jeapostrophe: Ping timeout: 240 seconds 10:50 asumu: ozzloy: It's still a work in progress. 10:52 ozzloy: asumu, noelw, oic 10:54 (nick) samth_away -> samth 10:55 samth: traisen: the logger is gabot, which is written in racket 10:55 samth: Mordae: a pull request on github is probably best 11:03 (join) dous 11:06 (join) jeapostrophe 11:07 (quit) dous_: Ping timeout: 276 seconds 11:17 (quit) hkBst: Quit: Konversation terminated! 11:18 (quit) noelw: Quit: noelw 11:21 (quit) anRch: Quit: anRch 11:25 (nick) LeNsTR|off -> LeNsTR 11:26 (join) anRch 11:30 (join) dzhus 11:35 (join) noelw 11:51 (quit) noelw: Quit: noelw 11:51 (quit) anRch: Quit: anRch 12:10 (quit) Blkt: Remote host closed the connection 12:12 asumu: Hmm, anyone used the trace module recently? 12:12 asumu: Is (require trace) at the top of the module not enough to make it work? 12:15 (join) dnolen 12:17 (quit) patterngazer: Quit: Copywight 2011 Elmer Fudd. All wights wesewved. 12:17 stamourv: ozzloy: You can use htdp and 2htdp together. 12:18 stamourv: I've seen a class that was using 2htdp for the topics it covered, and fell back to htdp for the rest. 12:19 stamourv: By the time 2htdp runs out, students should be comfortable enough that changing terminology a bit is not too confusing. 12:19 (join) ticking 12:19 asumu: Oh, racket/trace was what I wanted probably. dyoo beat me to it. :p 12:20 stamourv: asumu: unstable/debug has some nice goodies too. 12:20 (quit) dzhus: Remote host closed the connection 12:30 (join) sstrickl 12:38 (join) hansi 12:39 (part) hansi 12:44 (quit) AlbireoX: Ping timeout: 252 seconds 12:45 (quit) dnolen: Ping timeout: 245 seconds 12:46 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/J9A3Yw 12:46 RacketCommitBot: [racket/master] Small typo in 2nd paragraph of scribblings/inside/procedures.html "a" should be "as"; update for "collects/scribblings/inside/ports.scrbl". - Tim Brown 12:46 RacketCommitBot: [racket/master] Update collects/scribblings/reference/stx-trans.scrbl - Rodolfo Henrique Carvalho 12:56 (join) jonrafkind 13:01 (quit) sindoc: Quit: Leaving. 13:07 (quit) tfb: Ping timeout: 240 seconds 13:22 (quit) gatlin: Quit: Leaving. 13:37 (join) mceier 13:39 (join) kudkudyak 13:39 (quit) kudkudyak: Remote host closed the connection 13:42 (join) gatlin 13:46 (quit) gmc^: Remote host closed the connection 13:46 (join) bluezenix 13:48 (quit) bluezenix1: Ping timeout: 244 seconds 13:51 (join) anRch 14:12 (join) kudkudyak 14:14 (nick) LeNsTR -> LeNsTR|off 14:17 (quit) gatlin: Quit: Leaving. 14:21 (quit) bluezenix: Quit: Leaving. 14:24 (quit) shadgregory: Quit: ERC Version 5.3 (IRC client for Emacs) 14:30 (join) gciolli 14:38 (quit) jonrafkind: Ping timeout: 255 seconds 14:44 (join) sindoc 14:48 (join) bluezenix 14:49 (quit) anRch: Quit: anRch 15:04 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/oQ8CyQ 15:04 RacketCommitBot: [racket/master] v5.2.1 stuff - Eli Barzilay 15:04 (join) jrslepak 15:08 RacketCommitBot: [racket] plt pushed 97 new commits to stable: http://git.io/gpjgvA 15:08 RacketCommitBot: [racket/stable] Alpha version number for the v5.2.1 release - Ryan Culpepper 15:08 RacketCommitBot: [racket/stable] New Racket version 5.2.0.900. - Eli Barzilay 15:08 RacketCommitBot: [racket/stable] ntoronto is responsible for images. - Eli Barzilay 15:08 (join) dustmote 15:16 (join) gatlin 15:23 (quit) gciolli: Quit: Leaving. 15:24 (join) ChibaPet 15:29 (part) kudkudyak 15:37 dustmote: in what context would one use "define-values" ? 15:38 ianjneu: when the body evaluates to multiple values. 15:39 dustmote: and you want to unpack them immediate as names, instead of treating them simply as a list? 15:39 ianjneu: right. 15:40 ianjneu: (define-values (full-list final-state) (for/fold ([lst '()] [state 0]) ([itr (in-list something)]) (define-values (item state*) (do-something-that-updates-state itr state)) (values (cons item lst) state*))) 15:40 ianjneu: for example 15:42 (join) francisl 15:43 (part) francisl 15:50 dustmote: ianjneu: i'm having trouble understanding all the parts of that example 15:50 dustmote: what's the 'something' ind the second form within for/fold? 15:50 dustmote: ir* 15:50 dustmote: in*** 15:50 stamourv: dustmote: That's the list you're iterating over. 15:51 stamourv: But that's not directly related to the multiple values part. 15:51 stamourv: To give you another example of how multiple values may be used: 15:51 dustmote: that's okay, -- i'm learning 15:51 stamourv: rudybot: doc quotient/remainder 15:51 rudybot: stamourv: your sandbox is ready 15:51 rudybot: stamourv: http://docs.racket-lang.org/reference/generic-numbers.html#(def._((quote._~23~25kernel)._quotient%2Fremainder)) 15:51 stamourv: dustmote: ^ 15:52 stamourv: That's a function that returns both the quotient and the remainder of two numbers. 15:52 stamourv: Since it makes sense to compute the two values together, why not return both of them? 15:52 stamourv: rudybot: (define-values (q r) (quotient/remainder 14 5)) 15:52 rudybot: stamourv: Done. 15:53 stamourv: rudybot: q 15:53 rudybot: stamourv: ; Value: 2 15:53 stamourv: rudybot: r 15:53 rudybot: stamourv: ; Value: 4 15:54 dustmote: i see 15:55 stamourv: That's a pretty simple example, but that's a pattern that we enounter often/ 15:55 stamourv: s@/@.@ 15:56 dustmote: the rest of your first example is actually relevant to the code I'm trying to understand; what's the significance of putting the list we are iterating over in ([ ... ]) ? does that say to set the local value itr to the current item in the list? 15:57 stamourv: First, parens and square brackets are equivalent, the latter are used as a matter of convention in some places. 15:57 stamourv: As for the specific syntax, that's `for/fold''s syntax. 15:58 stamourv: When you use it, you specify the sequences (could be lists, vectors, etc.) that you iterate, and the name you want to give to the element you're dealing with at the moment. 15:59 dustmote: so that's the `(for-clause ...)' mentioned in the documentation. 16:00 stamourv: Yep. 16:00 stamourv: At least, the most common kind of `for-clause'. 16:01 stamourv: You can have multi-valued sequence clauses, `#:when' clauses, etc. 16:02 dustmote: ah 16:02 (quit) sstrickl: Quit: sstrickl 16:04 dustmote: stamourv: this is good. thanks! i might have more questions later.. 16:05 stamourv: No problem! 16:20 (join) DanBurton 16:22 dustmote: if you wanted to define a function which returns multple values, would you? (is it bad practice?) and is that the impetus for `values'? 16:22 (quit) jrslepak: Quit: This computer has gone to sleep 16:22 stamourv: Returning multiple values is fine. 16:22 samth: dustmote: yes, you would -- it's not bad style 16:23 stamourv: Sometimes, it makes more sense to return a struct, but if the values are not related, multiple value return is cleaner. 16:23 stamourv: It's certainly better than, say, CPSing your code to avoid multiple values. 16:23 stamourv: Seen code like that. It ain't pretty. 16:25 dustmote: i'm sorry, what's CPSing? 16:26 stamourv: Converting to continuation-passing style. 16:26 stamourv: Have you programmed in javascript? 16:26 dustmote: quite a bit, but i haven't ever done anything with continuations in it 16:27 stamourv: In js, you often need to pass callbacks to functions. These callbacks represent the "rest of the computation", basically, what's left to be done after the function you're calling is done. 16:28 stamourv: They're basically continuations. 16:28 dustmote: and then you get callback soup, i see 16:28 stamourv: And since you're passing them around, this is continuation-passing style. 16:29 dustmote: got it 16:29 stamourv: If you do that, you can avoid multiple-value returns. But IMO, the "cure" is much worse than the disease. 16:29 stamourv: Some people prefer the "cure", but they're wrong ;). 16:30 dustmote: in javascript's case (forgetting certain popular libraries) i think many of these callbacks are for delayed actions, such as setTimeout ... in that case it is unavoidable to use this style, is it not? 16:31 (quit) gatlin: Quit: Leaving. 16:34 (quit) ticking: Remote host closed the connection 16:37 stamourv: Callbacks are perfectly fine in some contexts. 16:44 (join) ticking 16:44 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/8am7qg 16:44 RacketCommitBot: [racket/master] Enable Performance Report in typed/racket/base and typed/scheme/base. - Vincent St-Amour 16:44 RacketCommitBot: [racket/master] Fix printing of types in instantiation error messages. - Vincent St-Amour 16:45 dustmote: stamourv: but as for your CPS point, i agree 16:47 (join) francisl 16:48 (quit) francisl: Client Quit 17:00 (quit) SHODAN: Remote host closed the connection 17:02 (join) SHODAN 17:08 (quit) cdidd: Ping timeout: 248 seconds 17:09 dustmote: What's the typed/racket way to annotate hashes which result from a function? I couldn't find hashes in section 3 or 4 of http://docs.racket-lang.org/ts-guide/ 17:10 samth: dustmote: like this: 17:10 samth: #lang typed/racket 17:10 samth: (: h (HashTable Any Any)) 17:10 samth: (define h (make-hash)) 17:11 dustmote: samth: thanks! 17:11 (join) gatlin 17:15 (quit) mceier: Quit: leaving 17:30 (join) platinuum 17:34 (quit) platinuum: Client Quit 17:44 (nick) ChaozZBubi -> chaozzbubi 17:52 (join) shadgregory 17:55 (nick) jschuster -> jschuster_away 18:02 (join) jrslepak 18:03 (quit) bluezenix: Quit: Leaving. 18:04 (join) bluezenix 18:05 (quit) bluezenix: Client Quit 18:08 (join) nwr 18:08 (join) cdidd 18:10 (join) kvda 18:12 (quit) jeapostrophe: Ping timeout: 255 seconds 18:18 (join) chemuduguntar 18:37 (quit) nwr: Quit: Page closed 18:49 (quit) gatlin: Quit: Leaving. 19:03 (join) groovy2shoes 19:11 (join) gatlin 19:13 (quit) DanBurton: Quit: Leaving 19:16 (join) AlbireoX 19:42 (join) jeapostrophe 19:55 (nick) samth -> samth_away 20:18 (quit) ticking: Quit: Linkinus - http://linkinus.com 20:18 (join) ticking 20:38 (quit) masm: Quit: Leaving. 20:39 (quit) sindoc: Quit: Leaving. 20:39 (quit) jrslepak: Quit: This computer has gone to sleep 20:39 (quit) jeapostrophe: Ping timeout: 252 seconds 20:43 (join) felipe_Brz 20:43 felipe_Brz: hi I've just downloaded racket for ubuntu 20:43 offby1: \o/ 20:43 felipe_Brz: i've chmod'd +x the drracket file but I can't run it 20:44 offby1: you should have had to do that 20:44 offby1: did you download a file whose name is something like racket-5.2.1-bin-i386-linux-ubuntu-karmic.sh ? 20:44 offby1: s/should/shouldn't/ 20:45 felipe_Brz: no, I've downloaded the 64bit variant 20:45 offby1: well, ok 20:45 offby1: but otherwise: the file name is long, and ends with .sh ? 20:45 felipe_Brz: racket-5.2.1-bin-x86_64-linux-debian-squeeze.sh 20:45 offby1: yep 20:45 felipe_Brz: i'll download it again 20:45 offby1: probably no need 20:46 offby1: when you say "I can't run it", what exactly does that mean -- how did you try to run it, and what did you see? 20:46 chandler: The easiest way to install Racket on Ubuntu is from the PPA. It doesn't have 5.2.1 yet, but I don't think that will be too long. 20:46 chandler: https://launchpad.net/~plt/+archive/racket 20:46 offby1: chandler: somehow I didn't know about that 20:47 chandler: I don't think it's actually mentioned anywhere on the site. 20:47 felipe_Brz: i will try that 20:47 chandler: It's been discussed on the user list, though. 20:48 felipe_Brz: I will be able to run all code featured on SICP on racket, correct? 20:48 offby1: I'm not sure. 20:48 offby1: I am almost certain that you'll need to make minor tweaks to some of the code. 20:48 offby1: There _is_ a SICP "language" for Racket, but I don't know how well it works. 20:49 offby1: I honestly don't know which scheme setup is the easiest for doing the SICP exercises. 20:49 dspt: http://www.neilvandyke.org/racket-sicp/ 20:49 dspt: I haven't done the whole book, but haven't run into any problems yet. 20:50 chandler: Neil Van Dyke actively maintains his SICP language, so if you do have any issues I'm sure he'd want to hear about it. 20:50 felipe_Brz: cool 20:52 offby1: chandler: I'm glad to hear that; I was afraid it was abandonware. 20:52 chandler: OK, now I think you're being sarcastic. 20:52 chandler: (Either that or my sarcastometer is on the fritz.) 20:52 offby1: the latter 20:52 offby1: srsl 20:52 offby1: y 20:53 offby1: it's OK, mine has been flaky too. Also, I seem to no longer be able to type. 20:55 chandler: Well, that's what you get for triggering a false positive on my sarcastometer. 21:00 offby1: I suspect the typing trouble started earlier. 21:01 (quit) felipe_Brz: Quit: ChatZilla 0.9.88 [Firefox 9.0.1/20111221202246] 21:04 (join) felipe_Brz 21:05 felipe_Brz: so I've added the ppa like this http://pastie.org/3306596 21:06 felipe_Brz: but I still get nothing when I try and do sudo apt-get install racket 21:06 chandler: did you do "apt-get update" first? 21:06 chandler: also, I'm not sure that syntax is right 21:06 chandler: rather than putting PPAs in your sources.list directly, you should use 'apt-add-repository', which is part of the instructions on the PPA page 21:07 felipe_Brz: i did that 21:07 felipe_Brz: then I checked the sources.list file there was nothing 21:07 felipe_Brz: so I added it by hand 21:07 chandler: Right. That's because it's in /etc/apt/sources.list.d/ 21:08 felipe_Brz: yep 21:08 felipe_Brz: correct 21:08 felipe_Brz: correct 21:08 felipe_Brz: thank you 21:08 chandler: So when you do "apt-get update && sudo apt-get install racket", what happens? 21:09 felipe_Brz: a lot 21:09 felipe_Brz: =P 21:09 felipe_Brz: now it workds 21:09 felipe_Brz: works* 21:09 chandler: OK :-) 21:14 (join) jrslepak 21:31 (quit) felipe_Brz: Quit: ChatZilla 0.9.88 [Firefox 9.0.1/20111221202246] 21:57 (quit) dustmote: Quit: leaving 22:05 asumu: stamourv: this is cool https://github.com/shr/pltcod/ 22:06 asumu: (is someone here the author by any chance?) 22:11 (join) jeapostrophe 22:17 (quit) jeapostrophe: Ping timeout: 244 seconds 22:33 (quit) ticking: Quit: Leaving... 22:33 (join) imran_sr 23:17 (join) vkz 23:33 (quit) groovy2shoes: Quit: Computer has gone to sleep 23:40 (quit) gatlin: Quit: Leaving. 23:50 (join) gatlin