00:14 (join) rbarraud_ 00:15 (quit) rbarraud: Ping timeout: 240 seconds 00:28 (quit) b-man: Remote host closed the connection 01:00 (part) shkk 01:27 (quit) neilv: Quit: Leaving 02:15 (quit) jonrafkind: Ping timeout: 240 seconds 02:35 (join) masm 03:23 (quit) rbarraud_: Remote host closed the connection 03:23 (join) rbarraud_ 04:08 (quit) jao: Ping timeout: 245 seconds 04:27 (join) hanDerPeder 04:38 (quit) lisppaste: Ping timeout: 258 seconds 05:27 (join) jao 06:09 eli: Lajla: No, but I try to reply to racket and scheme related questions. 06:11 Lajla: eli, you do an excellent job here, just the iming. 06:12 Lajla: timing 06:12 eli: My timing sucks because I'm on a semi-vacation thing, so I'm not connected often. 06:15 Lajla: I insantly forgive you. 06:15 eli: In any case, the SO thing is targetting a different kind of crowd -- IRC has a pretty high threshold on several aspects, which makes it very different. 06:15 eli whews 06:16 Lajla: eli, why? 06:18 eli: That was a virtual whew, in reality I didn't even blink. 06:18 (quit) hellmage: Remote host closed the connection 06:18 Lajla: I will like to know why though 06:18 eli: (That's because I'm part machine, so I gave up blinking.) 06:18 Lajla: Ahh, they had the technology to make you better too? 06:18 eli: Not really. 06:19 eli: I have this terrible pain in all the diodes down my left side now. 07:54 Lajla: But you do have crosshair vision, don't you, eli? 08:02 (quit) bremner: Quit: ZNC - http://znc.sourceforge.net 08:03 (quit) rbarraud_: Read error: Connection reset by peer 08:19 (quit) masm: Read error: Connection timed out 09:36 (join) b-man 09:40 (quit) Gwyth: Ping timeout: 240 seconds 09:51 (join) test 09:51 (part) test 10:05 (join) Spewns 10:18 (join) askhader 10:33 (join) shkk 10:55 (nick) samth_away -> samth 10:58 samth: tewk, can't you just do (_ptr i (_ptr i ...)) ? 11:17 (join) Gwyth 11:18 (join) bremner 11:56 (join) sstrickl 11:59 (join) jonrafkind 12:19 (quit) jonrafkind: Read error: Connection reset by peer 12:20 (join) jonrafkind 12:22 (quit) hanDerPeder: Quit: hanDerPeder 12:22 (quit) jonrafkind: Read error: Connection reset by peer 12:23 (join) jonrafkind 12:24 (quit) jonrafkind: Read error: Connection reset by peer 12:24 (join) jonrafkind 12:25 (quit) jonrafkind: Read error: Connection reset by peer 12:25 (join) jonrafkind 12:29 (quit) jao: Ping timeout: 265 seconds 12:39 (join) lisppaste 12:40 (quit) jonrafkind: Read error: Connection reset by peer 12:41 (join) jonrafkind 13:12 (quit) mario-goulart: Remote host closed the connection 13:13 (join) mario-goulart 13:21 (join) carleastlund 13:22 (quit) stamourv: Remote host closed the connection 13:24 (join) stamourv 13:27 (quit) stamourv: Remote host closed the connection 13:28 (join) stamourv 13:53 (join) Hari_ 13:57 (part) Hari_ 13:58 (join) Hari_ 14:02 (join) hanDerPeder 14:34 (join) anRch 15:15 (quit) Hari_: Ping timeout: 252 seconds 15:58 (quit) anRch: Quit: anRch 16:12 (quit) paul_stansifer: Ping timeout: 252 seconds 16:13 (join) paul_stansifer 16:22 (join) jao 16:33 (join) semperciccio 16:34 (quit) semperciccio: Client Quit 16:43 shkk: Can anyone please give me some kind of reference to understand Continuations? I have no idea how it works and wish to learn it 16:43 jonrafkind: arent there some docs on it in the racket manual 16:44 shkk: Is it this: http://docs.racket-lang.org/reference/cont.html ? 16:44 clklein: shkk: You could give Part VII of PLAI a try (http://www.cs.brown.edu/~sk/Publications/Books/ProgLangs/2007-04-26/) 16:45 jonrafkind: well that section does start with "continuations", so yes im pretty sure its about continuations 16:46 shkk: thanks clklein and jonrafkind 16:55 shkk: On the link: http://docs.racket-lang.org/reference/eval-model.html#(part._cont-model) . I guess there is a error. The statement In this case, the continuation for reducing (+ 1 1) is C[(+ 4 [])], not just C should have been In this case, the continuation for reducing (+ 1 1) is C[(- 4 [])], not just C. Am I correct ? 16:56 shkk: On the link: http://docs.racket-lang.org/reference/eval-model.html#(part._cont-model) . I guess there is a error. The statement " In this case, the continuation for reducing (+ 1 1) is C[(+ 4 [])], not just C " should have been " In this case, the continuation for reducing (+ 1 1) is C[(- 4 [])], not just C ". Am I correct ? 17:05 (join) Hari_ 17:11 (quit) shkk: 17:13 paul_stansifer: It looks erroneous to me. 17:52 (quit) b-man: Remote host closed the connection 18:06 jonrafkind: anyone know where to find this: Eugene E. Kohlbecker. "Syntactic Extensions in the Programming Language Lisp". PhD. Thesis. Indiana University. 1986. 18:06 jonrafkind: acm has a link to some publishers website where I can buy it.. 18:07 chandler: I had a copy around somewhere, but it's probably on an old backup disk by now. 18:08 chandler: Hm. Actually, I'm not sure I ever had a digital copy. 18:09 chandler: I think I borrowed a paper copy at some point. 18:09 chandler: My suggestion would be to email Dan Friedman. 18:10 jonrafkind: ok 18:21 (quit) sstrickl: Quit: sstrickl 18:24 (quit) hanDerPeder: Quit: hanDerPeder 18:25 jonrafkind: http://www.braintreepaymentsolutions.com/devblog/a-dsl-in-5-languages ; discuss! 18:29 (quit) jonrafkind: Read error: Connection reset by peer 18:31 (join) jonrafkind 18:40 (quit) Hari_: Quit: Page closed 19:04 (quit) carleastlund: Quit: carleastlund 19:10 chandler: jonrafkind: Those "fluent" interfaces are obnoxious. It's like a bastardized Forth. 19:11 jonrafkind: i dont know much about forth, i thought cobol was supposed to be readable 19:12 (join) b-man 19:25 (quit) b-man: Remote host closed the connection 19:25 (quit) Gwyth: Ping timeout: 260 seconds 19:52 (join) Somelauw 19:52 Somelauw: Does Racket have a function like trace in prolog? 19:53 (join) shkk 19:53 jonrafkind: you want it to show you the arguments and result of a function? 19:59 shkk: Can I create a list of functions using lambda? I mean, I need to come up with a code that generates a list of same function for a specific length 20:00 Somelauw: I want it to show any function which gets called. 20:00 Somelauw: So if it is recursive it should show the function multiple times including arguments and return value. 20:03 jonrafkind: look at racket/trace 20:04 jonrafkind: (require racket/trace) (define (x a) a) (trace x) 20:04 chandler: Is that documented? 20:06 chandler: I guess it's this? http://docs.racket-lang.org/mzlib/mzlib_trace.html?q=trace 20:07 Somelauw: I am still using plt-scheme, so I guess this is a very new function or it was renamed. 20:09 chandler: Try (require mzlib/trace) instead. 20:09 Somelauw: It works if I (require mzlib/trace) 20:09 jonrafkind: oh i guess the docs werent updated.. samth did it 20:09 jonrafkind: but i think racket/trace just exports mzlib/trace 20:16 (join) evhan 20:25 (quit) Somelauw: Quit: Ik ga weg 20:37 (quit) jonrafkind: Ping timeout: 265 seconds 20:39 shkk: Hi All, is it possible to simulate foldr of ML in Scheme ? 20:42 shkk: Anybody there in this channel ? 20:51 evhan: unless ML's foldr is significantly different than "typical" implementations, then yes, it's a built-in 20:51 evhan: if not, I'm curious to know what's different 20:53 shkk: No, I said I want to write a "myfoldr" function that works exactly like the ML foldr in Scheme. Here is what I wrote, but obviously I am wrong since I am passing the cdr of the list : http://codepaste.net/ritvah 20:59 (join) hellmage 21:07 shkk: Got it! 22:07 (join) b-man_ 22:08 (join) neilv 22:32 (quit) shkk: Ping timeout: 260 seconds 22:42 (join) b-man__ 22:42 (quit) b-man_: Ping timeout: 260 seconds 23:03 chandler: Yay, 5.0.1. 23:07 offby1: rudybot: eval (banner) 23:07 rudybot: offby1: ; Value: "Welcome to Racket v5.0.1.\n" 23:07 chandler: Whoa. rudybot is more up to date than my computer is (for the next minute or two, while the installer runs). 23:08 neilv: my next production release is going to be based on 4.2.5 23:08 chandler: rudybot: init datalog 23:08 rudybot: chandler: error: module: no #%module-begin binding in the module's language in: (module program datalog) 23:09 chandler: D'oh. 23:09 chandler: rudybot: init datalog/sexp 23:09 rudybot: chandler: error: default-load-handler: cannot open input file: "/usr/local/src/racket/collects/datalog/sexp.rkt" (No such file or directory; errno=2) 23:09 offby1: huh 23:09 offby1: how new is that? 23:10 chandler: Dunno. It's in the 5.0.1 release. 23:10 chandler: rudybot: init racket 23:10 rudybot: chandler: your racket sandbox is ready 23:12 lisppaste: chandler pasted "the example datalog program from the documentation" at http://paste.lisp.org/display/113150 23:12 chandler: rudybot: init http://paste.lisp.org/display/113150/raw 23:12 offby1 drums fingers 23:12 offby1: chandler: you're one of the few people who knows that "init" can take a URL 23:12 offby1: I think the other people who know that are eli and me 23:12 rudybot: chandler: error: with-limit: out of time 23:12 offby1: try again 23:12 chandler: rudybot: init http://paste.lisp.org/display/113150/raw 23:13 offby1: humph 23:13 rudybot: chandler: error: with-limit: out of time 23:13 chandler: I have a feeling this isn't going to work. 23:13 chandler: rudybot: init racket 23:13 offby1: memory is very tight on that box, so it pages a lot 23:13 rudybot: chandler: your racket sandbox is ready 23:15 (quit) b-man__: Remote host closed the connection 23:15 chandler: rudybot: eval ((lambda () (display "Hi!") (define x 42) x)) 23:15 rudybot: chandler: ; Value: 42 23:15 rudybot: chandler: ; stdout: "Hi!" 23:15 chandler: (Yes, I read release notes.) 23:15 offby1: there's a datalog/sexp/lang.rkt 23:16 offby1: .oO("release notes"?) 23:19 eli: rudybot: eval (version) 23:19 rudybot: eli: your sandbox is ready 23:19 rudybot: eli: ; Value: "5.0.1" 23:19 eli: offby1: built from source? 23:22 neilv: is there a trick to git cloning matthew's gr2 stuff? i tried it the other day, but got intermittent errors, so probably i was doing it wrong 23:22 offby1: eli: ayup 23:22 offby1: took for-effing-ever, due to the limited RAM 23:23 eli: offby1: So you built from the `release' branch? 23:26 offby1: hmm ... I think so. Lemme check 23:26 offby1: yep 23:27 offby1: commit d8fc09c New Racket version 5.0.1. 23:27 chandler: Why not build it locally and upload to the server? 23:27 offby1: not a bad idea. 23:28 offby1: architectures _might_ differ, but I don't actually know that they do 23:28 offby1: ah, they do; the Xen host is x86_64 whereas your humble svt has but puny 32-bit boxes at home. 23:30 eli: offby1: it doesn't matter much, but you're a few commits behind the real 5.0.1 23:30 chandler: The OS on the Xen host won't run 32-bit binaries? It'd save some of your precious RAM if you could. 23:30 offby1: *gasp* 23:30 offby1: chandler: I assume it would. The real answer is "I didn't think of building at home". 23:31 chandler: What's that Xen instance running? 23:31 offby1: Ubuntu 10.04 x86_64 23:31 (join) shkk 23:31 neilv: if you build it at home, it's only a 300MB upload :) 23:32 offby1: that'd be OK actually. 23:32 offby1: it'd take way less time than building over there. 23:32 offby1: I'll try that next time (or else I'll just wait for eli to release the binary package). 23:32 chandler: The official binaries are *much* smaller than that. I don't see why you'd have to upload 300MB. 23:33 chandler: Running a 32-bit Racket is probably a good idea in this situation. It might stop that incessant swapping or at least make it less frequent. 23:35 offby1: huh, never occurred to me. 23:37 neilv: my install tree for x86 32-bit is 300MB, 90% of which is non-bin (mostly collects and docs). eventually i'd would be nice to have a server install (no gui stuff, no docs) that's 50MB disk, for running on cloud servers that charge for system image size 23:37 chandler: Running a 32-bit OS might help too, but presumably that's water over the dam at this point. :-) 23:40 neilv: if racket server install tree were 50MB, i think i could fit the entire server disk image in 256MB uncompressed