Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Gonzalo Peña-Castellanos
@goanpeca
Then click on View
Then click on Forum
and there is an Embedded mattermost there
Screen Shot 2020-10-13 at 12.20.07.png
Max Klein
@telamonian
ah, cool. Missed the forum tab there. Thanks
Gonzalo Peña-Castellanos
@goanpeca
:+1:
Jeremy Tuloup
@jtpio
thanks @goanpeca!
Eric Charles
@echarles
To move forward on performance, we said we need a better view on where the issues were. As discussed, I have implemented a few comparison (jupyterlab/benchmarks#50) that give the following figures. I don’t want to take too much time during tomorrow weekly call, so it may be good to already collect any question/highlight here.
Comparison for `DOMContentLoaded` (seconds) for 1000 editors.

- 1000 JupyterLab Cells: 50 seconds.
- 1000 JupyterLab Cells in a Lumino BoxPanel: 10 seconds for DOMContentLoaded, cells are only shown after 140 seconds.
- 1000 CodeMirrors: 50 seconds.
- 1000 Monaco: 40 seconds for DOMContentLoaded, editors are only shown after 60 seconds.
- 1000 ProseMirror (basic version): 2 seconds.
- 1000 ReMirror: 50 seconds.
The BoxPanel bumps the 50 seconds jlab cells to 140 seconds. The StaticNotebook is rendered as a Lumino Widget (so no Panel there), but I wonder what if the enclosing Panels have a negative effect on the notebook rendering
Max Klein
@telamonian
@echarles No weekly call tomorrow. It's postponed cuz of jcon
Tradefeedr
@tradefeedr_twitter
Is there a jupyterlab extension like splitcell for the notebooks
Eric Charles
@echarles
codemirrors.png
The above plot shows the exponential nature of adding simple codemirrors (not jlab cells) to a document. (x is number of cell mirrors, y is time to render)
Sylvain Corlay
@SylvainCorlay
ipygany is out!
Carl Cochran
@CarlCochran
Thank you @jasongrout for your response about jupyter_server! I had not seen this subproject before. Do you know when notebook will no longer be maintained?
Jason Grout
@jasongrout
We don't have an officially announced timeline yet, IIRC
Carl Cochran
@CarlCochran
Can anyone point me to instructions on how to configure JupyterLab to serve Jupyter Server instead of Jupyter Notebook?
6 replies
Ian Hunt-Isaak
@ianhi

Hi all,

I've got a long shot codemirror jlab extension question. Does anyone have an idea why using :nmap k s from a codemirror editor in vim mode would have a different result than doing the same thing programmatically cm.Vim.map('k', 's', 'normal'). This is the first mapping that the vimrc extension hasn't just worked for - so ianhi/jupyterlab-vimrc#12 has me stumped.

Angus Hollands
@agoose77
If I want to use @jupyterlab/services in a browser environment, does anyone know what I need to do to fix this error?
[webpack-cli] ModuleNotFoundError: Module not found: Error: Can't resolve 'path' in '/mnt/olab/.local/share/jupyter/voila/templates/olab/static/activity/node_modules/@jupyterlab/coreutils/lib'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }'
        - install 'path-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "path": false }
    at /mnt/olab/.local/share/jupyter/voila/templates/olab/static/activity/node_modules/webpack/lib/Compilation.js:1476:28
    at /mnt/olab/.local/share/jupyter/voila/templates/olab/static/activity/node_modules/webpack/lib/NormalModuleFactory.js:648:13
    at eval (eval at create (/mnt/olab/.local/share/jupyter/voila/templates/olab/static/activity/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:10:1)
    at /mnt/olab/.local/share/jupyter/voila/templates/olab/static/activity/node_modules/webpack/lib/NormalModuleFactory.js:233:22
    at eval (eval at create (/mnt/olab/.local/share/jupyter/voila/templates/olab/static/activity/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:9:1)
    at /mnt/olab/.local/share/jupyter/voila/templates/olab/static/activity/node_modules/webpack/lib/NormalModuleFactory.js:357:22
    at /mnt/olab/.local/share/jupyter/voila/templates/olab/static/activity/node_modules/webpack/lib/NormalModuleFactory.js:116:11
    at /mnt/olab/.local/share/jupyter/voila/templates/olab/static/activity/node_modules/webpack/lib/NormalModuleFactory.js:577:24
    at /mnt/olab/.local/share/jupyter/voila/templates/olab/static/activity/node_modules/webpack/lib/NormalModuleFactory.js:721:5
    at finishWithoutResolve (/mnt/olab/.local/share/jupyter/voila/templates/olab/static/activity/node_modules/enhanced-resolve/lib/Resolver.js:287:11)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
It suggests using a polyfill, but the example code I've seen doesn't do that, so I am wondering if instead I've configured something incorrectly!
Angus Hollands
@agoose77
I think it might be that I'm building out-of-tree and something differs there?
melvinev
@melvinev
image.png
hi ! love jupyter lab... I'm running 2.2.8 and I'm trying to find a way to save the viewstate (collapsed cells, hidden cells, etc.) when I close the notebook or restart. I see mention of this "Save notebook with View State" in the 0.18.4 release a long time ago, but I dont see any way to do it now?
wes
@wscarter
is it possible to make the APOD extension backwards compatible with jupyterlab v ~1.2.6? i'm locked into that version and would like to experiment
Jason Grout
@jasongrout
What you might want to do then is to look at the 1.2.x documentation for the corresponding example there.
Nicholas Bollweg
@bollwyvl
Hey folks! Some time today we got enough of the conda-forge stack ready for python 3.9 to run lab with some bells and whistles: here's a binder of the latest lab rc, with widgets, pandas, etc: https://mybinder.org/v2/gist/bollwyvl/c2a5734ac23321d1d1af61ca4803cadc/master?urlpath=lab
6 replies
wes
@wscarter
d'oh i didn't realize i could select version at the bottom of the menu, thanks @jasongrout
Tradefeedr
@tradefeedr_twitter
when will jupyterlab 3 be released? (estimated date)
Jeremy Tuloup
@jtpio
@tradefeedr_twitter we published a new 3.0.0rc5 yesterday, pip install jupyterlab --pre if you want to give it a try!
3.0 final should be out later this month
Tradefeedr
@tradefeedr_twitter
thanks - will start playing with it
James Brock
@jamesdbrock
Please publish JupyterLab v2.2.8 to npmjs.com?
Jason Grout
@jasongrout
It is published on npm. Here is the list of packages that were published to npm, then bundled in the python JupyterLab 2.2.8 release: jupyterlab/jupyterlab@856bb55
Tim Paine
@timkpaine
Screen Shot 2020-10-16 at 11.25.37.png
just noticed the tagline is a bit old :-)
Jason Grout
@jasongrout
Fixed, thanks!
Tingkai Liu
@TK-21st
Hi everyone! Great conference thus far! Had a blast talking about our project. I have a question about installation of JupyterLab. Is it possible to wrap the entire JLab as a desktop application? front-end and back-end included?
Would make adoption a whole lot easer if this would be possible
Jeremy Tuloup
@jtpio
and also this issue that was open recently: jupyterlab/jupyterlab_app#186
with a new take that looks really promising: https://github.com/suyashmahar/europa
Tingkai Liu
@TK-21st
Ayyyy, Thanks Jeremy! @jtpio
Nicholas Bollweg
@bollwyvl
Any helpful links for getting to the sprints?
Chris Holdgraf
@choldgraf
This looks really cool to help people learn how to make extensions: https://twitter.com/mbkery/status/1317221691483918338
Jason Grout
@jasongrout
It's great to see Mary Beth's current work! You may remember that she was doing some very interesting UX surveys and research at JupyterCon several years ago