-
Notifications
You must be signed in to change notification settings - Fork 67
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
When your powers combine #4
Comments
First impressions of What does IJavascript have that jupyter-node doesn't have?
What does jupyter-node have the ijavascript doesn't have?
The only other difference I see is IJavascript's use of
I find this more flexible than the global magic variable route, for a couple of reasons:
|
One of the biggest plus of IJavascript is the wait-for-async behavior |
@ricardofbarros my plan for that is, if the final expression evaluates to a promise, then wait for that promise to fulfill. |
That sounds awesome! |
Hi everyone (and thanks to Kyle for the CC), I've just checked My impression is that The other major difference is that both And last, a few minor corrections about what IJavascript doesn't have:
To answer Kyle's original issue: I would be open to combine efforts at some point in the future, but I feel it's too early to make such a decision. I would like to explore how far I can take the idea of using only Javascript to provide %%magics and extensions. The other open question is: sandboxes vs real Node.js sessions. PS: Kyle, I'm sorry I imagine the above doesn't solve your problem of what goes up on https://try.jupyter.org/ |
@n-riesco I think "heavy use of %%magics" is a bit exaggerated; the magics are fun, and allow the processing of languages other than straight javascript in a way that's usable for more than toy examples (string concat get's a little old if you're actually writing code), but if you want to do things in just javascript, you don't need any %magic. As far as sandboxing goes -- I don't know that that is necessarily a breaking point either -- it could be trivially changed in either of our projects (switch from I'd be interested in more info about what features are missing when using a sandbox. |
Agreed, scratch About the sandbox: switching to I didn't test |
@n-riesco simple-sm looks like a cool solution! sandboxes certainly have issues. I might well switch |
Hi Jared, I'm afraid I hadn't kept the repository Also I was concerned the name was too ambiguous; I've renamed it as Hope this helps, Nico |
I think it would be very advantageous to have a single, well maintained nodejs kernel :) |
@jaredly, what is the rubric for deciding which functions go into the sandbox and which don't? |
I'm dealing with an internal struggle right now. There are at least 3 Jupyter kernels for node.
For IJavaScript, Nicolas Riesco extracted the messaging protocol to a separate package (https://github.com/n-riesco/jmp) so it could be used by other node applications (Electron and Atom apps e.g.). My current preference is IJavaScript because I've been using it, liked the layout, the documentation, the installation process, etc.
The
juptyer-nodejs
package has wonderful magics and I know you (@jaredly) as an active member of the community.I'm torn because I'd like to refer to one kernel for Node, especially if any of them were to go up on https://try.jupyter.org.
Where do you think the differences are? What would help foster a common set of packages amongst developers?
/cc @n-riesco
The text was updated successfully, but these errors were encountered: