Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 19 17:09
    aplamada edited #1086
  • Sep 19 17:09
    aplamada edited #1086
  • Sep 19 16:10
    aplamada commented #1077
  • Sep 19 15:58
    welcome[bot] commented #1086
  • Sep 19 15:58
    aplamada opened #1086
  • Sep 19 12:39

    consideRatio on master

    local-binder-local-hub: Fix Spa… local-binder-local-hub: set JUP… Merge pull request #1370 from m… (compare)

  • Sep 19 12:39
    consideRatio closed #1370
  • Sep 18 20:05
    manics synchronize #1370
  • Sep 18 19:45
    manics opened #1370
  • Sep 18 13:54
    minrk opened #2026
  • Sep 18 11:44
    bitnik commented #1248
  • Sep 18 10:26
    henchbot opened #2025
  • Sep 18 10:25
    henchbot opened #2024
  • Sep 18 10:17

    yuvipanda on master

    binderhub: https://github.com/j… binderhub: https://github.com/j… binderhub: https://github.com/j… and 5 more (compare)

  • Sep 18 10:17
    yuvipanda closed #2019
  • Sep 17 23:32
    jokuNimi commented #1369
  • Sep 17 23:31
    jokuNimi commented #1369
  • Sep 17 23:29
    welcome[bot] commented #1369
  • Sep 17 23:29
    jokuNimi labeled #1369
  • Sep 17 23:29
    jokuNimi opened #1369
Jez (he/him)
@jez:petrichor.me
[m]

Should be fine with flake-compat, I'll probably get round to testing it at some point

Just experimenting with this now in my lunch break: repo2docker is building... 🤞

Jez (he/him)
@jez:petrichor.me
[m]
Yup, works perfectly as intended, and lets you handle updating the pinned package versions using nix flake update
I've updated the README now too
Jez (he/him)
@jez:petrichor.me
[m]
The flakes feature in nix is still unstable, but once it stabilises it would be nice to add a buildpack that uses it directly if flake.nix and flake.lock are present, but until then using a shim default.nix like the one in that repo will work fine
Sarah Gibson
@sgibson91
Very cool work @jez:petrichor.me :smile:
Jez (he/him)
@jez:petrichor.me
[m]
Thanks! 😊
I'm a bit born-again about nix right now...
Happy to proselytise if anyone wants to know more about how cool it is!
astrojuanlu
@astrojuanlu:matrix.org
[m]
hello! I know I can configure a Binder repository putting the files under a binder/ directory, however I don't find any mention of this in https://mybinder.readthedocs.io/. I'm trying to point my students to some proper documentation, am I looking at the right place?
choldgraf
@choldgraf:matrix.org
[m]
Yes it should be there...want to make a PR to add it? 🙂
astrojuanlu
@astrojuanlu:matrix.org
[m]
sure choldgraf :) any pointers of where should it live exactly?
Sarah Gibson
@sgibson91
1 reply
Raphael Das Gupta
@das-g
While it would probably be more "preaching to the choir" than proselytizing, I think a note about this in NixOS weekly would be cool, @jez:petrichor.me.
Jez (he/him)
@jez:petrichor.me
[m]
Oh yes, great opportunity to promote binder in the other direction
choldgraf
@choldgraf:matrix.org
[m]
astrojuanlu i think we could probably just port that language to a how-to guide in the binder docs
1 reply
More generally, if you see any improvements that could be made in the binder docs I am happy to review
Feel free to ping me
astrojuanlu
@astrojuanlu:matrix.org
[m]

well, it turns out that it was on the first paragraph of the "what is binder" explanation 🙈 https://mybinder.readthedocs.io/en/latest/introduction.html#what-is-a-binder

Configuration files may be placed in the root of your repository or in a binder/ folder in the repository’s root (i.e. myproject/binder/).

Sarah Gibson
@sgibson91
@astrojuanlu:matrix.org I think the fact we've had this conversation proves that the text isn't in the place users expect it to be though :)
astrojuanlu
@astrojuanlu:matrix.org
[m]
fair enough :) ran out of time for today, but I'll get back to this soonish
Sarah Gibson
@sgibson91
No problem, whenever you have the time!
Noah Sanders
@sandertyu

Hello! We are trying to upgrade our binderhub kubernetes helm chart to the latest version 0.2.0-n636.h8e3b5ac from 0.2.0-n611.he777436 . When we try and do this, we get a helm error;

Error: UPGRADE FAILED: values don't meet the specifications of the schema(s) in the following chart(s):
binderhub:                                                                                                                                         
 - (root): Additional property etcJupyter is not allowed

Beginning at the first line of our config.yaml, it looks like this;


etcJupyter:
  jupyter_notebook_config.json:
    NotebookApp:
      allow_origin: '*'
      # shutdown the server after no activity
      shutdown_no_activity_timeout: 3600
    MappingKernelManager:
      # shutdown kernels after no activity
      cull_idle_timeout: 3600
      # check for idle kernels this often
      cull_interval: 60
      # a kernel with open connections but no activity still counts as idle
      # this is what allows us to shutdown servers
      # when people leave a notebook open and wander off
      cull_connected: true

I've noticed that mybinder.org also used this same section, and is on the latest helm chart. This latest version added a new sort of scheme, so we suspect this is causing issues for us, but not for mybinder.org somehow. Our chart work perfectly find on version 0.2.0-n611.he777436. Does anyone have an idea about what could be going on?

Erik Sundell
@consideRatio

@sandertyu it seems like you try to pass a config to the binderhub helm chart that it doesn't recognize.

I suggest removing that section, it is not used.

the new version of binderhub catches config that is weird
mybinder.org-deploy has such config, but its custom to the mybinder.org-deploy helm chart

If you do want something like etcJupyter, which is a way to inject a jupyter_notebook_config, you can use hub.extraFiles part of the jupyterhub Helm chart instead.

See the configuration reference at z2jh.jupyter.org for that.

Noah Sanders
@sandertyu
Thanks Erik, we'll try that!
Noah Sanders
@sandertyu

Alright, we were able to upgrade our helm chart, but the issue we sought to fix is still occurring.

The health endpoint for our binderhub (https://binder.libretexts.org/health) oscilates between {"service": "Docker registry", "ok": true} and {"service": "Docker registry", "ok": false}. at around avg 30 minute intervals (we are using dockerhub). We were hoping the new helm chart would fix this due to a url change, but it did not. This started happening on July 19th.

Is there anyway that we can figure out the exact URL that health.py is using to check the docker registry? That way we can try and solve this.

Lukas Heumos
@Zethson

Hi,

I am writing a jupyter-book with Binder integration. However, since my book is aimed at scientists the data to handle can become very large. The 2GB RAM limit is far too low for my needs. I would be happy to supply a custom runner for my binder instances. Is this possible in any way?

Sarah Gibson
@sgibson91
Hi, You can host your own Binder service https://binderhub.readthedocs.io/en/latest/ and then you can point your Jupyter Book to that BinderHub's URL
Lukas Heumos
@Zethson
Cool, thanks.
jgart
@jgarte:matrix.org
[m]
Hi, how does binderhub moniter jupyter notebooks that are currently active? I'm interested in finding the module or file where this code lives. Any help is greatly appreciated.
rmcgibbo
@rmcgibbo:matrix.org
[m]

Not sure if this is the right place to ask, but does anyone know if it's possible to make a mybinder link such that the initial thing that's displayed to the user when they click on the link and load the binder is jupyterhub with a terminal open?

I can see how to make a url that opens a file by using something like urlpath=lab/tree/ipynb/SquareSum15.jpg, as in https://mybinder.org/v2/gh/norvig/pytudes/main?urlpath=lab/tree/ipynb/SquareSum15.jpg, but I'm not sure if it's possible to have the urlpath specify that a terminal should be open

Angus Hollands
@agoose77:matrix.org
[m]
rmcgibbo: you need to create a JupyterLab configuration file that installs a workspace with the terminal present
rmcgibbo
@rmcgibbo:matrix.org
[m]
Cool. Does anyone happen to have an example of something like that?
1 reply
rmcgibbo
@rmcgibbo:matrix.org
[m]
It seems to. Thanks!
jgart
@jgarte:matrix.org
[m]
Hi, does a binderhub pod restrict access to the network by default?
for example, I'd like to make a jupyter notebook demo that makes calls to a public REST API with the python requests library
Is all outside internet access allowed by default?
Min RK
@minrk
most network access is allowed to standard http/https ports
Philip Durbin
@pdurbin
Hi! If all I want is to run pip install opendp for my notebook to work and I want to just add a requirements.txt file, does that file have to be in the root of the repo?
Sarah Gibson
@sgibson91
No! Can be in a binder or .binder folder!
Philip Durbin
@pdurbin
Interesting! Is this documented anywhere?
I hate how difficult to find that page is though!
Philip Durbin
@pdurbin
You're way ahead of me. Thanks!
Sarah Gibson
@sgibson91
No worries!