VS Code has been making progress to support Jupyter notebooks ( https://code.visualstudio.com/docs/python/jupyter-support ), but it's not quite there yet. Code completion works, but other features such as user snippets are missing, and it can be quite laggy. Apparently that's because the VS Code team has to reimplement a lot of stuff for Jupyter specifically (compared to adding support for Rust or Go with a language…
VSCode Insiders has huge improvements in this area. I switched to Insiders specifically for this and it’s great. You get linting, auto-formatting, vim-mode keyboard input, and even git diff for .ipynb. I don’t run Jupyter’s browser UI at all now.
Nbterm: Jupyter Notebooks in the Terminal
31–40 of 76 posts
Re: Nbterm: Jupyter Notebooks in the Terminal
#32Earlier quoted context omitted.
The shameless plug is well justified. uniplot is seriously impressive!
Thanks! Do let me know if you are still looking for any particular feature
Thanks !
PS: Is the general case of a background image handled by Uniplot, and does Uniplot allow for the idea of taking a PDF, putting the plot data into it, and then creating a new PDF file ?
Re: Nbterm: Jupyter Notebooks in the Terminal
#33Alright. Now get rid of the stupid ipynb format and store the notebooks as God intended (runnable Python files with comments).
Re: Nbterm: Jupyter Notebooks in the Terminal
#34Earlier quoted context omitted.
I'm curious, what version of Hy are you targeting in your book?
The latest public version (pip install Hy). I don’t generally install from the GitHub repo. I know that Hy is no big deal, just a Lisp skin on top of Python, but I really enjoy using it. Hy is an example of “done” software: it was written years ago, and just does what it is meant to. I have noticed comments on Reddit about Hy not being actively maintained, but as I said, it is “done.”
Re: Nbterm: Jupyter Notebooks in the Terminal
#35The web interface was the main reason I never really used the tool for more than a few test runs. Writing code in the browser combines bad usability and performance with a lack of useful dev tools. Which brings me to the question whether I can edit the code in a text editor as well or I have to write it as shown in the animation. It would be really helpful if there was a shortcut to open the current (code) section in…
One way I've been exploring, is to use nbconvert [1] to convert notebooks to python scripts and back. [1] https://nbconvert.readthedocs.io/en/latest/index.html
Re: Nbterm: Jupyter Notebooks in the Terminal
#36Earlier quoted context omitted.
Thanks! Do let me know if you are still looking for any particular feature
Do you know if Uniplot is able to handle pediatric growth charts ? ( https://www.cdc.gov/growthcharts/index.htm ) or generally, being able to plot on a background that is always used, instead of the (default) of a blank page ? such as : https://www.cdc.gov/growthcharts/data/who/GrChrt_Boys_24HdCi... Thanks ! PS: Is the general case of a background image handled by Uniplot, and does Uniplot allow for the idea of takin…
What uniplot cannot do today is to have multiple vertical axis (like weight and head circumference in your example).
Hope this helps!
P.S.: Regarding your PDF question, for that in fact I think that some plotting library to graphics (rather than the terminal) might be better
Re: Nbterm: Jupyter Notebooks in the Terminal
#37My team is doing a lot of cli-based hacking on notebooks. They’re an interesting developing format. I would love early HN feedback on Notebook Ninja, which is (pre-)alpha here: https://notebook.ninja
Re: Nbterm: Jupyter Notebooks in the Terminal
#38My team is doing a lot of cli-based hacking on notebooks. They’re an interesting developing format. I would love early HN feedback on Notebook Ninja, which is (pre-)alpha here: https://notebook.ninja
What features does Noteback Ninja have that aren't present in the nbterm system ?
nbterm is "notebooks in the terminal", Ninja is "materialized notebook executions". So, for example, whereas nbterm will display cell outputs, ninja will materialize them to disk and make them available via (eg) HTTP.
Whereas nbterm is a CLI-based notebook development environment, Ninja is a notebook production execution environment.
Ninja continues the thought from "how do I build notebooks better" to "how do I get into production".
Re: Nbterm: Jupyter Notebooks in the Terminal
#39It also unfortunately uses shortcuts that are native on Mac (ctrl+up and down do "mission control" things).
Re: Nbterm: Jupyter Notebooks in the Terminal
#40I write my code in Python or Hy files and then call functions from the notebook. Makes the editing feedback loop much easier.
How have Hy been treating you?