00:02 (quit) JStoker: Ping timeout: 252 seconds 00:03 (join) want 00:03 want: helo 00:03 want: any one there? 00:04 want: I want to pass files to my racket file in linux command line 00:04 want: ? 00:04 want: line 00:04 want: > 00:05 didi: want: What? 00:09 (quit) want: Ping timeout: 245 seconds 00:09 (join) JStoker 00:10 (quit) didi: Quit: ERC Version 5.3 (IRC client for Emacs) 00:11 (join) cored 00:11 (quit) cored: Changing host 00:11 (join) cored 00:12 (quit) cored: Read error: Connection reset by peer 00:18 (join) cored 00:18 (quit) cored: Changing host 00:18 (join) cored 00:25 (quit) cored: Read error: Connection reset by peer 00:30 (join) cored 00:30 (quit) cored: Changing host 00:30 (join) cored 00:31 (join) cdidd 00:33 dyoo: here 00:33 dyoo: want: sorry, was busy doing a bit. Were you the one who wrote on the mailing list? 00:33 mithos28: I think they left 00:34 dyoo: doh 00:42 mithos28: eli: I have solved my issue with the docs page. I installed custom css to make it disapear 00:43 (join) mizu_no_oto 00:46 (quit) dyoo: Quit: dyoo 00:55 (quit) cored: Read error: Connection reset by peer 01:01 (join) cored 01:04 (join) asvil 01:05 (quit) mizu_no_oto: Ping timeout: 252 seconds 01:06 (quit) cored: Read error: Connection reset by peer 01:12 (join) cored 01:12 (quit) cored: Changing host 01:12 (join) cored 01:17 (quit) cored: Read error: Connection reset by peer 01:21 (join) ambrosebs 01:22 (join) cored 01:22 (quit) cored: Changing host 01:22 (join) cored 01:36 (quit) cored: Read error: Connection reset by peer 01:41 (join) cored 01:41 (quit) cored: Changing host 01:41 (join) cored 01:44 (quit) cored: Read error: Connection reset by peer 01:49 (join) cored 01:49 (quit) cored: Changing host 01:49 (join) cored 01:49 (quit) cored: Read error: Connection reset by peer 02:10 (quit) Fare: Quit: Leaving 02:11 (join) bjz 02:13 (join) pierpa 02:13 (join) cored 02:13 (quit) cored: Changing host 02:13 (join) cored 02:13 (quit) cored: Read error: Connection reset by peer 02:24 (join) mizu_no_oto 02:28 (quit) mizu_no_oto: Ping timeout: 264 seconds 02:33 (quit) ambrosebs: Remote host closed the connection 02:44 (quit) mceier: Quit: leaving 02:51 (join) cored 02:51 (quit) cored: Changing host 02:51 (join) cored 02:53 (join) Shambles_1 02:56 eli: mithos28: Make what disappear? 02:56 mithos28: eli: the custom search box 02:56 (quit) Shambles_: Ping timeout: 245 seconds 02:56 (quit) yacks: Ping timeout: 260 seconds 02:56 eli: That's a rather brute force way of solving it... 02:57 mithos28: Well brute force would be using a http proxy to rewrite the html stream 02:57 mithos28: css after the fact is minor compared to that 02:57 (join) ambrosebs 02:58 eli: Yes, of course. The bruteness is in just making it go away rather than tweak things more politely. 02:58 mithos28: I tweaked its visibility 02:59 eli: Yes, I got that. 03:00 (quit) cored: Read error: Connection reset by peer 03:01 asvil: Hi all. It seems that racket3m generated sources in worksp/gc2/xsrc are not updated during build.bat? 03:06 mithos28: asvil: Sorry I don't know anything about how the windows build works. 03:10 (join) basdirks 03:12 (join) cored 03:12 (quit) cored: Changing host 03:12 (join) cored 03:14 (quit) cored: Read error: Connection reset by peer 03:16 (join) yacks 03:17 (quit) basdirks: Ping timeout: 256 seconds 03:24 (join) sw2wolf 03:30 (join) Gonzih 03:31 (join) cored 03:32 (quit) cored: Read error: Connection reset by peer 03:33 (join) jao 03:33 (quit) jao: Changing host 03:33 (join) jao 03:34 (quit) micaeked: Quit: WeeChat 0.4.0 03:36 (join) snowylike 03:38 (join) mceier 03:39 (join) cored 03:48 (quit) cored: Read error: Connection reset by peer 04:00 (quit) racycle: Quit: racycle 04:00 (join) cored 04:00 (quit) cored: Changing host 04:00 (join) cored 04:00 (quit) cored: Read error: Connection reset by peer 04:04 (join) lusory 04:12 (join) cored 04:12 (quit) cored: Changing host 04:12 (join) cored 04:14 (quit) cored: Read error: Connection reset by peer 04:15 (quit) mithos28: Quit: mithos28 04:19 (join) sizz_ 04:20 (quit) sizz: Ping timeout: 255 seconds 04:20 (join) cored 04:23 (join) BakaKuna1 04:25 (quit) cored: Read error: Connection reset by peer 04:29 (join) basdirks 04:34 (quit) jao: Ping timeout: 256 seconds 04:37 (quit) basdirks: Ping timeout: 245 seconds 04:41 (join) hkBst 04:44 (quit) Gonzih: Ping timeout: 252 seconds 04:48 (join) cored 04:48 (quit) cored: Changing host 04:48 (join) cored 04:50 (quit) cored: Read error: Connection reset by peer 04:51 (quit) hkBst: Read error: Connection reset by peer 04:51 (join) hkBst 04:51 (quit) hkBst: Changing host 04:51 (join) hkBst 04:56 (join) cored 04:56 (quit) cored: Changing host 04:56 (join) cored 04:58 (quit) ambrosebs: Remote host closed the connection 05:01 (quit) cored: Read error: Connection reset by peer 05:04 (join) bitonic 05:04 (join) dzhus 05:04 (quit) hkBst: Remote host closed the connection 05:05 (join) hkBst 05:05 (part) sw2wolf: "ERC Version 5.3 (IRC client for Emacs)" 05:07 (join) cored 05:09 (quit) Kaylin: Read error: Connection reset by peer 05:12 (join) igstan 05:23 (quit) yacks: Ping timeout: 245 seconds 05:23 (join) yacks 05:30 (join) Cryovat 05:30 Cryovat: I think this is probably the right place to ask 05:30 Cryovat: I want to read an introduction to compilers 05:30 Cryovat: What's a good book? The dragon one? 05:33 igstan: I'm not an expert in this field, but I really liked this open course http://cs.brown.edu/courses/csci1730/2012/ 05:34 igstan: there's online book + videos 05:35 Cryovat: That looks excellent 05:35 Cryovat: Thanks :) 05:35 igstan: you're welcome. I hope you'll enjoy it as much as I did. 05:42 hkBst: Cryovat: there is also Lisp in Small Pieces 05:46 Cryovat: There doesn't seem to be a Kindle version of any of the compiler books :( 05:49 (quit) bjz: Ping timeout: 256 seconds 05:51 (join) vkz 05:51 (join) bjz 05:52 (quit) yacks: Ping timeout: 276 seconds 05:54 (quit) hkBst: Remote host closed the connection 05:56 (join) hkBst 05:56 (quit) hkBst: Changing host 05:56 (join) hkBst 06:09 (quit) Nisstyre: Read error: Operation timed out 06:14 (quit) DrDuck: Read error: Connection reset by peer 06:16 (join) yacks 06:24 (join) Nisstyre 06:38 (join) Gonzih 07:08 (join) ambrosebs 07:27 (quit) Gonzih: Read error: Connection reset by peer 07:34 (quit) igstan: Quit: igstan 07:43 (join) Gonzih 07:48 (quit) skchrko: Quit: . 07:48 (quit) yacks: Ping timeout: 252 seconds 08:07 (join) sizz 08:07 (quit) sizz_: Ping timeout: 255 seconds 08:10 (quit) Gonzih: Ping timeout: 258 seconds 08:27 (join) skchrko 08:33 nyuszika7h: dy 08:33 nyuszika7h: oops 08:37 (join) soegaard 08:41 (join) yacks 08:42 (quit) bitonic: Ping timeout: 264 seconds 08:48 (join) Fare 08:52 (join) igstan 08:58 (join) Gonzih 09:03 (quit) Gonzih: Ping timeout: 258 seconds 09:21 (join) bitonic 09:40 (join) jeapostrophe 09:40 (quit) jeapostrophe: Changing host 09:40 (join) jeapostrophe 09:50 (quit) hkBst: Ping timeout: 258 seconds 09:55 (join) hkBst 09:55 (quit) hkBst: Changing host 09:55 (join) hkBst 09:59 stamourv: Cryovat: Re compilers textbooks: Sadly, I don't know of any great ones. 09:59 stamourv: I would recommend staying away from the dragon book, it's outdated. 10:00 stamourv: Some people like the Tiger book (Appel's Modern Compiler Implementation in $LANG). It's a bit better, but IMO it has some pretty serious flaws too. 10:00 stamourv: I've heard good things about Cooper and Torczon's Engineering a Compiler, but haven't checked it out yet. (I really should.) 10:01 Cryovat: Wow, the Kindle edition of the last one there is 72$ 10:01 stamourv: I've had a look at Amal Ahmed's lecture notes (she's teaching compilers at NEU this semester), and I liked what I saw. 10:02 stamourv: It's based on Greg Morrissett's course at Harvard. 10:02 stamourv: Lecture notes and assignments are online: http://www.ccs.neu.edu/home/amal/course/4410-s13/ 10:02 stamourv: Dunno if the lecture notes are enough on their own, though. 10:03 stamourv would really like to write his own compilers textbook, one day. 10:03 Cryovat: Thank you, I'll have a look at these :) 10:03 Cryovat: I can apparently rent Engineering for a month for 10$ 10:03 stamourv .oO(Post-Modern Compiler Implementation in Racket?) 10:04 Cryovat: Seems like a better option than paying 70$ to figure out if it's wortwhile 10:04 stamourv: Meh. I got mixed feelings about that idea. 10:04 stamourv: On the one hand, you're right. On the other, you may be at it for 7+ months, especially if you're doing it part-time. 10:05 Cryovat: Need to catch a bus, sorry 10:05 stamourv: And keeping the book around can be handy if you want to refresh your memory later. 10:05 Cryovat: I'll be back a bit later 10:05 stamourv: I'll probably still be here. ;) 10:05 stamourv just started his day. 10:05 (join) anRch 10:08 (quit) BakaKuna: Quit: WeeChat 0.3.8 10:12 (quit) snowylike: Quit: Nettalk6 - www.ntalk.de 10:16 (join) racycle 10:20 (join) egnarts-ms 10:21 (join) mizu_no_oto 10:24 (quit) snorble_: Read error: Connection reset by peer 10:24 (join) snorble_ 10:25 (join) bitonic` 10:25 (quit) bitonic: Read error: Connection reset by peer 10:31 (join) Gonzih 10:33 (join) BakaKuna 10:36 (quit) asvil: Read error: Operation timed out 10:36 (quit) BakaKuna: Quit: WeeChat 0.4.0 10:39 (join) BakaKuna 10:44 (quit) igstan: Quit: igstan 10:45 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 10:51 (join) mizu_no_oto 10:54 (quit) jeapostrophe: Ping timeout: 240 seconds 10:55 (quit) mizu_no_oto: Ping timeout: 240 seconds 10:55 (join) carleastlund 10:58 (quit) BakaKuna: Quit: WeeChat 0.4.0 11:00 (join) didi 11:02 (quit) mceier: Quit: leaving 11:02 (quit) dca_: Quit: ZNC - http://znc.in 11:03 (join) dca 11:05 (quit) dca: Client Quit 11:08 (join) dca 11:18 (join) BakaKuna 11:18 (quit) anRch: Quit: anRch 11:21 (quit) Gonzih: Read error: Operation timed out 11:25 (join) mizu_no_oto 11:28 (join) jbclements 11:34 (join) Kaylin 11:40 (quit) egnarts-ms: Ping timeout: 245 seconds 11:42 (quit) hkBst: Read error: Connection reset by peer 11:42 (join) hkBst 11:46 (nick) bitonic` -> bitonic 11:47 (quit) Kaylin: Read error: Connection reset by peer 11:47 (join) mye 11:51 (quit) Nisstyre: Ping timeout: 256 seconds 11:51 (join) Aune 11:55 didi: samth: What if rackunit could install a new `exit-handler'? 11:56 (quit) mye: Quit: mye 11:57 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 11:59 (quit) ambrosebs: Remote host closed the connection 12:01 (quit) BakaKuna1: Remote host closed the connection 12:02 didi: Hum, I think I misunderstood what `exit-handler' does. 12:04 (join) Nisstyre 12:05 (join) jeapostrophe 12:05 (quit) jeapostrophe: Changing host 12:05 (join) jeapostrophe 12:07 (quit) hkBst: Read error: Connection reset by peer 12:09 (join) mithos28 12:10 (join) Kaylin 12:17 (join) mceier 12:48 (join) micaeked 12:50 (join) sirdancealo2 12:58 (join) DanBurton 13:18 (join) Gonzih 13:19 (join) anRch 13:28 (quit) skchrko: Quit: . 13:31 (quit) Kaylin: Quit: Leaving. 13:38 (quit) anRch: Ping timeout: 260 seconds 13:39 (join) anRch 13:40 (quit) didi: Ping timeout: 256 seconds 13:41 (join) ncw 13:53 (quit) jeapostrophe: Ping timeout: 246 seconds 13:58 (quit) jbclements: Quit: jbclements 14:01 (quit) ohama: Quit: leaving 14:02 (join) jbclements 14:03 (join) ohama 14:16 (quit) anRch: Quit: anRch 14:21 (quit) Gonzih: Read error: Connection reset by peer 14:40 (join) dyoo 14:43 (quit) Fare: Quit: Leaving 14:45 dented42: Is there a reason why syntax-case doesn't allow boxes or hash tables in templates, thereby not making it useful for deconstructing those kinds of syntax objects? 14:46 dyoo: it doesn't? Checking... 14:47 dented42: rudybot: (syntax-case #'(a #(b c) #&1) () [(a b #&c) #'c]) 14:47 rudybot: dented42: your sandbox is ready 14:47 rudybot: dented42: error: #:1:15: a: bad syntax in: (a #(b c) #&1) 14:47 dented42: dyoo: unless I'm doing something wrong. 14:47 dyoo: checking... 14:48 dyoo: so vectors seem to do ok. Putting up a gist. 14:48 dyoo: dented42: https://gist.github.com/dyoo/5207339 14:48 dyoo: I haven't tried hash tables or templates yet. Testing that next. 14:49 dented42: yes, vectors and prefab structs work. 14:50 dented42: they aren't allowed according to the pattern grammar in the documentation 14:50 dented42: http://docs.racket-lang.org/reference/stx-patterns.html 14:52 (join) jeapostrophe 14:53 (join) dauterive 14:55 (join) Fare 14:55 dyoo: dented42: good question; I don't know the answer. I can conjecture that since syntax-case is something shared with the other Schemes, it was developed without the extensions that Racket provides (boxes, hash literals). But I'm talking in ignorance: I don't know. 14:56 dyoo: dented42: e.g. http://www.cs.indiana.edu/chezscheme/syntax-case/old-psyntax.html 14:57 dented42: that seems like a good explanation. 14:57 dyoo: But I suspect that syntax-parse would be free to break away and support additional patterns like hash literals. I haven't tried it yet though, and I currently can't try it out due to lack of time. 14:58 dyoo: Also, it would be good to ask the list. Maybe it was just a simple oversight. :) 14:59 dented42: ok 14:59 dented42: I shall 14:59 dented42: thanks ^_^ 15:00 (join) DanBurto_ 15:04 (quit) DanBurton: Ping timeout: 272 seconds 15:23 (quit) DanBurto_: Remote host closed the connection 15:26 (quit) dyoo: Quit: dyoo 15:35 (join) dyoo 15:40 soegaard: Apropos boxes and syntax: http://lists.racket-lang.org/users/archive/2009-November/036876.html 15:52 (quit) Fare: Ping timeout: 264 seconds 15:52 (join) dnolen 15:56 (join) DanBurton 16:05 (quit) jeapostrophe: Ping timeout: 256 seconds 16:12 (quit) yacks: Remote host closed the connection 16:12 aidy: are there people who use hashmaps instead of structs in Racket? (As in more of a Clojure programming style) 16:12 aidy: I've been wondering what the benefits or drawbacks are to doing this 16:22 (join) bitonic 16:24 (join) didi` 16:24 (nick) didi` -> didi 16:29 (quit) dnolen: Ping timeout: 264 seconds 16:30 (quit) bitonic: Ping timeout: 264 seconds 16:30 (join) jao 16:30 (quit) jao: Changing host 16:30 (join) jao 16:31 (quit) Aune: Quit: Hath Deprated 16:31 ozzloy: (build-path "a/b/c" "..") 16:32 ozzloy: rudybot, (build-path "a/b/c" "..") 16:32 rudybot: ozzloy: your sandbox is ready 16:32 rudybot: ozzloy: ; Value: # 16:32 ozzloy: rudybot, (simplify-path (build-path "a/b/c" "..")) 16:32 rudybot: ozzloy: ; Value: # 16:33 stamourv: rudybot: We know where you live! 16:33 rudybot: stamourv: is in fact going to an MST3K live action tonight. 16:33 didi: rudybot: (build-path "a/b/c" 'up) 16:33 rudybot: didi: your sandbox is ready 16:33 rudybot: didi: ; Value: # 16:33 ozzloy: is there a way to take "a/b/c" and ".." and get "a/b" by itself? 16:33 stamourv: ozzloy: Maybe `split-path' would work. 16:34 stamourv: rudybot: (split-path (build-path "a/b/c/")) 16:34 rudybot: stamourv: your sandbox is ready 16:34 rudybot: stamourv: ; Value: # 16:34 rudybot: stamourv: ; Value#2: # 16:34 rudybot: stamourv: ; Value#3: #t 16:35 ozzloy: ok, what if i have "a/b/c" and "../.." 16:35 ozzloy: what i really want is to simplify a relative path 16:36 stamourv: rudybot: (simplify-path (build-path "a/b/c" "..") #f) 16:36 rudybot: stamourv: ; Value: # 16:36 stamourv: ozzloy: ^ 16:36 ozzloy: ohho! 16:37 stamourv: The docs are not super clear about what that flag does, though. 16:37 stamourv: Wanna write a documentation patch? 16:37 stamourv: It's easy. :) 16:38 ozzloy: i have done it before 16:38 ozzloy: i might do it for this 16:38 stamourv: :D 16:38 stamourv: Simplifying a relative path is a reasonable use case, and the docs don't really explain that the flag also does that. 16:39 ozzloy: based on the name, i thought it just checked whether the resulting path is valid on the current filesystem 16:43 (join) juanfra 16:45 (quit) dyoo: Quit: dyoo 16:53 (join) Nisstyre-laptop 17:02 ozzloy: rudybot, (make-directory "../surely-you-check-for-this") 17:02 rudybot: ozzloy: your sandbox is ready 17:02 rudybot: ozzloy: error: make-directory: `write' access denied for ../surely-you-check-for-this 17:02 ozzloy: really? 17:03 stamourv: What? 17:03 stamourv: The sandbox caught it, as it should. 17:03 ozzloy: i would think rudybot would check for that 17:03 ozzloy: no, looks like the filesystem permissions caught it 17:04 stamourv: rudybot: (make-directory "/tmp/foo") 17:04 rudybot: stamourv: error: make-directory: `write' access denied for /tmp/foo 17:04 stamourv: Try it at home, I'm pretty sure it's the sandbox. 17:04 ozzloy: oh 17:05 ozzloy: yeah, i just tried it and "system error" instead 17:06 m4burns: rudybot: (call-with-limits 1 1 (thunk (printf "asdf"))) 17:06 rudybot: m4burns: your sandbox is ready 17:06 rudybot: m4burns: error: call-with-limits: undefined; cannot reference an identifier before its definition in module: 'program 17:06 m4burns: rudybot: (require racket/sandbox) 17:06 rudybot: m4burns: Done. 17:06 m4burns: rudybot: (call-with-limits 1 1 (thunk (printf "asdf"))) 17:06 rudybot: m4burns: ; stdout: "asdf" 17:06 m4burns: hmm 17:06 (join) cnonim 17:09 cnonim: hi all 17:10 stamourv: m4burns: Yo dawg, I heard you like sandboxes, so I put a sandbox in your sandbox so you can eval while error: with-limit: out of time. 17:10 cnonim: example: https://gist.github.com/cNoNim/c9dc60749d7c8de70684 17:10 m4burns: stamourv: haha 17:10 cnonim: i have hash map where some values mapped to set of dependicies 17:11 cnonim: how i can build dependencies tree from this hash? 17:12 cnonim: where root is values without dependencies 17:12 stamourv: cnonim: Start by writing a data definition for trees. 17:17 cnonim: I'm actually not sure that I really need it), my main goal is to find a recursive dependence 17:17 (quit) cored: Ping timeout: 256 seconds 17:18 cnonim: another example: ) 17:18 cnonim: rudybot: (letrec ([X Y] [Y X]) Y) 17:18 rudybot: cnonim: your sandbox is ready 17:18 rudybot: cnonim: ; Value: # 17:18 stamourv: Well, in that case, you can just access the hash, the access it again for everything you find, and so on. 17:18 (join) cored 17:18 (quit) cored: Changing host 17:18 (join) cored 17:19 cnonim: letrec works only if we have runtime dependence 17:19 cnonim: like 17:19 (quit) vkz: Quit: vkz 17:19 cnonim: rudybot: (letrec ([X (lambda () Y)] [Y X]) Y) 17:19 rudybot: cnonim: ; Value: # 17:19 cnonim: but not work if 17:19 cnonim: rudybot: (letrec ([X Y] [Y X]) Y) 17:19 rudybot: cnonim: ; Value: # 17:20 stamourv: Correct. 17:20 m4burns: rudybot: (define d (parameterize [(sandbox-path-permissions `((read ,(byte-regexp #"/.*"))))] (make-evaluator 'racket))) 17:20 rudybot: m4burns: error: links: cannot find installation collections path 17:20 cnonim: my hash it's representation of dependencies for letrec 17:21 m4burns: mmm. 17:21 stamourv: cnonim: Right. And what information do you want? 17:22 cnonim: example (hash 'X (set 'Y) 'Y (set 'X)) 17:23 cnonim: how i can choose dependence which should be in runtime 17:23 cnonim: ? 17:24 stamourv: I don't understand your question. 17:30 cnonim: rudybot: (letrec ([X (Y)] [Y (X)]) Y) 17:30 rudybot: cnonim: error: application: not a procedure; expected a procedure that can be applied to arguments given: # arguments...: [none] 17:31 cnonim: rudybot: (letrec ([X ((lambda () Y))] [Y (X)]) Y) 17:31 rudybot: cnonim: error: application: not a procedure; expected a procedure that can be applied to arguments given: # arguments...: [none] 17:32 stamourv: cnonim: Are you trying to automatically generate letrec expressions? 17:32 (join) rich1 17:32 cnonim: yes 17:32 stamourv: Ah, ok. 17:33 stamourv: I recommend you check out Kent Dybvig's paper Fixing Letrec. I think it may be relevant. 17:34 cnonim: thx 17:34 cnonim left to read 17:36 rich1: just a thanks and well done on the installer for windows + *nix and build instructions - pain free and well documented/explained during the process 17:37 stamourv: :D 17:37 stamourv: Glad to hear everything went well! 17:37 stamourv: The Racket team takes documentation and usability seriously, so it's nice to see that it's working. 17:38 (quit) ncw: Remote host closed the connection 17:38 rich1: it's certainly appreciated this end. 17:39 rich1: just need a new simple project - i only get a bit of time to learn racket 17:39 stamourv: Did you check out the intro projects page on the wiki? 17:40 rich1: didn't know there was one. i check the guide and ref. docs though. 17:40 (quit) dzhus: Read error: Operation timed out 17:40 stamourv: Looking up the link. 17:40 stamourv: https://github.com/plt/racket/wiki/Intro-Projects 17:40 rich1: checking 17:41 stamourv: Feel free to claim any of them! :) 17:41 rich1: (in dreamland) i know i wanted to play with SequenceAlignment (Mathematica function) - but i'm not clever enough to implement and couldn't find an existing implementation to play with 17:42 rich1: ah the IRC log highlighter! that is actually something i've wanted myself as the plain text one is quite hard for me to read 17:44 rich1: as a design - couldn't it be (highlight-irc text-log) => html-log 17:44 stamourv: I believe jschuster is working on an IRC library. That may come in handy. 17:46 jschuster: rich1: I am indeed working on a client library. See https://pkg.racket-lang.org/info/irc for a very early version 17:46 stamourv: https://github.com/schuster/racket-irc 17:46 stamourv: jschuster: You're surprisingly hard to find on github. 17:46 (join) ncw 17:46 stamourv: There are like 3 people with your name. 17:46 jschuster: yeah, jschuster was already taken, so I had to take schuster instead 17:47 jschuster: one of them is probably the guy who registered jonathanschuster.com ahead of me 17:47 jschuster: rich1: if you end up looking into my IRC library, please let me know of anything you think it needs. It still needs to grow quite a bit 17:47 rich1: would that irc library enable writing a bot - since CIA went down i've missed that bot 17:48 stamourv should probably register a domain with his name in it, just in case. 17:48 (join) mizu_no_oto 17:48 jschuster: definitely. my next todo is to port rudybot to use my library 17:48 jschuster: you could do it right now, but you'd have to know the internals of the IRC protocol 17:48 rich1: jschuster: cool. 17:48 jschuster: I plan on wrapping many more of IRC's commands so you don't have to know the protocol itself 17:49 (quit) Nisstyre-laptop: Ping timeout: 264 seconds 17:50 (quit) soegaard: Quit: soegaard 17:50 rich1: from my point of view (not knowing the internals or IRC) - the only things i'd be interested in at a high level is a new incoming message, and ability to send a message - given a channel of course 17:50 stamourv: rudybot: source 17:50 rudybot: stamourv: git clone git://github.com/offby1/rudybot.git 17:50 stamourv: rich1: ^ 17:51 stamourv: Not the cleanest codebase, though (sorry offby1). 17:52 jschuster: cool. most of that is there: the only thing missing is that received messages come in as something like (irc-response "PRIVMSG" '(channel-name some-message)) 17:52 jschuster: so you'd have to check for the PRIVMSG command and grab the correct fields out of the struct - shouldn't be too hard 17:54 jschuster: I plan on parsing responses from the server so that we can easily distinguish different types of messages from each other in the future 17:54 jschuster: so, that should be easier sometime soon 17:55 (join) DrDuck 17:55 rich1: nice. 17:56 rich1: to sidetrack a moment - "Find things that use lists for sets, replace them with racket/set" 17:57 dented42: this is perhaps a naive question: Units seem really really cool, why aren't they used everywhere? 17:57 rich1: i've just grepped for (member - and only a few results are returned - so is that done or allmost done? 17:57 cnonim: rudybot: (let () (define X Y) (define Y X) Y) 17:57 rudybot: cnonim: ; Value: # 18:00 (join) anRch 18:02 (join) neilv 18:04 cnonim: stamourv: thx for paper again :) 18:06 (join) soegaard 18:08 stamourv: cnonim: No problem! 18:08 stamourv: He had a followup at the 2009 Scheme Workshop: Fixing Letrec Reloaded, or something. 18:19 carleastlund: dented42: Units are cool for a lot of purposes, but they add a lot of syntactic noise where they aren't needed. There are a lot of purposes for which classes, modules, and macros are better suited, so we use those instead. We mostly use units where we need dynamic linking or mutual recursion. 18:36 (quit) micaeked: Quit: WeeChat 0.4.0 18:36 (quit) carleastlund: Quit: carleastlund 18:37 (quit) jao: Ping timeout: 276 seconds 18:43 (quit) juanfra: Quit: juanfra 18:45 (quit) anRch: Quit: anRch 18:46 (quit) soegaard: Quit: soegaard 18:47 (quit) rich1: Quit: Leaving. 18:50 (join) bitonic 19:01 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 19:09 (quit) sizz: Quit: No Ping reply in 180 seconds. 19:10 (join) sizz 19:13 (quit) paddymahoney: Remote host closed the connection 19:16 (quit) cnonim: Read error: Connection reset by peer 19:34 (quit) DanBurton: Remote host closed the connection 19:36 (quit) ncw: Remote host closed the connection 19:51 (join) ambrosebs 19:58 (join) gridaphobe 20:03 (quit) pierpa: Ping timeout: 256 seconds 20:12 (join) Fare 20:30 (join) adu_ 20:31 (quit) jbclements: Quit: jbclements 20:35 (quit) bjz: Quit: Leaving... 20:41 (join) jeapostrophe 20:41 (quit) jeapostrophe: Changing host 20:41 (join) jeapostrophe 20:51 (quit) Fare: Ping timeout: 252 seconds 20:55 (quit) jeapostrophe: Ping timeout: 260 seconds 20:56 (quit) cdidd: Ping timeout: 255 seconds 21:15 (quit) adu_: Quit: adu_ 21:23 (join) paddymahoney 21:33 (join) mizu_no_oto 21:34 (quit) gridaphobe: Ping timeout: 264 seconds 21:48 (join) gridaphobe 22:00 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 22:20 (quit) ambrosebs: Remote host closed the connection 22:21 (join) sw2wolf 22:25 (quit) dauterive: Remote host closed the connection 22:32 (quit) neilv: Quit: Leaving 22:33 (join) ambrosebs 22:38 (quit) ambrosebs: Remote host closed the connection 22:42 (join) wdkrnls 23:07 (quit) wdkrnls: Remote host closed the connection 23:10 (quit) bitonic: Remote host closed the connection 23:38 (join) Kaylin 23:47 (join) kvda 23:48 (quit) jschuster: Quit: Coyote finally caught me 23:52 (join) RacketCommitBot 23:52 RacketCommitBot: [racket] plt pushed 4 new commits to master: http://git.io/7lmxnA 23:52 RacketCommitBot: racket/master 2792cd7 Robby Findler: remove redundant check and minor cleanup 23:52 RacketCommitBot: racket/master a29f37f Robby Findler: added scribble-exn->string 23:52 RacketCommitBot: racket/master e5d91ba Robby Findler: add interaction/no-prompt and clarify that interaction-eval... 23:52 (part) RacketCommitBot 23:53 Kaylin: http://pastebin.com/ztu29u0y I have two questions here, pardon the we think this is a homework assignment, it's not. pardon the awful code, I am sorry. this is a wireshark log with some racket code appended to it. 23:53 Kaylin: I have two things confusing me, firstly I am just kind of trying to figure out regex today so I am not sure where I am wrong but something isn't getting thrown out/parsed so I never reply to a second PING, also I get two odd numbers printed to the DrRacket console before I even can reply to the server, what does this mean? 23:54 offby1: gosh, I dunno 23:54 Kaylin: (this is me playing with my friend's IRC server 23:54 Kaylin: ) 23:54 offby1: lemme look at your paste 23:55 offby1: Kaylin: that's too much for me to absorb in my not-quite-drunk-enough state. Can you reduce it to a single, reasonably-simple regex; and a simple input string; and tell me how the match differs from what you expect? 23:55 Kaylin: simple? probably not, I presume that (sec lemme grab it) 23:57 Kaylin: #rx"^[^[PING|:NickServ.*?/msg NickServ identify ]]" isn't quite the opposite of the two other cases 23:57 Kaylin: #rx"^:NickServ.*?/msg NickServ identify .*?\r\n" 23:57 Kaylin: #rx"^PING.*?\r\n" 23:58 (join) jschuster 23:59 Kaylin: for example #rx"^[^[PING|:NickServ.*?/msg NickServ identify ]].*?\r\n" doesn't do it for me either, when I just match everything it does work but ofc I am likely to miss pings and d/c