a reminder about binder (mybinder.org)

118 views
Skip to first unread message

kirby urner

unread,
Jan 7, 2019, 6:12:11 PM1/7/19
to jupyter-...@googlegroups.com

Github Jupyter Notebooks are great for read-only rendering, perhaps in preview mode.  nbviewer.org takes it to the next step, with a sometimes more complete read-only rendering.

With a binder / launch button in your Github repo README.md, you may also provide an option for making your Notebooks temporarily go live in the cloud e.g. during a class or tutorial.  Students only need a URL to gain interactive access.

Example:

https://github.com/4dsolutions/Python5  (check the README at the bottom)

You may not have the patience to run my specific example as it uses environment.yml to make sure gmpy2 is installed via conda.  

That's a library for doing extended precision decimals faster than the Standard Library decimals module.  

If you hit the 'show' button opposite 'logs' you can watch its progress as Docker builds something in the cloud.  If it finds an already built image for that repo, it goes directly to launching a server, rather than redundantly building from scratch.

To confirm you have a live notebook, try Trust (button) and then Restart and Run All.

I plan to use mybinder.org more often as an enticement, as my virtual classroom is BYOD (bring your own device) and I like TBYB (try before you buy) as an honest way to build enthusiasm and acceptance.  

Not that Jupyter Notebooks costs money.  By "buy" I mean "buy in" i.e. to set aside the time and energy it takes to learn the ropes.

Next step:  get the Jupyter Notebook server running locally on your own device.

Kirby

PS:  the actual content of S_Train.ipynb is going to seem obscure
 unless you're an American Lit specialist.  I provide more background on my Youtube channel, just in case that's an area you're into.


Nicolas M. Thiery

unread,
Jan 7, 2019, 6:40:27 PM1/7/19
to kirby urner, jupyter-...@googlegroups.com

Speaking about binder, you may like this explainer comics:

https://opendreamkit.org/public/images/use-cases-binder-logbook-solution.png

It was produced by Juliette Belin within our EU project
(opendreamkit.org) to explain a specific use case of binder; the
comics is Creative Commons and we'd be happy to see it adapted for
other use cases, e.g. education; we can provide the original files.

Cheers,
Nicolas

On Mon, Jan 07, 2019 at 03:12:01PM -0800, kirby urner wrote:
> Github Jupyter Notebooks are great for read-only rendering, perhaps in
> preview mode. [1]nbviewer.org takes it to the next step, with a
> sometimes more complete read-only rendering.
> With a binder / launch button in your Github repo README.md, you may
> also provide an option for making your Notebooks temporarily go live in
> the cloud e.g. during a class or tutorial. Students only need a URL to
> gain interactive access.
> Example:
> [2]https://github.com/4dsolutions/Python5 (check the README at the
> bottom)
> You may not have the patience to run my specific example as it uses
> environment.yml to make sure gmpy2 is installed via conda.
> That's a library for doing extended precision decimals faster than the
> Standard Library decimals module.
> If you hit the 'show' button opposite 'logs' you can watch its progress
> as Docker builds something in the cloud. If it finds an already built
> image for that repo, it goes directly to launching a server, rather
> than redundantly building from scratch.
> To confirm you have a live notebook, try Trust (button) and then
> Restart and Run All.
> I plan to use [3]mybinder.org more often as an enticement, as my
> virtual classroom is BYOD (bring your own device) and I like TBYB (try
> before you buy) as an honest way to build enthusiasm and acceptance.
> Not that Jupyter Notebooks costs money. By "buy" I mean "buy in" i.e.
> to set aside the time and energy it takes to learn the ropes.
> Next step: get the Jupyter Notebook server running locally on your own
> device.
> Kirby
> PS: the actual content of S_Train.ipynb is going to seem obscure
> unless you're an American Lit specialist. I provide more background
> on my Youtube channel, just in case that's an area you're into.
> [4]https://youtu.be/tTgO-_PiUCQ
>
> --
> You received this message because you are subscribed to the Google
> Groups "Teaching with Jupyter Notebooks" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [5]jupyter-educat...@googlegroups.com.
> To post to this group, send email to
> [6]jupyter-...@googlegroups.com.
> Visit this group at
> [7]https://groups.google.com/group/jupyter-education.
> To view this discussion on the web visit
> [8]https://groups.google.com/d/msgid/jupyter-education/CAPJgG3SOuem2EXN
> KqLEB5XBnZ8mzPHQ-B4NDGZVUbj6QrocXwA%40mail.gmail.com.
> For more options, visit [9]https://groups.google.com/d/optout.
>
> Références
>
> 1. http://nbviewer.org/
> 2. https://github.com/4dsolutions/Python5
> 3. http://mybinder.org/
> 4. https://youtu.be/tTgO-_PiUCQ
> 5. mailto:jupyter-educat...@googlegroups.com
> 6. mailto:jupyter-...@googlegroups.com
> 7. https://groups.google.com/group/jupyter-education
> 8. https://groups.google.com/d/msgid/jupyter-education/CAPJgG3SOuem2EXNKqLEB5XBn...@mail.gmail.com?utm_medium=email&utm_source=footer
> 9. https://groups.google.com/d/optout
Nicolas
--
Nicolas M. Thiéry "Isil" <nth...@users.sf.net>
http://Nicolas.Thiery.name/

kirby urner

unread,
Jan 7, 2019, 6:45:34 PM1/7/19
to Nicolas M. Thiery, jupyter-...@googlegroups.com

Brilliant workflow cartoon, thanks for sharing it!

Kirby

Jirka Lhotka

unread,
Jan 8, 2019, 8:42:23 AM1/8/19
to kirby urner, Nicolas M. Thiery, jupyter-...@googlegroups.com
I agree MyBinder is a great idea, but I wasn't too excited about the user experience -- it wasn't very stable and if the image is new (the repo doesn't have a built image yet), it takes AGES to set up.

Actually my friend and I got so frustrated with it we started working on our own project to do MyBinder's job. You can check it out on beta.deepnote.org, it's pretty early stage so far, but I would love any feedback or suggestions anyone might have. We also have the links (see the "create a launch button" link on our front page), you can see them in action on here https://github.com/norvig/pytudes.

--
You received this message because you are subscribed to the Google Groups "Teaching with Jupyter Notebooks" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter-educat...@googlegroups.com.
To post to this group, send email to jupyter-...@googlegroups.com.
Visit this group at https://groups.google.com/group/jupyter-education.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter-education/CAPJgG3Roo_FvCjMtF_DOry%3D55Q8fQHnxpsMA8h3gpOWOr-q%3D3w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Chris Holdgraf

unread,
Jan 8, 2019, 8:52:45 AM1/8/19
to Jirka Lhotka, kirby urner, Nicolas M. Thiery, Teaching with Jupyter Notebooks
Wow Nicolas, that is amazing! Thanks for sharing the cartoon :-)   and thanks Kirby for your enthusiasm about Binder!

@Jirka your deepnote project looks interesting, will be excited to see where it goes! And we invite you to give another shot at Binder - it's been improving steadily over the last two years. If you can find ways that you think BinderHub (the open tech underneath mybinder.org) can be improved, we'd love your feedback or improvements!

Wes Turner

unread,
Jan 12, 2019, 5:45:58 PM1/12/19
to Teaching with Jupyter Notebooks
BinderHub generates Docker images from git repos with repo2docker; which checks certain configuration files for dependency specifications:

https://repo2docker.readthedocs.io/en/latest/config_files.html

mybinderhub.org is a free BinderHub service supported by donations (from the Gordon and Betty Moore Foundation and Googlr) which fund development and (Google Cloud Platform) docker instances.
https://en.wikipedia.org/wiki/Gordon_and_Betty_Moore_Foundation
https://www.moore.org

BinderHub

- Src: https://github.com/jupyterhub/binderhub
- Docs: https://binderhub.readthedocs.io/
- Docs: https://mybinder.readthedocs.io/en/latest/about.html


https://bndr.it is a shorturl service for BinderHubs that can be configured by a user to launch Jupyter projects in "mybinder.org, GESIS and Pangeo" at this time

Wes Turner

unread,
Jan 12, 2019, 5:47:51 PM1/12/19
to Teaching with Jupyter Notebooks
Reply all
Reply to author
Forward
0 new messages