Dear Erik,

Le jeudi 16 février 2017 11:09:00 UTC+1, Erik Bray a écrit :
>
> On Thu, Feb 16, 2017 at 8:26 AM, Emmanuel Charpentier 
> <emanuel.c...@gmail.com <javascript:>> wrote: 
> > Dear list, 
> > 
> > This is a followup on the threads dedicated to the alternatives existing 
> to 
> > use Sage math on Windows. More specifically, I did an informal 
> comparison of 
> > Erik Bray's Cygwin-based installer and using Windows 10 64 bits Windows 
> > Subsystem for Linux. 
> > 
> > I recently acquired (for other, unrelated, purposes) a small (< 11") and 
> > light (<800g) notebook, bound to become (literally) a pocket machine. 
> This 
> > machine has an Atom z5 processor (1,4 MHz), 4 Gb memory and a 128 Gb 
> SSD. It 
> > starts with Win10 64 bit ("home edition"). 
> > 
> > It is still too new to be well-supported by common "live" distributions 
> : 
> > 
> > Ubuntu boots its initial screen (rotated pi/2), allowing to start the 
> "live" 
> > system, but never displays anything else. 
> > Debian (which needs to be installed on an UEFI-enabled USB key, see 
> there) 
> > starts with displaying its initial screen rotated pi/2, goes a long way 
> in 
> > its booting process, starts its graphical mode (still rotated pi/2), but 
> > ends up crashing gnome. 
> > 
> > So I decided to give Win10 a chance. 
> > 
> > Cygwin 
> > 
> > Erik Bray's installer for Sage 7.4 works flawlessly, and results in a 
> > usable, if slow, Sage notebook. However, I never managed to get a prompt 
> on 
> > (native port of)emacs' sage_shell_mode. 
> > Furthermore, as far as I understand, installing an optional package 
> > requiring compilation is not obvious... 
>
> Thanks for the testing.  I don't have too much to say about WSL except 
> what I've said before--which is that I think it (will be) great for 
> doing development on Windows, but it is *not* a solution for software 
> distribution to users. 
>

That's the case *now* (esopecially if you consider rrthe need foir an 
unreleased version of Windows to open gates in the walls of the "walled 
garden" you described in an earlier thread.

But maybe Microsoft will stay serious this time and offer this as an 
end-user useable tool. Even maybe with a wider choice of Linux 
distributions (it *is* at least possible 
<https://github.com/RoliSoft/WSL-Distribution-Switcher>).

>
> You mentioned a "slow Sage notebook".  Was this the Jupyter notebook 
> that it comes with a shortcut to?


Yes.
 

> Or the sagenb?  If the latter, I 
> know it works but I don't know if it's slow or not.  If it was the 
> former, I've noticed that it is slow on the first couple commands 
> because the Sage Kernel takes a long time to start up (I wish there 
> were a clearer indication that it is still loading), but after that it 
> should be snappy. 
>

"Snappy is a bit hyperbolic (consider the machine I was running it on...), 
but its livable...

>
> Did you also test plotting?


In the Jupyter notebook. It worked. I can't recall having tested it in a 
terminal windows nor in a mintty console, but I would have probably noted 
if it didn't work...
 

>  It should work, but one or two people 
> have reported it not working (it should work as long as your Windows 
> has a default program registered for viewing PNGs or whatever file 
> type the plots are saved as). 
>

I don't know if a "stock" Windows machine even has such a program : .png is 
quite foreign in the Windows world, where the natives are expected to speak 
.bpm (yuck !) .wmf (yuckier :-) or .emf (yuckiest...)

>
> Finally, I don't know anything about emacs except how to get out of 
> it.


:-) It's a start. Don't despair... More seriously, it's the 
IDE-posing-as-an-editor that sold me (a couple decades back) to Unix. It's 
a marvelous way to work simultaneously on computations and on their 
description in plain globish (=what passes for English in the international 
scientific community) or French (it still exists, you know...).

 If you cold tell me more about this "sage_shell_mode"


Better ask Sho Takemori <https://github.com/sagemath/sage-shell-mode>, the 
author...
 

> maybe I can 
> do something about it, though I suspect it's not really something in 
> scope of the Windows installer. 
>

I think that the problem is bound to the prompts : it happens exactly the 
same way in Sagemath installer + Windows port of Emacs as it happens with 
WSL + Ubuntu  + my self-compiled Sage + emacs25.

Probably on the emacs-lisp side of the things... I'll open an issue on this.

-- 
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