00:03 (quit) jeapostrophe: Ping timeout: 264 seconds 00:06 asumu: mye__: (require (submod "." test)) 00:07 user--: does drracket have a worksheets mode? 00:11 (quit) pcavs: Quit: Leaving. 00:18 mye__: asumu, the require works but the (define foo 1) I have in (module+) in the definition area is still undefined in the repl 00:18 asumu: mye__: did you provide it? 00:19 mye__: asumu, good thinking :-) I totally forgot about that, thanks 00:25 (quit) mye: Quit: mye 00:26 mye__: Now I'm trying to put this require into the definitions area so that it's always loaded when the REPL restarts (for interacting with tests): error "unknown module" 00:26 mye__: putting it in (module+ main) also doesn't work 00:28 (quit) bjz: Quit: Leaving... 00:29 asumu: If you put it in main, you'll need (require (submod ".." test)) 00:29 asumu: Since test is not a submodule of the main module 00:29 (join) bjz 00:35 mye__: asumu, if I use it as a top level require with one dot it should work? Because the # looks correct but require still says unknown module 00:50 (join) mye 00:52 (join) mye_ 00:55 (quit) mye__: Ping timeout: 252 seconds 00:57 (quit) ssbr_: Ping timeout: 246 seconds 01:13 (quit) getpwnam: Ping timeout: 252 seconds 01:13 (quit) hash_table: Ping timeout: 252 seconds 01:22 (quit) nilyaK: Read error: Connection reset by peer 01:38 (join) jonrafkind 01:44 (quit) Nisstyre-laptop: Remote host closed the connection 02:02 (join) Nisstyre-laptop 02:17 (quit) mye: Quit: mye 02:39 (join) crundar 02:40 (join) crundar__ 02:44 (quit) mithos28: Quit: mithos28 02:45 (join) mithos28 02:58 (quit) Nisstyre-laptop: Read error: Connection reset by peer 03:11 (quit) jonrafkind: Ping timeout: 244 seconds 03:31 (quit) mceier: Ping timeout: 244 seconds 03:33 (join) mceier 03:35 (quit) neilv: Ping timeout: 260 seconds 03:42 (join) neilv 03:51 (quit) crundar__: Read error: Connection reset by peer 03:51 (quit) crundar: Read error: Connection reset by peer 03:53 (join) uselpa 04:05 (quit) ioa: Remote host closed the connection 04:06 (quit) uselpa: Remote host closed the connection 04:12 (quit) jyc_: Read error: Connection reset by peer 04:18 (join) bitonic 04:18 (join) noam_ 04:21 (quit) noam: Ping timeout: 255 seconds 04:25 (join) vkz 04:28 (quit) mithos28: Quit: mithos28 04:30 (join) mye 04:30 (quit) mye_: Ping timeout: 240 seconds 04:56 (quit) mye: Quit: mye 04:57 (join) mye 04:58 (quit) mye: Client Quit 05:47 (join) masm 06:23 (join) lmg_ 06:54 (join) MayDaniel 06:57 (join) lasse 06:58 (nick) lasse -> mrcarrot 06:58 (join) mrcarrot 07:04 (join) tfb 07:07 (join) jesyspa 07:10 (quit) MayDaniel: Read error: Connection reset by peer 07:18 (quit) bitonic: Ping timeout: 252 seconds 07:26 (join) MayDaniel 07:35 (quit) ChanServ: *.net *.split 07:44 (join) ChanServ 07:52 neilv: anyone know whether "raco exe" or "raco distribute" will incorporate planet packages? and planet development links? 08:36 (join) jaaso 08:38 (quit) neilv: Ping timeout: 246 seconds 08:41 (join) pcavs 08:42 (quit) bjz: Quit: Leaving... 08:43 (join) gciolli 09:08 (join) jao 09:09 (quit) jao: Changing host 09:09 (join) jao 09:23 (quit) pcavs: Quit: Leaving. 09:35 (join) jeapostrophe 09:59 (quit) vkz: Quit: vkz 10:00 (quit) gciolli: Ping timeout: 252 seconds 10:02 (join) anRch 10:23 (quit) jeapostrophe: Ping timeout: 240 seconds 10:24 (join) bitonic 10:51 (quit) anRch: Quit: anRch 10:56 (join) jeapostrophe 10:56 (quit) jeapostrophe: Changing host 10:56 (join) jeapostrophe 11:01 (quit) jschuster: Ping timeout: 256 seconds 11:08 (join) jschuster 11:09 (join) getpwnam 11:10 (join) hash_table 11:19 (quit) tfb: Quit: gone 11:20 (join) mye 11:43 (join) vkz 11:51 (quit) vkz: Quit: vkz 11:54 (join) vkz 11:56 (join) jonrafkind 12:03 (quit) SeanTAllen: Remote host closed the connection 12:11 (quit) vkz: Quit: vkz 12:12 (join) vkz 12:17 (join) SeanTAllen 12:25 (join) mithos28 12:29 (join) uselpa 12:30 jonrafkind: it seems strange to me that (begin-for-syntax (printf "b1\n") (begin-for-syntax (printf "b2\n"))) prints b2 before b1 12:30 jonrafkind: even though logically b2 happens before b1, if you do (define-syntax (x) ...) (x) (begin-for-syntax (begin-for-syntax y)), then (x) is expanded before the phase 2 y 12:30 jonrafkind: so the strange thing is that inside a begin-for-syntax that nested begin-for-syntaxes get expanded first 12:31 jonrafkind: i guess maybe the parser expands everything inside (begin-for-syntax) and then executes it 12:46 (quit) jamessan: Ping timeout: 245 seconds 12:49 (join) jamessan 13:23 (quit) uselpa: Remote host closed the connection 13:37 (join) ioa 13:39 (join) mye_ 13:43 (quit) mye: Ping timeout: 248 seconds 13:50 (part) ioa 13:54 (join) mye__ 13:57 (join) pcavs 13:57 (quit) mye_: Ping timeout: 246 seconds 14:05 (join) gciolli 14:10 (quit) gciolli: Ping timeout: 240 seconds 14:13 (quit) vkz: Read error: Connection timed out 14:14 (join) vkz 14:55 (join) Guest90667 14:56 (nick) Guest90667 -> chandler 14:58 offby1: i guess 14:58 offby1: seems reasonable 15:12 (quit) mithos28: Quit: mithos28 15:13 (join) atsidi 15:17 (join) Nisstyre-laptop 15:20 (join) mithos28 15:22 (quit) asumu: Ping timeout: 260 seconds 15:23 (join) neilv 15:23 (quit) neilv: Changing host 15:23 (join) neilv 15:28 (join) asumu 15:30 (join) dnolen 15:42 (quit) atsidi: Quit: Leaving on a jet plane... 15:44 (join) jyc_ 15:45 (quit) mithos28: Quit: mithos28 15:45 (quit) pcavs: Quit: Leaving. 16:12 (join) jackhammer2022 16:19 (quit) Nisstyre-laptop: Read error: Connection reset by peer 16:27 (quit) vkz: Quit: vkz 16:30 (join) vkz 16:31 (quit) acarrico: Ping timeout: 252 seconds 16:38 (join) mithos28 16:40 (quit) vkz: Quit: vkz 16:42 (quit) neilv: Ping timeout: 260 seconds 17:00 (join) Nisstyre-laptop 17:09 (join) neilv 17:09 (quit) neilv: Changing host 17:09 (join) neilv 17:12 (quit) mye__: Ping timeout: 246 seconds 17:13 (join) ioa 17:46 (join) bjz 17:48 (join) RacketCommitBot 17:48 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/DgXLCQ 17:48 RacketCommitBot: [racket/master] Add type for `in-directory`. - Sam Tobin-Hochstadt 17:48 (part) RacketCommitBot 18:00 (quit) jeapostrophe: Ping timeout: 240 seconds 18:13 (quit) cdidd: Remote host closed the connection 18:17 (quit) lmg_: Ping timeout: 240 seconds 18:26 (quit) jao: Remote host closed the connection 18:28 (quit) MayDaniel: Read error: Connection reset by peer 18:30 neilv: has anyone tried to use "raco exe" with submodules? 18:31 (join) em 18:32 (quit) masm: Quit: Leaving. 18:32 jonrafkind: nah what does it do (or not do) 18:33 neilv: not work 18:33 jonrafkind: interesting 18:33 neilv: i will post to the list. maybe i am making a mistake 18:34 (join) jao 18:34 jonrafkind: stockholm syndrome in action! 18:34 (quit) jao: Changing host 18:34 (join) jao 18:34 asumu: neilv: related to bug 13116 maybe? 18:35 SamB_MacG5 wonders if there's a way to say "do this for phases X, Y, and Z" 18:36 neilv: asumu: yes, that looks like same behavior i get 18:36 jonrafkind: you could write a macro that expands to code which works in specific phases (relative to the enclosing module) i guess 18:36 (join) acarrico 18:36 (join) dyoo 18:37 neilv: i suspect this is a racket bug in 5.3 due to new submodules and raco exe was not tested for that 18:38 (quit) jao: Remote host closed the connection 18:41 (part) dyoo 18:50 (quit) em: Remote host closed the connection 18:50 (join) em_ 18:57 (quit) bjz: Quit: Leaving... 19:03 (quit) jonrafkind: Ping timeout: 255 seconds 19:24 (join) jonrafkind 19:26 neilv: with raco distribute, if i have some data files that are in the collection for my module (specifically, a subdirectory of the collection directory, called "static-files"), what's the proper way to include them in the distribution? "++copy-collects"? 19:37 neilv: er, ++collects-copy 19:38 neilv: the 5.3 documentation says ++copy-collects, but "--help" says ++collects-copy 19:39 (join) bjz 19:49 (quit) dnolen: Ping timeout: 245 seconds 19:52 (quit) bitonic: Remote host closed the connection 19:56 neilv: looks like what will work is to use ++collects-copy with a staging dir into which i copy the desired data files, then my app behaves differently if it's running from a "raco distribute" instal rather than from a planet package (or planet dev link), wrt where it looks for those data files 19:57 (quit) jesyspa: Quit: leaving 19:57 jonrafkind: are you using define-runtime-path? 19:58 neilv: thanks, will read docs on that now 20:06 (join) SrPx 20:10 (join) jeapostrophe 20:10 (quit) jeapostrophe: Changing host 20:10 (join) jeapostrophe 20:12 (join) yoklov 20:18 neilv: (define-runtime-path X "static-files") results in "raco distribute" creating a directory tree "/home/user/racket/rackout/dist/lib/plt/rackout/exts/ert/home/user/racket/rackout/static-files/" 20:21 neilv: which leaks info about build directory that i'd rather not leak. plus it includes cm system files. i think maybe i need to make a staging directory in which to run "raco exe" and "raco distribute". i can also put this staging directory in "/tmp" 20:22 jonrafkind: sounds reasonable. maybe raco distribute can be made to automatically create a staging directory in /tmp for you 20:22 jonrafkind: or --staging /whatever 20:24 (join) mye 20:25 neilv: maybe each "define-runtime-path" could let you specify the path's parent path as it appears under "exts/ert/" of "raco distribute" output 20:25 jonrafkind: yes, it does seem likely that the parent is somewhat arbitrary 20:27 neilv: would be nice if your distribution tree structure did not vary based on which directory you happened to have checked out your sources when you did raco distribute 20:27 jonrafkind: ya 20:29 neilv: i guess that define-runtime-module-path-index might behave differently, but define-runtime-path's interface seems to be well-suited to planet packages and running from source trees 20:29 neilv: i will post to email list in a bit 20:41 (join) jesyspa 21:10 (join) atomx 21:10 atomx: is there a command to track the execution -- to see the stack ? 21:10 jonrafkind: you can try errortrace 21:11 jonrafkind: racket -l errortract -t program.rkt 21:15 atomx: # racket -l errortract -t e.1.9.scm 21:15 atomx: standard-module-name-resolver: collection not found: "errortract" in any of: (# #) 21:15 atomx: 21:16 jonrafkind: errortrace 21:16 (quit) jyc_: Read error: Connection reset by peer 21:21 atomx: # racket -l errortrace -t e.1.9.rtk 21:21 atomx: default-load-handler: expected a `module' declaration for `e.1.9', found: something else in: # 21:22 jonrafkind: do you have #lang racket at the top of e.1.9.rkt? 21:22 jonrafkind: or rtk as you put it 21:24 atomx: I inserted #lang racket on the first line 21:24 atomx: i changed the extension 21:24 atomx: # racket -l errortrace -t e.1.9.rkt 21:24 atomx: default-load-handler: expected a `module' declaration for `e.1.9', found: something else in: # 21:24 jonrafkind: whats the first two lines of e.1.9.rkt 21:25 atomx: #lang racket 21:25 atomx: 21:25 atomx: 21:25 atomx: # lang , then void line 21:25 SamB_MacG5: odd 21:26 atomx: and in the file I put 4 function defs, and finally (display "test") 21:26 jonrafkind: whats the output of 'head -n 2 e.1.9.rkt' 21:27 atomx: I told you : the first 2 lines are 21:27 jonrafkind: i was guessing you didnt save the file 21:27 atomx: #lang racket 21:27 jonrafkind: your error doesnt make sense to me 21:27 atomx: and void line 21:27 jonrafkind: put #lang racket in a new file, like x.rkt, and run racket -l errortrace -t x.rkt 21:27 atomx: # racket -l errortrace -t e.1.9.rkt 21:27 atomx: default-load-handler: expected a `module' declaration for `e.1.9', found: something else in: # 21:27 atomx: saved the file 21:28 atomx: ok 21:28 atomx: # cat x.rkt 21:28 atomx: #lang racket 21:28 atomx: 21:29 atomx: now it works. 21:29 atomx: previously there were 4 functions in the file 21:30 jonrafkind: can you paste your e.1.9.rkt file in pastebin (not here) 21:31 atomx: http://pastebin.com/h8shJ9W3 21:31 jonrafkind: anyway if you use the drracket ide you can press the debug button and trace exceution that way 21:31 jonrafkind: your file works fine for me with errortrace 21:32 atomx: ah 21:32 atomx: from command line no chance ? 21:32 jonrafkind: i ran it from the command line 21:32 atomx: The idea is that I wanted a text output of the trace... 21:32 jonrafkind: you can also use the trace module 21:33 asumu: I also like racket/trace for debugging: http://docs.racket-lang.org/reference/debugging.html 21:33 atomx: # racket -l errortrace -t e.1.9.rkt 21:33 atomx: default-load-handler: expected a `module' declaration for `e.1.9', found: something else in: # 21:33 atomx: 21:33 atomx: 21:33 jonrafkind: http://docs.racket-lang.org/trace/index.html?q=trace#(mod-path._trace) 21:34 atomx: perhaps it is a problem of installation of drracket 21:34 jonrafkind: possible but unlikely 21:35 atomx: what version of drracket do you use ? 21:35 jonrafkind: i use the one from git, but its 5.3 21:35 jonrafkind: 5.3.0.24 so far 21:36 atomx: me 5.1.3 21:38 jonrafkind: but you said you could put #lang racket in x.rkt and run that with errortrace, right? 21:47 (quit) yoklov: Quit: bye! 21:47 atomx: Yes 21:47 atomx: It worked 21:47 atomx: Thank you 21:48 atomx: I installed 5.3 21:49 (join) RacketCommitBot 21:49 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/9lQfxw 21:49 RacketCommitBot: [racket/master] Move to fix build. - Sam Tobin-Hochstadt 21:49 (part) RacketCommitBot 21:59 (quit) mye: Quit: mye 22:37 (quit) jonrafkind: Ping timeout: 260 seconds 22:42 (quit) jesyspa: Quit: Lost terminal 22:48 neilv: ok, raco distribute will now consistently make the path for me as "lib/plt/rackout/exts/ert/tmp/rackout-build/static-files" ("/tmp/rackout-build" is the build directory) 23:16 (join) Shviller 23:19 (quit) Shvillr: Ping timeout: 246 seconds 23:20 (join) jonrafkind