pyradiomics icon indicating copy to clipboard operation
pyradiomics copied to clipboard

Consider using mybinder

Open fedorov opened this issue 6 years ago • 24 comments

See https://beta.mybinder.org/

fedorov avatar Jul 17 '17 16:07 fedorov

Currently building of the binder is failing due to #276

fedorov avatar Jul 17 '17 17:07 fedorov

If I recall, binder is not maintained anymore.

Cc: @thewtex

jcfr avatar Jul 17 '17 17:07 jcfr

It's not currently working for me (constant spinning logo and server error in the browser console).

On Mon, Jul 17, 2017 at 1:17 PM, Jean-Christophe Fillion-Robin < [email protected]> wrote:

If I recall, binder is not maintained anymore.

Cc: @thewtex https://github.com/thewtex

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Radiomics/pyradiomics/issues/275#issuecomment-315820126, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHsfd-8KRqP-GoXt3WjZjJPbfiQcRSUks5sO5cggaJpZM4OaQOp .

pieper avatar Jul 17 '17 17:07 pieper

If you check the status, it is down: http://mybinder.org/status

@thewtex should be able to confirm, but if i recall they run out of funding. The model was not sustainable ( to be confirmed)

jcfr avatar Jul 17 '17 17:07 jcfr

See the URL I included in the initial post ;-)

fedorov avatar Jul 17 '17 17:07 fedorov

cc: @yuvipanda

fedorov avatar Jul 17 '17 17:07 fedorov

Working example: https://github.com/minrk/ligo-binder and direct binder url https://beta.mybinder.org/v2/gh/minrk/ligo-binder/master?filepath=index.ipynb

fedorov avatar Jul 17 '17 17:07 fedorov

Indeed, there are mybinder.org and beta.mybinder.org

I just wonder what is backing up beta.mybinder.org.

On Jul 17, 2017 1:24 PM, "Andrey Fedorov" [email protected] wrote:

See the URL I included in the initial post ;-)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Radiomics/pyradiomics/issues/275#issuecomment-315822107, or mute the thread https://github.com/notifications/unsubscribe-auth/AANXo_3NgancuNeqK6Idy6JR9v4jyT-0ks5sO5i8gaJpZM4OaQOp .

jcfr avatar Jul 17 '17 17:07 jcfr

@fedorov your original post didn't link to a working example!

pieper avatar Jul 17 '17 17:07 pieper

indeed. What I meant to imply in an awkward manner is that I was not referring to http://mybinder.org. https://beta.mybinder.org/ can presumably be used for any repo that has a python notebook, so I was not sure what exactly was not working and timed out from https://beta.mybinder.org/.

fedorov avatar Jul 17 '17 17:07 fedorov

Heya! Me and @choldgraf and others from the Jupyter Project have started assisting mybinder, and rewrote it to run on top of JupyterHub. beta.mybinder.org is the newer version, and should be a lot more stable (and we're committed to supporting it, and have structural support to doing so). The long term hope is that we make it really easy for institutions, publications and organizations to set up their own binder install, so people can use the same compatible repositories on any of them.

Am happy to help answer any other questions!

yuvipanda avatar Jul 17 '17 18:07 yuvipanda

Thanks for the info @yuvipanda! This will be very helpful.

pieper avatar Jul 17 '17 18:07 pieper

@yuvipanda That is fantastic to hear! For organizations that do not have the resources to set up their own JupyterHub instance, how many resources are available and how long will they be available for?

thewtex avatar Jul 18 '17 17:07 thewtex

+1 to what Yuvi said!

To @thewtex's question, Binder is a space that's evolving relatively rapidly right now so it's hard to say exactly what resources etc are available. That said, there's definitely a lot of interest in making the platform as easy as possible to deploy on other servers etc, and also a lot of interest in keeping the public mybinder.org service running as a public good. Feel free to open an issue over on the binderhub repo if there's a specific configuration setup you're concerned about (https://github.com/jupyterhub/binderhub)

choldgraf avatar Jul 19 '17 17:07 choldgraf

Using the branch from #285, I was able to build and launch using MyBinder. This required some changes to the dockerfile, as 3 notebooks are run as part of the build process, which assume a certain structure of the files and folders.

JoostJM avatar Aug 15 '17 13:08 JoostJM

This is the link to the image.

JoostJM avatar Aug 15 '17 13:08 JoostJM

just a quick thought - Binder now supports new features of repo2docker, including the ability to run shell scripts prior to generating the Docker image. So if you'd like to handle pre-build stuff with scripts instead of a Dockerfile, that should be possible now!

choldgraf avatar Aug 15 '17 15:08 choldgraf

link to the image build upon radiomics/pyradiomics/master

JoostJM avatar Aug 16 '17 14:08 JoostJM

FYI another free cloud-based notebook hosting platform: https://notebooks.azure.com

Disadvantages:

  • need to have a login and an account to run a notebook (since it first has to be cloned)
  • no support for Dockerfile for configuration

Advantages:

  • new features seem to be added regularly, seems to be actively supported: https://notebooks.azure.com/new
  • may be more robust than beta.mybinder, since it has MS/Azure back-end

fedorov avatar Sep 07 '17 16:09 fedorov

FWIW, Binder is actively supported as well ;-) (this wasn't true 9 months ago but it's a jupyter project now)

Also I'm curious what you mean by "more robust"?

(full disclosure: I'm on the jupyter team and working on the binder project :-) )

choldgraf avatar Sep 07 '17 17:09 choldgraf

@choldgraf sorry, I didn't mean to offend you! I have a lot of respect to Binder, and it has some significant advantages!

What I meant by "actively supported" is that is has Microsoft and Azure backing it, so there is a clear entity with deep pockets paying for the cloud cycles. I also liked that there is a timeline with updates which seems to be updated quite often. With Binder, documentation seems to be quite dispersed, it is not clear how to do things beyond the example binders, and what is going on with the development. It was also confusing to me as a beginner to find my way around (I have not tried very hard, I admit) the soup of terms "binder", "beta binder", "jupyter hub", "docker2repo" - it is quite hard to understand how to navigate this and what is going on. BUT (and that's a HUGE "but"!!!) once I get something that "just works" - I am pretty happy - as long as it works - and I don't care that much how and why it works.

About robustness - I was referring to the discussion we had on gitter with @minrk. Yesterday I had a mysterious failure to launch, with no error messages, which you guys seemed to have traced down to github throttling due to lack of OAuth integration. @minrk seemed to suggest that with the Azure Notebooks there would be no problems loading (and that's understandable given how much resources MS has).

fedorov avatar Sep 07 '17 18:09 fedorov

absolutely not offended :-) just trying to figure out where binder isn't meeting expectations so that we can figure out if/how we should try to improve things!

I totally agree about all the issues you just noted - some of them are just because the tech behind Binder is definitely still in a beta state...this stuff didn't exist in its current form > 4 months ago :-) if there's something in particular that's confusing etc in the documentation, don't hesitate to open an issue in the binder or binderhub repos. One of our next focuses is to build up the documentation.

choldgraf avatar Sep 07 '17 18:09 choldgraf

@choldgraf I think a good start would be to add a link to the documentation / "getting started" / examples to the front page: https://beta.mybinder.org/. It is quite confusing that the front page does not have any pointer to the documentation!

fedorov avatar Sep 07 '17 18:09 fedorov

that's a good point! I agree that should be posted there...

FWIW, here are the docs we'll iterate on for the beta deployment: http://mybinder.readthedocs.io/en/latest/

choldgraf avatar Sep 07 '17 19:09 choldgraf