00:00 (quit) yacks: Max SendQ exceeded 00:00 (join) yacks 00:00 (quit) yacks: Read error: Connection reset by peer 00:01 (join) yacks 00:07 (quit) Kaylin: Quit: Leaving. 00:14 (join) gridaphobe 00:36 eli: mithos28: ping 00:36 mithos28: eli: pong 00:36 mithos28: you need a public key? 00:42 (join) soegaard 00:52 (quit) dnolen: Remote host closed the connection 01:07 mithos28: samth: ping 01:20 (quit) mceier: Quit: leaving 01:25 (quit) soegaard: Quit: soegaard 01:33 (quit) xulfer: Read error: Connection reset by peer 01:48 (join) jonrafkind 01:51 (quit) yacks: Ping timeout: 252 seconds 01:54 (quit) jackhammer2022: Quit: Textual IRC Client: http://www.textualapp.com/ 01:55 (quit) stchang: Read error: Operation timed out 01:59 (join) stchang 02:06 (join) Kaylin 02:07 (join) yacks 02:08 (quit) yacks: Max SendQ exceeded 02:08 (join) yacks 02:13 (quit) mye: Quit: mye 02:24 (quit) mithos28: Quit: mithos28 02:27 (join) mceier 02:40 (join) mye 02:57 (quit) Nisstyre-laptop: Quit: Leaving 02:57 (quit) stchang: Read error: Operation timed out 03:00 (join) stchang 03:00 (quit) gridaphobe: Remote host closed the connection 03:05 (quit) stchang: Read error: Operation timed out 03:06 (join) vkz 03:07 (join) stchang 03:10 (join) hkBst 03:32 (join) rmathews_ 03:32 (quit) Kaylin: Read error: Connection reset by peer 03:35 (quit) rmathews: Ping timeout: 248 seconds 03:35 (nick) rmathews_ -> rmathews 03:42 (join) jao 03:42 (quit) jao: Changing host 03:42 (join) jao 03:48 (quit) jonrafkind: Ping timeout: 256 seconds 03:49 (quit) cdidd: Remote host closed the connection 04:01 (join) Sergey_ 04:05 (quit) Oaks: Ping timeout: 272 seconds 04:11 (join) gridaphobe 04:16 (quit) gridaphobe: Ping timeout: 276 seconds 04:19 (join) rohni 04:21 (quit) ivan\: Quit: ERC Version 5.3 (IRC client for Emacs) 04:21 (join) ivan\ 04:25 (join) Slavisa 04:30 (quit) hkBst: Read error: Connection reset by peer 04:31 (join) hkBst 04:31 (join) rmathews 04:39 (quit) hkBst: Ping timeout: 255 seconds 04:50 (join) myx 04:57 (quit) yacks: Remote host closed the connection 04:57 (quit) jao: Ping timeout: 276 seconds 05:02 (join) bitonic` 05:12 (join) yacks 05:13 (quit) yacks: Max SendQ exceeded 05:14 (join) yacks 05:15 (quit) yacks: Max SendQ exceeded 05:15 (join) yacks 05:17 (quit) yacks: Max SendQ exceeded 05:17 (join) yacks 05:21 (join) racycle 05:27 (join) bjz_ 05:28 (join) mye_ 05:29 (quit) bjz: Read error: Connection reset by peer 05:30 (quit) yacks: Ping timeout: 256 seconds 05:30 (quit) mye: Ping timeout: 240 seconds 05:30 (nick) mye_ -> mye 05:34 (quit) myx: Read error: Operation timed out 05:35 (join) hkBst 05:36 (join) myx 05:44 (quit) hkBst: Read error: Connection reset by peer 05:45 (join) hkBst 05:52 (quit) hkBst: Ping timeout: 255 seconds 05:56 (quit) vkz: Quit: vkz 05:58 (quit) racycle: Quit: racycle 05:59 (join) hkBst_ 06:05 (join) MightyFoo 06:13 (join) xulfer 06:14 (quit) Sergey_: Read error: Connection reset by peer 06:30 (quit) Slavisa: Ping timeout: 255 seconds 07:03 (join) didi` 07:03 (nick) didi` -> didi 07:19 (join) jeapostrophe 07:30 (join) vkz 07:56 (join) ambrosebs 07:58 (join) adu 08:13 (join) hkBst__ 08:13 (quit) hkBst_: Ping timeout: 248 seconds 08:19 (quit) adu: Quit: adu 08:20 (join) Fare 08:23 (join) hkBst 08:23 (quit) hkBst: Changing host 08:23 (join) hkBst 08:23 (quit) hkBst__: Read error: Connection reset by peer 08:26 (join) Slavisa 08:34 (quit) bitonic`: Ping timeout: 276 seconds 08:34 (join) mye 08:38 (quit) rmathews: Quit: ... 08:44 (quit) acarrico: Ping timeout: 256 seconds 08:45 (join) mizu_no_oto 08:58 (join) acarrico 08:59 (part) acarrico 09:09 (join) RacketCommitBot 09:09 RacketCommitBot: [racket] plt pushed 3 new commits to master: http://git.io/M38NIg 09:09 RacketCommitBot: racket/master c56b73a Matthew Flatt: JIT: fix slow-path boxing for non-self-tail calls with unboxed arguments... 09:09 RacketCommitBot: racket/master 33c6635 Matthew Flatt: version 5.3.3.5... 09:09 RacketCommitBot: racket/master 5fcc96e Matthew Flatt: add space before "View Prior Versions" 09:09 (part) RacketCommitBot 09:14 samth: jaimef: yes, see: http://docs.racket-lang.org/inside/index.html 09:15 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 09:16 asumu: Wow, a JIT bug that led to icons blacking out. 09:16 asumu did not expect that as the cause 09:21 (join) cdidd 09:23 samth: asumu: i have no idea how matthew found that bug 09:23 (join) dnolen 09:25 (join) rmathews 09:27 (quit) dnolen: Remote host closed the connection 10:01 (join) dnolen 10:01 (quit) arkeet: Quit: ZNC - http://znc.sourceforge.net 10:02 (join) arkeet 10:11 (quit) mceier: Quit: leaving 10:14 (quit) hkBst: Ping timeout: 248 seconds 10:15 (quit) Slavisa: Ping timeout: 255 seconds 10:15 (join) hkBst_ 10:20 (quit) hkBst_: Read error: Connection reset by peer 10:21 (join) hkBst_ 10:28 (quit) hkBst_: Read error: Connection reset by peer 10:29 (join) hkBst_ 10:29 (quit) hkBst_: Changing host 10:29 (join) hkBst_ 10:31 (join) mizu_no_oto 10:41 (quit) sirdancealot7: Ping timeout: 260 seconds 10:46 (join) sirdancealot 10:46 (quit) jeapostrophe: Ping timeout: 244 seconds 10:47 (join) Slavisa 10:53 (join) Kaylin 10:56 (join) gridaphobe 10:57 (quit) MightyFoo: Quit: WeeChat 0.3.8 10:57 (quit) dnolen: Ping timeout: 255 seconds 11:22 (quit) hkBst_: Quit: Konversation terminated! 11:23 (join) mithos28 11:24 (join) bitonic 11:28 (join) mceier 11:28 samth: mithos28: pong 11:28 mithos28: So checking annotations one every expression is going to be tricky 11:29 mithos28: every special case that examines something more then the current expression needs to do something 11:30 samth: mithos28: right 11:30 samth: mithos28: right now we're bailing out of the special cases if the overall application is annotated 11:30 samth: and we could think about doing something more like that 11:31 samth: mithos28: i agree that it's not necessary for your current patch 11:31 mithos28: right, the question is how to do that with minimal overhead in the cases and to make sure it is done by default 11:32 samth: mithos28: yeah, and for that i don't have any brilliant ideas at the moment 11:33 mithos28: ok, me neither. I have a patch for tc/index in the works. 11:35 (join) clements_ 11:37 (join) Shvillr_ 11:38 (quit) Shvillr_: Client Quit 11:38 (join) Shvillr_ 11:40 (quit) Shvillr: Ping timeout: 276 seconds 11:43 mithos28: samth: are these two pull requests good to go in, https://github.com/plt/racket/pull/222 and https://github.com/plt/racket/pull/219 11:44 samth: mithos28: one sec -- i plan to go through all of your PRs today 11:44 mithos28: great 11:47 (join) jonrafkind 11:52 (join) ASau 11:52 (join) 20WABZ50P 11:53 20WABZ50P: hello all 11:53 mithos28: 20WABZ50P: Hello 11:53 (nick) 20WABZ50P -> paddymahoney 11:54 (quit) noelw: Quit: noelw 11:55 paddymahoney: so I have been working on some code that uses the mzscheme form define-syntax-set. 11:55 samth: paddymahoney: why are you using that? 11:56 paddymahoney: hi samth-I'm working on moving the eopl collection to racket from mzscheme 11:56 samth: paddymahoney: ah, ok 11:56 samth: paddymahoney: you probably want to mention this to david van horn, who's the maintainer of that bit of code 11:57 samth: paddymahoney: the best way to replace `define-syntax-set` is either with `define-syntaxes` for small examples or with a submodule for larger examples 11:57 mithos28: and begin-for-syntax for helper functions 11:58 paddymahoney: I've gone the begin-for-syntax and provided the transformer bindings. 11:58 paddymahoney: *route 11:58 paddymahoney: my issue is that it looks as if eopl is somehow providing the bindings at both phase 1 and phase 0! 11:59 mithos28: are you putting the define-syntax in the the begin-for-syntax? 12:00 paddymahoney: ie. there are provides in the file that refer to transformer bindings bound by the define-syntax-set. 12:00 mithos28: Can you paste the code somewhere? 12:00 samth: paddymahoney: `define-syntax` (and `define-syntax-set`) bind the transformers at phase 0, not phase 1 12:01 paddymahoney: ah. That explains it. 12:01 paddymahoney: Thank you sam tb! 12:01 paddymahoney: *sam th 12:02 paddymahoney: @mithos28: let me work on this a bit, see if I can get it working. 12:02 (join) racycle 12:03 (join) jeapostrophe 12:03 (quit) jeapostrophe: Changing host 12:03 (join) jeapostrophe 12:03 samth: mithos28: btw, i created this: https://github.com/plt/racket/wiki/Typed-Racket-plans 12:03 samth: mithos28: feel free to add to it 12:03 (quit) gridaphobe: Remote host closed the connection 12:03 mithos28: Yeah I saw 12:03 (join) anRch 12:08 jonrafkind: hm, why cant i push to git.racket-lang.org today 12:08 jonrafkind: it asks me for my password even though i have ssh keys set up and ive done this 28348234 times in the past 12:08 (quit) rohni: Quit: Leaving. 12:09 mithos28: jonrafkind: Eli played around with stuff last night to give me commit access 12:09 samth: jonrafkind: you've been outsourced to india 12:09 jonrafkind: eggsellenet! 12:10 mithos28: I haven't tried commiting yet so I don't know if it works for me either 12:15 (join) Licenser 12:15 Licenser: aloa 12:15 paddymahoney: hi 12:16 (join) ijp 12:16 (quit) cored: Ping timeout: 244 seconds 12:17 Licenser: I was wondering, does racket make sense for a console application (think grep) or is it not particulary suited for that? 12:18 samth: mithos28: now you have plenty of merging to do :) 12:18 clements_: Licenser: in general, yes. What did you have in mind? 12:18 samth: Licenser: racket works well for that sort of thing, but it may have startup time issues for very short running programs 12:18 (join) cored 12:18 (quit) cored: Changing host 12:18 (join) cored 12:18 paddymahoney: I would say yes. 12:19 Licenser: clements_ I want to write a client for a REST/JSON API and I kind of wanted to play with racket :) just wondering if string formating, argument parsing is going to get in the way :) 12:20 mithos28: samth: Thanks, I'll probably do it tonight after work 12:20 samth: mithos28: great 12:20 clements_: Licenser: aside from the startup time issues that samth mentioned, I would say you're in good shape. Racket has pretty good support for command-line parsing, and good regexp support. 12:21 samth: Licenser: racket has a quite nice interface to JSON also 12:21 clements_: ooh, right, that too. :) 12:21 Licenser: cool :) looks like I got myself a toy project to play with racket thanks samth clements_ ! 12:22 samth: Licenser: see http://docs.racket-lang.org/json/index.html?q=json 12:22 Licenser takes a peak at that 12:22 Licenser: internet is darn slow here right now so that might take a while 12:23 didi: Licenser: If you can, install the local documentation. It's awesome. 12:23 paddymahoney: I have been working at using it as my shell as well. It has been pretty smooth so far. I'd eventually like to release a scsh-like with some of the conveniences to make racket look a little like parenthesized shell. 12:24 Licenser: didi will do that when I'm at home, also grab racket, doesn't make sense over EDGE 12:24 didi: Licenser: oic 12:24 Licenser: IRC is quick enough but most everything else comes to a crawl 12:24 (quit) mye: Quit: mye 12:25 clements_: paddymahoney: any hope of having auto-balancing parens? That's always seemed like the killer in a parenthesized shell. 12:25 (join) mye 12:27 didi: Hum, maybe adding something like paredit to the shell. 12:28 clements_: didi: something like that. 12:28 paddymahoney: clements_: let me keep that in mind going forward...is there a particular implementation you like? paredit? 12:30 jonrafkind: clements_, sup 12:30 paddymahoney: even something in a less lispy lang :) 12:30 clements_: paddymahoney: I like and use the paren-balancing in DrRacket (actually, I developed its first iteration), but I'm not a paredit user; I don't have super-strong feelings about exactly what flavor of paren-balancing it uses. 12:30 clements_: jonrafkind: Fooey! I dropped the ball. Time later today? 12:30 jonrafkind: yea sure 12:30 (quit) mizu_no_oto: Quit: ["Textual IRC Client: www.textualapp.com"] 12:31 jonrafkind: theres a small department thing-a-majig at 2pm, but anything else is ok 12:31 clements_: jonrafkind: I have to see if I can successfully install skype on this fancy smartphone that someone gave me :) 12:31 jonrafkind: heh 12:31 clements_: jonrafkind: you're an hour ahead, right? 12:31 jonrafkind: yea i think so 12:31 clements_: MST? 12:31 jonrafkind: its 10:30 here now 12:31 clements_: Yep. 12:31 clements_: How about 3:30 your time? 12:31 jonrafkind: ok sure 12:32 paddymahoney: clements_: Gotcha! 12:32 clements_: okay, I'll give you a call. I'm… what's my skype name. Lemme check. 12:32 clements_: jonrafkind: I'm jbclements on skype. 12:33 jonrafkind: ok ill add you 12:33 (join) soegaard 12:33 (quit) Kaylin: Quit: Leaving. 12:36 (quit) anRch: Quit: anRch 12:38 paddymahoney: Suggestion: a regular (scheduled?) Racket google+ hangout, or something similar that is not Google-based. I'd love to meet some Racket folk, but as a poor looking-for-work person it is difficult to make it to the States for RacketCon. 12:38 jonrafkind: isnt that what irc is 12:38 paddymahoney: haha yes! with audio! and video! 12:39 jonrafkind: irc is like telepathy. the future is now! 12:39 paddymahoney: Ah get out of my head! *tears hair* 12:40 paddymahoney: :) 12:47 paddymahoney: I don't mean to evangelize Hangouts in particular, just like seeing and hearing people, is all. 12:51 (join) didi 12:51 (join) dyoo 12:51 (quit) dyoo: Client Quit 12:52 (join) dyoo 12:52 (quit) jeapostrophe: Ping timeout: 264 seconds 13:05 (join) gridaphobe 13:07 greghendershott: paddymahoney: You could start a Hangout yourself; post about it ahead of time at https://plus.google.com/u/0/communities/108652050642990465975 and see who shows up? 13:07 greghendershott: Depending on the time I might show up, for example. 13:07 asumu: I wish I learned GC with this: http://brownplt.github.com/2013/02/19/teaching-gc.html 13:07 dyoo: yes, that assignment is _very_ cool. 13:07 greghendershott: asumu: Yeah that's spiffy. 13:09 asumu learned PL in a PLAI-based course, but we didn't talk too much about GC 13:11 paddymahoney: greghendershott: Thanks-I think I will at some point. Probably should have phrased it as "Looking to gauge interest" rather than a suggestion 13:13 dyoo: paddymahoney: definitely interested 13:16 paddymahoney: dyoo: I'll make sure to +1 you when I post something in the community. 13:17 soegaard: We (a group of 3) implemented (in C) a large R4RS subset in our compiler course. My task was the VM and the garbage collector. I learned the hard way, that a garbage collector is hard to debug. 13:19 (join) bartbes 13:19 soegaard: If there was a bug in a VM instruction, the diaster would only be observed hundreds of instructions later, when tge GC kicks in (with a core dump as result). 13:20 (quit) mye: Quit: mye 13:20 soegaard: Which mean that it is *very* difficult to find the location of the bug. 13:20 paddymahoney: That sounds fiendishly difficult. 13:20 soegaard: Yes! 13:21 soegaard: In other words, http://brownplt.github.com/2013/02/19/teaching-gc.html is a brilliant idea. 13:22 soegaard: Incidently we used A-normal form back then too. 13:27 (quit) gridaphobe: Remote host closed the connection 13:28 (join) jeapostrophe 13:29 (join) rndnick4342 13:29 (quit) ambrosebs: Remote host closed the connection 13:31 (join) rohni 13:36 (join) gridaphobe 13:40 (quit) jonrafkind: Ping timeout: 255 seconds 13:43 (quit) gridaphobe: Remote host closed the connection 13:44 (join) mizu_no_oto 13:46 (quit) jeapostrophe: Ping timeout: 252 seconds 13:51 (quit) rmathews: Quit: ... 13:51 (join) ambrosebs 13:52 (quit) ambrosebs: Remote host closed the connection 13:56 (join) anRch 13:59 (quit) bitonic: Ping timeout: 272 seconds 14:02 (quit) clements_: Quit: clements_ 14:07 (join) clements_ 14:16 (quit) mizu_no_oto: Ping timeout: 260 seconds 14:24 (quit) rndnick4342: Remote host closed the connection 14:25 (join) mizu_no_oto 14:35 (quit) rohni: Quit: Leaving. 14:43 soegaard: rudybot: (require math) (matrix [[2] [3]]) 14:43 rudybot: soegaard: sort of a reverse 'matrix' effect 14:44 soegaard: rudybot: eval (require math) (matrix [[2][3]]) 14:44 rudybot: soegaard: your sandbox is ready 14:44 rudybot: soegaard: ; Value: # 14:44 (quit) anRch: Quit: anRch 14:49 soegaard: I don't get it. My machine just says (Array ...) 14:52 soegaard: Hmm. My output style was "Constructor" for some reason. 14:57 (join) gridapho_ 14:59 (quit) clements_: Quit: clements_ 14:59 (join) vipjun 15:00 (join) clements_ 15:03 vipjun: If I have this in a cond statement [(assoc y ys) => (lambda (x) (cons "found" x))] 15:04 vipjun: will x contain what is returned? 15:04 stamourv: `x' will be bound to the result of `(assoc y ys)'. 15:04 stamourv: rudybot: (define y 'a) 15:04 rudybot: stamourv: Done. 15:05 stamourv: rudybot: (define ys '((a . 1) (b . 2))) 15:05 rudybot: stamourv: Done. 15:05 vipjun: thanks. 15:05 stamourv: rudybot: (cond [(assoc y ys) => (lambda (x) (cons "found" x))]) 15:05 rudybot: stamourv: ; Value: ("found" a . 1) 15:05 stamourv: vipjun: ^ 15:05 vipjun: if i just have [(assoc y ys)] then it will return the value if found , if it returns #f then it moves to the next condition ? 15:06 (quit) bjz_: Read error: Connection reset by peer 15:06 vipjun: well i'll test that thanks stamourv 15:06 (join) bjz 15:06 stamourv: vipjun: Correct. 15:07 vipjun: cheers. we're doing racket on coursera atm. so we'll probably be asking many questions here :) 15:11 (join) jeapostrophe 15:12 stamourv: vipjun: Cool! Is that Dan Grossman's course? 15:13 vipjun: yes 15:13 stamourv: How is it? 15:13 vipjun: well , i've only wrote about 1000 lines of code before the course. so it's very challenging for me. But am learning a lot 15:15 vipjun: for example: my function works. but the questions i was asking were due to me having a limited knowledge of racket, and i wanted the code to be cleaner. 15:16 (nick) gridapho_ -> gridaphobe 15:22 (quit) jeapostrophe: Ping timeout: 255 seconds 15:33 (quit) clements_: Quit: clements_ 15:38 (join) jonrafkind 15:39 (quit) racycle: Quit: racycle 15:42 (join) clements_ 15:45 jonrafkind: eli, ping 15:51 (join) jwdunne 15:57 (join) Nisstyre-laptop 16:12 ijp: asumu: yeah, the gc language is pretty neat 16:18 ijp: at one point I thought I found a bug in it, but looking back it was probably intentional 16:25 (quit) dsantiago: Ping timeout: 248 seconds 16:25 (quit) mizu_no_oto: Quit: ["Textual IRC Client: www.textualapp.com"] 16:25 (join) dauterive 16:45 (quit) vkz: Quit: vkz 16:51 (join) rohni 16:52 (quit) cored: Ping timeout: 248 seconds 16:53 (join) gridaphobe 16:54 (join) cored 16:54 (quit) cored: Changing host 16:54 (join) cored 17:05 (quit) dyoo: Quit: dyoo 17:20 (join) dsantiago 17:22 (join) dyoo 17:25 (quit) dsantiago: Ping timeout: 244 seconds 17:42 (join) Kaylin 17:52 (join) dsantiago 17:54 (join) RacketCommitBot 17:55 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/bPvS5A 17:55 RacketCommitBot: racket/master bd1141c Stephen Chang: fix bug in getting "rest" of an integer-set 17:55 (part) RacketCommitBot 17:59 dca: hi. i am trying to profile my program and future-visualizer shows that it spends great deal of time on "values" primitive though i don't use it at all 18:00 dca: what could that mean ? 18:00 dyoo: hmmm… not sure; I havne't played with futures yet. 18:00 dyoo: anyone else? 18:01 dyoo: dca: what is your program like, by the way? What does it do? 18:01 dca: http://ompldr.org/vaGpiYQ 18:01 clements_: dca: 'values' can occur a lot in macro expansions, where the macro doesn't know whether the given expression produces a single value or multiple values.... 18:01 dca: it does simple raytracing 18:02 dca: i use for macro 18:02 (quit) jwdunne: Quit: Leaving. 18:02 dca: like 18:02 dca: (for* ([x screen-width)] 18:02 dca: [y screen-height]) 18:02 dca: blabla) 18:03 dyoo: Is screen-width an integer here? 18:03 clements_: I'm not familiar with the futures visualizer. Is this showing that values is taking a long time, or that it's causing a block? 18:03 dca: yeah 18:03 dyoo: If so, you may want to annotate the loop a bit more so the loop compiler can do a better job 18:03 dca: though i use flonums where possible 18:03 dyoo: otherwise, it does the really generic sequence api when walking the sequence, and that might be introducing the superfluous values stuff. 18:03 dca: e.g convert x, y to flnums using ->fl 18:04 dyoo: e.g. (for* ([x (in-range screen-width)] …) ...) 18:05 dyoo: should generate more efficient code than what you have, because the for loop knows that it's going to iterate across numbers. 18:06 dyoo: See the comment in http://docs.racket-lang.org/reference/sequences.html#%28def._%28%28lib._racket%2Fprivate%2Fbase..rkt%29._in-range%29%29 where they use the phrase "An in-range application can provide better performance..." 18:06 rudybot: http://tinyurl.com/bx68tgl 18:07 dca: so that's -> http://pastebin.com/zisuKF1V 18:07 dca: i've made use of in-range but that hasn't sped up a thing 18:07 dyoo: nuts. 18:09 dyoo: how well does it work outside of drracket, out of curiosity? 18:09 dca: i don't use drracket 18:10 dyoo: Unfortunately, I'm out of scope here; I just haven't played with futures yet. Sorry! 18:11 dca: no problems 18:11 dca: thanks 18:12 dca: i guess i could post it to the mailing list 18:17 dyoo: Yup, sounds good. That will reach the people who know better. :p 18:28 (join) bitonic 18:31 (quit) dca: Ping timeout: 255 seconds 18:33 (quit) Kaylin: Read error: Connection reset by peer 18:34 (join) jeapostrophe 18:34 (quit) jeapostrophe: Changing host 18:34 (join) jeapostrophe 18:34 (quit) rohni: Quit: Leaving. 18:35 (join) RacketCommitBot 18:35 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/o_RGbA 18:35 RacketCommitBot: racket/master aeff592 Stephen Chang: add test for integer-set:... 18:35 RacketCommitBot: racket/master 9e26cd0 Stephen Chang: one more integer-set test 18:35 (part) RacketCommitBot 18:36 (join) dca 18:43 (join) RacketCommitBot 18:43 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/uJp_1w 18:43 RacketCommitBot: racket/master 0b0ce65 Danny Yoo: Note that integer-sqrt produces exact output when given exact input.... 18:43 (part) RacketCommitBot 18:48 (quit) dyoo: Quit: dyoo 18:49 (join) racycle 18:53 (join) dyoo 18:59 (quit) whoops: Quit: Farewell 19:01 (join) whoops 19:05 (quit) whoops: Quit: Farewell 19:08 (join) whoops 19:08 (quit) haiwei: Ping timeout: 252 seconds 19:09 (join) haiwei 19:10 (quit) bitonic: Remote host closed the connection 19:11 (join) bitonic 19:18 (quit) didi: Ping timeout: 276 seconds 19:20 (join) RacketCommitBot 19:20 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/6QxyWQ 19:20 RacketCommitBot: racket/master fa4fb3e Danny Yoo: Add reference to the DrRacket interface essentials from the Quick Start guide.... 19:20 (part) RacketCommitBot 19:27 (part) dyoo 19:34 (join) Kaylin 19:35 (quit) ijp: Quit: The garbage collector got me 19:47 (quit) jeapostrophe: Ping timeout: 264 seconds 19:54 (quit) jonrafkind: Ping timeout: 260 seconds 20:00 (quit) dauterive: Read error: Operation timed out 20:01 (quit) gridaphobe: Remote host closed the connection 20:04 (join) gridaphobe 20:06 (join) rmathews 20:11 (quit) Nisstyre-laptop: Quit: Leaving 20:15 (nick) samth -> samth_away 20:16 (quit) clements_: Quit: clements_ 20:18 (quit) Kaylin: Quit: Leaving. 20:21 (join) z0lt 20:21 (join) mizu_no_oto 20:23 (quit) mizu_no_oto: Client Quit 20:26 (quit) soegaard: Quit: soegaard 20:34 (quit) bitonic: Ping timeout: 260 seconds 20:36 (part) firefux 20:42 (quit) gridaphobe: Remote host closed the connection 20:45 (join) yacks 20:48 (join) yeboot 20:50 (join) ambrosebs 20:52 (quit) z0lt: Ping timeout: 255 seconds 20:53 (join) adu 20:53 (join) mizu_no_oto 20:54 (join) z0lt 20:54 (quit) mizu_no_oto: Client Quit 20:58 yeboot: is there any way to loop in racket other than (define (loop) (procedures)... (loop)) 20:58 yeboot: C equivalent of for(;;) 20:58 yeboot: is* 20:59 yeboot: docs.racket-lang.org/guide/for.html 20:59 yeboot: just found that 21:09 (join) lusory 21:09 (join) Nisstyre-laptop 21:19 offby1: lots of ways, as you can see 21:20 yeboot: yeah, it's pretty cool 21:20 yeboot: I was just concerned about stack use, even though that's well beneath the scope of the language 21:21 adu: yeboot: you can loop with let 21:22 adu: (let loop (vars) (procedures) (loop)) 21:22 adu: yeboot: the closest thing to for is map 21:23 bremner: racket also has a bunch of for macros 21:24 chandler: the closest thing to C for is probably `do', but for the love of gods don't use it 21:24 bremner: they're not exactly like C for though, closer to map 21:24 yeboot: I don't necesarily want C, I just don't want stack problems 21:24 bremner: http://docs.racket-lang.org/guide/for.html?q=for#%28part._for_and_for_%29 21:24 yeboot: :) 21:25 bremner: yeboot: stack problems are not likely, because of tail recursion 21:25 bremner: or more precisely, because of tail call optimization. 21:25 (join) jeapostrophe 21:25 (quit) jeapostrophe: Changing host 21:25 (join) jeapostrophe 21:26 yeboot: which racket does automatically? 21:27 bremner: yep 21:27 bremner: try it out in the debugger in DrRacket... 21:29 bremner: actually the for macro is pretty close in style to an C/Java/what-have-you for loo 21:30 bremner: err, loop. not loo ;) 21:31 yeboot: racket is prtty fast 21:31 yeboot: I'm suprised 21:32 (quit) ambrosebs: Remote host closed the connection 21:32 (join) gridaphobe 21:36 adu: yeboot: some say racket is the fastest scheme 21:36 adu: except perhaps stalin 21:36 (quit) gridaphobe: Remote host closed the connection 21:38 (join) ambrosebs 21:45 (quit) yacks: Ping timeout: 272 seconds 21:48 (join) yacks 21:48 vipjun: In DrRacket, What does the red / green colors show when you choose optimization coach? 21:50 (join) mizu_no_oto 21:53 (join) wdkrnls 21:57 offby1: I'd guess red means "this is slow" 21:57 offby1: green probably means "fast" 21:57 offby1: *shrug* 22:06 (join) leo2007 22:06 leo2007: can racket auto-revert a file? 22:14 (join) RacketCommitBot 22:14 RacketCommitBot: [racket] plt pushed 3 new commits to master: http://git.io/wIH2Aw 22:14 RacketCommitBot: racket/master 661c29b Robby Findler: tweak 22:14 RacketCommitBot: racket/master a25a073 Robby Findler: new simplified string constants; from Chongkai Zhu 22:14 RacketCommitBot: racket/master 5eddac7 Robby Findler: fix the use of impersonator-ephemerons in the framework preferences library 22:14 (part) RacketCommitBot 22:17 (quit) z0lt: Ping timeout: 240 seconds 22:18 yeboot: is that a joke adu 22:18 yeboot: or is stalin a scheme dialect as well 22:20 adu: stalin is a compiler for scheme 22:20 adu: I tried reading the source code for stalin one day, and my head exploded 22:21 yeboot: was it like reading gcc 22:21 adu: no, gcc actually makes sense if you stare at it long enough 22:22 adu: for example: 22:22 adu: https://github.com/barak/stalin/blob/master/source/stalin3a.sc 22:25 (join) dauterive 22:25 Nisstyre-laptop: adu: I would not expect it to be readable 22:26 Nisstyre-laptop: it's the work of one guy 22:26 Nisstyre-laptop: anyway that file is epic 22:27 ambrosebs: Just added some simple (but effective) flow analysis to core.typed (was Typed Clojure). https://gist.github.com/frenchy64/5001763 22:27 yeboot: wow adu 22:27 yeboot: it looks like they need to take from some of the design principles in sicp, too 22:28 yeboot: 'if you're doing something over and over you're doing something wrong' 22:28 (quit) rmathews: Quit: ... 22:28 Nisstyre-laptop: yeboot: well it's not meant to be beautiful, it's supposed to be effective 22:28 Nisstyre-laptop: I'm sure there's a reason he wrote it like that 22:32 adu: yeboot: my idea of a great compiler is a readable compiler, like my code: https://github.com/andydude/droscheme/blob/andrew-working/scm/gos2go-lib.scm 22:32 rudybot: http://tinyurl.com/a9blfdc 22:33 adu: uhm, like 528 22:33 adu: s/like/line/ 22:37 asumu: stchang: BTW, how did you find the integer-set bug? Are you using them for something? 22:38 asumu: adu, yeboot: except that Racket is not Scheme. :) 22:39 adu: I know, sorry 22:39 asumu: I'm just giving you a hard time. :p 22:40 Nisstyre-laptop: stalin would probably look nicer re-written in Racket 22:41 adu: Nisstyre-laptop: lol 22:41 adu: that might imply someone would have to read it... 22:42 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 22:42 Nisstyre-laptop: adu: well if I can just read a paper on the principles behind it then no 22:42 asumu: Also, wow, there are a lot of random constants in that tree shaker function. 22:43 asumu: Is this generated code? 22:43 Nisstyre-laptop: could be 22:44 (join) rudybot_ 22:44 (quit) rudybot_: Remote host closed the connection 22:46 (quit) jeapostrophe: Remote host closed the connection 22:47 (join) jeapostrophe 22:51 (quit) adu: Quit: adu 22:52 yeboot: asumu yeah i know 22:52 yeboot: scheme doesn't exactly have structs 22:54 (quit) yeboot: Read error: Connection reset by peer 22:57 (quit) jeapostrophe: Ping timeout: 276 seconds 22:58 (join) raphie 22:58 raphie: does anyone know the runtime of the length function? seems like it'd be O(n) if it has to traverse the whole list to get its length. but that'd make functions like mergesort incredibly slow, no? 23:02 (join) mizu_no_oto 23:07 (quit) mizu_no_oto: Client Quit 23:10 (quit) raphie: Remote host closed the connection 23:14 (quit) ambrosebs: Ping timeout: 264 seconds 23:19 (quit) yacks: Ping timeout: 260 seconds 23:22 (join) eikonos1 23:22 (quit) eikonos: Read error: Connection reset by peer 23:23 (join) rmathews 23:24 (join) ambrosebs 23:24 (quit) wdkrnls: Remote host closed the connection 23:34 (quit) ambrosebs: Ping timeout: 255 seconds 23:34 (join) ambrosebs 23:39 (quit) ambrosebs: Ping timeout: 256 seconds 23:46 (quit) myx: Ping timeout: 276 seconds 23:48 (join) jao 23:48 (quit) jao: Changing host 23:48 (join) jao 23:50 asumu: Looks like GSoC 2013 was announced just last week: http://www.google-melange.com/gsoc/homepage/google/gsoc2013 23:50 asumu: I guess we should apply again as a mentoring org. 23:56 (join) jbclements 23:57 (join) ambroseb_ 23:58 (join) ambrose__ 23:59 (join) ambros___