Live data from Hacker News

JupyterLab is ready for users

blog.jupyter.org

101–110 of 250 posts

Re: JupyterLab is ready for users

#101
post #95

Earlier quoted context omitted.

Oh, that's cool - it's just some javascript that's essentially clicking execute on the selected cells. That makes sense, and hacked up version of this could work fine! Thanks!

If you get this working my cousin teaches elementary school and I'd love to show it to her! Please upload it if you're feeling generous :)

I'll definitely post it to GitHub, and I'll do a Show HN after I've used it in class.

Re: JupyterLab is ready for users

#102
post #74

Earlier quoted context omitted.

That's why Jupyter support more than 60 languages ( https://github.com/jupyter/jupyter/wiki/Jupyter-kernels ) which language did you had in mind ?

Perhaps a dumb question, but do those languages tend to have wrappers for common Python libraries like Pandas?

I doubt it. Python is not very embedding-friendly. You might be able to bridge the gap via the foreign function interface, but it's unlikely that the Pandas API will feel as comfortable in another language that it wasn't designed for.

Re: JupyterLab is ready for users

#103
post #90
post #58

I'd really like 1 thing from those articles. I didn't knew what Jupyter was in first place. So please dear authors when I click on your articles I'd like to have a single sentence somewhere on the landing zone where I can easily figure what we're talking about and not having to read entire paragraphs Thanks,

The closest thing to what you're asking for is the first image in the post, which is a screenshot that has this caption: > JupyterLab is an interactive development environment for working with notebooks, code, and data.

But what are jupyter notebooks? Had to Google it to find out. Still not sure what it does.

Re: JupyterLab is ready for users

#104

Earlier quoted context omitted.

I'm using RStudio notebooks heavily in my latest bioinformatics analysis pipeline. They're a great way to produce an HTML report containing code, exposition, results, and plots all in one place. https://github.com/DarwinAwardWinner/CD4-csaw (look at scripts/*.Rmd)

I wrote an article a few months ago on the differences between R Notebooks and Jupyter Notebooks (and why, IMO, R Notebooks are better): http://minimaxir.com/2017/06/r-notebooks/

Yup, revision control is the elephant in the room with Jupyter, and why I struggle to recommend it for reproducible research.

R Notebooks followed the org-mode model of keeping a simple, revisionable document with code interspersed.

Re: JupyterLab is ready for users

#105
post #78
post #67

Earlier quoted context omitted.

As far as I can see there's no way for a user to set the size of their infrastructure.

Yeah, you can connect your GPU for machine learning, but that seems to be it.

You can use it with GPUs: https://towardsdatascience.com/fast-ai-lesson-1-on-google-co...

Re: JupyterLab is ready for users

#106
post #70

Earlier quoted context omitted.

Oh ! Thanks, we'll try to fix that ! BTW we're not a company, but sponsored by a non profit, academics and volunteers mostly.

As someone new to not just Jupyter (and for someone coming from the Microsoft c# world, mind = blown, many kudos)....do you (or anyone else reading) happen to know off the top of your head a particularly well done, information dense (not dumbed down, showing what you can do, but skipping a hand holding explanation, one can go get that elsewhere) notebook that demonstrates a broad range of Pandas & Jupyter capabilitie…

Wes McKinney posted a 10-minute "whirlwind tour of pandas" [0] several years ago that still serves as a pretty good example of what is possible for a practiced pandas user.

[0] http://wesmckinney.com/blog/whirlwind-tour-of-pandas-in-10-m...

Re: JupyterLab is ready for users

#107
post #34
post #8

Earlier quoted context omitted.

As someone who used Matlab and Mathematica in college, I'm not sure I'd want to have a closed source solution really take off again at this point. While they provided great products and documentation, they also made it much more difficult to share code/visualizations due to restrictive and expensive licensing. Ultimately, I think the ability to share information easily should help spur scientific advancement.

That's all nice but you go to real-world space/robotics/drones etc. shops and they all use Matlab or similar for their scientific computation and validation and treat Jupyter stack as a toy. Similar to telling a photographer to use Linux because there is GIMP and that should be enough for them.

Yeah, I work at a startup where we specialize in signal processing + ML. We have a robust set of infrastructure in MATLAB (use our own ML libraries rather than MATLAB's libs) and try as we might, we haven't been able to switch altogether to Python (despite a number of us being fans of Python).

MATLAB has a TON of things that you don't get with Python + Numpy + Scipy. Complicated plots/graphics with interactivity are a pain point in Python compared to MATLAB. Similarly, the debugging capabilities in MATLAB are truly magical compared to a pretty terrible experience on the Python side of things. Even though we deploy software in Python, we are much faster prototyping in MATLAB and deploying finalized algorithms/software to Python than trying to do everything in Python from the get go. MATLAB's JIT is also pretty great and while Numba is pretty great, it still requires more work and can be brittle at times.

Re: JupyterLab is ready for users

#108
So let's say I am progressing inside a jupyter notebook top to bottom. I run code blocks, then some markdown, then code blocks, and so on.

At some point I need to drop down to the terminal to run something. I run commands in the terminal I collect some results or collect some info and go back to my notebook to resume my work inside it.

Later I need to look up something in a text file. I open a certain text file. Browse to a certain line number, read that line, maybe edit the text file, and close the text file to go back to my notebook.

Does JupyterLab keep a record of the point in my progress in the notebook when I switched to the terminal or the text file, what I ran in the terminal, and what info was used? If I edited the text file, what was before and after of the text file? In other words, does JupyterLab help with the chronology of workflow events?

If not, I don't see how this is anything other than hundreds of "IDE"s out there.

Notebook format has its own issues, but going back to IDE is not a solution. Offering both notebook and an IDE at the same time and leaving it up to the user to make the best of the combo is not a solution either, unless the offering helps some kind of a way of eliminating the cons of either format.

Re: JupyterLab is ready for users

#109

I'll be teaching a group of nine and ten years olds to code. I'm planning on using Jupyter. What I'd really like to do is make a multiplayer naval game, with each player controlling their ship from their own notebook. Players would start out by running commands like fire(range=400, bearing=120) right from a cell, but would later be able automate their ship - for example, pick the nearest enemy, get the range, and plu…

I haven't looked a Jupyter at all; in plain Python, I'd start with something like this[1]:

  schedule = set() # (time, function) pairs
  while True:
    next=min(schedule)
    schedule.remove(next)
    sleep(next[0] - now())
    next[1]()
    schedule.add((now() + interval, next[1]))
    
[1] Pseudocode only; I don't have the API reference in front of me to verify method names and such. Several edge cases are unhandled.

Re: JupyterLab is ready for users

#110
post #34
post #8

Earlier quoted context omitted.

As someone who used Matlab and Mathematica in college, I'm not sure I'd want to have a closed source solution really take off again at this point. While they provided great products and documentation, they also made it much more difficult to share code/visualizations due to restrictive and expensive licensing. Ultimately, I think the ability to share information easily should help spur scientific advancement.

That's all nice but you go to real-world space/robotics/drones etc. shops and they all use Matlab or similar for their scientific computation and validation and treat Jupyter stack as a toy. Similar to telling a photographer to use Linux because there is GIMP and that should be enough for them.

I think a better analogy would be how large swathes of the population use Windows for everyday computation and treat Linux as a toy, whereas individuals with more domain knowledge take Linux seriously and use it in production in a variety of environments (e.g., high frequency trading, web hosts, commerce sites, etc). Engineers may prefer MATLAB as a "serious" development environment, but most software developers find it to be seriously lacking. Most general purpose programming languages are far more powerful than MATLAB, but simply lack the toolboxes/convenience. Both of these points are nothing new and have been observed since the creation of MATLAB (indeed, the latter is the reason why MATLAB was created, since MATLAB is basically supposed to be a pretty face for FORTRAN).
Post reply on HN