Notebook bootstrap cell: tell the reader to wait while it installs (follow bdsim#270)
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 72/100
- Type d'issue
- Fonctionnalité
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- jupyter, python
- Domaine
- documentation, tooling
Piste de recherche
Read _rtb_nb_bootstrap.py and this repository’s sync_bootstrap.py, then compare the template changes described in the issue with bdsim#270. Regenerate the bootstrap cell in every notebook and review the diffs for the added folded-cell header and install message. Done means the JupyterLite notebook shows Installing ... before Running ...; the issue also asks for a check after the docs deploy.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
The bootstrap cell at the top of each notebook can take some seconds to run, most of all in JupyterLite, and a reader who has not seen it before cannot tell a wait from a hang. bdsim has fixed this (petercorke/bdsim#270) from a change to the shared template (petercorke/rvc-ecosystem#35). RTB should pick it up so the three toolboxes stay in step. This is separate from the JupyterLite convergence in #941.
What changed in the template (notebooks/bootstrap_template.py and notebooks/sync_bootstrap.py in rvc-ecosystem):
- The first line of the generated cell, which is what shows when the cell is folded, now reads
# RTB_BOOTSTRAP_CELL: installs the package, which takes a short time, so wait for the line "Running ..." below. Generated by sync_bootstrap.py from _rtb_nb_bootstrap.py, do not edit. The marker prefix is unchanged. - The install is announced as it starts:
print(f"Installing {PACKAGE}, this takes a short time...", flush=True). JupyterLite printed nothing before; Colab printed a shorter message. A local run only imports, so it prints nothing extra.
To do here
- Copy the same two changes into
_rtb_nb_bootstrap.py: theprintafter thepiplite/micropipimport in theemscriptenbranch, and the reworded Colabprint. - Change the
headertext in this repo's copy ofsync_bootstrap.pyto match, then regenerate the cell in every notebook. See bdsim#270 for what the diff looks like: one new first line plus oneprintper notebook. - Open one notebook in the JupyterLite site after the docs deploy and check that
Installing ...appears beforeRunning ....
Details: rvc-ecosystem notebooks.md section 3, and the rvc-ecosystem PR above.
- Langage dominant
- C++
- Étoiles
- 3.6k
- Forks
- 652
- Merge moyen
- 1 j 23 h
- PR mergées (30 j)
- 90
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de petercorke/robotics-toolbox-python
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 82/100
petercorke/robotics-toolbox-python#952 ·
Les mainteneurs répondent en général sous 1 jour
-
Notebooks index: say that an opened notebook does not pick up later updates (follow bdsim#272)Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
petercorke/robotics-toolbox-python#945 ·
Les mainteneurs répondent en général sous 1 jour
-
[Bug]: manipulability reverses start and end when selecting a robot subchainPeut-être pris @Afloat16 l’a pris aujourd’hui. Ouvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
petercorke/robotics-toolbox-python#943 · 2 commentaires · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
petercorke/robotics-toolbox-python#709 ·
Les mainteneurs répondent en général sous 1 jour
-
JupyterLite: unpin the Pyodide kernel (Safari 27 has JSPI), add the unsuitable-browser message, adopt spatialmath-python 1.1.19Peut-être pris @petercorke l’a pris il y a 1 jour. Ouverte
petercorke/robotics-toolbox-python#941 · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de petercorke/robotics-toolbox-python
Issues similaires
-
ai_p2
Difficulté 2/5 1-3 heures Accessibilité débutants 80/100
ClickHouse/ClickHouse#132519 ·
Les mainteneurs répondent en général sous 1 jour
-
patch_advisor_json_integration fails when the build tree is reached through a symbolic linkPeut-être pris @DerKarussellbremser l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
boykopovar/AnyPS5#22581 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
[Bug]: VST3 getMidiControllerAssignment reads past midiControllerToParameter for program changeOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
juce-framework/JUCE#1810 ·
-
NatronRenderer: a Python error in the script (-t / project script) doesn't change the exit statusOuvertefunc:engine type:bug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
NatronGitHub/Natron#1276 ·
Les mainteneurs répondent en général sous 1 jour