sympy / sympy.github.com

SymPy's web page (sympy.org)
https://sympy.org/
188 stars 107 forks source link

JupyterLite-based shell at https://www.sympy.org/en/shell.html #174

Closed ivanistheone closed 2 years ago

ivanistheone commented 2 years ago

This is a derivative PR of the original work by @jptio PR#169.

certik commented 2 years ago

Yes, I know how to change the dns records. Just ping me when you need to change them and to what.

The SymPy Live works reasonably well. I just tested it on Firefox Apple M1, and on Firefox iPhone, both works.

ivanistheone commented 2 years ago

Okay I have an update on the user agent distribution (based on data from GAE access log).

/1/ First off, and perhaps most importantly, the service receives approx. 1 request per minute on average, which means live.sympy.org is not that popular, and we won't be letting thousands of people down if something breaks with the switch WASM. (We should really promote live.sympy.org shell more though—SymPy is such a good thing for learning math, and the live shell doesn't require any installation... I'm adding a mental note to do more promotion post-launch. I guess the new cleaned up docs will help too...)

As for mobile users, I did a rudimentary analysis on the access log from the past six months found that:

/2/ Mobile users are only 6.6% of traffic:

six point six percent mobile

/3/ Within the mobile users, most of them use recent versions of Android and iOS:

mostly modern mobile OSs

All this means my fears about "letting users down" were unfounded and we can go ahead with the rest of the migration of live.sympy.org. I'll look into the github actions scripts to make this happen and I'll ping y'all here again when there is something to test.

asmeurer commented 2 years ago

/1/ First off, and perhaps most importantly, the service receives approx. 1 request per minute on average, which means live.sympy.org is not that popular, and we won't be letting thousands of people down if something breaks with the switch WASM. (We should really promote live.sympy.org shell more though—SymPy is such a good thing for learning math, and the live shell doesn't require any installation... I'm adding a mental note to do more promotion post-launch. I guess the new cleaned up docs will help too...)

Hopefully that also means we won't be letting too many people down by removing it from the docs as well. Actually SymPy Gamma is much more popular (at least based on the billing rates), which is unfortunate because it's not so straightforward to replace it with a pyiodide equivalent.