00:02 (quit) francisl: Quit: francisl 00:10 tommc: Hello. What is the easiest way to output the current file name at expansion time? Extracting the source-path from some dummy syntax? 00:34 (join) dyoo 00:37 dyoo: tommc: define-runtime-path does something like this in using variable-reference->resolved-module-path 00:37 dyoo: tommc: https://github.com/plt/racket/blob/master/collects/racket/runtime-path.rkt 00:40 (quit) asdfhjkl: Quit: Leaving 00:40 dyoo: tommc: it might be easier to use this-expression-source-directory: http://docs.racket-lang.org/mzlib/mzlib_etc.html?q=this-expression-source-directory#(form._((lib._mzlib/etc..rkt)._this-expression-source-directory)) 00:40 rudybot: http://tinyurl.com/czamc2u 00:45 (quit) dyoo: Quit: Page closed 00:49 tommc: Thanks dyoo. I ended up just using syntax-case and reading syntax-source. 00:51 (quit) tommc: Remote host closed the connection 00:53 Diarmid: chandler: That "warp" command almost looks like a joke manpage. 00:54 Diarmid: chandler: I keep expecting the Rocky Horror people. :P 00:57 (quit) yoklov: Quit: computer sleeping 00:59 (join) yoklov 01:18 (join) djcb 01:19 (quit) jeapostrophe: Ping timeout: 264 seconds 01:33 (quit) dnolen: Remote host closed the connection 01:37 (quit) samth: Ping timeout: 246 seconds 01:40 (quit) yoklov: Quit: bye! 01:42 (join) cdidd 01:42 (join) Kaylin 01:43 (quit) Kaylin: Read error: Connection reset by peer 02:00 eli: chandler: That sounds promising, but I can't figure out how to use that thing. 02:04 (quit) djcb: Read error: Connection reset by peer 02:13 (quit) AlbireoX: Ping timeout: 260 seconds 02:14 (quit) gf3: Excess Flood 02:16 (join) gf3 02:29 (part) dented42: "Textual IRC Client: http://www.textualapp.com/" 02:34 (quit) gf3: Quit: LOLeaving 02:35 (join) gf3 02:58 (join) realitygrill_ 03:00 (quit) realitygrill: Ping timeout: 246 seconds 03:00 (nick) realitygrill_ -> realitygrill 03:10 (join) hkBst 03:10 (quit) hkBst: Changing host 03:10 (join) hkBst 03:23 (join) realitygrill_ 03:24 (quit) realitygrill: Ping timeout: 246 seconds 03:24 (nick) realitygrill_ -> realitygrill 03:26 (join) bas_ 03:26 (nick) bas_ -> Skola 03:27 (quit) realitygrill: Client Quit 03:41 (join) ahinki 03:48 (join) merijn 03:49 merijn: Is there a swank implementation for Racket? 03:58 (quit) jhemann__: Ping timeout: 252 seconds 04:16 (join) jhemann 04:39 hkBst: merijn: it's not that, but there is geiser 04:45 merijn: hkBst: Ah, but that's emacs. I was hoping for something to use with vim using SLIMV :\ 05:13 (join) dzhus 05:14 (quit) hkBst: Read error: Connection reset by peer 05:14 (join) hkBst 05:14 (quit) hkBst: Changing host 05:14 (join) hkBst 05:49 (quit) hkBst: Ping timeout: 246 seconds 05:50 (join) hkBst 05:59 (join) tim-brown 06:03 (join) mceier 06:32 (join) masm 06:40 (quit) Skola: Ping timeout: 245 seconds 06:41 (join) bitonic 06:43 (quit) jhemann: Ping timeout: 246 seconds 07:18 (join) dous 07:18 (quit) dous: Remote host closed the connection 07:18 (join) dous 07:41 (join) kanak 07:45 (join) samth 07:52 (join) bas_ 07:53 (join) sstrickl 07:54 (nick) bas_ -> Skola 07:54 (quit) sstrickl: Client Quit 07:55 (join) sstrickl 08:02 (join) jao 08:22 (quit) jao: Ping timeout: 250 seconds 08:30 (quit) jrslepak: Quit: This computer has gone to sleep 08:38 (join) Sycamore 08:39 Sycamore: Hi, can anyone give me a hint on why this doesn't work: 08:39 Sycamore: [(apply-env X E) ,(let ([b (cdr (assq (term X) (term E)))]) (apply-env (caar (term ,b)) (cdar (term ,b))) 08:39 Sycamore: under (define-metafunction iswim-mach 08:40 Sycamore: [(apply-env V ()) (term V) (side-condition (eq? #f (redex-match iswim X (term V))))] 08:40 Sycamore: It says "apply-env: illegal use of syntax in: (apply-env (caar (term (unquote b))) (cdar (term (unquote b))))" 08:44 (join) veer 08:50 (join) noam_ 08:50 (quit) noam_: Read error: Connection reset by peer 08:50 (join) noam_ 08:52 (quit) noam: Read error: Connection reset by peer 08:56 (join) jao 08:59 (quit) Sycamore: Ping timeout: 245 seconds 09:03 (part) merijn 09:32 (quit) samth: Ping timeout: 246 seconds 09:38 (join) jeapostrophe 09:42 (quit) jao: Ping timeout: 264 seconds 09:45 (quit) cdidd: Remote host closed the connection 09:46 (join) yoklov 09:48 (join) Fare 09:48 (join) cdidd 09:50 (join) jrslepak 09:51 (quit) veer: Quit: Leaving 10:07 (quit) jeapostrophe: Ping timeout: 240 seconds 10:13 (join) realitygrill 10:20 (join) RacketCommitBot 10:20 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/X4T-4g 10:20 RacketCommitBot: [racket/master] added vector->list - Matthias Felleisen 10:20 (part) RacketCommitBot 10:22 (nick) samth_away -> samth 10:25 (join) haffe 10:26 haffe: Hello. In the racket object system is there some way to make a specific function run when a class is initilized? 10:26 (join) jhemann 10:35 (join) jeapostrophe 10:36 (join) samth_ 10:43 (quit) yoklov: Quit: computer sleeping 10:44 (quit) ahinki: Quit: ChatZilla 0.9.88.1 [Firefox 12.0/20120321033733] 10:53 (join) yoklov 10:54 (join) vkz 11:01 (quit) Skola: Ping timeout: 245 seconds 11:01 (quit) tim-brown: Quit: Leaving 11:01 asumu: haffe: sure, just call it in the class body. 11:02 asumu: rudybot: (define c% (class object% (super-new) (displayln "init"))) 11:02 rudybot: asumu: your sandbox is ready 11:02 rudybot: asumu: Done. 11:02 asumu: rudybot: (new c%) 11:02 rudybot: asumu: ; Value: #(struct:object:c%) 11:02 rudybot: asumu: ; stdout: "init\n" 11:04 (quit) realitygrill: Quit: realitygrill 11:06 (join) ssbr_ 11:06 (quit) jhemann: Ping timeout: 248 seconds 11:12 (join) djcb 11:18 (quit) sstrickl: Quit: sstrickl 11:28 (join) anRch 11:31 (quit) anRch: Client Quit 11:31 (quit) jrslepak: Quit: This computer has gone to sleep 11:31 (join) anRch 11:33 (quit) asumu: Quit: leaving 11:34 (join) asumu 11:35 (join) dnolen 11:47 (quit) samth_: Ping timeout: 276 seconds 11:48 (join) samth_ 11:50 (quit) tgilray`: Quit: Coyote finally caught me 11:51 (join) RacketCommitBot 11:51 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/JSoF3A 11:51 RacketCommitBot: [racket/master] Document relation between `Path-String' and `path-string?'. - Sam Tobin-Hochstadt 11:51 (part) RacketCommitBot 11:55 (join) anRch_ 11:55 (quit) anRch: Ping timeout: 264 seconds 11:55 (nick) anRch_ -> anRch 12:09 (quit) karswell: Remote host closed the connection 12:10 (join) nilyaK 12:16 (quit) yoklov: Quit: computer sleeping 12:18 (join) nilyaK1 12:19 (quit) nilyaK: Ping timeout: 240 seconds 12:20 (join) karswell 12:23 (join) yoklov 12:28 (join) RacketCommitBot 12:28 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/FD77rw 12:28 RacketCommitBot: [racket/master] Revise `Path-String' wording. Thanks Robby. - Sam Tobin-Hochstadt 12:28 (part) RacketCommitBot 12:29 (join) MayDaniel 12:29 (join) nilyaK 12:29 (quit) nilyaK1: Ping timeout: 246 seconds 12:33 (join) ssbr__ 12:34 (quit) ssbr_: Ping timeout: 252 seconds 12:35 (quit) anRch: Quit: anRch 12:39 (quit) samth_: Ping timeout: 250 seconds 12:42 (join) jhemann_ 12:42 (quit) hkBst: Quit: Konversation terminated! 12:47 (quit) nilyaK: Quit: /quit'ed, I'm so special. 12:50 (quit) yoklov: Quit: bye! 12:58 (quit) jhemann_: Ping timeout: 264 seconds 13:01 (join) jtpercon 13:03 (quit) MayDaniel: Read error: Connection reset by peer 13:16 (join) RacketCommitBot 13:16 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/Rk0G_g 13:16 RacketCommitBot: [racket/master] add hinting configuration to `font%' - Matthew Flatt 13:16 (part) RacketCommitBot 13:21 (join) RacketCommitBot 13:21 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/JSBvFQ 13:21 RacketCommitBot: [racket/master] apply Andy's diff (and adjust the documentation correspondingly) - Robby Findler 13:21 RacketCommitBot: [racket/master] add 'match-pattern?' - Robby Findler 13:21 (part) RacketCommitBot 13:22 (join) tommc 13:32 (join) jhemann 13:38 (quit) Fare: Ping timeout: 246 seconds 13:41 (join) GeneralMaximus 13:42 (nick) ssbr__ -> ssbr_ 13:44 (quit) jhemann: Ping timeout: 252 seconds 13:50 (quit) vkz: Quit: vkz 13:53 (quit) GeneralMaximus: Remote host closed the connection 13:54 (join) GeneralMaximus 14:03 (join) MayDaniel 14:07 (quit) GeneralMaximus: Remote host closed the connection 14:16 (quit) tommc: Ping timeout: 240 seconds 14:18 (join) Fare 14:23 (join) tommc_ 14:23 (nick) tommc_ -> tommc 14:28 (join) untrusted 14:30 (quit) Fulax: Read error: Connection reset by peer 14:30 (join) Fulax 14:31 danking: So, how should I go about parmeterizing a whole module over some values? Is this what units are for? 14:31 danking: I basically want a specialized set library that needs to know about some special equality predicates and join operations. 14:31 (join) vkz 14:31 danking: I'm not sure how to cleanly make this into a module. 14:32 stamourv: danking: Units sound reasonable. 14:32 stamourv: Also, parameters. 14:33 stamourv: Or possibly syntax parameters. 14:38 (join) jao 14:39 (join) jhemann 14:40 (quit) jao: Remote host closed the connection 14:41 (join) bmp 14:43 Fare: what are parameters? 14:43 Fare: as in parameterize / cl special variables ? 14:43 samth: Fare: yes 14:43 samth: parameterize operates on parameters 14:44 Fare: sounds like a very dirty way of doing what danking wants 14:44 (quit) Shvillr: Ping timeout: 245 seconds 14:44 (join) jao 14:44 (join) Shvillr 14:45 (nick) jao -> Guest73919 14:46 stamourv: Fare: I'm not exactly sure what he wants. 14:46 (quit) Guest73919: Client Quit 14:47 (join) jao` 14:47 (quit) jao`: Changing host 14:47 (join) jao` 14:48 danking: stamourv, Fare: I'm pretty sure Units are what I'm looking for. 14:48 Fare: can I get a room at neu for a lisp meeting? In april? may? eli seems overworked - can someone else do it? 14:48 danking: Ideally, I'd like to do something like (require (instantiate-in my-awesome-sets special-equal special-join)), where special-equal and special-join are "arguments" to my module my-awesome-sets. 14:49 stamourv: danking: Sadly, using both units and modules is a bit heavyweight. 14:50 Fare: danking: in cl I use "interface passing style", which is like units w/o automatic currying, but w/ clos method combination. 14:50 stamourv: I like your idea, though, that would be great! 14:50 stamourv is not very subtle. 14:51 Fare: danking: so some require'rs get just one instance of one unit in a required module? 14:55 danking: hmm 14:59 danking: Fare: I'm not every familiar with common lisp, I'm not sure how something like "interface passing style" would look in Racket. Re: rooms for boston-lisp at NEU, I looked into doing that once and Eli told me not to bother because the bureaucracy is rather stiff and he had already infiltrated it. 14:59 danking: stamourv: Alright, I'll look into it and see if I can't macro-magic the heavyweight away... 15:03 (quit) jao`: Remote host closed the connection 15:06 (quit) shadgregory: Ping timeout: 246 seconds 15:08 (join) jao` 15:09 (quit) jao`: Changing host 15:09 (join) jao` 15:11 Fare: can you infiltrate the eli for me? 15:12 Fare: or duplicate his file handle to the bureaucracy? 15:12 Fare: because my handle on him seems stale 15:13 Fare: to use "interface passing style 15:13 Fare: in racket, you'd probably use swindle for method combination 15:13 (quit) jhemann: Ping timeout: 246 seconds 15:14 Fare: and then you'd add a unit-like syntax layer on top to do the currying 15:14 Fare: where applicable 15:15 stamourv: rudybot: (require racket/require) 15:15 rudybot: stamourv: your sandbox is ready 15:15 rudybot: stamourv: Done. 15:15 stamourv: rudybot: doc require-transformer 15:15 rudybot: stamourv: not found in any library's documentation: require-transformer 15:15 stamourv: rudybot: doc define-require-transformer 15:15 rudybot: stamourv: not found in any library's documentation: define-require-transformer 15:15 stamourv: danking: You may want to have a look at `racket/require'. 15:16 (join) jhemann 15:16 stamourv: rudybot: doc make-require-transformer 15:16 rudybot: stamourv: no docs for a current binding, but provided by: racket/require-transform 15:17 stamourv: rudybot: (require racket/require-transform) 15:17 rudybot: stamourv: Done. 15:17 stamourv: rudybot: doc make-require-transformer 15:17 rudybot: stamourv: http://docs.racket-lang.org/reference/stxtrans.html#(def._((lib._racket%2Frequire-transform..rkt)._make-require-transformer)) 15:17 stamourv: danking: ^, finally. 15:18 pauls: rudybot: Dance! 15:18 rudybot: pauls: eh? Try "rudybot: help". 15:19 pauls: Ah, man. ) : 15:20 samth: chandler: have you ever run that `warp` script? 15:21 (part) untrusted: "ERC Version 5.3 (IRC client for Emacs)" 15:27 asumu: danking: Units aren't too bad if you don't do much linking. 15:28 (quit) MayDaniel: Read error: Connection reset by peer 15:28 asumu: rudybot: (define f (lambda (x) (unit (import) (export) (displayln x)))) 15:28 rudybot: asumu: your sandbox is ready 15:28 rudybot: asumu: Done. 15:28 asumu: rudybot: (invoke-unit (f 5)) 15:28 rudybot: asumu: ; stdout: "5\n" 15:29 asumu: In your case, it doesn't sound like you need to do any linking. 15:29 asumu: Unless you plan to use a signature containing the set parameters as an import. 15:29 (join) antithesis 15:30 eli: Fare: Sorry, I tried getting to the person in charge a few times but she wasn't in. I sent an email though. 15:30 (join) jhemann_ 15:30 chandler: samth: Yes, I have. The ast-open stuff can be a bit of a pain to install. 15:30 samth: chandler: indeed 15:30 samth: my kingdom for a debian package 15:30 chandler: I think I had to be using ksh to make it work too. 15:31 chandler: http://www2.research.att.com/~gsf/download/gen/BINARY.html 15:31 chandler: It's a bit buried on the site, but that's pretty much the right magic to get it working. 15:31 samth: yeah, i've partly got it 15:31 samth: but it doesn't actually work 15:31 chandler: are you getting something like: ./warp: line 5: integer: command not found 15:31 chandler: ? 15:31 (quit) jhemann: Ping timeout: 260 seconds 15:32 chandler: or are you having trouble getting it downloaded? 15:32 samth: more like the former 15:33 samth: plus it hardcodes date being in /usr/bin/date 15:33 samth: but it's /bin/date 15:33 samth: plus it uses an outdated version of the date arguments 15:34 chandler: for the first part, either run the script with the ksh that's in the bin dir, or add #!/usr/bin/env ksh 15:34 chandler: I'm not seeing hardcoded /usr/bin/date in the script 15:34 chandler: it probably expects to work with the "date" that's included in ast-open, not your system date 15:36 chandler: after adding a shebang line to the script and putting $HOME/ast-open/bin:$HOME/ast-open/arch/linux.i386-64/bin in path, I can use the script 15:36 chandler: $ warp 2012-03-26/12:00:00 drracket 15:36 chandler: read-bitmap: expects type as 1st argument, given: '#(# 270 270); other arguments were: 'unknown/alpha #f #t 15:37 samth: did you have to change the ld_library_path? 15:37 chandler: no 15:38 samth: ok 15:41 samth: ok, i successfully see the turtle :) 15:41 samth: chandler: thanks a ton 15:46 (quit) jtpercon: Quit: Leaving. 15:49 (quit) dnolen: Ping timeout: 245 seconds 15:54 eli: samth: If you can produce exact instructions on how to run it, it will help in avoiding C-level hacking. 15:54 samth: eli: working on 15:54 samth: it 15:55 samth: unfortunately, the ast-open stuff is the worst-packaged software ever created 15:57 eli: samth: That was my initial reaction -- then I saw that there was a ton of work in that whole package thing, so my guess is that it's trying to emulate some other environment. 15:58 eli: Unsurprising, when coming from that place. 15:58 samth: it's an impressive amount of work, but it's still terrible 15:58 samth: and it requires that you use their bin/date, and their ksh 16:06 (join) jon7_ 16:06 jon7_: anyone know where to get wasysym.sty? i get an error about it when running scribble --pdf 16:08 bremner: jon7_: afaik, it is included with texlive (on linux-ish platforms) 16:08 jon7_: yea.. it should be. i installed like 20 texlive packages and havent gotten the sty yet though 16:08 jon7_: i did fix some other error about a different missing sty 16:11 chandler: samth: I think you might be able to use the shared object it's preloading from your own wrapper to avoid a lot of this cruft. 16:11 (quit) jhemann_: Ping timeout: 276 seconds 16:13 (join) jhemann 16:16 samth: jon7_: it's in texlive-fonts-recommended for me on ubuntu 16:16 jon7_: yea i just installed that one 16:17 jon7_: i got some wierd output from latex but it seems like scribble worked 16:18 chandler: samth: try something like this: $ WARP=-86400 LD_PRELOAD=/home/brian/ast-open/arch/linux.i386-64/lib/libwarp.so.1.0 drracket 16:18 chandler: (erk, ignore the $ there) 16:18 chandler: the value of WARP is just the offset from the current time in seconds 16:19 samth: chandler: well done! 16:21 (quit) jon7_: Ping timeout: 245 seconds 16:23 (join) Kaylin 16:25 chandler: The last time I messed around with this ast-open stuff was when trying to build the real ksh, and it was a mess then. It doesn't look like it's changed since then. 16:26 (join) jhemann_ 16:29 (quit) jhemann: Ping timeout: 250 seconds 16:38 samth: chandler: i've now got it working quite nicely, mostly thanks to you 16:39 chandler: Glad I could help. 16:42 jhemann_: I'd like to get, somehow, the location of an event *within* a snip. Say, for instance I'm clicking on the third item. Does the on-event method not provide a way to get that information? If not, how would one go about getting that? 16:52 (quit) tommc: Remote host closed the connection 16:56 (quit) vkz: Quit: vkz 16:56 (join) fftb 16:58 (quit) jhemann_: Quit: Leaving 17:05 (join) dnolen 17:06 (quit) ssbr_: Quit: Leaving 17:07 (join) ssbr_ 17:07 (join) yoklov 17:08 (join) genbattle 17:18 (quit) antithesis: Remote host closed the connection 17:21 (join) dented42 17:23 (join) anRch 17:35 (nick) samth -> samth_away 17:38 (join) duomo 17:46 (quit) fftb: Read error: Connection reset by peer 17:48 (join) vkz 17:52 (join) jhemann 17:58 asumu: jhemann: "To get event’s x location in snip coordinates, subtract x from (send event get-x)." from the reference on snips. 17:58 asumu: That sounds like what you want, if I understand correctly. (from docs for on-event) 18:00 (quit) jhemann: Ping timeout: 244 seconds 18:03 (quit) bitonic: Ping timeout: 250 seconds 18:08 (quit) dzhus: Remote host closed the connection 18:09 (join) jhemann 18:12 (join) jhemann_ 18:16 (quit) jhemann: Ping timeout: 260 seconds 18:19 (quit) genbattle: Remote host closed the connection 18:23 (join) samth_ 18:24 (join) jrslepak 18:27 (join) bitonic 18:28 (quit) jeapostrophe: Ping timeout: 264 seconds 18:31 (quit) duomo: Quit: Leaving... 18:32 (quit) anRch: Quit: anRch 18:35 (join) djcb` 18:37 (quit) djcb: Remote host closed the connection 18:46 (quit) dnolen: Quit: Page closed 18:57 (join) jeapostrophe 19:00 (nick) samth_ -> samth 19:00 (quit) cdidd: Remote host closed the connection 19:00 (topic) samth: Racket -- http://racket-lang.org -- logs at http://racket-lang.org/irc-logs/ 19:01 samth is pretty sure it's now tomorrow everywhere 19:03 samth: anyone here have a mac with drracket handy? 19:05 (quit) ivan\: Quit: ERC Version 5.3 (IRC client for Emacs) 19:14 (quit) jeapostrophe: Ping timeout: 276 seconds 19:19 jamessan: samth: I could install it on a mac 19:19 samth: jamessan, not that important 19:20 (join) ivan\ 19:22 (quit) mceier: Quit: leaving 19:28 (quit) masm: Quit: Leaving. 19:35 (quit) bitonic: Quit: WeeChat 0.3.5 19:38 (join) bitonic 19:54 (quit) jhemann_: Ping timeout: 246 seconds 19:59 (join) noam 19:59 (quit) noam_: Read error: Connection reset by peer 20:04 (quit) synergizm: Read error: Connection reset by peer 20:11 (quit) bitonic: Quit: WeeChat 0.3.5 20:15 (join) RacketCommitBot 20:15 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/wsiPew 20:15 RacketCommitBot: [racket/master] scribble: for Latex/PDF output, use \makebox for precise pict widths - Matthew Flatt 20:15 RacketCommitBot: [racket/master] racket/draw: add `get-handle' to `bitmap%'; add `make-handle-brush' - Matthew Flatt 20:15 (part) RacketCommitBot 20:16 (join) jtpercon 20:18 (join) racfster 20:19 (join) tommc 20:20 tommc: samth: Still need a mac tester? 20:21 racfster: rudybot: shen the 20:21 rudybot: racfster: Shen does use a semi-free license apparently, though Mr Tarver finds the GPL too restrictive and the BSD license too anarchic 20:21 racfster: rudybot: shen the 20:21 rudybot: racfster: This Shen has inner beauty inside, belive me! 20:21 racfster: rudybot: shen the 20:21 rudybot: racfster: ,shen is an optionally-typed functional lisp dialect that is the successor to qi: http://www.lambdassociates.org/shen.htm 20:21 racfster: rudybot: shen the 20:21 rudybot: racfster: ok, everyone, discussion of shen is now over 20:21 rudybot: I am so bored talking about shen 20:21 racfster: rudybot: shen the 20:21 rudybot: racfster: SHEN RULES!!!!!!!!!!!!!!!!!! 20:21 rudybot: I hope racfster tires of poking me 20:22 racfster: hey, you improved rudybot! 20:22 racfster: :) 20:22 rudybot glares at racfster 20:22 racfster: amazing! 20:22 rudybot: We didn't need voices -- we had faces! 20:23 (quit) Kaylin: Read error: Connection reset by peer 20:26 racfster: it's nice to have once again hear "the sound of silence" typical for this channel :) 20:26 (join) jhemann_ 20:26 racfster: i really don't understand why i disturb you when here is mainly silence 20:27 rudybot: PLEASE BE QUIET! 20:27 rudybot: .oO ("this is the worst hangover evar") 20:28 racfster: rudybot: (define (shen-is-beter) "yeah it really is!") 20:28 rudybot: racfster: your sandbox is ready 20:28 rudybot: racfster: Done. 20:28 racfster: rudybot: (shen-is-beter) 20:28 rudybot: racfster: ; Value: "yeah it really is!" 20:28 offby1: also I'm afraid if you talk about shen you'll attract ... The Troll 20:28 offby1: who I don't _think_ is you. 20:28 bremner: seriously?? 20:28 racfster: hi, offby1 20:29 offby1 lives in fear of trolls 20:29 bremner: I notice racfster is not being an ass in #shen 20:29 racfster: please, don't have fear of me 20:29 racfster: i'm benign 20:29 offby1 trembles tremblingly 20:30 racfster: what is custodian in racket? 20:31 tommc: racfster: They manage resources; threads, file, tcp ports etc. 20:32 racfster: for what i should use it? 20:32 tommc: racfster: You clearly like Shen. Why not implement it in Racket? 20:32 racfster: it's already done by someone else 20:33 racfster: for a few days it will bi published 20:33 tommc: racfster: Look at the More tutorial, there's a good 'interactive' example there. 20:33 racfster: for now, there are versions for clojure, lisp and javascript 20:34 offby1: I am not sure I've ever used a custodian 20:34 racfster: neither I, but saw it is mentioned in documentation 20:36 racfster: i cannot believe that someone took the effort to make rudybot more sensible on me, hehehehe 20:36 offby1: that would be me 20:37 racfster: ??? 20:38 offby1: !!! 20:39 (nick) rudybot -> bot22 20:39 racfster: Why do I disturbing you so much that you ban me, change rudybot, etc? 20:39 (nick) bot22 -> rudybot 20:40 offby1: I don't ban anyone! 20:40 offby1: (not from this channel anyway) 20:40 racfster: ok, maybe you don't, but... 20:40 tommc: racfster: Are you racketnoob? 20:40 racfster: of course I am! 20:41 (quit) Nisstyre: Ping timeout: 246 seconds 20:42 tommc: Thought as much. I think some of your comments on racket are useful, but personal attacks never get you far. I suspect that's why they ban you. 20:42 tommc: ... and for spamming Shen. 20:42 racfster: but every attack is in some way personal 20:43 racfster: and I must attack because if i don't, racket doc will always sucks! 20:43 racfster: :) 20:44 tommc: There are attacks that effect change, and those that are ignored. 20:44 racfster: mine is always igored :( 20:45 bremner: racfster: that's because the punch-in-face-over-IRC protocol is not widely deployed 20:45 tommc: Then change your delivery. 20:45 racfster: no metther that MAJORITY of users thinks for example that web docs sucks 20:46 racfster: at first, i was polite, on racket user group 20:46 racfster: but then... 20:46 racfster: ...I encountered a wall of misunderstanding 20:47 asumu: racfster: your first e-mail concerning the documentation was this: http://lists.racket-lang.org/users/archive/2011-December/049632.html 20:47 asumu: Do you consider it polite? 20:47 racfster: and only then I was pissed off 20:48 racfster: but that was on purpose 20:48 racfster: ok, i was a little rude 20:48 racfster: but not too much 20:49 racfster: my only interest here is not to insult people, but to push some pressure for better doc 20:49 tommc: Aside from being a little rude (It's especially hard to be rude when you're not paying someone), it's not specific enough for a person to help. 20:50 tommc: If you say: I wish to accomplish X, but cannot understand the documentation. Then you'll probably get a good solution to X, and the surrounding documentation might be improved. 20:51 racfster: look, there are good reasons why for example clojure is so popular, despite the fact that it appeared much later than racket 20:51 racfster: and the key is: excelent documentation 20:52 racfster: rich hikey is not too busy writting academic "artificial" articles all the time 20:53 racfster: instead of that, there are at least 5 good book on clojure 20:53 bremner: so if every other system is better, why are you here? 20:53 racfster: and 0 on racket (not counting HtDP, for begginers only) 20:53 racfster: bremner, good question 20:54 (join) Nisstyre 20:54 racfster: i'm here because, paradoxally, i like racket"! 20:54 tommc: racfster: I think Clojure's biggest strong point is being able to interface with the JVM, and existing libraries. It's a "safer" choice. 20:54 (quit) Fulax: Read error: Connection reset by peer 20:54 (join) Fulax 20:54 racfster: maybe, but i think it's something else 20:55 racfster: rich hickey puts effort on promoting clojure, not on writing "artifical" articles 20:56 bremner: ok, that's enough feeding the troll for me. Good night. 20:56 racfster: bremner, i'm not the troll 20:56 racfster: seriously 20:56 racfster: i'm benevolent 20:57 racfster: there are no malice in me 20:57 (join) jeapostrophe 20:58 tommc: What exactly do you think is missing? More tutorial style docs? 20:58 racfster: for beginnning, 1 good, systematic book on racket 20:58 danl_ndi: sometimes people won't get that I'm just trying to help them. why won't people let me help them? must be them, not me... 20:59 racfster: a book like a forecoming "Book of Shen" 20:59 racfster: or like PragProg's book on clojure 21:00 chandler: you know, I think all your complaining about the racket documentation could fill a book by now 21:00 racfster: if i know english better maybe i coud write it 21:00 racfster: but now i cant 21:01 racfster: i'm quick lerner of programming languages, but sadly i'm unable to learn english for some reason 21:02 tommc: racfster: That's your editor's problem :) 21:04 racfster: but here's another reason why I can't write a Racket book: how possible could i write web part of book if I don't understand "official" doc at all? 21:05 tommc: I'm sure the experts on the list could help you with specific queries. 21:06 (quit) Shviller: Ping timeout: 250 seconds 21:06 racfster: I'm sure too, but i don't like to ask in my broken english, i just want to read and understand what i'm reading 21:07 racfster: it's hard for me to express myself in english but it's much easyer just to read english text 21:08 racfster: you know, i'm ADHD person 21:12 (quit) samth: Ping timeout: 272 seconds 21:13 racfster: on the one hand God gave you, on the other takes 21:14 ssbr_: tommc: you asked earlier what someone thought could be improved 21:14 ssbr_: as a nontroll response, I've very often accidentally found myself in the reference docs when I should have been directed to the narrative / intro docs 21:14 ssbr_: and I didn't notice until many years later 21:15 asumu: ssbr_: was this a search issue or an issue in how the docs page is laid out or...? 21:16 ssbr_: asumu: issue is that they come up earlier in google search (you can't control), and it wasn't obvious when I got there that I was in the wrong place 21:16 (quit) jeapostrophe: Ping timeout: 260 seconds 21:17 ssbr_: anyway yeah, the reference docs are very hard to read :S 21:17 tommc: ssbr_: I was enquiring, but I'm just a mere user. Sounds like a good suggestion though. 21:17 ssbr_: especially as an undergraduate student learning racket for a course 21:17 racfster: ssbr, you need good book 21:17 asumu: ssbr_: I see. That's a good point. Not all reference pages link to the corresponding guide page. Though some do. 21:17 racfster: but you can't buy it 21:18 danl_ndi has found the racket docs page search to be extremely useful. 21:18 racfster: because there aren't any 21:18 ssbr_: asumu: I only noticed because I started seeing the guide links. I don't know if those were always there or if I just missed them 21:18 ssbr_: racfster: I'm not a fan of paper books 21:18 ssbr_: well, I know I missed them, but for how long? 21:19 racfster: it's not important is it paper or electronic, it's sistemacity that metters 21:19 (quit) dented42: Read error: Connection reset by peer 21:19 racfster: and book are much better for learning then any doc 21:19 racfster: any ad hoc doc 21:19 (join) dented42 21:19 ssbr_: Not really important to me. 21:19 ssbr_: Also there is a guide. Is that guide not systematic enough? 21:19 racfster: guide do not cover all 21:20 racfster: only certain aspects 21:20 asumu: ssbr_: So this is an interesting tension, but the reference, for example, says at the top that the guide is a "friendlier" intro. You think this reminder is needed on every page? 21:20 asumu: (that could be done for every section header at least) 21:21 racfster: it's missing something importatnt: the broader context when you shoud use something mentioned in documentation 21:23 (join) francisl_ 21:23 racfster: "When an extension allocates resources that must be explicitly freed (in the same way that a port must be explicitly closed), a Racket object associated with the resource should be placed into the management of the current custodian with scheme_add_managed." 21:24 racfster: is there anyone that understands above? 21:24 racfster: extension? what extension? 21:24 ssbr_: asumu: I find myself usually at the top of some part way into the reference, because I googled, say, how to use match 21:24 (quit) tommc: Remote host closed the connection 21:24 ssbr_: asumu: if I were just learning match, and saw it in tutorial without understanding, the reference is pretty opaque stuff 21:25 (join) tommc 21:25 racfster: it's the excpert from here: http://docs.racket-lang.org/inside/Custodians.html?q=custodian 21:25 ssbr_: asumu: http://docs.racket-lang.org/reference/match.html vs http://docs.racket-lang.org/guide/match.html 21:26 tommc: racfster: That's the C API, is that what you need? 21:26 racfster: no, custodian 21:27 racfster: oh right 21:27 tommc: http://docs.racket-lang.org/reference/eval-model.html?q=custodian&q=custodian#(tech._custodian) 21:27 rudybot: http://tinyurl.com/c8obfjh 21:27 asumu: ssbr_: that example has a link to the guide though. 21:28 asumu: I agree that the guide is far more useful to a beginner. Do you think there's a better way to make the guide entry more obvious? 21:28 tommc: asumu: Tagging GUIDE / REFERENCE on search results might be a good idea. 21:29 racfster: asumu, have you ever read any book from charles petzold? 21:29 tommc: scratch that... it's already done. 21:29 racfster: those are books! 21:29 ssbr_: asumu: the example has a link to the guide in the far right where nobody would read, in a way that is distinguishable from the main content (which it is assumed people mean to read) 21:29 ssbr_: asumu: at the least, if people were directed from google, it should be made more obvious (yay referer) 21:29 ssbr_: basically it's placed the same way ads are, and nobody reads ads 21:30 racfster: in any case, thank you for a conversation. good night! 21:30 (quit) dous: Remote host closed the connection 21:31 ssbr_: goodnight sir 21:31 (quit) racfster: 21:31 ssbr_: asumu: the only objection I can think of offhand to the guide is that it, for all its examples, never actually tells you how to write your own. I guess it's assumed that you'll move on to the reference entry (which is difficult to read) 21:33 ssbr_: asumu: but I'm not good to say what would trouble a beginner or not, because I'm no longer a beginner. This is just what I remember troubling me when I was. 21:33 asumu: ssbr_: Fair enough, I suppose people might ignore that margin note. Would it help if it was in the prose at the top? 21:33 ssbr_: In fact, when I learned about match and (non-prolog [non-unification]) pattern matching, last year, I never actually saw the guide page 21:33 ssbr_: I always looked at the reference page, which was very frustrating. 21:33 (join) realitygrill 21:33 ssbr_: I don't know if the guide link was around back then though 21:33 (quit) realitygrill: Remote host closed the connection 21:33 ssbr_: asumu: I think so, yes 21:33 ssbr_: (A B testing might help verify) 21:34 (quit) yoklov: Quit: computer sleeping 21:34 asumu: Okay. Well, adding prose linking guide and ref entries doesn't seem too hard. I'll bring it up with our doc tzar. 21:36 ssbr_: asumu: dank u! 21:36 asumu: s/tzar/czar/ 21:37 ssbr_: both valid spellings 21:37 (join) yoklov 21:37 asumu: Oh, good for me then. 21:37 ssbr_: "Tsar", "Tzar", "Csar", and "Czar" 21:42 (quit) francisl_: Quit: francisl_ 21:46 (quit) tommc: Remote host closed the connection 21:46 (quit) dented42: Quit: Textual IRC Client: http://www.textualapp.com/ 21:50 (join) dented42 21:56 (join) realitygrill 21:56 (quit) realitygrill: Remote host closed the connection 21:57 (join) realitygrill 21:58 (join) jeapostrophe 22:04 (quit) dented42: Read error: Connection reset by peer 22:05 (join) dented42_ 22:27 (part) jtpercon 22:38 (quit) vkz: Quit: vkz 22:40 (quit) dented42_: Ping timeout: 252 seconds 22:40 (join) dented42 22:41 (quit) _p4bl0: Ping timeout: 252 seconds 22:43 (join) tommc 22:45 (quit) dented42: Ping timeout: 244 seconds 22:48 (quit) tommc: Remote host closed the connection 22:53 (quit) realitygrill: Quit: realitygrill 22:53 (quit) noam: Ping timeout: 260 seconds 23:05 (join) mithos28 23:15 (join) dented42 23:21 (join) MrWells 23:21 MrWells: Hello! 23:22 MrWells: 1. Is anyone actually here? 2. Anyone willing to help me with some minor issues 23:23 (quit) yoklov: Quit: computer sleeping 23:23 (join) realitygrill 23:23 MrWells: hey 23:24 MrWells: ANYYYYONNNNEEEE HOOOOMME? 23:25 MrWells: like seriously, am I doing it wrong or is no one actually here 23:27 offby1: nobody here but us zombie processes. 23:27 MrWells: ah 23:27 offby1: we're not always staring at our screens, y'know 23:28 MrWells: yeah but with like 40-50 people i would expect at least one to be currently typing 23:28 offby1: *shrug* 23:28 MrWells: sorry though 23:28 rudybot is usually around 23:28 offby1: rudybot: yes, but you're an idiot 23:28 rudybot: *offby1: yeah we only train idiot terrorists 23:29 MrWells: would it be intrusive/n00bish of me to ask questions on why I am getting errors? Im not sure if my professors code is wrong or I am making a mistake. 23:29 offby1: go ahaid 23:30 MrWells: so we are learning how to use 'cons', the example he gives is "(cons 1 ())", but It tells me that is expecting a funtion inside those parens and so it doesnt do anything 23:31 offby1: yep, either the prof is wrong or you're using the wrong version of schee 23:31 offby1: scheme 23:31 MrWells: im using the 'Advanced Student' language that is availible from the menu 23:31 offby1: hmm 23:31 offby1: I never use those ... 23:31 offby1: certainly what you wrote is an error in normal racket: 23:31 MrWells: Well thats the one he told us to use for the last project. If it is different for this one, he has not told us 23:31 offby1: rudybot: (cons 1 ()) 23:31 rudybot: *offby1: error: #:1:8: #%app: missing procedure expression; probably originally (), which is an illegal empty application in: (#%app) 23:31 offby1: I had trouble typing that since my fingers knew it was wrong! 23:31 offby1: here's how I'd do it: 23:31 offby1: rudybot: (cons 1 '()) 23:31 rudybot: *offby1: ; Value: (1) 23:32 offby1: note the quote mark 23:32 MrWells: thats what I thought... but I was browsing random Scheme code an one example on wikipedia hjad a () in it 23:32 offby1: now, it's possible that your 'Advanced Student' doesn't require the quote mark 23:33 offby1: Nope. I get the same error as you 23:33 offby1: just throw in a quote mark as needed and ask your prof when you next see him/her/it 23:34 MrWells: well the thing is our professor does this all the time. Normall it is a small error, easy to fix... but this time there are so many that I cant finish the lab... also its not with a language that I've had much experiance with like it usually is 23:35 offby1: shame that there isn't a free market in professors :) 23:35 MrWells: two more errors if I may? If it is nothing obvious for you guys, no big deal. 23:36 offby1: sure sure 23:37 MrWells: it says 'second argument must be a list' to "(cons 1 2)" so should I do (cons (list 1 2))? 23:38 offby1: that's one way 23:38 offby1: let's see 23:38 offby1: rudybot: (cons (list 1 2)) 23:38 rudybot: *offby1: error: cons: expects 2 arguments, given 1: '(1 2) 23:38 offby1: hmm! 23:38 offby1: I guess not :) 23:38 offby1: what else might we try? 23:39 offby1: here, I'll stretch your brain a bit: 23:39 offby1: rudybot: (cons 1 2) 23:39 rudybot: *offby1: ; Value: (1 . 2) 23:39 offby1: rudybot: (cons 1 (list 2)) 23:39 rudybot: *offby1: ; Value: (1 2) 23:39 offby1 rubs chin 23:39 offby1: rudybot: (cons 1 (cons 2 ' ())) 23:39 rudybot: *offby1: ; Value: (1 2) 23:39 MrWells: ah! rudybot: (cons 1 (list 2)) works.. 23:40 MrWells: i think that is what he wanted when he said (cons 1 2) 23:40 MrWells: as we were doing lists just before that part of the lab 23:46 MrWells: ok 23:46 MrWells: thanks 23:46 MrWells: last bit. Hopefully 23:46 (join) Kaylin 23:46 MrWells: (define (print-rat rat) (newline) (display (numer rat)) (display “/”) (display (denom rat))) 23:47 MrWells: define: expected only one expression for the function body, but found 2 extra parts for "(display (numer rat))" 23:47 MrWells: so should I be seperating numer and rat? 23:47 MrWells: rat is for rational number 23:50 MrWells: i dont need numer do i? as I earlier stated "(define (numer rat)(car rat))" in the program 23:51 MrWells: nvm. still gives me the same error for "(newline) (display rat)" 23:51 asumu: MrWells: That error is telling you that your function body has too many things. 23:52 asumu: Functions should only have a single expression. 23:52 (join) yoklov 23:52 asumu: (in BSL/ISL/ASL) 23:53 MrWells: Well iom very new to Scheme, and trying to interpret code from my professor, that is either wrong, or that I am not understanding some part of 23:53 MrWells: using one expression makes sense 23:53 MrWells: still not sure exactly where im telling it to use two... or how to fix it 23:55 asumu: MrWells: You should probably read this chapter http://www.htdp.org/2003-09-26/Book/curriculum-Z-H-43.html 23:55 asumu: Especially 35.2 23:55 MrWells: Thank you! 23:58 (quit) ssbr_: Ping timeout: 264 seconds