00:23 (quit) x711Li: Read error: Connection reset by peer 02:20 (nick) Gertm` -> Gertm 02:41 (join) masm 02:44 (quit) yoklov: Quit: Leaving. 02:47 (quit) jao: Ping timeout: 244 seconds 03:03 (join) jao 03:09 (quit) dmac: Ping timeout: 260 seconds 03:10 (quit) jao: Ping timeout: 240 seconds 04:06 (quit) jonrafkind: Ping timeout: 245 seconds 04:08 (quit) sethalves: Ping timeout: 255 seconds 04:18 (quit) ohwow: Ping timeout: 258 seconds 04:18 (join) ohwow 04:22 (join) sethalves 04:23 (quit) _danb_: Quit: ERC Version 5.3 (IRC client for Emacs) 04:33 (join) MayDaniel 04:41 (quit) masm: Ping timeout: 255 seconds 04:51 (quit) mithos28: Quit: mithos28 05:07 (join) masm 05:11 (quit) MayDaniel: Read error: Connection reset by peer 06:50 (join) bmp 06:51 (join) mceier 06:54 (quit) bmp: Client Quit 07:47 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/QkGopA 07:47 RacketCommitBot: [racket/master] Synch German string constants with latest. - Mike Sperber 08:04 (quit) acarrico: Ping timeout: 260 seconds 08:04 (join) bluezenix 09:38 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/XnkjQg 09:38 RacketCommitBot: [racket/master] adjust initial value to be something less likely to cause problems - Robby Findler 09:39 (join) yoklov 09:48 (join) polann 09:58 (quit) yoklov: Quit: Leaving. 10:18 (join) MayDaniel 10:41 (join) yoklov 10:52 (join) Burlingk 11:14 (quit) MayDaniel: Read error: Connection reset by peer 11:21 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/XGq76w 11:21 RacketCommitBot: [racket/master] adjst check syntax so that it only clears out style changes when clicking 'Run' - Robby Findler 11:51 (quit) bluezenix: Quit: Leaving. 11:59 yoklov: Hm, opening files on the mac in drracket doesn't work unless you do it from within drracket. 12:00 bremner: yoklov: I can't help, except to point out I could not parse your statement. 12:00 bremner: oh, you mean double-clicking or using "open"? 12:00 yoklov: double-clicking does not work, nor does right click -> open with drracket 12:01 yoklov: this is on 5.1.3.10 on lion 12:01 bremner: hopefully some mac using person will read your question and reply 12:02 yoklov: running 'drracket filename' from the command line doesnt work either 12:02 yoklov: it seems like a bug, 12:02 yoklov: but maybe it's just me. 12:02 bremner: it works on Linux 12:02 yoklov: yeah 12:02 yoklov: my desktop has linux 12:03 yoklov: drracket in linux is far more pleasant than on mac 12:03 bremner: so much for "Mac is really Unix" ;) 12:03 yoklov: haha, yeah. 12:04 yoklov: lately i've been using emacs over drracket on my laptop, which runs mac, but when i'm doing grading, students often submit files in the gracket editor format which requires drracket 12:05 yoklov: its not terribly hard to open files within drracket though so i don't really care that much 12:08 (join) bluezenix 12:15 (join) jonrafkind 12:39 Gertm: To search for a character in a string (get the index of it) what would be the idiomatic way? Or am I thinking about this the wrong way? Been stuck in imperative/oo for a while. 12:39 (join) MayDaniel 12:40 bremner: Gertm: there is probably a function for that 12:40 Gertm: So how would I go about finding that function? 12:40 bremner: docs.racket-lang.org 12:41 Gertm: Heh ok. I'll search a little longer. 12:42 bremner: you might need srfi/13 12:42 bremner: string-index 12:48 (join) dnolen 12:52 bremner: Gertm: http://paste.debian.net/133673/ 12:55 (quit) chturne: 12:57 (join) braveryedo 12:57 braveryedo: hello 12:57 Gertm: Thanks bremner. 12:58 braveryedo: anybody here have the HTDP textbook? 12:58 bremner: braveryedo: you know it is on-line right? 12:58 braveryedo: yeah 12:59 braveryedo: i have the book infront of me 12:59 braveryedo: was wondering if someone could help xD 12:59 braveryedo: with a problem 12:59 bremner: well, just ask, and see what happens. 13:00 braveryedo: mmm, so on page 56, exercise 6.2.2 wants a clear-bulb function to be written, i was wondering how to specify what shape to clear if you had more than one on the scene 13:02 braveryedo: oh lol just read page 55 over again 13:02 braveryedo: he answer is on there T_T 13:02 braveryedo: my fail 13:02 bremner: glad we could help ;) 13:02 braveryedo: lol thanks 13:07 (quit) braveryedo: Ping timeout: 252 seconds 13:20 (join) mithos28 13:24 (quit) MayDaniel: Read error: Connection reset by peer 13:34 (quit) bluezenix: Quit: Leaving. 13:35 (join) bluezenix 13:57 (join) jao 13:58 (join) Blkt 13:59 Blkt: good evening everyone 14:14 (join) anRch 14:39 (quit) anRch: Read error: Connection timed out 14:40 (join) anRch 14:54 (quit) Demosthenes: Ping timeout: 258 seconds 14:56 (join) Demosthenes 14:58 (quit) anRch: Read error: Connection timed out 14:58 (join) anRch 15:13 (nick) samth_away -> samth 15:14 samth: mithos28: in drracket, printing syntax objects produces a more useful result 15:14 samth: also, the step before you get the error from `unsyntax' should show up in the macro stepper 15:16 (join) jrslepak 15:18 (quit) jao: Ping timeout: 260 seconds 15:19 mithos28: samth: drracket is nicer, but still does not show enough, and the macro stepper expands either way too much or not enough 15:23 (quit) anRch: Quit: anRch 15:24 samth: mithos28: an awful lot of the time, you need to just turn of macro hiding in the macro stepper, and work that way 15:26 mithos28: which doesn't work well when you need to expand more than 1 syntax case, because that gets fully expanded, and if you don't expand that, it doesn't like expanding the macro that is implemented with syntax case 15:32 samth: mithos28: i tend to just deal with the huge expansions 15:34 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/uhzJpg 15:34 RacketCommitBot: [racket/master] add get-default-percentages to panel:dragable and then add a dragable panel - Robby Findler 15:35 mithos28: i sometimes can deal with it, but other times it is easier to go back to printf 15:36 mithos28: I think I just got my macro to work, with a judicious use of datum->syntax 15:41 mithos28: is (datum->syntax ctx stx) supposed to transfer the context information over to stx or use stx's context if it is a syntax object 15:43 samth: mithos28: the latter 15:44 samth: datum->syntax is the identity on syntax objects 16:30 (join) Blkt` 16:32 (quit) Blkt: Ping timeout: 252 seconds 16:34 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/1i3l2w 16:34 RacketCommitBot: [racket/master] syntax/parse: fix check-literals code (references to disappearing names) - Ryan Culpepper 16:34 RacketCommitBot: [racket/master] added functions, docs for show-dependencies - Ryan Culpepper 16:37 (quit) polann: Quit: Lost terminal 16:50 (quit) yoklov: Quit: Leaving. 16:50 (nick) Blkt` -> Blkt 17:01 (quit) poet: Quit: leaving 17:12 (join) Blkt` 17:15 (quit) Blkt: Ping timeout: 260 seconds 17:18 (quit) bluezenix: Ping timeout: 252 seconds 17:19 (quit) mithos28: Quit: mithos28 17:31 (quit) Demosthenes: Quit: leaving 17:45 (quit) karswell: Ping timeout: 256 seconds 17:50 (join) xharkonnen 17:51 (quit) jonrafkind: Ping timeout: 260 seconds 18:01 (join) karswell 18:11 (join) mithos28 18:18 wtetzner: is there a good way to test if my finalizer is being called? 18:19 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/OSBVmQ 18:19 RacketCommitBot: [racket/master] fixed another path/string bug in the autosave recovery dialog - Robby Findler 18:20 (quit) mattmight: *.net *.split 18:20 (quit) brainproxy: *.net *.split 18:20 samth: wtetzner: print something in your finalizer 18:21 (quit) Gertm: *.net *.split 18:21 samth: or use logging, to avoid output buffering issues 18:22 wtetzner: hmm, it seems like it's not being called 18:23 (join) brainproxy 18:23 (join) mattmight 18:23 (join) Gertm 18:25 (quit) Blkt`: Read error: Operation timed out 18:26 (join) yoklov 18:26 (join) Blkt` 18:29 (quit) yoklov: Client Quit 18:33 wtetzner: should this be printing "finalizing"? http://pastebin.com/JeCCWqf9 18:33 wtetzner: or am i missing something? 18:33 wtetzner: maybe it's just not being collected yet? 18:38 samth: wtetzner: try this: http://pastebin.com/WitcyCX3 18:39 (quit) mceier: Quit: leaving 18:41 (quit) mithos28: Quit: mithos28 18:44 (join) mithos28 18:47 wtetzner: samth: thanks, that worked 18:48 wtetzner: so the finalizer is probably fine on my smaller object, it's just not being collected yet 18:50 (join) yoklov 18:53 samth: wtetzner: yes, and probably not ever 18:54 wtetzner: hmm, ok 19:01 (quit) masm: Quit: Leaving. 19:01 wtetzner: samth: actually, it works with (make-vector 1) 19:01 wtetzner: is there something special about cons cells? 19:07 tauntaun: /query mightbyte 19:07 tauntaun: argh :) 19:07 mithos28: wtetzner: are you using quote like you were in your first example? 19:08 wtetzner: mithos28: yes 19:08 mithos28: because then it is stored as a constant in the module IIRC 19:08 wtetzner: ah, so if i use (list ...) it works 19:08 wtetzner: cool 19:08 mithos28: it should 19:09 wtetzner: yep, if i do (list 1) it works 19:09 wtetzner: thanks 19:15 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/W3pqUg 19:15 RacketCommitBot: [racket/master] fix my stupidity - Robby Findler 19:29 (quit) Blkt`: Quit: going to bed... 19:53 (nick) samth -> samth_away 20:26 (join) acarrico 20:49 mithos28: can any one with really good macro-fu explain the output of this program to me? 20:49 mithos28: https://gist.github.com/1258195 20:49 mithos28: I'm getting 5 4 4 4. But I don't understand why the first one behaves differently. 20:49 (quit) xharkonnen: Ping timeout: 248 seconds 20:56 (join) _danb_ 21:06 wtetzner: mithos28: i get the same results 21:06 wtetzner: and the first two look the same after expanding with the macro stepper 21:06 (quit) dnolen: Quit: dnolen 21:08 mithos28: The first two are the most interesting ones, because I'm not sure why making it an expression should change anything 21:11 wtetzner: the only think i can think of is that #%expression changes the lexical data on the syntax 21:12 (quit) acarrico: Quit: Leaving. 21:13 (nick) askhader -> qxi_ 21:13 mithos28: I think it is actually a bug in internal definitions and that the remaining forms are not enriched with the changed five binding until after the partial expansion is done 21:16 (join) bmp 21:22 (join) grettke 21:37 (quit) jrslepak: Ping timeout: 248 seconds 21:42 (join) jrslepak 21:53 (join) dmac 22:15 (join) dnolen 22:35 (quit) dmac: Ping timeout: 244 seconds 22:50 (quit) bmp: Quit: Bye! 22:55 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/FCV-hA 22:55 RacketCommitBot: [racket/master] Fixed error messages, added tests for type errors. - Stephen Bloch 23:08 (nick) qxi_ -> askhader 23:36 (quit) jrslepak: Quit: Leaving