Hood Chatham
Hood Chatham
> Ideally, those libraries should work even if they are not loaded globally, which is how things behave in linux environment. It seems like you have to remind me about...
We should try to improve the error message that happens if you do `pip install pyodide`, to mention `pyodide-py` and `pyodide-build` as possible alternatives. Also, I wonder if we could...
I like something like this a bit better since it doesn't have the traceback: setup.py ```py # The very first thing we do is give a useful error if someone...
@henryiii do you have an opinion about the best way to make `pip install wrong_thing` print instructions to install something else instead?
Or you can use my experimental but generally working library [synclink](github.com/hoodmane/synclink) if you are adventurous.
Your understanding of everything is pretty much accurate. Would you consider just asking your students to add `async` and `await` everywhere? I understand it is a notational pollution that could...
Have you looked into `Atomics.wait`? It sounds extremely promising. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Atomics/wait
This recent blog post seems to say that `Atomics.wait` works for what you want here: https://jasonformat.com/javascript-sleep/
> Rollup: Test rollup/rollup-starter-app and encounter the below error, I think the solution to this is provided in the docs https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency which is to add the following to `rollup.config.js`: ```js...
They have a demo here: https://sleep-sw.glitch.me/ ant the source code: https://glitch.com/edit/#!/sleep-sw?path=worker.js%3A1%3A0