The CDN fallback only applies to IPython/Jupyter notebooks, not plots
generated at the command line. Notebooks need to be run in a local server,
and the local server will always know how to find its files. The fallback
will only be activated if the notebook is moved to a remote location, and
th
https://trac.sagemath.org/ticket/27575 addresses this by fixing an
apparently already existing "fallback to the online CDN" and claiming that
this discussion here becomes moot.
But I think what the discussion here tried to address is that it is bad for
a local install of Sage to silently fetch
Actually, I changed it now to just include the full three.js script with
every plot. Sure, it keeps your browser from doing smart caching but at
least it's going to always work and there are no privacy concerns anymore.
So, that's what I propose as a temporary fix until somebody really
understan
I would not mind `online=True` to be the default but apparently there is
too much opposition to that.
I added a simple warning if three.js does not work in
https://trac.sagemath.org/ticket/26434 since I am touching related code
there anyway. I have not tested this at all but feel free to comment
Just another data point: the option "online=True" is currently necessary to
display threejs in Jupyter notebooks on CoCalc (without it, one gets just a
blank).
That said, I agree with the concerns expressed here about the silent access
to internet and the user's privacy.
Eric.
--
You receiv
I must say it's totally unclear to me how not having some default
option at certain state breaks something.
I'd rather have the mechanics of sharing things online fixed so that
the right options are applied for this sharing operations.
On Mon, Feb 11, 2019 at 8:05 PM mmarco wrote:
>
> Is there an
Is there any essential reason why online=False can not work on nbviewer or
mybinder? If it can be solved, I think it makes more sense to make it work
without breaking the default behaviour when there is no internet available.
El lunes, 11 de febrero de 2019, 18:31:33 (UTC+1), Eric Gourgoulhon
e