Skip to content

Update README.md #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 24, 2016
Merged

Update README.md #2

merged 1 commit into from
Oct 24, 2016

Conversation

annafil
Copy link
Contributor

@annafil annafil commented Oct 20, 2016

not sure if this is a version issue, but with jupyter installed using anaconda3 4.2.0 (Python 3.5), I had to replace install with enable to get the memory reading to display properly.

not sure if this is a version issue, but with jupyter installed using anaconda3 4.2.0 (Python 3.5), I had to replace install with enable to get the memory reading to display properly.
@yuvipanda yuvipanda merged commit 93ce35c into jupyter-server:master Oct 24, 2016
@yuvipanda
Copy link
Collaborator

Thanks! This is the correct thing to do :D

@annafil
Copy link
Contributor Author

annafil commented Oct 24, 2016

One other thing I noticed was that after successfully doing this and getting the memory profile to show up, I got some 404 errors from conda (screenshot below).

It was a fairly simple fix, as suggested here, I ran

jupyter serverextension disable nb_conda
jupyter serverextension enable nb_conda

Do you think this might be connected? If so, perhaps these commands might help someone else if they run into the same issue :)

screen shot 2016-10-20 at 1 04 18 pm

davidbrochart pushed a commit to davidbrochart/jupyter-resource-usage that referenced this pull request Dec 14, 2022
davidbrochart added a commit that referenced this pull request Dec 15, 2022
* initial commit

* add Makefile

* refactor react state

* add a timer with react hook to ensure the panel is refreshed - fixes Quansight/jupyterlab-kernel-usage#6

* panel content for #4 and #7

* new icon fixes #3

* ensure minimal ipykernel version - fixes #8

* format cpu to 1 decimal - fixes #2

* better format the memory numbers - fixes #1

* bump version to 0.2.0

* better format for the memory

* bump versoin to 0.3.0

* update preview image

* lint

* tune the panel layout

* show a message is kernel usage is not available

* Add PID

* readme: add ipykernel requirement - closes #8

* release: 0.4.0

* remove old kernel poll

* don't throw timeout exception

* remove logging

* Pool only the active kernel and if the sidebar is visible

* lint

* polish the ui and add cpu_count

* release: 0.5.0

* Fix issues related to fronted querying too often.

There were three issues:
- the `notebookTracker.currentChanged` signal was being connected
  on each re-render of React widget and re-renders were triggered
  by update to state that was defined in the callback leading to
  O(n^2) accumulation of callbacks.
- the `kernelChanged` signal was being connected on each change of
  the notebook leading to O(n) accumulation of callbacks.
- the sidebar panel could have been created multiple times if
  invoked from command palette - O(1) accumulation of callbacks.

* Limit the backend timeout to 1+2+3=6 seconds total

* Clear kernel ID if disposed

* Merge jupyterlab-kernel-usage

* Add ipykernel dependency

* Update README

* Pin ipykernel>=6.11.0

* Remove jupyterlab-kernel-usage

* Include changes from Quansight/jupyterlab-kernel-usage#24

* Lint

* Remove @jupyterlab/launcher dependency

Co-authored-by: Michał Krassowski <[email protected]>

* Review

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: Eric Charles <[email protected]>
Co-authored-by: krassowski <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants