00:05 (join) ehine1 00:05 (quit) jeapostrophe: Quit: jeapostrophe 00:12 (quit) rekahsoft: Read error: Operation timed out 00:13 (join) rekahsoft 00:14 (quit) redgetan: Quit: ChatZilla 0.9.86 [Firefox 3.6.13/20101206122825] 00:33 (join) vu3rdd 00:33 (quit) vu3rdd: Changing host 00:33 (join) vu3rdd 00:34 (quit) mithos28: Quit: mithos28 00:47 (join) jonrafkind 01:04 (quit) dnolen: Quit: dnolen 01:26 (quit) ckrailo: Quit: Leaving... 01:34 em: jonrafkind 01:34 jonrafkind: tis I 01:38 em: jonrafkind: you are a cool guy. 01:38 jonrafkind: thanks 01:38 em: Always helps people with racket and doesn't afraid of anything :) 01:39 jonrafkind: also im 13 feet tall and eat nails for breakfast 02:08 (quit) asumu: Ping timeout: 260 seconds 02:10 DT``: how bad is to use an `(apply apply ...)'? 02:13 jonrafkind: thats a strange use case 02:19 DT``: I find myself using it every time I define `append*'-style procedures. 02:52 eli: DT``: That's a common case for these things. 02:53 eli: For the implementation of `append*' etc I eventually went with (apply foo (apply list* xs)) because it was faster at the time (IIRC). 02:53 eli: But now it seems that the double-apply is a bit better. 02:57 eli: Yeah, it's slightly slower for 1..3 arguments, about the same at 4, and then starts to become faster. 02:57 eli: So easy to optimize away the 2,3 argument cases too. 03:05 (join) hkBst 03:10 DT``: eli, oh, I'll just go the double-apply for the 4+ arguments case then. 03:10 DT``: and explicitly write the 2,3 cases. 03:11 eli: DT``: Which function is that for? 03:11 eli: (And that's what I meant, through I settled on special-casing upto 5 arguments, since with `string-append*' it was still leaning the other way.) 03:14 DT``: eli, `zipper-append*`, though I'm not sure if I can call it a zipper. 03:14 DT``: eli, speaking of strings, another question, is string-ref O(1)? 03:15 eli: `zipper-append*'? My best guess about what it would do makes it not too useful... 03:16 eli: And yes, `string-ref' is constant, since strings are represented internally as UCS-32. 03:17 DT``: it's not really a zipper, it's more like a double linked list stored like a zipper (with the beginning reversed and a cursor). 03:18 DT``: I'm not planning to use it for something serious, though, I'm just experimenting. 03:21 (quit) jonrafkind: Ping timeout: 255 seconds 03:24 eli: DT``: That does sound odd, as in something that would be hard to explain. 03:24 (quit) jao: Ping timeout: 255 seconds 03:24 eli: (You caught me in a very micro-benchmark mood, btw, normally I don't touch those functions so often...) 03:42 DT``: eli, it probably is hard to explain without doing examples (or maybe it's just me). 03:43 DT``: basically, it's just storing a list `(1 2 3 4 5)' as `((3 2 1) 4 5)' so that you can insert/remove/get elements from that position in constant time. 03:44 DT``: and you can move around the cursor with a cdr/cons. 03:51 eli: DT``: In that case, a name like "zipper" is misleading IMO. 03:52 eli: So is a doubly-linked list -- since it isn't one. 03:56 DT``: eli, I called it ``zipper'' mostly because I've often seen them implemented as lists with the reversed head. 03:56 DT``: and it's not really a doubly-linked list, since (eq? (prev (next dl)) dl) does not hold true. 04:11 eli: DT``: Well, a little more than that -- with a doubly linked list it's expected to get the two heads fast... 04:12 eli: In any case, have a look here: http://planet.racket-lang.org/display.ss?package=pfds.plt&owner=krhari 04:12 eli: It might have what you want. 04:14 (join) noelwelsh 04:23 DT``: eli, thanks, but I'm doing this just as an exercise. I'd probably use vlists/random access lists for fast indexing and consing. (Which, btw, are all on planet. Nice!) 04:23 DT``: btw, I don't see how a doubly-linked list can access both ends fast, wouldn't it become circular? 04:24 eli: It can't be "really" circular if you want it to be functional. 04:24 eli: So it's done using promises instead. 04:56 (join) masm 05:30 (join) jao 05:35 (quit) noelwelsh: Quit: noelwelsh 06:21 (join) _mo_ 06:24 (join) spdegabrielle 06:34 (quit) spdegabrielle: Quit: Colloquy for iPhone - http://colloquy.mobi 06:43 (join) MayDaniel 06:53 (join) noelwelsh 07:09 (part) _mo_: "Leaving" 07:15 (quit) MayDaniel: Read error: Connection reset by peer 07:24 (quit) Demosthenes: Quit: leaving 07:31 (join) jeapostrophe 07:36 (join) Demosthenes 07:55 (quit) aalix: Quit: Computer has gone to sleep. 08:06 (nick) ec|detached -> elliottcable 08:18 (join) samth_ 08:40 (join) dnolen 08:43 (quit) Demosthenes: Quit: leaving 08:50 (nick) elliottcable -> ec|detached 08:59 (join) Demosthenes 09:26 (quit) jeapostrophe: Quit: jeapostrophe 09:28 (quit) vu3rdd: Remote host closed the connection 09:34 (join) mithos28 09:56 (quit) Demosthenes: Quit: leaving 09:56 (join) asumu 09:58 (join) Demosthenes 10:03 (quit) samth_: Ping timeout: 255 seconds 10:11 (quit) dnolen: Quit: dnolen 10:13 (quit) asumu: Ping timeout: 260 seconds 10:20 (join) tauntaun 10:25 (join) lucian 10:44 (nick) samth_away -> samth 10:59 (quit) hkBst: Remote host closed the connection 11:07 (join) dnolen 11:16 tonyg: eli: the easiest way to make it work properly is to use an absolute path. What's there in my patched version is no worse than the way racketcgc is found in git master, it just uses an absolute path to the root of the "build" directory rather than a relative one. 11:16 (join) anRch 11:18 tonyg: (and rather than each makefile making a decision about how to find racketcgc, they all share the decision made by the root makefile) 11:24 (quit) lucian: Ping timeout: 240 seconds 11:26 (join) jonrafkind 11:27 (quit) tomku: Ping timeout: 255 seconds 11:29 (join) tomku 11:31 (join) kenjin2201 11:34 (join) JoelMcCracken 11:37 (quit) mithos28: Quit: mithos28 11:38 (quit) JoelMcCracken: Remote host closed the connection 11:51 (join) asumu 11:59 (quit) noelwelsh: Quit: noelwelsh 12:00 (join) noelwelsh 12:03 (quit) noelwelsh: Client Quit 12:03 (join) lucian 12:06 (join) mceier 12:08 eli: tonyg: In the best case, I don't see how "$CURDIR/blah" is different from "blah" 12:09 eli: In the worst case, it looks like it is very easy to break -- for example, what happens if you want to cd into a subdirectory and run `make' there? (Reading the info file, it sounds like it'll be broken). 12:10 eli: On yet another level, it looks like something that will easily break make variants. (Quick google: http://mail-index.netbsd.org/netbsd-users/1998/01/29/0000.html) 12:10 eli: (Yes, 1998 was a while ago, but `make' is probably even more problematic than cc.) 12:11 tonyg: eli: is racket supporting non-GNU makes? 12:11 eli: I think that there was maybe one non-gmake thing that was needed, and (I think) that there was a way around it. 12:11 (quit) anRch: Quit: anRch 12:11 eli: In any case, I'm not suggesting to remove the hack completely, 12:11 tonyg: eli: I can change it so that it works when running from subdirectories directly if you prefer. 12:12 eli: I'm just talking about changing it. 12:12 tonyg nods 12:12 tonyg: $CURDIR/blah is different from blah when CURDIR != . 12:12 tonyg: such as when running from within e.g. racket/gc2 12:13 eli: Instead of grabbing the (unreliable) value of $CURDIR, just use the equivalent of something like "${FOO-blah/blah}/bar" where "blah/blah/bar" is used currently. 12:13 eli: This way, wherever you build your cross binaries, you set your own $FOO, and the effect on everyone else is zero. 12:15 tonyg: that's a good suggestion 12:16 (join) ckrailo 12:24 (join) anRch 12:30 (quit) anRch: Read error: Connection reset by peer 12:34 (quit) gienah: Quit: leaving 12:36 (join) anRch 12:41 (join) mithos28 12:41 (quit) anRch: Quit: anRch 12:50 (join) aalix 13:08 (join) lucian_ 13:08 (quit) tauntaun: Quit: Ex-Chat 13:10 (quit) lucian: Ping timeout: 240 seconds 13:10 (quit) rekahsoft: Ping timeout: 240 seconds 13:14 (join) rekahsoft 13:18 (quit) rekahsoft: Ping timeout: 240 seconds 13:29 (nick) lucian_ -> lucian 13:32 (quit) jonrafkind: Ping timeout: 260 seconds 13:36 (quit) lucian: Ping timeout: 260 seconds 13:42 (join) lucian 14:04 (join) anRch 14:18 (quit) lucian: Ping timeout: 260 seconds 14:24 (join) lucian 14:44 (join) rekahsoft 15:04 (quit) anRch: Quit: anRch 15:24 (quit) kenjin2201: Remote host closed the connection 15:24 (quit) aalix: Quit: Textual IRC Client: http://www.textualapp.com/ 15:36 (quit) elly: Ping timeout: 250 seconds 15:42 (join) John 15:44 John: Hi, I would like to know, if there is any websites that has Examples for website applications using racket ( I mean #lang web-server/insta) 15:46 John: anyone? 15:54 shofetim: There are some stuff in the documentation, and did you see this? cs.racket-lang.org/continue/index.html 15:56 (quit) stride: Remote host closed the connection 15:57 (join) stride 16:00 John: Thank you, I sow this one 16:01 John: is there any webpage, that has scripts, eg. Calculator, or MailSender 16:06 shofetim: John: not that I am aware of 16:07 (nick) ec|detached -> elliottcable 16:08 shofetim: John: you might find something here http://schemecookbook.org/ 16:14 John: thank you shofetim, I will search 16:14 John: I'am trying to find an Mail Sender using racket 16:19 lisppaste: shofetim pasted "send mail" at http://paste.lisp.org/display/122640 16:19 shofetim: John: have a look at that, its the same as is on the front page of racket-lang.org 16:20 shofetim: It should get you started 16:24 stamourv: John: Also, there's sirmail, a mail client in Racket, in the Racket distribution. 16:26 (join) jonrafkind 16:29 John: Thank you 16:51 (quit) John: Ping timeout: 252 seconds 17:01 (join) lucian_ 17:02 (quit) lucian: Ping timeout: 246 seconds 17:07 (nick) elliottcable -> ec|detached 17:07 (nick) ec|detached -> elliottcable 17:34 (quit) dnolen: Ping timeout: 252 seconds 17:46 (quit) Lajla: Ping timeout: 240 seconds 17:57 (join) PLT_Notify 17:57 PLT_Notify: [racket] plt pushed 16 new commits to master: http://bit.ly/k8PHp0 17:57 PLT_Notify: [racket/master] Allow omitting type annotation on for/fold:. - Vincent St-Amour 17:57 PLT_Notify: [racket/master] Fix a typo in Eric Hanchrow's name. - Vincent St-Amour 17:57 PLT_Notify: [racket/master] Allow omitting type annotation in most of the for: forms. - Vincent St-Amour 17:57 (part) PLT_Notify 18:01 (quit) asumu: Ping timeout: 250 seconds 18:07 (quit) mithos28: Quit: mithos28 18:41 (join) mithos28 18:53 (join) tauntaun 18:58 eli grumbles in stamourv's and offby1's general direction 18:58 samth: ? 18:59 eli: ¿ 18:59 samth: good use of unicode 18:59 (quit) mceier: Quit: leaving 18:59 eli: I finally hacked my Emacs. 18:59 eli: λ was too tempting. 18:59 eli: And TR with ∀ etc. 19:00 samth: and what does this have to do with offby1 and stamourv? 19:00 eli: The type section of my lecture notes is full of Γs, ⊢s, and τ₁. 19:01 eli: Absolutely nothing. 19:01 (quit) mithos28: Quit: mithos28 19:01 eli: The grumble was stamourv's messing my clean rebase. 19:01 samth: ah, because of offby1's name 19:02 eli: Yes. 19:03 eli: I take that back. Git just silently ignored it. 19:03 eli selbmurg in stamourv's and offby1's general direction 19:04 (join) PLT_Notify 19:04 PLT_Notify: [racket] plt pushed 7 new commits to master: http://bit.ly/iGdOOU 19:04 PLT_Notify: [racket/master] Fix catching of initial exceptions to happen outside of the sandbox context,... - Eli Barzilay 19:04 PLT_Notify: [racket/master] Revise this comment - Eli Barzilay 19:04 PLT_Notify: [racket/master] Disable drdr runs on `meta/web'.... - Eli Barzilay 19:04 (part) PLT_Notify 19:05 shofetim: stamourv: sirmail ? where... 19:06 samth: https://github.com/plt/racket/tree/master/collects/sirmail 19:07 shofetim: samth: thanks! looks interesting 19:16 (join) Lajla 19:21 (nick) elliottcable -> ec|detached 19:21 (quit) samth: Read error: Connection reset by peer 19:23 (join) samth 19:24 (join) dnolen 19:28 (join) asumu 19:31 (join) mithos28 19:39 offby1: .oO("selbmurg"?) 19:43 (quit) lucian_: Remote host closed the connection 19:43 samth: rudybot: (list->string (reverse (string->list "grumbles"))) 19:43 rudybot: samth: ; Value: "selbmurg" 19:43 samth: offby1: 19:46 (quit) masm: Quit: Leaving. 19:50 (join) PLT_Notify 19:50 PLT_Notify: [racket] plt pushed 1 new commit to master: http://bit.ly/iw4r9k 19:50 PLT_Notify: [racket/master] Wrap expected type. Closes PR 11980. - Sam Tobin-Hochstadt 19:50 (part) PLT_Notify 19:51 (nick) ec|detached -> elliottcable 19:52 samth: elliottcable: we still want you to respond to those questions 19:52 samth: please :) 19:53 offby1 is enlightened 19:53 (nick) samth -> samth_away 20:14 (quit) ckrailo: Quit: Leaving... 20:21 (nick) elliottcable -> ec|detached 20:37 (quit) jao: Ping timeout: 255 seconds 20:46 (quit) tauntaun: Quit: Ex-Chat 20:53 (join) jeapostrophe 20:56 (quit) dnolen: Quit: dnolen 21:26 (join) PLT_Notify 21:26 PLT_Notify: [racket] plt pushed 1 new commit to master: http://bit.ly/jckpLr 21:26 PLT_Notify: [racket/master] fixed lw-test.rkt test suite - Robby Findler 21:26 (part) PLT_Notify 21:27 (join) PLT_Notify 21:27 PLT_Notify: [racket] plt pushed 1 new commit to master: http://bit.ly/jHEAE8 21:27 PLT_Notify: [racket/master] Fix `{user,group,other}-{read,execute}-bit' (in the docs too).... - Eli Barzilay 21:27 (part) PLT_Notify 21:30 (join) dnolen 21:40 (quit) DT``: Ping timeout: 258 seconds 21:41 (join) DT`` 21:45 eli: samth_away: colons, finally? 21:48 (quit) DT``: Ping timeout: 244 seconds 21:50 (join) racket 21:50 racket: [racket] none pushed 5 new commits to master: http://bit.ly/lOf7d8 21:50 racket: [racket/master] Use `apply apply' which is slightly faster for most inputs than using... - Eli Barzilay 21:50 racket: [racket/master] Tweak things a little: make `simple-compose*' use `simple-compose' when... - Eli Barzilay 21:50 racket: [racket/master] Wrap expected type. Closes PR 11980. - Sam Tobin-Hochstadt 21:50 (part) racket 21:52 (join) DT`` 22:02 (quit) DT``: Ping timeout: 240 seconds 22:04 (join) DT`` 22:07 eli: jonrafkind: gitlive.com 22:08 eli: (I don't see any use for it, but maybe you have an idea.) 22:09 jonrafkind: what does this do, show git pushes on a website? 22:09 eli: Yes. 22:09 eli: Enter plt/racket in the box, then click the boring looking gray button next to the bottom. 22:11 jonrafkind: it shows duplicate commits 22:12 jonrafkind: well for me this is useless since irc has the same functionality through the github bot, but maybe there could be a link on the community page about seeing live updates to git 22:12 eli: Maybe because I just enabled it or something. 22:12 eli: If you don't see a use, then I certainly don't. 22:13 eli: (I guess you could use twitter if you get a burning desire to sit and watch the commits go by.) 22:13 jonrafkind: are all the git commits tweeted? 22:14 eli: Yes. 22:14 eli: I think. 22:14 eli: Maybe. 22:14 eli: Maybe it truncates them as it did with the IRC notifications. 22:18 (join) gienah 22:20 (quit) DT``: Ping timeout: 246 seconds 22:34 (join) samth_ 22:50 offby1: it must; twitter limits to 140 characters, and a log message can surely be longer than that 22:52 (join) neilv 22:54 eli: offby1: It sends one short message (with a short url) per commit. 23:00 offby1: that's cheating 23:03 (join) racket 23:03 racket: [racket] plt pushed 1 new commit to master: http://bit.ly/jDRPIQ 23:03 racket: [racket/master] fix typo - Robby Findler 23:03 (part) racket 23:19 (quit) Demosthenes: Ping timeout: 240 seconds 23:21 (join) Demosthenes 23:45 (join) racket 23:45 racket: [racket] plt pushed 1 new commit to master: http://bit.ly/iUAIa9 23:45 racket: [racket/master] add a cache to avoid calling normalize-path so often when switching tabs... - Robby Findler 23:45 (part) racket 23:48 (quit) jeapostrophe: Quit: jeapostrophe