On Thursday, March 21, 2019 at 8:56:58 AM UTC-7, Andrey Novoseltsev wrote:
>
> "languages" for SageMathCell are very different from kernels for Jupyter. 
> SageMathCell keeps a bunch of preforked kernels (all are the same), so that 
> new computations don't have to wait for startup. "language" just turns 
> "code" into something like "print octave.eval(code)", which is then sent to 
> the same kernels as Sage. Supporting Python2 and Python3 kernels 
> simultaneously would require substantial adjustments to how kernels and 
> languages are managed.
>

Ouch, I see. We'd need at least two pools of kernels, rather than one in 
that case. A big advantage would be that it allows us to switch default and 
still have the other method available (if people can find the language 
switch). For that reason, I would think it might lead to a slightly 
smoother transition for cases where people have developed pages with cells 
embedded (which is what I usually do if I use sagecell in a class demo): 
language switching can be done on the page itself (provided one hasn't 
stripped away the language selector, which I realize I have usually done 
:-(). Changing the server definitely requires editing the HTML page, so 
that is never going to happen in the class room. The one thing that might 
save you there is the "share" button that comes with the (at this moment 
probably "error") output, where repointing the URL might be an option.

I think it's worth considering if investing in having a py2 pool as well as 
a py3 pool of kernels available will help transition sufficiently to 
justify the cost. For me personally: I'm now on alert that I should always 
check sagecell demos before taking them to class. Whatever we do, we should 
make sure that there's a stable way of doing something over any 
semester-long period (and make it easy to find how to do that!). Tripping 
up people between their lecture prep and their lecture performance is just 
evil.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to