00:06 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 00:07 (join) mizu_no_oto 00:07 (quit) wdkrnls: Ping timeout: 265 seconds 00:20 mithos28: has any one here made a custom webserver with web-server/private/dispatch-server-unit? 00:29 mithos28: anyone on? 00:30 sw2wolf: Does `raco exe` produce standalone executables ? 00:31 sw2wolf: not byte code 00:31 mithos28: for some definition of standalone, for other definitions you will need raco distribute 00:33 sw2wolf: Can `raco distribute` produce executables which can run without racket env. ? 00:33 mithos28: it should 00:33 sw2wolf: great 00:35 mithos28: sw2wolf: can you run this program, https://gist.github.com/4378177 00:35 mithos28: Does it print any output for you? 00:35 (quit) francisl: Quit: francisl 00:35 sw2wolf: wait ... 00:36 mithos28: I'm getting errors about ports already bound 00:36 mithos28: but I believe my system is just messed up 00:37 sw2wolf: >racket -t test.rkt 00:37 sw2wolf: # 00:37 sw2wolf: tcp-listen: listen failed 00:37 sw2wolf: port number: 8082 00:37 sw2wolf: system error: Address already in use; errno=48 00:37 sw2wolf: context...: 00:37 sw2wolf: run-server 00:37 mithos28: ok, its not me 00:38 mithos28: I'll post to the mailing list, thanks. 00:38 sw2wolf: welcome 00:44 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 00:44 (quit) PCChris: Ping timeout: 255 seconds 00:51 (join) PCChris 00:51 mithos28: It seems that it was the listen-ip argument that is the issue 01:03 (join) jeapostrophe 01:03 (quit) jeapostrophe: Changing host 01:03 (join) jeapostrophe 01:09 (join) francisl 01:10 (quit) francisl: Client Quit 01:13 (quit) mithos28: Quit: mithos28 01:20 (quit) kofno: Read error: Connection reset by peer 01:43 (quit) safekeeping: Quit: Leaving 01:51 (join) kofno 01:51 (quit) jeapostrophe: Ping timeout: 265 seconds 02:12 (join) wdkrnls 02:20 (quit) wdkrnls: Remote host closed the connection 03:09 (quit) jonrafkind: Ping timeout: 245 seconds 03:43 (quit) cataska: Read error: Connection reset by peer 03:44 (join) cataska 04:08 (join) Kaylin 04:12 (join) Kaylin1 04:12 (quit) Kaylin: Ping timeout: 252 seconds 04:20 (join) bitonic 04:25 (part) sw2wolf: "ERC Version 5.3 (IRC client for Emacs)" 04:26 (join) bitonic` 04:28 (quit) bitonic: Ping timeout: 260 seconds 04:38 (quit) Kaylin1: Ping timeout: 252 seconds 04:39 (join) neilv 04:53 (quit) Nisstyre-laptop: Ping timeout: 244 seconds 04:57 (quit) PCChris: Read error: Connection reset by peer 05:06 (quit) bitonic`: Ping timeout: 252 seconds 05:19 (quit) spiderweb: Quit: ERC Version 5.3 (IRC client for Emacs) 05:40 (join) bitonic 06:07 (join) masm 06:10 (join) masm1 06:12 (quit) masm: Ping timeout: 265 seconds 07:00 (quit) bitonic: Ping timeout: 252 seconds 07:09 (quit) Shviller: Read error: Connection reset by peer 07:10 (join) Shviller 07:33 (join) MayDaniel 07:46 Cryovat: Hmm 07:47 Cryovat: I "finally" upgraded to 5.3.1 07:47 Cryovat: DrRacket has improved :D 07:47 (join) tilde` 07:48 (quit) sirdancealot: Read error: Connection reset by peer 07:58 (quit) kofno: Read error: Connection reset by peer 08:00 (join) kofno 08:56 (join) mizu_no_oto 08:58 (quit) mizu_no_oto: Client Quit 09:04 (join) anRch 09:11 (join) mizu_no_oto 09:12 (join) acarrico 09:13 (quit) kofno: Read error: Connection reset by peer 09:14 (join) kofno 09:18 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 09:22 (quit) acarrico: Ping timeout: 244 seconds 09:27 (join) mithos28 09:46 (join) mizu_no_oto 09:51 (quit) mizu_no_oto: Ping timeout: 252 seconds 09:59 mithos28: Anyone on here with an os X machine running 10.8.1 or earlier? 10:02 (join) Nisstyre-laptop 10:04 greghendershott: mithos28: Yes. 10.7.5 10:05 (join) RacketCommitBot 10:05 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/9nBMXQ 10:05 RacketCommitBot: racket/master 0a6d882 Robby Findler: adjust DrRacket logging support following comments from Neil Van Dyke... 10:05 (part) RacketCommitBot 10:05 mithos28: greghendershott: Can you run, https://gist.github.com/4378177 10:06 mithos28: and tell me if it works or gets an error with the port already being bound 10:06 greghendershott: mithos28: OK …. 10:07 greghendershott: I get prompted, "Do you want to allow DrRacket to accept incoming connections?". I answer Yes, it doesn't error. 10:08 mithos28: Ok, thanks 10:19 (quit) mithos28: Quit: mithos28 10:21 anRch: Is there a zeromq v3.x library? 10:28 (join) mithos28 10:29 (join) jeapostrophe 10:29 (quit) jeapostrophe: Changing host 10:29 (join) jeapostrophe 10:31 mithos28: jeapostrophe: ping 10:32 jeapostrophe: mithos28: pong 10:32 mithos28: It failed with the same error message 10:32 mithos28: and also if I changed it to 8786, which should not be bound by anything 10:33 mithos28: But works if I change #f to "127.0.0.1" 10:33 jeapostrophe: Then the problem is with the Racket VM and you should CC Matthew and draw his attention to the post 10:33 mithos28: k, will do 10:35 (quit) anRch: Quit: anRch 10:38 (join) anRch 10:39 (quit) anRch: Client Quit 10:48 (join) safekeeping 10:58 (join) mizu_no_oto 11:10 (quit) mithos28: Quit: mithos28 11:18 (join) mithos28 11:25 (quit) mithos28: Quit: mithos28 11:27 (join) netrino 11:32 (quit) cdidd: Read error: Connection reset by peer 11:46 (join) add^_ 12:18 (join) bitonic 12:21 (join) francisl 12:36 danking: I'm sure this has been asked a thousand times but how do I get the effect of taking ((a ...) (b ...)) and making (a b a b a b ...) with syntax-patterns? 12:38 danking: Specifically, I'm taking two matched lists and passing them to `hash'. 12:40 danking: Hmm, I'm still curious how to do the above, but it looks like I can use make-immutable-hash with pairs 12:49 (quit) tilde`: Ping timeout: 250 seconds 12:51 (join) tilde` 12:58 (quit) mizu_no_oto: Quit: ["Textual IRC Client: www.textualapp.com"] 12:58 (quit) tilde`: Ping timeout: 255 seconds 12:59 (join) mithos28 13:06 greghendershott: danking: Not sure if the best way, but how about: https://gist.github.com/4381886 13:15 (join) RacketCommitBot 13:15 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/b9-rdg 13:15 RacketCommitBot: racket/master 18a5380 Matthew Flatt: guide: improve explanation of transformer procedures and identifier macros 13:15 RacketCommitBot: racket/master 7bddce8 Matthew Flatt: fix GC bug... 13:15 (part) RacketCommitBot 13:21 (join) univyrse 13:26 (join) jonrafkind 13:27 (join) dyoo 13:33 (quit) neilv: Quit: Leaving 13:35 (join) kofno_ 13:37 (quit) kofno: Read error: Connection reset by peer 13:37 (join) dnolen 13:43 (join) anRch 13:44 danking: greghendershott: I guess that works, but I hoped that there would be a pattern-matching way to express it. 13:44 danking: :/ 13:46 mithos28: danking: (make-hash (list (cons a b)) ...) 13:46 danking: Also, anyone know the syntax-parse equivalent of (first (left right) ... last) ? I've tried ((~seq first:id (~rest (left:id right:id))) last:id) and it fails with "unexpected term" on whatever the last non-pair element is. 13:47 mithos28: (~seq first:id (left:id right:id) … last:id) should work 13:48 danking: Hmm. 13:48 danking: I've been scared away from ellipses in syntax-parse match patterns, things always go wrong. 13:48 danking: I'll give it a try though. 13:51 danking: mithos28: Thanks it works 13:51 (join) sirdancealot 13:52 greghendershott: danking: If you don't mind using  (http://docs.racket-lang.org/reference/require.html?q=syntax-parse#(form._((lib._racket/private/base..rkt)._require)) http://docs.racket-lang.org/syntax/Experimental.html?q=syntax-parse#(mod-path._syntax/parse/experimental/template)) then the ?@ template might work? 13:52 greghendershott: http://docs.racket-lang.org/syntax/Experimental.html#(form._((lib._syntax/parse/experimental/template..rkt)._~3f~40)) 13:52 greghendershott: Sorry the previous message was copy/paste got URIs in it. I meant (require syntax/parse/experimental/template) 13:54 danking: greghendershott: Ah, that's sweet 13:55 greghendershott: That one example seems exactly what you're asking for 13:55 danking: Yes, it is exactly what I seek. 13:57 greghendershott: danking you figured out my mangled URI, but for anyone else it's the doc for `template`: http://docs.racket-lang.org/syntax/Experimental.html#(form._((lib._syntax/parse/experimental/template..rkt)._template)) 13:59 danking: I need to teach my terminal to recognize urls with parents. 14:01 danking: Ah, this ?@ syntax is awesome, it's much easier to see what the resulting syntax will be. 14:16 (quit) anRch: Quit: anRch 14:17 (quit) dyoo: Quit: dyoo 14:19 (quit) jeapostrophe: Ping timeout: 255 seconds 14:23 (quit) mithos28: Quit: mithos28 14:32 (quit) netrino: Ping timeout: 252 seconds 14:37 (join) spiderweb 14:40 (nick) spiderweb -> pdp11 14:43 (quit) bitonic: Ping timeout: 246 seconds 14:43 (quit) francisl: Quit: francisl 14:46 (join) netrino 15:00 (join) dyoo 15:18 (join) Kaylin 15:26 (join) mithos28 15:52 (quit) Kaylin: Read error: Connection reset by peer 15:53 (quit) mithos28: Quit: mithos28 15:54 (join) jeapostrophe 15:55 (quit) jeapostrophe: Changing host 15:55 (join) jeapostrophe 16:01 (quit) jeapostrophe: Ping timeout: 252 seconds 16:12 (join) tilde` 16:14 (quit) netrino: Ping timeout: 250 seconds 16:20 (join) mithos28 16:22 (join) Nisstyre 16:22 (quit) mithos28: Client Quit 16:25 (join) mithos28 17:01 (quit) myx: Ping timeout: 250 seconds 17:09 (quit) kofno_: Remote host closed the connection 17:15 danking: Are you allowed to have doubly nested attributes? 17:15 danking: i.e. foo.bar.baz ? 17:18 (join) anRch 17:19 (join) tilde`_ 17:19 asumu: danking: I don't think so. 17:19 asumu: I just tried and couldn't get it to work. 17:21 danking: asumu: Likewise. 17:21 danking: I always get turned around when I try to use syntax classes 17:21 danking: I get the impression that I don't understand them well so I end up feeling hamstrung. 17:22 (quit) tilde`: Ping timeout: 252 seconds 17:22 univyrse: okay, ruby has rubyists, racket should be racketeers 17:22 (nick) tilde`_ -> tilde` 17:22 asumu: Usually if you want to access several levels down, you just re-export attributes. 17:22 univyrse: although racketeering is misleading 17:22 asumu: univyrse: it's an intentional pun. 17:23 univyrse: i dont follow 17:24 Cryovat: Boo 17:24 Cryovat: The Racket version in Ubuntu 12.10 is very old :( 17:25 asumu: univyrse: originally, the name "Scheme" came from the MIT tradition of naming, e.g., "Planner" 17:25 mithos28: and conniver 17:25 asumu: It was supposed to be "Schemer" but there was a character limit issue on some computer. 17:27 (quit) safekeeping: Quit: Page closed 17:27 univyrse: oh 17:27 asumu: Afterwards, it became a tradition to name Scheme implementations with names like Larceny, Gambit, and so on. 17:27 univyrse: interesting 17:28 Cryovat: Possibly it was also a clever ploy to prevent major companies from adopting it ;) 17:29 danking: asumu: Doesn't rexporting them seem wrong though? 17:29 danking: I always get the sense that, when I'm playing the macro-engineer, I am doing things the "wrong way" and it bothers me. 17:30 asumu: danking: well, using multiple dots would also violate the Law of Demeter. :p 17:32 asumu: Cryovat: they didn't try hard enough. They should've named it "Brainfuck". ;) 17:33 Cryovat: :D 17:34 danking: blah 17:34 danking: Maybe this whole idea is engineered wrong. 17:34 danking: You know when you get to that point where you've built a giant steaming heap of code? 17:35 danking: It's that time. I think I better put it away and just re-write it tomorrow with a fresh head. 17:38 (part) add^_ 17:39 (join) netrino 17:40 (join) kofno 17:58 univyrse: do you guys think that scheme will eventually turn into common lisp? some people on hackernews were discussing how r6rs is getting feature heavy 18:05 asumu: univyrse: I don't know about Scheme. R6RS certainly had many features that a pratical language needs (e.g., hashtables), but some of that is not in R7RS. 18:05 asumu: And probably R6RS was not enough anyway. 18:06 (quit) dyoo: Quit: dyoo 18:06 mithos28: r6rs was considered feature heavy for adding a sane module system 18:06 asumu: Racket is probably getting closer to CL in terms of features and libraries. 18:08 (quit) jonrafkind: Ping timeout: 250 seconds 18:14 Cryovat: Feels like R7RS is going in the right direction by having a slim and heavy profile 18:26 (join) mizu_no_oto 18:36 (join) cdidd 18:36 (join) jeapostrophe 18:36 (quit) jeapostrophe: Changing host 18:36 (join) jeapostrophe 18:41 (quit) cdidd: Ping timeout: 255 seconds 18:45 (join) Kaylin 18:47 (quit) anRch: Quit: anRch 18:57 (join) cdidd 19:03 (quit) Kaylin: Quit: Leaving. 19:05 (quit) mithos28: Read error: Connection reset by peer 19:05 (join) mithos28 19:08 (quit) kofno: Read error: Connection reset by peer 19:09 (join) kofno 19:11 (quit) MayDaniel: Read error: Connection reset by peer 19:18 (quit) netrino: Remote host closed the connection 19:28 (join) netrino 19:28 (join) mye 19:30 (join) dyoo 19:47 (quit) kofno: Remote host closed the connection 19:53 (quit) dnolen: Ping timeout: 255 seconds 20:01 (join) acarrico 20:04 (quit) masm1: Quit: Leaving. 20:05 mithos28: If I have a number is there a way to get it in the form of bytes? (Using twos complement unsigned representation) 20:06 mithos28: say 258 => "\x01\x02" 20:07 (join) mye_ 20:08 (quit) mye: Ping timeout: 252 seconds 20:08 (nick) mye_ -> mye 20:09 asumu: mithos28: does integer->integer-bytes do what you want? 20:10 mithos28: Yes, i was looking up the wrong name, number->bytes 20:10 mithos28: thanks 20:13 mithos28: asumu: Do you have any local root collections installed with raco link? 20:16 (join) francisl 20:18 (join) bitonic 20:26 (quit) mizu_no_oto: Quit: ["Textual IRC Client: www.textualapp.com"] 20:36 (join) jonrafkind 20:37 (quit) jeapostrophe: Ping timeout: 260 seconds 20:40 (quit) bitonic: Ping timeout: 265 seconds 20:51 (quit) acarrico: Ping timeout: 245 seconds 20:53 (join) kofno 21:34 (join) safekeeping 21:37 (join) Kaylin 21:41 (join) m23 21:50 (join) felipe_Brz 21:56 (quit) mithos28: Quit: mithos28 21:58 (join) sw2wolf 22:11 m23: can anyone help me? I'm trying to install racket on Debian squeeze 22:18 sw2wolf: Even `plt-web-server -p 8000` reports "address already used ..." error ?! 22:19 sw2wolf: how can we ensure the racket software's quality ? 22:23 (part) netrino 22:24 (quit) m23: Quit: Leaving 22:39 jonrafkind: donate money to hire more grad students 22:41 sw2wolf: jonrafkind: good suggestion 22:45 univyrse: would that actually work? 22:46 jonrafkind: well its a complex situation, but i guess it could if you gave enough 22:46 (quit) Nisstyre-laptop: Ping timeout: 252 seconds 22:47 (join) jeapostrophe 22:47 (quit) jeapostrophe: Changing host 22:47 (join) jeapostrophe 23:00 (quit) dyoo: Quit: dyoo 23:05 (join) mithos28 23:17 (quit) felipe_Brz: Remote host closed the connection 23:17 (quit) Shvillr: Ping timeout: 252 seconds 23:17 (join) Shvillr 23:35 (join) dyoo 23:40 (join) RacketCommitBot 23:40 RacketCommitBot: [racket] plt pushed 4 new commits to master: http://git.io/a1g6gA 23:40 RacketCommitBot: racket/master 10137dc Robby Findler: fix bug in help/search docs 23:40 RacketCommitBot: racket/master 8a3f662 Robby Findler: git rid of thread unsafe use of load-collections-xref... 23:40 RacketCommitBot: racket/master f6805ea Robby Findler: remove fancy delay dance around load-collections-xref 23:40 (part) RacketCommitBot 23:41 (quit) Kaylin: Quit: Leaving. 23:42 (quit) kofno: Remote host closed the connection 23:49 univyrse: i like that you can combine structs and keep their keywords independent to each struct 23:50 (join) dnolen 23:52 sw2wolf: ?wn racket