[sage-support] Re: calling a C program in sage with terminal output

2008-10-16 Thread David Philp
On 17/10/2008, at 10:51 AM, David Joyner wrote: > > Hi: > > I want to call a C program in Sage which is included with Sage > (wtdist). > What is the easiest way to do this? The line I'd like to execute > looks like > > wtdist filename::code > output.txt output_txt = os.popen('wtdist filenam

[sage-support] Re: Sage editor

2008-09-22 Thread David Philp
On 23/09/2008, at 11:19 AM, Jason Grout wrote: > > David Philp wrote: >> >> On 23/09/2008, at 11:00 AM, Bob Wonderly wrote: >> >>> I run Sage on my Mac rather than on the web. I often bring up the >>> previous command and edit it then rerun it. The ed

[sage-support] Re: Sage editor

2008-09-22 Thread David Philp
On 23/09/2008, at 11:00 AM, Bob Wonderly wrote: > > I run Sage on my Mac rather than on the web. I often bring up the > previous command and edit it then rerun it. The editor is very tedious > in that the only way I have figured out how to move the cursor > around in > the text is one characte

[sage-support] Re: problem with python within python

2008-09-08 Thread David Philp
On 09/09/2008, at 2:25 AM, Marshall Hampton wrote: > I am trying to use the Python Imaging Library which I can only manage > to install in my OS X framework verison of python. So as a kludge I > am trying to run that system python from within Sage's python. But > when I do: > > import os > os.

[sage-support] Re: Heavy crashes of SAGE/VM Player on WinXP

2008-09-07 Thread David Philp
> The VM Player crashed heavily on my WinXP machine after using SAGE In my experience VMWare is a pretty stable product as is Linux. I would be very surprised if Sage crashed either of them except indirectly, i.e. it exposed an unrelated hardware or software issue with your machine. You c

[sage-support] Re: if-statement with "infinity" or "NaN"

2008-09-04 Thread David Philp
On 04/09/2008, at 8:22 PM, agi wrote: > > Hi, > I want to check if a number is set to infinity or NaN. So I tried this > if-statement: > > if x!=infinity: >print x > > But this doesn't work when x=a/b with a very small b, so that x > becomes infinity. > (I'm using SAGE Version 3.0.1) If x =

[sage-support] Re: Inert Integrals and Derivatives?

2008-09-01 Thread David Philp
On 02/09/2008, at 6:22, Robert Dodier <[EMAIL PROTECTED]> wrote: > * sets and matrices not distinguished from lists This is a serious defect in mathematica. It has led to me making mistakes. Most of your other objections were matters of taste. (I agree with most of them but they are mostly

[sage-support] Re: Inert Integrals and Derivatives?

2008-08-31 Thread David Philp
On 31/08/2008, at 9:46 AM, Robert Dodier wrote: > > Robert Bradshaw wrote: >> On Fri, 29 Aug 2008, Jason Grout wrote: >>> Jason Merrill wrote: > The Mathematica syntax is Hold[Integral[x,{x,0,1}]]. This remains unevaluated until it is wrapped with an Evaluate[]. The nice thing ab

[sage-support] Re: compilation problem with sage 3.0.3 on mac

2008-07-08 Thread David Philp
On 09/07/2008, at 11:21 AM, William Stein wrote: > > On Tue, Jul 8, 2008 at 6:17 PM, David Philp <[EMAIL PROTECTED]> > wrote: >> >> >> Hi >> >> I suppose this is more a bug report than a request for help, but if >> you have any suggestions p

[sage-support] compilation problem with sage 3.0.3 on mac

2008-07-08 Thread David Philp
Hi I suppose this is more a bug report than a request for help, but if you have any suggestions please let me know. I can't compile sage 3.0.3 on mac. System is OS X 10.5.3; 64 bit Intel. "fink" is installed, and therefore non-system versions of some programs are in the path (e.g. possibl