00:34 (quit) Kaylin: Read error: Connection reset by peer 00:37 (join) Kaylin 00:38 (quit) greghendershott: Ping timeout: 260 seconds 00:39 (quit) Kaylin: Read error: Connection reset by peer 00:40 (join) Kaylin 00:40 (quit) Kaylin: Client Quit 00:47 (quit) Nisstyre: Read error: Connection reset by peer 00:49 (quit) dqw: Ping timeout: 264 seconds 00:51 (join) Nisstyre 00:59 (join) jeapostrophe 00:59 (quit) jeapostrophe: Changing host 00:59 (join) jeapostrophe 01:00 (join) dqw 01:14 (quit) jeapostrophe: Ping timeout: 264 seconds 01:53 (join) cdidd 02:11 (join) Kaylin 02:18 (quit) Kaylin: Read error: Connection reset by peer 03:06 (quit) mithos28: Quit: mithos28 03:21 (join) hkBst 03:21 (quit) hkBst: Changing host 03:21 (join) hkBst 03:24 (quit) CoverSlide: Ping timeout: 260 seconds 03:31 (quit) dqw: Ping timeout: 244 seconds 03:34 (quit) SamB_MacG5: Remote host closed the connection 03:39 (quit) jonrafkind: Ping timeout: 276 seconds 03:41 (join) CoverSlide 03:57 (join) asvil 04:04 (join) bitonic 04:17 (quit) bjz: Quit: Leaving... 04:55 (join) noelw_away 05:07 (quit) jao: Ping timeout: 252 seconds 05:07 (join) MightyFoo 05:09 (nick) noelw_away -> noelw 05:09 (nick) MightyFoo -> tim-brown 05:18 asvil: hi all, small question again. I make simple "for" loop compile-time unwrapping, but get error: unsealed local-definition context found in fully expanded form. Source: http://paste.lisp.org/+2UZR 05:21 (join) masm 05:30 (quit) bitonic: Ping timeout: 268 seconds 05:50 (join) Shviller 06:01 (join) bitonic 06:17 (quit) bitonic: Ping timeout: 246 seconds 06:48 tim-brown: morning! i'll repeat my question from yesterday, in case anyone's listening... 06:49 tim-brown: does anyone here use SirMail in earnest? 06:53 (join) dqw 06:56 (quit) dgs: Ping timeout: 245 seconds 07:01 noelw: I don't. I think Matthew Flatt is the most active user 07:05 (join) bitonic 07:10 tim-brown: noelw: thx 07:13 (join) dgs 07:24 (join) MayDaniel 07:36 (quit) dqw: Quit: Going offline, see ya! (www.adiirc.com) 07:45 (join) didi 07:54 didi: I was trying to hack Racket sources but now I can't compile it anymore, even after going back to master state. I get a lot of `write: cannot marshal value that is embedded in compiled code\n value: (Exact (Exact #f))' and a fail in the final. How do I fix it? 07:58 (join) mizu_no_oto 07:59 (join) nathanpc 07:59 noelw: didi: probably need to nuke the existing compiled files 08:00 noelw: make clean might do it 08:00 didi: noelw: I did a `make clean', removed `bin/' `include/' `lib/' and finally `build/'. No change. 08:00 didi: :^( 08:00 noelw: It's the .zo files you want to nuke 08:01 didi: noelw: Where are they? 08:01 noelw: find . -name '*.zo' 08:01 didi: OK. 08:02 (join) dqw_ 08:07 didi: noelw: Shouldn't `make clean' remove these files? 08:08 noelw: I'm not an authority on that. 08:08 didi: I see. 08:11 (join) jeapostrophe 08:11 (quit) jeapostrophe: Changing host 08:11 (join) jeapostrophe 08:37 (join) bjz 08:41 (nick) dqw_ -> dqw 08:48 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 08:57 (quit) bitonic: Ping timeout: 240 seconds 08:58 (join) mizu_no_oto 09:00 (join) nilyaK 09:06 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 09:06 (quit) jrslepak: Quit: What happened to Systems A through E? 09:10 (join) bitonic 09:16 (quit) bitonic: Ping timeout: 246 seconds 09:20 (join) RacketCommitBot 09:20 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/z3JNsQ 09:20 RacketCommitBot: racket/master 0e4305f Matthew Flatt: fix problem with places and `struct-type-info'... 09:20 (part) RacketCommitBot 09:22 (join) untrusted 09:25 (quit) cdidd: Read error: Operation timed out 09:25 (join) cdidd 09:39 (join) ambrosebs 09:45 (join) jrslepak 09:45 (quit) nilyaK: Ping timeout: 268 seconds 09:48 (quit) untrusted: Remote host closed the connection 09:49 (join) mizu_no_oto 09:55 (quit) sizz: Quit: No Ping reply in 180 seconds. 09:56 (join) sizz 10:10 (join) bitonic 10:11 samth: tim-brown: i believe matthew is the only sirmail user 10:13 samth: asvil: you really really don't want to be using `eval` there 10:15 (quit) bitonic: Ping timeout: 252 seconds 10:16 asvil: samth, the last modification is http://paste.lisp.org/+2UZY , it works, why not `eval`? 10:17 samth: eval is the wrong tool for the job 10:17 samth: you should *only* use eval if you're evaluating unknown code, the way rudybot does 10:17 samth: asvil: what are you trying to accomplish? 10:17 samth: also, there's just no way your code works 10:19 samth: you won't be able to access local bindings with eval, for example 10:19 samth: or module bindings 10:19 asvil: samth i try to make compile-time loop unwinding 10:20 samth: asvil: you can't do that in general for racket for loops 10:20 samth: you can do it for some specific cases 10:21 (join) bitonic 10:21 asvil: samth, yes I know, only when I can "eval" sequences in for-clauses without lexical bindings 10:22 samth: asvil: or when the for loop has side effects 10:22 samth: or when you write your program in a module 10:25 (join) bitonic` 10:25 (quit) bitonic: Read error: Connection reset by peer 10:27 (quit) didi: Ping timeout: 244 seconds 10:50 (join) jao 10:51 (quit) jao: Changing host 10:51 (join) jao 11:00 (join) anRch 11:03 (join) SamB_MacG5 11:05 (join) pauls 11:06 (part) pauls 11:27 (quit) jeapostrophe: Ping timeout: 252 seconds 11:27 (quit) Demosthenex: Read error: Operation timed out 11:30 (join) RacketCommitBot 11:30 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/QUYjFQ 11:30 RacketCommitBot: racket/master f832c96 Matthew Flatt: change `Scheme_Symbol' declaration to avoid compiler warnings 11:30 RacketCommitBot: racket/master 739aa11 Matthew Flatt: Scribble Latex/PDF: use tocstyle only if it's available 11:30 (part) RacketCommitBot 11:31 (join) Demosthenex 11:44 (quit) sizz: Ping timeout: 252 seconds 11:49 (quit) anRch: Quit: anRch 11:49 (quit) mizu_no_oto: Quit: ["Textual IRC Client: www.textualapp.com"] 11:52 (join) didi 12:02 (quit) bitonic`: Remote host closed the connection 12:05 (quit) hkBst: Quit: Konversation terminated! 12:07 (join) mithos28 12:13 (join) greghendershott 12:16 (join) RacketCommitBot 12:16 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/tuDksQ 12:16 RacketCommitBot: racket/master ee97c08 Vincent St-Amour: Replace #lang scheme deprecation notice with a pointer to #lang racket. 12:16 (part) RacketCommitBot 12:18 (join) anRch 12:35 (quit) nathanpc: Quit: Computer has gone to sleep. 12:36 (quit) asvil: Ping timeout: 248 seconds 12:43 (quit) bjz: Quit: Leaving... 12:53 (join) bitonic 12:54 (join) jeapostrophe 12:54 (quit) jeapostrophe: Changing host 12:54 (join) jeapostrophe 12:54 (join) RacketCommitBot 12:54 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/lYKCMg 12:54 RacketCommitBot: racket/master e6ab325 Burke Fetscher: add redex-generator form and some tests... 12:54 RacketCommitBot: racket/master 6be4059 Burke Fetscher: don't use disunify* to check disequations, since at this point they are fully instantiated 12:54 (part) RacketCommitBot 13:01 (join) nathanpc 13:01 (join) Kaylin 13:04 (join) ubuntu-nathan 13:05 (quit) anRch: Quit: anRch 13:06 (quit) jeapostrophe: Ping timeout: 240 seconds 13:07 (join) jeapostrophe 13:07 (quit) jeapostrophe: Changing host 13:07 (join) jeapostrophe 13:07 (quit) nathanpc: Ping timeout: 255 seconds 13:13 (join) jonrafkind 13:13 (join) RacketCommitBot 13:13 RacketCommitBot: [racket] plt pushed 3 new commits to master: http://git.io/v7B4ww 13:13 RacketCommitBot: racket/master 2274e23 Jay McCarthy: Fix error with min-width and fractions 13:13 RacketCommitBot: racket/master 6d101c9 Jay McCarthy: add a test for the patch 13:13 RacketCommitBot: racket/master 0c892b5 Jay McCarthy: pushing update timeout 13:13 (part) RacketCommitBot 13:24 (join) jaylaw 13:25 (join) mizu_no_oto 13:27 (quit) mithos28: Quit: mithos28 13:32 tim-brown: night all 13:32 (join) nathanpc 13:33 (quit) ubuntu-nathan: Ping timeout: 260 seconds 13:34 (part) jaylaw 13:35 (quit) ambrosebs: Ping timeout: 255 seconds 13:53 (join) RacketCommitBot 13:53 RacketCommitBot: [racket] plt pushed 6 new commits to master: http://git.io/1zP2Og 13:53 RacketCommitBot: racket/master 9c9f269 Jon Rafkind: [honu] add syntax-rules analog 13:53 RacketCommitBot: racket/master ae15ef5 Jon Rafkind: [honu] clean up syntax parse attributes in patterns. dont remove repeats too early from syntax 13:53 RacketCommitBot: racket/master dc1b344 Jon Rafkind: [honu] move honu-syntax to syntax.rkt. allow each pattern to specify a syntax result 13:53 (part) RacketCommitBot 14:10 (quit) jeapostrophe: Ping timeout: 256 seconds 14:15 (join) anRch 14:17 (quit) nathanpc: Read error: No route to host 14:17 (join) nathanpc 14:45 (join) mithos28 14:55 (quit) mithos28: Quit: mithos28 14:58 (quit) jrslepak: Quit: What happened to Systems A through E? 15:01 (join) jrslepak 15:04 (quit) didi: Remote host closed the connection 15:08 (quit) jrslepak: Quit: What happened to Systems A through E? 15:10 (join) jeapostrophe 15:13 (quit) anRch: Quit: anRch 15:23 (join) mye 15:25 (quit) mizu_no_oto: Quit: ["Textual IRC Client: www.textualapp.com"] 15:25 (part) juanfra__ 15:26 (join) dyoo 15:30 (join) mizu_no_oto 15:38 (join) RacketCommitBot 15:38 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/nOmB4w 15:38 RacketCommitBot: racket/master 1f02a0a John Clements: exposed mapping for unreserved characters 15:38 (part) RacketCommitBot 15:44 asumu: Shameless plug: http://blog.racket-lang.org/2012/11/generics.html 15:50 jonrafkind: can you make objects that don't explicitly implement a generic interface somehow generic? 15:51 jonrafkind: and by that I mean create some new generic interface, like iterable, and have (vector->iterable v) return an iterable version of the vector that you can then pass to a function which expects an iterable 15:52 jonrafkind: now of course you can just wrap the vector in a struct which implements those methods, but maybe theres an easier way? 15:53 asumu: jonrafkind: in 5.4 we'll likely have a #:defaults form for `define-generics` that lets you specify how to operate on objects that match predicates (like built-in types) 15:54 asumu: there isn't an easy way to implement vector->iterable without just doing it manually though, yet. 15:54 jonrafkind: and iirc generics use inheritance right? 15:54 asumu: Struct inheritance? No, they just use structure type properties. 15:54 jonrafkind: i mean i can make a new generic that inherits some other generics 15:55 jonrafkind: gets all its methods, and then i can override them in the sub-generic 15:55 (join) andres-v 15:55 jonrafkind: i thought I did that the last time i used generics 15:56 asumu: Right now we don't have that. 15:56 jonrafkind: do all generic methods have to be implemented for each new instance of the generic? or can I define a generic method that is purely defined in terms of other generic methods 15:57 asumu: No, you can leave some unimplemented and it's up to the interface writer to figure out what the protocol is for missing methods. 15:57 asumu: And methods are just functions, so they can do whatever you want. 15:58 asumu: Including just dispatching to the generic function again. 15:59 asumu: Also, it wouldn't be that hard to make a (generic-of gen:foo [...]) form or something that defined an anonymous new instance of a generic interface (Clojure's protocols has this). 15:59 asumu: Which would let you build vector->iterable easily maybe. 15:59 asumu: I'm just not sure if it's very useful, given that struct is not hard to use. 16:06 (quit) Kaylin: Read error: Connection reset by peer 16:06 (join) jrslepak 16:12 (join) mithos28 16:13 (quit) bitonic: Ping timeout: 252 seconds 16:14 (quit) jonrafkind: Quit: Ex-Chat 16:14 (join) jonrafkind 16:14 (quit) jonrafkind: Changing host 16:14 (join) jonrafkind 16:22 (quit) mithos28: Quit: mithos28 16:32 (join) RacketCommitBot 16:32 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/eAZMpg 16:32 RacketCommitBot: racket/master 354a71b Danny Yoo: documentation: adding examples for string input. 16:32 (part) RacketCommitBot 16:48 (join) anRch 17:01 (join) bjz 17:03 (quit) chrxn: Ping timeout: 276 seconds 17:07 greghendershott: Is there a way to format just some text inside of a Scribble @interaction[] or @racketblock[]?Such as two code examples, some fragment changes in the second, and you'd like to bold it or do another background color or whatever. 17:08 greghendershott: Obviously something like 17:09 greghendershott: @racketblock[(define (foo x) @italic[(displayln x)] #t)] 17:09 greghendershott: Is printed literally as 17:09 greghendershott: (define (foo x) (italic (displayln x)) #t) 17:10 greghendershott: eli where art thou? 17:12 greghendershott: asumu: Nice blog post. 17:13 asumu: greghendershott: Thanks. :) 17:14 asumu: greghendershott: you can escape it, I think. Try #, 17:14 (join) chrxn 17:15 (quit) jrslepak: Quit: What happened to Systems A through E? 17:18 (quit) nathanpc: Quit: Computer has gone to sleep. 17:20 greghendershott: asumu: Thanks. #, isn't working for me so far, but I may be getting tripped up by at-exps. Will try to work it out. 17:23 (quit) mizu_no_oto: Read error: Operation timed out 17:23 greghendershott: asumu: BTW re the blog, I think the Blogger template needs to be updated. Both to give a fresher look, and more basically so the main content element is wider and doesn't chop off code. 17:23 greghendershott: I'm all for max line widths of 80, but the effective line width now is 53. That is not very wide. :) 17:24 asumu: Agreed, I'm trying to get it changed. 17:26 asumu: greghendershott: Hmm, I wonder if @interaction is broken. Escaping works for me in racketblock but not interaction. 17:26 (quit) anRch: Quit: anRch 17:29 greghendershott: I suppose I could change some of them from interaction to racketblock. 17:33 asumu: Also, I'm not this escape is quite what you want anyway... 17:34 greghendershott: Yeah I seem to be in an at-exp pretzel but I'm still trying to work it out. 17:36 mye: if I define a log function e.g. (define log displayln), use it all over my code and then later change it to (define log void), what does the compiler do with it? Is it removed statically? 17:37 greghendershott: OK so I'm getting to e.g. italicize but I've lost the Racket lexing. 17:39 greghendershott: Ah OK, this seems to be on the right track: 17:39 greghendershott: @racketblock[(define (foo x) #,(@italic (@racket (displayln x))) #t)] 17:39 greghendershott: 17:40 (quit) cdidd: Read error: Connection reset by peer 17:41 (join) mithos28 17:43 greghendershott: OK, so something like this will do: 17:43 greghendershott: @racketblock[(define (foo x) #,(@elem #:style "changed-code" (@racket (displayln x))) #t)] 17:43 greghendershott: 17:43 greghendershott: Provided I add a style in my custom CSS file like: 17:43 greghendershott: .changed-code {background-color: #f0f0f0;} 17:43 greghendershott: 17:44 greghendershott: I'll try to run with that. 17:44 greghendershott: asumu: Thanks for the hint re #, being the escape! 17:47 (quit) SamB_MacG5: Ping timeout: 260 seconds 17:48 greghendershott: p.s. But yeah that obviously carps interaction, only makes sense for racketblock. Plus it carps the indentation. So ... maybe not so much. 17:49 (quit) acarrico: Ping timeout: 244 seconds 17:49 (join) jrslepak 17:50 (join) nathanpc 17:51 (quit) mithos28: Quit: mithos28 17:53 Cryovat: Wow 17:53 Cryovat: I just did a fresh Ubuntu install and installed Racket 17:53 Cryovat: The DrRacket icon looks downright dreadful 17:54 (join) RacketCommitBot 17:54 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/AKYDtA 17:54 RacketCommitBot: racket/master dcf4d8b Danny Yoo: adding close-eval at the end of scribble files that have a toplevel evaluator 17:54 (part) RacketCommitBot 17:54 Cryovat: For reference: http://i.imgur.com/TUkJH.png 17:57 dyoo: Cryovat: wow, that looks hideous 17:58 dyoo: maybe someone can suggest the ubuntu folks use something like http://docs.racket-lang.org/images/Logos.html#(def._((lib._images/logos..rkt)._plt-logo)) instead? 17:59 Cryovat: I like the one on the splash screen 17:59 Cryovat: It's pretty simple 18:00 Cryovat: I have no idea where the Ubuntu guys got this one from 18:00 Cryovat: It's 5.2.1 btw 18:00 asumu: greghendershott: I made the blog sidebar much smaller. I think it should now be more readable. 18:01 dyoo: mye: in modules, you can't re-define a variable, though you can set! it. But if you're trying to do something with logging, you probably should use the logging facilities… give me a sec 18:01 (join) SamB_MacG5 18:01 dyoo: mye: see http://docs.racket-lang.org/reference/logging.html; it's logging that you can control at runtime by setting the log level 18:05 asumu: Ah, there. Taking out the width limitation on the blog page made a big difference. 18:05 asumu: Using some Google web fonts might help too. 18:06 (join) bitonic 18:07 mye: dyoo: I didn't express clearly what I meant sorry: I meant leaving the (log …) calls in the code but uncommenting (define log displayln) and writing (define log void) in place of it e.g. has (void "foo") any runtime costs? 18:07 dyoo: asumu: I like! :) 18:08 mye: It's just a convenient way of disabling/enabling printf style debugging 18:09 dyoo: mye: negligible. (void X Y Z …) returns just the void value. Note that if you use the logging system, you can disable at the command line or from env variables, without needing to touch source 18:10 mye: dyoo: i might look an the logging docs again but last time I came out rather confused :-) 18:10 (quit) jonrafkind: Ping timeout: 244 seconds 18:10 dyoo: mye: :) 18:13 (quit) jeapostrophe: Ping timeout: 260 seconds 18:13 asumu sets the blog code font to Inconsolata 18:13 asumu: Dealing with the body fonts is too painful for now, so I'll think about that later. 18:15 asumu: dyoo: did the close-eval thing improve documentation build times and/or memory use? 18:15 dyoo: unfortunately, I didn't notice anything from it… :( 18:16 dyoo: but I thought: might as well be consistent 18:16 dyoo: I'll look at scribble rendering later either today or tomorrow to see if there's low-hanging fruit. 18:16 asumu: Ah well, still good to have tidy code. 18:18 dyoo: mye: just as a note: just be aware that since your 'log' is just a function, it's still computing the arguments, so just be careful that the arguments aren't expensive to compute. (warning comes from personal experience) 18:18 (quit) Shviller: Ping timeout: 265 seconds 18:19 (join) Shviller 18:25 mye: dyoo: thanks. I had actually hoped the function calls wouldn't end up in the byte code. 18:27 mye: hm, what about a macro that expands to nothing 18:31 stamourv: mye: Yeah, you can do that. 18:31 stamourv: Empty begin. 18:32 stamourv: I didn't really follow the conversation. Are you trying to conditionally add logging code? 18:33 greghendershott: asumu: the new layout is much better! 18:36 mye: stamourv: yes, like this? https://gist.github.com/3997158 18:36 stamourv: Looks good. 18:38 asumu: I get worried when I see "ERROR: evaluator: terminated (custodian-shutdown)" from running the contract tests. :( 18:46 asumu: Okay that error wasn't as drastic as I thought. 18:58 (quit) bjz: Quit: Leaving... 19:01 (quit) bitonic: Ping timeout: 256 seconds 19:05 (quit) `micro_: Ping timeout: 256 seconds 19:10 (quit) gf3: Ping timeout: 260 seconds 19:13 (join) gf3 19:15 (join) jeapostrophe 19:15 (quit) jeapostrophe: Changing host 19:15 (join) jeapostrophe 19:19 (join) mithos28 19:20 (quit) jeapostrophe: Ping timeout: 245 seconds 19:29 (part) dyoo 19:29 (quit) mithos28: Quit: mithos28 19:59 (join) rahul_ 20:02 (quit) MayDaniel: Read error: Connection reset by peer 20:17 (join) noam_ 20:21 (quit) noam: Ping timeout: 255 seconds 20:31 (quit) jao: Remote host closed the connection 20:35 (join) Kaylin 20:56 (join) mithos28 21:06 (quit) mithos28: Quit: mithos28 21:08 (join) jeapostrophe 21:08 (quit) jeapostrophe: Changing host 21:08 (join) jeapostrophe 21:19 (join) RacketCommitBot 21:19 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/mqMBcg 21:19 RacketCommitBot: racket/master c1cace2 Sam Tobin-Hochstadt: This test always errors -- belongs in fail. 21:19 (part) RacketCommitBot 21:21 (quit) masm: Quit: Leaving. 21:23 Shambles_1: Was the Realm of Racket book canceled? The website seems to have gone missing, and the promised 'winter 2012' release is almost upon us with basically no info, and the videos (which I never got to see) were even pulled. 21:27 asumu: Shambles_1: No idea, I haven't heard about any cancellation. 21:31 Shambles_1: Nothing about it on the No Starch Press site. 21:35 (quit) andres-v: Ping timeout: 252 seconds 21:49 (quit) rahul_: Ping timeout: 240 seconds 22:05 (join) Nisstyre-laptop 22:10 (join) acarrico 22:14 (join) RacketCommitBot 22:14 RacketCommitBot: [racket] plt pushed 3 new commits to master: http://git.io/UFjwAA 22:14 RacketCommitBot: racket/master 6f5e43b Robby Findler: added a script that collects log messages for use in performance debugging drracket 22:14 RacketCommitBot: racket/master 478fede Robby Findler: fix up mac os x version of the redex bitmap tests 22:14 RacketCommitBot: racket/master 3d5178b Robby Findler: adjust generate-term so that it has an '=' in its concrete... 22:14 (part) RacketCommitBot 22:18 (quit) Nisstyre-laptop: Quit: Leaving 22:28 (join) mithos28 22:31 (join) ambrosebs 22:39 (quit) mithos28: Quit: mithos28 22:47 (join) rahul_ 22:53 (quit) pavelpenev: Read error: Operation timed out 22:56 (join) mithos28 22:56 (join) dnolen 23:04 (quit) dgs: Read error: Connection reset by peer 23:04 (join) dgs 23:09 (quit) nathanpc: Quit: Computer has gone to sleep. 23:17 (join) jonrafkind 23:49 (join) andres-v 23:50 (join) mizu_no_oto