[sage-support] notebook() question

2009-07-02 Thread Aleksey Gogolev
Hello! Sage was installed on the server and in order to use it I need to start putty, log on to server, start sage and start notebook. After that I can use http to access Sage. But if I close putty, server process will stop. Is there a way to run notebook in the background mode? Thanks in advanc

[sage-support] Re: notebook() question

2009-07-02 Thread William Stein
On Thu, Jul 2, 2009 at 12:38 PM, Aleksey Gogolev wrote: > > Hello! > > Sage was installed on the server and in order to use it I need to > start putty, log on to server, start sage and start notebook. After > that I can use http to access Sage. > But if I close putty, server process will stop. Is

[sage-support] Re: notebook() question

2009-07-02 Thread Aleksey Gogolev
Thanks! 2009/7/2 William Stein : > > On Thu, Jul 2, 2009 at 12:38 PM, Aleksey > Gogolev wrote: >> >> Hello! >> >> Sage was installed on the server and in order to use it I need to >> start putty, log on to server, start sage and start notebook. After >> that I can use http to access Sage. >> But

[sage-support] Re: How can calculate the time of execution of a command in sage

2009-07-02 Thread pang
Watch also for "cputime" and "walltime", which are very general and easy to use. Sometimes "time" and "timeit" are not convenient to use if you have more than one statement. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com T

[sage-support] Re: numpy.random

2009-07-02 Thread giovanni.marche...@ds.unifi.it
Thank you so much Ahmed! Your answer was really clear and the solution (for this and other cases) works perfectly. It appears that is crucial to understand how conversions work in Sage. -- Giovanni --~--~-~--~~~---~--~~ To post to this group, send email to sage

[sage-support] when "make test", there are errors in the interfaces/r.py

2009-07-02 Thread wxuyec
my OS is ubuntu9.04 32bit, the version of sage is 4.0.2, and I got the binaries tarbal. the following is the message of the errors: sage -t "devel/sage/sage/interfaces/r.py" ** File "/home/mmycxu/softdownload/sage-4.0.2-linux-Ub

[sage-support] Re: How can calculate the time of execution of a command in sage

2009-07-02 Thread William Stein
On Thu, Jul 2, 2009 at 1:31 PM, pang wrote: > > Watch also for "cputime"  and  "walltime", which are very general and > easy to use. Sometimes "time" and "timeit" are not convenient to use > if you have more than one statement. One nice trick: If you're in the notebook and you put %time as the

[sage-support] jsmath

2009-07-02 Thread Mikie
Is it possible to go have pretty print using from sage.misc.latex import jsmath,?? I am looking at http://www.sagemath.org/doc/reference/sage/misc/latex.html I am using a python script with a html page inside. Thanx --~--~-~--~~~---~--~~ To post to this group,

[sage-support] Automatically saving plots

2009-07-02 Thread Ethan Van Andel
Is there something I can do in sage so that when I show a plot (create a png) it will automatically save it to a folder on my computer? I can do it manually, but automatically would be nice. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@go

[sage-support] Re: Error opening notebook with VMPlayer, come back to login prompt

2009-07-02 Thread AG
Here is some info about my computer which got deleted in original message: I had previously installed Sage and toyed wit Sage on my desktop. Today, I installed it on my notebook computer. The computer has a Pentium processor with 1.5GB RAM, 120 GB hard disk, running Windows XP Professional SP2. It

[sage-support] Re: Error opening notebook with VMPlayer, come back to login prompt

2009-07-02 Thread William Stein
On Thu, Jul 2, 2009 at 11:12 PM, AG wrote: > Hi, > > I cannot get Sage notebook to run. When I load Sage, VMPlayer starts and I > get to login screen. The problem I encounter depends on which option I > choose here: > > If I type 'notebook', I am asked to open Firefox to a certain IP address. > Bu

[sage-support] Re: Error opening notebook with VMPlayer, come back to login prompt

2009-07-02 Thread AG
Thanks. I tried solution 2. It took about 25 minutes to complete. Unfortunately, I am still getting the same errors. I did shutdown VMPlayer and restart it. AG On Jul 2, 4:20 pm, William Stein wrote: > On Thu, Jul 2, 2009 at 11:12 PM, AG wrote: > > Hi, > > > I cannot get Sage notebook to run. W

[sage-support] Re: Error opening notebook with VMPlayer, come back to login prompt

2009-07-02 Thread William Stein
r On Thu, Jul 2, 2009 at 11:48 PM, AG wrote: > > Thanks. I tried solution 2. It took about 25 minutes to complete. > Unfortunately, I am still getting the same errors. That's *extremely* surprising. It makes absolutely no sense to me. I wonder if there was some error. Could you try *just* sa

[sage-support] Re: Error opening notebook with VMPlayer, come back to login prompt

2009-07-02 Thread AG
Thanks for your very quick responses. It seems that the package is not being updated. I couldn't find a way of attaching file to the reply so I am providing a URL to a screenshot: http://picasaweb.google.com/lh/photo/yqYIgeyDKpC9Pmc_F5tQqw?authkey=Gv1sRgCNWg373Fxpb5Ag&feat=directlink Could the p

[sage-support] Re: Error opening notebook with VMPlayer, come back to login prompt

2009-07-02 Thread William Stein
On Fri, Jul 3, 2009 at 2:00 AM, AG wrote: > > Thanks for your very quick responses. It seems that the package is not > being updated. I couldn't find a way of attaching file to the reply so > I am providing a URL to a screenshot: > http://picasaweb.google.com/lh/photo/yqYIgeyDKpC9Pmc_F5tQqw?authke

[sage-support] refereeing spkg

2009-07-02 Thread john_perry_usm
Hi, I'm trying to referee the spkg for bug 6362 here, http://trac.sagemath.org/sage_trac/ticket/6362 I understand that I'm supposed to use hg to check for changes, but how precisely to go about this? regards john perry --~--~-~--~~~---~--~~ To post to this g

[sage-support] Re: jsmath

2009-07-02 Thread John H Palmieri
On Jul 2, 9:14 am, Mikie wrote: > Is it possible to go have pretty print  using > from sage.misc.latex import jsmath,?? In Sage's notebook, 'pretty_print' (which is what gets used when you click on the "Typeset" checkbox) uses jsMath already. > I am looking at > > http://www.sagemath.org/doc/r

[sage-support] Re: refereeing spkg

2009-07-02 Thread John H Palmieri
On Jul 2, 6:57 pm, john_perry_usm wrote: > Hi, > > I'm trying to referee the spkg for bug 6362 here, > >    http://trac.sagemath.org/sage_trac/ticket/6362 > > I understand that I'm supposed to use hg to check for changes, but how > precisely to go about this? > > regards > john perry If I unders

[sage-support] Re: Automatically saving plots

2009-07-02 Thread Marshall Hampton
If you are running a local copy of sage, in a sense it is already saving it in a folder, inside the cells folder of that worksheet (i.e. usually .sage/sage_notebook/worksheets/user_name/worksheet#/cells). I'm sure you could hack it so that it also copies to somewhere else, but do you really want t

[sage-support] Re: refereeing spkg

2009-07-02 Thread john_perry_usm
Thanks! That's what I was looking for. regards john perry On Jul 2, 9:25 pm, John H Palmieri wrote: > On Jul 2, 6:57 pm, john_perry_usm wrote: > > > Hi, > > > I'm trying to referee the spkg for bug 6362 here, > > >    http://trac.sagemath.org/sage_trac/ticket/6362 > > > I understand that I'm s

[sage-support] Problem of using firefox to view notebook

2009-07-02 Thread pong
I have upgraded to SAGE 4.0.2 and try using Firefox to view the notebook started by notebook(secure=True) When I pointed my browser to https://localhost:8000 It compliant: localhost:8000 uses an invalid security certificate. The certificate is not trusted because it is self signed (Error code:

[sage-support] Re: Problem of using firefox to view notebook

2009-07-02 Thread Pong
Oops. I have just figured out how to manually add an exception. I'm using Firefox on a Mac. 1) Click on "Preferences" (under the Firefox tab) 2) Select "Advanced"--> "Encryption"--> "View Certificates"--> "Add Exception" 3) Type the address that you want e.g. "localhost:8000" after https:// 4) Cl

[sage-support] Re: Error opening notebook with VMPlayer, come back to login prompt

2009-07-02 Thread AG
It worked. Thanks! On Jul 2, 7:07 pm, William Stein wrote: > On Fri, Jul 3, 2009 at 2:00 AM, AG wrote: > > > Thanks for your very quick responses. It seems that the package is not > > being updated. I couldn't find a way of attaching file to the reply so > > I am providing a URL to a screenshot: