Re: [sage-devel] Re: weirdness in simplifying a symbolic expression

2010-01-14 Thread Craig Citro
Actually, I think it is, even though I agree it shouldn't be. For example: [boxen ~] $ sage -- | Sage Version 4.3, Release Date: 2009-12-24 | | Type notebook() for the GUI, and license() for information.

[sage-devel] Re: weirdness in simplifying a symbolic expression

2010-01-14 Thread andrejv
On Jan 15, 6:14 am, Craig Citro wrote: > Yeah, this is wacky. I can tell you why it's happening, though someone > who's ever used Maxima before should really think about the right fix. > Here's the issue: in sage.calculus.calculus, there's an instance of > Maxima that gets created and passed the

[sage-devel] Re: weirdness in simplifying a symbolic expression

2010-01-14 Thread rjf
It seems clear that in Maxima, something you directly or indirectly loaded, set those names to values. Maybe because d1, d2, , were used for the labels automatically generated for display lines. You can find all such values by maxima("values"). RJF -- To post to this group, send an email

[sage-devel] Re: weirdness in simplifying a symbolic expression

2010-01-14 Thread kcrisman
On Jan 15, 12:14 am, Craig Citro wrote: > Yeah, this is wacky. I can tell you why it's happening, though someone > who's ever used Maxima before should really think about the right fix. > Here's the issue: in sage.calculus.calculus, there's an instance of > Maxima that gets created and passed th

Re: [sage-devel] A NEW bug is introduced on Solaris 10 SPARC

2010-01-14 Thread Robert Bradshaw
On Jan 14, 2010, at 9:49 PM, Robert Bradshaw wrote: On Jan 14, 2010, at 5:46 PM, Dr. David Kirkby wrote: Dr. David Kirkby wrote: I tried to build sage-4.3.1.alpha2 in 32-bit mode on a Sun Blade 2000. I've installed Sage on that several times before without issue. But this time I get an err

Re: [sage-devel] A NEW bug is introduced on Solaris 10 SPARC

2010-01-14 Thread Robert Bradshaw
On Jan 14, 2010, at 5:46 PM, Dr. David Kirkby wrote: Dr. David Kirkby wrote: I tried to build sage-4.3.1.alpha2 in 32-bit mode on a Sun Blade 2000. I've installed Sage on that several times before without issue. But this time I get an error. This is a bit annoying, as I really did believe th

[sage-devel] Re: Tonight meeting:

2010-01-14 Thread kcrisman
We miss you. Much graph editing was done with Rado's new editor in alpha2! On Jan 14, 6:01 pm, William Stein wrote: > Hi sage people at AMS meeting, > > annoyingly something has come up so I can't meet at Borders tonight. > Sorry,  William > > -- > William Stein > Associate Professor of Mathemat

Re: [sage-devel] weirdness in simplifying a symbolic expression

2010-01-14 Thread Craig Citro
Yeah, this is wacky. I can tell you why it's happening, though someone who's ever used Maxima before should really think about the right fix. Here's the issue: in sage.calculus.calculus, there's an instance of Maxima that gets created and passed the argument 'load(simplify_sum)'. This causes the ex

Re: [sage-devel] Categories for extensions types

2010-01-14 Thread David Roe
I'm not going to be available until early next week, so it sounds like someone else will get to it before me. I'm excited to see it though! David On Thu, Jan 14, 2010 at 7:05 PM, Robert Bradshaw < rober...@math.washington.edu> wrote: > I actually went to that ticket a bit ago, but didn't see any

Re: [sage-devel] weirdness in simplifying a symbolic expression

2010-01-14 Thread Minh Nguyen
Hi Nick, On Fri, Jan 15, 2010 at 3:14 PM, Nick Alexander wrote: > To me, these look like the same expressions, just one has variables sorted > differently (h < e?) and different term orders. What is the issue? Something like the following is OK: [mv...@mod sage-4.3.1.alpha2-sage.math.washin

[sage-devel] Re: weirdness in simplifying a symbolic expression

2010-01-14 Thread Jason Bandlow
Nick Alexander wrote: >> sage: y = expand(K.det()); y >> a*d*e*h - a*d*f*g - b*c*e*h + b*c*f*g >> sage: simplify(y) >> -a*d*f*g + a*d*h*e + b*c*f*g - b*c*h*e > > To me, these look like the same expressions, just one has variables > sorted differently (h < e?) and different term orders. What is th

[sage-devel] a new FAQ on Sage development

2010-01-14 Thread Minh Nguyen
Hi folks, I was recently asked some beginner-type questions relating to Sage development. Just so that the responses are recorded somewhere, I have put together a rough wiki page [1] on development FAQ. The page is linked from the main wiki page [2], where you can find the link under the section "

Re: [sage-devel] weirdness in simplifying a symbolic expression

2010-01-14 Thread Nick Alexander
sage: y = expand(K.det()); y a*d*e*h - a*d*f*g - b*c*e*h + b*c*f*g sage: simplify(y) -a*d*f*g + a*d*h*e + b*c*f*g - b*c*h*e To me, these look like the same expressions, just one has variables sorted differently (h < e?) and different term orders. What is the issue? Nick -- To post to thi

[sage-devel] [Fwd: Re: [Sage] #7932: _Complex_I undeclared - a new bug totally stops a Solaris 10 build.]

2010-01-14 Thread Dr. David Kirkby
Robert thinks this might be his fault, but I'm personally not confident editing this code. Anyone else fell able to? Dave -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more o

Re: [sage-devel] A NEW bug is introduced on Solaris 10 SPARC

2010-01-14 Thread Dr. David Kirkby
Minh Nguyen wrote: Hi, On Fri, Jan 15, 2010 at 12:46 PM, Dr. David Kirkby wrote: The build on 't2' has now failed at the same point. This is now http://trac.sagemath.org/sage_trac/ticket/7932 I got exactly the same problem with my build attempt of Sage 4.3.1.alpha2 on t2.math. It looks

Re: [sage-devel] A NEW bug is introduced on Solaris 10 SPARC

2010-01-14 Thread Minh Nguyen
Hi, On Fri, Jan 15, 2010 at 12:46 PM, Dr. David Kirkby wrote: > The build on 't2' has now failed at the same point. This is now > > http://trac.sagemath.org/sage_trac/ticket/7932 I got exactly the same problem with my build attempt of Sage 4.3.1.alpha2 on t2.math. -- Regards Minh Van Nguyen

Re: [sage-devel] metalinks for downloads

2010-01-14 Thread William Stein
On Thu, Jan 14, 2010 at 4:42 PM, Hector Villafuerte wrote: > On Thu, Sep 10, 2009 at 2:26 PM, Harald Schilly > wrote: > [...] >> And yes, this mail is also a request for testing ;) >> [not all mirrors are in sync, so use the metalinks from >> http://sage.math.washington.edu/sage/ ] >> >> H > > >

[sage-devel] weirdness in simplifying a symbolic expression

2010-01-14 Thread Minh Nguyen
Hi folks, I got the following weirdness from a bug report on Facebook. The report references this worksheet: http://www.sagenb.org/home/pub/1362/ [mv...@mod sage-4.3.1.alpha2]$ ./sage -- | Sage Version 4.3.1.alpha2, Release Dat

Re: [sage-devel] A NEW bug is introduced on Solaris 10 SPARC

2010-01-14 Thread Dr. David Kirkby
Dr. David Kirkby wrote: I tried to build sage-4.3.1.alpha2 in 32-bit mode on a Sun Blade 2000. I've installed Sage on that several times before without issue. But this time I get an error. This is a bit annoying, as I really did believe that 4.3.1 would build on Solaris 10 SPARC without any p

Re: [sage-devel] metalinks for downloads

2010-01-14 Thread Hector Villafuerte
On Thu, Sep 10, 2009 at 2:26 PM, Harald Schilly wrote: [...] > And yes, this mail is also a request for testing ;) > [not all mirrors are in sync, so use the metalinks from > http://sage.math.washington.edu/sage/ ] > > H Here in Guatemala, were internet can be really slow sometimes, these metali

Re: [sage-devel] Categories for extensions types

2010-01-14 Thread Robert Bradshaw
I actually went to that ticket a bit ago, but didn't see any patch attached. I'll certainly review this during Sage days if no one else beats me to it. - Robert On Jan 14, 2010, at 3:24 PM, Nicolas M. Thiery wrote: Hi, Given the recent discussion on adding generic group features,

Re: [sage-devel] Re: [Sage] #7026: linbox 1.1.6.p0 says GMP is not installed, even though MPIR is

2010-01-14 Thread Dr. David Kirkby
Clement Pernet wrote: config.log says: ld.so.1: conftest: fatal: libgmpxx.so.3: open failed: No such file or directory could you ls export/home/drkirkby/gcc64/sage-4.3.1.alpha2/local/lib/libgmpxx* and check that the symlink to the shared lib is ok? Or is there a way I can access to that m

Re: [sage-devel] A Challenge - what is wrong with this *simple* patch?

2010-01-14 Thread Dr. David Kirkby
Tim Daly wrote: Dr. David Kirkby wrote: I submitted a patch which I believe is very simple and should not break anything, but it could not be merged into sage-4.3.1.rc0 because it breaks the Singular installation on Sage. (It was marked as fixed, then changed to 'needs work' as it fails.) Ca

[sage-devel] Categories for extensions types

2010-01-14 Thread Nicolas M. Thiery
Hi, Given the recent discussion on adding generic group features, it was way time for someone to go one step further: to enable extension types to inherit code from categories, so that we could at last start to systematically put generic code in the categories instead of the "old" abstract

Re: [sage-devel] A Challenge - what is wrong with this *simple* patch?

2010-01-14 Thread Tim Daly
Dr. David Kirkby wrote: I submitted a patch which I believe is very simple and should not break anything, but it could not be merged into sage-4.3.1.rc0 because it breaks the Singular installation on Sage. (It was marked as fixed, then changed to 'needs work' as it fails.) Can anyone spot wha

[sage-devel] Re: OSX 10.6 bug = dead

2010-01-14 Thread Georg S. Weber
Great! I never (or only after a lng time, and out of pure frustration and cluelessness) would have looked into that direction (i.e. "symbol versioning"), where the problem seems to stem from. Good catch!!! Cheers, Georg On 14 Jan., 11:38, Craig Citro wrote: > Hey all, > > Just wanted to me

[sage-devel] Tonight meeting:

2010-01-14 Thread William Stein
Hi sage people at AMS meeting, annoyingly something has come up so I can't meet at Borders tonight. Sorry, William -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscrib

[sage-devel] Re: mpir-1.2.2.p0 fails on centos32, debian32, and opensuse32

2010-01-14 Thread Jaap Spies
Dr. David Kirkby wrote: Robert Miller wrote: These seem related to #7910... Any thoughts? When you say they seem to be related to #7910, what makes you think that? I realise there is a mix of 32 and 64-bit objects in those list of error messages, but I think the reasons for #7910 are pretty w

Re: [sage-devel] mpir-1.2.2.p0 fails on centos32, debian32, and opensuse32

2010-01-14 Thread Robert Miller
> I can't see any connection myself. Just idle speculation by a non-expert ;) -- Robert L. Miller http://www.rlmiller.org/ -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more o

Re: [sage-devel] mpir-1.2.2.p0 fails on centos32, debian32, and opensuse32

2010-01-14 Thread Dr. David Kirkby
Robert Miller wrote: These seem related to #7910... Any thoughts? When you say they seem to be related to #7910, what makes you think that? I realise there is a mix of 32 and 64-bit objects in those list of error messages, but I think the reasons for #7910 are pretty well understood - Flint

[sage-devel] A Challenge - what is wrong with this *simple* patch?

2010-01-14 Thread Dr. David Kirkby
I submitted a patch which I believe is very simple and should not break anything, but it could not be merged into sage-4.3.1.rc0 because it breaks the Singular installation on Sage. (It was marked as fixed, then changed to 'needs work' as it fails.) Can anyone spot what is wrong with it? Here

Re: [sage-devel] Re: Linbox complains GMP is not installed on Solaris 10 (64-bit mode)

2010-01-14 Thread Dr. David Kirkby
Jaap Spies wrote: Building of linbox on Open Solaris 06/2009 in VirtualBox ends with: -- Libraries have been installed in: /export/home/jaap/Downloads/sage-4.3.1.alpha2/local/lib [...] linbox-sage.C: At global scope: linbox

Re: [sage-devel] Re: Vote! factorization of some special numbers

2010-01-14 Thread Nick Alexander
On 14-Jan-10, at 1:36 PM, Georg S. Weber wrote: +1 +1! Such factorizations also have applications to congruences concerning Bell and Uppuluri-Carpenter combinatorial numbers. Nick -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send

[sage-devel] Re: Vote! factorization of some special numbers

2010-01-14 Thread Georg S. Weber
+1 Cheers, Georg -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org

[sage-devel] Re: Linbox complains GMP is not installed on Solaris 10 (64-bit mode)

2010-01-14 Thread Jaap Spies
Dr. David Kirkby wrote: Dr. David Kirkby wrote: Bill Hart wrote: There are two problems I see. 1) The invalid option -64 is passed to the compiler (I think this is being ignored anyway). 2) It links against libgmpxx, which it fails to find. It is not clear to me why. It should be in sage/loca

Re: [sage-devel] Re: Linbox complains GMP is not installed on Solaris 10 (64-bit mode)

2010-01-14 Thread Dr. David Kirkby
Dr. David Kirkby wrote: Bill Hart wrote: There are two problems I see. 1) The invalid option -64 is passed to the compiler (I think this is being ignored anyway). 2) It links against libgmpxx, which it fails to find. It is not clear to me why. It should be in sage/local/lib along with libgmp.

[sage-devel] Re: mpir-1.2.2.p0 fails on centos32, debian32, and opensuse32

2010-01-14 Thread Robert Miller
These failures still appear when building mpir-1.2.2 instead of mpir-1.2.2.p0 -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google

[sage-devel] Re: Building ATLAS libraries failed on Open Solaris

2010-01-14 Thread Jaap Spies
Dr. David Kirkby wrote: Jaap Spies wrote: I'm almost there: Finished building ATLAS core The Makefile generated in ATLAS for building shared libraries assumes the linker is the GNU linker, which it not true in your setup. (It is generally considered better to use the Sun linker in /usr/ccs/bin

[sage-devel] mpir-1.2.2.p0 fails on centos32, debian32, and opensuse32

2010-01-14 Thread Robert Miller
These seem related to #7910... Any thoughts? centos32: {{{ mpn/.libs/add_n.o: file not recognized: File format not recognized collect2: ld returned 1 exit status make[4]: *** [libmpir.la] Error 1 make[4]: Leaving directory `/tmp/wstein/farm/sage-4.3.1.alpha3/spkg/ build/mpir-1.2.2.p0/src' make[3]:

Re: [sage-devel] Re: Linbox complains GMP is not installed on Solaris 10 (64-bit mode)

2010-01-14 Thread Dr. David Kirkby
Bill Hart wrote: There are two problems I see. 1) The invalid option -64 is passed to the compiler (I think this is being ignored anyway). 2) It links against libgmpxx, which it fails to find. It is not clear to me why. It should be in sage/local/lib along with libgmp. Bill. I believe the -6

[sage-devel] Re: Linbox complains GMP is not installed on Solaris 10 (64-bit mode)

2010-01-14 Thread Bill Hart
There are two problems I see. 1) The invalid option -64 is passed to the compiler (I think this is being ignored anyway). 2) It links against libgmpxx, which it fails to find. It is not clear to me why. It should be in sage/local/lib along with libgmp. Bill. On Jan 14, 4:29 pm, "Dr. David Kirkb

Re: [sage-devel] Linbox complains GMP is not installed on Solaris 10 (64-bit mode)

2010-01-14 Thread Dr. David Kirkby
François Bissey wrote: On Thu, 14 Jan 2010 22:27:53 Dr. David Kirkby wrote: I tried a 64-bit build of Sage on a Sun Blade 2000 SPARC workstation running Solaris 10. I don't know if linbox is only looking for GMP in /usr and /usr/local, which is semi-implied below. But for whatever reason, it

[sage-devel] A NEW bug is introduced on Solaris 10 SPARC

2010-01-14 Thread Dr. David Kirkby
I tried to build sage-4.3.1.alpha2 in 32-bit mode on a Sun Blade 2000. I've installed Sage on that several times before without issue. But this time I get an error. This is a bit annoying, as I really did believe that 4.3.1 would build on Solaris 10 SPARC without any problems, after the issues

[sage-devel] rebuild the live cd HOWTO

2010-01-14 Thread Vincent Delecroix
Hi, The live CD works well on my laptop and is really intuitive/simple/quick to use ! We would distribute some live-CDs during the Sage education days in Marseille. But we need to enhance few features. Is the procedure to rebuild the live cd is written anywhere? Can somebody help on the following

[sage-devel] Re: OSX 10.6 bug = dead

2010-01-14 Thread John H Palmieri
On Jan 14, 2:38 am, Craig Citro wrote: > Hey all, > > Just wanted to mention that I'm pretty sure I've managed to stomp that > pesky OSX 10.6 bug (the "Abort trap" one). I'll mention more details > on the ticket (#7095), but the long and the short of it is that we > were having issues where we wer

[sage-devel] Re: OSX 10.6 bug = dead

2010-01-14 Thread kcrisman
If true, double thanks indeed. This is what has kept me from upgrading and having access to Quicktime X. - kcrisman On Jan 14, 5:44 am, "David M. Monarres" wrote: > Wow. Thank you so much. > > -- > D. M. Monarres > > > On Jan 14, 2010, at 2:38 AM, Craig Citro wrote: > > > > > Hey all, > > > J

Re: [sage-devel] Re: AMS meeting in San Francisco

2010-01-14 Thread William Stein
On Thu, Jan 14, 2010 at 1:44 AM, Jason Grout wrote: > William Stein wrote: >> >> On Wed, Jan 13, 2010 at 8:54 PM, Rob Beezer >> wrote: >>> >>> Seriously though, the best combination of location, hours and wifi >>> I've found is Seattle's Best Coffee in Borders Books in the Westfield >>> San Franc

[sage-devel] make fails on Fedora 12 / 64 bits (kernel 2.6.31.5-127.fc12.x86_64)

2010-01-14 Thread Nicolas
Dear developers, I tried to build sage by simply typing make on the following machine : Intel Xeon 64 bits, 8 core, 32Gb RAM Linux : Fedora 12 (more details below) I tried to build sage-4.3 and sage-4.2.1. Both ends with the failing of the compilation of PARI. However, I installed the binary fo

Re: [sage-devel] Reorganisation of graph methods

2010-01-14 Thread Nicolas M. Thiery
On Mon, Jan 11, 2010 at 10:49:55AM -0800, Nick Alexander wrote: > I think I agree with this last sentiment. Why not have a > SetOfCliquesOfGraph object returned by G.cliques(), which is then > further interrogated? Ie, cliques = G.cliques(); > cliques.max_clique(), etc. This worked well with tor

Re: [sage-devel] Multivariate polynomial fitting

2010-01-14 Thread Nathann Cohen
> I guess your algorithm is over the reals? > Does your algorithm work over QQ? I only used the algorithm over QQ. I think it would work pretty well on other fields, but there I do not know the theorems about uniqueness of the results.. :-) Nathann -- To post to this group, send an email to sage

[sage-devel] Repeated Warnings

2010-01-14 Thread Martin Raum
In #7928 due to the fact that the default python waring filter displays warnings only once a comment on this behaviour is added and that's it. I would like to reinitiate a discussion on this, arguing that Sage should define its own warning classes. Use case for example: I have definied a = [-3, -4,

Re: [sage-devel] Multivariate polynomial fitting

2010-01-14 Thread David Joyner
On Thu, Jan 14, 2010 at 6:26 AM, Nathann Cohen wrote: > Hello everybody > > I have had to write a function for something which may be called > "multivariate polynomial fitting". > > Let's say you have a polynomial in several variables (ex 2) of degree > (ex 2). It has the following shape : a

[sage-devel] Multivariate polynomial fitting

2010-01-14 Thread Nathann Cohen
Hello everybody I have had to write a function for something which may be called "multivariate polynomial fitting". Let's say you have a polynomial in several variables (ex 2) of degree (ex 2). It has the following shape : a x^2 + b xy + c y^2 + d The trouble is that you can evaluate it but

Re: [sage-devel] OSX 10.6 bug = dead

2010-01-14 Thread David M. Monarres
Wow. Thank you so much. -- D. M. Monarres On Jan 14, 2010, at 2:38 AM, Craig Citro wrote: Hey all, Just wanted to mention that I'm pretty sure I've managed to stomp that pesky OSX 10.6 bug (the "Abort trap" one). I'll mention more details on the ticket (#7095), but the long and the short of

[sage-devel] OSX 10.6 bug = dead

2010-01-14 Thread Craig Citro
Hey all, Just wanted to mention that I'm pretty sure I've managed to stomp that pesky OSX 10.6 bug (the "Abort trap" one). I'll mention more details on the ticket (#7095), but the long and the short of it is that we were having issues where we were confusing which system libraries were getting lin

Re: [sage-devel] Linbox complains GMP is not installed on Solaris 10 (64-bit mode)

2010-01-14 Thread Clement Pernet
The spkg-install passes the argument --with-gmp="$SAGE_LOCAL" to configure, so there's no pb with the library location. It has to do with something deeper. I'd also like to read the section of config.log showing the failure. Clément François Bissey a écrit : On Thu, 14 Jan 2010 22:27:53 Dr.

Re: [sage-devel] Linbox complains GMP is not installed on Solaris 10 (64-bit mode)

2010-01-14 Thread François Bissey
On Thu, 14 Jan 2010 22:27:53 Dr. David Kirkby wrote: > I tried a 64-bit build of Sage on a Sun Blade 2000 SPARC workstation > running Solaris 10. I don't know if linbox is only looking for GMP in /usr > and /usr/local, which is semi-implied below. But for whatever reason, it > decides it can't f

[sage-devel] Re: AMS meeting in San Francisco

2010-01-14 Thread Jason Grout
William Stein wrote: On Wed, Jan 13, 2010 at 8:54 PM, Rob Beezer wrote: Seriously though, the best combination of location, hours and wifi I've found is Seattle's Best Coffee in Borders Books in the Westfield San Francisco Centre. Open until 10 PM, with free wifi. 845 Market Street, between 4t

Re: [sage-devel] Linbox complains GMP is not installed on Solaris 10 (64-bit mode)

2010-01-14 Thread Willem Jan Palenstijn
On Thu, Jan 14, 2010 at 09:27:53AM +, Dr. David Kirkby wrote: > I tried a 64-bit build of Sage on a Sun Blade 2000 SPARC workstation > running Solaris 10. I don't know if linbox is only looking for GMP in > /usr and /usr/local, which is semi-implied below. But for whatever > reason, it decid

[sage-devel] Linbox complains GMP is not installed on Solaris 10 (64-bit mode)

2010-01-14 Thread Dr. David Kirkby
I tried a 64-bit build of Sage on a Sun Blade 2000 SPARC workstation running Solaris 10. I don't know if linbox is only looking for GMP in /usr and /usr/local, which is semi-implied below. But for whatever reason, it decides it can't find a suitable GMP. checking size of int... 4 checking f

[sage-devel] Sage talk for AMS meeting

2010-01-14 Thread William Stein
Hi, I've posted the slides for my Sage talk for the AMS meeting here: http://www.wstein.org/talks/2010-01-14-ams/ I'm cross-posting this to sage-nt, since the talk(s) are oriented toward number theory. -- William -- William Stein Associate Professor of Mathematics University of Washington