00:02 brahn: I'm using DrRacket on OS X 10.5, and when I want to force an evaluation in the interactions window, I hit alt-enter as specified in the docs. However, in addition to evaluating the current expression, it also inserts a newline wherever the cursor is located. Is there a fix or workaround? 00:04 (join) dnolen 00:11 (join) epochwolf|2 00:27 (part) brahn 00:37 bitweiler: racket makes me fell like I am installing a OS 00:43 lewis1711: I just used the binary 00:45 bitweiler: lewis1711: if I can't build it I will not use it 00:46 lewis1711: why? 00:55 bitweiler: lewis1711: older hardware, and apps I compile run better on my systems other than that just out of habit 00:56 lewis1711: fair enough 00:56 lewis1711: drracket is a tad sluggish for me 01:07 (join) PLT_Notify 01:07 PLT_Notify: racket: master Carl Eastlund * b379e20 (1 files in 1 dirs): DrDr should not run the "scribblings-package" example in tests/planet. - http://bit.ly/g8WCO5 01:07 (part) PLT_Notify 01:09 lewis1711: lol wtf is that 01:15 (quit) mwolfe: Remote host closed the connection 01:17 (join) stis 01:22 bitweiler: for some reason it hangs at this point: raco setup: running: unstable/scribblings/unstable.scrbl1 01:24 bitweiler thinks that might be a solution 01:27 bitweiler: know if I can figure out how to stop raco from running scribblings-package 01:32 bitweiler: s/know/now/ 01:33 bitweiler: oh that's why it's unstable 01:33 bitweiler slaps his head 01:41 Lajla: offby1, have you learnt Finnish yet? 01:47 (quit) dnolen: Quit: dnolen 01:54 (quit) epochwolf|2: Quit: Linkinus - http://linkinus.com 01:55 Lajla: Does anyone know a scheme implementation where this: http://codepad.org/9ApcUFpR evaluates to #t? 02:09 (quit) tewk: Read error: Connection reset by peer 03:08 lewis1711: (define _key-state (_enum '(key-pressed = 1 key-released))) ;how can I access key-pressed? :/ 03:08 (join) CoolgyFurlough 03:08 (part) CoolgyFurlough 03:09 (join) CoolgyFurlough 03:34 (join) misterncw 04:04 lewis1711: seriously can't find anything in the docs, and tried the usual suspect in the repl. humm 04:05 lewis1711: wonder if I could stealthily switch to typed racket and create my own type in that rather than using _enum 05:16 (join) jrm-rnl 05:30 (join) mceier 05:54 clklein: Lajla: Just a guess, but I doubt that R6 allows #t. eq? has to produce #f for procedures "that would behave differently (return different values or have different side effects) for some arguments." I think the continuation's abandoning of the current context probably counts as a different side-effect. 05:56 Lajla: Hmm, yeah. 06:05 (quit) stis: Remote host closed the connection 06:07 Lajla: clklein, so, what if f is something coming from a call/cc? 06:15 clklein: Lajla: If the continuations aren't distinguishable in any context, then they're allowed to be eq?. 06:18 (quit) bremner: Ping timeout: 264 seconds 06:19 clklein: No implementation can recognize all indistinguishable procedure, but you're never required to equate procedures. The rationale is to allow you to equate the ones you know about, without forcing you to know about any of them. 06:20 (join) bremner 06:21 Lajla: clklein, yea, I know. 06:21 Lajla: But I just want to know if there is some implementation which just basically passes the same object in memory as continuation. 06:22 clklein: No idea 06:23 Lajla: Oh well, what is ignorance if not a drive to learn eh. 06:23 Lajla: Or wait, it doesn't usually work that way. 06:23 Lajla: I rephrase, what is realizing once own ignorance if not a drive to learn. 06:24 lewis1711: I gave up on racket monetarily because I couldnt figure something out 06:24 clklein: I don't give this question very high priority on my list of things to learn. 06:25 Lajla: lewis1711, tell me. 06:25 lewis1711: it's up there 06:25 lewis1711: (define _key-state (_enum '(key-pressed = 1 key-released))) ;how can I access key-pressed? :/ 06:25 lewis1711: or any _enum field, really 06:26 Lajla: I can't even read that. 06:26 lewis1711: ok 06:26 lewis1711: (define _foo (_enum '(a b))) 06:26 Lajla: But let me see if I can look it up. 06:26 lewis1711: it's in ffi 06:27 Lajla: ffi to what 06:27 Lajla: ? 06:27 Lajla: C? 06:27 clklein: lewis1711: You should ask on the mailing list if you don't get an answer here. 06:27 lewis1711: Lajla: yeah 06:27 (join) masm 06:27 lewis1711: clklein: good idea 06:29 lewis1711: This group is announcement-only. You cannot post messages because you are not a manager. 06:29 lewis1711: humm, i am doing something wrong:) 06:30 clklein: You want users@racket-lang.org 06:31 jrm-rnl: I am unable to compile PLT Scheme v372 on Debian Squeeze GNU/Linux i386 06:31 lewis1711: oh right I was just using google groups 06:31 jrm-rnl: make output: http://pastebin.com/swirHWVS (error on line 658) 06:32 jrm-rnl: any ideas? 06:34 jrm-rnl: I need this version because it's what the textbook for this particular subject covers. 06:34 jrm-rnl: Racket 5.0.2 compiles just fine 06:44 (quit) misterncw: Remote host closed the connection 06:47 clklein: No idea, but out of curiosity, which text book? 06:54 (join) attila_lendvai 06:56 (join) _danb_ 07:00 bitweiler: how do I do a make install with raco skipping the scribblings-package? 07:07 (quit) CoolgyFurlough: 07:34 (quit) bitweiler: Quit: rcirc on GNU Emacs 23.2.1 07:36 (part) lewis1711 07:37 (join) bitweiler 08:22 (join) MayDaniel 08:25 bitweiler: does the git verses of racket build without the scribblings-package stalling 08:26 bremner: yes, but so does the release, for me. 08:27 bremner: jrm-rnl: are you sure that the examples in the textbook won't work fine in 5.0.2? 08:32 bitweiler: bremner: racket-5.0.2-src-unix.tgz does build for me for some reason with raco hanging 08:32 bitweiler: exactly at this point: raco setup: running: unstable/scribblings/unstable.scrbl1 08:32 bremner: bitweiler: what environment? 08:32 bitweiler: xterm 08:33 bremner: ... 08:33 bitweiler: well not xterm but within screen 08:34 bremner: linux ? freeBSD? OpenSolaris? Minix? 08:34 bitweiler: slackware linux 13.1 08:34 bitweiler: i686 08:35 bitweiler: I tried to install like three times already and it always hangs at that same point 08:37 (join) PLT_Notify 08:37 PLT_Notify: racket: master Eli Barzilay * f96361b (1 files in 1 dirs): Fix typo in web code 08:37 PLT_Notify: racket: master Eli Barzilay * 5998ecc (1 files in 1 dirs): Abstract the initialization stuff into a separate function. ... 08:37 PLT_Notify: racket: master commits b379e20...5998ecc - http://bit.ly/g3dUUM 08:37 (part) PLT_Notify 08:43 bremner: bitweiler: hard to think what should be so different from Debian unstable. That is the last "running" before the "rendering" stage starts. Did you try setting PLT_SETUP_OPTIONS="--no-docs" 08:44 bitweiler: no sir 08:46 (quit) MayDaniel: Read error: Connection reset by peer 09:12 (join) dnolen 09:14 (quit) Yann1: Ping timeout: 240 seconds 09:14 (join) Yann1 09:31 (nick) samth_away -> samth 09:31 samth: bitweiler, the commit you referred to earlier is unrelated to any of your problems 09:55 (quit) _danb_: Ping timeout: 240 seconds 10:03 (quit) dnolen: Quit: dnolen 10:20 (join) MayDaniel 10:35 (join) PLT_Notify 10:35 PLT_Notify: racket: master Matthew Flatt * 3e2af2f (2 files in 2 dirs): change locking of preferences files under Windows ... - http://bit.ly/f6ff1x 10:35 (part) PLT_Notify 10:49 (join) mwolfe 11:05 (join) corruptmemory 11:16 bitweiler: samth: okay thanks 11:17 (part) bitweiler: "rcirc on GNU Emacs 23.2.1" 11:18 (quit) attila_lendvai: Quit: Leaving. 11:40 (join) anRch 11:49 jrm-rnl: clklein: this textbook: http://istpress.ist.utl.pt/lscheme.htm, by the teaching staff at our Institution (https://www.ist.utl.pt/) 11:50 jrm-rnl: I'm a student sysadmin there, and need to install v372 on our workstations for the students. 11:50 jrm-rnl: I spoke with one of the authors and she said the new version coming out next year will be based on Racket. 11:52 jrm-rnl: The subject is called "Foundations of Programming" and Scheme is the first programming language used by the students during their first year. 11:53 (join) shader 11:54 clklein: Might be worth asking about the compilatino error on the mailing list, which gets more traffic than this channel 11:54 shader: how do you do case insensitive regex matching in racket? I see that the mode to use is "i", but it doesn't say how to specify mode 11:54 shader: or at least, I don't see where it says that 11:55 samth: (?:) 11:55 samth: shader, see above 11:55 shader: ok 11:56 shader: I'll try that, thanks 11:56 jrm-rnl: clklein: thanks for the tip; I'll try the user ML 11:57 shader: is there any way to create a stand alone executable from a racket program? 11:57 bremner: shader: raco help 11:58 bremner: if you don't have racket installed, the answer is still yes ;) 11:58 jrm-rnl: bremner: the examples might work, but the students have a required assignment that involves some pre-built GUI visualization module supplied by the teaching staff. 11:58 bremner: which doesn't work? 11:58 jrm-rnl: I assume it wouldn't work... 11:58 jrm-rnl: I can try 11:58 jrm-rnl: but they'll be graded according to functionality under v372 12:00 bremner: well, I guess 372 is only 3 years old? not as ancient as I thought. 12:05 jrm-rnl: Failing to do this will mean students are forced to work under Windows 12:05 jrm-rnl: something I don't wish upon anyone 12:06 samth: indeed 12:06 jrm-rnl: ;) 12:07 samth: jrm-rnl, the error is pretty strange, and you should definitely ask about it on the mailing list 12:07 samth: the people who know the answer aren't the people who hang out on irc 12:07 jrm-rnl: they Ubuntu builds seemed to work, albeit with a mysterious segfault during my short tests 12:08 jrm-rnl: off to the mailing list I go, then 12:08 jrm-rnl: thank you very much for your time :) 12:17 (join) chturne 12:20 (quit) anRch: Quit: anRch 12:32 (join) anRch 12:45 bremner: jrm-rnl: one thing that might help is too get the debian source package from snapshots.debian.org and rebuild it. 12:46 bremner: it might have some relevant patches 12:47 (join) offby1` 12:47 jrm-rnl: bremner: I tried that, but it failed the same way 12:47 jrm-rnl: thought about asking the maintainer about it 12:48 (quit) offby1: Ping timeout: 240 seconds 12:49 bremner: pretty sure the maintainer would point you at a newer version 12:49 jrm-rnl: I'd have done that already, if it wasn't a three year old version. 12:49 (join) PLT_Notify 12:49 PLT_Notify: racket: master Kevin Tew * 7b9cd25 (1 files in 1 dirs): Fix doc making hang on error - http://bit.ly/h346Rz 12:49 (part) PLT_Notify 12:50 jrm-rnl: The version in the Squeeze repository right now is 4.2.1 12:50 jrm-rnl: this semester we'll be using v372 and 5.0.2 for two different subjects 12:50 jrm-rnl: :/ 12:51 bremner: jrm-rnl: 5.0.2 packages are in NEW; you get get them from git if you want 12:55 jrm-rnl: didn't know about that 12:55 jrm-rnl: link? 12:56 clklein: jrm-rnl: http://git.racket-lang.org/ 12:57 samth: clklein, bremner was referring to a different repository 12:57 clklein: heh, oh 12:57 samth: which has his debian packaging of racket 12:57 clklein: makes sense now 13:00 jrm-rnl: bremner: we currently use a hackish way build our packages 13:01 jrm-rnl: handcrafting the binary packages and using dpkg-deb 13:01 jrm-rnl: legacy of a previous sysadmin, which I hope to replace eventually 13:02 (quit) anRch: Quit: anRch 13:02 jrm-rnl: I'm still learning how to build a debian source package :/ 13:03 bremner: right, I was referring to http://git.debian.org/?p=collab-maint/racket.git;a=summary 13:06 jrm-rnl: thank you :D 13:06 jrm-rnl: I'll have a good look at these 13:15 (join) pheuter 13:16 pheuter: i want to write a macro than retrieves an arbitrary accessor from an arbitrary struct 13:17 pheuter: however 13:17 pheuter: not arbitrary, i have two structs i want to use 13:18 pheuter: when i use quasi quotes: `(mule-,a c), where "c" is a mule struct and "a" is a field, it leaves a space between mule- and the value of "a" so it doesnt work 13:18 pheuter: how can i get this to work ? 13:20 shader: try something like (string->symbol (string-append "mule-" (symbol->string ,a))) 13:20 shader: not sure if that's the simplest way to do it 13:21 pheuter: yeah, but i thought there would be a way to do it with macros 13:21 (join) jonrafkind 13:23 (quit) jonrafkind: Client Quit 13:23 (join) jonrafkind 13:28 (quit) pheuter: Ping timeout: 265 seconds 13:34 (quit) MayDaniel: 13:46 (part) eli: "*sigh*" 13:46 (join) eli 13:53 (join) PLT_Notify 13:53 PLT_Notify: racket: master Eli Barzilay * 34e3279 (1 files in 1 dirs): Remove leftover debugging code 13:53 PLT_Notify: racket: master Eli Barzilay * 05109cf (1 files in 1 dirs): Convert backslashes to slashes on windows for path inputs. ... 13:53 PLT_Notify: racket: master commits 7b9cd25...05109cf - http://bit.ly/gCl5rO 13:53 (part) PLT_Notify 14:02 (join) MayDaniel 14:11 (quit) jonrafkind: Read error: Connection reset by peer 14:11 bremner: is 5.1 due this month or next? no pressure of course ;) 14:14 samth: bremner, this month 14:20 bremner: cool. 14:23 (join) anRch 14:23 (join) Yann3 14:24 (quit) Yann1: Ping timeout: 240 seconds 14:27 (quit) corruptmemory: Ping timeout: 240 seconds 14:30 (join) jonrafkind 14:40 (join) bitweiler 14:44 (join) corruptmemory 14:48 bitweiler: is there a way to build racket without the scribbles package? 14:51 jonrafkind: you mean you dont want the docs? 14:51 bitweiler: I guess whatever that scribble-package that keeps hanging my build 14:52 bremner: bitweiler: I told you earlier 14:52 bitweiler: I left for work earlier 14:52 bremner: PLT_SETUP_OPTIONS="--no-docs" 14:53 bitweiler: okies 14:53 samth: bitweiler, the 'scribble-package' that was mentioned in that commit is a test, and not built by the build 14:53 jonrafkind: or 'make plain-install' 14:53 bremner: you said you hadn't tried it ? 14:53 jonrafkind: or 'raco setup -D' 14:54 bitweiler: jonrafkind: raco setup was the problem 14:54 jonrafkind: 'scribble-package' is a collect or something? 14:54 samth: jonrafkind, scribble-package is a test, and not relevant 14:54 samth: bitweiler's build is hanging in the unstable doc build 14:55 bitweiler: yes 14:55 jonrafkind: so maybe 'raco setup -D' will work? 14:55 samth: yes 14:55 samth: you should do: make && make plain-install && raco setup -D 14:55 bitweiler: okay 14:56 samth: however, i think that a hang in the build system was fixed earlier today 14:57 bitweiler: then I may need to grab the git tree 14:57 samth: bitweiler, still, try what i suggested to see if it fixes things first 14:57 bitweiler: ok 15:01 (join) sstrickl 15:02 (join) PLT_Notify 15:02 PLT_Notify: racket: master Casey Klein * c5599e8 (1 files in 1 dirs): Adds an option for logging the generated tests 15:02 PLT_Notify: racket: master Casey Klein * ea5a6fc (2 files in 1 dirs): Fixes exception handling in randomized tests 15:02 PLT_Notify: racket: master Casey Klein * 394fab0 (1 files in 1 dirs): Adds an option for repeating the command(s) 15:02 PLT_Notify: racket: master Casey Klein * 56a548c (2 files in 2 dirs): Suppresses overridden rules in the names reported for a reduction relation 15:02 PLT_Notify: racket: master Casey Klein * 3c2e2fc (3 files in 2 dirs): Fixes `extend-reduction-relation' bug. ... 15:02 PLT_Notify: racket: master Casey Klein * 11900c6 (1 files in 1 dirs): Changes logging to use write instead of display 15:02 PLT_Notify: racket: master Casey Klein * f742479 (1 files in 1 dirs): Fixes another bug in the test generator. 15:02 PLT_Notify: racket: master Casey Klein * 61607c4 (2 files in 2 dirs): Adds a check to the define/extend language parser 15:02 PLT_Notify: racket: master Casey Klein * b45bb82 (2 files in 2 dirs): Fixes a bug in metafunction traces ... 15:02 PLT_Notify: racket: master commits 05109cf...b45bb82 - http://bit.ly/fSZ2FV 15:02 (part) PLT_Notify 15:03 jonrafkind: argh, ubuntu is insane. i have to change the name of the version from 'lucid' to 'maverick' for the ppa to work on maverick even though nothing else in the package changed 15:17 (join) offby1 15:18 Lajla hugs jonrafkind and gives him a biscuit. 15:18 (quit) offby1: Changing host 15:18 (join) offby1 15:22 (quit) offby1`: Quit: ERC Version 5.3 (IRC client for Emacs) 15:22 (quit) offby1: Quit: ERC Version 5.3 (IRC client for Emacs) 15:22 (join) offby1 15:23 (quit) offby1: Changing host 15:23 (join) offby1 15:24 (quit) MayDaniel: 15:37 (quit) anRch: Quit: anRch 15:43 bitweiler: samth: everything install but there is no raco 15:43 samth: did you do 'make plain-install'? 15:43 samth: and what prefix did you give to configure? 15:43 bitweiler: yes 15:45 bitweiler: `/usr/local/bin shows gracket and racket 15:45 samth: but not raco? 15:45 bitweiler: nope 15:45 samth: and this is from current git? 15:45 bitweiler: no 15:45 bitweiler: it's from 5.0.2 15:46 samth: still 15:46 samth: that should really put raco there 15:50 samth: bitweiler, try PLT_SETUP_OPTIONS="--no-docs" make install 15:53 bitweiler: here's the output of make plain-install: http://pastebin.com/Sg0didtt 15:53 bitweiler: okay 15:57 bitweiler: raco setup is bootstrapping from source now, hopefully it doesn't hang this time around ;) 16:04 (quit) bitweiler: Ping timeout: 240 seconds 16:21 (join) bitweiler 16:22 (quit) bitweiler: Read error: Connection reset by peer 16:23 (join) bitweiler` 16:24 bitweiler`: samth: that just made my terminal freeze but no progress 16:25 samth: bitweiler`, at what point? 16:26 bitweiler`: at the beginng of the raco setup bootstrapping source 16:26 bitweiler`: it never got pass that 16:26 (nick) bitweiler` -> bitweiler 16:26 samth: that's really weird 16:27 samth: can you kill it and paste the backtrace? 16:27 bitweiler: 2.6.33.4 #2 Thu May 13 00:27:45 CDT 2010 i686 Intel(R) Celeron(R) CPU 1.70GHz GenuineIntel GNU/Linux if that makes any 16:27 bitweiler: I'll try it again an do that 16:34 bitweiler: raco setup -l- setup (is how it being called) 16:34 bitweiler: I'll give 30 minutes this time before killing it 16:38 samth: you shouldn't need to do that 16:38 samth: just kill it and tell me what the backtrace is (is this with --no-docs?) 16:39 bitweiler: wait, it's actually making some progress at the moment 16:39 bitweiler: if it hangs again i'll paste the backtrace 16:41 samth: ok 16:42 bitweiler: i running this at the console in screen at the moment 16:42 bremner: bitweiler: is this a machine with very little memory? 16:42 bremner: 128M VPS or something? 16:42 bitweiler: 512MB 16:43 samth: it could be swapping really heavily 16:43 bitweiler: yeah 16:45 bitweiler: that is another reason, I didn't start up the Xorg server 16:49 samth: Xorg shouldn't have an effect 16:49 bremner: bitweiler: it shouldn't be needed for the build 16:50 bitweiler: it's just habit I normally build everything from the console 16:51 bremner: bitweiler: I build racket in a chroot, with no graphics 16:51 bitweiler: sweet 16:52 bremner: I mean the graphics libs are there, but no X server 16:52 bitweiler: bremner: why chroot? 16:53 bremner: bitweiler: to make sure I have the build dependencies correct 16:53 bitweiler: that makes sense 16:53 bremner: but this for debian packages. It might be overkill for personal use. 16:55 bremner: my point was only that no-X should be OK. 16:55 bitweiler: I got to add more memory to this beast, it can take up to 3GB but I can't afford it 16:56 bitweiler: i know, hence I no-X everything I build 17:12 (join) lewis1711 17:18 (join) mithos28 17:22 mithos28: I was moving some code from racket to typed racket and I got an error I had never seen before 17:22 mithos28: procedure application: expected procedure, given: #>; arguments were: # 17:22 mithos28: it seems that typed racket encapsulated the value and then didn't unpack it. Has anyone seen anything like this? 17:22 samth: mithos28, the problem is that you provided something to untyped code under the `Any' type 17:22 samth: which caused TR to package it up in that fashion 17:23 samth: if you provide a more specific contract, then the problem will go away 17:23 samth: alternatively, if you need to use Any, paste your code to pastebin and i'll take a look 17:23 mithos28: ok that makes sense 17:25 mithos28: What I want to do is to put an escape-continuation in a struct and it should have type (Any -> Nothing) because what gets passed in leaves the typed world 17:25 samth: it looks like you gave the whole escape continuation the type `Any' 17:26 (join) CoolgyFurlough 17:26 mithos28: yes, i had at the point this error was generated. I was trying to debug it 17:29 mithos28: ok so it looks like if I want to interface untyped and typed code, putting Any type signatures for struct fields is going to cause problems, because when I extract the value it will be wrapped? 17:31 samth: any higher-order value will be wrapped if it's given the type Any 17:31 samth: otherwise, the untyped code could do bad things to it (call it with the wrong sort of arguments, for example) 17:32 mithos28: Is it possible in typed racket to define a struct that acts like an untyped box? 17:33 samth: what do you mean by "an untyped box"? 17:34 mithos28: I want to make a struct (define-struct: my-box ((field : Any))) such that untyped code can wrap a value in this, pass it around and then extract the same value with my-box-field 17:35 samth: let me see if i understand 17:35 samth: the untyped code is going to wrap an untyped value in `my-box' 17:35 samth: and then hand it to the typed code 17:36 samth: which will then hand that box to some other untyped code 17:36 samth: which will then extract the value 17:36 samth: and use that value (the value being the originally untyped value) 17:36 mithos28: yep 17:37 samth: ok, so that would be safe, but we haven't implemented support for that because it would require recording every value that passes through a typed/untyped boundary 17:37 samth: so as to avoid boxing it in the future 17:38 samth: we aren't sure if that would cause serious performance problems 17:38 (join) MayDaniel 17:39 mithos28: so If I moved more of my code to typed-racket, so as to remove the Any signatures I shouldn't have this problem? 17:41 mithos28: would using opaque types help any? 17:41 samth: mithos28, yes, and no, respectively 17:42 mithos28: Ok I'll try that. Thanks for the quick help. 17:45 bremner: hmm. Lame: raco setup: only one instance of one option from (-U --no-user) is allowed 17:48 samth: bremner, they mean the same thing 17:54 (join) PLT_Notify 17:54 PLT_Notify: racket: master Matthew Flatt * b10ad75 (2 files in 1 dirs): fix another problem with `erase' in a canvas dc ... 17:54 PLT_Notify: racket: master Matthew Flatt * 06e5d7d (1 files in 1 dirs): fix problem with mm printer measurements 17:54 PLT_Notify: racket: master commits b45bb82...06e5d7d - http://bit.ly/hg5kKf 17:54 (part) PLT_Notify 17:58 bremner: samth: yes. the real problem is that I ran "make PLT_SETUP_OPTIONS=--no-user", so I set --no-user twice. It's no biggy to fix, but it's also not a useful error check IMHO. 17:58 samth: you're probably right, bremner 18:00 mithos28: samth, thanks again that fixed it. 18:01 samth: mithos28, happy to help 18:01 samth: i'm always happy when people are using typed racket 18:01 (join) dnolen 18:02 mithos28: I am mostly using it for struct definitions. My main gripe is the compile speed. 18:02 samth: mithos28, i agree -- it's frustrating 18:03 mithos28: why is it so slow, is it just all the macro expansion? 18:03 samth: macro expansion + the type checker does a lot of work 18:18 (join) empt 18:37 (quit) sstrickl: Quit: sstrickl 18:56 bitweiler stretches out long and wide 18:56 bitweiler: now it's back to the point where it stall before, hopefully it will get pass this point ;) 18:56 rapacity: death to the demoness allegra geller! 19:15 (join) carleastlund_ 19:17 bremner: bitweiler: what did you change? 19:18 bitweiler: backtrace: http://pastebin.com/AekZjYvz 19:19 samth: so it just got to there and hung? 19:20 bitweiler: bremner: PLT_SETUP="--no-docs" like you said 19:20 bremner: ah OK. 19:20 samth: clearly that had no effect, since it's hanging in the doc build 19:20 bremner: but it is actually PLT_SETUP_OPTIONS, isn't it? 19:20 bitweiler: thanks goodness for script ;) 19:20 bremner: see the raco docs on racket-lang.org 19:20 samth: yeah, it is 19:21 samth: file:///home/samth/sw/plt/doc/raco/running.html?q=PLTSETUP#%28idx._%28gentag._10._%28lib._scribblings/raco/raco..scrbl%29%29%29 19:21 bitweiler slaps head onto desk 19:21 samth: sorry, that link won't work for you 19:21 samth: http://pre.plt-scheme.org/docs/html/raco/running.html 19:24 samth: bitweiler, try just running PLT_SETUP_OPTIONS='--no-docs' make install without redoing everything else 19:31 bitweiler: samth: that's what I just did 19:37 (quit) mithos28: Quit: mithos28 19:38 bitweiler: seems like it would skip over the already installed stuff and go back to where it left off 19:38 samth: it does 19:39 bitweiler: but raco setup just builds the docs right 19:39 samth: no, raco setup compiles all of the standard library 19:39 samth: and then builds the docs 19:39 bitweiler: oh 19:40 samth: also, you should now have a 'raco' binary 19:40 samth: see line 1283 of your pastebin 19:40 bitweiler: yep, i have raco binary 19:57 (join) mithos28 20:03 (nick) samth -> samth_away 20:06 (quit) samth_away: Quit: Ex-Chat 20:12 (join) adlaius 20:15 (part) adlaius 20:16 (join) adlaius 20:19 (quit) adlaius: Read error: Connection reset by peer 20:22 (quit) MayDaniel: Read error: Connection reset by peer 20:24 (join) carleastlund__ 20:25 (quit) carleastlund_: Ping timeout: 265 seconds 20:26 (quit) masm: Quit: Leaving. 20:36 (quit) jonrafkind: Read error: Operation timed out 20:39 (quit) mceier: Quit: leaving 20:46 (quit) mithos28: Quit: mithos28 20:49 (part) empt: "Leaving." 20:49 (join) empt 20:49 (join) _danb_ 20:54 empt: I'm very new to Racket. Would it be easy to compile to C code? (since I have to do a lot of numeric works) 20:55 empt: I know there's Gambit and Chicken however I love the tutorials and environment of Racket 20:56 bremner: empt: what do you want, to call external C libs, to make standalone executables, or something else. 20:57 empt: I want to compile lisp into c dll or exe 20:57 bremner: empt: exe is no problem. Not sure about dll 20:58 empt: bremner: thank you! that will be ok 20:58 bremner: empt: look at the docs for "raco" on www.racket-lang.org 20:59 lewis1711: bremner: huh? racket can't compile down to C 20:59 bremner: lewis1711: I did not say it could. I said it could make standalone executables 21:00 lewis1711: seems like yer man empt asked if it could compile to C 21:00 empt: lewis1711:ok, then is there a way, say develop in Racket and then compile to C using Gambit or Chicken? 21:00 bremner: if you stick to R5RS 21:00 lewis1711: not really, becase gambits C stuff isn't r5rs 21:01 bremner: oh suck. 21:01 lewis1711: empt: you can make your C stuff into a library, it's pretty painless then 21:01 lewis1711: (though i still haven't figured out how to access the fields of enums, must mail about htat 21:01 lewis1711: *that 21:02 empt: lewis1711: so one has better to develop directly in Gambit or Chicken? 21:03 lewis1711: humm? couldn't quite understand that. "so one is better off developing directly in Gambit or Chicken?" you mean? 21:04 empt: lewis1711: I mean if one want C code in the end 21:04 lewis1711: if you can compile your C stuff into a .so library (or .dll or whatever) than racket can call that pretty painlessly 21:04 bremner: I think it is a mistake to assume that scheme compiled to C is automatically faster. I understand there are other reasons to want to do so. 21:05 lewis1711: ah, if your main concern is to compile down to C than racket cannot do that though, gambit would be your best bet 21:05 lewis1711: but if you want to work with C racket can do it 21:05 empt: thx, I see 21:05 lewis1711: (I used gambit for a bit. may go back to it when I'm a better programmer, but it was too much effort trying to get a module system working) 21:06 lewis1711: bremner: humm, I'd tend to think that C as an intermediate language is slower if anything. haven't looked at any bench-marks though. i thought the main point of it was seamless C interoperability 21:07 bremner: lewis1711: that's why I asked empt what he was trying to acheive by compiling to C 21:07 empt: I might do things mainly in Racket, and turn to Gambit something when really needed 21:07 bremner: achieve even 21:08 empt: thanks a lot. 21:09 lewis1711: yeah empt what do you need? 21:10 empt: I have to do fast calculating 21:11 bremner: empt: calling existing libraries? 21:12 empt: bremner: no, I'm implementing them 21:12 (join) PLT_Notify 21:12 PLT_Notify: racket: master Matthew Flatt * f69e89c (1 files in 1 dirs): win32: connect print dialog to given parent (if any) ... - http://bit.ly/dIQd1i 21:12 (part) PLT_Notify 21:13 empt: I love the Racket environment 21:13 lewis1711: empt: racket can call C libraries 21:13 lewis1711: so if you are writing your own libraries 21:13 lewis1711: should be no problem 21:14 empt: lewis1711: yeah, I see. thx. 21:15 empt: I'll use Racket then :) 21:15 empt: :-D Thanks 21:19 lewis1711: no worries. just recently went through the same thing:P gambit is a bit nicer for C stuff, but racket has more features that I want 21:26 (part) empt: "Leaving." 21:46 (join) mithos28 21:51 (quit) _danb_: Ping timeout: 276 seconds 22:00 (join) PLT_Notify 22:00 PLT_Notify: racket: master Robby Findler * 9c63710 (2 files in 1 dirs): same: refactor drawing of the board to have a bitmap background ... 22:00 PLT_Notify: racket: master Robby Findler * 90dbf3a (1 files in 1 dirs): same: up the bonus scores to 100 per ball ... 22:00 PLT_Notify: racket: master Robby Findler * 73d71d7 (2 files in 2 dirs): refactored to make it easier to write docs that have example boards in them and started on the docs (not finished tho) 22:00 PLT_Notify: racket: master commits f69e89c...73d71d7 - http://bit.ly/ePbNAJ 22:00 (part) PLT_Notify 22:34 (join) PLT_Notify 22:34 PLT_Notify: racket: master Matthew Flatt * a9dd801 (19 files in 8 dirs): restore doc & page checking for `post-script-dc%' et al. ... 22:34 PLT_Notify: racket: master Matthew Flatt * 4e47aff (1 files in 1 dirs): clean up code that adds date and filename to DrRacket printout ... 22:34 PLT_Notify: racket: master Matthew Flatt * aa31641 (1 files in 1 dirs): fix initial transformation matrix of {post-script,pdf}-dc% 22:34 PLT_Notify: racket: master commits 73d71d7...aa31641 - http://bit.ly/enAGX7 22:34 (part) PLT_Notify 22:50 (quit) bitweiler: Ping timeout: 240 seconds 22:53 (quit) dnolen: Quit: dnolen 23:09 (join) bitweiler 23:09 bitweiler: guess I see if a pre-release will build more smoothly 23:10 bitweiler: should see that is 23:14 bitweiler: 7 hours and raco setup still haven't finish building 23:16 carleastlund__: bitweiler, Are there build errors occurring while it's running? 23:16 carleastlund__: Wow, double-underscore? I'm really REALLY not me, now. 23:17 offby1 sets a beer down on carleastlund__'s tailgate 23:17 bitweiler: carleastlund__: no build errors, though a few warnings 23:18 carleastlund__: What kind of warnings? 23:18 offby1: "Nice compiler you've got there. Be a shame if something were to ... happen to it". 23:18 offby1: Those kinds of warnings? 23:18 carleastlund__: hah! 23:20 bitweiler: WARNING: collected information for key multiple times 23:20 bitweiler: that's it 23:20 carleastlund__: Okay, hmm. That one shouldn't be causing huge problems. It can take ridiculously long if any of the modules in the collections fails to build, though. 23:21 carleastlund__: Are you running this on some tiny netbook where you'd expect it to take forever? Or is this a regular desktop and it should long since have finished? 23:21 bitweiler: hey scribblings always hangs 23:21 bitweiler: s/hey/yeah/ 23:22 carleastlund__: It normally takes a while but I've only seen it go for hours when one of the core collections failed to compile (which results in huge amounts of repeated compilation). 23:26 (quit) corruptmemory: Ping timeout: 240 seconds 23:27 bitweiler: yeah I been repeat compiling since 7am 23:28 carleastlund__: No, I mean within one run of raco setup it compiles the same broken modules over and over. 23:28 bitweiler nods 23:29 bitweiler: you think a pre-release may work better 23:29 carleastlund__: It really should. Are you sure there were no errors before the Scribble part? 23:30 bitweiler: positive 23:30 bitweiler: i make install with script so I got a backlog of everything 23:31 bitweiler: s/with/within/ 23:32 carleastlund__: How long does a "make install" usually take on that machine? 23:35 bitweiler: 20 minutes 23:35 bitweiler: sometimes not that long 23:36 carleastlund__: Yeah, I'd try another version. Something must be very, very wrong. 23:40 lewis1711: right question posted to the mailing list. hopefully i can sort this C business out 23:50 bitweiler: plt-5.0.99.6-src-unix.tgz is racket right 23:52 carleastlund__: Yes.