00:05 (quit) dsantiago: Quit: Computer has gone to sleep. 00:05 (join) dsantiago 00:17 (quit) wkelly: Quit: WeeChat 0.3.7 00:19 (quit) wtetzner: Ping timeout: 248 seconds 00:20 (join) mithos28 00:22 (join) wtetzner 00:22 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 00:47 (quit) jeapostrophe: Ping timeout: 260 seconds 01:20 (quit) didi: Ping timeout: 260 seconds 01:23 (join) rahul_ 01:39 (join) cdidd 01:59 (quit) jonrafkind: Ping timeout: 255 seconds 02:11 (quit) mceier: Quit: leaving 02:12 (join) jonrafkind 02:14 (quit) Shviller: Read error: Connection reset by peer 02:20 (quit) Kaylin: Read error: Connection reset by peer 02:35 (join) gciolli 02:38 (join) Fare 02:42 (join) asvil 02:42 asvil: hi all. small question: is performance of typed racket module equal of racket module with unsafe operations? 02:56 (quit) gciolli: Ping timeout: 265 seconds 03:00 Fare: I don't think typed racket optimizes fixnum yet 03:00 Fare: but for flonum, yes 03:14 (quit) jonrafkind: Ping timeout: 248 seconds 03:16 (join) mceier 03:27 (quit) karswell: Remote host closed the connection 03:30 (join) RacketCommitBot 03:30 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/POGc2Q 03:30 RacketCommitBot: racket/master f852b9e Eli Barzilay: New Racket version 5.3.1.4. 03:30 (part) RacketCommitBot 03:31 (join) hkBst 03:31 (quit) hkBst: Changing host 03:31 (join) hkBst 03:38 (join) karswell 03:40 (quit) merijn: Ping timeout: 244 seconds 03:44 (quit) mithos28: Quit: mithos28 03:45 (join) mithos28 03:49 (part) Fare: "Leaving" 04:07 (quit) mithos28: Quit: mithos28 04:19 (quit) rahul_: Read error: Operation timed out 04:36 (quit) bjz: Quit: Leaving... 04:39 (join) merijn 04:48 (join) noelw_away 04:48 (join) MightyFoo 04:56 (nick) MightyFoo -> tim-brown 05:40 (quit) karswell: Remote host closed the connection 05:47 (join) bjz 05:50 (join) karswell 05:55 (quit) noelw_away: Quit: noelw_away 06:32 (join) rahul_ 07:00 (quit) jao: Ping timeout: 260 seconds 07:01 (join) didi` 07:05 (join) gciolli 07:10 (part) merijn 07:13 (nick) didi` -> didi 07:17 (quit) rahul_: Ping timeout: 276 seconds 07:18 (join) vu3rdd 07:18 (quit) vu3rdd: Changing host 07:18 (join) vu3rdd 07:19 (quit) asvil: Remote host closed the connection 07:19 (quit) vu3rdd: Client Quit 07:21 (join) MightyFoo 07:23 (join) masm 07:23 (quit) karswell: Remote host closed the connection 07:33 (join) karswell 07:52 (join) nathanpc 08:07 (join) bitonic 08:09 (join) samth_ 08:10 (join) jeapostrophe 08:10 (quit) jeapostrophe: Changing host 08:10 (join) jeapostrophe 08:12 (join) mizu_no_oto 08:12 (quit) bitonic: Read error: Connection reset by peer 08:12 (join) bitonic 08:22 (join) noelw_away 08:30 (join) MayDaniel 08:41 (join) uselpa 08:43 (join) hash_table 08:51 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 08:55 (quit) uselpa: Remote host closed the connection 09:00 (join) greghendershott 09:01 (quit) samth_: Ping timeout: 260 seconds 09:02 MightyFoo: does anyone here use SirMail in earnest? 09:03 (quit) jeapostrophe: Read error: Operation timed out 09:19 (quit) bjz: Quit: Leaving... 09:31 (quit) karswell: Remote host closed the connection 09:31 greghendershott: The `racket/splicing' collect is in the Macros section, so I'm trying to understand why and how it would be used. But I'm finding almost nothing in terms of rationale or examples. Mailing list archive has only a couple threads, in which e.g. splicing-let-syntax is used ... but by end of thread someone has shown simpler code that doesn't use it. Any suggestions? 09:35 (quit) hash_table: Ping timeout: 240 seconds 09:37 samth: greghendershott: say you want to define a few top-level definitions using the same macro 09:37 samth: you might use splicing-let-syntax 09:37 samth: of a few separate declarations inside a class 09:40 greghendershott: Not simply `begin'? The doc says splice "in the same way as begin", but not the "but the advantage over begin is ___" part. 09:42 (join) karswell 09:43 greghendershott: I get the "hidden local definition" part, e.g. (splicing-let ([hidden stuff]) visible-thing-using-hidden ....). But in that case why not just (define visible-thing-using-hidden (let ([hidden]) ....))? Is there something more I'm not appreciating? 09:44 (join) didi 09:47 (join) mizu_no_oto 09:51 greghendershott: (splicing-let ([x 0]) (define (get-x) x)) 09:51 greghendershott: ;; get-x is visible out here, but not x 09:51 greghendershott: (define get-y (let ([y 0]) (lambda () y))) 09:51 greghendershott: ;; get-y is visible out here, but not y -- same diff 09:51 greghendershott: 09:51 greghendershott: Is it "merely" a style thing (in which case great I understand), or is there something "deeper" going on? 10:09 (join) eMBee 10:09 (join) jeapostrophe 10:09 (quit) jeapostrophe: Changing host 10:09 (join) jeapostrophe 10:11 (quit) bitonic: Ping timeout: 248 seconds 10:16 (quit) karswell: Remote host closed the connection 10:25 (join) asvil 10:27 (join) karswell 10:27 samth: greghendershott: imagine there are two things in the body 10:28 samth: (splicing-let ([x 0]) (define (get-x) x) (define (inc-x) (set! x (+ 1 x)))) 10:28 samth: rudybot: init racket 10:28 rudybot: samth: your sandbox is ready 10:28 samth: rudybot: (require racket/splicing) 10:28 rudybot: samth: Done. 10:28 samth: rudybot: (splicing-let ([x 0]) (define (get-x) x) (define (inc-x) (set! x (+ 1 x)))) 10:28 rudybot: samth: Done. 10:28 samth: rudybot: (get-x) 10:28 rudybot: samth: ; Value: 0 10:29 (join) bitonic 10:29 samth: rudybot: (inc-x) 10:29 rudybot: samth: Done. 10:29 samth: rudybot: (get-x) 10:29 rudybot: samth: ; Value: 1 10:29 (quit) jeapostrophe: Ping timeout: 248 seconds 10:29 samth: rudybot: x 10:29 rudybot: samth: error: reference to an identifier before its definition: x in module: 'program 10:29 samth: greghendershott: that's the idea 10:31 asvil: good evening. another small question, I try to replace "*" by "mult" with the following macro http://paste.lisp.org/+2UZF/2, but there is error - mult: unbound identifier; also, no #%app syntax transformer is bound. so, as I understand phase level for mult binding is wrong, how can I fix it? begin-for-syntax? 10:33 samth: asvil: there are two problems 10:33 samth: 1: you should use the identifier `mult`, which can be obtained with #'mult 10:33 samth: rather than a symbol 10:34 (quit) didi: Ping timeout: 276 seconds 10:34 samth: 2: (datum->syntax #f ...) doesn't include any binding information, so when you put () together with `cons`, Racket doesn't know what application operation to use 10:35 samth: again, if you construct syntax objects with `syntax` and `quasisyntax`, things will work better 10:36 greghendershott: samth: Thanks. It seems that your example could still be done the other way I outlined--just using `define-values' instead of `define'. 10:36 greghendershott: (define-values (get-y inc-y) 10:36 greghendershott: (let ([y 0]) 10:36 greghendershott: (values (lambda () y) 10:36 greghendershott: (lambda () (set! y (+ 1 y)))))) 10:36 greghendershott: 10:37 samth: greghendershott: certainly 10:37 greghendershott: But with multiple values that's starting to make splicing-let look cleaner. 10:37 samth: sometimes things are hard to do that way, though 10:37 samth: for example, the transformation to define-values requires knowing exactly what forms are in the body 10:37 greghendershott: OK. I appreciate that, on some level, everything in Racket is "merely" shorthand for some other way. :) 10:38 greghendershott: But I wanted to make sure there wasn't some wrinkle WRT to macros. 10:38 samth: if you're wrapping a bunch of arbitrary definitions, which might be `struct`, say, then that's much harder to do 10:38 samth: and splicing-let works much nicer 10:38 greghendershott: Ah. So is that the connection to macros, i.e. why this is in the Macros section of the docs? 10:39 asvil: samth, many thanks 10:39 samth: probably because you'd want to use them in macros 10:40 greghendershott: OK. I'll mull that over for awhile. Thanks! 10:45 (quit) bitonic: Ping timeout: 244 seconds 10:46 (join) hash_table 10:48 (join) carleastlund 10:50 (join) bitonic 10:55 (quit) dca`: Remote host closed the connection 10:58 (join) RacketCommitBot 10:58 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/QxDPkg 10:58 RacketCommitBot: racket/master 08c659c Matthew Flatt: fix a bug in `free-identifier=?'... 10:58 (part) RacketCommitBot 11:02 (quit) jrslepak: Quit: What happened to Systems A through E? 11:07 (join) rahul_ 11:12 (quit) rahul_: Quit: Leaving 11:12 (join) rahul_ 11:13 (quit) karswell: Remote host closed the connection 11:16 (join) RacketCommitBot 11:16 RacketCommitBot: [racket] plt pushed 3 new commits to master: http://git.io/_lRBCQ 11:16 RacketCommitBot: racket/master 226a714 Robby Findler: fix a bug in the colorer refactoring... 11:16 RacketCommitBot: racket/master fdfa5bf Robby Findler: add docs for get-spell-check-strings and set-spell-check-strings 11:16 RacketCommitBot: racket/master 9582fe8 Robby Findler: add logging to the colorer 11:16 (part) RacketCommitBot 11:23 (join) karswell 11:31 MightyFoo: = 11:31 (join) jeapostrophe 11:31 (quit) jeapostrophe: Changing host 11:31 (join) jeapostrophe 11:38 (join) jrslepak 11:46 (quit) karswell: Remote host closed the connection 11:47 (quit) mizu_no_oto: Quit: ["Textual IRC Client: www.textualapp.com"] 11:55 (quit) bitonic: Ping timeout: 246 seconds 11:56 (quit) mceier: Quit: leaving 11:56 (join) bitonic 11:57 (join) karswell 12:04 (join) mithos28 12:13 (quit) hkBst: Quit: Konversation terminated! 12:15 (join) anRch 12:26 (join) didi` 12:26 (nick) didi` -> didi 12:28 (join) mizu_no_oto 12:34 (quit) asvil: Remote host closed the connection 12:40 (quit) mithos28: Quit: mithos28 12:43 (join) mithos28 12:45 (quit) rahul_: Ping timeout: 240 seconds 12:45 (join) jonrafkind 12:55 (quit) noelw_away: Quit: noelw_away 12:59 (quit) mithos28: Quit: mithos28 13:00 MightyFoo: night folks 13:01 (quit) MightyFoo: Quit: WeeChat 0.3.8 13:04 (join) mceier 13:09 (quit) anRch: Quit: anRch 13:20 (join) dyoo 13:23 (quit) dyoo: Read error: Connection reset by peer 13:23 (join) dyoo_ 13:29 friscosam: c 13:30 carleastlund: I have a program that errors in DrRacket but runs fine in Racket. Anyone know a good way to go about debugging that? The few semi-obvious things I have tried have not yielded helpful results. 13:34 didi: carleastlund: You might want to explain the error. 13:34 carleastlund: didi, I might, yes. :) Coming up. 13:36 didi: carleastlund: Not that it will guarantee an answer, but it's a good start. ;^) 13:36 carleastlund: The program in question is: #lang planet cce/dracula (include-book "testing" :dir :teachpacks) 13:37 carleastlund: (I think the newline after "dracula" in mine is insignificant, I never can remember the restrictions on #lang lines) 13:37 carleastlund: The program depends on the Dracula planet package, obviously. 13:38 samth: carleastlund: is errortrace on? 13:38 carleastlund: samth: I have tried several different language settings, and gotten a whole spectrum of different bug behaviors 13:38 carleastlund: pick your favorite 13:38 carleastlund: :) 13:39 samth: i recommend trying various things with module->namespace at the repl then 13:39 carleastlund: But only one of those corresponds to how things run when I put the same program into the Dracula language level, so that's what I'm looking at. 13:39 (quit) dyoo_: Quit: dyoo_ 13:39 (quit) bitonic: Remote host closed the connection 13:40 carleastlund: Hmm, yeah, I guess I'll have to play around with the DrRacket namespace nonsense, then. 13:44 carleastlund: samth, so the general pattern as I remember it does: (module FOO LANG . BODY) (require 'FOO) (current-namespace (module->namespace (quote 'FOO))) -- does that look right? 13:44 samth: yes 13:44 carleastlund: Not reproducing the error for me :( 13:44 samth: although it's more complicated these days, i think 13:44 samth: then send an email 13:45 carleastlund: Is there a way to get the macro stepper to show those things? 13:47 samth: no 13:47 samth: although you sit next to it's maintainer :) 13:48 carleastlund: on the rare occasions when we're both in, yes 13:54 (join) dyoo 13:56 (join) em__ 13:56 (quit) em: Ping timeout: 260 seconds 14:04 (quit) karswell: Remote host closed the connection 14:09 (quit) jeapostrophe: Ping timeout: 265 seconds 14:12 carleastlund: samth, I now suspect that reproducing this outside DrRacket is moot, my problems are probably in how I hook into the check-expect gui framework. 14:12 carleastlund: samth, Strike that. No they're not. 14:12 carleastlund: [grr bugs] 14:14 (join) karswell 14:14 (quit) em__: Quit: Reconnecting 14:15 (join) em 14:18 (join) RacketCommitBot 14:18 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/VpoCaQ 14:18 RacketCommitBot: racket/master 8f73ebb Matthew Flatt: fix error-message code... 14:18 (part) RacketCommitBot 14:20 (join) mithos28 14:22 (join) bitonic 14:28 (quit) mizu_no_oto: Quit: ["Textual IRC Client: www.textualapp.com"] 14:28 (quit) dyoo: Read error: Connection reset by peer 14:29 (join) dyoo_ 14:30 (quit) mithos28: Quit: mithos28 14:31 (quit) karswell: Remote host closed the connection 14:32 (quit) hash_table: Ping timeout: 260 seconds 14:33 (join) mizu_no_oto 14:39 (join) hash_table 14:41 (join) karswell 14:42 (join) jao 14:42 (quit) jao: Changing host 14:42 (join) jao 14:55 (quit) karswell: Remote host closed the connection 15:05 (quit) dyoo_: Ping timeout: 260 seconds 15:06 (join) uselpa 15:06 (join) karswell 15:08 (join) dyoo 15:14 (quit) jonrafkind: Ping timeout: 252 seconds 15:17 (join) jeapostrophe 15:17 (quit) jeapostrophe: Changing host 15:17 (join) jeapostrophe 15:23 (quit) uselpa: Remote host closed the connection 15:27 (join) RacketCommitBot 15:27 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/6fhvFg 15:27 RacketCommitBot: racket/master 45a5cfc Matthias Felleisen: basic history, please merge 15:27 (part) RacketCommitBot 15:38 (join) mye 15:39 (join) Shviller 15:42 (join) jonrafkind 15:44 (join) rahul_ 15:51 (join) mithos28 15:53 (quit) karswell: Read error: Connection reset by peer 16:01 (quit) mithos28: Quit: mithos28 16:03 (join) karswell 16:17 (quit) karswell: Remote host closed the connection 16:22 (join) samth_ 16:27 (join) karswell 16:27 (join) mye_ 16:30 (quit) mye: Ping timeout: 245 seconds 16:30 (nick) mye_ -> mye 16:30 (quit) samth_: Quit: Ex-Chat 16:31 (quit) karswell: Read error: Connection reset by peer 16:33 (quit) mizu_no_oto: Quit: ["Textual IRC Client: www.textualapp.com"] 16:36 (join) bjz 16:36 (quit) hash_table: Ping timeout: 264 seconds 16:40 (quit) Shviller: Ping timeout: 245 seconds 16:57 greghendershott: Anyone know how to do strike-through text in Scribble? What would be or style='text-decoration: line-through' in HTML? 17:03 greghendershott: Well I found one way that works. 1. Add a style sheet with a style such as .strike { text-decoration: line-through; } 2. Back in Scribble: @elem[#:style "strike"]{some text} 17:03 greghendershott: So I'm all set. 17:23 (join) mithos28 17:27 jonrafkind: hm, I want a syntax form that expands a pattern variable but only accepts a pattern variable. so (with-syntax ([x #'1]) (pattern-var x)) should work while (pattern-var x9) should fail because x9 is not a pattern variable 17:27 jonrafkind: otherwise I end up writing #'x9 sometimes (typos and other random goofs) that are hard to debug 17:32 jonrafkind: seems there is syntax-pattern-variable? 17:32 (join) RacketCommitBot 17:32 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/y5wRBA 17:32 RacketCommitBot: racket/master b9a0eaf Danny Yoo: Adding an example for equal<%> 17:32 (part) RacketCommitBot 17:33 (quit) mithos28: Quit: mithos28 17:34 mye: anyone here knows how to write parsers with parser-tools/yacc? I'm kinda stuck on the following ebnf form 17:34 mye: predicateObjectList ::= verb objectList ( ";" verb objectList )* (";")? 17:35 mye: I'd say I need at least for grammar-id s for this 17:35 mye: But I'm not sure how to translate this 17:35 (join) andres-v 17:36 mye: 1: (verb objectList) 2: (verb objectList SEMICOLON) 3: (verb objectList predicateObjectList) 4: (verb objectList predicateObjectList SEMICOLON) 17:38 mye: hm the last one is probably unneeded 17:38 dyoo: mye: sorry, I'm a little rusty on using yacc-style parsers 17:39 mye: dyoo: what else do you use? 17:39 dyoo: i haven't found anything that I particularly like yet. Still looking. :) 17:41 mye: dyoo: btw. your posting on the ML about testing the lexer helped me greatly when starting out :-) 17:42 (quit) carleastlund: Quit: carleastlund 17:53 (join) RacketCommitBot 17:53 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/DapoLA 17:53 RacketCommitBot: racket/master e2d74f2 Robby Findler: streamline the objects that are sent across the channel from... 17:53 (part) RacketCommitBot 17:58 (quit) jeapostrophe: Ping timeout: 268 seconds 18:06 (quit) gciolli: Quit: Leaving. 18:11 (quit) bjz: Quit: Leaving... 18:16 (quit) em: Ping timeout: 252 seconds 18:17 (join) em 18:32 (quit) jrslepak: Quit: What happened to Systems A through E? 18:54 (join) mithos28 18:57 (join) wbook 18:59 (quit) cdidd: Ping timeout: 276 seconds 19:04 (quit) wbook: Quit: Going offline, see ya! (www.adiirc.com) 19:04 (quit) mithos28: Quit: mithos28 19:04 (join) jeapostrophe 19:05 (quit) jeapostrophe: Changing host 19:05 (join) jeapostrophe 19:09 (quit) jeapostrophe: Ping timeout: 265 seconds 19:13 (quit) noam: Ping timeout: 265 seconds 19:20 (join) dqw 19:24 (join) bjz 19:36 (quit) masm: Quit: Leaving. 19:39 (join) masm 19:45 greghendershott: jonrafkind: I don't have an answer, but I really like your question. WRT patterns and templates, and "fun size" templates created by syntax aka #' -- I'm at a stage where various "incantations" work as I expect ... usually. But not yet at a stage where I feel confident that I can code defensively/proactively, based on a sufficiently crisp understanding of WTH is actually happening. :) 19:47 jonrafkind: it gets crazy when you abstract over macro generating forms 19:56 (quit) jonrafkind: Ping timeout: 248 seconds 20:04 (join) noam 20:05 (quit) MayDaniel: Read error: Connection reset by peer 20:05 (quit) danl-ndi: Ping timeout: 240 seconds 20:24 (join) samth_ 20:26 (join) mithos28 20:30 (quit) samth_: Quit: Ex-Chat 20:36 (quit) mithos28: Quit: mithos28 20:39 (join) mizu_no_oto 20:52 (join) RacketCommitBot 20:52 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/d0Kzcg 20:52 RacketCommitBot: racket/master b2b350e Robby Findler: fix typesetting of builtin non-terminals 20:52 (part) RacketCommitBot 20:59 (join) jrslepak 21:06 (quit) bitonic: Ping timeout: 245 seconds 21:19 (join) karswell 21:22 (quit) masm: Quit: Leaving. 21:22 (join) RacketCommitBot 21:22 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/tXyLKQ 21:22 RacketCommitBot: racket/master 0e71f2d Sam Tobin-Hochstadt: Fix accidental use of the wrong letrec-bound variable. 21:22 (part) RacketCommitBot 21:30 (join) jeapostrophe 21:30 (quit) jeapostrophe: Changing host 21:30 (join) jeapostrophe 21:36 (quit) andres-v: Ping timeout: 265 seconds 21:40 (join) RacketCommitBot 21:40 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/SrZqHQ 21:40 RacketCommitBot: racket/master f2fd479 Sam Tobin-Hochstadt: Fix binding of `udp?`. 21:40 (part) RacketCommitBot 21:53 (join) RacketCommitBot 21:53 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/fytndA 21:53 RacketCommitBot: racket/master a57e158 Tony Garnock-Jones: Correct TR types for udp-bind! and udp-connect!. 21:53 (part) RacketCommitBot 21:56 (join) mithos28 22:07 (quit) mithos28: Quit: mithos28 22:07 (quit) dyoo: Quit: dyoo 22:17 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 22:30 (quit) jeapostrophe: Read error: Operation timed out 22:49 (join) hyko- 22:49 (join) RacketCommitBot 22:49 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/Lo9DIw 22:49 RacketCommitBot: racket/master e7dc4a7 Robby Findler: fix redex bitmap tests under linux 22:49 (part) RacketCommitBot 22:51 (quit) hyko: Ping timeout: 252 seconds 22:52 (join) jonrafkind 22:53 (join) Shambles_1 22:54 (quit) Shambles_: Ping timeout: 268 seconds 23:01 (quit) rahul_: Quit: Leaving 23:19 (quit) nathanpc: Quit: Computer has gone to sleep. 23:25 (join) mithos28 23:28 (join) dgs 23:29 dgs: drracket has stopped showing me error messages (when it falls over due to bugs in my code). It's highlighting the relevant section of code, just not telling me what was wrong. 23:29 dgs: I have tried a number of different language level settings (beginner thru advanced) 23:30 dgs: and hunted thru the options . . . but can't see anything that looks like it might be an option for showing/hiding errors 23:33 mye: dgs: did you restart it? Also try moving the config files from the standard location (find-system-path 'pref-file) 23:34 dgs: hmmm. it's been going on for a week or so, but potentially the laptop has not been rebooted in that time.... I'll give that a try 23:34 dgs: thanks =) 23:35 mye: dgs: I meant restart Dr. but rebooting might help as well :-P 23:35 (quit) mithos28: Quit: mithos28 23:35 dgs: yeah, I figured that's what you meant. 23:36 dgs: but may as well try the obvious full reboot solution before going further =) 23:36 dgs: pretty sure I've killed and restarted racket in the interim though, but maybe not... 23:36 dgs: so possibly one of the config files 23:37 (join) mithos28 23:48 (join) Kaylin