00:01 evhan_: speaking of which, is the github repo a mirror, or are changes pushed directly there? 00:01 jonrafkind: a mirror or something 00:01 jonrafkind: the git repository lives at northeastern 00:17 (join) samth 00:55 (part) adhoc 00:59 (quit) waterhouse: Ping timeout: 252 seconds 01:36 (quit) jay-mccarthy: Ping timeout: 246 seconds 01:41 (join) jay-mccarthy 01:52 (quit) samth: Ping timeout: 240 seconds 02:32 (quit) sstrickl: Quit: sstrickl 02:36 (join) masm 02:38 (quit) jonrafkind: Ping timeout: 276 seconds 03:09 (join) shkk 03:11 (join) Byron 03:12 (part) Byron 03:21 (join) evhan 03:24 (quit) evhan_: Ping timeout: 260 seconds 03:34 (join) pdelgallego 03:45 (join) rbarraud 04:01 (quit) shkk: 04:24 (join) evhan_ 04:28 (quit) evhan: Ping timeout: 276 seconds 07:09 (join) kingping 07:09 kingping: moin 07:37 (quit) cky: Quit: cky 08:10 Lajla: kingping, mighty hailz to you all. 08:11 kingping slaps Lajla with thunk 08:13 Lajla calls the thunk and produces the delayed computation to slap kingping back with. 08:13 kingping: :D 08:13 kingping evals Lajla 08:14 Lajla bites back at kingping's unsave evaluation to and modifies his top level environment. 08:14 kingping: heheheh 08:25 (quit) Gwyth: Ping timeout: 258 seconds 08:50 (join) Spewns 09:08 (quit) kingping: Quit: Vale. 09:10 (quit) masm: Read error: Connection timed out 11:04 (quit) rbarraud: Read error: Connection reset by peer 11:47 (join) jonrafkind 12:24 (join) Nanakhiel 12:28 (quit) Lajla: Ping timeout: 260 seconds 12:28 (nick) Nanakhiel -> Lajla 13:41 (join) shkk 14:08 (quit) evhan_: Ping timeout: 265 seconds 14:09 (join) evhan 14:17 (join) Gwyth 14:26 (join) georgek 14:27 georgek: hi, I'm having some kind of timestamp problem in DrRacket after I updated a repo and tried to re-run a test -- the error is Documents\downloads\rktcod\compiled\drracket\errortrace\tmp1280600653700399042 @ 2010-7-31 11:24:13) is before source-file date (C:\Documents and Settings\george\My Documents\downloads\rktcod\loader.rkt @ 2010-7-31 21:24:44), which appears to be in the future 14:28 jonrafkind: rebuild maybe? 14:28 georgek: yeah, I even deleted the dir and tried to start over, deleted everything in App data/Racket, but still the same problem 14:29 georgek: is there another dir of temporary files somewhere on Windows? 14:43 georgek: using racket from the CL works fine, it's just DrRacket 14:44 georgek: I've noticed that once you start DrRacket subsequent starts are much quicker; is there a way to delete whatever files it's caching? 14:44 jonrafkind: there might be user/you/Application Data 14:44 jonrafkind: you can look in there 14:46 georgek: there's something for Racket, which I deleted the contest of, but that didn't help 15:15 georgek: interesting, uninstalling and reinstalling Racket doesn't help either 15:22 (join) Byron 15:23 (part) Byron 15:27 (quit) pdelgallego: Ping timeout: 240 seconds 15:32 (join) anRch 15:44 georgek: wow, completely wiping everything Racket related and reinstalling still doesn't fix it 15:55 chandler: Is it possible that the problem is that your source file really does have a timestamp in the future? Where did this file come from? 15:58 chandler is still annoyed that Gmane's racket.user and racket.devel have broken threading 15:59 georgek: from a git repository 15:59 chandler: Is the error you're getting actually wrong? 16:00 chandler: If the error message you pasted was from today, your computer's clock is a day behind. 16:02 georgek: dang, you're right! 16:02 chandler: Ah. Always read the error message. :-) 16:02 offby1: By dang! 16:02 georgek: haha 16:02 georgek: indeed 16:02 georgek: the problem is I don 16:02 georgek: don't even always know what day it is 16:04 chandler: I know the feeling; I've been a day off all week. NTP might be a good idea here. 16:04 chandler: Sigh. It looks like the Gmane web archive is missing a whole chunk of user and devel messages, too. 16:05 chandler: http://news.gmane.org/gmane.comp.lang.racket.user 16:05 chandler: Doesn't look like what I see via NNTP. 16:06 (quit) georgek: Quit: Leaving 16:20 chandler emails Mr. Lars Gmane about this annoyance. 16:20 (join) b-man 16:32 (quit) anRch: Quit: anRch 17:00 (join) pdelgallego 17:54 evhan: sorry if this has come up before, but has anyone had success compiling racket 64-bit on os x 17:54 evhan: or rather (since im sure someone has), what flags should i be looking at to get this to work? 17:55 offby1: evhan: if you don't get an answer here, capture the output from the build, and send it to the dev. list; I'm sure they'll want to fix it 18:04 evhan: will do, thanks 18:39 shkk: All, Can I pass a function defined using let expression as an argument to a function ? 18:41 offby1: sure 18:42 offby1: rudybot: eval (let ((func (lambda (x) (+ 3 (* 4 x))))) (build-list 10 func)) 18:42 rudybot: offby1: ; Value: (3 7 11 15 19 23 27 31 35 39) 18:50 offby1: shkk: I see two problems with what you pasted: 18:50 shkk: All, I have written this code that squares each value in the list. But its not working 18:50 shkk: http://codepaste.net/voivu4 18:51 offby1: 1) you're not actually invoking the function after you define it; 18:51 offby1: 2) you're not using "letrec", which in your case, you need, since you've defined a _recursive_ function. 18:51 offby1: rudybot: eval (letrec ((square (lambda (inputList) (cond ((null? inputList) '()) (else (cons (* (car inputList) (car inputList)) (square (cdr inputList)))))))) (square (list 10 11 12))) 18:51 rudybot: offby1: ; Value: (100 121 144) 18:52 shkk: Hmmm .. well I have a defined function REV (reverse a list) to which I would input the result of square function 18:54 offby1: that's nice 18:57 shkk: What? How can I pass an let expression as a argument to my function? My function is REV . Can I pass a letrec expression in the part ? 18:57 offby1: I don't think you're asking what you want to ask ... 18:57 offby1: here's how to pass a let expression as an argument to a function: 18:58 offby1: rudybot: eval (add1 (let ((x 3)) x)) 18:58 rudybot: offby1: ; Value: 4 18:58 offby1: just do it. 18:58 offby1: but I don't think that's what you're asking. 18:59 offby1: this might work: (rev (letrec ((square (lambda (inputList) (cond ((null? inputList) '()) (else (cons (* (car inputList) (car inputList)) (square (cdr inputList)))))))) square) (list 10 20 30)) 18:59 offby1: let's see. 18:59 shkk: offby1; My function REV takes a function and an input list as argument. function is first applied to the input list which is passed to REV that will reverse the modified list 18:59 offby1: sure 18:59 offby1: rudybot: eval (define (rev func lst) (map func (reverse lst))) 18:59 offby1: rudybot: eval (rev (letrec ((square (lambda (inputList) (cond ((null? inputList) '()) (else (cons (* (car inputList) (car inputList)) (square (cdr inputList)))))))) square) (list 10 20 30)) 18:59 rudybot: offby1: error: car: expects argument of type ; given 30 19:01 offby1: rudybot: eval (define (rev func lst) (func (reverse lst))) 19:01 offby1: rudybot: eval (rev (letrec ((square (lambda (inputList) (cond ((null? inputList) '()) (else (cons (* (car inputList) (car inputList)) (square (cdr inputList)))))))) square) (list 10 20 30)) 19:01 rudybot: offby1: ; Value: (900 400 100) 19:01 offby1: works fine. 19:04 shkk: Now. Yes it does. Thanks both 19:10 (quit) shkk: 19:18 (quit) evhan: Ping timeout: 258 seconds 20:18 (quit) pdelgallego: Ping timeout: 260 seconds 21:00 (join) hellmage 21:30 (join) b-man__ 21:31 (quit) b-man: Ping timeout: 265 seconds 21:53 (join) Byron 22:24 (quit) b-man__: Remote host closed the connection 22:46 (quit) Spewns: Quit: Leaving. 22:48 (join) Spewns 23:18 (quit) jonrafkind: Ping timeout: 246 seconds 23:32 (join) jonrafkind