Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Jason Grout
@jasongrout
@timkpaine - good question, I think there is an issue or two about that. I seem to remember some discussion about it
Wolf Vollprecht
@wolfv
if i add the override to the jlab package.json in staging it works flawlessly :)
Jason Grout
@jasongrout
@wolfv - are you sure that hammering down on one version will work?
oh
Fix your dependencies?
Wolf Vollprecht
@wolfv
well the 0.88 might be a problem, and i might get rid of the library pulling that in but for the others it seems fine
Jason Grout
@jasongrout
resolutions is really a huge hammer
Wolf Vollprecht
@wolfv
I like it
Jason Grout
@jasongrout
:)
We're only using it really so that you can install packages into alpha versions of jlab
Saul Shanabrook
@saulshanabrook

i have some packages, they all try to pull in three of different version

Yeah we dont have a good way to workaround this. You basically have to get those packages to all have releases that have compatible threejs version specs, if you want only one version

Jason Grout
@jasongrout
and then to make absolutely sure that the user expectations are met about exactly what versions of jupyterlab core packages are in a specific python package.
Saul Shanabrook
@saulshanabrook
It's basically a "this isn't our problem" kinda response...
As in, has to be fixed upstream on their end. But yeah resolutions sometimes is useful as a hammer. It might be nice to expose it.
Wolf Vollprecht
@wolfv
thanks for the replies :+1:
Jason Grout
@jasongrout
It would be a "I solemnly swear that I'm up to no good, and understand the consequences of mangling with dependencies" sort of thing if we exposed it
Wolf Vollprecht
@wolfv
hmm ... having some sort of package-wide resolution at least would be quite helpful though
so that my package would be allowed to pull in only one version of the dependency
anyways i'll look into getting this fixed upstream! :)
js is crazy, i tried to run yarn install --flat and there are so many duplicate packages, it was an insane experience
Ramin Honary
@ramin-honary-xc
Hi everyone, I'm new here, so forgive me if this isn't the place to ask. I wanted to develop a visual programming interface for a small programming language I am working on. I am going over the Extension Developer Guide. I'd like to have a node editor widget, so would I be correct in assuming that I'd want to create a document widget extension? Suppose I were to make an interactive widget, would it be able to make calls to the kernel registering state changes in the UI? If so, what does the JSON protocol for these UI updates look like? Is there a spec for this somewhere?
Bill Scherer
@BillScherer
Hello - I am running Jupyterlab 1.1.4 (on Windows 10, Python 3.7.3) since a recent pip update, and the page is auto-reloading periodically, like every 5 minutes or so. I'd rather it didn't. Any ideas what might be going on? Thanks!
Saul Shanabrook
@saulshanabrook
@ramin-honary-xc there are a couple of ways your could go about this.
One is to replace the notebook interface with your own. In that case you would implement a new document render type, so that when you click on a file with your extension it would open in your visual editor.
And to communicate with the server, you could either use the lower level APIs we expose for creating a kernel and sending messages, or create your own server extension and communicate with it as you see fit.
Alternatively, you can use the existing notebook interface and use the outputs to put your custom UI. You can render custom UI for a certain mimetype, and then output that mimetype from the kernel to show the UI to the user. You can use comms to communicate back and forth between the frontend output and the backend.
Sorry, there is a bunch of terminology in there that is probably no self describing, but the TLDR is we give you the JS libraries to access the kernel. How you wanna use those JS libraries and build UI around them is up to you.
Jason Grout
@jasongrout
@BillScherer - are there error messages in the javascript console or server?
Bill Scherer
@BillScherer
lemme check..
Jason Grout
@jasongrout
Can you try to diagnose it following the guide at https://jupyterlab.readthedocs.io/en/stable/getting_started/issue.html
Bill Scherer
@BillScherer
I only see a warning: Could not determine jupyterlab build status without nodejs
but that is not new
I updated jupyterlab in this venv yesterday, and that's when this issue showed up
Jason Grout
@jasongrout
Do you have nodejs installed?
Bill Scherer
@BillScherer
no.
Jason Grout
@jasongrout
you shouldn't have to have nodejs installed for stock jlab
Bill Scherer
@BillScherer
right
Jason Grout
@jasongrout
though most of us developers probably do have it installed
can you open an issue?
Bill Scherer
@BillScherer
maybe I'll just downgrade for a while
Jason Grout
@jasongrout
if you want to help debug where the error might be, based on that error message, that would be great too.
I'm wondering if basically jlab is checking the rebuild status, and then there is some error, and somehow that causes a page refresh
can you at least open an issue so that it is on our radar, though?
Bill Scherer
@BillScherer
sure, later.
Ben Thayer
@bthayer2365
I've been using jupyter notebook for a while and I like it. There's a bunch of issues on it that I'm happy to fix, but it seems like there's not much active development on it. It seems like the jupyter team is concentrating their work here. Is jupyterlab meant to replace the notebook? If so, I'll just switch over now and start contributing to juptyerlab
Jason Grout
@jasongrout
Yes, a goal is that eventually the classic notebook is retired. We'd definitely welcome your efforts in JupyterLab.
There are some people pushing the notebook forward, but I don't think very many. I think JupyterLab, nteract, hydrogen, and maybe a few other frontends have most of the community development attention these days
Saul Shanabrook
@saulshanabrook
@bthayer2365 If you do start putting your attention here, feel free to reach out, I am happy to help answer any Qs you have about development on a call or over gitter
Joe Quigley
@quigleyj97
@BillScherer Does this seem related to the issue you hit? jupyterlab/jupyterlab#7211
Ben Thayer
@bthayer2365
Great to know guys, I'll start focusing on JupyterLab and reach out with any questions