Live data from Hacker News

Jupyter Notebook 4.2 Released

blog.jupyter.org

61–70 of 88 posts

Re: Jupyter Notebook 4.2 Released

#61
post #6

One of our data analyst had fun drawing all the shots from Kobe during his whole career. He did everything on jupyter, which I discovered at that moment, and was mind blown on how well it worked and how powerful it is. I don't think I would ever use this tool as a seasoned software engineer, but I can definitely see the power it has for newer people who want to learn, or simply people like him who know a little bit o…

I would say beyond just learning, transparency is another major issue.

Re: Jupyter Notebook 4.2 Released

#62
post #8

There's also a newer alternative called Zeppelin: https://zeppelin.incubator.apache.org Comparison: https://www.linkedin.com/pulse/comprehensive-comparison-jupy...

Another competitor (with a strong focus on polyglot use): http://beakernotebook.com/ . Made by the people at https://www.twosigma.com/ .

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

Re: Jupyter Notebook 4.2 Released

#63
post #4

I had my first experience with Jupyter last weekend when I was trying to learn about document clustering with Python. It seems like a cool idea, but in practice ended up being kind of annoying: https://github.com/brandomr/document_cluster/issues/7

Jupyter is great for prototyping and playing with ideas, essentially its great it you want persistent data. But after you more or less know what you want and loading the initial dataset isn't a constant annoyance you're usually better off in an IDE or other real programming environment. I use it to ask a whole bunch of exploratory questions about a dataset then productionize the result in PyCharm (my preference, othe…

This is actually my main problem with the whole idea of these "notebooks". They explicitly encourage exactly the kind of ad hoc coding and practises that plague a lot of scientific work. It's nearly impossible to practise good software engineering while inside one of these things. I know the rationale will be that this is for ad-hoc exploration and the code should be rewritten / redesigned when it's moved into an app, but just like all prototype code that has ever been written, that is not what happens.

I would love something that combines this style with support for good software practices. For example, that let's you seamlessly move snippets of code into functions, classes, modules, and then create tests for them. RStudio is actually the closest I have found, which is ironic since as a language R is horrible for encouraging good software practices.

Re: Jupyter Notebook 4.2 Released

#64
post #38
post #35

Earlier quoted context omitted.

sorry, maybe my comment is wrong because of my lack of knowledge about the tool (I've seen it used 10 minutes) but it's seems like it's a nice UI replacing what a terminal does, if I'm right. So all I'm saying is, since i'm confortable using a terminal, and I'm usually already there using vim, etc., then it's more convenient for me to test stuff in my terminal than going into my browser to test in jupyter

no, you miss the point of the notebooks. You use it to tell story.

As a seasoned software engineer, I use it as a persistent, better-organizable shell. Even when working on a remote host, I forward its port and work there rather than open a shell on the remote machine, and I'm someone whose IDE is vim.

It's just much better when you can see all your functions in one place, edit a function far back and have the changes propagate to the last command you ran.

Re: Jupyter Notebook 4.2 Released

#65
post #3

While working on a data science team some months ago, these notebooks helped me build something that explained, in detail and at a high level, the implementation details of an algorithm to sales and others not familiar with data science techniques. It was awesome and so easy. I also used them when we did a capture the flag contest to help explain visually how a multi time pad vulnerability works.

Here is a link to an html export of the jupyter notebook I made for the many-time-pad experiment: https://kyleterry.com/natas11.html

Re: Jupyter Notebook 4.2 Released

#66

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?

No, R and Python are separate kernels (think compiler). You can mix Shell and Python or Shell and R though.

Re: Jupyter Notebook 4.2 Released

#67
post #57

Earlier quoted context omitted.

It's really annoying to get caught in a blog.domain.com subdomain without any obvious links back to the main domain.

I agree that it is annoying to have the "home" or "main" link go to the blog home. But when you are at blog.domain.com , is it really that difficult for you to figure out how to get to domain.com ?

Is it that difficult for the site owner to add a simple link?

Re: Jupyter Notebook 4.2 Released

#68

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?

Yeah, there are bridges for converting Python data types to R and vice versa (Rpy2).

Re: Jupyter Notebook 4.2 Released

#69
post #8

There's also a newer alternative called Zeppelin: https://zeppelin.incubator.apache.org Comparison: https://www.linkedin.com/pulse/comprehensive-comparison-jupy...

Any idea if it's faster at presenting output? One of my biggest gripes with Jupyter is that it's crazy slow when presenting even a few hundred lines of something. It makes working with e.g. AWS APIs even more headache-inducing.

Re: Jupyter Notebook 4.2 Released

#70
post #62

Earlier quoted context omitted.

Another competitor (with a strong focus on polyglot use): http://beakernotebook.com/ . Made by the people at https://www.twosigma.com/ .

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

Post reply on HN