Re: [racket-dev] file change notifications

2015-02-03 Thread Dan Liebgold
the use. Meanwhile, there's not a good way to disable the current use in v6.1, but the hack (unsafe-vector-set! (system-type 'fs-change) 2 #f) should work to disable it. At Mon, 2 Feb 2015 12:14:12 -0800, Dan Liebgold wrote: Hi - I'm doing a little profiling of Racket 6.1 on windows

[racket-dev] file change notifications

2015-02-02 Thread Dan Liebgold
. Is there a way to disable this? I'm not using the addon-dir, so any notifications shouldn't be important. Thanks, -- Dan Liebgold[dan.liebg...@gmail.com] _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] having zo files from two versions

2015-01-08 Thread Dan Liebgold
. That's what I tried, so I didn't think of the problem with the other order. Were you able to solve this by compiling with v6.1 first? Or some other approach? At Tue, 6 Jan 2015 15:04:40 -0800, Dan Liebgold wrote: Ok, that seems to be exactly what I'm looking for -- however I tried

Re: [racket-dev] lib changes between versions

2015-01-08 Thread Dan Liebgold
)])) On Thu, 08 Jan 2015 02:56:16 +0100, Dan Liebgold dan.liebg...@gmail.com wrote: Actually this issue is still perplexing me. In 5.2.1 I have my own json lib which provides jsexpr-string. In 6.1 it's part of the distribution's collects directory. Is there a command line for racket that'll

Re: [racket-dev] lib changes between versions

2015-01-07 Thread Dan Liebgold
Ugh. Never mind... the old json lib is mine. Carry on :) On Wed, Jan 7, 2015 at 4:45 PM, Dan Liebgold dan.liebg...@gmail.com wrote: I'm maintaining the same racket code between Racket version 5.2.1 and 6.1. One thing that changed between those version was the json to string (and vice versa

[racket-dev] lib changes between versions

2015-01-07 Thread Dan Liebgold
I'm maintaining the same racket code between Racket version 5.2.1 and 6.1. One thing that changed between those version was the json to string (and vice versa) lib functions. Is there a straightforward way to define those functions so they'll work with both lib versions? Thanks, -- Dan Liebgold

Re: [racket-dev] lib changes between versions

2015-01-07 Thread Dan Liebgold
On Wed, Jan 7, 2015 at 4:51 PM, Dan Liebgold dan.liebg...@gmail.com wrote: Ugh. Never mind... the old json lib is mine. Carry on :) On Wed, Jan 7, 2015 at 4:45 PM, Dan Liebgold dan.liebg...@gmail.com wrote: I'm maintaining the same racket code between Racket version 5.2.1 and 6.1. One thing

Re: [racket-dev] having zo files from two versions

2015-01-06 Thread Dan Liebgold
Hmmm... so this should be as easy to implement as: (use-compiled-file-paths (list (build-path compiled (version Right? Trying it out now. Dan On Tue, Jan 6, 2015 at 11:14 AM, Neil Van Dyke n...@neilvandyke.org wrote: Dan Liebgold wrote on 01/06/2015 02:00 PM: What

Re: [racket-dev] having zo files from two versions

2015-01-06 Thread Dan Liebgold
Is that enough context to see the issue? On Tue, Jan 6, 2015 at 11:58 AM, Matthew Flatt mfl...@cs.utah.edu wrote: At Tue, 06 Jan 2015 14:14:22 -0500, Neil Van Dyke wrote: Dan Liebgold wrote on 01/06/2015 02:00 PM: What is a straightforward way to designate the compiled directory to look for zo

[racket-dev] having zo files from two versions

2015-01-06 Thread Dan Liebgold
Hello all - What is a straightforward way to designate the compiled directory to look for zo files in that can be based on the Racket version? I'd like to have Racket 5.2.1 and 6.1 running in parallel to aid in upgrading our version. Thanks! -- Dan Liebgold[dan.liebg...@gmail.com

Re: [racket-dev] having zo files from two versions

2015-01-06 Thread Dan Liebgold
be initialized by the `PLTCOMPILEDROOTS` environment variable, instead. At Tue, 6 Jan 2015 11:27:35 -0800, Dan Liebgold wrote: Hmmm... so this should be as easy to implement as: (use-compiled-file-paths (list (build-path compiled (version Right? Trying it out now. Dan On Tue, Jan

[racket-dev] collects search order

2014-12-11 Thread Dan Liebgold
per invocation? -- Dan Liebgold[dan.liebg...@gmail.com] _ Racket Developers list: http://lists.racket-lang.org/dev

[racket-dev] Multiple 'raco make' processes

2014-12-09 Thread Dan Liebgold
If I have multiple instances of raco make running and some of the files they are checking/rebuilding are shared across the instances... what happens? Does raco make have lock to ensure no contention? Or does each process potentially redo some work? -- Dan Liebgold[dan.liebg...@gmail.com

Re: [racket-dev] using module system for alternate namespaces

2014-11-04 Thread Dan Liebgold
to do is let us close the last 10%-20% functionality gap in our tool in a quick and straightforward manner (the term 'hack' does come to mind); mainly by allowing those arbitrary side effects to be collected as necessary. -- Dan Liebgold[dan.liebg...@gmail.com] _ Racket

Re: [racket-dev] using module system for alternate namespaces

2014-11-03 Thread Dan Liebgold
: On Oct 27, 2014, at 7:00 PM, Dan Liebgold wrote: I have a namespace behind a particular API. I'd love to hook into the module system to control compilation, visibility, etc. of all the definitions and references. Here's an example. 'a' is available in the top level module even though

[racket-dev] using module system for alternate namespaces

2014-10-27 Thread Dan Liebgold
polluting the top level namespace? Am I correct in assuming that this will not work under separate module compilation? -- Dan Liebgold[dan.liebg...@gmail.com] _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] define-require-syntax issue

2014-10-22 Thread Dan Liebgold
to comment this out while looking at the other ones so ;; you can be sure that this isn't the reason something is working. (let () (local-require (prefix-in macro2: (macro2))) (printf M2 x is ~a\n macro2:x) (void)) On Tue, Oct 21, 2014 at 9:26 PM, Dan Liebgold dan.liebg...@gmail.com

Re: [racket-dev] define-require-syntax issue

2014-10-22 Thread Dan Liebgold
or of abc and got the same effect, but I'm not sure (it depends on how file is implemented.) Jay On Wed, Oct 22, 2014 at 2:03 PM, Dan Liebgold dan.liebg...@gmail.com wrote: So, yeah... that appears to work! I use replace-context to give the resulting require syntax output the context

[racket-dev] define-require-syntax issue

2014-10-21 Thread Dan Liebgold
. Is there something special the define-require-syntax transformer needs to do besides generate a syntax object? samth mentioned on irc that it is probably a hygiene issue... something about generating the right marks on the (file ...) form. -- Dan Liebgold[dan.liebg...@gmail.com

[racket-dev] hash-list stability?

2013-06-18 Thread Dan Liebgold
According to the docs, hash-list returns a list in an unspecified order. Can anyone tell me a little about how hash-list might return two different orders give the same hash table? Possibly across different invocations of Racket? Thanks, -- Dan Liebgold[dan.liebg...@gmail.com

Re: [racket-dev] hash-list stability?

2013-06-18 Thread Dan Liebgold
That makes sense. 'sort' to the rescue! On Tuesday, June 18, 2013, Carl Eastlund wrote: On Tue, Jun 18, 2013 at 3:21 PM, Dan Liebgold dan.liebg...@gmail.comjavascript:_e({}, 'cvml', 'dan.liebg...@gmail.com'); wrote: According to the docs, hash-list returns a list in an unspecified order

[racket-dev] replacing current-load/use-compiled

2013-01-16 Thread Dan Liebgold
Does anyone know if there's a way to replace current-load/use-compiled at startup time without changing cstartup.inc and rebuilding executables? -- Dan Liebgold[dan.liebg...@gmail.com] _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] module mismatch with .zos

2012-10-18 Thread Dan Liebgold
). I think that's a good option. I think it's fine to omit .rkt files and .dep files, in which case timestamps on .zo files don't matter. (You could also keep .dep files along with .zo files, in which case timestamps still don't matter, but that doesn't seem useful.) -- Dan Liebgold

Re: [racket-dev] module mismatch with .zos

2012-10-16 Thread Dan Liebgold
implementation to ignore timestamps and just go by file existence we should be ok Does this sound like an accurate assessment? Thanks, Dan On Mon, Oct 15, 2012 at 7:01 PM, Robby Findler ro...@eecs.northwestern.eduwrote: On Mon, Oct 15, 2012 at 7:59 PM, Dan Liebgold dan.liebg...@gmail.com

Re: [racket-dev] module mismatch with .zos

2012-10-16 Thread Dan Liebgold
timestamps on .zo files don't matter. (You could also keep .dep files along with .zo files, in which case timestamps still don't matter, but that doesn't seem useful.) -- Dan Liebgold[dan.liebg...@gmail.com] _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] module mismatch with .zos

2012-10-16 Thread Dan Liebgold
struggled with for a long time, so maybe your experience here will give us another piece to the puzzle on dealing with this issue overall.) Yes, compilation not being idempotent has come up as an issue for us. It's certainly lower priority though... Robby -- Dan Liebgold[dan.liebg

[racket-dev] module mismatch with .zos

2012-10-15 Thread Dan Liebgold
, but some get this error. Do end users need the .dep files? Would removing them make a difference? Thanks, Dan @ Naughty Dog -- Dan Liebgold[dan.liebg...@gmail.com] _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] module mismatch with .zos

2012-10-15 Thread Dan Liebgold
run our Racket based command-line tools... they never use raco make. At Mon, 15 Oct 2012 15:10:18 -0700, Dan Liebgold wrote: We're having trouble with .zos. We trigger the module mismatch, probably from old bytecode whose dependencies have changed: error on occasion and I'm not sure why

Re: [racket-dev] PLTCOMPILEDROOTS

2012-10-10 Thread Dan Liebgold
for many read operations on a single file. That matches our experience precisely. -- Dan Liebgold[dan.liebg...@gmail.com] _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] unable to embed racket in a C++ program

2012-09-24 Thread Dan Liebgold
(e, collectPathList); At Fri, 21 Sep 2012 16:42:23 -0700, Dan Liebgold wrote: I'm having a terrible time trying to embed Racket 5.3 in a C++ program. Please take a look at https://gist.github.com/3764529 and tell me where I'm going wrong. This is the output I get: racket/base

Re: [racket-dev] unable to embed racket in a C++ program

2012-09-24 Thread Dan Liebgold
Eh, scratch that last crash. My erroneous book-keeping with registered locals. Carry on... On Mon, Sep 24, 2012 at 9:58 AM, Dan Liebgold dan.liebg...@gmail.comwrote: Ok, that gets me past the missing collection exception. Now it crashes inside libracket3m_8bh1a8.dll. Here's the callstack

[racket-dev] embedding racket without overriding main?

2012-09-24 Thread Dan Liebgold
Does anyone have an example of embedding 3m Racket (5.3) in a C++ program without overriding main? I have a legacy C++ app that wants to eval some Racket code but I'd like to be minimally invasive. Might need to shell out... -- Dan Liebgold[dan.liebg...@gmail.com

Re: [racket-dev] embedding racket without overriding main?

2012-09-24 Thread Dan Liebgold
Is there any reason the scheme_main_setup trampoline can't be done later in the program (i.e. only at the point I want to invoke Racket stuff)? On Mon, Sep 24, 2012 at 5:09 PM, Matthew Flatt mfl...@cs.utah.edu wrote: At Mon, 24 Sep 2012 15:10:08 -0700, Dan Liebgold wrote: Does anyone have

[racket-dev] unable to embed racket in a C++ program

2012-09-21 Thread Dan Liebgold
directories: C:\Users\danl\AppData\Roaming\Racket\5.3\collects in: racket/base context...: standard-module-name-resolver RACKETDIR environment variable is defined properly (and not to the path in the output.) Any ideas? -- Dan Liebgold[dan.liebg...@gmail.com