[sage-devel] Re: sage-2.8

2007-08-14 Thread Jan Groenewald
Hi On Mon, Aug 13, 2007 at 05:46:36AM -0700, William Stein wrote: > (3) Maybe (I haven't tested this) do >sage: notebook(reset=True) This works fine, thanks. It prompts for a new password and then continues. regards, Jan -- .~. /V\ Jan Groenewald /( )\www.aims.ac.za ^^-^

[sage-devel] Re: quaddouble in sage, and other floating point issues

2007-08-14 Thread Jonathan Bober
On Tue, 2007-08-14 at 01:07 -0400, didier deshommes wrote: > 2007/8/14, William Stein <[EMAIL PROTECTED]>: > > Correct me if I'm wrong, but I don't think that makes sense. > > If I do this: > > > > sage: a = RQDF(5) > > sage: number_of_partitions(1000) > > 24061467864032622473692149727991 > > sage

[sage-devel] is_zero()

2007-08-14 Thread [EMAIL PROTECTED]
Hi, I have some problems with the way is_zero() is implemented (or maybe it is the documentation...) Is this behavior really desirable? sage: k = var('k') sage: pol = 1/(k-1) - 1/k -1/k/(k-1) sage: pol -1/((k - 1)*k) - (1/k) + 1/(k - 1) sage: pol.partial_fraction() 0 sage: pol.is_zero() False sag

[sage-devel] Re: file system slowdown on sage.math

2007-08-14 Thread Bill Hart
To possibly add to the sage.math woes yesterday, I was testing a new memory manager just before the slowdown. It had the unusual property of allocating very many gigabytes of swap space in small chunks and very little actual memory. My presumption was that the slowness had something to do with sag

[sage-devel] Re: vpython package (boost unicode problem)

2007-08-14 Thread Jaap Spies
Jaap Spies wrote: > I'm trying to make a vpython package for SAGE: > see http://www.vpython.org/index.html [...] Got an answer from the VPython mailing list: > Jaap Spies wrote: >> Bruce Sherwood wrote: >>> Dunno whether this might explain the problem that was seen with the Sage > [] >>> It seems

[sage-devel] Re: file system slowdown on sage.math

2007-08-14 Thread Michael Abshoff
Bill Hart wrote: > Hello, > To possibly add to the sage.math woes yesterday, I was testing a new > memory manager just before the slowdown. It had the unusual property > of allocating very many gigabytes of swap space in small chunks and > very little actual memory. My presumption was that the s

[sage-devel] Re: build dependencies

2007-08-14 Thread Martin Albrecht
On Tuesday 14 August 2007, Michael Abshoff wrote: > William Stein wrote: > > > > > Hello, > > > I'll wait for the answers to the above questions. I would be fine > > with including > > scons in SAGE. I think it's already in one of the optional packages > > (I can't remember > > for sure though

[sage-devel] Re: Getting Geometry in SAGE

2007-08-14 Thread Arash Partow
Hi William, I believe you are the one that is confused about the GPL. The GPL is a form of copyright that is provided with a piece of work. In this case I permit people to use Wykobi under the terms of the GPL open source license as opposed to say the CPL, LGPL or the Mozilla license. As for com

[sage-devel] Re: Getting Geometry in SAGE

2007-08-14 Thread Arash Partow
Hi William, I believe you are the one that is confused about the GPL. The GPL is a form of copyright that is provided with a piece of work. In this case I permit people to use Wykobi under the terms of the GPL open source license as opposed to say the CPL, LGPL, BSD or the Mozilla Public license.

[sage-devel] Re: Getting Geometry in SAGE

2007-08-14 Thread John Cremona
Whatever the fact of the case, I find the tone of this email offensive. I'm sure I am not the only one. I think an apology is called for. John Cremona On 8/14/07, Arash Partow <[EMAIL PROTECTED]> wrote: > > Hi William, > > I believe you are the one that is confused about the GPL. > The GPL is

[sage-devel] Re: Getting Geometry in SAGE

2007-08-14 Thread William Stein
On 8/14/07, Arash Partow <[EMAIL PROTECTED]> wrote: > I believe you are the one that is confused about the GPL. > The GPL is a form of copyright that is provided with a > piece of work. In this case I permit people to use Wykobi > under the terms of the GPL open source license as opposed > to say

[sage-devel] Re: vpython package (boost unicode problem)

2007-08-14 Thread William Stein
On 8/14/07, Jaap Spies <[EMAIL PROTECTED]> wrote: > See also > > > http://mail.python.org/pipermail/distutils-sig/2006-July/006579.html > > for a discussion of Python and UCS2 vs. UCS4 > > Ubuntu and Fedora distribute Python compiled with UCS4. > Maybe the Python version of SAGE should comply with

[sage-devel] unicode UCS4

2007-08-14 Thread Jaap Spies
Hi, I changed the install script in python-2.5.1.p3, replaced: ./configure --prefix="$SAGE_LOCAL" with ./configure --prefix="$SAGE_LOCAL" --enable-unicode=ucs4 build sage-2.8 with no problems. -- All tests passed! Total time fo

[sage-devel] Re: file system slowdown on sage.math

2007-08-14 Thread William Stein
On 8/14/07, Michael Abshoff <[EMAIL PROTECTED]> wrote: > The first thing I checked upon investigation was if somebody had pushed > the box into swap and that wasn't the case. > > An 'ls -1 > foo.txt' in the now infamous tmp-directory took in excess of > 10 seconds which is pretty bad and that was

[sage-devel] Re: Getting Geometry in SAGE

2007-08-14 Thread Alex Ghitza
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, About 30 seconds of google-ing "gpl commercial" yielded the following email written by Richard Stallman (see below). Of course, it is *theoretically* possible that he is also "confused about the GPL", but I think that's unlikely. Of course, I a

[sage-devel] Re: vpython package (boost unicode problem)

2007-08-14 Thread Jaap Spies
William Stein wrote: > I would definitely consider making this change, at least as long as nobody > sees any major problems with it in the next few days. One problem is > that doing "sage -upgrade" will require rebuilding every Python-related thing > i SAGE, which will be a bit painful. > > An

[sage-devel] Re: Getting Geometry in SAGE

2007-08-14 Thread William Stein
On 8/14/07, John Cremona <[EMAIL PROTECTED]> wrote: > > Whatever the fact of the case, I find the tone of this email > offensive. I'm sure I am not the only one. I think an apology is > called for. I'm very sorry for not carefully reading the email before moderating it "send" -- I usually just

[sage-devel] New Axiom package

2007-08-14 Thread William Stein
Hi, Recently Waldek created a (forked) version of Axiom called "FriCAS", which means "free CAS". He set things up so it builds and installs in the SAGE environment in about 10-15 minutes (instead of hours for the previous version of Axiom). I've created a SAGE package and would like to request

[sage-devel] Re: New Axiom package

2007-08-14 Thread Mike Hansen
Hello, The build worked perfectly with SAGE 2.7.3 on Ubuntu 7.04 on a Core 2 Duo. --Mike On 8/14/07, William Stein <[EMAIL PROTECTED]> wrote: > > Hi, > > Recently Waldek created a (forked) version of Axiom called "FriCAS", > which means "free CAS". He set things up so it builds and installs >

[sage-devel] Re: New Axiom package

2007-08-14 Thread Jaap Spies
William Stein wrote: > for the previous version of Axiom). I've created a SAGE package and > would like to request SAGE users to test out building this package on > OS X and Linux. To try the package just do this: > > sage -i axiom4sage-0.3.1.spkg > > After about 10-15 minutes you s

[sage-devel] Re: New Axiom package

2007-08-14 Thread [EMAIL PROTECTED]
Worked for me too, MacOSX MacBook. (and I tried installing the publicly-available optional Axiom package yesterday and that didn't work) Paul Axiom installation finished. real10m17.685s user8m5.767s sys 1m27.710s Successfully installed axiom4sage-0.3.1 Now cleaning up tmp files. Maki

[sage-devel] Re: New Axiom package

2007-08-14 Thread Alex Ghitza
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Installed successfully on Dell Latitude D620 (Core Duo T2400 1.83GHz) running Gentoo and sage-2.8. It's slow because the laptop was running on battery, and hence throttled down. real29m12.096s user26m1.034s sys 1m22.641s Successfully ins

[sage-devel] Re: quaddouble in sage, and other floating point issues

2007-08-14 Thread cwitty
On Aug 14, 12:59 am, Jonathan Bober <[EMAIL PROTECTED]> wrote: > This is exactly what NTL does in its quad float class. Just about every > function starts and ends with a macro to adjust the fpu, resulting in > around 7 extra assembly instructions. In the following code, the > overhead is quite si

[sage-devel] Re: [fricas-devel] New Axiom package

2007-08-14 Thread David Joyner
installs fine on suse 10.2 amd64 machine running sage 2.8. On 8/14/07, William Stein <[EMAIL PROTECTED]> wrote: > > Hi, > > Recently Waldek created a (forked) version of Axiom called "FriCAS", > which means "free CAS". He set things up so it builds and installs > in the SAGE environment in ab

[sage-devel] sage 2.8 build fails on G5 powerpc OS 10.4.10

2007-08-14 Thread David Harvey
Something goes wrong in LAPACK build: sage-spkg installed/lapack-20070723 2>&1 lapack-20070723 Machine: Darwin George.local 8.10.0 Darwin Kernel Version 8.10.0: Wed May 23 16:50:59 PDT 2007; root:xnu-792.21.3~1/RELEASE_PPC Power Macintosh powerpc Deleting directories from past builds of previ

[sage-devel] Re: Getting Geometry in SAGE

2007-08-14 Thread Chris Chiasson
On Aug 14, 11:37 am, "William Stein" <[EMAIL PROTECTED]> wrote: > On 8/14/07, John Cremona <[EMAIL PROTECTED]> wrote: > > > > > Whatever the fact of the case, I find the tone of this email > > offensive. I'm sure I am not the only one. I think an apology is > > called for. > > I'm very sorry fo

[sage-devel] Re: sage 2.8 build fails on G5 powerpc OS 10.4.10

2007-08-14 Thread Justin C. Walker
On Aug 14, 2007, at 12:46 , David Harvey wrote: > > Something goes wrong in LAPACK build: > > sage-spkg installed/lapack-20070723 2>&1 [snip] > make[2]: *** [lapack_install] Error 126 > Error compiling lapack. A shot in the dark: can you check your install log for lines containing "fork:"? I

[sage-devel] Re: sage 2.8 build fails on G5 powerpc OS 10.4.10

2007-08-14 Thread David Harvey
On Aug 14, 2007, at 4:09 PM, Justin C. Walker wrote: >> Something goes wrong in LAPACK build: >> >> sage-spkg installed/lapack-20070723 2>&1 > [snip] >> make[2]: *** [lapack_install] Error 126 >> Error compiling lapack. > > A shot in the dark: can you check your install log for lines > containin

[sage-devel] ticket #59 (optimize elliptic curve arithmetic)

2007-08-14 Thread Alex Ghitza
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've looked at ticket #59, in which David Kohel says: William, my student noticed some slow performance with elliptic curves group law. I think there was a huge overhead in duplication: sage: E = EllipticCurve([GF(101)(1),3]) sage: P =

[sage-devel] Re: ticket #59 (optimize elliptic curve arithmetic)

2007-08-14 Thread David Harvey
On Aug 14, 2007, at 4:19 PM, Alex Ghitza wrote: > Hi, > > I've looked at ticket #59, in which David Kohel says: > > > William, my student noticed some slow performance with elliptic > curves > group law. I think there was a huge overhead in duplication: > > sage: E = EllipticCurve([GF(10

[sage-devel] Re: New Axiom package

2007-08-14 Thread Bill Page
On 8/14/07, [EMAIL PROTECTED] wrote: > > Worked for me too, MacOSX MacBook. > (and I tried installing the publicly-available optional Axiom package > yesterday and that didn't work) > Paul > The previous optional package 'axiom4sage-0.1.1' is compatible only with versions of Sage prior to 2.8.1 a

[sage-devel] Re: New Axiom package

2007-08-14 Thread [EMAIL PROTECTED]
It build fine but the I/O is seriously bugged for me, at least for the displaying of rational functions (but probably wrapping too)... I paste this: -- k =

[sage-devel] Re: Getting Geometry in SAGE

2007-08-14 Thread David Joyner
New members are moderated. I didn't post FlameGuy's email but didn't delete it either. (Both William and I are moderators. It was addressed to William and didn't think it appropriate for me to delete emails adressed to him, but I did tell him I would not post it for obvious reasons.) I do think it

[sage-devel] Re: quaddouble in sage, and other floating point issues

2007-08-14 Thread William Stein
On 8/14/07, cwitty <[EMAIL PROTECTED]> wrote: > On Aug 14, 12:59 am, Jonathan Bober <[EMAIL PROTECTED]> wrote: > > This is exactly what NTL does in its quad float class. Just about every > > function starts and ends with a macro to adjust the fpu, resulting in > > around 7 extra assembly instructi

[sage-devel] Re: Getting Geometry in SAGE

2007-08-14 Thread William Stein
On 8/14/07, David Joyner <[EMAIL PROTECTED]> wrote: > New members are moderated. I didn't post FlameGuy's > email but didn't delete it either. (Both William and I are moderators. > It was addressed to William and didn't think it appropriate > for me to delete emails adressed to him, but I did tell

[sage-devel] Re: New Axiom package

2007-08-14 Thread Bill Page
On 8/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > It build fine but the I/O is seriously bugged for me, at least for the > displaying of rational functions (but probably wrapping too)... Thanks for the report. I will look into it. Do other things work ok? E.g. this script that posted

[sage-devel] Re: Getting Geometry in SAGE

2007-08-14 Thread Kyle Schalm
On Tue, 14 Aug 2007, William Stein wrote: > > On 8/14/07, John Cremona <[EMAIL PROTECTED]> wrote: >> >> Whatever the fact of the case, I find the tone of this email >> offensive. I'm sure I am not the only one. I think an apology is >> called for. > > I'm very sorry for not carefully reading t

[sage-devel] Re: ticket #59 (optimize elliptic curve arithmetic)

2007-08-14 Thread Michel
I think repeated squaring is not more efficient in all cases. For example over Z it is only more efficient if your multiplication algorithm is faster than the naive one (which is O(n^2) in the number of bits). So in the case of elliptic curves it really depends on the efficiency of the addition s

[sage-devel] Re: New Axiom package

2007-08-14 Thread Bill Page
On 8/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > It build fine but the I/O is seriously bugged for me, at least for the > displaying of rational functions (but probably wrapping too)... > ... Oops, for the full axiom interface to work reliably you need sage-2.8.1 or the following patc