In DrR, it isn't looking at the log that tells you this, you get a special bar appearing in the window. You don't have to do any extra clicks or anything like that.
That said, I don't mind if, when someone runs some planet2 code in racket, outside drracket, that it raises an error saying "you need to pass the --slow-me-down-but-automatically-download-missing-packages flag, or just run this program in drracket". Robby On Fri, Nov 30, 2012 at 8:44 AM, Eli Barzilay <e...@barzilay.org> wrote: > A few minutes ago, Robby Findler wrote: >> I agree. Planet 1 currently does this. > > Only in drr, where you can see the log... I've seen many people run > some random code naively and complain that it does nothing besides > spinning the cpu because some packages take a significant time to run. > > >> On Friday, November 30, 2012, Eli Barzilay wrote: >> >> About three weeks ago, Robby Findler wrote: >> > I would be unhappy, however, if we end up with a system where you >> > have to grovel around in low-level places to get simple uses of >> > uninstalled packages working. That is, I want to be able to put in a >> > blog post or in a talk or somewhere a little program that depends on >> > uninstalled libraries and, if I'm careful about keeping those >> > libraries that the little file works with, then that file should >> > Just Work for casual users who download drracket paste it in, and >> > hit Run. >> >> IIUC, there is an API interface for installing packages, so it's >> possible to write some expression that installs a package if it is not >> installed. The road from there to a require form that installs >> something automatically if needed is probably not long, but I think >> that one main thing that would make things better is if that results >> in some visible output about the installation that is being done. >> This avoids the problem of people who think that your random blogged >> code is not doing anything. >> >> -- >> ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: >> http://barzilay.org/ Maze is Life! >> > > -- > ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: > http://barzilay.org/ Maze is Life! _________________________ Racket Developers list: http://lists.racket-lang.org/dev