00:04 (join) stamourv 00:06 (quit) Demosthenes: Ping timeout: 245 seconds 00:19 (join) antithesis 00:33 (quit) nilyaK1: Ping timeout: 244 seconds 00:38 shawnps: is there a way to display a JPEG that i might get by doing a get-pure-port on a URL and getting a raw JPEG image stream back in DrRacket? 00:40 (quit) hash_table: Ping timeout: 240 seconds 00:41 (quit) getpwnam: Ping timeout: 240 seconds 00:41 (quit) lem_e_tweakit: Ping timeout: 252 seconds 00:41 (join) nilyaK 00:44 (join) nilyaK1 00:44 asumu: shawnps: yes, use a bitmap% object. You can initialize with an input port. 00:46 (quit) nilyaK: Ping timeout: 248 seconds 00:46 shawnps: asumu: awesome, thanks 00:50 (join) RacketCommitBot 00:50 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/AADgGA 00:50 RacketCommitBot: [racket/master] Fix bug in method concretization for interface ctcs - Asumu Takikawa 00:50 (part) RacketCommitBot 00:56 (quit) zyoung: Remote host closed the connection 01:10 (quit) dented42: Quit: Computer has gone to sleep. 01:11 (join) jeapostrophe 01:11 (quit) jeapostrophe: Changing host 01:11 (join) jeapostrophe 01:12 (join) dented42 01:15 (quit) nilyaK1: Ping timeout: 245 seconds 01:17 shawnps: asumu: wow, that is really cool 01:17 shawnps: worked perfectly :D 01:17 shawnps: maybe i'm just easily impressed though 01:20 (quit) peeeep: Read error: Connection reset by peer 01:20 (quit) gerardpaapu: Ping timeout: 256 seconds 01:35 (quit) stamourv: Ping timeout: 244 seconds 01:38 (quit) jeapostrophe: Ping timeout: 265 seconds 01:38 (join) stamourv 01:38 (quit) stamourv: Changing host 01:38 (join) stamourv 01:41 (join) lcc 01:46 (part) lcc: "ERC Version 5.3 (IRC client for Emacs)" 01:51 (join) ambrosebs 02:17 (join) snearch 02:21 (quit) jacius: Quit: Leaving 02:28 (quit) Shambles_: Ping timeout: 265 seconds 02:29 (join) nilyaK 02:42 (quit) stamourv: Ping timeout: 244 seconds 02:45 (join) stamourv 02:58 (join) Shambles_ 03:02 (join) tfb 03:04 (quit) jyc: Quit: Leaving 03:06 shawnps: can you only have one #auto-value in a struct? 03:16 (join) bluezenix 03:22 (quit) stamourv: Ping timeout: 244 seconds 03:25 (join) stamourv 03:25 (quit) stamourv: Changing host 03:25 (join) stamourv 03:33 (quit) tfb: Quit: sleeping 03:43 (join) netrino 03:50 (quit) jonrafkind: Ping timeout: 252 seconds 03:55 (join) bitonic_ 04:03 (quit) maahes: Ping timeout: 260 seconds 04:04 (quit) stamourv: Ping timeout: 244 seconds 04:05 (join) stamourv 04:09 (join) maahes 04:26 (join) mceier 04:30 (quit) snearch: Quit: Verlassend 04:33 (quit) stamourv: Ping timeout: 244 seconds 04:36 (join) stamourv 04:36 (quit) stamourv: Changing host 04:36 (join) stamourv 04:37 (quit) ambrosebs: Ping timeout: 252 seconds 04:37 (join) noelw 04:41 (join) tfb 04:48 (quit) bitonic_: Quit: WeeChat 0.3.7 04:57 (quit) tfb: Quit: gone 05:00 (quit) kvda: Quit: x__x 05:04 (join) tim-brown 05:05 (quit) nilyaK: Quit: Leaving. 05:09 (join) Skola 05:12 (join) masm 05:14 (quit) stamourv: Ping timeout: 244 seconds 05:18 (join) stamourv 05:18 (quit) stamourv: Changing host 05:18 (join) stamourv 05:20 (join) nilyaK 05:22 (join) ambrosebs 05:30 (quit) nilyaK: Quit: Leaving. 05:47 (join) lcc 05:50 (join) jesyspa 05:58 (quit) bitonic: Quit: WeeChat 0.3.7 05:58 (join) bitonic 06:13 (quit) lcc: Quit: ERC Version 5.3 (IRC client for Emacs) 06:17 (quit) ambrosebs: Ping timeout: 248 seconds 06:21 (quit) netrino: Quit: Ave! 06:24 (quit) stamourv: Ping timeout: 244 seconds 06:24 (join) soegaard 06:28 (join) stamourv 06:28 (quit) stamourv: Changing host 06:28 (join) stamourv 06:55 (join) ambrosebs 07:05 (quit) bluezenix: Quit: Leaving. 07:07 (quit) stamourv: Ping timeout: 244 seconds 07:09 (join) stamourv 07:37 (join) bluezenix 07:42 (quit) ivan`: Quit: ERC Version 5.3 (IRC client for Emacs) 07:42 (quit) stamourv: Ping timeout: 244 seconds 07:44 (join) stamourv 07:44 (quit) stamourv: Changing host 07:44 (join) stamourv 07:44 (quit) bluezenix: Remote host closed the connection 07:45 (join) ivan` 07:50 (join) bluezenix 07:52 (join) jeapostrophe 08:08 (join) kanak 08:14 (quit) stamourv: Read error: Connection reset by peer 08:14 (join) stamourv 08:27 (join) snearch 08:30 (join) getpwnam 08:30 (join) lem_e_tweakit 08:31 (join) hash_table 08:33 (join) jao 08:33 (quit) jao: Changing host 08:33 (join) jao 08:37 (quit) ivan`: Quit: ERC Version 5.3 (IRC client for Emacs) 08:39 (join) ivan` 08:45 (join) zyoung 08:47 (quit) stamourv: Read error: Connection reset by peer 08:47 (join) stamourv 08:53 (join) nilyaK 09:01 (join) nilyaK1 09:04 (quit) nilyaK: Ping timeout: 245 seconds 09:26 (quit) stamourv: Ping timeout: 244 seconds 09:27 (join) stamourv 09:27 (quit) stamourv: Changing host 09:27 (join) stamourv 09:33 (join) dzhus 09:37 (quit) lem_e_tweakit: Ping timeout: 244 seconds 09:37 (quit) getpwnam: Ping timeout: 244 seconds 09:37 (quit) hash_table: Ping timeout: 256 seconds 09:42 (join) gridaphobe 09:44 (quit) ambrosebs: Ping timeout: 256 seconds 09:45 (join) ambrosebs 09:46 (quit) acarrico: *.net *.split 09:46 (quit) cataska_: *.net *.split 09:46 (quit) jschuster: *.net *.split 09:47 (join) jschuster 09:47 (join) acarrico 09:47 (join) cataska_ 09:55 (quit) jeapostrophe: Ping timeout: 240 seconds 10:00 (quit) jrslepak: Quit: This computer has gone to sleep 10:01 (join) jrslepak 10:01 (quit) stamourv: Ping timeout: 244 seconds 10:01 (join) stamourv 10:01 (quit) stamourv: Changing host 10:01 (join) stamourv 10:01 (join) netrino 10:04 (quit) bluezenix: Read error: Connection reset by peer 10:04 (join) RacketCommitBot 10:04 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/YyGkug 10:04 RacketCommitBot: [racket/master] Commit b3002cfab01dcbd36faa39d15499304b0074e904 broke - Robby Findler 10:04 (part) RacketCommitBot 10:13 (quit) aalix: 10:14 (quit) dzhus: Ping timeout: 240 seconds 10:19 (join) aalix 10:21 (quit) nilyaK1: Quit: Leaving. 10:25 (join) bluezenix 10:26 (quit) jesyspa: Quit: leaving 10:36 (quit) stamourv: Ping timeout: 244 seconds 10:40 (join) getpwnam 10:40 (join) lem_e_tweakit 10:40 (join) hash_table 10:41 (join) stamourv 10:41 (quit) stamourv: Changing host 10:41 (join) stamourv 10:46 (join) djcb 10:55 (quit) jrslepak: Quit: What happened to Systems A through E? 10:56 (join) kvda 11:05 (quit) djcb: Read error: Connection reset by peer 11:06 (join) djcb 11:07 (join) anRch 11:09 (quit) Skola: Quit: Lost terminal 11:16 (quit) anRch: *.net *.split 11:16 (quit) djcb: *.net *.split 11:16 (quit) gridaphobe: *.net *.split 11:16 (quit) jrslepak_neu: *.net *.split 11:16 (join) anRch 11:16 (join) djcb 11:16 (join) gridaphobe 11:16 (join) jrslepak_neu 11:16 (quit) gridaphobe: Remote host closed the connection 11:16 (join) gridaphobe 11:19 (join) gciolli 11:20 stamourv: shawnps: Yes, unfortunately. 11:21 stamourv: I don't see a good reason why, though. I'd like to fix that at 11:21 stamourv: some point. 11:37 Cryovat: Wanna give structs in Typed Racket some love too? ;) 11:37 stamourv: I'd love to. What do you miss the most? 11:38 Cryovat: They seem #:auto-value would be nice 11:38 Cryovat: -They seem 11:39 stamourv: I'd rather fix it in Racket, then support the result in TR. 11:40 stamourv: Would feel weird to add support for something I want to throw away. ;) 11:40 Cryovat: Hehe 11:41 Cryovat: Is there a philosophical reason why #:mutable can't be applied to a few fields only? 11:42 stamourv: I'm pretty sure it can. 11:42 (quit) bluezenix: Quit: Leaving. 11:42 stamourv: Cryovat: http://docs.racket-lang.org/reference/define-struct.html?q=struct#%28form._%28%28lib._racket/private/base..rkt%29._struct%29%29 11:43 rudybot: http://tinyurl.com/7njmsc7 11:43 stamourv: Look in `field-option'. 11:44 Cryovat: Ah, sorry 11:44 Cryovat: I was mixing up Racket and TR 11:47 stamourv: TR doesn't support it? 11:49 Cryovat: Only on the struct level it seems 11:49 (quit) netrino: Ping timeout: 244 seconds 11:49 Cryovat: http://docs.racket-lang.org/ts-reference/special-forms.html?q=struct%3A#(form._((lib._typed-racket/base-env/prims..rkt)._struct~3a)) 11:50 (join) RacketCommitBot 11:50 RacketCommitBot: [racket] plt pushed 3 new commits to master: http://git.io/_6gqCA 11:50 RacketCommitBot: [racket/master] added a ``dissection'' of a contract error message to the Guide - Robby Findler 11:50 RacketCommitBot: [racket/master] update the mac os x bitmaps for the redex bitmap test suite - Robby Findler 11:50 RacketCommitBot: [racket/master] added thermometer - Robby Findler 11:50 (part) RacketCommitBot 11:50 stamourv: Cryovat: That's either a doc bug (if it actually works), or a real bug (if it doesn't). 11:51 stamourv: Could you figure out which it is and submit a bug report? That would be great! 11:52 Cryovat: I can try :) 11:53 (quit) anRch: Quit: anRch 11:53 Cryovat: So far I'm enjoying Typed Racket a lot 11:58 Shambles_: stamourv: What is it you wanted thrown away? 11:59 samth: stamourv, Cryovat: no need for a bug report on that 11:59 samth: it's definitely already reported 11:59 samth: also, #:auto-value is a terrible mis-feature and shouldn't be used/supported/extended 12:00 Shambles_: Guess that was what Cryovat was referring to. 12:00 stamourv: Shambles_: #:auto-value 12:00 (join) anRch 12:01 Shambles_: Hoped it wasn't dynamically typed/statically typed Racket. :P I can see the need for both. 12:01 stamourv: samth: Fields with default values is a good idea IMO. 12:01 stamourv: But having only one such default value is terrible. 12:01 (quit) noelw: Quit: noelw 12:01 stamourv: Shambles_: No risk of that, I like TR a lot too. :) 12:01 samth: stamourv: yes, that's true enough, but what's needed is a general constructor mechanism 12:02 samth: along the lines of jay's superstruct 12:02 Shambles_: I've been working through the guide. I thought there were already constructors? 12:02 (join) netrino 12:02 stamourv: samth: Haven't had a look at superstruct yet, but I will. 12:02 samth: Shambles_: yes, there are 12:02 samth: stamourv: it might be hard to find 12:03 stamourv: It's not on PLaneT/github? 12:03 Shambles_: Is there something wrong with them? 12:03 (part) tim-brown: "Leaving" 12:03 samth: Shambles_: structs automatically come with simple constructors that initialize all the fields 12:03 samth: stamourv: i don't think it's on planet 12:03 samth: it's probably somewhere in github, but hard to find 12:05 (quit) anRch: Read error: Connection reset by peer 12:08 (join) anRch 12:08 (join) eristoddle 12:10 Shambles_: samth: What's wrong with the constructors? Is there something I should watch out for? 12:10 (part) eristoddle 12:10 samth: Shambles_: no, there's nothing wrong with them 12:10 samth: it would be nice to have more features 12:10 samth: but there's nothing you need to worry about 12:11 Cryovat: I've been wondering a bit about struct internals 12:11 (quit) SHODAN: Remote host closed the connection 12:12 Cryovat: If I define a struct like (struct: pos ([x : Integer] [y : Integer])) 12:12 Cryovat: How close is that/the accessors to a C-struct? 12:12 (quit) sstrickl: Quit: sstrickl 12:13 stamourv: Cryovat: Pretty close. It's basically a Racket vector under the hood. 12:13 (join) SHODAN 12:14 stamourv: Typed Racket will even optimize accesses to be simple dereferences. 12:14 stamourv: Struct creation is a bit more expensive than vector creation, though. 12:16 Cryovat: I'm using TR for a nascent toy game project and using structs for game objects 12:17 (join) jacius 12:17 Cryovat: First real attempt at using Scheme for something, so I'm always worried about things like this 12:19 (quit) anRch: Read error: Connection reset by peer 12:20 (join) anRch 12:21 (join) jrslepak 12:21 (quit) anRch: Client Quit 12:25 (join) yoklov 12:31 (quit) gciolli: Quit: Leaving. 12:36 yoklov: is there any way to make drracket's 'enable automatic parentheses' work… better? 12:36 yoklov: e.g. with closing parentheses 12:42 samth: yoklov: i don't understand 12:44 yoklov: Currently, if I have auto parens on, and do (, I get (), but then when I do ), I get ()) 12:45 yoklov: as opposed to it ignoring the existing closing parentheses as it does in many text editors/ides/emacs+paredit 12:46 (quit) kvda: Quit: Computer has gone to sleep. 12:48 yoklov: I'm sort of surprised that drracket doesn't have paredit equivalency, to be honest. It doesn't seem like it would be that hard… But this seems very basic, maybe I have some misconfigured settings? 12:49 samth: yoklov: no, it doesn't do that 12:50 stamourv: yoklov: I hear divascheme (on PLaneT, IIRC) has something paredit-like. 12:54 yoklov: that… sort of sucks to be honest. It wouldn't be that difficult for me to bind )]}, etc. to something that looks at the next character and just moves the cursor forward if it's one of those, would it? 12:54 stamourv: yoklov: There's only one way to find out. ;) 12:59 samth: yoklov: i think that the people who develop drracket and the people who really like paredit are pretty disjoint 13:00 yoklov: really? that's surprising 13:00 (quit) hash_table: Remote host closed the connection 13:02 (join) hash_table 13:02 (quit) hash_table: Remote host closed the connection 13:03 yoklov: paredit aside, i'm more surprised you can't overwrite the closing parens automatically. from what i've seen that's pretty standard in text editors 13:04 anonus: oh, since you're talking about paredit ) 13:04 (join) hash_table 13:04 anonus: is there someone who is using it with viper-mode ? 13:05 stamourv: anonus: IIRC, asumu uses it with evil-mode. 13:05 anonus: seems that viper-mode broke backspace and it not erasing paired paren, maybe someone have fix 13:05 anonus: evil-mode? 13:06 anonus: oh, awesome 13:06 anonus: i should try it now 13:06 samth: yoklov: i've never seen a text editor do that other than paredit 13:10 anonus: stamourv: :* 13:10 stamourv: anonus: Haven't tried it, but I hear asumu likes it. 13:10 anonus: all working out of the box 13:11 anonus: thanks 13:11 stamourv: No problem! 13:11 yoklov: samth: Really? Textmate, Sublime Text, Eclipse all do it, and those are just ones I have on my computer right now. It's pretty common 13:14 yoklov: and those are all for languages which require much less help with paren management than racket 13:14 (join) tyson1 13:19 (join) mye 13:20 (quit) jrslepak: Quit: What happened to Systems A through E? 13:22 (join) jrslepak 13:22 (quit) tyson1: Quit: Leaving. 13:31 (quit) ambrosebs: Ping timeout: 244 seconds 13:34 (quit) hash_table: Ping timeout: 240 seconds 13:34 (quit) lem_e_tweakit: Ping timeout: 244 seconds 13:35 (quit) getpwnam: Ping timeout: 244 seconds 13:36 (join) dnolen` 13:41 yoklov: Actually, it works now 13:42 (join) dzhus 13:42 yoklov: scratch that, it did for a second, but doesn't anymore. Maybe overwrite mode was on… hm... 13:45 (join) bluezenix 13:49 (join) anRch 13:50 (quit) cdidd: Remote host closed the connection 13:52 (join) tyson1 13:53 (part) tyson1 13:55 (quit) djcb: Read error: Connection reset by peer 13:56 (join) djcb 13:59 (join) jonrafkind 14:00 (join) RacketCommitBot 14:00 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/SGLXvg 14:00 RacketCommitBot: [racket/master] Bump timeout for test-engine-test.rkt to 8 minutes. - Mike Sperber 14:00 (part) RacketCommitBot 14:09 (join) Fare 14:09 (quit) bitonic: Quit: WeeChat 0.3.7 14:25 asumu: I think it'd be nice if the paredit component of DivaScheme was a library. 14:25 asumu: And possibly integrated into the framework library. 14:25 (join) Petit_Dejeuner 14:26 asumu: Then structured editing could be used with a) DrRacket b) DivaScheme c) any other editing tool (like the various vim plugins for DrRacket) 14:27 Petit_Dejeuner: Hey, I'm doing the exercises in hotdp, and the draw.ss library isn't working. It tells me that "clear-solid-disc: this function is not defined" even though all the other functions are. 14:27 asumu: Petit_Dejeuner: you misspelled "disk" 14:27 asumu: (either spelling is correct in general but that's what is in the draw library) 14:28 (quit) Petit_Dejeuner: Read error: Connection reset by peer 14:28 asumu: Also, htdp/draw is deprecated now. 2htdp/image is better. 14:28 (join) Petit_Dejeuner 14:30 (quit) djcb: Read error: Connection reset by peer 14:32 (join) djcb 14:33 (join) lem_e_tweakit 14:34 (join) getpwnam 14:34 (join) hash_table 14:36 Petit_Dejeuner: Nevermind I had disc instead of disk, stupid user error 14:38 (part) Petit_Dejeuner: "Leaving" 14:42 (join) stis 14:42 (quit) djcb: Read error: Connection reset by peer 14:43 (join) djcb 15:09 (quit) soegaard: Quit: Page closed 15:10 (join) soegaard 15:40 (quit) anRch: Quit: anRch 15:44 asumu: jonrafkind: what's the status of drracket/private/module-interface? 15:44 asumu: (we were poking around with generics and it raised some errors so we were curious) 15:45 jonrafkind: i guess i dropped it 15:45 jonrafkind: you can remove it if you want 15:45 asumu: Okay, well it doesn't matter to us either way (the error is a bug in our end) but if you're not working on it, we can remove it. 15:46 asumu: Or you can. Or whatever. 15:49 (quit) Fare: Ping timeout: 246 seconds 16:06 (join) RacketCommitBot 16:06 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/nwNPqg 16:06 RacketCommitBot: [racket/master] Remove drracket/private/module-interface. - Asumu Takikawa 16:06 (part) RacketCommitBot 16:15 (quit) gridaphobe: Remote host closed the connection 16:25 (join) Fare 16:26 (join) mye_ 16:26 yoklov: is there a runtime overhead for case-lambda? 16:27 asumu: yoklov: yes, there is. It's not part of the core language. 16:27 yoklov: cool, thanks 16:27 asumu: Actually, hmm. 16:27 asumu: Nevermind. 16:27 asumu: That might've been wrong. 16:27 asumu: Since it's a core syntactic form. 16:28 asumu: Also, it's part of the bytecode. So, maybe not? 16:28 yoklov: hm 16:28 asumu: yoklov: I'd ask on the mailing list if you're curious. 16:28 stamourv: asumu, yoklov: Even if it's implemented in the runtime, there's probably an overhead from dispatching on arity. 16:28 asumu: Yeah, probably. 16:29 (quit) mye: Ping timeout: 252 seconds 16:30 yoklov: i would think you could determine a lot of calls statically, but it would require that actually happening 16:30 yoklov: and things already give an error for the wrong numbers of arguments 16:37 (join) tyson1 16:40 (part) tyson1 16:41 (join) pmatey 16:47 (quit) pmatey: Quit: leaving 16:51 (join) nilyaK 16:56 (quit) djcb: Read error: Connection reset by peer 16:56 sizz: Typo report: http://racket-lang.org/learning.html "also worthwhile for experience programmers.." you left out the 'd'. 16:57 (join) djcb 16:59 sizz: There also doesn't appear to be a link back to the home page once you've clicked on the 'documentation' tab 17:01 (quit) antithesis: Quit: yes leaving 17:01 Cryovat: I think that's because the documentation is the same Scribble generated html as you get on your local machine 17:08 (quit) aalix: Quit: Computer has gone to sleep. 17:09 (quit) bluezenix: Quit: Leaving. 17:10 (quit) djcb: Read error: Connection reset by peer 17:11 (join) djcb 17:16 (quit) snearch: Quit: Verlassend 17:25 (join) bluezenix 17:35 (quit) dented42: Quit: Computer has gone to sleep. 17:48 (join) nilyaK1 17:50 (quit) nilyaK: Ping timeout: 245 seconds 17:58 (quit) nilyaK1: Quit: Leaving. 18:01 (quit) zyoung: Ping timeout: 244 seconds 18:06 jonrafkind: its wierd that you can put any datum the expression part of the bindings in a with-syntax and it will auto-convert to syntax 18:06 jonrafkind: (with-syntax ([x (lambda (z) z)]) #'x) is basically the same as (with-syntax ([x #'(lambda (z) z)]) #'x) 18:08 jonrafkind: which means if you use a macro in that position then it can either return #'#'blah or just #'blah 18:08 jonrafkind: (with-syntax ([x (some-macro)]) #'x) 18:08 jonrafkind: (define-syntax (some-macro stx) #'#'1) or (define-syntax (some-macro stx) #'1) 18:09 jonrafkind: i suppose if you use the #'#' thing then you can control the lexical context of the final syntax object 18:09 jonrafkind: otherwise with-syntax will imbue it with the lexical context of where that expression appears 18:11 yoklov: can someone explain why this happens? https://gist.github.com/2727844 18:12 jonrafkind: you thought a should be 1? 18:12 yoklov: yup 18:12 jonrafkind: what if you move the (super-new) to the end of the class definitions 18:13 yoklov: it's the same 18:15 jonrafkind: hm i dont see an explanation of the order of initialization in the docs 18:15 jonrafkind: http://docs.racket-lang.org/reference/objcreation.html?q=make-object 18:16 yoklov: hm, it seems to work if I do (init a) (super-make-object a) (init-field b) 18:17 (join) jesyspa 18:17 yoklov: which looks dumb but i'll live. 18:17 (quit) jrslepak: Quit: Leaving 18:17 yoklov: and the initialization docs seem to be here, though I'm not really sure I follow them. http://docs.racket-lang.org/reference/createclass.html#(part._clinitvars) 18:18 (join) jrslepak 18:18 yoklov: ah, but then I can't inherit the field, or use it in methods. 18:19 (join) jyc 18:22 yoklov: It works with (init a*) (super-make-object a*) (inherit-field a) (init-field b), but that's hacky. Am I alone in wanting to do this? 18:23 (quit) kanak: Ping timeout: 244 seconds 18:23 yoklov: or does nobody use racket/class 18:23 asumu: Pretty sure the initialization order has something to do with mixins. 18:24 asumu: Since if you have some mixins, you want the order you super-make-object be the order you applied mixins to the superclass. 18:25 asumu: Or maybe not, sorry I'd think about this more but I'm in the middle of something---I'll get back to this. 18:25 asumu: yoklov: also, I'm not sure precisely what you want here. 18:25 asumu: Why not just use `new` and `super-new`? 18:27 yoklov: oh, well (super-new [a a]) looks weird to me 18:27 yoklov: and I typically avoid doing by named parameters so I can change their names if I want, and also because most things in racket aren't by-name 18:27 yoklov: will it work differently if I do that though? 18:28 (quit) Fare: Ping timeout: 246 seconds 18:28 (part) stis 18:29 yoklov: Basically I want the first arguments to go to the superclass 18:30 bartbes: yoklov: from the docs: "When a derived class’s superclass initialization provides even more by-position arguments, they are prefixed onto the by-position arguments accumulated so far." 18:30 yoklov: or even to be able to control it without the (init a*) (super-something a*) 18:30 bartbes: written here: http://docs.racket-lang.org/reference/createclass.html 18:31 yoklov: I'm not so sure what that means though 18:32 yoklov: And I thought it just applied to init-rest clauses 18:32 yoklov: or, classes with init-rest clauses, rather 18:32 yoklov: What are the by-position arguments accumulated so far in that sentence? 18:32 bartbes: possibly, but one would expect it is homogeneous 18:33 bartbes: I would imagine those are the ones used by the derived class 18:33 bartbes: so in your case, it would be 'b' 18:34 bartbes: I'm not sure if you can suppress the default handling of init values, if so you could probably manually set the right variables with init-rest 18:36 yoklov: hm 18:36 yoklov: well what's the default handling? 18:36 yoklov: is it reverse order? 18:36 yoklov: e.g. super class takes the last values, then subclasses take the next ones? 18:36 asumu: Yes, it's that order. 18:37 asumu: That order may be more convenient for mixins or subclasses in the middle of the hierarchy. 18:37 asumu: Which know something about their immediate superclass, but not necessarily where the root is. 18:38 (quit) mye_: Quit: Leaving 18:38 asumu: And you don't want to have to pass the root (or someone higher uper) init arguments first. 18:39 (join) mye 18:41 yoklov: hm, I guess I understand that, but if you have two classes which take two arguments each, then the order you have to pass becomes 3, 4, 1, 2 which seems really unintuitive 18:42 asumu: If the order becomes an issue, just use by-name arguments. They're clearer anyway. 18:42 (join) mye_ 18:45 asumu: Also, actually quite a few things are by-name in racket/gui. 18:45 (quit) djcb: Read error: Connection reset by peer 18:45 asumu: It's just racket/draw that seems to avoid by-name inits to some degree. 18:45 asumu: Admittedly the init story is quite complex, unfortunately. 18:45 yoklov: Well, I guess I meant compared to normal functions, where if it's by name it's a kwarg 18:46 yoklov: versus a weird [somehow-not-an-error-identifier value] thing 18:46 (quit) mye: Ping timeout: 246 seconds 18:46 asumu: They predate keywords, I think. 18:46 (join) djcb 18:49 (join) nilyaK 18:57 (quit) mceier: Quit: leaving 19:01 (join) Kaylin 19:05 (join) dented42 19:17 Cryovat: Hmm 19:18 Cryovat: I have an about-button in my program 19:18 Cryovat: What would be the correct platform-agnostic way to have it start a browser? 19:21 Cryovat: God, I'm stupid 19:22 Cryovat: The example for shell-execute is just that 19:25 (quit) jonrafkind: Ping timeout: 252 seconds 19:27 (quit) jyc: Ping timeout: 256 seconds 19:28 (quit) dzhus: Ping timeout: 276 seconds 19:36 (quit) jrslepak: Quit: What happened to Systems A through E? 19:37 (join) jrslepak 19:39 (quit) netrino: Quit: Ave! 19:39 (nick) ozzloy -> newname 19:56 yoklov: anybody willing to give me feedback on this macro? I'm new to syntax-case, and I feel like it… could use some work: https://gist.github.com/2727844 19:58 yoklov: I wasn't sure how to deal with the ...s in a reasonable way 19:59 yoklov: my intuition is that maybe I should have tried to append-map over them? 20:03 yoklov: alternatively, is my intuition wrong, and it's just okay the way it is? (it does work, but it seemed like I had to trick it into working) 20:15 (quit) djcb: Read error: Connection reset by peer 20:17 (join) djcb 20:21 (quit) Kaylin: Quit: Leaving. 20:23 (quit) nilyaK: Quit: Leaving. 20:26 (quit) jacius: Quit: Leaving 20:38 (quit) bluezenix: Ping timeout: 244 seconds 20:43 danking: shawnps, stamourv: So there's this https://gist.github.com/2728373 20:43 danking: But that's not quite right because the constructor has to be make-name rather than just name. 20:43 danking: Also, the syntax for specifying default values is a bit odd. 20:55 danking: stamourv: Where does #%kernel come from in collects/racket/private/kernstruct.rkt ? 21:07 (quit) djcb: Read error: Connection reset by peer 21:08 (join) wtetzner 21:09 (join) djcb 21:09 (quit) wtetzner: Client Quit 21:09 (join) wtetzner_ 21:09 (nick) wtetzner_ -> wtetzner 21:27 (quit) jesyspa: Quit: leaving 21:31 danking: shawnps, stamourv: yet another hack, but this one with nicer syntax: https://gist.github.com/2728497 21:35 (quit) djcb: Read error: Connection reset by peer 21:37 (join) djcb 21:44 (quit) Shambles_: Quit: Leaving. 21:44 (join) zyoung 21:44 (join) jyc 21:44 (quit) zyoung: Remote host closed the connection 21:45 (join) Shambles_ 21:49 (quit) masm: Quit: Leaving. 21:55 (join) zyoung 22:04 (join) Fare 22:05 (quit) djcb: Read error: Connection reset by peer 22:06 (join) djcb 22:12 (quit) Fare: Ping timeout: 246 seconds 22:16 (join) cdidd 22:25 (quit) dented42: Ping timeout: 244 seconds 22:26 (join) dented42 22:36 (quit) djcb: Read error: Connection reset by peer 22:37 (join) djcb 22:40 (quit) dented42: Ping timeout: 252 seconds 22:54 (quit) zyoung: Remote host closed the connection 23:14 (join) dented42 23:30 (join) lcc 23:32 (join) ambrosebs 23:35 (join) wtetzner 23:39 (join) mithos28 23:39 mithos28: Is there a way to use raco make to compile with errortrace? 23:56 (quit) lcc: Quit: ERC Version 5.3 (IRC client for Emacs)