[sage-devel] p-adics: ticket #5778

2009-05-01 Thread David Roe
Hey all, There's a set of patches needing review. It brings doctest coverage of the p-adics folder from 28.3% to 100%, restructures the files so that the directory is less cluttered, deletes a number of files (some due to the restructuring, some getting rid of lazy p-adics which are currently not

[sage-devel] Re: p-adics: ticket #5778

2009-05-01 Thread mabshoff
On Apr 30, 11:38 pm, David Roe r...@math.harvard.edu wrote: Hey all, There's a set of patches needing review.  It brings doctest coverage of the p-adics folder from 28.3% to 100%, restructures the files so that the directory is less cluttered, deletes a number of files (some due to the

[sage-devel] Re: sigsegv in show() command

2009-05-01 Thread mabshoff
On Apr 30, 10:19 pm, William Stein wst...@gmail.com wrote: On Thu, Apr 30, 2009 at 10:15 PM, mabshoff mabsh...@googlemail.com wrote: SNIP I think figsize is meant as a scaling factor since otherwise there is no way you can exceed 2^15 as a limit of the png size :) I think figsize is

[sage-devel] Re: Sage 3.4.2.rc0 release!

2009-05-01 Thread Jaap Spies
Jaap Spies wrote: mabshoff wrote: Hello folks, Now doing a fresh install on this machine. On this fresh install first success, followed by the failure: SAGE build/upgrade complete! [j...@paix sage-3.4.2.rc0]$ ./sage -t devel/sage/sage/matrix/matrix_symbolic_dense.pyx sage -t

[sage-devel] Re: Sage 3.4.2.rc0 release!

2009-05-01 Thread mabshoff
On May 1, 12:05 am, Jaap Spies j.sp...@hccnet.nl wrote: Jaap Spies wrote: mabshoff wrote: Hello folks, Now doing a fresh install on this machine. Hi Jaap, On this fresh install first success, followed by the failure: SAGE build/upgrade complete! [j...@paix sage-3.4.2.rc0]$ ./sage

[sage-devel] Re: sigsegv in show() command

2009-05-01 Thread Minh Nguyen
On Fri, May 1, 2009 at 6:53 AM, mabshoff mabsh...@googlemail.com wrote: On Apr 30, 10:19 pm, William Stein wst...@gmail.com wrote: On Thu, Apr 30, 2009 at 10:15 PM, mabshoff mabsh...@googlemail.com wrote: SNIP I think figsize is meant as a scaling factor since otherwise there is no

[sage-devel] Re: Sage 3.4.2.rc0 release!

2009-05-01 Thread John Cremona
Three successful builds from scratch of 3.4.2.rc0 with all tests passing (32-bit ubuntu, 32-bit Suse and 64-bit ubuntu). John 2009/5/1 mabshoff mabsh...@googlemail.com: On May 1, 12:05 am, Jaap Spies j.sp...@hccnet.nl wrote: Jaap Spies wrote: mabshoff wrote: Hello folks, Now doing a

[sage-devel] Re: JavaScript Graph editor

2009-05-01 Thread Michel
I very much like the self organizing feature of the graphs on the applets on this page http://people.math.jussieu.fr/~keller/quivermutation/ Don't forget to check Live Quiver. It's like what GraphViz does but then in real time. Regards, Michel

[sage-devel] Re: 3.4.2-alpha0 - singular failure on Solaris - needs ncurses

2009-05-01 Thread Dr. David Kirkby
mabshoff wrote: g++ -O3 -g -fPIC -pipe -I. -I../kernel -I/usr/xpg4/include -I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include -I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include -fno-implicit-templates -DNDEBUG -DOM_NDEBUG -DSunOS_5 -DHAVE_CONFIG_H -DGENTABLE \ -o

[sage-devel] What's the build order of spkg files? How to fake one building?

2009-05-01 Thread Dr. David Kirkby
I have a couple of questions about the spkg files. I assume this is documented somewhere, and I'm sure I've been told before, but I can't find the posts. 1) In what order are the spgk files built? I assume there is a file somewhere which has this. 2) I believe its possible to get Sage to

[sage-devel] Re: 3.4.2-alpha0 - singular failure on Solaris - needs ncurses

2009-05-01 Thread mabshoff
On May 1, 1:26 am, Dr. David Kirkby david.kir...@onetel.net wrote: mabshoff wrote: \SNIP Hi, I removed ncurses and Singular did build. BUT, I am a bit puzzled, as even before doing this, it appeared the Sage build failed at some other point (forget which, but I'm not sure if it was

[sage-devel] Re: What's the build order of spkg files? How to fake one building?

2009-05-01 Thread mabshoff
On May 1, 1:29 am, Dr. David Kirkby david.kir...@onetel.net wrote: I have a couple of questions about the spkg files. I assume this is documented somewhere, and I'm sure I've been told before, but I can't find the posts. 1) In what order are the spgk files built? I assume there is a file

[sage-devel] Sage 3.4.2.alpha0 failure of clisp on Solaris.

2009-05-01 Thread Dr. David Kirkby
Somewhat confused by the way Sage appeared to have failed at two different points before, I decided to delete all the sage directory and start again. This time, the Solaris tool chain had the right paths in before I started. So the process on my Sun Blade 2000, with Solaris 10 update 6, was

[sage-devel] Re: What's the build order of spkg files? How to fake one building?

2009-05-01 Thread Dr. David Kirkby
On May 1, 9:40 am, mabshoff mabsh...@googlemail.com wrote: On May 1, 1:29 am, Dr. David Kirkby david.kir...@onetel.net wrote: I have a couple of questions about the spkg files. I assume this is documented somewhere, and I'm sure I've been told before, but I can't find the posts. 1) In

[sage-devel] Re: Sage 3.4.2.alpha0 failure of clisp on Solaris.

2009-05-01 Thread mabshoff
On May 1, 1:53 am, Dr. David Kirkby david.kir...@onetel.net wrote: Somewhat confused by the way Sage appeared to have failed at two different points before, I decided to delete all the sage directory and start again. This time, the Solaris tool chain had the right paths in before I started.

[sage-devel] Re: Sage 3.4.2.rc0 release!

2009-05-01 Thread mabshoff
On May 1, 12:13 am, mabshoff mabsh...@googlemail.com wrote: On May 1, 12:05 am, Jaap Spies j.sp...@hccnet.nl wrote: SNIP SAGE build/upgrade complete! [j...@paix sage-3.4.2.rc0]$ ./sage -t   devel/sage/sage/matrix/matrix_symbolic_dense.pyx sage -t  

[sage-devel] Re: Wolfram Alpha and Google (Trendalyzer)

2009-05-01 Thread Jason Grout
Marshall Hampton wrote: I too have founds bugs by reading code that I've written - usually, very early on in the development process. Note that I'm talking in the context of result verification, however. That is, when I publish a paper that depends on computations, it is incumbent upon

[sage-devel] Re: Sage 3.4.2.alpha0 failure of clisp on Solaris.

2009-05-01 Thread Dr. David Kirkby
mabshoff wrote: Any clisp release I ever tried to build on Sparc is basically broken with anything later than gcc 3.2.3. There was a thread on clisp-devel about this and it boils down to tthe following: * the clisp people know which file miscompiles * the file is *huge*, ergo the gcc

[sage-devel] Re: Sage 3.4.2.alpha0 failure of clisp on Solaris.

2009-05-01 Thread mabshoff
On May 1, 2:36 am, Dr. David Kirkby david.kir...@onetel.net wrote: mabshoff wrote: Any clisp release I ever tried to build on Sparc is basically broken with anything later than gcc 3.2.3. There was a thread on clisp-devel about this and it boils down to tthe following:  * the clisp

[sage-devel] Re: Sage 3.4.2.rc0 release!

2009-05-01 Thread Alex Ghitza
For the record, I'm also getting this on an older laptop running 32-bit arch linux. Alex Ahhh, I jinxed myself. On a 32 bit FC10 box:        sage -t -long devel/sage/sage/matrix/ matrix_symbolic_dense.pyx Total time for all tests: 11440.3 seconds [mabsh...@cicero

[sage-devel] Re: Sage 3.4.2.rc0 release!

2009-05-01 Thread Kiran Kedlaya
Clean build on 64-bit Fedora 10 (Opteron) fails one doctest: sage -t devel/sage/sage/sets/primes.py ** File /opt/sage/sage-3.4.2.rc0/devel/sage/sage/sets/primes.py, line 80: sage: Px^2+x Expected: True Got: False

[sage-devel] Re: Sage 3.4.2.rc0 release!

2009-05-01 Thread mabshoff
On May 1, 6:54 am, Kiran Kedlaya ksk...@gmail.com wrote: Clean build on 64-bit Fedora 10 (Opteron) fails one doctest: Hi Kiran, sage -t  devel/sage/sage/sets/primes.py ** File

[sage-devel] Re: Sage 3.4.2.rc0 release!

2009-05-01 Thread mabshoff
On May 1, 5:25 am, Alex Ghitza aghi...@gmail.com wrote: For the record, I'm also getting this on an older laptop running 32-bit arch linux. Thanks, I have seen this no on Linux for x86, x86-64 as well as Itanium, so we ought to get a handle on this today. It is now #5957. Alex Cheers,

[sage-devel] Re: Sage 3.4.2.rc0 release!

2009-05-01 Thread kcrisman
    sage: Px^2+x Expected:     True Got:     False Yes, I just added that test to show that Primes() has comparison. I was a little surprised to see the result, but it passed testing, so... If someone posts a ticket with a suggested fix that makes Primes() greater than everything, I

[sage-devel] Re: Sage 3.4.2.rc0 release!

2009-05-01 Thread mabshoff
On May 1, 7:38 am, kcrisman kcris...@gmail.com wrote:     sage: Px^2+x Expected:     True Got:     False Yes, I just added that test to show that Primes() has comparison.  I was a little surprised to see the result, but it passed testing, so... If someone posts a ticket with

[sage-devel] Re: Sage 3.4.2.rc0 release!

2009-05-01 Thread Jason Grout
mabshoff wrote: On May 1, 7:38 am, kcrisman kcris...@gmail.com wrote: sage: Px^2+x Expected: True Got: False Yes, I just added that test to show that Primes() has comparison. I was a little surprised to see the result, but it passed testing, so... If someone posts a

[sage-devel] Re: sage and symbolic software design

2009-05-01 Thread rjf
On Apr 30, 8:15 am, William Stein wst...@gmail.com wrote: I would be quite interested in seeing a defense of this idea, because, to me, it seems like quite a bad notion. Replacing Maxima (which is [being treated as..] free/open) with another [free/open] package, yet to be

[sage-devel] Re: Wolfram Alpha and Google (Trendalyzer)

2009-05-01 Thread rjf
The argument (specious, probably) is that if the compiler is open- source as well as the library, the operating system code etc, then an industrious person could try to verify all this. It is often said that Testing can only demonstrate the presence of a bug, not its absence. BUT I think it

[sage-devel] Re: JavaScript Graph editor

2009-05-01 Thread Fidel
Hello Rado! Very nice editor! :-) I was thinking of maybe being able to export to another format to be able to get drawings as well. A LaTeX package for drawing graphs that I like very much is tkz-graph, http://altermundus.com/pages/graph.html which is built on top of TikZ. I was playing

[sage-devel] Re: sage and symbolic software design

2009-05-01 Thread Gonzalo Tornaria
On Fri, May 1, 2009 at 12:17 PM, rjf fate...@gmail.com wrote:  Few people have a deep background (e.g. graduate level math) and are also well educated in computer science.  I'm not sure what the reasons are, but it is true generally of graduate students (in math) at Berkeley.  Few graduate

[sage-devel] Re: sage and symbolic software design

2009-05-01 Thread William Stein
On Fri, May 1, 2009 at 8:17 AM, rjf fate...@gmail.com wrote: On Apr 30, 8:15 am, William Stein wst...@gmail.com wrote: I would be quite interested in seeing a defense of this idea, because, to me, it seems like quite a bad notion. Replacing Maxima (which is [being treated

[sage-devel] Re: [ANN] sage-mode-0.5.3

2009-05-01 Thread Nicolas M. Thiery
Hi Nick, For information: zephyr-/opt/sagesage -f sage-mode-0.5.4.spkg Force installing sage-mode-0.5.4.spkg ... Attempting to download it. http://www.sagemath.org//packages/optional/sage-mode-0.5.4.spkg -- sage-mode-0.5.4.spkg [ ]

[sage-devel] Re: Wolfram Alpha and Google (Trendalyzer)

2009-05-01 Thread Brian Granger
Personally, I think it is important to have access to source code. I do in fact read the source code of Sage (and many other projects) often. However, many people with whom I speak (user's of Matlab and Mathematica) don't feel this is important. Their logic goes something like this... I have

[sage-devel] Re: Wolfram Alpha and Google (Trendalyzer)

2009-05-01 Thread William Stein
On Fri, May 1, 2009 at 10:32 AM, Brian Granger ellisonbg@gmail.com wrote: Personally, I think it is important to have access to source code.  I do in fact read the source code of Sage (and many other projects) often.  However, many people with whom I speak (user's of Matlab and

[sage-devel] Re: JavaScript Graph editor

2009-05-01 Thread Rob Beezer
On May 1, 9:38 am, Fidel fidel.barr...@gmail.com wrote: I was thinking of maybe being able to export to another format to be able to get drawings as well. A LaTeX package for drawing graphs that I like very much is tkz-graph, Hi Fidel, Thanks for the information on all of this - those

[sage-devel] Re: Wolfram Alpha and Google (Trendalyzer)

2009-05-01 Thread Ondrej Certik
On Fri, May 1, 2009 at 10:32 AM, Brian Granger ellisonbg@gmail.com wrote: Personally, I think it is important to have access to source code.  I do in fact read the source code of Sage (and many other projects) often.  However, many people with whom I speak (user's of Matlab and

[sage-devel] Re: Wolfram Alpha and Google (Trendalyzer)

2009-05-01 Thread William Stein
On Fri, May 1, 2009 at 10:57 AM, Ondrej Certik ond...@certik.cz wrote: On Fri, May 1, 2009 at 10:32 AM, Brian Granger ellisonbg@gmail.com wrote: Personally, I think it is important to have access to source code.  I do in fact read the source code of Sage (and many other projects)

[sage-devel] Re: Wolfram Alpha and Google (Trendalyzer)

2009-05-01 Thread Ondrej Certik
On Fri, May 1, 2009 at 11:22 AM, William Stein wst...@gmail.com wrote: On Fri, May 1, 2009 at 10:57 AM, Ondrej Certik ond...@certik.cz wrote: On Fri, May 1, 2009 at 10:32 AM, Brian Granger ellisonbg@gmail.com wrote: Personally, I think it is important to have access to source code.  I

[sage-devel] Re: Sage 3.4.2.rc0 release!

2009-05-01 Thread William Stein
On Fri, May 1, 2009 at 12:16 PM, Robert Bradshaw rober...@math.washington.edu wrote: On May 1, 2009, at 8:15 AM, kcrisman wrote: In the future of python, things that don't have a sensible order throw a TypeError when comparing:

[sage-devel] Re: Sage 3.4.2.rc0 release!

2009-05-01 Thread Marshall Hampton
All tests passed on my intel macbook running 10.5. -M. Hampton On Apr 30, 7:23 am, mabshoff mabsh...@googlemail.com wrote: Hello folks, here goes 3.4.2.rc0 - a little later than planned, but it seems like we fixed all the issues (and more) that needed to be fixed. We finally merged the

[sage-devel] Re: Wolfram Alpha and Google (Trendalyzer)

2009-05-01 Thread mark mcclure
There's a lovely little article in the February 2009 issue of the monthly on using integrals to approximate pi. The author discovers some nice rational approximations of pi by systmeatically searching through integrals of the form integrate( (x^m * (1 - x)^n * (a + b*x + c*x^2))/(1 + x^2),

[sage-devel] Re: C++ and Cython

2009-05-01 Thread Alexander Dreyer
Hello Robert, 1) Do you have any priorities for features you'd like to see sooner rather than later? 2) What would be *your* preferred syntax for declaring a templated, operator-overloading class in C++? I just wanted to mention, how easily C++ classes could be wrapped using boost::python.

[sage-devel] Re: [ANN] sage-mode-0.5.3

2009-05-01 Thread Alex Ghitza
Hi Nicolas, As far as I know, sage-mode is only available from the wiki right now. I downloaded the spkg locally from http://wiki.sagemath.org/sage-mode and now use it every time I upgrade my sage installation, by typing sage -f ~/Downloads/sage-mode-0.5.4.spkg (i.e. note that I need to give

[sage-devel] Re: Wolfram Alpha and Google (Trendalyzer)

2009-05-01 Thread rjf
The discussion has wandered off topic, but it seems to me that it is true that You Usually Do Not to Know about Internals. Otherwise you would not be able to use a computer or for that matter, drive a car. I do not find it insulting at all. If Wolfram said that he didn't show internal code

[sage-devel] Re: JavaScript Graph editor

2009-05-01 Thread Nicolas M. Thiery
On Fri, May 01, 2009 at 10:51:57AM -0700, Rob Beezer wrote: On May 1, 9:38 am, Fidel fidel.barr...@gmail.com wrote: I was thinking of maybe being able to export to another format to be able to get drawings as well. A LaTeX package for drawing graphs that I like very much is tkz-graph,

[sage-devel] Re: Sage 4.0 release plan ; categories

2009-05-01 Thread Nicolas M. Thiery
On Thu, Apr 30, 2009 at 04:24:31PM -0700, mabshoff wrote: But please: *keep me updated about any such change as soon as possible* so as to limit conflicts. Every late conflict resolution just delays even further the final merge. Seehttp://trac.sagemath.org/sage_trac/ticket/5887

[sage-devel] Re: Sage 3.4.2.rc0 release!

2009-05-01 Thread Robert Bradshaw
On May 1, 2009, at 2:29 PM, Nicolas M. Thiery wrote: On Fri, May 01, 2009 at 12:31:40PM -0700, William Stein wrote: On Fri, May 1, 2009 at 12:16 PM, Robert Bradshaw rober...@math.washington.edu wrote: On May 1, 2009, at 8:15 AM, kcrisman wrote: In the future of python, things that don't

[sage-devel] Re: Sage 4.0 release plan ; categories

2009-05-01 Thread Nicolas M. Thiery
On Thu, Apr 30, 2009 at 04:12:00PM -0700, mabshoff wrote: On Apr 25, 8:39 am, Nicolas M. Thiery nicolas.thi...@u-psud.fr Before posting the patch to trac, I'll split it up into:  - patch with all trivial import updates (the most invasive one)  - main patch with the category framework

[sage-devel] Re: Sage 3.4.2.rc0 release!

2009-05-01 Thread Nicolas M. Thiery
On Fri, May 01, 2009 at 12:31:40PM -0700, William Stein wrote: On Fri, May 1, 2009 at 12:16 PM, Robert Bradshaw rober...@math.washington.edu wrote: On May 1, 2009, at 8:15 AM, kcrisman wrote: In the future of python, things that don't have a sensible order throw a TypeError when

[sage-devel] Re: Wolfram Alpha and Google (Trendalyzer)

2009-05-01 Thread William Stein
On Fri, May 1, 2009 at 3:11 PM, rjf fate...@gmail.com wrote: If Wolfram said that he didn't show internal code because you were too stupid to do anything with it, that might be insulting. Even if it were true for the generic you, it would be insulting for some people. If he said that he

[sage-devel] find_minimum_on_interval and #2607

2009-05-01 Thread Thomas Savitsky
Hello all, I've noticed that the function find_minimum_on_interval makes no attempt to find the minimum on the interval as the documentation implies, but rather a local minimum. I imagine this may be a source of confusion for other new users as well. Rather than treating this as a bug, may I

[sage-devel] Re: find_minimum_on_interval and #2607

2009-05-01 Thread William Stein
On Fri, May 1, 2009 at 4:58 PM, Thomas Savitsky tjsavit...@gmail.com wrote: Hello all, I've noticed that the function find_minimum_on_interval makes no attempt to find the minimum on the interval as the documentation implies, but rather a local minimum.  I imagine this may be a source of

[sage-devel] Re: find_minimum_on_interval and #2607

2009-05-01 Thread Tim Lahey
On May 1, 2009, at 7:58 PM, Thomas Savitsky wrote: I looked into global optimizers, and scipy's anneal is not the answer. It gives poor results quite often. A better choice would be ASA, located at http://alumnus.caltech.edu/~ingber/#ASA Unfortunately, there are functions which give

[sage-devel] Re: find_minimum_on_interval and #2607

2009-05-01 Thread William Stein
On Fri, May 1, 2009 at 5:09 PM, Tim Lahey tim.la...@gmail.com wrote: On May 1, 2009, at 7:58 PM, Thomas Savitsky wrote: I looked into global optimizers, and scipy's anneal is not the answer.  It gives poor results quite often.  A better choice would be ASA, located at

[sage-devel] Re: sage and symbolic software design

2009-05-01 Thread rjf
On May 1, 10:07 am, William Stein wst...@gmail.com wrote: The short summary of the dozens of pages I've shown you before is:   * support for building lisp is poor This is an issue only because you insist that programs used in sage must be of the form that everyone needs to be able to

[sage-devel] NSF futures in comp alg conference: some comments

2009-05-01 Thread David Joyner
I thought some people on sage-devel might like a very quick view of some highlights of the conference http://www4.ncsu.edu/~kaltofen/NSF_WS_ECCAD09_Itinerary.html I think further details will appear on the webpage later. This is very incomplete - just a few thought I was able to jot down

[sage-devel] Sage 3.4 build problem on Mac OS X

2009-05-01 Thread Prabhu Ramachandran
Dear Sage developers, I tried to build Sage-3.4 on my intel macbook (Mac OS X 10.4.11). I have Xcode 2.5 installed and gcc-4.0.1. I downloaded the sage-3.4.tar, untarred it and ran make. I have macports installed so changed the PATH to remove anything from /opt. I also renamed /opt to

[sage-devel] Re: find_minimum_on_interval and #2607

2009-05-01 Thread Thomas Savitsky
On Fri, May 1, 2009 at 8:05 PM, William Stein wst...@gmail.com wrote: On Fri, May 1, 2009 at 4:58 PM, Thomas Savitsky tjsavit...@gmail.com wrote: Hello all, I've noticed that the function find_minimum_on_interval makes no attempt to find the minimum on the interval as the documentation