00:00 eli: stamourv: A reminder here is as good as one there. 00:01 adu: reminder? 00:01 adu: right, scrollback 00:01 adu: heh 00:09 (quit) SeanTAllen: Ping timeout: 260 seconds 00:10 (quit) eMBee: Ping timeout: 260 seconds 00:10 (join) dyoo 00:10 (quit) hyko: Ping timeout: 244 seconds 00:11 (quit) whoops: Ping timeout: 246 seconds 00:11 dyoo: eli: cleaning up the bug tracker? I'm getting a lot of automated messages re: attributing responsibility 00:15 (quit) Slavisa: Ping timeout: 256 seconds 00:16 (join) eMBee 00:18 (quit) yacks: Ping timeout: 248 seconds 00:20 eli: dyoo: Yes, already done. 00:20 (join) hyko 00:20 dyoo: ok, cool. 00:23 (join) RacketCommitBot 00:23 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/CwE-lg 00:23 RacketCommitBot: racket/master 46894e0 Eli Barzilay: Improve comment. 00:23 (part) RacketCommitBot 00:25 (join) mithos28 00:28 (join) anonymou2 00:28 (quit) Nisstyre-laptop: Quit: Leaving 00:30 (join) gridaphobe 00:33 (quit) anonymou2: Quit: leaving 00:35 (join) yacks 00:35 (quit) dyoo: Quit: dyoo 00:37 (join) whoops 00:48 (join) bjz_ 00:48 (quit) bjz: Read error: Connection reset by peer 00:59 (quit) yacks: Ping timeout: 255 seconds 01:02 (join) Nisstyre-laptop 01:14 (quit) adu: Quit: adu 01:18 (quit) mceier: Quit: leaving 01:19 (join) yacks 01:37 (quit) jao: Ping timeout: 248 seconds 01:38 (join) ASau 01:46 (join) vkz 02:03 (join) rohni 02:06 (join) SeanTAllen 02:09 (join) soegaard 02:18 (join) mceier 02:23 (join) hkBst 02:23 (quit) vkz: Quit: vkz 02:25 (join) vkz 02:30 (quit) gridaphobe: Remote host closed the connection 02:30 (quit) vkz: Quit: vkz 02:30 (quit) rohni: Quit: Leaving. 02:37 (join) cnonim 02:40 (join) gridaphobe 02:45 (quit) soegaard: Quit: soegaard 03:01 (quit) ASau: Ping timeout: 264 seconds 03:09 (quit) cdidd: Remote host closed the connection 03:19 (quit) gridaphobe: Remote host closed the connection 03:22 (quit) Nisstyre-laptop: Ping timeout: 248 seconds 03:23 (join) Platz 03:23 (join) rohni 03:24 (quit) Platz: Client Quit 03:26 (quit) racycle: Quit: racycle 03:28 (join) tilde` 03:30 (join) RacketCommitBot 03:30 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/M1CCjw 03:30 RacketCommitBot: racket/master bbd0693 Eli Barzilay: New Racket version 5.3.3.4. 03:30 (part) RacketCommitBot 03:32 (join) rmathews_ 03:32 (quit) rmathews: Ping timeout: 245 seconds 03:32 (nick) rmathews_ -> rmathews 03:46 (quit) mithos28: Quit: mithos28 03:48 (join) gridaphobe 03:49 (join) lewis1711 03:50 (join) arbn 03:53 (quit) hkBst: Ping timeout: 245 seconds 03:54 (join) hkBst 03:54 (quit) hkBst: Changing host 03:54 (join) hkBst 03:56 (quit) rohni: Quit: Leaving. 03:56 lewis1711: there was an article about doing a text adventure game in racket. or making a text adventure DSL. artcile is down though 03:56 (quit) gridaphobe: Ping timeout: 256 seconds 04:18 (join) rohni 04:38 cnonim: where i can found article about intermedia representation of racket? 04:59 (quit) yacks: Quit: Leaving 05:10 (quit) hkBst: Ping timeout: 245 seconds 05:13 (join) hkBst 05:13 (quit) hkBst: Changing host 05:13 (join) hkBst 05:15 (join) Sergey_ 05:15 (quit) arbn: Quit: leaving 05:15 (join) arbn 05:19 (join) yacks 05:20 (quit) arbn: Client Quit 05:20 (join) arbn 05:23 (quit) Sergey_: Quit: Leaving 05:36 (quit) vipjun: Quit: Leaving. 05:36 (join) vkz 05:41 (quit) hkBst: Read error: Connection reset by peer 05:42 (join) Slavisa 05:42 (join) hkBst 05:47 (quit) hkBst: Remote host closed the connection 05:47 (quit) vkz: Quit: vkz 05:49 (join) myx 05:49 (join) vkz 05:50 (join) bitonic` 05:51 (join) hkBst 05:56 (quit) bremner: Ping timeout: 252 seconds 05:57 (join) bremner 05:57 (quit) bremner: Changing host 05:57 (join) bremner 06:08 (quit) merijn: Ping timeout: 256 seconds 06:27 (quit) Slavisa: Remote host closed the connection 06:28 (quit) yacks: Read error: Operation timed out 06:33 (join) hkBst_ 06:34 (quit) hkBst: Ping timeout: 245 seconds 06:36 (join) noelw 06:49 (join) yacks 07:11 (quit) tilde`: Read error: Connection reset by peer 07:11 (join) tilde` 07:22 (join) jeapostrophe 07:22 (quit) jeapostrophe: Changing host 07:22 (join) jeapostrophe 07:27 (quit) tilde`: Read error: Connection reset by peer 07:27 (join) tilde` 07:31 (join) rmathews 07:43 (quit) rmathews: Ping timeout: 256 seconds 07:43 (join) rmathews 07:44 (join) merijn 07:53 (join) ijp 07:53 (quit) rmathews: Ping timeout: 244 seconds 07:55 (join) rmathews 08:06 (quit) tilde`: Read error: No route to host 08:06 (join) tilde` 08:11 (join) hkBst__ 08:12 (join) didi` 08:13 (quit) hkBst_: Read error: Connection reset by peer 08:15 (join) Oaks 08:24 (quit) dca: Ping timeout: 252 seconds 08:26 (quit) hkBst__: Ping timeout: 248 seconds 08:27 (nick) bitonic` -> bitonic 08:28 (join) dca 08:40 (join) hkBst 08:40 (quit) hkBst: Changing host 08:40 (join) hkBst 08:47 (join) rmathews_ 08:48 (quit) rmathews_: Client Quit 08:48 (quit) rmathews: Ping timeout: 255 seconds 08:50 (join) mizu_no_oto 08:52 (join) dnolen 08:53 (quit) rohni: Quit: Leaving. 08:55 (quit) hkBst: Ping timeout: 256 seconds 09:10 (quit) cnonim: Read error: Connection reset by peer 09:11 (join) hkBst 09:11 (quit) hkBst: Changing host 09:11 (join) hkBst 09:13 (quit) hkBst: Excess Flood 09:14 (join) hkBst 09:23 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 09:30 asumu: lewis1711: http://queue.acm.org/detail.cfm?id=2068896 09:36 (quit) hkBst: Ping timeout: 272 seconds 09:36 (quit) lusory_: Read error: Connection reset by peer 09:38 (join) hkBst 09:38 (quit) hkBst: Changing host 09:38 (join) hkBst 09:40 notdan: Is there any way to use pattern matching in let? 09:40 notdan: For example, if (f) returns a list, I want to do something like (let ([(h t) (f)]) ..) 09:41 notdan: oh, there is match-let.. nvm 09:41 notdan: sorry 09:55 (join) Kaylin 09:56 (quit) yacks: Read error: Connection reset by peer 10:09 (quit) mceier: Quit: leaving 10:09 (join) rohni 10:10 (join) bitonic 10:13 (quit) merijn: Ping timeout: 252 seconds 10:14 (join) mizu_no_oto 10:25 (join) mithos28 10:31 (join) anRch 10:32 mithos28: stamourv: ping 10:32 stamourv: mithos28: pong 10:32 mithos28: So I have a mostly working version of what we talked about yesterday 10:32 stamourv: You're in early. 10:32 stamourv: Cool! 10:33 mithos28: I get up as soon as the sun streams in 10:33 stamourv: I wish I was able to do that. :) 10:33 mithos28: so the issue is annotations, should (ann (+ 1.0 2.0) Any) be optimized? 10:34 stamourv: I would say yes. 10:34 mithos28: Because that would require putting something other than Any in the type table for that expression 10:35 stamourv: Well, since, IIUC, we compute the precise type, we could be putting it in the type table. Right? 10:35 mithos28: Right, my change currently does put the precise type in the type table. 10:35 mithos28: But this breaks some of the missed optimization tests 10:36 mithos28: because they assume it won't be there 10:36 mithos28: so the question is: is an annotation different from an expected type? 10:38 stamourv: Then that's probably a bug in the tests. 10:38 stamourv: Or rather, I wrote the tests in a brittle way. 10:38 stamourv: Do you know which tests break? 10:38 mithos28: ok, the comments in the tests imply that you expected that annotation to make the optimization not fire 10:39 mithos28: pair.rkt, fixnum.rkt and another 10:39 stamourv: Having a look now. 10:40 mithos28: for pair, it is lines: 16,18,25,27 10:40 mithos28: fixnum is line 40 10:41 (join) racycle 10:43 stamourv: Right. For these tests, I'm using annotations as a quick way to simulate loss of type precision. Changing them to use `define:'d values, or function arguments, should work. 10:44 mithos28: ok, I'm changing them to (values (ann )) 10:44 stamourv: So yeah, the tests are broken, and your patch is correct. 10:44 stamourv: Even better. 10:44 mithos28: also the optimizer error messages need a bit of work 10:45 stamourv: In the expected logs? 10:45 mithos28: yeah 10:45 stamourv: These are not really error messages. 10:45 stamourv: At this point, they're only used for testing. 10:45 stamourv: Optimization Coach is the preferred interface. 10:45 mithos28: no, I mean the test case output 10:46 mithos28: of actual vs expected 10:46 stamourv: Oh, I see what you mean. Yes, I agree. 10:46 stamourv: It's a bit of a pain to find the exact problem. 10:46 stamourv: And it's gotten worse with named loggers that prefix the messages with their names. 10:47 stamourv: Sadly, I don't know of a better way. 10:47 stamourv: I'm sure we could improve it in small ways, but I don't think we can do drastically better. 10:47 mithos28: I was thinking of having each line as a string instead of a bunch of tokens 10:48 stamourv: Robby, eli and I thought about testing strategies for the optimizer for a while, and that's the best we could come up with. 10:48 mithos28: then at least it would look like what is in the file and the output 10:48 stamourv: Re strings: sure, that would be an improvement. 10:49 (quit) jeapostrophe: Ping timeout: 256 seconds 10:49 stamourv: If you want to give it a try, that would be great. 10:49 (join) RacketCommitBot 10:49 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/gla6QA 10:49 RacketCommitBot: racket/master ca95129 Matthew Flatt: JIT: inline `char->integer' and `integer->char' 10:49 RacketCommitBot: racket/master 8f96060 Matthew Flatt: racket/draw win32: work around a Pango bug... 10:49 (part) RacketCommitBot 10:51 (join) rins 10:51 (quit) dnolen: Ping timeout: 240 seconds 10:53 (quit) anRch: Read error: Connection reset by peer 10:54 (join) anRch 10:55 (join) gridaphobe 10:58 (join) cdidd 11:01 (nick) didi` -> didi 11:06 (join) cnonim 11:13 (quit) strawmn: Ping timeout: 264 seconds 11:13 (quit) Kaylin: Quit: Leaving. 11:16 (join) mceier 11:20 (join) merijn 11:21 (join) strawmn 11:27 (quit) rohni: Quit: Leaving. 11:53 (quit) gridaphobe: Remote host closed the connection 11:54 (quit) hkBst: Quit: Konversation terminated! 11:55 (join) rmathews 11:55 (join) yacks 12:00 (quit) rins: Quit: leaving 12:01 (join) Nisstyre-laptop 12:04 (join) vipjun 12:05 (join) jeapostrophe 12:05 (quit) Nisstyre-laptop: Read error: Connection reset by peer 12:06 (join) Nisstyre-laptop 12:06 (quit) vipjun: Read error: Connection reset by peer 12:12 asumu: :o there is an animated-gif library!? 12:13 asumu: rudybot: (require racket/draw mrlib/gif) 12:13 rudybot: asumu: your sandbox is ready 12:13 rudybot: asumu: error: file-or-directory-modify-seconds: `read' access denied for /home/erich/.racket/racket-prefs.rktd 12:13 asumu: Erm. 12:13 asumu: rudybot: (require racket/draw) 12:13 rudybot: asumu: Done. 12:13 asumu: rudybot: (require mrlib/gif) 12:13 rudybot: asumu: Done. 12:14 (quit) mizu_no_oto: Quit: ["Textual IRC Client: www.textualapp.com"] 12:14 asumu: rudybot: init racket 12:14 rudybot: asumu: your sandbox is ready 12:14 asumu: rudybot: (require mrlib/gif) 12:14 rudybot: asumu: error: file-or-directory-modify-seconds: `read' access denied for /home/erich/.racket/racket-prefs.rktd 12:17 (quit) tilde`: Quit: kthxbai 12:27 dca: hi 12:28 dca: what data structure should i use for storing pixels with w/regard to this call: 12:28 dca: http://docs.racket-lang.org/draw/bitmap-dc_.html#(meth._(((lib._racket%2Fdraw..rkt)._bitmap-dc~25)._set-argb-pixels)) 12:28 dca: ? 12:28 dca: byte strings ? 12:29 mithos28: isn't that what the documentation says 12:29 mithos28: pixels : bytes? 12:35 stamourv: dca: `bytes?' = byte strings. The predicate's name is not as descriptive as it could be. 12:37 (join) dyoo 12:38 dyoo: asumu: re the animated gif stuff. I worked to implement the improved octree quantization described in http://docs.racket-lang.org/file/gif.html?q=quantize#%28def._%28%28lib._file%2Fgif..rkt%29._quantize%29%29 12:38 rudybot: http://tinyurl.com/akxsjpl 12:40 asumu: dyoo: nice. :D 12:42 dyoo: dca: see http://docs.racket-lang.org/guide/bytestrings.html for an intro to bytes 12:42 dyoo: and see http://docs.racket-lang.org/reference/bytestrings.html for more detailed information on the bytes data structure 12:51 dca: thanks 12:53 (quit) anRch: Quit: anRch 12:55 (quit) dyoo: Quit: dyoo 13:04 (join) bjz 13:05 (quit) bjz_: Read error: Connection reset by peer 13:06 (join) gridaphobe 13:06 (join) ASau 13:07 (quit) Nisstyre-laptop: Ping timeout: 252 seconds 13:08 (quit) gridaphobe: Remote host closed the connection 13:12 (join) gridaphobe 13:14 (join) RacketCommitBot 13:14 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/Hoyn-w 13:14 RacketCommitBot: racket/master e99fcf6 Matthew Flatt: add ackn 13:14 RacketCommitBot: racket/master e0650c4 Matthew Flatt: JIT: fix for 32-bit mode... 13:14 (part) RacketCommitBot 13:18 (quit) gridaphobe: Remote host closed the connection 13:22 (join) vipjun 13:23 (join) Nisstyre-laptop 13:24 (quit) jeapostrophe: Ping timeout: 244 seconds 13:24 (quit) Nisstyre-laptop: Read error: Connection reset by peer 13:25 (quit) mithos28: Quit: mithos28 13:28 (quit) vipjun: Read error: No route to host 13:29 (join) vipjun 13:29 (part) vipjun 13:33 (join) gridaphobe 13:33 (join) vipjun 13:33 (part) vipjun 13:34 (join) vipjun 13:34 (join) francisl 13:38 (quit) jaimef: Ping timeout: 248 seconds 13:38 (quit) gridaphobe: Remote host closed the connection 13:40 (join) vipjun1 13:40 (part) vipjun1 13:41 (quit) vipjun: Read error: Connection reset by peer 13:42 (join) didi 13:44 (join) jaimef 13:58 (join) ASau` 13:59 (join) jeapostrophe 14:00 (quit) ASau: Ping timeout: 272 seconds 14:04 (join) dyoo 14:04 (join) soegaard 14:07 (quit) vkz: Ping timeout: 245 seconds 14:08 (join) vkz 14:10 (join) mye 14:12 (quit) ijp: Ping timeout: 248 seconds 14:12 (join) dauterive 14:19 (quit) cnonim: Quit: WeeChat 0.4.0 14:25 (join) firefux 14:34 (quit) bitonic: Ping timeout: 255 seconds 14:38 (join) ijp 14:45 (join) RacketCommitBot 14:45 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/ciJ95Q 14:45 RacketCommitBot: racket/master 796550b Danny Yoo: Add example of mixin form to guide documentation.... 14:45 (part) RacketCommitBot 14:49 (join) vipjun 14:53 (join) RacketCommitBot 14:53 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/BK-xQw 14:53 RacketCommitBot: racket/master 164a583 Robby Findler: use impersonator-ephemeron to allow a... 14:53 RacketCommitBot: racket/master d3e1c16 Robby Findler: adjust the c:x;n and c:x;p keybindings to use the... 14:53 (part) RacketCommitBot 14:55 (join) gridaphobe 14:57 (quit) gridaphobe: Remote host closed the connection 14:59 (quit) mye: Quit: mye 15:01 (part) vipjun 15:07 (quit) ijp: Read error: Connection reset by peer 15:08 (join) ijp 15:12 dyoo: anyone know where I can find docs for 5.2.1 online? 15:21 (quit) dauterive: Read error: Connection reset by peer 15:31 (join) Kaylin 15:32 dyoo: followup: found at http://download.racket-lang.org/docs/ 15:33 (join) zeom 15:35 (join) mizu_no_oto 15:36 asumu: dyoo: is that linked from anywhere? 15:36 asumu couldn't find it 15:36 dyoo: ok, good, it's not just me then. 15:36 dyoo: it's completely unfindable. :) 15:37 dyoo: I'm proposing adding a link to the sidebar on the main docs page. 15:37 dyoo: https://github.com/dyoo/racket/commit/87a5280b13f7092f730145028fcbdea8a8cc5519 15:37 rudybot: http://tinyurl.com/a2gs8ah 15:37 asumu: Sounds good to me 15:38 (join) dauterive 15:40 (join) RacketCommitBot 15:40 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/srM1ZA 15:40 RacketCommitBot: racket/master 87a5280 Danny Yoo: Adding link to prior versions of the docs. 15:40 (part) RacketCommitBot 15:43 (join) rohni 15:43 (join) epta 15:47 (quit) soegaard: Quit: soegaard 15:49 (quit) rohni: Quit: Leaving. 15:51 (quit) Kaylin: Quit: Leaving. 15:59 (join) Kaylin 16:02 (join) rohni 16:05 (join) zNowkid 16:07 (join) mye 16:08 zNowkid: hi. can anyone help me with a problem? I just started using racket and I have some problems. I keep getting blue screens and I don't know exactly what to do. It may be something with the memory but I'm not sure 16:18 asumu: zNowkid: Blue screens on Windows? Does it happen with any other programs? 16:18 asumu: Also are you doing anything in particular? 16:21 (join) RacketCommitBot 16:21 RacketCommitBot: [racket] plt pushed 3 new commits to master: http://git.io/MzoBdg 16:21 RacketCommitBot: racket/master c9c4d33 Matthew Flatt: scribble/sigplan: add `subtitle'... 16:21 RacketCommitBot: racket/master 8ef5e88 Matthew Flatt: another JIT repair 16:21 RacketCommitBot: racket/master ce96075 Matthew Flatt: scribble: fix 'aux stripping for hyperlinks and HTML titles 16:21 (part) RacketCommitBot 16:32 asumu: Is a contract (and/c (listof foo?) pair?) always equivalent to (non-empty-listof foo?)? 16:33 stamourv: I'd assume so. 16:34 asumu couldn't think of a counterexample 16:34 zNowkid: only in racket I have this problem. 16:35 (join) vipjun 16:36 (join) RacketCommitBot 16:36 RacketCommitBot: [racket] plt pushed 3 new commits to master: http://git.io/Q6atYg 16:36 RacketCommitBot: racket/master ea0c14d Asumu Takikawa: Rackety 16:36 RacketCommitBot: racket/master db4a163 Asumu Takikawa: Minor doc fixes 16:36 RacketCommitBot: racket/master 5e37134 Asumu Takikawa: Index some info.rkt fields for raco setup 16:36 (part) RacketCommitBot 16:37 asumu: zNowkid: is there anything in particular that you're doing in Racket that leads to a blue screen? 16:39 zNowkid: nothing that I could think of. I'm doing simple examples like fibonacci, list problems( sorting, reverse etc.) 16:40 stamourv: zNowkid: Is this in Racket, or in DrRacket? 16:40 zNowkid: DrRacket 16:41 stamourv: Which version? 16:43 zNowkid: v5.3.3 16:45 stamourv: I would recommend filing a bug report. Sadly, it looks like there's not much information to guide a diagnosis. 16:45 stamourv: IIRC (haven't used Windows in a while), blue screens don't give stack traces. 16:46 asumu: (make sure to use DrRacket's bug report form so it'll record your system info) 16:48 zNowkid: I will do that. And I will try another version to see if there are any improvements on this problem. 16:49 zNowkid: Thank you asumu and stamourv 16:50 (quit) Kaylin: Read error: Connection reset by peer 16:51 (join) cored 16:51 cored: hello 16:53 zNowkid: and while I'm here. I want to remove n elements from a list ( from the beginnig ). example : '(1 2 3 4 5) 3 -> '(4 5); What am I missing? (append (cdr L) (drop (cdr L) (- n 1))) 16:53 (quit) vipjun: Quit: Leaving. 16:54 stamourv: zNowkid: Why are you using `append'? `drop' should do the trick. 16:54 stamourv: rudybot: (drop '(1 2 3 4 5) 3) 16:54 rudybot: stamourv: your sandbox is ready 16:54 rudybot: stamourv: ; Value: (4 5) 16:59 (quit) zNowkid: Ping timeout: 245 seconds 16:59 (join) zNowkid_ 17:02 zNowkid_: about the drop function, I'm trying to define it by my own( already did for take) 17:04 stamourv: Ah, I see. 17:05 stamourv: Are you following a book, or just learning on your own? 17:05 (join) gridaphobe 17:05 stamourv: If you want a book, I recommend HTDP. 17:10 zNowkid_: Thank you. I'm just started like 3 days ago. This is one of the languages I'm learning this semester 17:12 zNowkid_: Could you give me a hint in what am I doing wrong? this is what I'm trying to do (drop '(1 2 3 4 5) 4) , but I get '((2 3 4 5) (3 4 5) (4 5) (5)) 17:13 zNowkid_: the correct output should be (5) 17:14 didi: zNowkid_: You probably shouldn't use `drop' to define your own drop. 17:15 dyoo: zNowkid: let me contradict didi. :) Your recursive definition of drop should use itself. I'm guessing that your definition isn't correct, and that's why you're seeing weird output from the function. 17:15 zNowkid_: I had no problem when I used "take" 17:15 didi: Oh, I meant Racket's `drop'. 17:16 dyoo: zNowkid_: Offhand, would strongly recommend making sure you've got simple cases working. What happens with (drop '(1 2 3 4 5) 0), for example? 17:17 dyoo: You should encode explicit test cases. See: http://www.ccs.neu.edu/home/matthias/HtDP2e/part_one.html#(part._sec~3atesting) 17:18 (join) racycle_ 17:18 dyoo: zNowkid_: the other case you want to consider: (drop '(1 2 3 4 5) 1) 17:19 dyoo: You _know_ what the answer should be here, but you'll find the definition you've written has… well.. other ideas. :) 17:19 zNowkid_: (drop '(1 2 3 4 5) 0) -> '(1 2 3 4 5) 17:19 dyoo: Yup, so your base case is probably correct. 17:20 dyoo: Now do the simplest non-base case: when you're dropping a single element. 17:20 dyoo: Use the stepper if necessary to see where your definition is deviating from what it should be. 17:20 (join) vipjun 17:20 (join) anRch 17:21 (quit) racycle: Ping timeout: 255 seconds 17:21 (nick) racycle_ -> racycle 17:22 zNowkid_: for a single element i should get (2 3 4 5) instead i get '(2 3 4 5 2 3 4 5) 17:22 dyoo: Isn't that strange? :) 17:23 (quit) vipjun: Client Quit 17:23 dyoo: Yeah, so look back at the body of your defintion, and see which parts contribute to what. You should see where the problem is. 17:27 (join) racycle 17:28 zNowkid_: this did the trick 17:28 zNowkid_: (drop (cdr L) (- n 1)) 17:28 zNowkid_: :P 17:28 dyoo: yeah, right? :) 17:29 dyoo: lesson: when you're debugging this sort of stuff, try to test the simplest inputs. You tried attacking from 5, but it's a lot easier to start from 0 or 1. And make sure to write the test cases out. 17:30 asumu: zNowkid_: are you Dan Grossman's coursera course by any chance? 17:31 zNowkid_: thank you :P. now I can do the mergesort too. 17:32 zNowkid_: asumu: no. but I did sign up there. 17:32 (join) vipjun 17:33 asumu: Sorry, I forgot an "in" in that sentence. 17:33 dyoo: a situation that typed racket probably might have helped. :p 17:35 (join) racycle_ 17:36 asumu: Hehe: https://twitter.com/fogus/status/303976660712181760 17:36 dyoo: Cute. 17:37 (quit) mizu_no_oto: Ping timeout: 255 seconds 17:39 (quit) racycle: Ping timeout: 248 seconds 17:39 (nick) racycle_ -> racycle 17:42 (quit) vipjun: Quit: Leaving. 17:45 (quit) jeapostrophe: Ping timeout: 255 seconds 17:45 (quit) didi: Remote host closed the connection 17:52 (join) vipjun 17:52 (quit) noam_: Read error: Connection reset by peer 17:54 (quit) francisl: Ping timeout: 252 seconds 17:58 (quit) dauterive: Quit: Leaving 18:00 (join) noam 18:02 (join) Slavisa 18:04 (join) bitonic 18:06 (quit) vipjun: Quit: Leaving. 18:11 (quit) myx: Quit: ушёл 18:20 (part) dyoo 18:21 (quit) gridaphobe: Remote host closed the connection 18:27 (quit) vkz: Quit: vkz 18:28 (quit) rohni: Quit: Leaving. 18:33 (quit) mye: Quit: mye 18:33 (join) vipjun 18:39 (quit) zNowkid_: Ping timeout: 245 seconds 18:41 (join) gridaphobe 18:43 (part) vipjun 18:48 (quit) anRch: Quit: anRch 18:49 (join) RacketCommitBot 18:49 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/gIoPBA 18:49 RacketCommitBot: racket/master 0afcda2 Matthew Flatt: fix error checking for `flreal-part' and `flimag-part' 18:49 RacketCommitBot: racket/master 97c3490 Matthew Flatt: racket/extflonum: fix JIT-inlined `extflvector-ref' in 32-bit mode 18:49 (part) RacketCommitBot 19:06 (join) clements_ 19:07 clements_: any redex folks on? 19:10 asumu: clements_: I've used redex, if that counts. 19:11 clements_: asumu: I'm just trying to make redex automatically generate terms that satisfy things defined with define-relation. I think I can artificially wrap it in a metafunction to make things work, but I'm wondering if I'm missing something obvious. 19:11 asumu: Ah, doesn't it have a function for that now in 5.3.3? 19:12 clements_: There's a clause in "generate-term" that seems like it should work, but I'm getting errors. The examples in the manual all use metafunctions rather than things defined with define-relation. 19:13 asumu: So using #:source with a relation breaks? 19:13 asumu: It sounds like that only means a reduction relation, not a `define-relation` relation. 19:14 clements_: yes, for (generate-term #:source lifetime-< 5) I get "lifetime-<: illegal use of syntax in: lifetime-<" 19:14 clements_: ha! I think I just also found a (very minor) bug w.r.t. metafunctions.... 19:19 (quit) gridaphobe: Read error: Connection reset by peer 19:20 (join) gridaphobe 19:33 lewis1711: thanks asumu (I dunno if they link I had was broken or it's mysteriously started working) 19:42 (quit) bitonic: Ping timeout: 252 seconds 19:42 (join) bitonic 19:43 asumu: lewis1711: NP. It was mirrored in a few places, so maybe one broke. 19:50 jaimef: is htdp the best reference for mastering racket/scheme? 19:53 (join) gridapho_ 19:54 (quit) gridaphobe: Read error: Connection reset by peer 19:54 asumu: jaimef: HtDP is a good way to learn programming in general. For Racket, the Guide is probably the best way. 19:54 asumu: (until Realm of Racket is released, anyway) 19:54 jaimef: ok thanks 20:01 (join) vipjun 20:02 (quit) vipjun: Client Quit 20:03 (join) francisl 20:04 (join) vipjun 20:04 jaimef: is there anyway to use racket like guile to extend a large c application with repl etc? 20:05 (part) vipjun 20:07 (join) vipjun 20:10 (join) jeapostrophe 20:10 (quit) jeapostrophe: Changing host 20:10 (join) jeapostrophe 20:10 (join) dnolen 20:17 (join) RacketCommitBot 20:17 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/LCnlYw 20:17 RacketCommitBot: racket/master 5350720 Matthew Flatt: fix non-extflonum build 20:17 (part) RacketCommitBot 20:17 (quit) dnolen: Remote host closed the connection 20:18 (join) dnolen 20:18 (join) RacketCommitBot 20:19 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/jeEgKA 20:19 RacketCommitBot: racket/master c6f106d Robby Findler: remove spurious printf 20:19 (part) RacketCommitBot 20:21 (part) vipjun 20:21 (join) Nisstyre-laptop 20:25 (quit) ijp: Quit: The garbage collector got me 20:26 (join) vipjun 20:26 (quit) francisl: Quit: francisl 20:27 (part) vipjun 20:27 (quit) clements_: Quit: clements_ 20:28 (join) bitonic` 20:28 (quit) bitonic: Read error: Connection reset by peer 20:33 (join) vipjun 20:34 (part) vipjun 20:35 (nick) ASau` -> ASau 20:52 (join) francisl 20:54 (join) vipjun 20:55 (quit) gridapho_: Remote host closed the connection 20:57 (join) vipjun1 20:57 (part) vipjun1 20:57 (quit) vipjun: Read error: No route to host 21:04 (join) didi 21:09 (quit) yacks: Ping timeout: 240 seconds 21:21 (quit) Slavisa: Ping timeout: 256 seconds 21:31 (quit) francisl: Quit: francisl 22:03 (join) Slavisa 22:05 (join) Kaylin 22:06 (join) gridaphobe 22:09 (quit) Slavisa: Ping timeout: 248 seconds 22:11 (quit) gridaphobe: Ping timeout: 260 seconds 22:11 (quit) bitonic`: Ping timeout: 276 seconds 22:14 (quit) cored: Ping timeout: 255 seconds 22:14 (quit) didi: Read error: Operation timed out 22:15 (join) francisl 22:16 (join) cored 22:18 (quit) francisl: Client Quit 22:36 (join) mizu_no_oto 23:05 (quit) jeapostrophe: Ping timeout: 276 seconds 23:09 (quit) rmathews: Quit: ... 23:09 (join) RacketCommitBot 23:09 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/tmahaQ 23:09 RacketCommitBot: racket/master 2f50cde Robby Findler: signal error when attempting to generate from a... 23:09 (part) RacketCommitBot 23:10 (part) lewis1711: "Leaving" 23:12 (quit) dnolen: Ping timeout: 248 seconds 23:15 (join) dyoo 23:17 dyoo: jaimef: re: embedding in a C program: have you looked at http://docs.racket-lang.org/inside/index.html yet? 23:19 dyoo: jaimef: you can take a look at: http://docs.racket-lang.org/inside/overview.html#%28part._embedding%29 for the specifics, though I have to admit that I haven't tried this myself yet. 23:24 (join) mye 23:27 (join) mithos28 23:41 (quit) dyoo: Quit: dyoo 23:46 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 23:49 (join) jackhammer2022 23:51 (join) mizu_no_oto 23:51 (quit) mizu_no_oto: Client Quit 23:52 (join) rmathews 23:55 (join) dnolen 23:58 (join) yacks 23:59 (quit) yacks: Max SendQ exceeded 23:59 (join) yacks