00:16 (join) Burlingk 00:29 (join) mithos28 00:46 (quit) dnolen: Quit: dnolen 01:06 (quit) karswell: Read error: Connection reset by peer 01:08 (join) karswell 01:22 (quit) neilv: Quit: Leaving 01:25 (quit) Burlingk: Quit: Leaving 01:28 (join) jao 01:44 (quit) jao: Ping timeout: 248 seconds 02:01 (quit) jonrafkind: Ping timeout: 276 seconds 02:36 (join) neilv 02:54 (quit) tomku: Ping timeout: 245 seconds 02:56 (join) tomku 03:12 (join) bluezenix 03:12 (quit) _danb_: Quit: ERC Version 5.3 (IRC client for Emacs) 03:24 (quit) mithos28: Quit: mithos28 03:31 (join) hkBst 03:36 (join) masm 03:42 (join) mm007 03:42 (quit) neilv: Quit: Leaving 03:47 (quit) GeneralMaximus: Ping timeout: 248 seconds 03:51 (join) eMko_CZ 03:53 (quit) mm007: Ping timeout: 252 seconds 04:02 (part) eMko_CZ 04:02 (join) eMko_CZ 04:03 (quit) bluezenix: Ping timeout: 255 seconds 04:07 (join) bluezenix 04:08 (join) bluezenix1 04:10 (join) noelw 04:11 (quit) bluezenix: Ping timeout: 256 seconds 04:12 (join) bluezenix 04:13 (quit) bluezenix1: Ping timeout: 245 seconds 04:32 (join) Burlingk 04:32 (join) Emry 04:32 (join) burlingk__ 04:35 (quit) Emry: Client Quit 04:35 (quit) Burlingk: Client Quit 04:41 (nick) burlingk__ -> Burlingk 04:41 (join) dmac 05:19 (join) ahinki 05:27 (quit) ahinki: Read error: Connection reset by peer 05:38 (join) chturne 05:38 (quit) dmac: Ping timeout: 276 seconds 05:39 (join) dmac 05:42 (quit) noelw: Quit: noelw 05:44 (join) noelw 05:48 (quit) dmac: Ping timeout: 256 seconds 05:50 (quit) chturne: Ping timeout: 248 seconds 05:53 (join) chturne 06:00 (join) MayDaniel 06:03 (join) _danb_ 06:18 (join) MightyFoo 06:20 MightyFoo: in rackunit, why are there "check-" functions and "test-" functions? e.g. test-equal? and check-equal? 06:20 MightyFoo: aside from the test-name being moved from the end to the beginning of the arguments list 06:21 MightyFoo: ooh... sorry, just read to the bottom of 3.3.1.1 of rackunit documentation 06:23 noelw: yeah, legacy 06:24 noelw: don't use the shortcuts 06:24 noelw: you'll make me cry 06:29 (join) mceier 06:35 MightyFoo: is the "Module Browser" designed to ignore "...-test.rkt" modules? 06:58 noelw: don't think so 07:15 (quit) bluezenix: Quit: Leaving. 07:23 (join) bluezenix 07:30 MightyFoo: i've got a scribble document that lp-includes .rkt and -test.rkt files -- module browser only shows .rkt files 07:35 (quit) bluezenix: Read error: Connection reset by peer 07:36 (join) dnolen 07:43 (join) bluezenix 07:55 (quit) bluezenix: Ping timeout: 244 seconds 08:01 (join) tfb 08:11 (quit) _danb_: Quit: ERC Version 5.3 (IRC client for Emacs) 09:00 (join) bluezenix 09:05 (quit) bluezenix: Ping timeout: 244 seconds 09:19 (quit) Burlingk: Quit: Leaving 09:28 (join) ahinki 09:54 (quit) chturne: Ping timeout: 248 seconds 10:02 (quit) dnolen: Quit: dnolen 10:09 (join) dnolen 10:09 (quit) dnolen: Client Quit 10:14 (join) chturne 10:15 (part) eMko_CZ 10:45 (quit) hkBst: Read error: Connection reset by peer 10:57 (join) ChibaPet 11:01 (quit) ChibaPet: Client Quit 11:04 (part) ahinki 11:07 (quit) realitygrill: Quit: realitygrill 11:10 (quit) elliottcable: Read error: Connection reset by peer 11:12 (join) ChibaPet 11:14 (part) MightyFoo: "Leaving" 11:32 (join) mithos28 11:32 (join) realitygrill 11:35 (join) jonrafkind 11:41 (join) anRch 11:43 (join) bluezenix 11:44 (join) dnolen 11:44 (quit) chturne: Ping timeout: 256 seconds 11:44 (join) chturne 11:50 (quit) bluezenix: Quit: Leaving. 11:50 (join) slilo 11:51 (part) slilo 11:53 (quit) karswell: Read error: Operation timed out 11:58 (quit) chturne: Ping timeout: 260 seconds 12:02 (join) karswell 12:23 (join) ysangok 12:23 (nick) ysangok -> ysangkok 12:24 ysangkok: hi guys 12:24 ysangkok: i'm trying to access v053 docs, but i get 403 Forbidden 12:25 jonrafkind: v053??? like from 15 years ago? 12:25 ysangkok: yes 12:25 jonrafkind: where are you looking 12:25 ysangkok: http://download.plt-scheme.org/doc/053/ 12:26 ysangkok: 103p1 is working 12:26 jonrafkind: eli, can you make it work? 12:30 (join) chturne 12:40 (join) jschuster 12:46 (quit) anRch: Quit: anRch 12:47 (join) bluezenix 12:55 (join) anRch_ 13:12 (quit) bluezenix: Quit: Leaving. 13:17 ysangkok: jonrafkind: should i come back later to remind you, maybe when eli wakes up? 13:17 jonrafkind: sure 13:17 (join) samth 13:17 ysangkok: ok bye then 13:17 (quit) ysangkok: Quit: SIGXCPU 13:32 (quit) chturne: Read error: No route to host 13:33 (join) vitaliy_ 13:39 (part) vitaliy_ 13:43 (quit) anRch_: Quit: anRch_ 13:44 (join) dmac1 13:45 (quit) realitygrill: Quit: realitygrill 13:50 (join) bluezenix 14:06 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/ZVRnEw 14:06 RacketCommitBot: [racket/master] fix a race (suggested by drdr test results) - Robby Findler 14:06 RacketCommitBot: [racket/master] fix the way that the set of identifiers to rename is calculated so that - Robby Findler 14:12 (join) realitygrill 14:15 (join) jrslepak 14:26 (quit) bluezenix: Quit: Leaving. 14:42 (join) Eren 14:43 Eren: I couldn't find a way to compose two functions 14:43 (join) bluezenix 14:43 Eren: in the paper "Why Functional Programming Matters" by John Hughes 14:43 Eren: it's one as (first . g) 10 14:44 Eren: it's translated as (first (g 10)) 14:46 jonrafkind: rudybot: ((compose (lambda (x) (+ x 1)) (lambda (y) (* y 2))) 4) 14:46 rudybot: jonrafkind: your sandbox is ready 14:46 rudybot: jonrafkind: ; Value: 9 14:57 (quit) mceier: Quit: leaving 15:01 eli: jonrafkind: there are no docs for 53. 15:01 jonrafkind: theres a link for it 15:02 jonrafkind: so the link should be erased? 15:05 eli: The link is on plt-scheme.org. 15:07 jonrafkind: well apparently people are trying to access it. ill leave it up to you to decide if you care about those people 15:09 eli: plt-scheme.org is frozen, and changes have to be done manually. 15:09 eli: And supporting, uh, v53 downloads, is not really high on the priority queue. 15:11 (join) anRch 15:21 (join) Blkt 15:24 (quit) dmac1: Ping timeout: 252 seconds 15:24 Blkt: good evening everyone 15:25 (join) dmac1 15:28 (join) jeapostrophe 15:28 (quit) realitygrill: Quit: realitygrill 15:28 (join) kennyd 15:29 (join) beginnerman 15:35 (join) eMko_CZ 15:39 beginnerman: hey guys, how do i set up racket on ubuntu 11.04 15:39 beginnerman: i am trying to learn to program and people suggested i read SCIP which uses scheme 15:40 ChibaPet: SICP - Structure and Interpretation of Computer Programs 15:41 jonrafkind: beginnerman, there is a ppa or you can just download the installer 15:41 beginnerman: ChibaPet, oh yes sorry 15:41 jonrafkind: here is instructions to installing the ppa: http://groups.google.com/group/plt-scheme/browse_thread/thread/2fe94a8530fa2875/f98f25cc72b19c19?pli=1 15:41 rudybot: http://tinyurl.com/62hpx5g 15:42 jonrafkind: or download the installer http://racket-lang.org/download/ 15:43 (quit) jeapostrophe: Quit: jeapostrophe 15:44 beginnerman: thanks 15:46 bremner: aren't there official ubuntu packages? 15:47 ChibaPet: It'll be old. 15:48 ChibaPet: Probably. 15:51 jonrafkind: the official ubuntu packages are for plt-scheme still 15:51 jonrafkind: there are some 5.x packages for racket but only in debian unstable which ubuntu will pull eventually 15:51 jonrafkind: this is why i created the ppa, because it takes too long to go from debian unstable to ubuntu 15:51 jonrafkind: also the ppa is generally as up to date as the other releases (made within a day of the release) 15:51 (join) realitygrill 15:52 bremner: shrug 16:00 (quit) eMko_CZ: Quit: eMko_CZ 16:01 (join) ysangkok 16:07 bremner: perhaps some Ubuntu person should request syncs more often 16:09 (quit) MayDaniel: Read error: Connection reset by peer 16:10 bremner: ppas are good, but having newer versions out of the box would also be good 16:12 jonrafkind: ill be sure to pray extra hard tonight so ubuntu gets upgraded 16:15 (join) jao 16:17 bremner: i think it has something to do with launchpad, rather than prayer 16:18 jonrafkind: afaik launchpad is only related to ppa's 16:19 bremner: i mean, someone has to care enough to file a request, and i guess that request would be on launchpad 16:25 samth: jonrafkind, launchpad is their general bug tracking system 16:31 (quit) tfb: Quit: sleeping 16:32 (quit) jrslepak: Remote host closed the connection 16:33 (quit) ysangkok: Quit: killed by meteor 16:34 (quit) beginnerman: Quit: Ex-Chat 16:52 (quit) anRch: Quit: anRch 16:56 tauntaun: Any word on when the RacketCon videos might be available? 17:07 (join) bluezenix1 17:08 (quit) bluezenix: Ping timeout: 260 seconds 17:08 jonrafkind: samth, ? 17:10 (join) kwamz 17:10 kwamz: hello? 17:10 jonrafkind: sup 17:10 kwamz: Hey are you good with racket? 17:10 jonrafkind: samth, btw i was referring to tauntaun's question, not launchpad there 17:10 jonrafkind: kwamz, obviously you have a question about racket so just ask it 17:11 kwamz: I need some help making a program that will show a ball moving one direction then change directions when an arrow key is pressed 17:12 kwamz: I've got the code down for the actual button press, but the direction change is messing me up 17:12 jonrafkind: you could have a direction variable and do (set! direction (- direction)) 17:12 kwamz: I have to do this program in BSL 17:13 stamourv: kwamz: Don't use `set!'. It's usually a bad idea. 17:13 stamourv: kwamz: What step of the design recipe are you at? 17:13 jonrafkind: imo set! is fine 17:14 kwamz: Im at the actual coding part. I have the data representations and contracts/templates written 17:14 stamourv: jonrafkind: It sometimes is what you want, but much less often than one would think. 17:14 stamourv: That, and suggesting it to beginners is not a good idea. 17:15 stamourv: kwamz: So what's the data definition for your World? 17:15 stamourv: (Assuming you're doing this with Big-Bang.) 17:15 kwamz: yep 17:15 kwamz: I have two positive integers representing the current position of the ball 17:16 (quit) dnolen: Quit: Page closed 17:16 stamourv: kwamz: Is that enough? 17:16 stamourv: More importantly, can you tell the direction the ball is going using only that? 17:16 kwamz: That's what the prompt for the exercise said. 17:17 kwamz: and that's the problem i have been having 17:17 stamourv: You mean that's the world definition it gave you? 17:17 kwamz: i tried using a cond in the ball-next function to differentiate the direction, but the program blows up 17:17 kwamz: too many variables or something 17:18 stamourv: If that's the definition that was given for you, I assume it was for the first part of the exercise, where the ball only moved in one direction, right? 17:18 kwamz: Sort of... 17:18 stamourv: What do you mean? 17:19 kwamz: It was split up into several questions 17:19 stamourv: Right. 17:19 kwamz: the first was develop a data representation for the current location of the ball with two positive integers 17:19 stamourv: So that world definition was appropriate at that point. 17:20 kwamz: the second was develop a data representation for the velocity and speed of the ball (10 units/tick) 17:20 stamourv: But, just like in real-world programming, requirements sometimes change, and you need to adapt your data definitions. 17:20 kwamz: that's where i mess up 17:20 stamourv: A definition that was perfectly fine for the old requirements (ball moving in a single direction) may not be enough for the new ones (ball moving in two directions). 17:21 stamourv: So let's think about the problem. What do you think is missing from your data definition. 17:21 kwamz: Hmmm so how should i go about this? 17:21 stamourv: As usual, by following the design recipe. 17:21 kwamz: I'm guessing the velocity is missing from my original world definition 17:21 stamourv: If we follow it carefully, we'll get the answer. 17:21 stamourv: That sounds like an idea worth exploring. 17:21 kwamz: Okay so first I describe my data 17:22 stamourv: Exactly! 17:22 kwamz: I have two numbers (positive integers) representing my location, a value for my speed and a direction 17:22 kwamz: How do i describe the direction in racket> 17:23 kwamz: ?* 17:23 stamourv: There are multiple ways you can do it. 17:23 kwamz: As an enumeration? 17:23 stamourv: You can "store" it in the sign of the velocity. 17:23 stamourv: Or you could have an enumerations. 17:23 kwamz: store it? 17:23 stamourv: s/enumerations/enumeration/ 17:24 stamourv: Well, have the velocity be positive if going right, negative if going left, something like that. 17:24 stamourv: But an enumeration is perfectly good too. 17:24 kwamz: Okay 17:24 stamourv: Choose whichever you're more comfortable with. This is your program. 17:25 kwamz: what is the s/enumerations/enumeration you typed above? 17:25 kwamz: The other problem is, im not just going left and right, i have to go up and down too 17:25 (quit) Blkt: Ping timeout: 245 seconds 17:25 stamourv: Oh, that's sed. It basically means a search and replace. I made a typo in the previous line, and wanted to "correct" it. 17:25 kwamz: oh ok haha 17:25 stamourv: Then an enumeration in more flexible. 17:26 stamourv: s/in/is/ 17:26 stamourv: I fail at typing today. 17:26 kwamz: Umm I have to get going to cross country practice, so is there any way you could give me a little nudge in the right direction? and don't worry about the typing, you're helping me a lot 17:27 stamourv: Try to extend your world definition with the enumeration, then follow the recipe, and update your functions to use the new world definition. 17:28 stamourv: When you do hit the part where you do the actual movement, it should be straightforward, since it will only be a small portion of the program that will need to change. 17:28 stamourv: Anyway, I hve to go myself, so good luck! 17:28 kwamz: Can the world definition include a make-posn and a direction? 17:29 stamourv: Sure, that works. 17:29 kwamz: Okay, thanks a ton! 17:29 stamourv: NO problem! 17:29 kwamz: bye 17:29 stamourv: s/NO/No/, I'm not shouting 17:29 (quit) kwamz: Quit: Page closed 17:39 (quit) bluezenix1: Quit: Leaving. 17:51 (join) mceier 17:59 (join) yoklov1 18:01 yoklov1: Do you guys think that SICP is too difficult to be useful material for a introductory computer science course? 18:01 tauntaun: No. 18:01 tauntaun: I use it to teach CS to middle-school kids. 18:01 tauntaun: (...though not systematically.) 18:02 yoklov1: I'm a TA this year for a course that's using it, and I don't know if I feel like any of the kids ``get it'' 18:02 yoklov1: and I know when I took this course I thought the book was totally incomprehensible 18:03 yoklov1: though i believed if i could understand it, that it had the secrets of being an incredible programmer 18:03 yoklov1: I still think that :p 18:03 yoklov1: But really, you don't think it's too hard? 18:03 yoklov1: even for middle school? 18:03 tauntaun: I don't use it as a cover-to-cover text, only as a resource. But my kids to read some of its passages and understand. 18:04 tauntaun: s/to/do 18:05 yoklov1: I mean, cover to cover would be unreasonable for introductory material, the first 3 chapters are all you can really hope for in the best case. 18:05 (join) jeapostrophe 18:06 yoklov1: You don't think that those passages could be better explained though? SICP is usually rather terse, and whenever i've found it really helpful it's been like, a code example 18:10 tauntaun: I don't think it's too terse; if anything, the writing is elegant and happily free of the turgid prose that bloats so many of today's textbooks. 18:10 tauntaun: (You don't want to get me started on textbooks.) 18:14 yoklov1: Well, yeah 18:15 yoklov1: textbooks can be really terrible 18:17 yoklov1: But there are other scheme books, HTDP for instance, seems to be a more gentle introduction, though i've never read more than a small portion of it. 18:21 (join) _danb_ 18:24 (quit) mceier: Quit: leaving 18:26 samth: yoklov1, htdp was designed to address these kinds of weaknesses in sicp 18:27 yoklov1: that makes sense 18:27 samth: http://en.wikipedia.org/wiki/The_Structure_and_Interpretation_of_the_Computer_Science_Curriculum 18:27 rudybot: http://tinyurl.com/3uk7fm6 18:27 samth: http://www.ccs.neu.edu/racket/pubs/jfp2004-fffk.pdf 18:40 yoklov1: i definitely agree with page 9: ``sicp’s second major problem concerns its selection of examples and exercises. All of these use complex domain knowledge'' 18:41 yoklov1: The kids in my lab are all first semester freshmen and don't even know calculus yet, so a lot of the math is beyond them 18:41 yoklov1: or at least more than they've seen 18:50 (join) bfulgham 19:03 samth: yoklov1, check out picturing programs: http://picturingprograms.com/ 19:03 (join) carleastlund 19:10 yoklov1: That's pretty cool, but I think it's too far in the other direction 19:10 yoklov1: at least, unless it's for non-majors, which the philosophy seems to say now that i look 19:23 (join) dnolen 19:25 (quit) ChibaPet: Quit: Leaving. 19:27 (quit) jschuster: Quit: Leaving 19:32 (quit) realitygrill: Quit: realitygrill 19:35 (quit) jeapostrophe: Quit: jeapostrophe 20:04 (quit) masm: Quit: Leaving. 20:07 (join) realitygrill 20:19 (quit) dnolen: Quit: dnolen 20:37 (quit) yoklov1: Quit: Leaving. 20:39 (join) dyoo 20:50 (join) yoklov1 20:54 (join) jeapostrophe 21:05 RacketCommitBot: [racket] plt pushed 4 new commits to master: http://git.io/oVb7xw 21:05 RacketCommitBot: [racket/master] fix `scribble -h' output - Matthew Flatt 21:05 RacketCommitBot: [racket/master] add -J/--wm-class argument to set the WM_CLASS class on Unix - Matthew Flatt 21:05 RacketCommitBot: [racket/master] add 'wmclass/".wmclass" aux executable/launcher configuration - Matthew Flatt 21:06 (quit) samth: Ping timeout: 256 seconds 21:07 (quit) dmac1: Ping timeout: 258 seconds 21:09 (join) kwamz 21:09 kwamz: stamourv? 21:10 (quit) kwamz: Client Quit 21:21 (quit) jonrafkind: Ping timeout: 260 seconds 21:23 (quit) jeapostrophe: Quit: jeapostrophe 21:30 (quit) dyoo: Ping timeout: 252 seconds 21:35 (quit) jao: Ping timeout: 260 seconds 21:42 (join) jeapostrophe 21:50 (join) dmac1 22:13 (quit) jeapostrophe: Quit: jeapostrophe 22:35 (quit) dmac1: Ping timeout: 259 seconds 23:25 (join) roastbird 23:30 roastbird: hiii 23:36 (join) jonrafkind 23:39 (join) yin 23:57 (quit) roastbird: Ping timeout: 252 seconds