[sage-devel] Complex Coercion Error or User Error?

2010-02-05 Thread kstueve
I am using the following function from Tomas Oliveira e Silva (converted by myself into Python). See http://trac.sagemath.org/sage_trac/ticket/8135 from math import log # # computation of li(x^{1/2+I t})+li(x^{1/2-I t}) # # li(x^\rho) = x^\rho/u*(1+1/u+2!/u^2+3!/u^3+...), # with \rho=1/2+it and

[sage-devel] Re: Error building v4.3.1 on Fedora 12 (32-bit)

2010-02-05 Thread Gokhan Sever
I have forgotten to note these are same errors I got from the v4.3.1.alpha0 as I reported at http://trac.sagemath.org/sage_trac/ticket/7773 On Feb 5, 6:59 pm, Gokhan Sever wrote: > After make test: > > The following tests failed: > >         sage -t  "devel/sage/sage/modules/free_module.py" # Seg

[sage-devel] Re: Compiling Sage 4.3.1 on Mac OS X 10.6.2 fails

2010-02-05 Thread Bill Hart
Yep, we missed it. Thanks. This is actually caused by Sage not using MPIR 1.4.0. (or possibly 1.3.2 if we decide to issue a service release to fix this particular problem). OP is running now anyhow. See MPIR ticket #282. Bill. On Feb 5, 10:11 pm, mhampton wrote: > I'm just bumping this up becau

[sage-devel] Re: Compiling Sage 4.3.1 on Mac OS X 10.6.2 fails

2010-02-05 Thread asd1815
I contacted the mpir mailing-list and Bill Hart in private. We have work around for the compilation. I believe they will add a fix in the next release of mpir. On Feb 5, 5:11 pm, mhampton wrote: > I'm just bumping this up because I think the people who can figure it > out might have missed it. >

Re: [sage-devel] How can I show the translated doc in notebook server?

2010-02-05 Thread Dan Drake
On Fri, 05 Feb 2010 at 09:07AM -0800, Pat LeSmithe wrote: > We should find a better solution --- a server option, perhaps? > Unfortunately, I don't know the status of the notebook i18n and L10n > efforts. I was working a bit on this, but ran into a problem with the notebook not using Unicode inter

[sage-devel] Mozilla ends Firefox support for Mac OS Tiger in 2011

2010-02-05 Thread Minh Nguyen
Hi folks, A recent news item: Mozilla announces that it would end support for Firefox on Mac OS X 10.4 some time in 2011. See the following URL for more details: http://www.linuxworld.com/news/2010/020510-mozilla-ends-firefox-support-for.html -- Regards Minh Van Nguyen -- To post to this grou

[sage-devel] Re: Error building v4.3.1 on Fedora 12 (32-bit)

2010-02-05 Thread Gokhan Sever
After make test: The following tests failed: sage -t "devel/sage/sage/modules/free_module.py" # Segfault sage -t "devel/sage/sage/coding/code_constructions.py" # Segfault sage -t "devel/sage/sage/coding/linear_code.py" # Segfault sage -t "devel/sage/sage/group

[sage-devel] Re: Compiling Sage 4.3.1 on Mac OS X 10.6.2 fails

2010-02-05 Thread mhampton
I'm just bumping this up because I think the people who can figure it out might have missed it. -M. Hampton On Feb 3, 6:53 pm, asd1815 wrote: > I just tried to compile from source to get a 32-bit version running on > my laptop. > > I have: > > $gcc -v > Using built-in specs. > Target: i686-apple

[sage-devel] Re: Error building v4.3.1 on Fedora 12 (32-bit)

2010-02-05 Thread Gokhan Sever
On Feb 5, 3:29 pm, Jaap Spies wrote: > Gokhan Sever wrote: > > > On Jan 24, 10:59 am, gsever  wrote: > >> Hello, > > >> Am I getting the similar error of FC12 (i686) binaries not pushed in > >> the download section? > > >> [gse...@ccn sage-4.3.1]$ uname -a > >> Linux ccn 2.6.31.9-174.fc12.i686.P

Re: [sage-devel] Re: Where is the log file for the tests kept?

2010-02-05 Thread Dr. David Kirkby
William Stein wrote: On Fri, Feb 5, 2010 at 10:51 AM, Dr. David Kirkby There used to be a lot file created automatically, called test.log. I don't know what has happened to it. "sage -t " never ever creates a log file and never has. "make test" and "make testlong" always creates a logfile.

[sage-devel] Re: Error building v4.3.1 on Fedora 12 (32-bit)

2010-02-05 Thread Jaap Spies
Gokhan Sever wrote: On Jan 24, 10:59 am, gsever wrote: Hello, Am I getting the similar error of FC12 (i686) binaries not pushed in the download section? [gse...@ccn sage-4.3.1]$ uname -a Linux ccn 2.6.31.9-174.fc12.i686.PAE #1 SMP Mon Dec 21 06:04:56 UTC 2009 i686 i686 i386 GNU/Linux [gse.

[sage-devel] Re: Error building v4.3.1 on Fedora 12 (32-bit)

2010-02-05 Thread Gokhan Sever
On Jan 24, 10:59 am, gsever wrote: > Hello, > > Am I getting the similar error of FC12 (i686) binaries not pushed in > the download section? > > [gse...@ccn sage-4.3.1]$ uname -a > Linux ccn 2.6.31.9-174.fc12.i686.PAE #1 SMP Mon Dec 21 06:04:56 UTC > 2009 i686 i686 i386 GNU/Linux > > [gse...@ccn

Re: [sage-devel] "check=False" can be too sloppy!

2010-02-05 Thread John Cremona
>> I did not know that was potentially expensive.  If so, let the code be >> as it is -- but then whenever a function has a "check-False" option >> the exact correct input should be documented.  Which it is NOT at > > Yes, I strongly agree with this.  Please open a trac ticket.  We can > even inclu

[sage-devel] Re: Where is the log file for the tests kept?

2010-02-05 Thread Jaap Spies
Dr. David Kirkby wrote: If I run ./sage -t devel where is the log file kept? In particular, where is it kept if you use a global install of Sage, and so don't have write access to any directories under $SAGE_ROOT? just do ./sage -t devel 2>&1 | tee /tmp/testdevel.log or so. Jaap I seem

[sage-devel] ANN: mpmath 0.14 released

2010-02-05 Thread Fredrik Johansson
Hi all, Version 0.14 of mpmath is now available on the website: http://code.google.com/p/mpmath/ It can also be downloaded from the Python Package Index: http://pypi.python.org/pypi/mpmath/0.14 Mpmath is a pure-Python library for arbitrary-precision floating-point arithmetic that implements an e

Re: [sage-devel] Re: Where is the log file for the tests kept?

2010-02-05 Thread William Stein
On Fri, Feb 5, 2010 at 10:51 AM, Dr. David Kirkby wrote: > Nils Bruin wrote: >> >> On Feb 5, 8:24 am, "Dr. David Kirkby" wrote: >>> >>> If I run >>> >>> ./sage -t devel >>> >>> where is the log file kept? In particular, where is it kept if you use a >>> global >>> install of Sage, and so don't ha

Re: [sage-devel] Re: Life's a Beach: Google Summer of Code and the Abelian Sandpile Model

2010-02-05 Thread Mike Hansen
On Fri, Feb 5, 2010 at 11:45 AM, YannLC wrote: > Is this sandpile stuff going to be in Sage somehow? It might be worth > asking the author. > > http://people.reed.edu/~davidp/sand/sage/sage.html Here's the ticket: http://trac.sagemath.org/sage_trac/ticket/7453 --Mike -- To post to this group,

[sage-devel] Re: Life's a Beach: Google Summer of Code and the Abelian Sandpile Model

2010-02-05 Thread YannLC
Is this sandpile stuff going to be in Sage somehow? It might be worth asking the author. http://people.reed.edu/~davidp/sand/sage/sage.html On Feb 5, 7:44 pm, David Joyner wrote: > Interesting. Thanks for this link Harald. > > On Fri, Feb 5, 2010 at 12:44 PM, Harald Schilly > > wrote: > > Life'

[sage-devel] Re: Rips complex in Sage?

2010-02-05 Thread Jaap Spies
Harald Schilly wrote: On Feb 5, 6:59 pm, kcrisman wrote: This should be put on the experimental page (Harald?) because it installed fine. Ok, together with a short description text, ... but ... On Feb 5, 7:51 pm, Jaap Spies wrote: Last year I made a lot of experimental packages. They didn'

[sage-devel] Re: Rips complex in Sage?

2010-02-05 Thread Harald Schilly
On Feb 5, 6:59 pm, kcrisman wrote: > This should be put on the experimental page (Harald?) because it > installed fine. Ok, together with a short description text, ... but ... On Feb 5, 7:51 pm, Jaap Spies wrote: > Last year I made a lot of experimental packages. They didn't made it in > for se

Re: [sage-devel] Re: Where is the log file for the tests kept?

2010-02-05 Thread Dr. David Kirkby
Nils Bruin wrote: On Feb 5, 8:24 am, "Dr. David Kirkby" wrote: If I run ./sage -t devel where is the log file kept? In particular, where is it kept if you use a global install of Sage, and so don't have write access to any directories under $SAGE_ROOT? I do ./sage -t devel > /my/testlog/dir

[sage-devel] Re: Rips complex in Sage?

2010-02-05 Thread Jaap Spies
kcrisman wrote: On Feb 5, 5:47 am, Jaap Spies wrote: kcrisman wrote: It also says it needs Cmake Cmake 2.4.8 is actually a current experimental spkg, but Dionysos says it needs 2.6 or above. You can find one here:http://boxen.math.washington.edu/home/jsp/cmake-2.6.2.spkg This should

Re: [sage-devel] Life's a Beach: Google Summer of Code and the Abelian Sandpile Model

2010-02-05 Thread David Joyner
Interesting. Thanks for this link Harald. On Fri, Feb 5, 2010 at 12:44 PM, Harald Schilly wrote: > Life's a Beach: Google Summer of Code and the Abelian Sandpile Model > > """... and an interface to the free open-source mathematical software, > Sage, in particular with David Perkinson's Sage San

[sage-devel] Re: Rips complex in Sage?

2010-02-05 Thread kcrisman
On Feb 5, 5:47 am, Jaap Spies wrote: > kcrisman wrote: > > >> It also says it needs Cmake > > > Cmake 2.4.8 is actually a current experimental spkg, but Dionysos says > > it needs 2.6 or above. > > You can find one > here:http://boxen.math.washington.edu/home/jsp/cmake-2.6.2.spkg This should b

Re: [sage-devel] "check=False" can be too sloppy!

2010-02-05 Thread William Stein
On Fri, Feb 5, 2010 at 9:10 AM, John Cremona wrote: > On 5 February 2010 16:18, William Stein wrote: >> On Fri, Feb 5, 2010 at 8:12 AM, John Cremona wrote: >>> Here's the explanation.  I had thought that check=False just stops the >>> check that the equations are satisfied (I posted an examples

[sage-devel] Re: Where is the log file for the tests kept?

2010-02-05 Thread Nils Bruin
On Feb 5, 8:24 am, "Dr. David Kirkby" wrote: > If I run > > ./sage -t devel > > where is the log file kept? In particular, where is it kept if you use a > global > install of Sage, and so don't have write access to any directories under > $SAGE_ROOT? I do ./sage -t devel > /my/testlog/dir/test.l

[sage-devel] Life's a Beach: Google Summer of Code and the Abelian Sandpile Model

2010-02-05 Thread Harald Schilly
Life's a Beach: Google Summer of Code and the Abelian Sandpile Model """... and an interface to the free open-source mathematical software, Sage, in particular with David Perkinson's Sage Sandpiles software.""" http://google-opensource.blogspot.com/2010/02/lifes-beach-google-summer-of-code-and.ht

Re: [sage-devel] Re: Opening a .sws file

2010-02-05 Thread Ivan Andrus
I don't think it would actually be that hard to add to the Mac Application (though I haven't tried it) if there were such a command. To my knowledge however there is not–I asked a few months ago. It would be nice if there were a way to do this. I won't have time to work on this for a while,

Re: [sage-devel] "check=False" can be too sloppy!

2010-02-05 Thread John Cremona
On 5 February 2010 16:18, William Stein wrote: > On Fri, Feb 5, 2010 at 8:12 AM, John Cremona wrote: >> Here's the explanation.  I had thought that check=False just stops the >> check that the equations are satisfied (I posted an examples where >> there were no equations which perhaps hid my poin

Re: [sage-devel] How can I show the translated doc in notebook server?

2010-02-05 Thread Pat LeSmithe
On 02/05/2010 08:33 AM, NoSyu wrote: > I copied from SAGEROOT/devel/sage/doc/en folder to SAGEROOT/devel/sage/ > doc/ko to make Korean version. > > Then translating the index.rst file and edit SAGEROOT/devel/sage/doc/ > common/builder.py file like this. > But When I build the doc and start the not

[sage-devel] How can I show the translated doc in notebook server?

2010-02-05 Thread NoSyu
Hello. I copied from SAGEROOT/devel/sage/doc/en folder to SAGEROOT/devel/sage/ doc/ko to make Korean version. Then translating the index.rst file and edit SAGEROOT/devel/sage/doc/ common/builder.py file like this. LANGUAGES = ['en', 'fr', 'ko'] class DocBuilder(object): def __init__(self,

[sage-devel] Where is the log file for the tests kept?

2010-02-05 Thread Dr. David Kirkby
If I run ./sage -t devel where is the log file kept? In particular, where is it kept if you use a global install of Sage, and so don't have write access to any directories under $SAGE_ROOT? I seem to have spent a lot of time running tests, and have no record of the result, which is annoyin

[sage-devel] U.S. Scientists Given Access to Cloud Computing (NY Times)

2010-02-05 Thread kstueve
U.S. Scientists Given Access to Cloud Computing New York Times, Feb. 4, 2010 The National Science Foundation and the Microsoft Corporation have agreed to offer American scientific researchers free access to the company's new cloud computing service. Ed Lazowska, a University of Washington compu

Re: [sage-devel] Strange test failures

2010-02-05 Thread Dr. David Kirkby
Dr. David Kirkby wrote: I get some strange test failures on Solaris. The correct result is issued, but a warning is given, which might indicate the test could be better written, but I don't know what is intended. Ignore these, i just realised these were from an older version of Sage. Dave --

Re: [sage-devel] "check=False" can be too sloppy!

2010-02-05 Thread William Stein
On Fri, Feb 5, 2010 at 8:12 AM, John Cremona wrote: > Here's the explanation.  I had thought that check=False just stops the > check that the equations are satisfied (I posted an examples where > there were no equations which perhaps hid my point;  I found this > while constructing points on a cur

Re: [sage-devel] "check=False" can be too sloppy!

2010-02-05 Thread John Cremona
Here's the explanation. I had thought that check=False just stops the check that the equations are satisfied (I posted an examples where there were no equations which perhaps hid my point; I found this while constructing points on a curve in P^2). But in fact it checks nothing at all. All I wou

Re: [sage-devel] "check=False" can be too sloppy!

2010-02-05 Thread William Stein
On Fri, Feb 5, 2010 at 6:44 AM, John Cremona wrote: > First example, nothing unexpected.  Note that P is created with a > tuple and Q with a list. > > sage: P2 = ProjectiveSpace(GF(2),2) > sage: P = P2.point((0,0,1)) > sage: Q = P2.point([0,0,1]) > sage: P > (0 : 0 : 1) > sage: Q > (0 : 0 : 1) > s

[sage-devel] Strange test failures

2010-02-05 Thread Dr. David Kirkby
I get some strange test failures on Solaris. The correct result is issued, but a warning is given, which might indicate the test could be better written, but I don't know what is intended. sage -t "devel/sage/sage/modules/vector_modn_sparse_c.pxi" [17.2 s] Expected: 0.0 Got:

Re: [sage-devel] iconv license - a bit of a mixup

2010-02-05 Thread Dr. David Kirkby
Willem Jan Palenstijn wrote: On Fri, Feb 05, 2010 at 11:00:00AM +, Dr. David Kirkby wrote: As indicated in the thread "4.3.2.rc0 failing on Solaris as R needs iconv" we now need to add iconv. This is ticket http://trac.sagemath.org/sage_trac/ticket/8191 This should also help resolve the i

[sage-devel] Re: OT: CPLEX anyone?

2010-02-05 Thread Ed
I wanted to add that the Gurobi Optimizer is a high-end LP and MIP solver whose command-line interface is through Python (Sage actually provided inspiration for our interface). I'm guessing it would be fairly easy to call Gurobi from Sage, although I haven't tried it myself. Gurobi is free for a

[sage-devel] "check=False" can be too sloppy!

2010-02-05 Thread John Cremona
First example, nothing unexpected. Note that P is created with a tuple and Q with a list. sage: P2 = ProjectiveSpace(GF(2),2) sage: P = P2.point((0,0,1)) sage: Q = P2.point([0,0,1]) sage: P (0 : 0 : 1) sage: Q (0 : 0 : 1) sage: P==Q True sage: P._coords [0, 0, 1] sage: Q._coords [0, 0, 1] Now t

Re: [sage-devel] Re: Sage 4.3.0.1.alpha3 released for SPARC Solaris 10 (t2.math with GCC)

2010-02-05 Thread Dr. David Kirkby
John H Palmieri wrote: On Feb 3, 11:33 pm, Dr David Kirkby wrote: Than you for finding this error John. It's strange, I never se this on Solaris myself, though William says he has seen it before on Linux. IHopefully, this bug can be squashed, though it is not as serious as the one which is stop

Re: [sage-devel] Sage 4.3.0.1.alpha1 released for SPARC Solaris 10 (t2.math with GCC)

2010-02-05 Thread Dr. David Kirkby
Minh Nguyen wrote: Hi David, On Thu, Feb 4, 2010 at 6:38 AM, Dr. David Kirkby wrote: I'd like to find the source, and see if I can work out what went wrong between alpha2 and alpha3, and find out what is causing this kpsewhich error. See this directory: http://boxen.math.washington.edu/h

[sage-devel] Re: Opening a .sws file

2010-02-05 Thread kcrisman
This is a good enough idea that I'm forwarding it to sage-devel (maybe it even already works?). In principle this could also be done with the current (optional) Mac app, but would require some nontrivial work with app bundle preferences and this sort of command. - kcrisman On Feb 4, 9:41 pm, Osc

Re: [sage-devel] Re: element_wrapper.py: Sage 4.3.2.alpha1 segfault on Mac OS X 10.6.2

2010-02-05 Thread Robert Bradshaw
On Feb 5, 2010, at 2:44 AM, Craig Citro wrote: If this is confirmed, I don't mind using a more sane parent for the tests. On the other hand, getting a segfault with an (admittedly ill) piece of pure Python code is not good. Could any expert of the arcanes of Integer comparison have a look?

Re: [sage-devel] iconv license - a bit of a mixup

2010-02-05 Thread Willem Jan Palenstijn
On Fri, Feb 05, 2010 at 11:00:00AM +, Dr. David Kirkby wrote: > As indicated in the thread "4.3.2.rc0 failing on Solaris as R needs > iconv" we now need to add iconv. This is ticket > > http://trac.sagemath.org/sage_trac/ticket/8191 > > This should also help resolve the issue at > > http://tra

[sage-devel] iconv license - a bit of a mixup

2010-02-05 Thread Dr. David Kirkby
As indicated in the thread "4.3.2.rc0 failing on Solaris as R needs iconv" we now need to add iconv. This is ticket http://trac.sagemath.org/sage_trac/ticket/8191 This should also help resolve the issue at http://trac.sagemath.org/sage_trac/ticket/7319 which is Cygwin issue. I downloaded ico

[sage-devel] matrix pattern classes

2010-02-05 Thread Jason Grout
(Sending again, since it doesn't seem to have gone through the first time.) I'm working on a small class for representing sign matrices, which are matrices having -1 or 1 entries which represent the class of real matrices having the same sign pattern. These show up in communication complexity

[sage-devel] Re: Rips complex in Sage?

2010-02-05 Thread Jaap Spies
kcrisman wrote: It also says it needs Cmake Cmake 2.4.8 is actually a current experimental spkg, but Dionysos says it needs 2.6 or above. You can find one here: http://boxen.math.washington.edu/home/jsp/cmake-2.6.2.spkg Jaap -- To post to this group, send an email to sage-devel@googleg

[sage-devel] matrix pattern classes

2010-02-05 Thread Jason Grout
I'm working on a small class for representing sign matrices, which are matrices having -1 or 1 entries which represent the class of real matrices having the same sign pattern. These show up in communication complexity, for example. At other times, I've wanted to deal with matrices having spec

[sage-devel] Re: syntax highlighting in the notebook

2010-02-05 Thread Jason Grout
On 02/04/2010 03:56 PM, Maurizio wrote: Maybe I should not talk because I have no idea on how CodeMirror and BeSpin work, but I would say that I'd think more than twice before choosing CodeMirror instead of BeSpin, for this reason: 1) BeSpin is anyway sponsored (or at least hosted) by Mozilla, wh

Re: [sage-devel] 4.3.2.rc0 failing on Solaris as R needs iconv.

2010-02-05 Thread Dr. David Kirkby
Minh Nguyen wrote: Hi David, On Fri, Feb 5, 2010 at 12:29 PM, Dr. David Kirkby wrote: Should I reopen #3381 for this, or create a new bug report? Please open a new ticket. A golden rule is to refrain from re-opening a ticket that is already closed. OK, I've opened http://trac.sagemath

[sage-devel] Re: element_wrapper.py: Sage 4.3.2.alpha1 segfault on Mac OS X 10.6.2

2010-02-05 Thread Craig Citro
> If this is confirmed, I don't mind using a more sane parent for the > tests. On the other hand, getting a segfault with an (admittedly ill) > piece of pure Python code is not good. Could any expert of the arcanes > of Integer comparison have a look? > Yep, using ZZ as a parent for something whic

[sage-devel] Re: GR package

2010-02-05 Thread javier
Some people in my dept. use Cadabra, a CAS developed with field-theory in mind (i.e. lots of tensors): http://cadabra.phi-sci.com/index.html I have no experience with it so cannot advise on its usability. However, it's written in C++ and released under GPL2, so ideally could be wrapped up in Sage.

[sage-devel] Re: Sage 4.3.0.1.alpha3 released for SPARC Solaris 10 (t2.math with GCC)

2010-02-05 Thread Dr David Kirkby
On 5 Feb, 04:07, John H Palmieri wrote: > On Feb 3, 11:33 pm, Dr David Kirkby wrote: > > > > > Than you for finding this error John. It's strange, I never se this on > > Solaris myself, though William says he has seen it before on Linux. > > IHopefully, this bug can be squashed, though it is no