On Dec 24, 2016 12:50, "Dima Pasechnik" <dimp...@gmail.com> wrote:



On Saturday, December 24, 2016 at 11:44:26 AM UTC, David Joyner wrote:

> On Sat, Dec 24, 2016 at 6:07 AM, Dima Pasechnik <dim...@gmail.com> wrote:
> >
> >
> > On Saturday, December 24, 2016 at 10:28:57 AM UTC, Erik Bray wrote:
> >>
> >> On Fri, Dec 23, 2016 at 12:11 AM, David Joyner <wdjo...@gmail.com>
> wrote:
> >> > Erik Bray:
> >> >
> >> > Many thanks for this. Great job.
> >> >
> >> > I tested latest version on a windows 7 machine in a computer lab at
> >> > work. The sage terminal worked fine. The sage notebook didn't work
> >> > well in IE (the default browser). In chrome, it worked but was a
> >> > little slow. For example, "2+3" took a second or so. Do you know why?
> >> > I noticed a message "timeout waiting for kernel_info" in the console.
> >>
> >> Great, thanks for testing.  That's good the CLI worked fine.
> >> Mysterious about the notebook though--you're the first I think to
> >> report anything like that.  What do you mean by it "didn't work well
> >> in IE"?
> >
>
> I had to restart it several times. The kernel kept dying. It was very
> tricky to get it to work, and well beyond most students.
>
> To switch to chrome: I opened chrome, went to settings, then selected
> "make chrome the default browser", closed the IE version and
> restarted. When I double-clicked on the sage notebook desktop icon,
> sage opened in chrome. It worked fine but was a bit slower than the
> CLI.
>
> >
> > sagenb never worked well with IE. IMHO student labs should not use
> sagenb,
> > they should use jupyter notebooks instead.
> >
>
> When you start the windows notebook, you get a"jupyter" option and a
> "SageMath 7.4" option in the drop-down menu in the upper RH corner of
> the window. I selected SageMath. Is that sagenb? I assumed it was a
> jupyter notebook running sage since it had the "In[1]:" cursor.
>

no idea about this, but what do you get if you run
in console

sage --notebook='jupyter'


To be clear, the installer I made installs a desktop/start menu shortcut
for running the notebook server, and is basically just a shortcut for
exactly the above. So David is running the Jupyter notebook, not sagenb.

The Jupyter notebook comes with the Sage Jupyter kernel which is mostly
just the normal IPython kernel plus the usual Sage pre-parsing stuff and a
few other bells and whistles.

No idea why it would be abnormally slow, except again for the Windows
Firewall idea. I need to install a Windows 7 VM so I can test more on
there, as I've only tested on Windows 10. But as far as Cygwin goes I don't
think there's an enormous difference between running on Windows 7 or 10.


> Thanks again.
>
> >
> >>
> >>
> >> Sometimes the first command takes a little longer than most as there's
> >> some startup overhead, but a second is on the long side.  After that
> >> it should not be so slow.
> >>
> >> At the moment the only reason I can think of is something odd in the
> >> Windows firewall settings.
> >
> >
> > with lab machines, it's often the case that some software is deployed on
> > network shared filesystems, or otherwise make use of network shares;
> > and this can slow things down a lot.
> >
>
> This sage binary was installed on that machine, not a network server.
> No doubt, it could have weird firewall settings though.
>
> This is on Windows 7. I don't have access to a machine with Windows 10
> yet.
>
> Thanks!
>
> >>
> >>
> >> > On Thu, Dec 15, 2016 at 5:20 AM, Erik Bray <erik....@gmail.com>
> wrote:
> >> >> On Wed, Dec 14, 2016 at 9:10 PM, Peter Luschny <peter....@gmail.com>
>
> >> >> wrote:
> >> >>>> I replaced the existing binary with a new one at
> >> >>>
> >> >>> BRAVO!
> >> >>> All works fine.
> >> >>
> >> >> Great!
> >> >>
> >> >>> (only plot() gives no output)
> >> >>
> >> >> That's strange... I thought I fixed that, and it works for me.
> >> >>
> >> >> All it's doing to determine the image viewer is passing the file to
> >> >> cygstart (cygstart is a program that comes with Cygwin that just
> uses
> >> >> the Windows API to find the default program file the given file
> >> >> type--in this case PNG I assume?)
> >> >>
> >> >> Maybe if you start up the "SageMath Shell" and manually run
> `cygstart
> >> >> <path-to-some-png>` we can see what happens.
> >> >>
> >> >> Also, it was pointed out to me by someone else that the "SageMath
> >> >> Console" shortcut link in the latest build is broken (it just has a
> >> >> typo).
> >> >>
> >> >> --
> >> >> 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+...@googlegroups.com.
> >> >> To post to this group, send email to sage-...@googlegroups.com.
> >> >> Visit this group at https://groups.google.com/group/sage-devel.
> >> >> For more options, visit https://groups.google.com/d/optout.
> >> >
> >> > --
> >> > 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+...@googlegroups.com.
> >> > To post to this group, send email to sage-...@googlegroups.com.
> >> > Visit this group at https://groups.google.com/group/sage-devel.
> >> > For more options, visit https://groups.google.com/d/optout.
> >
> > --
> > 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+...@googlegroups.com.
> > To post to this group, send email to sage-...@googlegroups.com.
> > Visit this group at https://groups.google.com/group/sage-devel.
> > For more options, visit https://groups.google.com/d/optout.
>
-- 
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.

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