[HN Gopher] Show HN: Render Jupyter notebooks as interactive art...
       ___________________________________________________________________
        
       Show HN: Render Jupyter notebooks as interactive articles
        
       Author : adlha
       Score  : 181 points
       Date   : 2021-06-02 12:35 UTC (10 hours ago)
        
 (HTM) web link (deepnote.com)
 (TXT) w3m dump (deepnote.com)
        
       | adlha wrote:
       | Hey everyone, our team just built a tool to make your Github
       | notebooks interactive and we would love for you to try it out.
       | Just enter the GitHub URL of your (or any) public notebook and
       | hit Render to instantly view the notebook. Your notebook will be
       | rendered in an article-like layout and will get a table of
       | contents. Anyone can fork it using the "Launch" button and play
       | around with your code. The Deepnote viewer is also faster and
       | more reliable than other .ipynb viewers we've tried. Would love
       | for you to take it for a spin & hear your feedback!
        
         | carreau wrote:
         | What's your security model for logged-in users, one of the
         | reason we (the jupyter team) have nbviewer on a separate domain
         | with no login is to have embedded JS and other potentially
         | sensitive content to be rendered without risk. We've seen
         | people trying many attack vectors against renderer like this
         | one with for example injecting script tags in things like
         | prompt numbers.
        
           | sunaden wrote:
           | Thanks for the q (I work at Deepnote) - all outputs that can
           | contain potentially malicious JS are sandboxed in iframes so
           | they can only access their local context and can't be used
           | e.g. for XSS attacks.
        
         | erikreinertsen wrote:
         | I am a huge fan of Deepnote!
         | 
         | Have you considered / is there already a way to "import" an
         | .ipynb into a DeepNote project?
         | 
         | Would be easier for users than to copy and paste code one cell
         | at a time.
        
           | adlha wrote:
           | Absolutely! All you have to do is Upload your .ipynb files
           | (or full folders) into an empty Deepnote project and run the
           | code. I'm sending docs with more info on how to import files
           | here: https://docs.deepnote.com/importing-and-
           | exporing/importing-d...
        
         | NmAmDa wrote:
         | That seems great, but for the comparison between DN viewer and
         | the other, is there any benchmark tests specifically or it just
         | a general feeling of speed when someone is using them. Because
         | for each Jupyter notebook viewer it will depend on the setup,
         | machine and the load itself.
        
           | the21st wrote:
           | Hi there! Simon (Engineer at Deepnote) here. We didn't
           | benchmark the load speed but for some reason, Github's ipynb
           | viewer has always felt to me quite slow and unreliable.
           | 
           | All viewers are publicly accessible so I'd love it someone
           | did an independent benchmark. I'd prefer to avoid doing one
           | ourselves because of the obvious conflict of interest
        
             | NmAmDa wrote:
             | I thought that it is more than this. I think you should
             | support any claim about that by creating a reproducible
             | open benchmark test so at least people can understand what
             | criteria you selected.
        
               | NmAmDa wrote:
               | I also find it myself much faster than GitHub viewer.
        
             | verdverm wrote:
             | Why not make a benchmark which is also open and
             | reproducible?
        
       | MartinMond wrote:
       | Reminds me of https://github.nextjournal.com/ where you can just
       | load a url from GitHub:
       | https://github.nextjournal.com/uwdata/visualization-curricul...
        
       | dmytton wrote:
       | I've been using Deepnote to do some energy modelling for an
       | academic paper I'm writing, and it's been great. The UI is much
       | nicer than any other Jupyter editor I've used, and the
       | integration with GitHub works well. Just started collaborating
       | with some other researchers on another project so the real-time
       | editing is coming in handy. So much better than using Excel.
       | 
       | I also interviewed their CTO, Jan Matas, as part of my developer
       | interview services about how it's all built around k8s behind the
       | scenes: https://console.dev/interviews/deepnote-jan-matas/
        
       | prashp wrote:
       | I love Avatar, but the analogies in that notebook were quite
       | difficult to follow!
        
       | matsemann wrote:
       | I've been using a notebook running on Deepnote[0] to follow along
       | to Andrew Ng's Coursera course (as I wanted to do it in python
       | and not octave/matlab). It has worked really nice.
       | 
       | [0]: https://github.com/dibgerge/ml-coursera-python-assignments
        
       | gk1 wrote:
       | Nice gallery and great idea to publish these with a "Launch in
       | Deepnote" button.
       | 
       | How is this different from publishing notebooks on Google Colab?
       | 
       | Also, I'm seeing some rendering issues where my progress bar is
       | printed repeatedly when it's supposed to get overwritten:
       | https://deepnote.com/viewer/github/pinecone-io/examples/blob...
       | 
       | Here's the Google Colab version for comparison:
       | https://colab.research.google.com/github/pinecone-io/example...
       | 
       | Edit: Looks like it's an issue inside the notebook, not with
       | Deepnote. Nevermind!
        
         | the21st wrote:
         | Thanks for the feedback! The main difference between us
         | (Deepnote) and Colab is that we aim for a clean reading
         | experience, and we optimize for speed.
         | 
         | Colab seems to load a notebook that has editable cells and you
         | can start executing cells directly, so it doesn't feel as a
         | "publishing" feature, more like straight up notebook sharing.
         | 
         | And thanks for the bug report, will look into that
        
           | adlha wrote:
           | Thanks for the q! A follow-up comment here - if you look away
           | from the publishing feature, the experience of Deepnote vs.
           | Colab mainly differs in a) UI, b) breadth of integrations
           | (Deepnote integrates with most of the data sources out there
           | and plays well with the rest of your stack) and c) unlike
           | Colab, Deepnote supports both real-time collaboration and
           | asynchronous collaboration via comments - so quite literally
           | Google docs / Figma meets notebooks.
        
       | spicyramen wrote:
       | This looks awesome, how does Deep note compares to Enterprise
       | notebook solutions like Google Notebooks, Sagemaker or
       | Databricks. My company cares about data exfiltration, PII data,
       | CMEK. Our researchers have access to data that is very valuable
       | and posting a Notebook that may render some information could be
       | a problem, is there a way to render notebooks (stored in a
       | private GitHub) to only a subset of authenticated users?
        
         | robertlacok wrote:
         | Hey there! Product Manager from Deepnote here.
         | 
         | We're in a stage where we support a few enterprises already,
         | but so far only those who are comfortable using a managed
         | service. However, the support for on-prem (deploying to your
         | cloud environment) is coming soon and that should cover the
         | majority of use cases.
         | 
         | Just to make it a bit clearer - this is a fun tool to render
         | any notebooks on GitHub. Deepnote as a platform also supports
         | everything else you normally do with notebooks (execution,
         | collaborative editing & comments, versioning, secure
         | integrations, scheduling and more).
         | 
         | And yes, you can set sharing settings similar to Google Docs,
         | for each project (which can have one or more notebooks).
         | 
         | CMEK are not yet available and not yet in the plan for v1 of
         | on-prem, but let's talk (robert at deepnote.com), and we can
         | make it happen.
        
       | infogulch wrote:
       | That's pretty neat and looks nice. I wonder how it compares to
       | fastai's nbdev/nb2md? https://www.fast.ai/2020/01/20/nb2md/
        
         | the21st wrote:
         | Hi, I'm Simon (Engineer at Deepnote). Thanks for the feedback!
         | 
         | nbdev is actually orthogonal to what we're doing, and you can
         | use it within Deepnote! I've written a short guide on it:
         | https://deepnote.com/@the21st/nbdev-Deepnote-MQQVcO8aQV--6rC...
        
         | jph00 wrote:
         | Thanks for mentioning nbdev (which as mentioned works well with
         | DeepNote).
         | 
         | FYI, the blog post you linked to is a bit out of date - we have
         | something much better for blogging with jupyter notebooks
         | nowadays, which is fastpages: https://fastpages.fast.ai/ . It's
         | compatible with the same annotations used in nbdev.
        
       | bachmeier wrote:
       | One thing I wished they wouldn't do:
       | 
       | > Deepnote is completely free.
       | 
       | That's simply not true. The _trial plan_ is completely free. Same
       | as a gazillion other services. By all means, they should charge
       | for their services and get rich, but Deepnote is not completely
       | free.
        
         | adlha wrote:
         | Hey, Liz from the Deepnote team here. We don't actually have a
         | trial plan. If you're an individual or a small team, you can
         | use our standard plan for free forever. You only upgrade if you
         | want to support a larger team, get stronger hardware or have
         | Enterprise requirements. I'm sending more info about our plans
         | & pricing here: https://deepnote.com/pricing
        
           | virgilp wrote:
           | The objections here would be trivially resolved if the
           | pricing page said "Deepnote _Standard_ is and always will be
           | free " instead of "Deepnote is and always will be free".
        
             | benatkin wrote:
             | Well, they aren't the first to say "always free" despite
             | having features that can be paid for, and once you get used
             | to this little piece of marketing speak, it's easy to
             | understand.
             | 
             | I appreciate them using something commonly understood.
        
         | Layke1123 wrote:
         | Get rich. Is that really what the point of all this is?
        
         | KMnO4 wrote:
         | The go on to say,
         | 
         | > Upgrade if you need advanced workflows or fine-grained
         | permission control.
         | 
         | Okay, so I need only upgrade for those features? Except wait,
         | you only get 3 projects in the free tier. Three!
         | 
         | I would be more okay calling it a free service if 99% of users
         | wouldn't need the paid tiers. But that tier is definitely just
         | a trial.
        
           | adlha wrote:
           | Hey, the wording is not super clear there. Thanks for the
           | feedback. Upon signing up, you get both a free individual
           | account & can create free teams, just like in GitHub.
           | 
           | The free individual account has an unlimited # of created &
           | running projects. The free team allows you to try out team-
           | only features, but is limited in the number of projects.
        
             | bachmeier wrote:
             | Okay. That is indeed more than just a free trial. I read
             | the pricing and thought it was three projects, one of which
             | is active, and seven days of revision history. (I also see
             | you offer free team plans for academic use.)
        
             | KMnO4 wrote:
             | Oh, definitely clear that up! I always check the pricing
             | page before signing up and that was an immediate nonstarter
             | for me. Unlimited individual + 3 team projects seems more
             | reasonable.
        
       | codeknight11 wrote:
       | I've been using Deepnote for a while and highly recommend it. I
       | love the features and they have also built a great community.
       | 
       | Github's jupyter rendering doesn't work for me most of the time
       | so I am using Deepnote viewer these days.
       | 
       | Check out my published article that I wrote using Deepnote a
       | while ago - https://deepnote.com/@tj/The-Starry-
       | Cat-7HRaWnp8QhWYeK_x_QLD...
        
       ___________________________________________________________________
       (page generated 2021-06-02 23:00 UTC)