00:01 (join) noelw 00:01 (quit) noelw: Client Quit 00:15 (quit) evhan: Quit: the tubes they are clogged 00:15 (join) evhan 00:19 (quit) ckrailo: Quit: Computer has gone to sleep. 00:21 offby1: hey racketeers -- is this roughly the way to write your standard "with-resource" type function (like call-with-input-file)? http://ix.io/1Jd 00:22 offby1: seems to work OK, but it strikes me as odd that 1) I've never seen this pattern before; and 2) I had to write this myself; I'd have expected there to be some sorta macro or something that would help me write it 00:27 (nick) evhan -> evhan` 00:28 (nick) evhan` -> evhan 00:32 (part) evhan 00:56 (quit) dnolen: Quit: dnolen 00:57 (join) evhan 01:07 (quit) evhan: Quit: . 01:07 (join) evhan 01:08 (part) evhan 01:22 (join) jonrafkind 01:53 (join) noelw 01:54 (quit) noelw: Client Quit 01:54 (join) hkBst 02:03 (join) dherman 02:10 (join) noelw 02:15 (quit) noelw: Client Quit 02:35 (quit) jonrafkind: Ping timeout: 260 seconds 02:56 (quit) realitygrill: Quit: realitygrill 03:03 eli: Demosthenes: ping 03:04 (quit) maxtothemax: Quit: Leaving 03:12 (quit) dherman: Quit: dherman 03:18 (join) realitygrill 03:42 (quit) realitygrill: Quit: realitygrill 03:45 (join) PLT_Notify 03:45 PLT_Notify: racket: master Eli Barzilay * 2eb0a94 (4 files in 3 dirs): Removed a bogus provide and two bogus tests. ... 03:45 PLT_Notify: racket: master Eli Barzilay * a70ef57 (6 files in 6 dirs): Move `identity' from `unstable/function' into `racket/function'. 03:45 PLT_Notify: racket: master Eli Barzilay * 17b6ffa (5 files in 5 dirs): Move `thunk' from `unstable/function' into `racket/function'. ... 03:45 PLT_Notify: racket: master Eli Barzilay * 313e4e7 (1 files in 1 dirs): Better section heading 03:45 PLT_Notify: racket: master Eli Barzilay * a7aad55 (0 files in 0 dirs): Seems that this file is never used, possibly committed by mistake. 03:45 PLT_Notify: racket: master commits 0e0426a...a7aad55 - http://bit.ly/myJOLj 03:45 (part) PLT_Notify 03:47 (join) Lajla 04:11 Demosthenes: eli: zup 04:12 (join) noelw 04:24 (join) masm 04:33 (join) realitygrill 04:34 (join) NaN 04:38 (part) Lajla: "I am gay for you" 04:38 (join) karljoh 04:56 (quit) NaN: Remote host closed the connection 05:02 (quit) realitygrill: Quit: realitygrill 05:11 (join) MayDaniel 05:13 (join) misterncw 05:14 (join) NaN 05:39 (quit) MayDaniel: Read error: Connection reset by peer 06:01 (join) jeapostrophe 06:05 (quit) jeapostrophe: Read error: Connection reset by peer 06:05 (join) jeapostrophe 06:55 (quit) vu3rdd: Remote host closed the connection 06:56 (quit) jeapostrophe: Quit: jeapostrophe 06:57 (quit) misterncw: Remote host closed the connection 07:09 (join) misterncw 07:22 (join) sstrickl 07:31 (join) jeapostrophe 07:32 (quit) janne: Quit: puf 07:32 (join) janne 07:32 (quit) stride: Ping timeout: 240 seconds 07:33 (join) stride 07:38 (join) jeapostrophe_ 07:38 (quit) jeapostrophe: Read error: Connection reset by peer 07:38 (nick) jeapostrophe_ -> jeapostrophe 08:27 (join) vu3rdd 08:27 (quit) vu3rdd: Changing host 08:27 (join) vu3rdd 08:34 (join) dherman 08:34 (quit) dherman: Client Quit 09:00 (quit) jeapostrophe: Read error: Connection reset by peer 09:00 (join) jeapostrophe_ 09:01 (quit) jeapostrophe_: Client Quit 09:17 (join) mithos28 09:19 (join) evhan 09:21 (part) evhan 09:34 (quit) mithos28: Quit: mithos28 09:55 (join) mithos28 10:02 (join) realitygrill 10:02 (quit) mithos28: Quit: mithos28 10:15 (join) MayDaniel 10:22 (quit) noelw: Read error: No route to host 10:31 (join) dherman 10:33 (join) mithos28 10:33 (join) anRch 10:35 (join) noel_ 10:40 (quit) gienah: Quit: leaving 10:45 (quit) dherman: Remote host closed the connection 10:45 (join) dherman 11:07 (join) rekahsoft 11:07 rekahsoft: hi all..has any one ever triedmaking racket your shell? 11:08 askhader: rekahsoft: http://www.scsh.net/ 11:10 rekahsoft: askhader: hey hey..long time..how've you been? 11:10 askhader: Pretty good, yourself? 11:11 rekahsoft: askhader: and thanks..heard of scsh before never really looked at it though before.. 11:11 askhader: It's the most mature implementation of a scheme shell that I know of. 11:11 askhader: Trying to do some systems programming in racket? 11:13 rekahsoft: askhader: meh been playing with racket and common lisp..and just been doing random things to spruce of my systems lol 11:13 askhader: Right on 11:13 rekahsoft: what have you been up to? 11:13 askhader: I'll PM it ti you, to speak of it would be blasphemy in this channel 11:14 noel_: oh comeon, blaspheme away! 11:15 askhader: Been toying with golang of late =P 11:15 (join) ckrailo 11:15 askhader: They have pretty closures and functions are also of the first order. 11:15 askhader: Lexical scope... 11:17 rekahsoft: cool cool :) i also have been learning haskell more and more as i can...such a expressive sexy lang :P 11:18 noel_: I don't find Go very interesting. Rust, when implemented, will be much more my kind of thing. 11:18 noel_: Haskell is definitely worth learning. 11:19 askhader: Agreed. 11:19 askhader: I don't know if it's worth taking the time to learn for most practical applications though. 11:19 askhader: Also, rust? 11:20 noel_: Rust is a systems programming language Mozilla are developing 11:20 noel_: It fills the gap between the JVM and C 11:20 noel_: (at least in my mind) 11:21 noel_: It's very modern, but let's you talk about things like stack vs heap allocation 11:22 noel_: https://github.com/graydon/rust/wiki 11:22 noel_: Go has the advantage of actually being implemented 11:23 (quit) mithos28: Quit: mithos28 11:24 askhader: Uh.. 11:24 askhader: Yeah haha 11:24 askhader: Also, I don't see anything particularly appealing about the proposed features of Rust. 11:25 noel_: Try the FAQ which compares to Go 11:26 noel_: If Go is interesting I thought Rust would be. They're in the same space (systems programming) 11:26 (quit) hkBst: Remote host closed the connection 11:27 (quit) dherman: Remote host closed the connection 11:27 askhader: Hmm. 11:27 askhader: I suppose in that respect, yeah, it's interesting. 11:28 askhader: But I don't see the comparison as useful in any way, nor do I see any of the ``unsatisfactory'' points about GO as detrimental to the language. 11:30 noel_: oh well. i'm not on the Rust marketing board so i'll leave it at that. 11:31 noel_: (but most of the unsatisfactory points relate to concurrency.) 11:35 askhader: Hehe 11:35 askhader: Fair enough 11:42 eli: Demosthenes: You wanted subgroups from `regexp-match*' too, right? -- I'll add that soon. 11:44 (join) mithos28 11:47 (join) dnolen 11:50 (quit) anRch: Quit: anRch 11:55 (join) anRch 12:04 Demosthenes: eli: subgroups? 12:08 eli: Demosthenes: Something like (regexp-match* #rx"(a*)(b*)" ...) that returns not only the matches, but also the parenthesized sub-matches. Wasn't it you who asked about it recently? 12:16 (join) jonrafkind 12:19 (join) dherman 12:20 (quit) anRch: Quit: anRch 12:24 (quit) noel_: Quit: noel_ 12:26 (quit) qha: Read error: Operation timed out 12:28 (quit) misterncw: Remote host closed the connection 12:36 (quit) dnolen: Ping timeout: 252 seconds 12:48 (join) lucian 12:48 Demosthenes: eli: i thought it already did that 12:49 Demosthenes: i've talked about named-capture #px"(?captureregexp)" -> #(hash-eq '( name . "captured" )) 12:49 Demosthenes: ala perl 5.10 12:49 Demosthenes: and regexp-debugging 12:49 Demosthenes: where debugging is rather required for doing regexps in multiline mode 12:51 Demosthenes: oooh, and a cli debugger for racket would rock ;] 12:52 (quit) dherman: Quit: dherman 13:01 eli: Demosthenes: No, I'm not talking about any of these things. 13:02 Demosthenes: eli: then i don't get the submatching ;] 13:03 eli: rudybot: (regexp-match* #rx"(a*)(b*)" "aabbaaabbbab") 13:03 rudybot: eli: your sandbox is ready 13:03 rudybot: eli: ; Value: ("aabb" "aaabbb" "ab" "") 13:03 (part) NaN: "Leaving" 13:03 eli: Demosthenes: Making that able to return (("aa" "bb") ("aaa" "bbb") ("a" "b") ("" "")) 13:04 eli: So it was probably someone else that asked me about it. 13:07 Demosthenes: yep 13:08 (join) PLT_Notify 13:08 PLT_Notify: racket: master Eli Barzilay * fc1b974 (1 files in 1 dirs): Fix "zo-parse.rkt" wrt the inclusion of `identity' in mzlib/etc, and ... 13:08 PLT_Notify: racket: master Eli Barzilay * 40a88b6 (3 files in 2 dirs): Fix TR docs wrt to `racket/function' change, close evaluators, fix ... 13:08 PLT_Notify: racket: master commits a7aad55...40a88b6 - http://bit.ly/jbg5yW 13:08 (part) PLT_Notify 13:26 Demosthenes: i was looking for more, simple lexer/parser examples 13:32 (join) dherman 13:39 mithos28: Can someone explain why the different requires in this program print different values? http://pastebin.com/tKAnA7sY 13:40 mithos28: My understanding is that they should all print #t 13:42 (join) anRch 13:46 jonrafkind: i dunno, maybe something to do with racket/load ? 13:47 mithos28: I'll try to make a test case without racket/load, but I don't think that is it. I saw this behavior without it 13:49 mithos28: I see it without racket/load 13:49 mithos28: I'm thinking it is a bug 13:50 jonrafkind: ok i see it just using modules 13:50 jonrafkind: hm 13:55 mithos28: Here is a more informative version. http://pastebin.com/jdnghvCW 13:55 (join) ryandanas_ 13:57 (join) qha 13:58 (quit) ryandanas: Ping timeout: 240 seconds 13:59 mithos28: Something seems up with what phase-level the identifiers are equal at 14:00 jonrafkind: send the example to the list, its almost surely a bug 14:00 mithos28: do you mean list or bug report? 14:01 jonrafkind: dont spend too many cycles figuring it out, matthew will solve it sooner than you :p 14:01 jonrafkind: either is fine I guess 14:01 mithos28: ok, thanks for the help 14:01 (quit) vu3rdd: Remote host closed the connection 14:19 (quit) Demosthenes: Quit: leaving 14:20 (join) Demosthenes 14:22 jonrafkind: ugh carl.. 14:28 (quit) lucian: Read error: Connection reset by peer 14:30 (quit) dherman: Quit: dherman 14:33 (join) lucian 14:33 jonrafkind: mithos28, if you add the phase level to free-identifier=? for the phase you want to check at then it works 14:36 jonrafkind: i dont see why syntax-local-phase-level is 0 all the time though 14:51 (quit) sstrickl: Quit: sstrickl 14:56 (quit) anRch: Quit: anRch 15:00 (quit) lucian: Read error: Operation timed out 15:01 (join) lucian 15:17 (quit) masm: Quit: Leaving. 15:20 (quit) MayDaniel: Read error: Connection reset by peer 15:56 (join) PLT_Notify 15:56 PLT_Notify: racket: master Kevin Tew * 524b5ca (1 files in 1 dirs): Channels compared to dd - http://bit.ly/jDH85G 15:56 (part) PLT_Notify 16:04 (nick) elliottcable -> ec|detached 16:20 (join) masm 16:21 (nick) ec|detached -> elliottcable 16:29 (quit) lisppaste: Remote host closed the connection 16:32 (join) MayDaniel 16:32 (join) lisppaste 16:36 (join) JoelMcCracken 16:49 (join) dherman 16:53 (join) ShereKahn 16:55 (quit) ShereKahn: Client Quit 16:58 (quit) MayDaniel: Read error: Connection reset by peer 17:05 (quit) realitygrill: Read error: Connection reset by peer 17:06 (join) realitygrill 17:07 (quit) JoelMcCracken: Remote host closed the connection 17:08 (quit) realitygrill: Read error: Connection reset by peer 17:08 (join) realitygrill_ 17:09 (nick) realitygrill_ -> realitygrill 17:10 (join) realitygrill_ 17:11 (quit) realitygrill: Read error: Connection reset by peer 17:11 (nick) realitygrill_ -> realitygrill 17:11 (join) JoelMcCracken 17:12 (quit) realitygrill: Read error: Connection reset by peer 17:12 (quit) DT``: Read error: Connection reset by peer 17:13 (join) DT`` 17:13 (join) realitygrill 17:14 offby1: hmm ... any generic way to compare two dicts for equality? I suspect I'll have to convert them to hashes, and then compare those. 17:15 jonrafkind: check their popped collars? 17:16 (quit) mithos28: Quit: mithos28 17:19 (join) ianj_ 17:19 ianj_: Is anyone active? I have a question about subprocess. 17:19 jonrafkind: go for it 17:21 ianj_: I'm calling (subprocess #f #f #f "myprogram"). I use fprintf on the third value it gives me to give a command to my program. It prints something in response. When I use read-line on the second value of subprocess, it just blocks forever. Why? 17:22 offby1: .oO("popped collars"?) 17:22 jonrafkind: did that fly over your head offby1 ? 17:22 offby1: jonrafkind: I confess sadly 17:22 offby1: and I've had my coffee today, too 17:23 jonrafkind: http://www.google.com/imgres?imgurl=http://www.hahastop.com/pictures/7_Popped_Collars.jpg&imgrefurl=http://www.hahastop.com/pictures/7_Popped_Collars.htm&h=750&w=600&sz=53&tbnid=TfMpxdQzZoLXhM:&tbnh=90&tbnw=72&prev=/search%3Fq%3Dpopped%2Bcollars%26tbm%3Disch%26tbo%3Du&zoom=1&q=popped+collars&usg=__QGEz2A_ClWppsax1Uk9xLx-XPSY=&sa=X&ei=t5buTYSgOsrzqwGNmrS7CA&ved=0CB4Q9QEwAQ&dur=83 17:23 rudybot: http://tinyurl.com/6z6vbbr 17:23 jonrafkind: ianj_, i dunno, maybe try read-string ? 17:24 ianj_: Doesn't work. 17:24 ianj_: byte-ready? is false, no matter the timeout length I give for sync/timeout on the input port. 17:26 tewk: ianj_: first return value is the processes stdout, the second is the processes stdin, the third is the process stderr 17:27 tewk: shouldn't you fprintf to the second value and read-line on the first? 17:28 ianj_: I was using 1-based indexing. 17:28 ianj_: the first value is the subprocess struct. 17:28 tewk: oh duh 17:28 ianj_: I'm not getting contract violations, so that much is correct. 17:30 eli: ianj_: Do you start threads to do your IO? 17:31 ianj_: no. 17:31 tewk: Are you explicitly calling flush-output after the fprintf? 17:31 ianj_: No 17:32 eli: You should. For both. 17:32 tewk: try (flush-output third-value) 17:33 ianj_: That solved my problem. Thanks. 17:33 tewk: I made the same mistake recently, I always forget to flush. 17:35 (quit) dherman: Quit: dherman 17:35 (join) mithos28 17:40 (quit) rekahsoft: Read error: Operation timed out 17:40 (join) rekahsoft 17:51 offby1: eww 17:53 jonrafkind: :p 17:57 (join) lucian_ 17:57 (quit) lucian: Read error: Operation timed out 17:57 (nick) lucian_ -> lucian 18:08 ianj_: how might you empty an input port efficiently? I have some excess output I need to cut. I don't fully understand filter-read-input-port 18:09 ianj_: None of the collects use it. 18:09 (quit) mithos28: Ping timeout: 252 seconds 18:11 ianj_: Gross, it calls the read filter per-byte. 18:13 (quit) masm: Quit: Leaving. 18:19 (nick) elliottcable -> ec|detached 18:20 eli: ianj_: Use `copy-port' with `open-output-nowhere'? 18:20 eli: (I don't see how filtering is relevant here.) 18:23 (quit) JoelMcCracken: Remote host closed the connection 18:25 (join) JoelMcCracken 18:43 jonrafkind: eli, ping 19:13 offby1: if you're gonna copy to nowhere, why not just close the port? 19:20 (quit) realitygrill: Read error: Connection reset by peer 19:20 (join) realitygrill 20:09 (quit) ckrailo: Quit: Computer has gone to sleep. 20:12 (join) shofetim 20:24 (quit) rekahsoft: Ping timeout: 263 seconds 20:24 (join) rekahsoft 20:30 (nick) ec|detached -> elliottcable 20:35 (quit) jonrafkind: Ping timeout: 240 seconds 20:39 (join) dnolen 21:04 (join) mithos28 21:14 (quit) mithos28: Ping timeout: 240 seconds 21:17 (join) mithos28 21:25 (quit) mithos28: Quit: mithos28 21:26 (nick) elliottcable -> ec|detached 21:26 (join) aalix 21:28 (join) mithos28 21:41 (join) jeapostrophe 21:45 (join) ckrailo 21:53 (join) gienah 21:55 (join) ehine1 22:11 (quit) stride: *.net *.split 22:11 (quit) karljoh: *.net *.split 22:11 (quit) em: *.net *.split 22:11 (quit) fmu: *.net *.split 22:11 (quit) blomqvist: *.net *.split 22:11 (quit) danking: *.net *.split 22:11 (join) stride 22:11 (join) danking 22:11 (join) fmu 22:11 (join) em 22:11 (join) karljoh 22:11 (join) droidboi 22:13 (join) blomqvist 22:13 (quit) droidboi: Read error: Connection reset by peer 22:13 (join) droidboi 22:15 (quit) gienah: Ping timeout: 260 seconds 22:15 (quit) wtetzner: Read error: Connection reset by peer 22:17 (join) gienah 22:22 (quit) dnolen: Quit: dnolen 22:23 (quit) mithos28: Quit: mithos28 22:24 (quit) droidboi: Read error: Connection reset by peer 22:25 (join) droidboi 22:29 (join) mithos28 22:39 (quit) droidboi: Read error: Connection reset by peer 22:40 (join) droidboi 22:47 Demosthenes: hrm, planet has no curses interfaces :P 22:59 (quit) mithos28: Quit: mithos28 22:59 offby1: probably easiest to talk to libncurses via the FFI 23:08 (join) dnolen 23:27 (part) ehine1 23:27 (quit) jeapostrophe: Quit: jeapostrophe 23:27 (join) ehine1