00:00 jonrafkind: well ok i misspoke, i think you can use the frtime primitives directly, the behaviors and such 00:00 (quit) paddymahoney: Read error: Connection reset by peer 00:00 jonrafkind: but normally you just do #lang frtime 00:01 (join) paddymahoney 00:10 (join) kvda 00:14 (join) veer 00:15 paddymahoney: sorry all for flooding with join/leave, I think freenode wanted registration, this has been completed. Will monitor to confirm that I don't disconnect frequently. Thanks @jonrafkind 00:17 (join) dnolen 00:18 (join) pmatey 00:26 (join) cage 00:33 (join) Kaylin 00:56 (quit) pmatey: Quit: leaving 01:03 (join) AStranger 01:05 AStranger: Does anyone here have any experience with opengl and racket? I'm using Linux and none of the demo programs work. I do have gtkglext-1.2.0 installed, so I don't know what else to try. 01:07 (join) DraX 01:16 (quit) dnolen: Remote host closed the connection 01:31 jonrafkind: AStranger, what error do you get 01:38 AStranger: One moment, pulling it up 01:39 AStranger: "There was an error initializing OpenGL. Maybe OpenGL is not supported on the current platform." When I try to run gears 01:39 haffe: AStranger: Have you tried running the interpreter from console? You might get some more infomation that way. 01:41 AStranger: I haven't tried that, I haven't actually used the console so I'm not quite sure how. 01:43 haffe: Start a terminal, write drracket & 01:43 haffe: press enter. 01:43 haffe: Sorry. 01:43 haffe: no ampersnad. 01:43 haffe: Just drracket 01:44 AStranger: Ohh, I thought you meant just 'racket' 01:46 AStranger: System is a little slow, I'm getting there 01:47 AStranger: It's worth mentioning the opengl works in 5.0.1, just nothing newer 01:49 haffe: Really odd. 01:49 AStranger: Yeah, unfortunately I started a recompile of 5.2.1, so the installed version isn't running 01:50 AStranger: I've googled the messages, let me check me history 01:53 AStranger: The message 5.2.1 gives me when trying to run checkers is "with-gl-context in canvas%: no gl context available" 01:54 AStranger: Then another message "Checkers requires OpenGL, but there was an error initializing the OpenGL context. Maybe OpenGL is not supported by the current display." 01:54 haffe: This is the error from within drracket? 01:55 AStranger: The first one is, the second is a popup probably from the games launcher 02:00 (quit) yoklov: Quit: computer sleeping 02:04 jonrafkind: what does glxinfo say 02:05 AStranger: A lot, but it does say "direct rendering: Yes" 02:05 AStranger: Glxgears is about 1200 fps with the current load 02:06 jonrafkind: well thats about the limit of my knowledge, i have no idea whats wrong 02:06 AStranger: It has to be something racket changed after 5.01 02:06 AStranger: OpenGL still works in that version, but no later version that I've tried 02:07 jonrafkind: are you on ubuntu? 02:07 AStranger: Nope, Slackware 02:07 Kaylin: god I haven't used that in forever, how is it? 02:07 jonrafkind: could be a missing package I guess 02:08 AStranger: Just like it's always been, you have to do everything yourself, but after that it just works 02:08 Kaylin: glad to hear it :) 02:08 AStranger: Google said the missing package was gtkglext, but I've already tried installing it, no change 02:10 (quit) kvda: Quit: x__x 02:22 (quit) mithos28: Read error: Connection reset by peer 02:22 (join) mithos28 02:30 (join) antithesis 02:37 (quit) antithesis: Remote host closed the connection 02:56 (quit) paddymahoney: Read error: Connection reset by peer 02:57 (join) paddymahoney 03:04 (quit) Kaylin: Read error: Connection reset by peer 03:15 (quit) mithos28: Quit: mithos28 03:20 (quit) paddymahoney: 03:21 (join) paddymahoney 03:21 (quit) paddymahoney: Client Quit 03:40 (quit) jonrafkind: Ping timeout: 265 seconds 03:41 (join) RacketCommitBot 03:41 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/aYoB-w 03:41 RacketCommitBot: [racket/master] New Racket version 5.3.0.2. - Eli Barzilay 03:41 (part) RacketCommitBot 04:01 (quit) veer: Read error: Connection reset by peer 04:02 (join) ahinki 04:10 (join) kvda 04:13 (join) Shvillr_ 04:13 (quit) Shviller: Disconnected by services 04:13 (nick) Shvillr_ -> Shviller 04:17 (quit) sethalves: Ping timeout: 260 seconds 04:18 (quit) kvda: Quit: x__x 04:18 (join) sethalves 04:24 (quit) rajathshetty: Ping timeout: 246 seconds 04:25 (join) rajathshetty 04:54 (quit) abbe: Quit: Aah IRC, where men are men, women are men, and 14 year old girls are FBI agents. 04:57 (join) noelw 05:05 (join) blomqvist 05:16 gf3: eli: BTW, I get the same error when compiling Racket from source as when using the pacman version 05:32 (join) gciolli 05:42 (quit) AStranger: Quit: Page closed 05:43 (join) mceier 05:45 (join) masm 05:51 (part) dented42: "Textual IRC Client: http://www.textualapp.com/" 06:04 (join) veer 06:19 (join) bluezenix 07:00 (join) tfb 07:00 (quit) tfb: Client Quit 07:12 (join) tfb 07:16 (quit) tfb: Read error: Connection reset by peer 07:28 (join) tfb 07:32 (quit) tfb: Read error: Connection reset by peer 07:40 (quit) karswell: Ping timeout: 260 seconds 07:43 (join) Shvillr_ 07:43 (nick) Shvillr_ -> Shviller 07:44 (quit) Shvillr: Ping timeout: 276 seconds 07:44 (join) Shvillr 08:12 (join) kanak 08:20 (join) jeapostrophe 08:25 (quit) cdidd: Ping timeout: 246 seconds 08:34 (join) tfb 08:36 (join) Johan___ 08:36 (quit) gciolli: Quit: Leaving. 08:37 Johan___: I have a problem: I want to use mouse events but they accumulate. How do I flush the buffer? 08:38 (join) karswell 08:42 (quit) tfb: Read error: Connection reset by peer 08:47 (join) zyoung 08:49 (quit) blomqvist: Remote host closed the connection 08:53 (join) blomqvist 08:57 (quit) Johan___: Quit: Page closed 09:06 (quit) jeapostrophe: Ping timeout: 265 seconds 09:30 (join) yoklov 09:32 (join) Flatlander 09:38 (quit) yoklov: Quit: bye! 09:58 (join) jhemann 09:58 (join) tfb 10:02 (join) dnolen 10:09 (join) gciolli 10:09 (quit) DGASAU: Ping timeout: 264 seconds 10:13 (quit) cage: Quit: Leaving 10:19 (quit) jrslepak: Quit: This computer has gone to sleep 10:20 (quit) ahinki: Read error: Connection reset by peer 10:23 (join) Shviller 10:31 (quit) gciolli: Ping timeout: 272 seconds 10:38 (join) sstrickl 10:42 (join) Cryovat 10:45 (join) djcb 10:47 (join) gciolli 10:57 (join) dzhus 11:00 (join) DGASAU 11:01 (quit) Shviller: Read error: Connection reset by peer 11:04 (quit) dnolen: Ping timeout: 260 seconds 11:05 (join) Shviller 11:09 (quit) Cryovat: Ping timeout: 250 seconds 11:16 (quit) DGASAU: Remote host closed the connection 11:17 (join) DGASAU 11:27 (quit) veer: Quit: Leaving 11:28 (quit) tfb: Ping timeout: 245 seconds 11:29 (join) pmatey 11:33 (join) veer 11:49 (join) anRch 11:52 (join) mithos28 11:53 (join) Kaylin 11:57 (quit) veer: Quit: Leaving 12:07 (join) antithesis 12:08 (join) mye 12:16 (quit) noelw: Quit: noelw 12:18 mye: any ideas how to implement this: http://paste.lisp.org/display/129069 or does something like random-eval exist? 12:23 samth: mye: see http://planet.racket-lang.org/package-source/cce/fasttest.plt/4/2/planet-docs/manual/Random_Distributions.html#%28part._.Choices%29 12:23 rudybot: http://tinyurl.com/6wsa5ub 12:25 (join) jonrafkind 12:42 (quit) bluezenix: Quit: Leaving. 12:44 (quit) jhemann: Ping timeout: 260 seconds 13:01 (quit) anRch: Quit: anRch 13:10 (join) sid___ 13:11 (quit) gciolli: Quit: Leaving. 13:11 sid___: is there a was to generate new windows(frames) on the fly.. For eg. whenever there is a click on the list box a new frame must open. 13:12 (join) jeapostrophe 13:15 (quit) pmatey: Ping timeout: 265 seconds 13:19 (quit) sstrickl: Quit: sstrickl 13:19 offby1: I assume so. 13:19 (join) pmatey 13:19 offby1: (new frame% [whatever]) ... 13:19 offby1: haven't actually tried it but it seems reasonable 13:19 (quit) Flatlander: Quit: Leaving 13:20 (join) MayDaniel 13:25 sid___: thanks... i ll try .. 13:29 (join) cdidd 13:33 sid___: I am facing a problem in doing that.. the thing is .... I can create frames as you mentioned on the fly.. but each frame has a textbox... and i need to identify the textbox uniquely for differnet frames to get/set them... any idea how i can do that?? 13:34 offby1: sid___: look at https://gist.github.com/2425125 13:34 offby1: sorry, that probably doesn't answer your most recent question. 13:36 offby1: well, maybe look at my gist anyway; you'll notice that I keep all the frames in a global variable. 13:37 offby1: I suspect you'll want to do something similar. That way you can modify the text -- or indeed, anything at all about the frame -- after you've created them. 13:43 (quit) flying_rhino: Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/ 13:45 sid___: Thanks a lot.. 13:51 (join) yoklov 13:55 (quit) pmatey: Quit: leaving 14:00 (join) dyoo 14:03 (join) bluezenix 14:11 (join) flying_rhino 14:20 sid___: so do i need to have the text-fields as global too? a bunch of them.. because as i see it . i need the name of the text box to do a get/set on them... how can i get away with placing them on frames? 14:23 offby1: not sure what you're trying to do, actually. 14:23 offby1: my hunch is that you don't need anything global other than the top-level frames, since each frame contains the text of interest. 14:23 (join) pmatey 14:28 (join) RacketCommitBot 14:28 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/SJe6CA 14:28 RacketCommitBot: [racket/master] fix doc picto - Matthew Flatt 14:28 (part) RacketCommitBot 14:28 sid___: okay.. i can create the frames as you said... and i have textboxes in the frames... and finally i show the frames as desired.. 14:29 sid___: then again later... i need to get the text in the textfields (get) and set them... how can i accomplish this only if i know the frames and not the fields? 14:31 asumu: sid___: why not add a method to the frame% so that it keeps track of its textbox? 14:31 asumu: And lets you access it appropriately through the frame%'s methods? 14:34 (join) jhemann 14:34 (quit) Kaylin: Quit: Leaving. 14:35 (join) Kaylin 14:38 (join) dented42 14:39 (quit) yoklov: Quit: bye! 14:39 (join) yoklov 14:39 (quit) Kaylin: Client Quit 14:42 (nick) dzhus -> wannabe-haskelle 14:45 (part) zyoung 14:45 (join) zyoung 14:51 (quit) dented42: Quit: Computer has gone to sleep. 14:57 (quit) yoklov: Quit: bye! 15:25 (nick) haffe -> Itmanen 15:25 (join) jrslepak 15:27 offby1: I'd be surprised if you couldn't ask the frame for a list of its children, and extract the textbox that way 15:31 (quit) sid___: Ping timeout: 245 seconds 15:36 jonrafkind: hash-set!: expects type as 1st argument, given: '#hash(); 15:36 jonrafkind: lolwat 15:37 stamourv: That doesn't look like a mutable table to me. 15:37 jonrafkind: oh make-hash 15:37 stamourv: rudybot: (mutable-hash? '#hash()) 15:37 rudybot: stamourv: your typed/racket sandbox is ready 15:37 rudybot: stamourv: error: #:1:1: Type Checker: untyped top-level identifier mutable-hash? in: mutable-hash? 15:37 jonrafkind: the error should say 'exepects type ' or something 15:38 stamourv: That may be the same error message as `dict-set!'. 15:38 stamourv: rudybot: init racket 15:38 rudybot: stamourv: your sandbox is ready 15:38 stamourv: rufybot: (require racket/dict) 15:38 stamourv: rudybot: (require racket/dict) 15:38 rudybot: stamourv: Done. 15:38 stamourv: (dict-set! 'a 3 '((a . 1) (b . 2))) 15:39 stamourv: rudybot: (dict-set! 'a 3 '((a . 1) (b . 2))) 15:39 rudybot: stamourv: error: car: expects argument of type ; given: #f 15:39 stamourv: rudybot: (dict-set! '((a . 1) (b . 2)) 'a 3) 15:39 rudybot: stamourv: error: car: expects argument of type ; given: #f 15:39 jonrafkind: ; dict-set!: contract violation, expected: (and/c dict? dict-mutable?), given 15:39 jonrafkind: ; 1, which isn't dict? 15:39 stamourv: I give up, back to work. 15:39 stamourv: jonrafkind: ? 15:40 jonrafkind: -> (dict-set! 1 2 3) 15:40 jonrafkind: ; dict-set!: contract violation, expected: (and/c dict? dict-mutable?), given 15:40 jonrafkind: ; 1, which isn't dict? 15:40 stamourv: Oh, I see. 15:40 stamourv: Ok, then I don't know why the error says table. 15:40 stamourv: Wanna fix it? 15:40 jonrafkind: im grepping the collects right now 15:41 stamourv: That may be in the C code. 15:44 (quit) pmatey: Quit: leaving 15:45 (join) pmatey 15:51 (join) paddymahoney 16:00 (join) yoklov 16:12 (quit) kanak: Ping timeout: 244 seconds 16:17 (quit) jrslepak: Quit: This computer has gone to sleep 16:17 (join) anRch 16:18 (quit) jeapostrophe: Ping timeout: 264 seconds 16:40 (join) jrslepak 16:43 (join) mye_ 16:43 (join) jrslepak_ 16:44 (quit) jrslepak: Disconnected by services 16:46 (quit) yoklov: Quit: computer sleeping 16:47 (join) jeapostrophe 16:47 (quit) mye: Ping timeout: 260 seconds 16:48 (quit) jrslepak_: Quit: This computer has gone to sleep 16:55 (quit) antithesis: Quit: yes leaving 16:56 dyoo: can I say that Eli is awesome? 16:56 (join) RacketCommitBot 16:56 RacketCommitBot: [racket] plt pushed 5 new commits to master: http://git.io/Iz3XnA 16:56 RacketCommitBot: [racket/master] [honu] check for definitions before continuing to parse. completely parse the left hand side of an operator - Jon Rafkind 16:56 RacketCommitBot: [racket/master] [honu] dont confuse identifiers with $. use = in with-syntax - Jon Rafkind 16:56 RacketCommitBot: [racket/master] [honu] replace $ with honu-$ just to be safe - Jon Rafkind 16:56 (part) RacketCommitBot 16:57 (join) antithesis 17:05 (quit) jeapostrophe: Ping timeout: 276 seconds 17:10 (quit) zyoung: Read error: Operation timed out 17:11 (join) jrslepak 17:11 (join) Fare 17:11 Fare: OK. 17:11 Fare: Is there a word for functions that are not pure, but not impure, depending on how you look at them. 17:12 Fare: Pure-ish? 17:12 Fare: purish? 17:12 Fare: slightly soiled? 17:12 Fare: e.g. delay / force -- internally impure, externally pure. 17:13 (quit) antithesis: Remote host closed the connection 17:13 Fare: non-deterministic functions -- kind of pure if you can only examine one choice in a given continuation/universe 17:14 Fare: functions that do logging / memory allocation / cpu time consumption -- side-effects that "don't matter" 17:14 dyoo: Fare: not sure of terminology. Observationally pure? 17:15 Fare: functions that are only ever called but once with the same argument, so you can side-effect the argument and nobody will ever see the difference 17:16 Fare: pure-looking ? 17:16 dyoo: unfortunately, I don't know. 17:17 Fare: thanks for the interaction 17:18 Fare: I had a library of "interfaces". One collection of interfaces is called "pure". Another is called "stateful". I wanted a name for that third one. 17:19 dyoo: If I hear a term that makes sense, I'll let you know. :) 17:19 Fare: superficially pure 17:19 Fare: supureficial 17:19 dyoo: *groan* 17:19 dyoo: :) 17:19 jonrafkind: all higher order "pure" functions are inherintly non-pure, unless you use a type system 17:20 Fare: well, they don't introduce the impurity, so these functions themselves are pure, though the result of calling them on impure arguments might not be. 17:20 jonrafkind: right 17:21 jonrafkind: and there is no way to force arguments to be pure or not 17:24 (quit) masm: Quit: Leaving. 17:24 (quit) MayDaniel: Read error: Connection reset by peer 17:25 Fare: In other contexts, any function that consumes CPU time is impure. 17:26 chandler: Maybe the best thing is to refer to functions as being "pure with respect to " rather than making a blanket assertion of purity? 17:32 Fare: chandler, sure. Nevertheless, there is clearly a default in most lisps. 17:33 (quit) anRch: Quit: anRch 17:35 asumu: Fare: why is that not just pure? Even Haskell does impure computations under its "pure" monads. 17:36 asumu: Similarly, languages with type & effect systems give you effect masking, where things are pure when their effects are unobservable. 17:36 Fare: asumu: because it cheats inside, and/or depends on your squinting your eyes. 17:37 asumu: So what doesn't cheat inside? Is a function that allocates conses pure? 17:37 Fare: for instance, one of my supureficial interfaces is a box interface that ensures that a box can only be unboxed once. 17:37 asumu: 5~ 17:37 asumu: whoops 17:37 Fare: it's great for converting between pure and stateful interfaces. 17:38 Fare: get a stateful interface, make sure you box any state into use-once boxes, and tada, there you can re-export it as a pure interface and use a lot of algorithms that expect a pure interface. 17:39 asumu: That sounds like affine contracts http://planet.racket-lang.org/display.ss?package=affine-contracts.plt&owner=tov 17:39 rudybot: http://tinyurl.com/822ssd9 17:39 Fare: conversely, by putting pure datastructure into a "current state" box, you can reexport your pure interfaces as stateful interfaces. 17:40 Fare: exactly - just done in CL 17:42 Fare: why is it called affine and not linear? 17:43 (join) ynniv 17:45 asumu: Linear is must use once. Affine is at most once. 17:46 (join) Kaylin 17:47 ynniv: is there a way to have a local override of a collect lib? 17:47 (quit) bluezenix: Quit: Leaving. 17:48 ynniv: I would like to improve a collect, but I don't want to modify the system files 17:49 Fare: isn't multiplication by 0 linear? 17:49 asumu: ynniv: if you want to improve a collect, patch it in the core and send a pull request on github. :) 17:50 ynniv: so development is done by forking plt? 17:50 asumu: ynniv: Yes. 17:50 (quit) jrslepak: Quit: This computer has gone to sleep 17:51 asumu: Which collect are you looking to improve? 17:51 ynniv: websocket and postgres 17:51 ynniv: websocket is broken for modern browsers 17:51 ynniv: and postgres doesn't support hstore 17:51 ynniv: simple things 17:52 ynniv: almost at the bug fix level, but I feel that pull requests are more welcome than bug reports ;) 17:52 ynniv: plus I'm impatient 17:52 asumu: Sounds great, and indeed they are. :) 17:53 ynniv: I'm using the MacOSX dmg distribution right now… I guess I'll need to compile from source? 17:55 (quit) pmatey: Ping timeout: 264 seconds 17:55 asumu: Yeah, I think so. I don't use Mac so not sure though. 17:57 ynniv: i don't suppose you use geiser? I'm having some minor issues with that as well 18:02 jhemann: Errors in the racket documentation should be reported how? 18:08 offby1: jhemann: mailing list 18:09 offby1: jhemann: or if you're daring, fork the racket repository on github ... make the fix to your local repository ... then issue a pull request 18:09 (join) pmatey 18:09 asumu: jhemann: bug report is fine too 18:09 asumu: (you can report through DrRacket or web page) 18:09 offby1: oh yeah 18:11 (quit) mceier: Quit: leaving 18:14 (part) Fare: "Leaving" 18:14 (join) jrslepak 18:24 (quit) cdidd: Remote host closed the connection 18:27 (join) mye^^ 18:31 (quit) mye_: Ping timeout: 252 seconds 18:35 (part) dyoo 18:36 (join) yoklov 18:37 (quit) hyko: Read error: Connection reset by peer 18:37 (join) hyko 18:39 (join) dented42 18:48 (join) dnolen 18:57 (join) mye_ 19:00 (quit) mye^^: Ping timeout: 265 seconds 19:02 (quit) noam_: *.net *.split 19:02 (quit) basepi: *.net *.split 19:02 (join) noam_ 19:03 (join) basepi 19:05 (quit) noam_: *.net *.split 19:05 (quit) yoklov: *.net *.split 19:05 (quit) jonrafkind: *.net *.split 19:05 (quit) pauls: *.net *.split 19:05 (quit) ChibaPet: *.net *.split 19:05 (quit) tewk: *.net *.split 19:05 (join) ChibaPet 19:07 (join) yoklov 19:07 (quit) jhemann: Ping timeout: 252 seconds 19:08 (quit) yoklov: Client Quit 19:08 asumu: Hmm, I think I found a bug in the module system. 19:08 (join) yoklov 19:09 (quit) dented42: Quit: Computer has gone to sleep. 19:11 (join) noam_ 19:11 (join) jonrafkind 19:11 (join) pauls 19:11 (join) tewk 19:21 jonrafkind: ok eli i finished GEB 19:22 offby1: Gödel, Escher, Bach? 19:23 jonrafkind: ya 19:24 offby1 read that when it came out, God help him 19:24 offby1: Used to have the first edition ... dunno where it is any more :-( 19:25 jonrafkind: didn't it come out in the 70s? 19:26 offby1: I'd have guessed 1980, but sure 19:27 jonrafkind: i dont think i knew how to read until 1990 19:28 offby1: *sigh* 19:28 jonrafkind: rofl 19:28 (join) djcb` 19:29 (quit) djcb: Ping timeout: 246 seconds 19:30 asumu: jonrafkind: what did you think of it? 19:30 jonrafkind: it had some nice ideas, my eyes glazed over some of the math 19:30 asumu has read it, but a long time ago 19:30 asumu: I see. 19:30 jonrafkind: i like the stuff about AI and intelligence 19:31 (join) jhemann 19:31 jonrafkind: i know just enough about music to follow the stuff about bach 19:32 offby1: This is classic: 19:32 offby1: ``In April 2009, when asked about his Wikipedia article, he commented, "[It] is filled with inaccuracies, and it kind of depresses me." When asked why he didn't correct it, he replied, "The next day someone will fix it back."[28] In Aug. 2011 Hofstadter said he is happy with the article and the only inaccurate part of his Wikipedia entry was the previous sentence because the inaccuracies were subsequently fixed.[citation needed]'' 19:38 (quit) jonrafkind: Ping timeout: 240 seconds 19:39 (quit) mye_: Ping timeout: 276 seconds 19:50 jhemann: that's awesome. 19:51 (quit) pmatey: Quit: leaving 19:55 offby1: Seems too good to be true 19:58 (quit) paddymahoney: 20:05 jhemann: edit-menu:undo- and edit-menu:redo- are greyed out by default when I use the standard-menus-mixin. What's required to make these menu-items usable? 20:06 (quit) Kaylin: Read error: Connection reset by peer 20:06 jhemann: The only example of their use I can find seems to have the same issue I'm seeing. 20:23 (join) jao 20:23 (quit) jao: Changing host 20:23 (join) jao 20:28 (quit) dnolen: Quit: ERC Version 5.3 (IRC client for Emacs) 20:36 (join) arubin 20:36 (part) arubin 21:01 (join) jeapostrophe 21:06 (join) neilv 21:06 (quit) neilv: Changing host 21:06 (join) neilv 21:06 (quit) Lunaqus: Ping timeout: 260 seconds 21:13 (quit) neilv: Quit: Leaving 21:15 (join) cage 21:45 (quit) jeapostrophe: Ping timeout: 272 seconds 21:55 (join) jeapostrophe 22:01 (quit) jeapostrophe: Ping timeout: 265 seconds 22:09 (join) jonrafkind 22:53 (join) Kaylin 23:23 (quit) jhemann: Ping timeout: 265 seconds 23:31 (join) zyoung