00:05 (quit) realitygrill: Read error: Connection reset by peer 00:06 (join) realitygrill 00:18 (join) jao 00:23 (join) adu 00:33 (quit) realitygrill: Quit: realitygrill 00:34 (join) jeapostrophe 00:38 (join) veer 00:41 (quit) chandler_: Changing host 00:41 (join) chandler_ 00:41 (nick) chandler_ -> chandler 00:46 offby1 rubs chin 00:46 offby1: turns out I want the cdrs too 00:48 (quit) veer: Remote host closed the connection 01:01 (quit) jrslepak: Ping timeout: 252 seconds 01:06 (join) jrslepak 01:07 (quit) jeapostrophe: Ping timeout: 252 seconds 01:35 (join) realitygrill 01:44 (join) veer 02:04 (quit) jrslepak: Quit: This computer has gone to sleep 02:45 (quit) jonrafkind: Ping timeout: 244 seconds 02:55 (join) karswell 03:36 (quit) realitygrill: Quit: realitygrill 03:37 (join) dous_ 03:44 (join) dzhus 03:49 (quit) Shviller: Ping timeout: 252 seconds 03:49 (join) Shviller 04:39 (quit) adu: Quit: adu 05:20 (join) Twey 05:20 Twey: If I want to override a symbol in the current namespace, but keep the old symbol around under a different name, how should I go about doing that? 05:21 Twey: E.G. (define raw+ +) (define + -) doesn't work, because + isn't defined at that point in time; (define (raw+ . args) (apply + args)) doesn't work because that + then refers to the new + instead of the old 06:27 (join) Blkt 06:28 Blkt: good day everyone 06:42 (quit) dous_: Remote host closed the connection 06:45 (join) bluezenix 06:55 (quit) bluezenix: Quit: Leaving. 07:00 carleastlund: Good morning, Blkt. 07:00 carleastlund: Twey, if + isn't defined when you're defining raw+, what "old" definition are you trying to preserve? 07:03 (join) RPR 07:05 Blkt: :D 07:12 (join) masm 07:34 Twey: carleastlund: From racket/base 07:34 (quit) RPR: Ping timeout: 240 seconds 07:37 carleastlund: Twey, are you doing this in a module or at the REPL? 07:38 carleastlund: In either case, the following should work: (require (only-in racket/base [+ raw+])) 07:38 carleastlund: Then just define your + as usual. 07:39 Twey: Thanks! 07:43 (join) dous_ 07:44 (nick) McB-rat -> Haaken-Kreuzs 07:53 (join) add^_ 08:05 (quit) karswell: Ping timeout: 260 seconds 08:29 (quit) kmc: Quit: Leaving 08:30 (join) mceier 08:49 (join) vu3rdd 08:49 (quit) vu3rdd: Changing host 08:49 (join) vu3rdd 08:52 (quit) add^_: Quit: add^_ 09:03 (join) jeapostrophe 09:04 (nick) Haaken-Kreuzs -> helisz 09:43 (quit) vu3rdd: Remote host closed the connection 09:53 (nick) chaozzbubi -> ChaozZBubi 10:00 Twey: Why is it ‘<’ but ‘string realitygrill 14:46 (join) yoklov 14:57 (quit) untrusted: Remote host closed the connection 15:05 yoklov: … why does sleep take its argument in seconds, and not something more reasonable like milliseconds 15:05 offby1: Why are our days numbered, and not, say, lettered? 15:05 (quit) realitygrill: Read error: Connection reset by peer 15:05 offby1: yoklov: my guess: portability 15:05 offby1 imagines Jack Lemmon saying "Security!" 15:05 (join) realitygrill 15:06 yoklov: lol 15:06 yoklov: i guess thats reasonable 15:13 (quit) realitygrill: Read error: Connection reset by peer 15:14 (join) realitygrill 15:15 (quit) gciolli: Quit: Leaving. 15:27 (quit) realitygrill: Read error: Connection reset by peer 15:27 (join) realitygrill 15:48 (quit) yoklov: Quit: computer sleeping 15:54 (join) yoklov 15:54 yoklov: i give up. 15:54 yoklov: i just clearly shouldn't write any code today. 15:55 yoklov: i broke my program and made it unresponsive. apparently so thoroughly that even cloning a known working version of it into a new folder has the same problem. 15:59 offby1: yeah, that's called "sympathetic defect inducement" 16:01 yoklov: yeah, every version of this program that i have is broken now. 16:01 yoklov: even ones from nearly a month ago 16:02 yoklov: … am i forgetting how to run this? did i used to use a flag? 16:04 yoklov: oh phew. my laptop must just be broken. 16:04 yoklov: still works on my desktop. 16:06 yoklov: … and now it works on my laptop. 16:06 yoklov: ugh i must be going crazy, i think it has to do with where i'm sitting. 16:07 offby1: hmm, now _mine_ is broken. 16:08 offby1 whistles innocently 16:08 yoklov: move to another chair. trust me, it works. 16:09 offby1: hey, the chair's broken! 16:10 offby1 glares at yoklov 16:10 offby1: quit sending your bogon rays into my house! 16:11 yoklov: cd chair && git bisect start 16:12 (quit) realitygrill: Read error: Connection reset by peer 16:13 (join) realitygrill 16:14 offby1: I can't cd chair; I'm in a chroot jail on my couch 16:15 yoklov: lol 16:17 yoklov begins to wonder if that change he made earlier that broke everything would have worked... 16:19 (join) platinuum 16:24 (quit) realitygrill: Read error: Connection reset by peer 16:24 (join) realitygrill 16:46 (join) jeapostrophe 17:05 (quit) jeapostrophe: Ping timeout: 260 seconds 17:08 (quit) realitygrill: Read error: Connection reset by peer 17:09 (join) realitygrill 17:18 (quit) realitygrill: Read error: Connection reset by peer 17:19 (join) realitygrill 17:21 (quit) mceier: Read error: Operation timed out 17:29 (join) tuckerkevin 17:43 (quit) jonrafkind: Ping timeout: 260 seconds 18:11 (quit) realitygrill: Read error: Connection reset by peer 18:11 (join) realitygrill 18:22 (part) tuckerkevin: "Leaving" 18:23 (join) dgs 18:25 (quit) dzhus: Remote host closed the connection 18:27 (join) kmc 18:30 dgs: I'm trying to use drracket to work thru htdp2, but I'm not very familiar with it 18:30 dgs: ` 18:34 dgs: `Some of the exercises build on the previous answers so I'm trying to include the text file containing the previous answer. 18:34 dgs: From the documentation I think you need to do this via (require racket/include) (include "153.scm") but when I try this I get an error - "modulue: illegal use (not at top level)" 18:34 dgs: Anyone know what I could be doing wrong? (Can supply pastie if it makes things easier...) 18:34 dgs: ~ 18:35 dgs: ~ 18:35 (nick) ChaozZBubi -> chaozzbubi 18:35 (join) jeapostrophe 18:35 dgs: ~ (sorry - connection here is very dodgy) 18:47 offby1: dgs: my hunch is that 153.scm begins with "#lang something" 18:47 offby1 was just using "include" yesterday 18:52 dgs: yup - it did. but I've removed it and I'm still getting the same error 18:55 dgs: mmm. it seems racket includes some other requires at the top of each fiele it creates 18:55 dgs: if I remove those, I get a different error 18:55 dgs: 153inc.rkt:23:1: expand: unbound identifier in module in: check-expect 18:55 dgs: should the file i'm including have the racket stuff at the top, or should it be just raw txt src? 19:01 offby1: not sure, tbh 19:06 (quit) Blkt: Ping timeout: 260 seconds 19:08 (join) karswell 19:11 dgs: oh. oh well, thanks anyways ]) 19:11 dgs: =) rather 19:13 dgs: are you using a #lang at the top of your main source file, or specifying it via the language option in drrackt? 19:27 (quit) platinuum: Quit: oops 19:33 (quit) yoklov: Quit: bye! 19:59 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/vgPtrg 19:59 RacketCommitBot: [racket/master] fix and generalize errortrace detection of always-ok functions - Matthew Flatt 19:59 RacketCommitBot: [racket/master] fix typo (patch from Gustavo Massaccesi) - Matthew Flatt 20:01 offby1: dgs: I always put #lang in the file; I rarely use drracket at all 20:18 (join) jonrafkind 20:20 (quit) masm: Quit: Leaving. 20:38 (quit) dous_: Remote host closed the connection 20:53 RacketCommitBot: [racket] plt pushed 5 new commits to master: http://git.io/EiQ5zA 20:53 RacketCommitBot: [racket/master] Minor improvements, mainly to the header/status suffixes. - Eli Barzilay 20:53 RacketCommitBot: [racket/master] Tiny typo. - Eli Barzilay 20:53 RacketCommitBot: [racket/master] Minor bug fix: using a string as a path should be used as a path. - Eli Barzilay 21:08 dgs: what? 21:08 dgs: tsorry 21:08 dgs: what do you use? 21:09 (quit) jonrafkind: Ping timeout: 240 seconds 21:17 bremner: he uses vim 21:18 bremner: or that other pre-historic editor 21:18 bremner: seriously, he probably uses emacs, like many scheme/lisp programmers 21:40 offby1: bremner: ya think? 21:41 bremner: well. tryin' to be a scientist about this. 21:41 bremner: I mean, I've never seen you use emacs with my own eyes 21:43 offby1: for that matter, I might be an AI, or a hallucination 21:44 (join) RackN00b 21:46 RackN00b: Can anyone help me out with this? It was a question from a few months ago. My solution was ~40 lines with three Y-combinators. My prof indicated that his solution was 4 lines: Write a function without using explicit recursion (pure lambda) that consumes a list of numbers and produces the powerset of the set of numbers in the list. IE (foo '(1 2 3)) => '( () (1) (2) (3) (1 2) (2 3) (1 2 3) (1 3)) The order within 21:46 RackN00b: list doesn't matter. 21:47 RackN00b: Maybe let's start by forgetting the pure-lamba. How would you right a function that combines every element in a list with every element thereafter 21:52 (quit) jeapostrophe: Ping timeout: 252 seconds 21:53 offby1: geez, I've done that a bunch of times 21:56 RackN00b: I just can't see how to do it. :( 21:57 RackN00b: Ah. crap... Gotta fly. 21:57 (quit) RackN00b: Quit: RackN00b 21:59 (join) thatdude 21:59 (quit) thatdude: Client Quit 22:04 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/m9HFqQ 22:04 RacketCommitBot: [racket/master] Remove accidentally pushed commits - Robby Findler 22:50 (join) veer 23:02 (nick) zkl -> zerokarmaleft 23:30 (join) jeapostrophe 23:37 (quit) jeapostrophe: Ping timeout: 245 seconds 23:37 (quit) jao: Ping timeout: 240 seconds 23:39 (join) jeapostrophe 23:50 (quit) jeapostrophe: Ping timeout: 240 seconds 23:51 (join) jeapostrophe