5 ms·
I love Jupyter notebooks, I just wish I could use them in a dedicated program instead of having to run a server and using a browser based client. It feels hacky
by sorenjan 10y ago
I love Jupyter notebooks, I just wish I could use them in a dedicated program instead of having to run a server and using a browser based client. It feels hacky and I just prefer native apps for coding and the browser for reading documentation and similar. Even an Electron based program that could be associated with notebook files and hide the server-client model would make it nicer to use. At the moment I like to open notebooks in a tab in the browser built into Visual Studio, with the editor open in a tab next to it. With some custom CSS this can be made to look pretty nice, although it's far from perfect.
There's of course value in being able to share notebooks and view them in browsers, I'd just prefer a more native experience when editing them. Maybe an extension for Visual Studio Code would be a good idea?
- m_ke 10y agoYou should check this https://github.com/nteract/hydrogen/blob/master/README.md https://github.com/nteract/hydrogen/blob/master/README.md out.
- mungoid 10y agoHoly cow I never knew that existed! My life could have been so much different the past few months had I known.. I bet I even skimmed past it on HN without even looking.. Shame on me
- denfromufa 10y agoIn PyCharm it is possible now to work directly with jupyter notebooks. Even PTVS gained cell support recently.
- eggy 10y agoDitto! Amazing. Seems the inverse of notebooks where it is a notebook with predominantly text and a box with code and results. I'm going to take Hydrogen for a spin. I still rely heavily on Mathematica, since the notebook interface won me over years and years ago. I think the next Mathematica paradigm to be redone in JupyterLab is easy connections to data without all the connection string fuss. You can just put in some basic phrases in Mathematica, and you are connected to the data, albeit curated by Wolfram, but still simple and immediate. I can link to Mathematica from NetLogo and other programs I use too.
- denfromufa 10y agoI found Jupyter notebooks more stable than Mathematica.
- eggy 10y agoIn what sense? I only get glitches in Mathematica when I am hitting extremely huge curated data from Wolfram and trying to do something at the same time. I have only used Jupyter notebooks for a page or two, and mostly toy problems, so I can't say I have stress tested them. I do like Hydrogen, though.
- zem 10y agowhoa, that looks brilliant
- deleted 10y ago[deleted]
- rtpg 10y agoPyCharm has support for python notebooks, but I don't know how well it works with remote systems.
- hatmatrix 10y agoThere's also an emacs extension that allows it to work with Jupyter http://millejoh.github.io/emacs-ipython-notebook/ http://millejoh.github.io/emacs-ipython-notebook/ (I personally haven't used it.)
- pmoriarty 10y agoI've used it. It's great when it works. But often it doesn't. That extension needs some serious tlc before it achieves its potential, which is huge.
- beevai142 10y agoI've also used it for the past months (latest version at MELPA), and haven't had any problems. Much preferable to the jupyter browser interface, no browser keybindings etc. web page stuff getting in the way.
- smortaz 10y agonote that VS (PTVS) has a Jupyter mode. in tools/options for python, select ipython mode for repl: https://github.com/Microsoft/PTVS/wiki/Using-IPython-with-PTVS https://github.com/Microsoft/PTVS/wiki/Using-IPython-with-PT... note quite the cell by cell, markdown experience, but you get inline resizable graphs, !shell commands, etc. more integration is on its way. Same with VScode.
- denfromufa 10y agoWhat are the plans for more integration? What do you mean by "Same with VScode"? There is no PTVS for VScode so far.
- sorenjan 10y agoPTVS has had IPython support for a long time, but it's not exactly like the notebooks, the IPython REPL in PTVS is more akin to Jupyter QTConsole. Better than nothing for sure, but not enough if you need or want to work with notebooks. Like I mentioned, I've experimented with opening a notebook in a browser tab in VS, and I'd say it's passable while waiting on a real solution [0]. Somebody mentioned that PyCharm has notebook suppport, and that looks closer to what I want than just a REPL [1]. I've been using VS for years, from before I started using Python, and I still prefer to use it if I can. If I'm not mistaken you work on PVTS and left a message here around eight months ago about PVTS coming to VS Code. I really like and appreciate PVTS, is there any way you can update us on a time frame for when these updates to VS/VS Code will come, and what you have in the pipeline? By the way, a lot of times I prefer the folder based projects in VS Code to the solutions in VS. I wouldn't mind if you could bring that to regular VS too. [0] http://i.imgur.com/VGiS2Ac.png http://i.imgur.com/VGiS2Ac.png [1] https://blog.jetbrains.com/pycharm/2014/12/feature-spotlight-ipython-notebook-inside-an-ide/ https://blog.jetbrains.com/pycharm/2014/12/feature-spotlight...
- glup 10y agoSolution to related but different problem: I have too many projects with several notebooks that make window management a pain (two dozen browser tabs in a browser I would like to use for other things). My solution in OS X is to use the ancient-but-venerable Fluid app as a wrapper for each project, so I can treat it like a native Mac application. One can open as many new window in Fluid as you like, so one can have cluster info, another netdata, another terminal, and any number of notebooks.
- jasongrout 10y agoThat's a cool idea. If you launch the browser in application mode, does it do the same thing (i.e., appear to the OS as a separate application with window grouping?) We hope to support tearing out tabs into new child windows, so you can have multiple OS window panes associated with the single jupyterlab page that is running.