00:26 (join) _danb_ 00:41 (join) Kaylin 00:53 (quit) chandler: Ping timeout: 252 seconds 00:56 (quit) jeapostrophe: Ping timeout: 248 seconds 01:06 (join) dented42 01:15 (join) chandler 01:15 (quit) chandler: Changing host 01:15 (join) chandler 01:16 (join) nilyaK 01:19 (quit) Kaylin: Quit: Leaving. 01:27 (quit) ssbr: Ping timeout: 260 seconds 01:31 (join) ssbr 01:43 (join) Shambles_1 01:45 (quit) Shambles_: Ping timeout: 265 seconds 02:29 (quit) yoklov: Quit: bye! 03:08 (quit) dsantiago: Quit: Leaving... 03:12 (join) dsantiago 03:17 (quit) Shambles_1: Ping timeout: 250 seconds 03:20 (quit) jrslepak: Ping timeout: 252 seconds 03:21 (join) Shambles_ 03:30 (join) Shambles_1 03:31 (join) nilyaK1 03:32 (quit) Shambles_: Ping timeout: 250 seconds 03:34 (quit) nilyaK: Ping timeout: 260 seconds 03:40 (join) Shambles_ 03:42 (quit) Shambles_1: Ping timeout: 252 seconds 03:46 (join) Shambles_1 03:46 (quit) Shambles_: Ping timeout: 246 seconds 03:58 (join) bitonic 03:59 (join) nilyaK 04:01 (quit) nilyaK1: Ping timeout: 260 seconds 04:05 (join) Shambles_ 04:07 (quit) Shambles_1: Ping timeout: 252 seconds 04:07 (join) antithesis 04:08 (join) Shambles_1 04:09 (quit) Shambles_: Ping timeout: 256 seconds 04:18 (quit) Shambles_1: Ping timeout: 276 seconds 04:21 (join) Shambles_ 04:48 (join) mceier 05:00 (quit) nilyaK: Quit: Leaving. 05:04 (quit) Shambles_: Quit: Leaving. 05:04 (join) Shambles_ 05:37 (quit) antithesis: Quit: yes leaving 05:39 (join) antithesis 06:55 (join) plobzik 06:57 (quit) plobzik: Read error: Connection reset by peer 06:59 (join) masm 07:12 (join) bluezenix 07:18 (join) jhemann_ 07:21 (quit) bluezenix: Quit: Leaving. 07:22 (quit) jhemann: Ping timeout: 255 seconds 07:25 (join) bluezenix 07:32 (join) RacketCommitBot 07:32 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/je_Rtw 07:32 RacketCommitBot: [racket/master] Previous commit mistakenly exposed a debugging function "show-cache". - Stephen Bloch 07:32 (part) RacketCommitBot 07:46 (quit) bitonic: Quit: WeeChat 0.3.7 08:18 (quit) bluezenix: Quit: Leaving. 08:22 (join) jrslepak 08:40 (join) flying_rhino 08:46 (join) jeapostrophe 09:06 (join) anRch 09:22 (quit) karswell_: Remote host closed the connection 09:26 (join) Shvillr_ 09:26 (nick) Shvillr_ -> Shviller 09:33 (join) karswell 09:35 (quit) jeapostrophe: Remote host closed the connection 09:36 (join) jeapostrophe 09:40 (join) bitonic 10:03 (join) sharkbird 10:04 (quit) anRch: Quit: anRch 10:09 (quit) em: Ping timeout: 260 seconds 10:11 (join) em 10:52 (join) grettke 10:59 (join) Laurine 11:00 (part) Laurine 11:34 (join) Cryovat 11:34 Cryovat: Hello 11:34 Cryovat: Any OpenGL wizards around? 11:34 Cryovat: Decided to take the plunge, but things are a bit embarassing 11:34 Cryovat: http://i.imgur.com/fxhYt.png 11:35 Cryovat: My rectangle is not exactly... fabulous :/ 11:35 grettke: not fabulous, but rather it is super 11:35 (quit) flying_rhino: Ping timeout: 246 seconds 11:36 Cryovat: I'm trying to use glDrawArrays and GL_LINE_LOOP, but for some reason, it insists on there being an extra point in the corner :| 11:38 Cryovat: Ok, never mind 11:38 Cryovat: It was an embarassing newbie mistake 11:42 (quit) Cryovat: 11:42 (join) Cryovat 11:42 Cryovat: Damn, wrong button 11:50 (join) kudkudyak 11:59 (join) bluezenix 12:01 (join) jonrafkind 12:01 (quit) jonrafkind: Changing host 12:01 (join) jonrafkind 12:11 otterdam: Nobody ever suspects the point at 0, 0 12:27 (join) moquo 12:27 (quit) grettke: Quit: Leaving 12:38 (join) mithos28 12:50 (quit) jeapostrophe: Ping timeout: 276 seconds 13:06 (quit) bluezenix: Quit: Leaving. 13:15 (join) dnolen 13:16 (quit) _danb_: Ping timeout: 252 seconds 13:18 (join) bluezenix 13:24 (join) RacketCommitBot 13:24 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/4X5O7w 13:24 RacketCommitBot: [racket/master] scribble: change Latex rendering of empty hidden part titles - Matthew Flatt 13:24 RacketCommitBot: [racket/master] scribble: for Latex, pick tt encoding of <, >, and | explicitly - Matthew Flatt 13:24 (part) RacketCommitBot 13:41 (quit) bitonic: Quit: WeeChat 0.3.7 13:43 (quit) kudkudyak: Remote host closed the connection 13:49 (join) bitonic 14:38 (join) dzhus 14:44 (quit) dzhus: Remote host closed the connection 14:45 (join) dzhus 15:29 (quit) dnolen: Ping timeout: 260 seconds 15:34 (join) jao 15:34 (quit) jao: Changing host 15:34 (join) jao 15:47 (quit) moquo: Read error: Connection reset by peer 15:47 (join) dnolen 16:04 (quit) antithesis: Quit: yes leaving 16:10 (quit) jrslepak: Quit: This computer has gone to sleep 16:16 (join) Kaylin 16:17 (join) jeapostrophe 16:17 (quit) jeapostrophe: Changing host 16:17 (join) jeapostrophe 16:43 (join) yoklov 16:47 (join) antithesis 17:16 (part) fftb 17:38 (join) MayDaniel 17:44 (quit) bitonic: Quit: WeeChat 0.3.7 17:54 (join) jrslepak 17:59 (quit) dzhus: Ping timeout: 260 seconds 17:59 (quit) MayDaniel: 18:31 asumu: rudybot: (list-ref "I am not a list" 5) 18:31 rudybot: asumu: your typed/racket sandbox is ready 18:31 rudybot: asumu: error: #:1:0: Type Checker: Polymorphic function list-ref could not be applied to arguments: Argument 1: Expected: (Listof a) Given: String Argument 2: Expected: Integer Given: Positive-Byte in: (#%app list-ref (quote "I am not a list") (quote 5)) 18:31 asumu: Why am I in TR? 18:31 asumu: rudybot: init racket 18:31 rudybot: asumu: your sandbox is ready 18:31 asumu: rudybot: (list-ref "I am not a list" 5) 18:31 rudybot: asumu: error: list-ref: index 5 too large for list (not a proper list): "I am not a list" 18:31 asumu: ^ funny error message. 18:32 mithos28: (list-ref (cons 0 2) 0) 18:32 mithos28: rudybot: (list-ref (cons 0 2) 0) 18:32 rudybot: mithos28: your sandbox is ready 18:32 rudybot: mithos28: ; Value: 0 18:32 mithos28: rudybot: (list-ref (cons 0 2) 1) 18:32 rudybot: mithos28: error: list-ref: index 1 too large for list (not a proper list): '(0 . 2) 18:36 asumu: Bug report submitted. 18:36 mithos28: whats the bug? 18:36 asumu: Just that the error message is unhelpful. 18:37 asumu: The index isn't too large if it's not even a list. 18:37 mithos28: ah. 18:37 mithos28: it is a non-proper list (a very degenerate case), and list ref works on non-proper lists 18:39 asumu: Oh, that's true. But even index 0 doesn't work on it, so it's still not helpful. 18:40 asumu: Seems like it could differentiate errors between list?, pair?, and otherwise. 18:41 Cryovat: Help :( 18:41 Cryovat: I'm trying to inherit from the frame% class, and specifically augmenting the on-close function 18:42 Cryovat: Can't figure out the syntax for it though, and the documentation isn't being very helpfl 18:42 Cryovat: *helpful 18:45 asumu: Cryovat: syntax for augmenting a method? (define/augment (foo) ...) 18:45 asumu: (how did you try to find it and how did you get stuck? maybe we can improve it) 18:46 (quit) dnolen: Ping timeout: 244 seconds 18:46 Cryovat: Thanks, I figured it out 18:46 Cryovat: Basically, I didn't realize I was suppposed to use define/augment instead of augment 18:50 Cryovat: That particular part of the documentation feels like it could need a few more examples 18:50 Cryovat: But could be the past-midnight me missing crucial parts of the text 18:51 asumu: Cryovat: you can also use augment. 18:51 asumu: But then you do something like (class whatever% (super-new) (define (foo) ...) (augment foo)) 18:52 asumu: define/augment is a convenience macro that basically does theh above. 18:54 Cryovat: Ah, I see 18:54 Cryovat: There seems to be a frightening amount of macros at play when dealing with classes 18:56 (join) Fare 18:59 asumu: Cryovat: That's all of Racket. :) 19:09 Cryovat: I hope I'll be able to understand it all someday 19:13 (quit) mceier: Quit: leaving 19:19 (quit) bluezenix: Quit: Leaving. 19:26 (quit) yoklov: Quit: computer sleeping 19:40 (quit) Kaylin: Quit: Leaving. 20:00 (quit) masm: Quit: Leaving. 20:32 (join) yoklov 20:34 (join) Eliyak 20:39 (quit) Eliyak: Ping timeout: 245 seconds 20:41 (quit) jeapostrophe: Ping timeout: 248 seconds 20:50 (join) zyoung 20:58 (quit) zyoung: Remote host closed the connection 21:17 (join) zyoung 21:18 (quit) zyoung: Remote host closed the connection 21:48 (join) nilyaK 21:59 (join) zyoung 22:04 (quit) zyoung: Remote host closed the connection 22:06 (join) kvda 22:25 (join) zyoung 22:32 (quit) nilyaK: Quit: Leaving. 22:33 (join) Kaylin 22:34 (join) RacketCommitBot 22:34 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/wZ7Fpw 22:34 RacketCommitBot: [racket/master] add an example from Neil \bot to the discrete-histogram docs - Robby Findler 22:34 RacketCommitBot: [racket/master] Adjusted contract error messages to say given/produced appropriately - Robby Findler 22:34 (part) RacketCommitBot 22:45 Nisstyre: Is there a builtin way of doing this? http://codepad.org/gKxDGPin 22:45 (join) RacketCommitBot 22:45 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/2eYosQ 22:45 RacketCommitBot: [racket/master] adjust the unit contract tests for the new contract error messages - Robby Findler 22:45 (part) RacketCommitBot 22:47 (quit) jao: Ping timeout: 246 seconds 22:53 offby1: I think I've asked this before, but: is this a reasonable way to get an element from a set, when I don't care which element I get? (define (one-item-from-set s) (let/ec escape (for ([item (in-set s)]) (escape item)))) 22:53 offby1: I fear that the let/ec is expensive, but I can't think of any other way to do it 22:55 samth: offby1: for/first! 22:56 samth: rudybot: (for/first ([i (set 1 2 3)]) i) 22:56 rudybot: samth: your sandbox is ready 22:56 rudybot: samth: ; Value: 1 22:56 samth: rudybot: (for/first ([i (set 1 2 3)]) i) 22:56 rudybot: samth: ; Value: 1 22:56 samth: rudybot: (for/first ([i (set "1" 2 3)]) i) 22:56 rudybot: samth: ; Value: 2 22:57 offby1: samth: brilliant! Thanks 23:00 (join) wtetzner 23:04 (quit) acarrico: Ping timeout: 265 seconds 23:05 (quit) zyoung: Remote host closed the connection 23:23 asumu: Is for/first really... a for? 23:24 asumu: I suppose it does iterate if you have extra clauses. 23:30 (quit) antithesis: Quit: yes leaving 23:36 (quit) Fare: Ping timeout: 246 seconds 23:37 (quit) mithos28: Quit: mithos28 23:46 offby1: it just doesn't iterate _much_ :-) 23:54 (join) jeapostrophe