This is really cool and I think over time, Atom is going to become really compelling once their org mode implementation or its moral equivalent gets some legs. I've used the Jupyter emacs integration ( https://github.com/millejoh/emacs-ipython-notebook ) but in the end, I stuck with org mode. For an example of what you can do in org mode (in emacs), here is part of a "dashboard" I created for one of my products: http…
Run code inline in Atom using Jupyter kernels
11–20 of 56 posts
Re: Run code inline in Atom using Jupyter kernels
#12Re: Run code inline in Atom using Jupyter kernels
#13Often times the result of running some bit of code is to see the end result in a browser because the code resulted in sending a bunch of HTML or JSON as a response.
Also in the above case your code isn't self contained to a block of code. Chances are you have a web server, along with a database and cache server. Most of my projects are also encapsulated in half a dozen Docker containers. How is this plugin going to know what to do with that?
Starting up an entire stack of programs to live preview a few lines of code would end up being slower than just saving the file and reloading the browser to see feedback.
Re: Run code inline in Atom using Jupyter kernels
#14Re: Run code inline in Atom using Jupyter kernels
#15This is really cool and I think over time, Atom is going to become really compelling once their org mode implementation or its moral equivalent gets some legs. I've used the Jupyter emacs integration ( https://github.com/millejoh/emacs-ipython-notebook ) but in the end, I stuck with org mode. For an example of what you can do in org mode (in emacs), here is part of a "dashboard" I created for one of my products: http…
Org mode rocks! And with ob-ipython you basically get same functionality as the notebook... https://github.com/gregsexton/ob-ipython
Re: Run code inline in Atom using Jupyter kernels
#16VS Code?
I certainly would be interested. I started using VS Code more and more and VIM less and less :(
Re: Run code inline in Atom using Jupyter kernels
#17Re: Run code inline in Atom using Jupyter kernels
#18Super awesome! The gif can do with a better Atom theme, though! The dark one isn't really ideal for a cell-by-cell Jupyter-like implementation
Re: Run code inline in Atom using Jupyter kernels
#19I regularly included build steps as comments in the first few lines of C and Pascal sources. No makefile necessary.
You could also arrange for code to run on actions like 'cd' (to set up environments, for instance; your editor window could become a context of readily selectable commands based on the directory you were in).
Oh, and 1987.
Re: Run code inline in Atom using Jupyter kernels
#20With hydrogen, are there cells? What happens if I want to rerun everything? Will I get no output except the output of the last line?