00:04 (quit) AlbireoX: Ping timeout: 244 seconds 00:14 (join) AlbireoX 00:17 (join) realitygrill 00:30 (quit) jeapostrophe: Ping timeout: 272 seconds 00:31 (join) jeapostrophe 00:36 (quit) jeapostrophe: Ping timeout: 240 seconds 00:42 ararara: What support does racket have for doc strings? I am finding a few things about people trying to implement them in the mailing list, the projects don't seem to exist anymore. 00:44 ararara: I'm basically looking for a way to verbosely comment my code, and thought that docstrings may be the way to do it. 00:45 ararara: At the moment though, because there doesn't seem to be anything standard, I'm thinking about just writing doxgen style comments. 00:45 eli: jonrafkind: ping 00:46 eli: ararara: See scribble. 00:47 ararara: eli: at a glance it looked like it was for writing documentation in seperate files, not inline documentation. Would I be wrong? 00:47 ararara: If so, ill go back and have a proper look. 00:48 eli: ararara: Yes, that's the usual use, although there is literate programming extension for it too -- but writing documentation in a separate file really works better. 00:49 eli: Also, neilv is writing an in-code kind of thing, but I don't know how far it is from being public-able. 00:50 (quit) wally: Ping timeout: 245 seconds 00:52 ararara: Thanks eli, I'll have a look into scribble then. 01:00 (quit) dspt: Ping timeout: 252 seconds 01:06 (join) dspt 01:07 (join) jeapostrophe 01:19 (quit) jeapostrophe: Ping timeout: 265 seconds 01:23 (quit) noelw: Ping timeout: 265 seconds 01:28 (join) fftb 02:07 (join) gciolli 02:10 (quit) gciolli: Client Quit 02:13 (join) cdidd 02:20 jonrafkind: eli, whats up 02:24 (join) dzhus 02:25 (join) vkz 02:31 (quit) jonrafkind: Ping timeout: 260 seconds 02:52 (quit) fftb: Read error: Connection reset by peer 02:53 (join) fftb 03:02 (quit) realitygrill: Quit: realitygrill 03:16 (join) neilv 03:21 (join) noelw 03:46 (join) sindoc 04:17 (quit) dme: Ping timeout: 240 seconds 04:24 (join) tomodo 04:25 tomodo: hi 04:26 tomodo: Here's a screenshot of the racket toolbar 04:26 tomodo: http://i.imgur.com/0ApdG.png 04:26 tomodo: the menu is missing and when I click it they sort of show up, but it's broken 04:27 (join) stchang 04:32 neilv: tomodo: http://www.google.com/search?q=racket%20bug%20menu%20bar 04:32 neilv: tomodo: if none of the first few hits sounds like your problem, i suggest filing a bug using drracket or by posting to the users@ email list 04:33 (quit) vkz: Quit: vkz 04:46 tomodo: any idea how to fix it 04:47 neilv: i'm not familiar with the problem. i just recall hearing of things that sounded similar 04:47 (quit) mithos28: Quit: mithos28 04:49 (join) gciolli 04:53 (quit) tomodo: Remote host closed the connection 04:59 (join) Kaylin 04:59 Kaylin waves. 05:00 (join) tomodo 05:11 (join) sindoc1 05:12 (join) jeapostrophe 05:13 (quit) sindoc: Ping timeout: 244 seconds 05:22 (quit) neilv: Ping timeout: 276 seconds 05:28 (join) neilv 05:28 (quit) neilv: Changing host 05:28 (join) neilv 05:31 (join) JoNil 05:31 (part) JoNil 05:33 tomodo: make install gets stuck on raco setup: 1 making: macro-debugger 05:34 (quit) dspt: Ping timeout: 272 seconds 05:35 (join) JoNil 05:38 (join) bluezenix 05:38 tomodo: wait a sec, it finally did it 05:40 (quit) tomodo: Remote host closed the connection 05:42 (quit) bluezenix: Ping timeout: 240 seconds 05:44 (quit) JoNil: Quit: Ex-Chat 05:44 (join) JoNil 05:45 (quit) Kaylin: Quit: Leaving. 05:46 (quit) JoNil: Client Quit 05:46 (join) tomodo 05:46 tomodo: compiling racket made my computer turn itself off 05:46 (join) dspt 05:46 tomodo: it puts CPU usage up to 100% for a long time 05:47 (join) masm 05:48 (join) bluezenix 05:52 (quit) neilv: Ping timeout: 240 seconds 06:02 (quit) ararara: Quit: leaving 06:04 (quit) jeapostrophe: Ping timeout: 260 seconds 06:05 (quit) sindoc1: Quit: Leaving. 06:28 (quit) angusiguess: Read error: Connection reset by peer 06:29 (join) angusiguess 06:30 (join) dme 06:48 (quit) dspt: Ping timeout: 255 seconds 06:49 (join) Sicp 06:49 (quit) Sicp: Changing host 06:49 (join) Sicp 06:54 (join) dspt 06:59 (quit) gciolli: Ping timeout: 276 seconds 07:06 (quit) tomodo: Ping timeout: 276 seconds 07:08 (quit) bluezenix: Quit: Leaving. 07:17 (quit) dspt: Ping timeout: 276 seconds 07:23 (join) dspt 07:23 (join) neilv 07:38 (join) mceier 07:39 (join) bluezenix 08:00 (join) MayDaniel 08:03 neilv: would be nice to have a way to raise a syntax error with *multiple* source locations. so, for example, if two pieces of syntax disagree in some language, you could click to go to either of them 08:06 (quit) bluezenix: Quit: Leaving. 08:06 (quit) dspt: Remote host closed the connection 08:06 (join) dspt 08:07 (join) bluezenix 08:10 (quit) bluezenix: Client Quit 08:22 (quit) fftb: Remote host closed the connection 08:23 (quit) dspt: Ping timeout: 240 seconds 08:30 (join) dspt 08:50 (quit) dspt: Ping timeout: 240 seconds 08:57 (join) dspt 09:12 (join) dous 09:14 (quit) dous_: Ping timeout: 240 seconds 09:32 (join) noam 09:34 (nick) samth_away -> samth 09:35 samth: neilv: you can already do that 09:36 samth: rudybot: doc raise-syntax-error 09:36 rudybot: samth: your sandbox is ready 09:36 rudybot: samth: http://docs.racket-lang.org/reference/exns.html#(def._((quote._~23~25kernel)._raise-syntax-error)) 09:37 samth: rudybot: eval (raise-syntax-error #f "whee" #'here #f (list #'there #'everywhere)) 09:37 rudybot: samth: error: #:1:32: here: whee in: here 09:39 neilv: ah, i see, the jump to next error highlight thing 09:41 neilv: if you run from command line, the default error handler does not seem to do anything with the extra-sources 09:41 jrslepak: with redex is there a way to get a judgment to have a premise equivalent to some other judgment failing to hold or pattern failing to match? alternatively, is it possible to have list exclusion as a judgment? 09:45 samth: neilv: yes, the command line doesn't do much 09:46 samth: try it in drracket -- it highlights all the bits 09:46 samth: jrslepak: use a side condition, the `not' function, and `redex-match' or `judgement-holds' 09:46 (quit) dspt: Ping timeout: 240 seconds 09:47 jrslepak: samth: it allows side-condition? 09:47 samth: jrslepak: yes, in lots of places 09:47 samth: wait, maybe not in judgments 09:48 jrslepak: judgments seem to the one place it doesn't allow them 09:48 samth: `define-judgment-form' looks like it supports side-conditions to me 09:48 samth: http://pre.racket-lang.org/docs/html/redex/The_Redex_Reference.html?q=judgment-form#%28form._%28%28lib._redex/reduction-semantics..rkt%29._define-judgment-form%29%29 09:48 rudybot: http://tinyurl.com/86omuq8 09:50 jrslepak: will I have to download a newer build? the main docs page has no side-condition 09:50 jrslepak: http://docs.racket-lang.org/redex/Other_Relations.html#(form._((lib._redex/reduction-semantics..rkt)._define-judgment-form)) 09:51 samth: jrslepak: maybe yet 09:51 samth: maybe yes 09:51 samth: jrslepak: you can can always do (where #f ,(judgement-holds ...)) 09:52 (quit) dme: Ping timeout: 240 seconds 09:54 jrslepak: it says it doesn't like unquote in judgments 09:55 jrslepak: I'll just grab the nightly build 10:01 (quit) Enorian: Ping timeout: 245 seconds 10:01 (quit) masm: Quit: Leaving. 10:02 jrslepak: nightly build still says, "define-judgment-form: expected judgment form name in: side-condition" 10:03 Sicp: is this not the way to attach a text% to an editor-canvas% that's attached to a frame% ? http://pastebin.com/Ah5iQbwC 10:03 Sicp: if I remove the myText block, the editor-canvas shows and it's white and all is fine, but attaching the text% to it is..well it isn't correct 10:03 samth: jrslepak: weird 10:04 Sicp: and I didn't see any callbacks in the reference, so I supposed that this is the way to define it and be done with 10:08 jrslepak: wait, looks like it opened in the wrong DrRacket 10:12 (quit) noam: Read error: Connection reset by peer 10:12 (join) noam 10:13 Sicp: any idea? 10:13 samth: Sicp: sorry, i haven't done much stuff with editors 10:13 samth: you might ask on the mailing list 10:13 Sicp: seems like very few have experience with this particular class 10:14 samth: Sicp: very few here on irc 10:14 samth: like i said, ask on the list 10:14 Sicp: alright sam 10:18 jrslepak: samth: neither of these seem to work the way I'd expected -- http://pastebin.com/Du4WjEY5 10:18 jrslepak: (lines 22, 23) 10:19 samth: jrslepak, right, that won't work 10:19 samth: have you read the docs about side-condition in judgments? 10:20 samth: the body of a side-condition is implicitly quoted there 10:20 samth: unlike in metafunctions etc 10:20 jrslepak: hm 10:20 Sicp: this is it, samth http://pastebin.com/u4JQV1yi 10:20 samth: (side-condition E) is equivalent to (where #t E) 10:20 Sicp: courtesy of rapacity 10:20 Sicp: it's the [editor] field 10:21 Sicp: in editor-canvas% 10:25 jrslepak: samth: still not sure what the trouble is with the (where #f ...) version 10:25 samth: judgement-holds is a racket form, not a redex form 10:26 samth: it's like `apply-reduction-relation' 10:27 jrslepak: (where #t (different x_0 x_1)) appears to work 10:31 jrslepak: samth: thanks for pointing out the new feature :-) 10:39 (join) Enoria 10:40 (join) dspt 10:44 (quit) dspt: Ping timeout: 252 seconds 10:45 (join) dspt 10:52 (quit) MayDaniel: Read error: Connection reset by peer 10:55 (join) Shviller 10:58 (quit) Shvillr: Ping timeout: 248 seconds 11:00 (join) vkz 11:00 (join) francisl 11:00 (quit) francisl: Client Quit 11:01 (quit) neilv: Quit: Leaving 11:11 (join) dous_ 11:13 (join) sindoc 11:15 (quit) dous: Ping timeout: 248 seconds 11:24 (join) dme 11:42 (join) MayDaniel 11:47 (join) mithos28 11:49 (quit) MayDaniel: 11:49 (quit) dspt: Ping timeout: 245 seconds 11:56 (join) dspt 12:05 (quit) Enoria: Remote host closed the connection 12:05 (join) Enoria 12:07 (join) sindoc1 12:07 (quit) sindoc: Read error: Connection reset by peer 12:18 (join) asdasdasd 12:22 (quit) Sicp: Ping timeout: 272 seconds 12:24 (join) zussitarze 12:27 (join) bluezenix 12:33 (join) Shvillr 12:33 (join) noam_ 12:34 (join) mattmigh` 12:34 zussitarze: Hi. Recently I had to evaluate Scala for a project, as it's the 'next big thing'. While the Scala team have done an excellent job overall, I couldn't help but keep thinking, "but... Racket has this too!" 12:35 (join) dous 12:35 (join) karswell_ 12:36 (join) dmj111`` 12:36 (join) shachaf_ 12:37 (join) zerokarm1left 12:37 (quit) mattmight: Ping timeout: 240 seconds 12:37 (quit) Shviller: Ping timeout: 240 seconds 12:37 (quit) shachaf: Ping timeout: 240 seconds 12:37 (quit) sid0: Ping timeout: 240 seconds 12:37 (quit) zerokarmaleft: Ping timeout: 240 seconds 12:37 (quit) noam: Ping timeout: 240 seconds 12:37 (quit) dmj111`: Ping timeout: 240 seconds 12:37 (quit) eli: Ping timeout: 240 seconds 12:37 (quit) rapacity: Ping timeout: 240 seconds 12:37 (quit) dous_: Ping timeout: 240 seconds 12:37 (quit) karswell: Ping timeout: 240 seconds 12:37 (quit) Twey: Ping timeout: 240 seconds 12:37 (join) rapacity_ 12:37 (quit) mithos28: Quit: mithos28 12:37 (quit) rapacity_: Changing host 12:37 (join) rapacity_ 12:38 (nick) rapacity_ -> rapacity 12:39 (join) Twey 12:39 bremner: I guess JVM is either a mandatory feature, or not. 12:41 asumu: zussitarze: Good to hear. Anything they have that Racket needs? :) 12:41 zussitarze: asumu: Libraries, libraries, libraries. 12:41 bremner: also, I guess some people find the scala syntax more comfortable. 12:43 zussitarze: bremner: It does have it's advantages, as a battle tested platform. As for the syntax, I suppose so, but it does have some rough edges. 12:44 bremner: yeah, I found it a bit ad hoc when I glanced at it (compared to haskell) 12:44 zussitarze: asumu: Let me be a bit more specific on libraries. 12:44 zussitarze: bremner: agreed. 12:45 zussitarze: The first question I've noticed when brining up a new language or 'technology' to a dev team is, "Who else uses it?" 12:47 zussitarze: *bringing. It's really an extension of 'no one ever got fired for buying IBM'. 12:48 zussitarze: Then the question shifts to 'production quality' database drivers, and web frameworks. 12:48 (nick) asdasdasd -> Sicp 12:48 (quit) Sicp: Changing host 12:48 (join) Sicp 12:50 (join) sid0 12:52 zussitarze: Then the conversation transitions into benchmarks for the aforementioned libraries. Choosing a tech infrastructure is a complex affair, and devs will always try to make it as deterministic as possible. "Are their nice charts that prove I made a good choice?" 12:52 zussitarze: *there. 12:52 (join) yoklov 12:53 (part) yoklov 12:54 (join) duomo 13:03 (quit) dme: Ping timeout: 240 seconds 13:04 (quit) duomo: Quit: Leaving... 13:25 (join) realitygrill 13:30 (join) eli 13:31 (quit) vkz: Quit: vkz 13:39 (quit) Fare: Ping timeout: 240 seconds 13:52 (quit) angusiguess: Read error: Connection reset by peer 13:53 (join) angusiguess 13:58 (quit) noam_: Read error: Connection reset by peer 13:58 (join) noam_ 14:21 (quit) sindoc1: Quit: Leaving. 14:25 (quit) zussitarze: Quit: Page closed 14:25 (join) zussitarze 14:26 (quit) bluezenix: Quit: Leaving. 14:29 (join) mye 14:33 (join) sindoc 14:37 (quit) sindoc: Ping timeout: 240 seconds 14:47 (join) vkz 14:48 (join) realitygrill_ 14:49 (quit) realitygrill: Ping timeout: 240 seconds 14:49 (nick) realitygrill_ -> realitygrill 15:07 (quit) vkz: Quit: vkz 15:32 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/K_ciAA 15:32 RacketCommitBot: [racket/master] revert the logo to the released one - Robby Findler 15:36 (join) jonrafkind 15:55 (join) bluezenix 16:06 (join) vkz 16:08 (join) swartzcr_ 16:09 (quit) swartzcr: Ping timeout: 260 seconds 16:14 (join) Kaylin 16:15 (quit) dspt: Ping timeout: 245 seconds 16:24 (quit) zussitarze: Quit: Page closed 16:28 (join) dspt 16:34 (quit) karswell_: Remote host closed the connection 16:34 (join) karswell_ 16:40 (quit) angusiguess: Read error: Connection reset by peer 16:41 (join) angusiguess 16:41 (join) sf17k 16:45 (quit) noam_: Read error: Connection reset by peer 16:46 (join) noam_ 16:53 (quit) zerokarm1left: Remote host closed the connection 16:58 (join) MayDaniel 17:04 (join) zerokarmaleft 17:07 (quit) sf17k: 17:22 (join) EmmanuelOga 17:25 (quit) zerokarmaleft: Ping timeout: 276 seconds 17:28 (join) zussitarze 17:30 (join) anRch 17:31 (quit) shachaf_: Quit: ! 17:31 (join) shachaf 17:31 (join) zerokarmaleft 17:38 (join) duomo 17:54 (quit) vkz: Quit: vkz 17:56 (quit) cdidd: Remote host closed the connection 18:00 (join) bluephoenix47 18:01 bluephoenix47: I'm trying to formalize a language in Redex which has contexts, like Gamma ::= \cdot | Gamma,x:t. Is there a good way to use them in reduction-relations without all kinds of side-conditions? 18:12 asumu: bluephoenix47: If you're trying to do a type system, it might be easier with define-judgment-form. 18:12 asumu: Rather than reduction-relations. 18:16 bluephoenix47: I'm not doing a type system; just using that as an example. I have a rather hairy judgment with contexts containing channels, and information associated with them. When reducing terms, I need to check that a channel is in the context, and match on the information associated with them. The contexts look like (G ((ch tag time) ...) in the langauge definition. 18:17 bluephoenix47: s/...)/...))/ 18:18 (quit) Sicp: Quit: Leaving 18:36 (join) masm 18:38 (quit) anRch: Quit: anRch 18:42 (quit) zerokarmaleft: Remote host closed the connection 18:43 (join) yoklov 18:54 (join) zerokarmaleft 18:54 (quit) dzhus: Remote host closed the connection 19:00 (quit) yoklov: Quit: computer sleeping 19:01 (join) yoklov 19:03 asumu: bluephoenix47: It may be easiest to encode that in your evaluation context then. 19:03 asumu: And have the rule trigger based on the shape of your context. 19:03 asumu: e.g., do a non-deterministic match on the (G ...) in the rule 19:03 asumu: (or as a where clause) 19:04 asumu: though maybe that's what you're doing already. I'm not sure there's a better way. 19:13 (quit) bluezenix: Quit: Leaving. 19:13 bluephoenix47: asumu: Right, it's in the evaluation context, but what do you mean a non-deterministic match on (G ...)? Right now, I just match G, then as a side condition specify (member (term (ch idle time)) (term G)). 19:16 (quit) zussitarze: Quit: Page closed 19:27 (join) jao 19:31 (quit) MayDaniel: Read error: Connection reset by peer 19:32 (nick) samth -> samth_away 19:55 (quit) Kaylin: Quit: Leaving. 20:00 (quit) mye: Ping timeout: 240 seconds 20:21 asumu: bluephoenix47: Something like (G ((ch_0 tag_0 time_0) ... (ch tag time) ... (ch_1 tag_1 time_1) ...)) where you're matching on the middle term. 20:21 (quit) angusiguess: Read error: Connection reset by peer 20:22 (join) angusiguess 20:24 bluephoenix47: asumu: Ahh I didn't realized I could do that. That'll clean some things up; thanks! 20:26 asumu: bluephoenix47: NP. :) 20:49 (quit) mceier: Quit: leaving 20:53 (quit) dmj111``: Quit: ERC Version 5.3 (IRC client for Emacs) 21:46 (quit) Fulax: Ping timeout: 272 seconds 21:58 (quit) jao: Ping timeout: 240 seconds 21:58 (join) Fulax 22:13 (quit) Fulax: Ping timeout: 252 seconds 22:17 (join) Fulax 22:18 (join) tauntaun 22:56 (quit) duomo: Quit: Leaving... 23:02 (join) [1]angusiguess 23:04 (quit) angusiguess: Ping timeout: 240 seconds 23:04 (nick) [1]angusiguess -> angusiguess 23:06 (join) Kaylin 23:41 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/fYn8Qg 23:41 RacketCommitBot: [racket/master] single-flonum? is not provided by TR's internals anymore. - Vincent St-Amour 23:41 RacketCommitBot: [racket/master] Add typed for missing finum/flonum conversions. - Vincent St-Amour 23:50 (join) jeapostrophe 23:57 (join) acts_as_david