00:10 (join) mithos28 00:13 (quit) Kaylin: Quit: Leaving. 00:14 (join) Kaylin 00:21 (join) vu3rdd 00:21 (quit) vu3rdd: Changing host 00:21 (join) vu3rdd 00:38 (quit) close-paren: Ping timeout: 240 seconds 00:39 (join) close-paren 00:39 (join) close-paren` 00:40 (quit) yoklov: Quit: computer sleeping 00:45 (join) yoklov 00:45 (quit) ozzloy: Ping timeout: 246 seconds 00:47 (join) ozzloy 00:47 (quit) ozzloy: Changing host 00:47 (join) ozzloy 00:47 (quit) yoklov: Client Quit 00:58 (join) crundar 01:01 (quit) mceier: Quit: leaving 01:03 (join) yoklov 01:13 (quit) Kaylin: Read error: Connection reset by peer 01:22 (quit) yoklov: Ping timeout: 240 seconds 01:31 (quit) jeapostrophe: Ping timeout: 245 seconds 01:41 (join) jonrafkind 01:57 (quit) stchang: Read error: Operation timed out 01:58 mithos28: is there a way to do non greedy matching in syntax parse? 02:00 (join) mceier 02:00 (join) stchang 02:02 jonrafkind: you mean like (x ... z:number) and you want the x's to stop matching before it hits a number? 02:02 jonrafkind: you have to do like x:not-a-number ... z:number 02:02 mithos28: yeah, I found ~not which seems to allow me to do what I want 02:02 jonrafkind: oh 02:02 mithos28: it makes the :not-a-number part easy 02:04 jonrafkind: can you show how you used it 02:05 (quit) jackhammer2022: Quit: Textual IRC Client: http://www.textualapp.com/ 02:05 jonrafkind: im guessing.. (~and (~not number) x) ... z:number 02:05 mithos28: yeah 02:05 jonrafkind: ok, i do that with match sometimes 02:05 mithos28: (~and parse-option (~not (pattern . args))) 02:06 mithos28: Using syntax-parse to make my own define-syntax-class like thing 02:21 (join) gciolli 02:23 (quit) oskarth: Quit: Leaving. 02:24 (join) veer 02:32 (join) soegaard 02:33 (quit) gciolli: Quit: Leaving. 02:34 (quit) mithos28: Remote host closed the connection 02:35 (join) mithos28 02:38 (quit) soegaard: Read error: Connection reset by peer 02:38 (join) soegaard_ 02:43 (join) strashilol 02:43 strashilol: hi all 02:43 mithos28: hello strashilol 02:44 strashilol: i have a small problem with racket, maybe you could help me out 02:44 strashilol: i've googled 02:44 strashilol: already :) 02:44 mithos28: Cannot help you till you explain it 02:44 strashilol: sure 02:44 strashilol: the thing is, i compile the current whalesong (1-18) 02:44 strashilol: first, it compiles only under racket 5.2.1 02:45 strashilol: all the other versions -> i get compilation errors 02:45 strashilol: second, after compiling under both ubuntu and win7 i get the same result 02:45 strashilol: whalesong says it "doesn't know how to compile" the language 02:46 strashilol: the language in question may be racket, racket\base, racket\gui etc 02:46 strashilol: am i doing smth wrong? 02:46 mithos28: No. So whalesong is very particular to racket versions because it works at the bytecode level, which is why it only works for 5.2.1. 02:47 mithos28: Also it cannot compile those languages, it can only compile very minimal languages 02:47 strashilol: understood, thanks a lot 02:47 mithos28: #lang planet dyoo/whalesong 02:47 strashilol: but i thought racket\base is quite minimal?.. 02:47 strashilol: ooook 02:47 mithos28: that is the lang line you want 02:48 mithos28: racket/base is very minimal, but not enough 02:48 strashilol: thank you a great deal, mithos28! 02:48 mithos28: no problem 02:50 (join) djcoin 02:55 (quit) strashilol: Ping timeout: 245 seconds 03:06 (join) hkBst 03:06 (quit) hkBst: Changing host 03:06 (join) hkBst 03:36 (join) gc329915 03:51 (quit) jonrafkind: Ping timeout: 246 seconds 03:57 (join) bitonic 03:57 (quit) mithos28: Quit: mithos28 04:02 (join) noelw 04:18 (quit) bjz: Quit: Leaving... 04:21 (quit) soegaard_: Quit: soegaard_ 04:36 (quit) close-paren: Quit: close-paren 05:01 (join) jesyspa 05:16 (join) Jeanne-Kamikaze 05:35 (quit) bitonic: Remote host closed the connection 05:46 (join) bitonic 06:03 (quit) crundar: Ping timeout: 260 seconds 06:33 (join) MayDaniel 06:43 (join) masm 07:10 (join) oskarth 07:21 (quit) oskarth: Quit: Leaving. 07:40 (join) crundar 08:07 (join) kanak 08:21 (join) getpwnam 08:22 (join) hash_table 08:25 (join) shiftingcontrol 08:27 shiftingcontrol: well, this is first time I am using racket, did some basic stuffs, http://docs.racket-lang.org/guide/syntax-overview.html#(part._.Conditionals_with_if__and__or__and_cond), couldn't get the difference between let and let* any better examples ? 08:33 (quit) vu3rdd: Ping timeout: 245 seconds 08:42 (quit) bitonic: Ping timeout: 256 seconds 08:50 (quit) veer: Quit: Leaving 08:51 (join) jeapostrophe 08:51 (quit) jeapostrophe: Changing host 08:51 (join) jeapostrophe 08:52 (join) bitonic 09:01 (join) ramrunne1 09:03 (quit) ramrunner: Ping timeout: 240 seconds 09:12 (join) yoklov 09:18 (quit) crundar: Ping timeout: 265 seconds 09:21 (join) neilv 09:22 (quit) hash_table: Ping timeout: 240 seconds 09:22 (quit) getpwnam: Ping timeout: 240 seconds 09:27 (quit) jeapostrophe: Ping timeout: 240 seconds 09:28 (join) crundar 09:33 (join) mye 09:41 (quit) yoklov: Quit: computer sleeping 09:54 (quit) neilv: Quit: Leaving 10:02 (quit) mceier: Quit: leaving 10:03 (quit) shiftingcontrol: Ping timeout: 246 seconds 10:04 (join) neilv 10:05 neilv: anyone used the db collection for performance-sensitive stuff? 10:06 neilv: i might be seeing strange behavior with load-testing 10:08 noelw: What kinda strange behaviour? 10:08 noelw: In Ryan's old DB driver it could deadlock 10:10 (join) jeapostrophe 10:10 (quit) jeapostrophe: Changing host 10:10 (join) jeapostrophe 10:11 neilv: you know how there's those conveniences like "query-list", which assume would be faster than doing it yourself, because they could do at least a little optimization and avoid a copy or something? 10:12 noelw: yeah...? 10:12 neilv: i've been converting this old database library to use those, one-by-one, and doing load-testing runs after each one. and each time, the numbers get larger rather than smaller 10:15 neilv: i guess i didn't restart postgresql, but with this duration of load, any leftover caches or whatnot in postgresql should be in the noise, i'd think 10:15 (join) shiftingcontrol 10:15 neilv: noelw: deadlock when it was spgsql, or still once it became db/postgresql? 10:16 noelw: spgsql 10:17 (join) RacketCommitBot 10:17 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/uMEBNA 10:17 RacketCommitBot: [racket/master] win32 racket/gui: fix decoding of system font name - Matthew Flatt 10:17 (part) RacketCommitBot 10:25 neilv: i don't see anything suspicious for query-list in the source code 10:26 neilv: nor for query-rows, since not using the grouping features 10:26 (join) vu3rdd 10:26 (quit) vu3rdd: Changing host 10:26 (join) vu3rdd 10:28 neilv: nor for the ones the get 1 or 0,1 rows or values 10:31 neilv: noelw: any more info on the spgsql deadlock? i'm not finding it on web 10:31 (join) oskarth 10:33 noelw: If you encountered it, you would know -- the driver would just be wedged 10:33 (join) anRch 10:34 noelw: As in, no further queries would be processed 10:35 noelw: I think we told Ryan about it, and I imagine he fixed the error in the new DB drivers 10:35 neilv: errors, or blocking? 10:36 neilv: ok, thanks for the info. will test it extra hard 10:36 noelw: Blocks 10:37 neilv: whew. definitely not hit that yet 10:38 (quit) jeapostrophe: Ping timeout: 240 seconds 10:40 (quit) shiftingcontrol: Quit: Ex-Chat 10:46 (join) getpwnam 10:46 (join) hash_table 10:47 (join) crundar__ 10:50 (quit) crundar: Ping timeout: 250 seconds 10:59 (quit) hkBst: Quit: Konversation terminated! 10:59 (quit) neilv: Quit: Leaving 11:00 (join) soegaard 11:05 (quit) asumu: Remote host closed the connection 11:05 (join) asumu 11:07 (quit) sstrickl: Quit: sstrickl 11:10 (quit) ramrunne1: Quit: brb 11:10 (quit) bitonic: Ping timeout: 240 seconds 11:12 (join) neilv 11:16 (join) mceier 11:17 (quit) crundar__: Ping timeout: 250 seconds 11:19 (join) bitonic 11:20 (join) crundar 11:21 neilv: the statistical profiler is a godsend 11:22 (quit) anRch: Quit: anRch 11:22 neilv: i have it hooked up so that it can be turned on at runtime in this web app. it then puts a profiling report for a request and html page generation... to the bottom of the html page 11:25 (quit) oskarth: Quit: Leaving. 11:29 (quit) jrslepak: Quit: What happened to Systems A through E? 11:30 (join) crundar__ 11:31 noelw: What have you found? 11:32 (join) bjz 11:33 neilv: my manual implementation of query-list was inexplicably faster than query-list. so i decided that load testing was not the place to be measuring micro-optimizations. switching to profiling-directed optimization is a relief 11:33 (quit) crundar: Ping timeout: 248 seconds 11:33 neilv: normally, load-testing gives a better holistic picture 11:36 (quit) vu3rdd: Remote host closed the connection 11:43 (quit) close-paren`: Ping timeout: 276 seconds 11:44 (join) close-paren 11:46 (join) jao 11:46 (quit) jao: Changing host 11:46 (join) jao 11:48 neilv: ok, this request handler spends 45% to 60% of its time in db parse-server-message when there's no db contention 11:49 (join) sstrickl 11:52 (join) sstrickl_ 11:52 (quit) sstrickl: Read error: Connection reset by peer 11:52 (nick) sstrickl_ -> sstrickl 11:53 (join) RacketCommitBot 11:53 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/Zfe_Vw 11:53 RacketCommitBot: [racket/master] racket/draw: fix `set-clipping-rect' in `record-dc%' - Matthew Flatt 11:53 (part) RacketCommitBot 11:53 neilv: i think that's mostly waiting on the database. it's pretty efficient 11:54 neilv: the only thing that looks a little suspicious is the cond of regexp tests 11:57 (join) anRch 11:58 (quit) soegaard: Quit: soegaard 12:03 (quit) spanner: Ping timeout: 268 seconds 12:04 (join) mithos28 12:05 (join) spanner 12:06 (join) jrslepak 12:06 (quit) close-paren: Ping timeout: 246 seconds 12:07 (join) close-paren 12:08 (quit) noelw: Quit: noelw 12:22 (quit) anRch: Quit: anRch 12:25 (join) jonrafkind 12:26 (join) yoklov 12:32 (quit) bjz: Quit: Bye! 12:36 (join) water_sheep 12:36 water_sheep: hello 12:44 (join) jeapostrophe 12:44 (quit) jeapostrophe: Changing host 12:44 (join) jeapostrophe 12:49 water_sheep: I am trying out racket gui drawing and I am trying to draw outside paint-callback function but it doesn't work. I also want to try animating later. http://pastebin.com/PUmYR8Lr 12:50 water_sheep: I just modified example in racket drawing guide slightly, but it doesn't work. 12:50 (quit) yoklov: Quit: computer sleeping 12:51 water_sheep: I would appreciate if someone could take a look 12:54 (join) nilyaK 12:55 (join) mithos28_ 12:56 (quit) Jeanne-Kamikaze: Ping timeout: 240 seconds 12:58 (quit) mithos28: Ping timeout: 246 seconds 12:58 (nick) mithos28_ -> mithos28 13:08 (join) Jeanne-Kamikaze 13:10 (quit) bitonic: Remote host closed the connection 13:17 (join) juanfra 13:18 jonrafkind: is there a way to print stuff so that \n turns into a real new line but strings are printed with surrounding " on them? 13:18 jonrafkind: I already tried using display/write/print.. 13:19 jonrafkind: im trying to print some java code so it needs to be syntactically correct 13:21 (join) close-paren` 13:23 neilv: the racket printer has a lot of parameters. if you need to write java code reliably, you might just want to write it manually rather than use the racket printer 13:24 neilv: so, write-string or write-bytes 13:25 (join) jcrigby 13:27 jonrafkind: ok maybe the only solution is to write it to a file and then cat it back out 13:27 jonrafkind: if I just use write then I see a bunch of \n's 13:27 neilv: you mean in drracket? 13:28 neilv: write is part of the racket printer i was talking about 13:28 jonrafkind: just the command line 13:28 neilv: i think write-string will work for you 13:28 jonrafkind: ok 13:36 (join) jackhammer2022 13:37 (join) bitonic 13:46 (join) anRch 13:55 water_sheep: anyone has an idea why my thing doesn't work? 13:58 (quit) asumu: Ping timeout: 260 seconds 13:59 water_sheep: it doesn't report any error, but it doesn't show text I want it to show. I probably screwed refreshing or drawing order or something but I don't get what 14:03 (join) soegaard 14:05 (join) asumu 14:06 (join) RacketCommitBot 14:06 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/3Jlw5A 14:06 RacketCommitBot: [racket/master] Move `Ephemeronof` documentation. - Sam Tobin-Hochstadt 14:06 (part) RacketCommitBot 14:09 (quit) jeapostrophe: Ping timeout: 268 seconds 14:13 (quit) crundar__: Ping timeout: 250 seconds 14:29 (quit) gc329915: Read error: Connection reset by peer 14:53 (quit) anRch: Quit: anRch 15:03 (quit) nilyaK: Read error: Connection reset by peer 15:04 asumu: water_sheep: the issue here is that your drawing is being erased by a window event. 15:04 asumu: You need to delay the drawing or do it in the callback. 15:04 asumu: Since a resize will erase it, for example. 15:04 water_sheep: okay 15:04 asumu: (if you do your red drawing at the REPL after the window is shown, you'll get the red text) 15:04 water_sheep: I noticed 15:05 asumu: There's some discussion of this at the top of documentation for canvas%. 15:17 (quit) soegaard: Quit: soegaard 15:19 water_sheep: about doing it in the callback: If I want to change drawing from outside callback, how do I do that? Can callback function detect outside input at all? I am not sure how scoping works here 15:20 water_sheep: callback function has thow RGUMENTS, CANVAS AND DC. 15:21 water_sheep: *since callback function has two arguments, canvas and dc 15:21 water_sheep: I really need to check spelling more 15:21 water_sheep: I am something of scheme noob 15:22 (join) jeapostrophe 15:22 (quit) jeapostrophe: Changing host 15:22 (join) jeapostrophe 15:23 water_sheep: thanks for answer, by the way 15:37 (join) Shvillr 15:37 (quit) Shviller: Disconnected by services 15:37 (nick) Shvillr -> Shviller 15:37 (join) Shvillr 15:39 (quit) Shvillr_: Ping timeout: 265 seconds 15:39 water_sheep: nevermind, I figured out. Outside variables are visible 15:50 (quit) jonrafkind: Ping timeout: 272 seconds 15:58 asumu: water_sheep: yeah, scoping in classes works like anything else in the language. 15:58 asumu: They are just expressions. 15:58 (quit) kanak: Ping timeout: 245 seconds 15:59 asumu: Also, DrRacket can show you the scope explicitly if you turn on "online check syntax" or press the check syntax button. 15:59 (quit) cdidd: Read error: Connection reset by peer 16:00 water_sheep: and what are advantages and disadvanatages of drawing outside callback? 16:02 (join) cdidd 16:07 water_sheep: check syntax thingy is cool, by the way 16:09 (quit) jeapostrophe: Ping timeout: 276 seconds 16:13 (join) frewsxcv 16:13 (part) frewsxcv: "WeeChat 0.3.7" 16:22 (quit) Jeanne-Kamikaze: Quit: Did you hear that ? 16:25 (join) jonrafkind 16:26 (quit) water_sheep: Ping timeout: 265 seconds 16:29 (join) yoklov 16:50 (quit) jesyspa: Quit: leaving 16:55 (quit) bitonic: Ping timeout: 252 seconds 17:14 (join) bjz 17:20 (quit) hash_table: Ping timeout: 276 seconds 17:20 (quit) getpwnam: Ping timeout: 276 seconds 17:24 (quit) bjz: Quit: Bye! 17:29 (join) bjz 17:31 (quit) cdidd: Read error: Connection reset by peer 17:31 (join) cdidd 17:34 (join) Kaylin 17:38 (quit) cdidd: Remote host closed the connection 17:39 (join) cdidd 17:43 neilv: i see "(planet dherman/memoize)". currently no memoize built-in? 17:43 (quit) djcoin: Quit: WeeChat 0.3.2 17:45 jonrafkind: I believe so 17:46 jonrafkind: I mean what you said is correct, afaik 17:50 (quit) Kaylin: Read error: Connection reset by peer 17:51 (quit) jonrafkind: Ping timeout: 240 seconds 17:52 (quit) cdidd: Ping timeout: 248 seconds 17:56 neilv: dherman/memoize is missing 2 features i need. i think i'll do a one-off for now, and then later make a planet package 17:57 (quit) mye: Remote host closed the connection 17:57 (join) mye 18:08 (join) getpwnam 18:09 (join) hash_table 18:10 samth: neilv: it's up on github 18:10 samth: so you should just fork it 18:10 samth: https://github.com/dherman/memoize.rkt 18:12 neilv: thanks, but the 2 features mean i can't reuse hardly any of it 18:12 neilv: bbl 18:12 (quit) neilv: Quit: Leaving 18:21 (quit) jrslepak: Quit: What happened to Systems A through E? 18:45 (join) jeapostrophe 18:45 (quit) jeapostrophe: Changing host 18:45 (join) jeapostrophe 18:47 (quit) MayDaniel: Read error: Connection reset by peer 19:02 (quit) mye: Quit: mye 19:12 (quit) Gertm: Ping timeout: 265 seconds 19:13 (join) Gertm 19:24 (join) miles23 19:25 miles23: Q: I installed latest racket from source (Ubuntu Karmic) to /usr/local/racket - install seemed to go ok but when I do racket -v it returns no output (nothing) - Is this perhaps the wrong version to use for Ubuntu 12.04 ? 19:29 (nick) miles23 -> milezteg 19:30 (join) duckinator 19:34 (join) Kaylin 19:37 samth: milezteg: what if you just do 'racket' 19:46 (join) jrslepak 19:48 milezteg: solved by using racket-5.2.1-bin-x86_64-linux-f14.sh 19:48 milezteg: instead of the Ubuntu build 19:56 (quit) jeapostrophe: Ping timeout: 240 seconds 20:24 (quit) yoklov: Quit: computer sleeping 20:26 (join) RacketCommitBot 20:26 RacketCommitBot: [racket] plt pushed 3 new commits to master: http://git.io/vGSAdQ 20:26 RacketCommitBot: [racket/master] add the ability to specify #:parent to struct/dc (and fix struct/c to use it) - Robby Findler 20:26 RacketCommitBot: [racket/master] add a check that struct/c can find all of the selectors in the current scope - Robby Findler 20:26 RacketCommitBot: [racket/master] adjust struct/dc so error say "struct/dc" not "-struct/dc" - Robby Findler 20:26 (part) RacketCommitBot 20:27 (quit) close-paren`: Quit: close-paren` 20:38 (join) yoklov 21:00 (join) crundar 21:00 (quit) yoklov: Quit: computer sleeping 21:01 (join) jesyspa 21:04 (join) yoklov 21:18 (quit) yoklov: Quit: computer sleeping 21:31 (join) yoklov 21:41 (nick) samth -> samth_away 21:43 (join) jeapostrophe 21:43 (quit) jeapostrophe: Changing host 21:43 (join) jeapostrophe 21:54 (quit) bjz: Quit: Leaving... 22:13 (quit) jesyspa: Quit: leaving 22:22 (quit) yoklov: Quit: computer sleeping 22:25 (quit) jeapostrophe: Ping timeout: 240 seconds 22:26 (join) bjz 22:27 (join) RacketCommitBot 22:27 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/Oo7CSw 22:27 RacketCommitBot: [racket/master] fix the computation of the minimum width for the blue boxes - Robby Findler 22:27 (part) RacketCommitBot 22:34 (join) yoklov 22:40 (join) jesyspa 22:42 (join) RacketCommitBot 22:42 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/d90vLA 22:42 RacketCommitBot: [racket/master] rename contract-gui.rkt to blueboxes-gui.rkt - Robby Findler 22:42 (part) RacketCommitBot 23:09 (join) jonrafkind 23:26 (join) mithos28 23:26 (quit) Nisstyre: Quit: Leaving 23:27 (join) Nisstyre_ 23:47 (join) vu3rdd 23:47 (quit) vu3rdd: Changing host 23:47 (join) vu3rdd 23:57 (quit) yoklov: Quit: computer sleeping 23:57 (quit) Kaylin: Quit: Leaving. 23:58 (join) Kaylin