-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change "FAILURE" message to something not so accusatory #250
Comments
Let me temper this: The default behavior should be to pause and wait for keyboard input asking for continuation at the "end" of the assigned number of generations. That is, if I do 200 generations and want to continue (because things are improving at the moment it stops) I would prefer to be able to continue right then, rather than re-launching with the same PRNG keys and a larger limit. When Clojush launches now, what is being launched is clearly a process or long-running system. It seems terribly wasteful to kill it preemptively this way. It should pause and ask something like ( And of course you can have a configuration option that suppresses this behavior and provides the current (frustrating) behavior, for backwards-compatibility. |
Boy I miss Common Lisp. There, we could end with In Clojure I guess we'd have two options:
I believe that @thelmuth has done the second of these, but I don't know if the code for that is in the main repository or how to invoke it. If we implement the first option then we'd want it to be conditional (as you suggest), because we often do large numbers of runs that we want to fully terminate without further intervention when they hit the generation limit. But if we set it up right then I can see it'd be nice to be able to run in a mode that allows for continuation. FWIW when I conduct runs that I think I may want to let go on for many generations, I just launch them with something like |
I'm curious why @Vaguery doesn't just use @lspector's last suggestion of setting
I have done this, once, for an experiment, in a very hacky way. It would not be a bad idea to implement this more generally, but I wouldn't necessarily recommend taking what I've done. |
Sheesh. Show some empathy, Clojush.
I'M SORRY I WAS UNABLE TO DO THIS
or maybeTRY AGAIN!
The text was updated successfully, but these errors were encountered: