[sage-support] Re: Error | Sage Notebook on login

2009-04-22 Thread William Stein
On Wed, Apr 22, 2009 at 6:00 PM, Kevin Horton wrote: > > On 22 Apr 2009, at 20:39, William Stein wrote: > >> On Wed, Apr 22, 2009 at 5:15 PM, Kevin Horton >> wrote: >>> >>> I am trying to setup sage in a virtual machine.  I've got sage 3.4, >>> installed from source, running in a Ubuntu 8.10 ser

[sage-support] Re: passing string variable to pari()

2009-04-22 Thread William Stein
On Wed, Apr 22, 2009 at 8:14 PM, gellmu wrote: > > In SAGE I can do > pari('"ABC"').Vecsmall() > > But if I do > s="ABC" > I cannot find a way to accomplish > the same thing referring only to the > variable name 's'. > > Any clues?  Thanks. One of the following examples probably answers your que

[sage-support] passing string variable to pari()

2009-04-22 Thread gellmu
In SAGE I can do pari('"ABC"').Vecsmall() But if I do s="ABC" I cannot find a way to accomplish the same thing referring only to the variable name 's'. Any clues? Thanks. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com T

[sage-support] Re: derivative of a composition

2009-04-22 Thread Alex Raichev
Woops, that ain't right: 'write'. On Apr 23, 1:43 pm, Alex Raichev wrote: > Never mind.  I'll just right a short recursive function.  It's easy > enough. > > Alex > > On Apr 23, 11:10 am, Alex Raichev wrote: > > > Hi all: > > > Do any of you know how to get Sage to use the chain rule and expand

[sage-support] Re: derivative of a composition

2009-04-22 Thread Alex Raichev
Never mind. I'll just right a short recursive function. It's easy enough. Alex On Apr 23, 11:10 am, Alex Raichev wrote: > Hi all: > > Do any of you know how to get Sage to use the chain rule and expand > the derivative of a composition involving one or two callable symbolic > functions?  Here

[sage-support] Re: Error | Sage Notebook on login

2009-04-22 Thread Kevin Horton
On 22 Apr 2009, at 20:39, William Stein wrote: > On Wed, Apr 22, 2009 at 5:15 PM, Kevin Horton > wrote: >> >> I am trying to setup sage in a virtual machine. I've got sage 3.4, >> installed from source, running in a Ubuntu 8.10 server (minimal >> install, no X, no GUI apps) virtual machine ru

[sage-support] Re: snapshot saving

2009-04-22 Thread William Stein
On Wed, Apr 22, 2009 at 5:49 PM, Jason Grout wrote: > > William Stein wrote: >> On Wed, Apr 22, 2009 at 5:21 PM, kcrisman wrote: >>> >>> > There are a good many patches out there to address small aspect of > these problems.  In #4886 and #4887 Timothy Clemans has some good > ideas fo

[sage-support] Re: snapshot saving

2009-04-22 Thread Jason Grout
William Stein wrote: > On Wed, Apr 22, 2009 at 5:21 PM, kcrisman wrote: >> >> There are a good many patches out there to address small aspect of these problems. In #4886 and #4887 Timothy Clemans has some good ideas for renaming some variables and making default save periods

[sage-support] Re: Error | Sage Notebook on login

2009-04-22 Thread Dan Drake
On Wed, 22 Apr 2009 at 08:15PM -0400, Kevin Horton wrote: > I am trying to setup sage in a virtual machine. I've got sage 3.4, > installed from source, running in a Ubuntu 8.10 server (minimal > install, no X, no GUI apps) virtual machine running in VMWare Fusion, > on an Intel iMac running OS X 1

[sage-support] Re: Error | Sage Notebook on login

2009-04-22 Thread William Stein
On Wed, Apr 22, 2009 at 5:15 PM, Kevin Horton wrote: > > I am trying to setup sage in a virtual machine.  I've got sage 3.4, > installed from source, running in a Ubuntu 8.10 server (minimal > install, no X, no GUI apps) virtual machine running in VMWare Fusion, > on an Intel iMac running OS X 10

[sage-support] Re: snapshot saving

2009-04-22 Thread William Stein
On Wed, Apr 22, 2009 at 5:21 PM, kcrisman wrote: > > > >> > There are a good many patches out there to address small aspect of >> > these problems.  In #4886 and #4887 Timothy Clemans has some good >> > ideas for renaming some variables and making default save periods >> > configurable from the "

[sage-support] Re: snapshot saving

2009-04-22 Thread kcrisman
> > There are a good many patches out there to address small aspect of > > these problems.  In #4886 and #4887 Timothy Clemans has some good > > ideas for renaming some variables and making default save periods > > configurable from the "Settings" page of the notebook.  However, these > > patche

[sage-support] Error | Sage Notebook on login

2009-04-22 Thread Kevin Horton
I am trying to setup sage in a virtual machine. I've got sage 3.4, installed from source, running in a Ubuntu 8.10 server (minimal install, no X, no GUI apps) virtual machine running in VMWare Fusion, on an Intel iMac running OS X 10.5.6. The Ubuntu VM seems to be running nicely, and sag

[sage-support] derivative of a composition

2009-04-22 Thread Alex Raichev
Hi all: Do any of you know how to get Sage to use the chain rule and expand the derivative of a composition involving one or two callable symbolic functions? Here's an example with one callable symbolic function. -- | Sage Vers

[sage-support] Re: snapshot saving

2009-04-22 Thread William Stein
On Wed, Apr 22, 2009 at 1:40 PM, Rob Beezer wrote: > > Here's my $0.02 worth on worksheet management as part of the notebook > interface. > > For most new users the notebook is the face of Sage initially.  And it > is very impressive.  But I worry about users seeing the (very > frustrating) slowd

[sage-support] Re: snapshot saving

2009-04-22 Thread Rob Beezer
Here's my $0.02 worth on worksheet management as part of the notebook interface. For most new users the notebook is the face of Sage initially. And it is very impressive. But I worry about users seeing the (very frustrating) slowdowns that Jason and I experienced after heavy use (tens or hundre

[sage-support] Re: snapshot saving

2009-04-22 Thread Rob Beezer
I think auto_save_interval could refer to worksheets, while save_interval might refer to nb.sobj. This is part of the problem here - there are variables, keywords and page headings (via "Settings" in the notebook) that are vague or misleading, and even my attempt to add a bit of documentation to

[sage-support] Re: scipy compatibility

2009-04-22 Thread Robert Bradshaw
On Apr 22, 2009, at 11:45 AM, Ondrej Certik wrote: > On Wed, Apr 22, 2009 at 7:55 AM, William Stein > wrote: >> >> On Wed, Apr 22, 2009 at 7:19 AM, Flavio Coelho >> wrote: >>> >>> Hi >>> >>> anyone know why this simple python code fails in sage? >>> >>> from scipy import stats >>> stats.un

[sage-support] Re: scipy compatibility

2009-04-22 Thread Ondrej Certik
On Wed, Apr 22, 2009 at 7:55 AM, William Stein wrote: > > On Wed, Apr 22, 2009 at 7:19 AM, Flavio Coelho wrote: >> >> Hi >> >> anyone know why this simple  python code fails in sage? >> >> from scipy import stats >> stats.uniform(0,15).ppf([0.5,0.7]) >> >> This has been a show stopper for me as

[sage-support] Re: Sage 3.2.3 notebook crashes on running standard sws file

2009-04-22 Thread mabshoff
On Apr 22, 10:31 am, SG wrote: > Hi, Hi, > I am a beginner trying to use Sage. I am running Sage 3.2.3 on a Win > XP machine. I use the notebook instead of the command prompt. I found > that if I run some of the demo programs like "a 3d plot", it crashed > my IE window and I get a log file, b

[sage-support] Re: Problem in Octave console

2009-04-22 Thread mabshoff
On Apr 22, 10:58 am, Marshall Hampton wrote: > This is now http://trac.sagemath.org/sage_trac/ticket/ > 5858">ticket 5858. > > Note that since I don't use Octave, I don't plan on working on this, I > just created the ticket :) Thanks, I think someone ought to edit the tree and use sage-na

[sage-support] Re: Problem in Octave console

2009-04-22 Thread Marshall Hampton
This is now http://trac.sagemath.org/sage_trac/ticket/ 5858">ticket 5858. Note that since I don't use Octave, I don't plan on working on this, I just created the ticket :) -M. Hampton On Apr 22, 2:53 am, mabshoff wrote: > On Apr 22, 12:46 am, Ajay Rawat wrote: > > > Well i tried the command >

[sage-support] Re: shift-return, shift-enter, click-mouse-on-evaluate. on evaluating a cell in a notebook

2009-04-22 Thread Nasser Abbasi
On Apr 21, 3:13 am, Minh Nguyen wrote: > > My laptop has only ENTER. To do what you're suggesting, I have to hold > down the key "FN" and press ENTER. > Since you said you are using Mathematica, and on your laptop there is no ENTER key, only the RETURN key, and so you had to suffer and hit SHI

[sage-support] Sage 3.2.3 notebook crashes on running standard sws file

2009-04-22 Thread SG
Hi, I am a beginner trying to use Sage. I am running Sage 3.2.3 on a Win XP machine. I use the notebook instead of the command prompt. I found that if I run some of the demo programs like "a 3d plot", it crashed my IE window and I get a log file, but I do not understand what that means. It used to

[sage-support] Re: snapshot saving

2009-04-22 Thread kcrisman
Followup: > The original patch athttp://trac.sagemath.org/sage_trac/ticket/5371 > has some comments in it about extending the default save times if you > wnt to take immediate action.  Some of the names of these autosave > variables are mildly misleading, though this is corrected in some of > the

[sage-support] Re: snapshot saving

2009-04-22 Thread kcrisman
Dear Rob, > > > 1.  You can delete all your old snapshots to reclaim disk space (or > > relieve quota limits in a shared environment).  I used some > > incantation with find, xargs, and rm (carefully) which cleared them > > out for every worksheet all at once.  Like Jason I had a few gigabytes >

[sage-support] Re: snapshot saving

2009-04-22 Thread William Stein
On Wed, Apr 22, 2009 at 9:15 AM, Rob Beezer wrote: > > kcrisman, > > You've discovered the tangle of tickets on this I alluded to > above.  ;-) > > 1.  You can delete all your old snapshots to reclaim disk space (or > relieve quota limits in a shared environment).  I used some > incantation with

[sage-support] Re: snapshot saving

2009-04-22 Thread Rob Beezer
kcrisman, You've discovered the tangle of tickets on this I alluded to above. ;-) 1. You can delete all your old snapshots to reclaim disk space (or relieve quota limits in a shared environment). I used some incantation with find, xargs, and rm (carefully) which cleared them out for every wor

[sage-support] snapshot saving

2009-04-22 Thread kcrisman
> > > So did deleting do the trick?  I have been unable to find out what is > > causing this for me (and there have been a bizarre variety, though not > > huge number, of posts on this in the last month i.e. not all the same > > OS or whatever). > > No, it didn't. I deleted my .sage/sage_notebook

[sage-support] Re: scipy compatibility

2009-04-22 Thread William Stein
On Wed, Apr 22, 2009 at 7:19 AM, Flavio Coelho wrote: > > Hi > > anyone know why this simple  python code fails in sage? > > from scipy import stats > stats.uniform(0,15).ppf([0.5,0.7]) > > This has been a show stopper for me as need to do statistics... This questions was answered incorrectly (a

[sage-support] Re: Why plot() won't plot this function?

2009-04-22 Thread Jason Grout
Stan Schymanski wrote: > Hi Jason, > > Thanks a lot for that! This brings me back to the original problem. I > expected plot and find_root to replace the variable with a float and > call the function, but it does not seem to do that. For example, it > would be nice if the following worked: >

[sage-support] Re: Why plot() won't plot this function?

2009-04-22 Thread Stan Schymanski
Hi Jason, Thanks a lot for that! This brings me back to the original problem. I expected plot and find_root to replace the variable with a float and call the function, but it does not seem to do that. For example, it would be nice if the following worked: var('a b c d x dummy') F = fast_float

[sage-support] scipy compatibility

2009-04-22 Thread Flavio Coelho
Hi anyone know why this simple python code fails in sage? from scipy import stats stats.uniform(0,15).ppf([0.5,0.7]) This has been a show stopper for me as need to do statistics... thanks, Flávio --~--~-~--~~~---~--~~ To post to this group, send email to sage-

[sage-support] Re: old snapshots take a *lot* of space

2009-04-22 Thread Jason Grout
kcrisman wrote: >> I was just troubleshooting why my sage notebook is slowing way down, >> especially in saving and stopping. Michael Abshoff suggested looking at >> the snapshots directory. I discovered that I had over 7 gigs in my sage > > So did deleting do the trick? I have been unable to

[sage-support] Re: old snapshots take a *lot* of space

2009-04-22 Thread kcrisman
> I was just troubleshooting why my sage notebook is slowing way down, > especially in saving and stopping.  Michael Abshoff suggested looking at > the snapshots directory.  I discovered that I had over 7 gigs in my sage So did deleting do the trick? I have been unable to find out what is causin

[sage-support] Re: unevaluated input (det, int, ....)

2009-04-22 Thread ma...@mendelu.cz
On Apr 21, 8:34 pm, kcrisman wrote: > On Apr 19, 12:42 pm, "ma...@mendelu.cz" wrote: > > > Hell, I think that my question is related > > tohttp://groups.google.cz/group/sage-support/browse_thread/thread/7cb33... > > > How can I write a function which takes determinant of matrix A below > > and

[sage-support] Re: Why plot() won't plot this function?

2009-04-22 Thread Jason Grout
Stan Schymanski wrote: > Hi Jason, > > That's awesome, thanks a lot! I had a bit of trouble understanding the > documentation of partial, but your example helped tremendously. This > should definitely be included in any upcoming documentation on > fast_float. As far as I understand, partial(F,

[sage-support] Re: Why plot() won't plot this function?

2009-04-22 Thread Stan Schymanski
Hi Jason, That's awesome, thanks a lot! I had a bit of trouble understanding the documentation of partial, but your example helped tremendously. This should definitely be included in any upcoming documentation on fast_float. As far as I understand, partial(F,1) just replaces the first variabl

[sage-support] Re: Problem in Octave console

2009-04-22 Thread mabshoff
On Apr 22, 12:46 am, Ajay Rawat wrote: > Well i tried the command > sage:octave_version() > sage:3.0.0 > but when i tried octave_console > it replied... > > octave: > /usr/local/sage-3.2.3-Ubuntu8.04LTS-64bit-Intel-x86_64-Linux/local/lib/l\ > ibz.so.1: no version information ava

[sage-support] Problem in Octave console

2009-04-22 Thread Ajay Rawat
Well i tried the command sage:octave_version() sage:3.0.0 but when i tried octave_console it replied... octave: /usr/local/sage-3.2.3-Ubuntu8.04LTS-64bit-Intel-x86_64-Linux/local/lib/l\ ibz.so.1: no version information available (required by /usr/lib/octave-3.0.0/liboctinterp.so) G