00:09 (join) freakazoid 00:12 (quit) freakazoid: Client Quit 00:22 (quit) jrslepak_: Ping timeout: 252 seconds 00:23 (join) jrslepak_ 00:26 (join) freakazoid 00:38 (join) m4burns 00:38 m4burns: good evening! 00:43 offby1: *grmpf* 00:46 (join) yoklov 00:49 m4burns: offby1: grumpy? 00:49 m4burns: Consider the function: (define (in) (if (eof-object? (peek-char)) empty (cons (read-char) (in)))) 00:50 (quit) bill_h: Remote host closed the connection 00:50 jonrafkind: is there a reason that function exists instead of just using read-bytes 00:51 m4burns: When this is executed in DrRacket 5.2's interactive area, the last line in the input is not captured when the user clicks 'EOF'. 00:51 (join) Demosthenes 00:51 m4burns: jonrafkind: no 00:51 m4burns: Is this a bug, or the correct behavior? 00:55 offby1: rudybot: (define (in) (if (eof-object? (peek-char)) empty (cons (read-char) (in)))) 00:55 rudybot: *offby1: Done. 00:56 offby1: rudybot: (with-input-from-string "wozzit" in) 00:56 rudybot: *offby1: ; Value: (#\w #\o #\z #\z #\i #\t) 00:56 offby1: m4burns: not pertinent to your question, but: "in" will use stack space proportional to the size of the input 00:57 jonrafkind: it would have made a list proportional to the size of the input as well so who cares 01:00 m4burns: offby1: i've only experienced this problem in DrRacket's repl 01:00 m4burns: offby1: also, the code segment exists only to illustrate the problem :P 01:08 (quit) kudkudyak: Ping timeout: 252 seconds 01:13 offby1: jonrafkind: good point 01:19 (quit) Demosthenes: Read error: Connection reset by peer 01:24 (quit) cataska: Read error: Operation timed out 01:25 (quit) yoklov: Quit: computer sleeping 01:27 (join) cataska 01:34 (quit) jeapostrophe: Ping timeout: 276 seconds 01:35 (quit) SeanTAllen: Max SendQ exceeded 01:38 (quit) karswell: Read error: Connection reset by peer 01:41 (quit) ozzloy: Ping timeout: 240 seconds 01:44 (quit) freakazoid: *.net *.split 01:44 (quit) Shviller: *.net *.split 01:44 (quit) jamessan: *.net *.split 01:44 (quit) eli: *.net *.split 01:44 (quit) chaozzbubi: *.net *.split 01:44 (quit) zerokarmaleft: *.net *.split 01:44 (quit) Oxryly: *.net *.split 01:44 (quit) jonrafkind: *.net *.split 01:44 (quit) MarcusMcRandall: *.net *.split 01:44 (quit) AlbireoX: *.net *.split 01:44 (quit) ChanServ: *.net *.split 01:44 (quit) dsantiago: *.net *.split 01:44 (quit) stamourv: *.net *.split 01:44 (quit) tauntaun: *.net *.split 01:44 (quit) jrslepak_: *.net *.split 01:44 (quit) cky: *.net *.split 01:44 (quit) mario-goulart: *.net *.split 01:44 (quit) tonyg: *.net *.split 01:44 (quit) rsimoes: *.net *.split 01:44 (quit) cipher: *.net *.split 01:44 (quit) stchang: *.net *.split 01:44 (quit) rudybot: *.net *.split 01:44 (quit) qubital: *.net *.split 01:44 (quit) elliottcable: *.net *.split 01:44 (quit) sethalves: *.net *.split 01:44 (quit) cataska: *.net *.split 01:44 (quit) acarrico: *.net *.split 01:44 (quit) petey`: *.net *.split 01:44 (quit) em: *.net *.split 01:44 (quit) mattmight: *.net *.split 01:44 (quit) dspt: *.net *.split 01:44 (quit) m4burns: *.net *.split 01:44 (quit) offby1_: *.net *.split 01:44 (quit) PfhatWork: *.net *.split 01:44 (quit) SHODAN: *.net *.split 01:44 (quit) danking: *.net *.split 01:44 (quit) GeneralMaximus: *.net *.split 01:44 (quit) rapacity: *.net *.split 01:44 (quit) chandler: *.net *.split 01:44 (quit) shachaf: *.net *.split 01:44 (quit) abbe: *.net *.split 01:44 (quit) shadgregory: *.net *.split 01:44 (quit) Shvillr: *.net *.split 01:44 (quit) snorble: *.net *.split 01:44 (quit) asumu: *.net *.split 01:44 (quit) eMBee: *.net *.split 01:44 (quit) _p4bl0: *.net *.split 01:44 (quit) offby1: *.net *.split 01:44 (quit) samth: *.net *.split 01:44 (quit) bfulgham: *.net *.split 01:44 (quit) bremner: *.net *.split 01:44 (quit) jrslepak: *.net *.split 01:44 (quit) gf3: *.net *.split 01:44 (quit) anttih: *.net *.split 01:49 (join) jeapostrophe 01:49 (join) ozzloy_ 01:49 (join) cataska 01:49 (join) m4burns 01:49 (join) freakazoid 01:49 (join) jrslepak_ 01:49 (join) qubital 01:49 (join) jonrafkind 01:49 (join) anttih 01:49 (join) AlbireoX 01:49 (join) jrslepak 01:49 (join) samth 01:49 (join) Shviller 01:49 (join) shachaf 01:49 (join) MarcusMcRandall 01:49 (join) dspt 01:49 (join) jamessan 01:49 (join) eli 01:49 (join) chaozzbubi 01:49 (join) PfhatWork 01:49 (join) bfulgham 01:49 (join) acarrico 01:49 (join) dsantiago 01:49 (join) elliottcable 01:49 (join) stamourv 01:49 (join) zerokarmaleft 01:49 (join) Oxryly 01:49 (join) rsimoes 01:49 (join) shadgregory 01:49 (join) SHODAN 01:49 (join) bremner 01:49 (join) Shvillr 01:49 (join) cipher 01:49 (join) sethalves 01:49 (join) abbe 01:49 (join) snorble 01:49 (join) gf3 01:49 (join) danking 01:49 (join) tauntaun 01:49 (join) ChanServ 01:49 (join) tonyg 01:49 (join) mario-goulart 01:49 (join) cky 01:49 (join) rudybot 01:49 (join) stchang 01:49 (join) offby1_ 01:49 (join) petey` 01:49 (join) asumu 01:49 (join) em 01:49 (join) eMBee 01:49 (join) _p4bl0 01:49 (join) GeneralMaximus 01:49 (join) mattmight 01:49 (join) chandler 01:49 (join) rapacity 01:49 (join) offby1 01:58 (quit) jeapostrophe: Ping timeout: 252 seconds 01:58 (quit) realitygrill: Quit: realitygrill 02:03 (join) SeanTAllen 02:04 RacketCommitBot: [racket] plt pushed 1 new commit to release: http://git.io/W4SbTg 02:04 RacketCommitBot: [racket/release] New Racket version 5.2.0.900. - Eli Barzilay 02:04 cky: 5.2.1 is coming out?! Wow. 02:06 jonrafkind: theres a release every 4 months, iirc 02:07 cky: 's good. :-) 02:14 (quit) jrslepak: Quit: This computer has gone to sleep 02:19 (join) Demosthenes 02:23 (quit) jonrafkind: Ping timeout: 240 seconds 02:33 (join) realitygrill 02:39 (join) jt123 02:59 (quit) realitygrill: Quit: realitygrill 03:01 (quit) Demosthenes: Read error: Connection reset by peer 03:01 (join) Demosthenes 03:04 (quit) freakazoid: Quit: Computer has gone to sleep. 03:23 (join) sindoc 03:36 (quit) sindoc: Quit: Leaving. 03:36 (join) sindoc 03:39 (join) Blkt 03:49 (quit) Shviller: Ping timeout: 260 seconds 03:49 (join) Shviller 03:52 (join) snearch 04:05 (join) noelw_away 04:20 (quit) sindoc: Quit: Leaving. 04:36 (quit) Blkt: Quit: ERC Version 5.3 (IRC client for Emacs) 04:36 (join) Blkt` 04:36 (quit) Blkt`: Remote host closed the connection 04:36 (join) Blkt 04:39 (join) varun729 04:44 (quit) varun729: Quit: Page closed 05:02 (join) gciolli 05:03 Blkt: good (late) morning everyone 05:10 noelw_away: word up 05:10 noelw_away: Hey, I'm not away anymore 05:11 (nick) noelw_away -> noelw 05:49 (join) sindoc 05:57 (quit) gciolli: Ping timeout: 240 seconds 06:18 (part) jt123 06:32 (quit) Blkt: Remote host closed the connection 06:35 (join) Blkt 07:05 (join) masm 07:39 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/W1V6fQ 07:39 RacketCommitBot: [racket/master] ntoronto is responsible for images. - Eli Barzilay 07:39 RacketCommitBot: [racket/master] * Fix showing branch in non-master builds. - Eli Barzilay 08:14 (join) jeapostrophe 08:24 (nick) chaozzbubi -> ChaozZBubi 08:32 bremner: hmm. today in class someone doing the tutorial tried to run (colorize (circle 10) (list 255 255 0)) and racket complained about wanting a color, not a list. Are the docs wrong, or is there some simple pebkac? 08:45 (quit) Demosthenes: Quit: leaving 09:07 (join) jrslepak 09:08 (quit) jrslepak: Client Quit 09:09 (join) jrslepak 09:17 (join) gciolli 09:17 (join) tim-brown 09:17 tim-brown: documentation of sequence-fold says "(sequence-fold f i s) ? (void)" 09:18 tim-brown: doesn't it return any/c ? the accumulated folded value? 09:18 tim-brown: (sequence-fold + 2 '(1 2 3 4)) 09:18 tim-brown: rudybot: (sequence-fold + 2 '(1 2 3 4)) 09:18 rudybot: tim-brown: your sandbox is ready 09:18 rudybot: tim-brown: ; Value: 12 09:18 tim-brown: that's a value, not void 09:23 eli: bremner: BTW, that thing you described with the double #lang sounds like a bug -- if you mail me exactly how you got it I'll try to figure it out. 09:25 chandler: tim-brown: what version are you using? 09:25 chandler: I see (sequence-fold f i s) → any/c 09:26 tim-brown: oh... unicod! 09:27 tim-brown: from 5.1.3 docs 09:27 chandler: rudybot: version 09:27 rudybot: chandler: 9233871 09:27 tim-brown: (sequence-fold f i s) -> (void) 09:27 chandler: hm. not what I was looking for 09:27 chandler: rudybot: eval (version) 09:27 rudybot: chandler: your sandbox is ready 09:27 rudybot: chandler: ; Value: "5.2" 09:28 bremner: eli: in DrRacket, with #lang racket in the definitions buffer and "Determine language from source", running retrieve generates a new window with #lang racket about the retrieved file (in racket 5.2) 09:28 chandler: I copied and pasted from the 5.2 docs. Sounds like it was a documentation bug in pre-5.2. 09:28 tim-brown: as long as it's fixed! 09:28 tim-brown crawls back under rock 09:30 chandler: Yes, I just found the commit. It was a bug in the documentation. 09:31 bremner: Is there any way to get that test-coverage coloring from IntermediateStudent in a typed/racket variant? 09:37 eli: bremner: No, and feel free to post a request... (I've asked for it many times, and gave up.) 09:39 (quit) stchang: Read error: Operation timed out 09:40 bremner: isn't the "syntactic test suite coverage" a bit similar? 09:42 eli: bremner: Yes, but the colors are bad -- it's easy to miss a last bod of red text. 09:42 bremner: ok. 09:42 bremner: still, I think I don't want to force students to learn contracts for one assignment. 09:43 eli: How did contracts enter into it? 09:43 bremner: oh, just looking at your first assignment, which is in intermediate student. 09:44 (join) stchang 09:45 bremner: or I could just not make them do contracts. 09:46 (nick) jrslepak -> cyber_police 09:46 eli: bremner: ah, the idea there is a bunch of intro questions. 09:46 bremner: sure. 09:46 (nick) cyber_police -> jrslepak 09:46 eli: I make the server check that the solutions are correct, reject ones that are not. 09:46 bremner: but your students have already done htdp. 09:46 eli: And I tell them that since all solutions are going to be working, they're going to be graded only on style. 09:46 bremner: so it's review, at least in principle. 09:47 eli: Yes, you'll want something more organized there. 09:55 (quit) gciolli: Ping timeout: 240 seconds 10:00 bremner: eli: do you have some special emacs mode for editing at-exp files? The default scheme mode doesn't work that nicely for me. 10:01 bremner: I guess text-mode is an improvement ;) 10:20 (quit) jrslepak: Quit: This computer has gone to sleep 10:23 (quit) qubital: Quit: leaving 10:29 (join) _AlbireoX 10:31 (quit) AlbireoX: Ping timeout: 240 seconds 10:52 (quit) jeapostrophe: Ping timeout: 260 seconds 11:04 (join) anRch 11:15 m4burns: eli: I mentioned some strange behavior with peek-char and get-char in DrRacket's repl last night. 11:16 m4burns: eli: It looks like any characters entered into the input box without a trailing newline are discarded when the user hits 'EOF'. 11:16 m4burns: eli: I'm not sure if this is a bug, or if I'm not understanding what's going on. 11:19 offby1: sounds vaguely bugaceous. 11:22 offby1: m4burns: curiously, if I put that code into a file, preceded by "#lang racket" and succeeded by "(in)", then run the file á la "racket whoa.rkt", and then type into it while it's reading ... it works as you'd expect. Namely: even the last, incomplete, line appears in the output. 11:23 offby1: that makes it seem more likely that drracket's behavior is a bug, since it differs from the command line. 11:32 (join) jeapostrophe 11:35 m4burns: offby1: yeah, this is causing some confusion in the class I am tutoring 11:41 (join) jschuster 11:49 (join) realitygrill 11:56 (join) kudkudyak 11:58 (join) gciolli 12:07 (join) JoelMcCracken 12:11 offby1: m4burns: You can make it a "teachable moment"™: "Well, kids, welcome to the world of software, where everything is slightly broken" 12:11 (part) anttih 12:15 (quit) Blkt: Quit: ERC Version 5.3 (IRC client for Emacs) 12:15 (quit) kudkudyak: Ping timeout: 252 seconds 12:17 m4burns: offby1: "You'll spend your career trying to make things less broken, but you'll never really succeed." :P 12:17 (quit) gciolli: Ping timeout: 276 seconds 12:21 (quit) anRch: Quit: anRch 12:35 offby1: heh 12:36 (join) anRch 12:37 (join) jonrafkind 12:40 (join) sstrickl 12:41 (join) jrslepak 12:44 (quit) masm: Remote host closed the connection 12:45 (join) masm 12:48 (part) tim-brown: "Leaving" 12:57 RacketCommitBot: [racket] plt pushed 5 new commits to master: http://git.io/hpo6KA 12:57 RacketCommitBot: [racket/master] [honu] change to honu extension - Jon Rafkind 12:57 RacketCommitBot: [racket/master] [honu] provide #%top and #%datum for standard honu - Jon Rafkind 12:57 RacketCommitBot: [racket/master] [honu] fix for literal sets generated in a macro. replace . with -> for classes in the linq example - Jon Rafkind 13:02 (quit) anRch: Quit: anRch 13:10 (quit) snearch: Quit: Verlassend 13:13 (quit) JoelMcCracken: Ping timeout: 240 seconds 13:18 (join) gciolli 13:21 (join) alkoma 13:21 (join) freakazoid 13:23 (quit) jrslepak: Quit: Leaving 13:24 (part) alkoma 13:38 (quit) realitygrill: Read error: Connection reset by peer 13:38 (join) realitygrill 13:48 (quit) realitygrill: Read error: Connection reset by peer 13:48 (join) realitygrill 13:51 (join) josef_ 13:57 RacketCommitBot: [racket] plt pushed 6 new commits to master: http://git.io/NKFVLw 13:57 RacketCommitBot: [racket/master] added a cycle check to define-language so grammars like this one: - Robby Findler 13:57 RacketCommitBot: [racket/master] redex: adjust the test suites to clean up a few things; also make the - Robby Findler 13:57 RacketCommitBot: [racket/master] tweak the compiled representation of lw structs so they take less space - Robby Findler 13:59 (join) EmmanuelOga 14:05 (quit) josef_: Ping timeout: 258 seconds 14:09 (quit) sindoc: Quit: Leaving. 14:10 (quit) realitygrill: Read error: Connection reset by peer 14:10 (join) realitygrill 14:18 (quit) gciolli: Ping timeout: 260 seconds 14:48 Oxryly: is there a racket alternative to mzscheme's fluid-let? 14:50 jonrafkind: parameterize 14:51 stamourv: bremner: neilv has a mode for scribble. 14:52 stamourv: http://www.neilvandyke.org/scribble-emacs/ 14:56 Oxryly: jonrafkind: ugh... so it seems I'll have to clean up my code that uses fluid-let... 14:57 jonrafkind: (define fluid-let parameterize) ? 14:58 bremner: stamourv: thanks, trying it out. 14:59 Oxryly: based on my reading, parameterize can only rebind parameters, not just any top level definition, right? 14:59 (quit) freakazoid: Quit: Computer has gone to sleep. 15:00 stamourv: Oxryly: Right. 15:01 stamourv: That avoids potential surprises. Only things that are explicitly parameters can change dynamically. 15:02 Oxryly: some of my code likes to surprise some of my other code 15:03 (join) DanBurton 15:06 Oxryly: c'mon, that was a good one 15:14 (join) JoelMcCracken 15:21 (nick) ChaozZBubi -> chaozzbubi 16:10 (nick) ozzloy_ -> ozzloy 16:10 (quit) ozzloy: Changing host 16:10 (join) ozzloy 16:31 (quit) JoelMcCracken: Read error: Connection reset by peer 16:33 (join) JoelMcCracken 16:41 (join) freakazoid 16:43 (join) yoklov 16:45 (quit) freakazoid: Client Quit 16:45 (join) freakazoid 16:46 (nick) MarcusMcRandall -> novato_nl 16:47 (quit) JoelMcCracken: Ping timeout: 240 seconds 16:48 (quit) freakazoid: Client Quit 16:48 (join) freakazoid 16:48 (quit) yoklov: Quit: bye! 16:49 (join) yoklov 17:36 (join) anRch 17:50 (quit) DanBurton: Quit: Leaving 18:03 RacketCommitBot: [racket] plt pushed 8 new commits to release: http://git.io/-ghRcQ 18:03 RacketCommitBot: [racket/release] ntoronto is responsible for images. - Eli Barzilay 18:03 RacketCommitBot: [racket/release] * Fix showing branch in non-master builds. - Eli Barzilay 18:03 RacketCommitBot: [racket/release] added a cycle check to define-language so grammars like this one: - Robby Findler 18:06 (join) snearch 18:08 (join) sindoc 18:13 RacketCommitBot: [racket] plt pushed 5 new commits to master: http://git.io/bhNIDA 18:13 RacketCommitBot: [racket/master] fix I/O race in test - Matthew Flatt 18:13 RacketCommitBot: [racket/master] make `scriblib/figure' work with `scribble/jfp' - Matthew Flatt 18:13 RacketCommitBot: [racket/master] collapse Racket HISTORY.txt for v5.2.1 - Matthew Flatt 18:13 (nick) jschuster -> jschuster_away 18:16 (quit) mario-goulart: Read error: Connection reset by peer 18:17 (join) bill_h 18:17 (join) mario-goulart 18:26 (quit) anRch: Quit: anRch 18:31 (quit) sstrickl: Quit: sstrickl 18:33 (quit) jao: Ping timeout: 240 seconds 18:36 (quit) jeapostrophe: Ping timeout: 252 seconds 18:38 (quit) bill_h: Remote host closed the connection 18:47 (quit) snearch: Quit: Verlassend 18:59 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/n7gQ5g 18:59 RacketCommitBot: [racket/master] fix problem printing symbols with unicode chars - Matthew Flatt 18:59 RacketCommitBot: [racket/master] protect `raco setup' from files in linked collection dirs - Matthew Flatt 19:10 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/ji6apQ 19:10 RacketCommitBot: [racket/master] replaced gamepad image with higher resolution version - Matthias Felleisen 19:16 (quit) realitygrill: Quit: realitygrill 19:18 (join) sindoc1 19:18 (quit) sindoc: Read error: Connection reset by peer 19:19 (join) realitygrill 19:28 yoklov: hrm 19:29 yoklov: so setting a scale value to a negative number does not cause the dc to draw backwards. 19:29 yoklov: darn. 19:31 yoklov: nobody has any clue as to how i can flip a bitmap, do they? 19:32 (quit) realitygrill: Quit: realitygrill 19:46 (quit) sindoc1: Read error: Connection reset by peer 19:51 (quit) jonrafkind: Ping timeout: 252 seconds 19:55 yoklov: hrm. there's a function in 2htdp called flip-vertical 19:56 yoklov: looking at the source though, it? doesn't really seem to apply. 20:09 (quit) _AlbireoX: Quit: Leaving 20:09 yoklov: wow no i'm just a fool. 20:09 (join) _AlbireoX 20:09 yoklov: negative scale does work. 20:23 (nick) samth -> samth_away 20:31 (join) jrslepak 20:35 (join) Demosthenes 20:37 (join) kandinski 20:38 kandinski: I am doing exercises (self-study), is there a racket mode/language that can run expression such as this: " (((λ f . (λ x . (f x))) (λ a . a)) (λ b . b))"? Thanks. 20:41 (join) jeapostrophe 20:44 freakazoid: kandinski: That has a fairly trivial translation to scheme - just put parens around the part between the λ and the . and remove the . 20:44 freakazoid: rudybot: (((λ (f) (λ (x) (f x))) (λ (a) a)) (λ (b) b)) 20:44 rudybot: freakazoid: your sandbox is ready 20:44 rudybot: freakazoid: ; Value: # 20:46 kandinski: rite, I had guessed that it returned (λ b . b) 20:49 freakazoid: nope 20:49 (quit) EmmanuelOga: Ping timeout: 240 seconds 20:55 kandinski: (λ a . a)? 20:55 freakazoid: Oh I see what you're saying 20:56 kandinski: (same function, but not the same procedure) 20:56 freakazoid: sorry, I thought you meant that it would return the last thing 20:56 kandinski: yes, I did 20:57 kandinski: now I realises it applies B to A, not A to B 20:57 kandinski: s/realises/realise/ 20:58 freakazoid: right, x is (λ a . a) 20:58 freakazoid: and f is (λ b . b) 20:59 kandinski: thanks 20:59 freakazoid: oh wat 20:59 freakazoid: nesting parens 20:59 freakazoid: You should write this out on separate lines and indent 21:01 freakazoid: So you were right the first time 21:01 freakazoid: https://skitch.com/seanlynch/gacds/untitled-drracket 21:02 freakazoid: though actually the highlighting of expressions is more useful than the indentation 21:05 kandinski: oh rite 21:08 kandinski: thanks again 21:08 kandinski relurks 21:10 Oxryly: can someone help with this Racket error message: http://pastebin.com/vHgeK69R? 21:10 Oxryly: er, the url is just http://pastebin.com/vHgeK69R 21:11 Oxryly: I'm trying to control exported definitions by using a few layers of modules 21:32 (quit) jeapostrophe: Ping timeout: 276 seconds 21:33 (quit) masm: Quit: Leaving. 21:33 Oxryly: seem to have fixed it by doing (require "myfile.scm") instead of (require (file "myfile.scm")) everywhere 21:34 Oxryly: is there a racket replacement for mzscheme's make-immutable-hash-table? 21:40 Oxryly: make-immutable-hash 21:48 Oxryly: I'm migrating a scheme based system from PLT 3.51 to latest Racket, if you can believe that 21:48 Oxryly: (actually 3.50) 21:49 (join) kmklz 21:52 (quit) Demosthenes: Read error: Connection reset by peer 21:54 (quit) _AlbireoX: Quit: Leaving 21:55 (join) AlbireoX 22:03 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/modANA 22:03 RacketCommitBot: [racket/master] fix bug in lw struct generation - Robby Findler 22:04 (join) Demosthenes 22:12 (join) realitygrill 22:14 (join) EmmanuelOga 22:29 (join) jeapostrophe 22:35 (join) karswell 22:57 (quit) cataska: Ping timeout: 252 seconds 23:05 (join) cataska 23:26 (join) jonrafkind 23:27 (quit) EmmanuelOga: Ping timeout: 244 seconds 23:32 (quit) jeapostrophe: Read error: Operation timed out