[sage-devel] Re: ECL 9.8.4 fails to build in 64-bit mode, OS X 10.5.8, Sage 4.1.2.alpha0

2009-09-06 Thread David Kirkby
2009/9/6 John H Palmieri : > > > > On Sep 6, 12:58 pm, John H Palmieri wrote: >> On Sep 5, 11:18 pm, Minh Nguyen wrote: >> >> > Hi David, >> >> > On Sat, Sep 5, 2009 at 9:58 PM, Dr. David Kirkby >> > wrote: >> >> > >> >> > An updated spkg can be found at >> >> >http://sage.math.washington.edu/

[sage-devel] Re: ECL 9.8.4 fails to build in 64-bit mode, OS X 10.5.8, Sage 4.1.2.alpha0

2009-09-06 Thread Minh Nguyen
On Mon, Sep 7, 2009 at 8:48 AM, John H Palmieri wrote: > Well, now it seems to have built on 64-bit as well. It doesn't work > if I first execute > > export MAKE='make -j2' > > but it works if MAKE='make'. I got the same error even if I set MAKE='make' and then issue make again. Compilation

[sage-devel] Re: ECL + OSX + 64bits

2009-09-06 Thread Minh Nguyen
On Mon, Sep 7, 2009 at 8:12 AM, Dr. David Kirkby wrote: > I created a new .spkg file: > > http://sage.math.washington.edu/home/kirkby/Solaris-fixes/ecl-9.8.4.p0-4th-attempt/ecl-9.8.4.p0.spkg > > which sets the ABI, but I get an odd error. See below. > if (echo c gc gmp | grep gmp); then \ >

[sage-devel] Re: Prototype library interface with Maxima/ECL

2009-09-06 Thread William Stein
On Sun, Sep 6, 2009 at 10:24 PM, Nils Bruin wrote: > > On Sep 6, 2:28 am, Juanjo > wrote: >> On Sep 5, 9:22 pm, Nils Bruin wrote: >> >> > couldn't convince the C compiler that two mpz_t's were really of the >> > same type) >> >> mpz_t's are not designed to be copied around. > > Well, mpz_t is a

[sage-devel] Re: Prototype library interface with Maxima/ECL

2009-09-06 Thread Nils Bruin
On Sep 6, 2:28 am, Juanjo wrote: > On Sep 5, 9:22 pm, Nils Bruin wrote: > > > couldn't convince the C compiler that two mpz_t's were really of the > > same type) > > mpz_t's are not designed to be copied around. Well, mpz_t is a pointer to a certain struct. In sage's Integer wrapper class, one

[sage-devel] Re: SAGE notebook interaction

2009-09-06 Thread Ondrej Certik
Hi Matthew! On Sun, Sep 6, 2009 at 10:10 PM, Matthew Turk wrote: > > Hi there, > > I was wondering if anyone had done much with notebook interaction > widgets in FEMhub.  They import okay: > > from sage.server.notebook.interact import * > > But (for instance) instantiation of a slider with more t

[sage-devel] singular-3-1-0-4-20090818.spkg install failure on Sage 4.1.2.alpha0 + Solaris on T2

2009-09-06 Thread Minh Nguyen
Hi folks, In Sage 4.1.2.alpha0, the singular-3-1-0-4-20090818.spkg package consistently fails to install itself on SPARC Solaris on the machine t2.math. The relevant error message snippet is: ** for file in *.h; do \ ../.././install-sh -c $file /scratch/mvngu/sage-4.1.2.alpha0/local/include/

[sage-devel] Re: About pexpect version in sage

2009-09-06 Thread Paulo César Pereira de Andrade
2009/9/6 William Stein : > > 2009/9/5 Paulo César Pereira de Andrade > : >> >> 2009/9/5 William Stein : >>> >>> 2009/9/5 Paulo César Pereira de Andrade >>> :  Hi,  I am not experienced with pexepect, but I played a bit trying to use a newer version in sage.  But since

[sage-devel] Re: ECL 9.8.4 fails to build in 64-bit mode, OS X 10.5.8, Sage 4.1.2.alpha0

2009-09-06 Thread John H Palmieri
On Sep 6, 12:58 pm, John H Palmieri wrote: > On Sep 5, 11:18 pm, Minh Nguyen wrote: > > > Hi David, > > > On Sat, Sep 5, 2009 at 9:58 PM, Dr. David Kirkby > > wrote: > > > > > > An updated spkg can be found at > > >http://sage.math.washington.edu/home/mvngu/release/spkg/standard/ecl-... > >

[sage-devel] Re: log(x) versus ln(x)

2009-09-06 Thread TimDaly
> Unrelated question: What's up with Axiom development these days?    Is > there any sort of relatively recent status report?   I'm just > generally curious. This isn't an Axiom forum so I'll skip the details and just give pointers. Axiom is released every 2 months, the next one is the end of Se

[sage-devel] Re: log(x) versus ln(x)

2009-09-06 Thread Tim Lahey
On Sep 6, 2009, at 6:10 PM, William Stein wrote: > If we also instantiate the class but with name returning 'ln', that > might work. > >> >> In this new system, what will >> >> sage: integrate(1/x, x) >> >> return? > > I would have it return log(x).We do have to make some choices. > How ab

[sage-devel] Re: ECL + OSX + 64bits

2009-09-06 Thread Dr. David Kirkby
Juan Jose Garcia-Ripoll wrote: > It seems that in OS X, when using "gcc" to link the object files into > an executable, the flag -m64 is needed _again_ to specify that it is a > 64-bits build. This is regarding David's question in the sage-devel > group. > > Now, this is one of the reasons why EC

[sage-devel] Re: log(x) versus ln(x)

2009-09-06 Thread William Stein
On Sun, Sep 6, 2009 at 3:00 PM, Burcin Erocal wrote: > > On Sun, 6 Sep 2009 14:35:24 -0700 > William Stein wrote: > >> I think the vote from this dicussion for Sage was to make it so ln and >> log are both supported and "log" is base e by default.   So in the >> future we'll have: >> >> sage: ln(

[sage-devel] Re: ECL + OSX + 64bits

2009-09-06 Thread Dr. David Kirkby
Juan Jose Garcia-Ripoll wrote: > It seems that in OS X, when using "gcc" to link the object files into > an executable, the flag -m64 is needed _again_ to specify that it is a > 64-bits build. This is regarding David's question in the sage-devel > group. > > Now, this is one of the reasons why EC

[sage-devel] Re: log(x) versus ln(x)

2009-09-06 Thread Burcin Erocal
On Sun, 6 Sep 2009 14:35:24 -0700 William Stein wrote: > I think the vote from this dicussion for Sage was to make it so ln and > log are both supported and "log" is base e by default. So in the > future we'll have: > > sage: ln(x) > ln(x) > sage: log(x) > log(x) > > That should make most pe

[sage-devel] Re: log(x) versus ln(x)

2009-09-06 Thread Golam Mortuza Hossain
Hi, On Sun, Sep 6, 2009 at 6:35 PM, William Stein wrote: > sage: ln(x) > ln(x) > sage: log(x) > log(x) > > That should make most people happy. Just a comment: having two different symbolic log functions in pynac will imply (by default) - sage: log(x) - ln(x) log(x) - ln(x) - I

[sage-devel] Re: log(x) versus ln(x)

2009-09-06 Thread William Stein
On Sun, Sep 6, 2009 at 2:29 PM, TimDaly wrote: > The macro >  ln(x) ==> log(x) > expands log(n) so ln(n) prints as log(n) Python does not have "macros" (whatever those are).However the equality "ln = log" is already set in Sage, so we have already that: sage: ln(x) log(x) > You could create

[sage-devel] Re: sage-sage -i -s

2009-09-06 Thread William Stein
On Sun, Sep 6, 2009 at 2:00 PM, Ralf Hemmecke wrote: > > Hello, > > I was just looking through the sage-sage script. Thanks for working on the Sage build system!! > > In the definition of the "install" function appears > >    if [ $1 = '-m' -o $1 = '-s' ]; then >        OPT=$OPT" "$1 >        sh

[sage-devel] ECL + OSX + 64bits

2009-09-06 Thread Juan Jose Garcia-Ripoll
It seems that in OS X, when using "gcc" to link the object files into an executable, the flag -m64 is needed _again_ to specify that it is a 64-bits build. This is regarding David's question in the sage-devel group. Now, this is one of the reasons why ECL does not build on OS X when compiling wit

[sage-devel] sage-sage -i -s

2009-09-06 Thread Ralf Hemmecke
Hello, I was just looking through the sage-sage script. In the definition of the "install" function appears if [ $1 = '-m' -o $1 = '-s' ]; then OPT=$OPT" "$1 shift fi I see echo " -i [packages] -- install the given Sage packages" echo " if

[sage-devel] Re: ECL 9.8.4 fails to build in 64-bit mode, OS X 10.5.8, Sage 4.1.2.alpha0

2009-09-06 Thread John H Palmieri
On Sep 5, 11:18 pm, Minh Nguyen wrote: > Hi David, > > On Sat, Sep 5, 2009 at 9:58 PM, Dr. David Kirkby > wrote: > > > > An updated spkg can be found at > > http://sage.math.washington.edu/home/mvngu/release/spkg/standard/ecl-... > > and am now testing it under various platforms. Using this, I

[sage-devel] Sage notebook -- hack of the day

2009-09-06 Thread William Stein
Hi Sage Devel, Have you ever wanted to make it so a particular Sage notebook cell would automatically get re-evaluated every few seconds? For example, maybe you want to monitor some file somewhere, make a counter, watch a stock price, etc. Here's a little function that illustrates how to do th

[sage-devel] Re: About pexpect version in sage

2009-09-06 Thread William Stein
2009/9/5 Paulo César Pereira de Andrade : > > 2009/9/5 William Stein : >> >> 2009/9/5 Paulo César Pereira de Andrade >> : >>> >>>  Hi, >>> >>>  I am not experienced with pexepect, but I played a bit trying to use >>> a newer version in sage. >>>  But since it is one of the core packages of sage (a

[sage-devel] Re: Stallings book to use sage

2009-09-06 Thread William Stein
On Sun, Sep 6, 2009 at 4:49 AM, David Joyner wrote: > > On Sun, Sep 6, 2009 at 4:14 AM, Balbir Singh wrote: >> >> Hi, Everyone, >> >> This should probably go to a sage-promotion list, but developers are >> usually keen to know as well. I just saw the following text at >> http://www.williamstalling

[sage-devel] Re: Stallings book to use sage

2009-09-06 Thread William Stein
On Sun, Sep 6, 2009 at 5:47 AM, Dr. David Kirkby wrote: > > David Joyner wrote: >> On Sun, Sep 6, 2009 at 4:14 AM, Balbir Singh wrote: >>> Hi, Everyone, >>> >>> This should probably go to a sage-promotion list, but developers are >>> usually keen to know as well. I just saw the following text at >

[sage-devel] Re: log(x) versus ln(x)

2009-09-06 Thread William Stein
On Sun, Sep 6, 2009 at 7:06 AM, TimDaly wrote: > > I just bought the book "Gamma" by Julian Havil, a mathematician. > In the introduction on page xix he uses ln for the natural log. > From this I conclude that the notation is in current use by > mathematicians > as well as engineers such as Prof.

[sage-devel] Re: log(x) versus ln(x)

2009-09-06 Thread TimDaly
I just bought the book "Gamma" by Julian Havil, a mathematician. In the introduction on page xix he uses ln for the natural log. >From this I conclude that the notation is in current use by mathematicians as well as engineers such as Prof. Sadoway at MIT. Axiom can support this by defining a macr

[sage-devel] Re: Stallings book to use sage

2009-09-06 Thread John Cremona
2009/9/6 Dr. David Kirkby : > > I don't know what hte book says, but I don't like the 'freeware' in the > web page. Perhaps he should be asked to drop that word, as it tends to > me 'shareware' On his Computer Science Student Resource Site (http://williamstallings.com/StudentSupport.html) he lis

[sage-devel] Re: Stallings book to use sage

2009-09-06 Thread Dr. David Kirkby
David Joyner wrote: > On Sun, Sep 6, 2009 at 4:14 AM, Balbir Singh wrote: >> Hi, Everyone, >> >> This should probably go to a sage-promotion list, but developers are >> usually keen to know as well. I just saw the following text at >> http://www.williamstallings.com/Future.html. It will be good to

[sage-devel] Re: Stallings book to use sage

2009-09-06 Thread David Joyner
On Sun, Sep 6, 2009 at 4:14 AM, Balbir Singh wrote: > > Hi, Everyone, > > This should probably go to a sage-promotion list, but developers are > usually keen to know as well. I just saw the following text at > http://www.williamstallings.com/Future.html. It will be good to see a > popular book rec

[sage-devel] Re: ECL 9.8.4 fails to build in 64-bit mode, OS X 10.5.8, Sage 4.1.2.alpha0

2009-09-06 Thread Dr. David Kirkby
Dr. David Kirkby wrote: > Minh Nguyen wrote: >> Hi David, > >> I think the problem lies in the following line of the file spkg-intall: >> >> ./configure --prefix=$SAGE_LOCAL --with-system-gmp --enable-boehm=system >> >> I replaced that line with >> >> ./configure --prefix=$SAGE_LOCAL >> >> An upd

[sage-devel] Re: ECL 9.8.4 fails to build in 64-bit mode, OS X 10.5.8, Sage 4.1.2.alpha0

2009-09-06 Thread Dr. David Kirkby
Minh Nguyen wrote: > Hi David, > I think the problem lies in the following line of the file spkg-intall: > > ./configure --prefix=$SAGE_LOCAL --with-system-gmp --enable-boehm=system > > I replaced that line with > > ./configure --prefix=$SAGE_LOCAL > > An updated spkg can be found at > > htt

[sage-devel] Re: Prototype library interface with Maxima/ECL

2009-09-06 Thread Juanjo
On Sep 5, 9:22 pm, Nils Bruin wrote: > couldn't convince the C compiler that two mpz_t's were really of the > same type) mpz_t's are not designed to be copied around. > WARNING: ecl is written to provide only one instance of its workspace. > So whatever code is run will have to play nice with o

[sage-devel] Stallings book to use sage

2009-09-06 Thread Balbir Singh
Hi, Everyone, This should probably go to a sage-promotion list, but developers are usually keen to know as well. I just saw the following text at http://www.williamstallings.com/Future.html. It will be good to see a popular book recommend sage. The fifth edition of this popular textbook includes