-
Notifications
You must be signed in to change notification settings - Fork 356
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
dojo: trying to bind face sur
results causes crash
#5597
Comments
Likely the same for Lines 559 to 563 in 874d380
We should either revive this properly (we can scry built files now, right?) or axe the functionality (and its accompanying restrictions on the |
Noting bias from being the one who implemented them in the first place - I do think "use libraries in the repl" is a generally useful capability. I think it mainly came up for
|
Sure that makes sense but doesn’t say `=lb -build-file
%/lib/graph-store/hoon` obviate the need for it? Unless that’s
temporary/worse in some way.
…On Sun, Feb 13, 2022 at 5:30 PM Anton Dyudin ***@***.***> wrote:
Noting bias from being the one who implemented them in the first place - I
do think "use libraries in the repl" is a generally useful capability. I
think it mainly came up for
- testing something you're in the process of writing
- pasting and modifying examples in comments to better understand
someone else's code
- constructing one-off pokes without having to set up generator
boilerplate
—
Reply to this email directly, view it on GitHub
<#5597 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACGYSRDYFFMLE4SXXWNQ3ILU3AWIRANCNFSM5OGADTFQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
When you're actively modifying the library, it's significantly worse to have to rerun that every other line yeah |
Like, imagine you have a
and In old dojo, you would rerun the test case with up-enter Eventually you notice this is annoying, look up some app boilerplate, and write a testing app that |
Right, the examples make sense. I guess it’s still a judgement call on how
to proceed next, which looks like just keeping it the way it is until
someone gets time to reimplement it.
…On Sun, Feb 13, 2022 at 6:36 PM Anton Dyudin ***@***.***> wrote:
Like, imagine you have a sur/frob and lib/frob, the test case
/- frob
/+ *frob
(populate-frob *frob 'zig' 'bam' ~)
and +=frob is a $% which you've just changed one of the %tags on - in the
type, and correspondingly, usage of the type
In old dojo, you would rerun the test case with up-enter
With explicit -build-file, you rerun the test case with
up-up-up-enter-up-up-up-enter-up-up-up-enter
Unless you've modified the test case a time or two, in which case good
luck lol, you probably mouse over to a separate editor tab you keep for
this purpose, copy the entire import lines, paste them into urbit, and wait
half a minute for the dojo parser to churn through the input
Eventually you notice this is annoying, look up some app boilerplate, and
write a testing app that ~&s the test case on reload instead. (Or maybe
:test has rerun-on-modification functionality nowadays, and you write it
as a test case?) This works well enough, but now you've lost the repl, you
can no longer easily pass other data in or write the result to a file or
w/e.
Also instead of having a line of code and a line of result right below it,
you have a line of "this testing file changed" and a result below that,
with a separate editor pane next to / above your terminal composed mostly
of boilerplate but ending in the line you care about, but that's arguably
more minor.
—
Reply to this email directly, view it on GitHub
<#5597 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACGYSRAIBPETJAUD54YYLNLU3A575ANCNFSM5OGADTFQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Yep, the need is not obviated which is not to say necessarily high-priority :P |
Also I think even if it were revived, "assign an atom to |
Describe the bug
When trying to set the face
sur
to any value, say1
, dojo crashes and unlinks itself.To Reproduce
Steps to reproduce the behaviour:
=sur 1
at the dojo promptExpected behaviour
Binding the face should work as any other. For instance,
=mar 1
works fine.System (please supply the following information, if relevant):
-
%base
: ~ (this is a fakezod so...)Additional context
Full stack trace:
Notify maintainers
best guesses:
@philipcmonk
@Fang-
The text was updated successfully, but these errors were encountered: