Live data from Hacker News

Jupyter Notebook 4.2 Released

blog.jupyter.org

71–80 of 88 posts

Re: Jupyter Notebook 4.2 Released

#71
Jupyter/Python has been game changing for me.

I'm not a commercial software developer, but a scientist working on technology development. I've been programming for 30+ years.

Jupyter has become my lab notebook. In the past, I always had illegible, disorganized notebooks, files, and program code, all over the place. A Jupyter notebook lets me organize all of that stuff in one place, in a narrative fashion, allowing me to reconstruct what I did, long after I've forgotten the details. The reasons for open communication of methods and results to the public, also apply to internal work.

My notebooks become my reports. I've abandoned PowerPoint, and my colleagues, including managers, don't seem to mind. Seeing the actual work might actually give them a feeling of involvement, like inviting them into the lab. They're also a good way of communicating a prototype of a process to the software development team, when an idea ends up in a product. Even if they don't like Python, the programmers can read and understand it.

I can actually run some of my data acquisition code directly within Jupyter. A code cell that spits out an inline graph is practically the default interface for a lot of this kind of work, so I don't have to build a unique GUI for every kind of test. This speeds up incremental refinement of an experimental technique, even if the routines that I write end up in a "straight" Python program when it's time to let an experiment run for a few hours or days.

Granted, Jupyter won't turn bad programmers into good. Learning good programming methods is still a gap in the education of scientists.

Re: Jupyter Notebook 4.2 Released

#72
post #70
post #62

Earlier quoted context omitted.

I love beaker. I spent a week or so trying to force myself to use Jupyter since others in my team use it, but I bailed out and went back to beaker eventually - it's got everything Jupyter has but is all round nicer to use. It's not without it's problems, but neither is Jupyter by a long shot. edit: fixed a word

thanks! what problems do you mean? maybe they are fixable :) questions and feedback are very welcome. btw, look for a big announcement from beaker next week! https://twitter.com/beakernotebook

Ooohhhh... Mysterious. I'm excited!

Re: Jupyter Notebook 4.2 Released

#73
post #70
post #62

Earlier quoted context omitted.

I love beaker. I spent a week or so trying to force myself to use Jupyter since others in my team use it, but I bailed out and went back to beaker eventually - it's got everything Jupyter has but is all round nicer to use. It's not without it's problems, but neither is Jupyter by a long shot. edit: fixed a word

thanks! what problems do you mean? maybe they are fixable :) questions and feedback are very welcome. btw, look for a big announcement from beaker next week! https://twitter.com/beakernotebook

Hah! We have had the same conversation before - see my other answer here:

https://news.ycombinator.com/item?id=11507583

But I'll add that I've never been able to set it up satisfactorily for everyone in my team to use it on a shared server. Shared installs don't seem to work very easily (I'm sure it's possible and probably easy, but it's very unclear to me how). It would be awesome if it had a daemon similar to RStudio where people can just log in with a user id on a server and it forks off an instance for them.

Re: Jupyter Notebook 4.2 Released

#76

Every time I try to do some data crunching in a python notebook, I find that I really miss the variable explorer from spyder.

You might like Yhat's rodeo: https://github.com/yhat/rodeo I haven't used it too much, but it looks interesting.

I don't care for their python implementation of ggplot, but that looks really shinny. I will definitely check that out.

Re: Jupyter Notebook 4.2 Released

#77

Earlier quoted context omitted.

Just a heads up: Jupyter Notebook is not an open source alternative to Mathematica. Originally, Jupyter was iPython notebook, an IDE of sorts for data science and analysis in Python, by writing code and markdown together in a more coherent and integrated way. Then they incorporated a host of other popular open source languages for computational science such as R, Julia, F#, ect., so that we could use the best tools f…

>all in one document. So it is possible to run both R and Python commands in the same notebook?

Yes you can, it's quite convenient: http://blog.revolutionanalytics.com/2016/01/pipelining-r-pyt...

Re: Jupyter Notebook 4.2 Released

#78
post #11

I find Jupyter great for the single-user use case, but I'm often frustrated with how it "breaks" with version control, when collaborating.

I think the jupyter devs are aware of this and trying to find a fix. There is an enhancement proposal on how to get diff to work with notebooks : https://github.com/jupyter/enhancement-proposals/blob/master...

And I think that's the project that should implement this : https://github.com/jupyter/nbdime

Re: Jupyter Notebook 4.2 Released

#79
post #11

I find Jupyter great for the single-user use case, but I'm often frustrated with how it "breaks" with version control, when collaborating.

As long as you strip outputs and prompt numbers, diffing works quite well. I've been using this commit hook for quite a while: http://stackoverflow.com/questions/25178118/opening-ipython-...

Re: Jupyter Notebook 4.2 Released

#80
post #37
post #32

If you use Atom, I would highly recommend looking at https://atom.io/packages/hydrogen It uses Jupyter under the hood to do some serious inline magic.

Is Hydrogen a notebook replacement? The demo makes it look like a fancy REPL. Does it have section headers, latex support, etc.?

No, Hydrogen is not a jupyter notebook replacement, it cannot open .ipynb files
Post reply on HN