00:33 (quit) ckrailo: Quit: Computer has gone to sleep. 00:47 (quit) saint_cypher: Quit: Leaving. 00:51 (join) saint_cypher 00:57 (join) ckrailo 00:58 (quit) ckrailo: Read error: Connection reset by peer 00:58 (join) ckrailo 01:00 (quit) ckrailo: Read error: Connection reset by peer 01:02 (join) ckrailo 01:04 (quit) ckrailo: Read error: Connection reset by peer 01:04 (join) ckrailo 01:07 (quit) em: Ping timeout: 276 seconds 01:07 (quit) dnolen: Ping timeout: 264 seconds 01:09 (join) em 01:15 (join) jonrafkind 01:15 (join) dnolen 01:25 (quit) dnolen: Ping timeout: 240 seconds 01:28 (join) dnolen 01:34 (quit) mwolfe: Remote host closed the connection 01:35 (quit) saint_cypher: Quit: Leaving. 01:48 (quit) dnolen: Quit: dnolen 01:49 (join) hkBst 01:57 (quit) geoffhill: Quit: geoffhill 02:21 (quit) jonrafkind: Ping timeout: 246 seconds 02:38 (join) leo2007 03:04 (quit) ckrailo: Quit: Computer has gone to sleep. 03:10 (quit) DT``: Ping timeout: 246 seconds 03:23 (join) DT`` 04:04 (quit) leo2007: Remote host closed the connection 04:22 (join) shofetim` 04:24 (quit) shofetim: Ping timeout: 240 seconds 04:30 (join) masm 06:12 (join) MayDaniel 06:19 (quit) MayDaniel: Read error: Connection reset by peer 06:22 (join) MayDaniel 06:32 (join) mye 07:14 (quit) MayDaniel: Read error: Connection reset by peer 07:36 (join) dnolen 08:23 (join) mceier 08:56 (join) tauntaun 08:56 (quit) tauntaun: Client Quit 09:12 (quit) hkBst: Ping timeout: 276 seconds 09:48 (quit) masm: Ping timeout: 246 seconds 10:01 (join) dzhus 10:01 (quit) shofetim`: Quit: ERC Version 5.3 (IRC client for Emacs) 10:05 (nick) samth_away -> samth 10:05 (quit) dnolen: Quit: dnolen 10:15 (join) MayDaniel 10:27 (join) leo2007 10:30 (join) _ryanc_ 10:31 (join) lucian 10:32 (join) lucian_ 10:35 (quit) lucian: Ping timeout: 240 seconds 10:38 (nick) lucian_ -> lucian 10:52 (quit) MayDaniel: 11:10 (join) geoffhill 11:13 (join) ckrailo 11:15 (join) dnolen 11:24 (join) anRch 11:27 (join) PLT_Notify 11:27 PLT_Notify: racket: master Eli Barzilay * 52ca08a (1 files in 1 dirs): * scheme -> racket ... 11:27 PLT_Notify: racket: master Eli Barzilay * f867fea (3 files in 3 dirs): Prebuilt link in the all versions page, other minor fixes. 11:27 PLT_Notify: racket: master commits 717a618...f867fea - http://bit.ly/eSkWfQ 11:27 (part) PLT_Notify 11:42 (join) lucian_ 11:44 (quit) lucian: Ping timeout: 276 seconds 11:47 (quit) geoffhill: Quit: geoffhill 12:01 (join) jonrafkind 12:02 (join) masm 12:04 (join) PLT_Notify 12:04 PLT_Notify: racket: master Ryan Culpepper * ccc70fc (16 files in 6 dirs): removed unused modules and code from unstable 12:04 PLT_Notify: racket: master Ryan Culpepper * 459cce2 (5 files in 5 dirs): moved contents of unstable/set to racket/set 12:04 PLT_Notify: racket: master Ryan Culpepper * 033e060 (1 files in 1 dirs): removed unstable/sexp-diff 12:04 PLT_Notify: racket: master Ryan Culpepper * c0bd4e8 (3 files in 3 dirs): removed unused code from unstable/hash 12:04 PLT_Notify: racket: master commits f867fea...c0bd4e8 - http://bit.ly/hf3nCM 12:04 (part) PLT_Notify 12:16 mattmight: Uh, I was using unstable/sexp-diff for grading. 12:16 mattmight: Oops. 12:16 (join) shofetim 12:17 _ryanc_: mattmight, I've asked stamourv to turn it into a planet package 12:18 (quit) mye: Read error: Connection reset by peer 12:21 jonrafkind: you could probably leave unstable/sexp-diff for at least another version until people completely move over to the planet package 12:23 mattmight: Oh, good. 12:28 (join) wlangstroth 12:29 (join) mye 12:31 (join) MayDaniel 12:33 (quit) anRch: Quit: anRch 12:47 (join) cousin 12:48 cousin: hello? 12:48 jonrafkind: hello 12:50 cousin: Hi! My issue is kind of complicated so I might take a minute to fully describe it 12:50 cousin: We are given a function (count) which as called willl return 12:51 cousin: (count) 0; (count) 1 ; (count) 2 ; (count) 3 ; (count) 0 12:51 cousin: and then it repeats 12:52 (join) anRch 12:52 cousin: With this, we are supposed to assign the function (make-count) to separate variables which will return independent (count)s 12:53 cousin: as in if I (define a (make-count)) and (define b (make-count)) it will look like: 12:53 cousin: > a 12:53 cousin: 0 12:53 cousin: > a 12:53 cousin: 1 12:53 cousin: > b 12:53 cousin: 0 12:53 cousin: and so on 12:54 cousin: That's it, that's my problem. I have tried some things but everything I try either returns # or some single number. Can you help me? 12:56 cousin: Here is the (count) function 12:58 jonrafkind: is this homework? 12:58 askhader: Ooh this problem is fun 13:00 cousin: Yes it is homework. Can you help me? btw something's wrong with paste.lisp.org so I don't know how I'm going to get my code out here 13:00 cousin: http://paste.lisp.org/+2LOZ 13:00 jonrafkind: rudybot: (define foo (let ([x 5]) (lambda () x))) 13:00 rudybot: jonrafkind: your sandbox is ready 13:00 rudybot: jonrafkind: Done. 13:00 jonrafkind: rudybot: (foo) 13:00 rudybot: jonrafkind: ; Value: 5 13:01 jonrafkind: thats the limit of hints ill give you 13:01 cousin: Okay I'll see what I can do with that. 13:01 jonrafkind: anyway, my random question of the day is why srfi's don't have names. like srfi/stream instead of srfi/41 13:05 (quit) MayDaniel: Read error: Connection reset by peer 13:07 bremner: jonrafkind: it would be one more thing to fight about 13:07 jonrafkind: ill be sure to use this same logic when naming my children 13:07 jonrafkind: fred? jerry? fff, lets just go with 24 13:08 bremner: well, if you happen to be married to 100 academics, then yes, go with 24 13:11 samth: bremner, :) 13:14 (quit) em: Ping timeout: 276 seconds 13:15 (join) lucian 13:16 (quit) lucian_: Ping timeout: 246 seconds 13:17 (quit) martinhex: Remote host closed the connection 13:17 (quit) cousin: Quit: Page closed 13:17 (join) martinhex 13:23 (quit) anRch: Quit: anRch 13:29 (join) Znudzon 14:28 (quit) Znudzon: Ping timeout: 260 seconds 14:33 (join) PLT_Notify 14:33 PLT_Notify: racket: master Sam Tobin-Hochstadt * f9bf318 (1 files in 1 dirs): Fix `ormap' error messages in HTDP languages. - http://bit.ly/er70CT 14:33 (part) PLT_Notify 15:12 (quit) wlangstroth: Quit: wlangstroth 15:26 (join) geoffhill 15:31 (join) carleastlund 15:32 (quit) samth: Quit: Ex-Chat 15:34 (quit) leo2007: Ping timeout: 260 seconds 15:37 (join) samth 15:49 (join) anRch 15:49 (join) Znudzon 15:52 (join) tauntaun 15:58 (join) PLT_Notify 15:58 PLT_Notify: racket: master Matthew Flatt * 00ca86f (1 files in 1 dirs): `xref-binding->definition-tag': fix two-argument-list mode ... - http://bit.ly/gFsg3B 15:58 (part) PLT_Notify 15:59 (join) PLT_Notify 15:59 PLT_Notify: racket: master Jay McCarthy * 9c19571 (3 files in 3 dirs): Responding to Norman's request - http://bit.ly/eNjWqf 15:59 (part) PLT_Notify 16:10 (quit) lucian: Ping timeout: 258 seconds 16:17 (join) lucian 16:27 (quit) geoffhill: Quit: geoffhill 16:39 (join) geoffhill 16:55 (quit) anRch: Quit: anRch 16:58 (quit) tauntaun: Quit: Ex-Chat 17:01 (join) MayDaniel 17:07 mye: anyone has a hunch how to wait until a servlet is ready to accept requests? (programmatically of course, I know how to wait manually all too well :-) ) 17:08 jonrafkind: can't you just detect if the port is open? 17:09 mye: ok, thats an idea. I thought maybe there is some signalling mechanism. 17:09 jonrafkind: theres probably a better way but im not really familiar with the racket webserver / servlets 17:12 mye: It's a bit annoying for incremental development, after restarting the servlet if I hit refresh in the browser too soon it will sometimes even timeout... 17:13 jonrafkind: isnt there some option in the start method that automatically opens a browser window? 17:14 mye: jep, maybe I'll reenable that. 17:14 mye: but then I'll have to close all the tabs manually ^^ 17:22 mye: and it takes about ten seconds to start up, maybe emacs/SLIME, e.g. push some code into a long running racket process (the servlet) can help, but I have no idea if that is supported!?! 17:24 jonrafkind: 10 seconds seems like a long time, what is the servlet doing? 17:25 jonrafkind: have you tried raco make ? 17:30 mye: it has two macros, a couple functions, I suspect the whole compilation process and the web stack just take that long, but disk and cpu caches should do their job right? 17:32 jonrafkind: so you have one file that is like <300 lines of code and it takes 10 seconds to start up? 17:35 mye: well its on windows, but, yeah 17:35 jonrafkind: something sounds strange 17:36 mye: It should just recompile the one file and restart the webserver and load the compiled servlet 17:37 mye: but I can easily count to 9 17:38 jonrafkind: can you post your code? maybe I can try it 17:39 (quit) lucian: Remote host closed the connection 17:39 mye: yes, btw I'm currently using a nightly but it has never been a speed demon 17:40 jonrafkind: i have a build from like 2 days ago 17:41 mye: jonrafkind: http://codepad.org/V6X5FLse 17:41 (part) Znudzon 17:43 jonrafkind: theres two bullet points, one says 'not there yet' and another shows /, is that right? 17:43 (join) em__ 17:43 (quit) geoffhill: Quit: geoffhill 17:43 mye: yes 17:44 jonrafkind: it starts up in about 1 second for me, on linux 17:46 mye: OK thanks, then it is very likely windows specific, on my desktop pc with XP it was relatively slow, on this laptop with win7 it is slow... 17:48 jonrafkind: its almost not even worhtwhile to debug the issue, just get a VM and develop in ubuntu or something 17:51 (quit) em__: Quit: Reconnecting 17:51 (join) em__ 17:56 (quit) em__: Quit: As a wild ass in the desert go I forth to my work 17:57 (join) emma_ 17:59 (nick) emma_ -> em 18:04 (join) tauntaun 18:21 (quit) _ryanc_: Quit: _ryanc_ 18:26 (quit) dnolen: Ping timeout: 252 seconds 18:31 (join) saint_cypher 18:35 (quit) mceier: Quit: leaving 18:52 (quit) dzhus: Read error: Operation timed out 18:53 (quit) mye: Ping timeout: 246 seconds 18:53 (join) dzhus 19:09 (quit) MayDaniel: Read error: Connection reset by peer 19:12 (join) dnolen 19:20 (quit) askhader: Ping timeout: 260 seconds 19:40 (join) askhader 19:44 (quit) dzhus: Remote host closed the connection 19:55 tauntaun: This may be obvious, but I'm assuming that even if it didn't segfault etc., Racket's OpenGL library is too slow for real-time graphics (e.g., video games)? 19:55 jonrafkind: well, why would you assume such a thing 19:56 jonrafkind: the most obvious bottleneck in racket is the GC 19:58 samth: tauntaun, i believe the neil toronto and jay mccarthy have worked on writing 3d games in racket 19:58 tauntaun: OK, that makes me excited. 19:58 tauntaun: jonrafkind: I assumed so because John Reppy has said that his SML-based graphics stuff is too slow for real-time. 19:58 samth: the opengl library takes somewhat of a hit for the ffi 19:59 tauntaun: samth: you mean the ffi slows it down a bit? 19:59 samth: but you should ask on the list about it -- i know jay has done lots of 3d stuff 19:59 samth: tauntaun, yes -- the ffi does some marshalling/unmarshalling that you wouldn't be doing in C 19:59 tauntaun: ok, I'm a bit confused. 19:59 tauntaun: There are two graphics libraries. 19:59 tauntaun: Which one is the faster one. 20:00 (quit) carleastlund: Quit: carleastlund 20:00 samth: which two? 20:00 tauntaun: sgl and sgl/gl 20:01 (quit) jonrafkind: Ping timeout: 240 seconds 20:01 samth: i think they're pretty similar 20:02 samth: sgl/gl might be a little faster, since it does less translation 20:05 samth: for example, the sgl/example/gears.rkt program gets 500+ fps on my machine, and uses sgl 20:06 tauntaun: OK, another question: the Guide has stuff about creating languages. Is there more written about this in the Reference or in some other part of the documentation? I seem to recall a library that constructs parsers based on BNF input...I think I even recall seeing a library of Haskell-style parser combinators somewhere, but I can't find it. 20:06 samth: there are a bunch of relevant parts of the reference 20:06 samth: the parser-tools collection is the library that uses bnf 20:07 samth: if you've read the guide section, you might be interested in our paper, which i recently wrote about on the racket blog 20:08 tauntaun: "Languages as Libraries"? 20:08 samth: tauntaun, yes 20:10 samth: and feel free to ask questions about the paper on irc or by email 20:11 tauntaun: Great, thanks. To be clear, I'm only just starting to think about language design and don't even know Typed Racket yet. I think it'll take me at least a few months to get to the right level to read this paper. 20:11 samth: tauntaun, knowing typed racket is def not needed to read the paper 20:11 tauntaun: Ok 20:11 tauntaun: ...then I'll get around to it sooner :) 20:12 samth: the paper is written to be accessible to a general programming language research audience 20:12 samth: ie, people who don't know much about racket, typed racket, or macros 20:12 (join) mwolfe 20:13 samth: but knowing more about racket and macros will help you get more out of it 20:13 tauntaun: OK...btw, I ran the gears example and am impressed. 20:20 (nick) samth -> samth_away 20:49 (join) collin 20:59 (quit) ckrailo: Quit: Computer has gone to sleep. 20:59 (quit) askhader: Ping timeout: 246 seconds 21:17 (join) askhader_ 21:28 (join) ckrailo 22:15 (quit) shofetim: Ping timeout: 240 seconds 22:23 (join) geoffhill 22:34 (quit) masm: Quit: Leaving. 22:36 (quit) tauntaun: Quit: Ex-Chat 22:46 (quit) ckrailo: Quit: Computer has gone to sleep. 23:05 (join) ckrailo 23:21 (join) jonrafkind 23:39 (nick) askhader_ -> askhader 23:58 (quit) DT``: Ping timeout: 260 seconds