[sage-devel] Re: mathematica advertising

2009-04-07 Thread Stan Schymanski
Funny, I must be receiving a lot fewer adds than everybody else. If I type "sagemath" into Google, I get no adds whatsoever, if I type "sage math" I get one add saying: "Sage Math Looking for Sage Math? Find almost everything on eBay!" As expected, when I click on the link, Ebay returns 0 item

[sage-devel] Speed/doc issues in ZZ

2009-04-07 Thread Bill Hart
I've been looking through the methods for ZZ with a view to doing a Magma/Sage comparison for marketing purposes. I've been noticing a few issues as I go. There's going to be lots of these, so I think I should give my list in small blocks. I can file trac tickets for them once someone verifies tha

[sage-devel] Re: Error on jsmath()

2009-04-07 Thread mabshoff
On Apr 7, 10:43 pm, William Stein wrote: > On Tue, Apr 7, 2009 at 8:21 PM, Strav wrote: > > Thanks! > > This was fixed by John Palmieri recently.  See > >  http://trac.sagemath.org/sage_trac/ticket/5636 > > and > >  http://trac.sagemath.org/sage_trac/ticket/5638 > > William And by the way:

[sage-devel] Re: Divisors

2009-04-07 Thread Robert Bradshaw
On Apr 7, 2009, at 10:26 PM, Bill Hart wrote: > > William didn't mention the context of this, which is that for small > integers most of the time taken by the divisors method in ZZ is taken > up with factoring. It seems much more likely people will use small > numbers as inputs to this, so this i

[sage-devel] Re: Error on jsmath()

2009-04-07 Thread William Stein
On Tue, Apr 7, 2009 at 8:21 PM, Strav wrote: > > (Not certain if I should report this bug here) > > For sage version: 3.0.5dfsg-3 I get the following error when trying to > run, as is, the jsmath example included in the docs. (note that I do > have all the jsmath packages and fonts installed) > >

[sage-devel] Re: Divisors

2009-04-07 Thread Bill Hart
William didn't mention the context of this, which is that for small integers most of the time taken by the divisors method in ZZ is taken up with factoring. It seems much more likely people will use small numbers as inputs to this, so this is a shame, given the amount of work that (I hear) went in

[sage-devel] Error on jsmath()

2009-04-07 Thread Strav
(Not certain if I should report this bug here) For sage version: 3.0.5dfsg-3 I get the following error when trying to run, as is, the jsmath example included in the docs. (note that I do have all the jsmath packages and fonts installed) sage: f = maxima('1/(x^2+1)') sage: jsmath(f)

[sage-devel] Re: Sage 3.4.1.rc1 released

2009-04-07 Thread mabshoff
On Apr 7, 10:11 pm, "Justin C. Walker" wrote: > Hi, Michael, Hi Justin, > > That one is fixed. I am surprised you did not get the mosky failure, > > but I suspected if you did a -ba you would hit it. > > Ha!  I just (well, a while back) did './sage -ba' and then >       ./sage -t devel/sage

[sage-devel] Re: Divisors

2009-04-07 Thread Bill Hart
Proof won't make a difference on the numbers I'm using, which are less than 1,000,000. Pari does the same thing for proving primality below about 10^13 or something like that, whether proved or not (the pseudoprimality test it uses is known to have no counterexample). By the way, the FLINT functio

[sage-devel] Re: Sage 3.4.1.rc1 released

2009-04-07 Thread Justin C. Walker
Hi, Michael, On Apr 7, 2009, at 17:40 , mabshoff wrote: > On Apr 7, 3:27 pm, "Justin C. Walker" wrote: >> On Apr 6, 2009, at 14:42 , mabshoff wrote: >>> here goes 3.4.1.rc1. This is actually a release that will build on >>> OSX >>> unlike 3.4.1.rc0. >> [snip] >>> You can upgrade to 3.4.1.rc1 b

[sage-devel] Re: moinmoin in sage

2009-04-07 Thread mabshoff
On Apr 7, 9:52 pm, William Stein wrote: > On Tue, Apr 7, 2009 at 8:30 PM, Alex Ghitza wrote: > Moinmoin in Sage is still stuck at the version from 3 years ago, which > doesn't even support textcha's.  When the new moinmoin is put into > sage... whenever that is (!?), then it should support

[sage-devel] Re: Divisors

2009-04-07 Thread Robert Bradshaw
On Apr 7, 2009, at 9:49 PM, William Stein wrote: > > On Tue, Apr 7, 2009 at 9:24 PM, Bill Hart > wrote: >> The reason it runs slow is a.factor() is bizarrely slow in Sage. It's >> like a factor of 50 times slower than Pari. > > There are some differences: >(1) pari's factor is *not* prova

[sage-devel] Re: moinmoin in sage

2009-04-07 Thread William Stein
On Tue, Apr 7, 2009 at 8:30 PM, Alex Ghitza wrote: > > Hi, > > It's pretty nifty to have MoinMoin packaged in Sage so you have a wiki > practically at your fingertips.  It's also neat that it comes with > jsmath enabled.  Would it be possible to go one more step in the > direction of user-friendl

[sage-devel] Re: Divisors

2009-04-07 Thread William Stein
On Tue, Apr 7, 2009 at 9:24 PM, Bill Hart wrote: > The reason it runs slow is a.factor() is bizarrely slow in Sage. It's > like a factor of 50 times slower than Pari. There are some differences: (1) pari's factor is *not* provably correct, but Sage's is. [That said, this will make no differe

[sage-devel] moinmoin in sage

2009-04-07 Thread Alex Ghitza
Hi, It's pretty nifty to have MoinMoin packaged in Sage so you have a wiki practically at your fingertips. It's also neat that it comes with jsmath enabled. Would it be possible to go one more step in the direction of user-friendliness and have it come with textcha's enabled by default? (Just

[sage-devel] Tricki, a Wiki for problem-solving techniques

2009-04-07 Thread Pat LeSmithe
In case there's interest... Tim Gowers' Tricki is now pre-live: http://prelive.tricki.org/ . Here's a description from the current main page: "Welcome to a brand new Wiki-style site that is intended to develop into a large store of useful mathematical problem-solving techniques. Some of these

[sage-devel] Re: Sage 3.4.1.rc1 released

2009-04-07 Thread mabshoff
On Apr 7, 5:37 pm, Alex Ghitza wrote: Hi Alex, > I upgraded from rc0 on four different machines running 32-bit > Archlinux.  Testing fails on three files: > >         sage -t  "devel/sage/sage/structure/sage_object.pyx" See the comment about that regarding Jaap which had the same problem. Th

[sage-devel] Re: Sage 3.4.1.rc1 released

2009-04-07 Thread mabshoff
On Apr 7, 3:27 pm, "Justin C. Walker" wrote: > On Apr 6, 2009, at 14:42 , mabshoff wrote: Hi Justin, > > here goes 3.4.1.rc1. This is actually a release that will build on OSX > > unlike 3.4.1.rc0. > [snip] > > You can upgrade to 3.4.1.rc1 by running > > > ./sage > > -upgradehttp://sage.math

[sage-devel] Re: Sage 3.4.1.rc1 released

2009-04-07 Thread Alex Ghitza
I upgraded from rc0 on four different machines running 32-bit Archlinux. Testing fails on three files: sage -t "devel/sage/sage/structure/sage_object.pyx" sage -t "devel/sage/sage/algebras/quaternion_algebra_element.py" sage -t "devel/sage/sage/combinat/words/words.py"

[sage-devel] Re: Sage 3.4.1.rc1 released

2009-04-07 Thread Justin C. Walker
On Apr 6, 2009, at 14:42 , mabshoff wrote: > here goes 3.4.1.rc1. This is actually a release that will build on OSX > unlike 3.4.1.rc0. [snip] > You can upgrade to 3.4.1.rc1 by running > > ./sage -upgrade > http://sage.math.washington.edu/home/mabshoff/release-cycles-3.4.1/sage-3.4.1.rc1/ > > S

[sage-devel] Re: jsmath problems in notebook

2009-04-07 Thread Brian Granger
I did that, restarted Sage and my Browser. The ugly message has gone away, but I still don't see pretty equations ;-( Is there something else I need to do? Brian On Tue, Apr 7, 2009 at 2:17 PM, William Stein wrote: > > On Tue, Apr 7, 2009 at 12:55 PM, Brian Granger > wrote: >> >> Hi, >> >>

[sage-devel] Re: jsmath problems in notebook

2009-04-07 Thread Ondrej Certik
On Tue, Apr 7, 2009 at 2:17 PM, William Stein wrote: > > On Tue, Apr 7, 2009 at 12:55 PM, Brian Granger > wrote: >> >> Hi, >> >> I am using Sage 3.2.3 on my Mac (localhost notebook server).  When I >> load a notebook that has latex in it I get: >> >> "It looks like jsMath failed to set up prope

[sage-devel] Re: jsmath problems in notebook

2009-04-07 Thread William Stein
On Tue, Apr 7, 2009 at 12:55 PM, Brian Granger wrote: > > Hi, > > I am using Sage 3.2.3 on my Mac (localhost notebook server).  When I > load a notebook that has latex in it I get: > > "It looks like jsMath failed to set up properly (error code -7). > I will try to keep going, but it could get ug

[sage-devel] Re: jsmath problems in notebook

2009-04-07 Thread Ondrej Certik
On Tue, Apr 7, 2009 at 12:55 PM, Brian Granger wrote: > > Hi, > > I am using Sage 3.2.3 on my Mac (localhost notebook server).  When I > load a notebook that has latex in it I get: > > "It looks like jsMath failed to set up properly (error code -7). > I will try to keep going, but it could get ug

[sage-devel] Re: Notebook problem with sympy

2009-04-07 Thread Brian Granger
> That seems awfully complicated.  How about (untested): > > sage_python = python > from sympy import * > python = sage_python > > or (even shorter, and still untested): > > from sympy import * > restore('python') Sure these may work, but in my mind they are temporary hacks. > The %whatever synt

[sage-devel] Re: Notebook problem with sympy

2009-04-07 Thread Ondrej Certik
On Tue, Apr 7, 2009 at 1:26 PM, Carl Witty wrote: > > On Tue, Apr 7, 2009 at 12:16 PM, Brian Granger > wrote: >> >> Ahh, that makes sense.  It is the sympy.python thing that causes the >> problem.  This hack seems to work fix the issue in the notebook: >> >> import sympy >> sympy.sage_python =

[sage-devel] Re: Notebook problem with sympy

2009-04-07 Thread Carl Witty
On Tue, Apr 7, 2009 at 12:16 PM, Brian Granger wrote: > > Ahh, that makes sense.  It is the sympy.python thing that causes the > problem.  This hack seems to work fix the issue in the notebook: > > import sympy > sympy.sage_python = sympy.python > del sympy.python > from sympy import * > > But an

[sage-devel] Re: Notebook problem with sympy

2009-04-07 Thread Ondrej Certik
On Tue, Apr 7, 2009 at 12:16 PM, Brian Granger wrote: > > Ahh, that makes sense.  It is the sympy.python thing that causes the > problem.  This hack seems to work fix the issue in the notebook: > > import sympy > sympy.sage_python = sympy.python > del sympy.python > from sympy import * > > But an

[sage-devel] jsmath problems in notebook

2009-04-07 Thread Brian Granger
Hi, I am using Sage 3.2.3 on my Mac (localhost notebook server). When I load a notebook that has latex in it I get: "It looks like jsMath failed to set up properly (error code -7). I will try to keep going, but it could get ugly." The thing that is odd is that when I load a notebook from the s

[sage-devel] Re: Notebook problem with sympy

2009-04-07 Thread Brian Granger
Ahh, that makes sense. It is the sympy.python thing that causes the problem. This hack seems to work fix the issue in the notebook: import sympy sympy.sage_python = sympy.python del sympy.python from sympy import * But any code in sympy that uses sympy.python will now fail. Really this is a b

[sage-devel] Re: Notebook problem with sympy

2009-04-07 Thread Ondrej Certik
On Tue, Apr 7, 2009 at 11:01 AM, Brian Granger wrote: > > Hi, > > I am using the sage 3.2.3 notebook.  I am using it in python mode and > am having trouble with sympy: > > from sympy import * > x = var('x') > > Traceback (most recent call last): >  File "", line 1, in >  File "/Users/bgranger/.s

[sage-devel] Re: LaTex representation for SymbolicFunctionEvaluation

2009-04-07 Thread Robert Bradshaw
On Apr 7, 2009, at 8:48 AM, Golam Mortuza Hossain wrote: > Hi, > > > I will be happy to hear any issues that you may find > in it, before I open a ticket for this enhancement. I've only been marginally following this issue (thanks for all your work on it BTW) but typically it's better to creat

[sage-devel] Re: 3.4.1.alpha0 notebook traceback doesn't work

2009-04-07 Thread Brian Granger
I just independently found this bug (I just posted to the list). The problem seems to be with the line: from sympy import * line that both of us are using in python mode. Brian On Fri, Apr 3, 2009 at 8:11 AM, Ondrej Certik wrote: > > On Fri, Apr 3, 2009 at 8:04 AM, William Stein wrote: >> >

[sage-devel] Notebook problem with sympy

2009-04-07 Thread Brian Granger
Hi, I am using the sage 3.2.3 notebook. I am using it in python mode and am having trouble with sympy: from sympy import * x = var('x') Traceback (most recent call last): File "", line 1, in File "/Users/bgranger/.sage/sage_notebook/worksheets/admin/1/code/9.py", line 6, in print _su

[sage-devel] Re: Sage 3.4.1.rc1 released

2009-04-07 Thread Jaap Spies
William Stein wrote: > > sage -t -long "devel/sage/sage/schemes/elliptic_curves/monsky_washnitzer.py" > ** > File > "/Users/was/build/sage-3.4.1.rc1/devel/sage/sage/schemes/elliptic_curves/monsky_washnitzer.py", > line 1562: >

[sage-devel] Re: Sage 3.4.1.rc1 released

2009-04-07 Thread William Stein
On Mon, Apr 6, 2009 at 2:42 PM, mabshoff wrote: > > Ok, > > here goes 3.4.1.rc1. This is actually a release that will build on OSX > unlike 3.4.1.rc0. I also merged a couple other patches I had wanted in > 3.4.1, but had barely missed rc0. Note that due to 3.4.1 having taken > nearly a months the

[sage-devel] Re: Sage 3.4.1.rc1 released

2009-04-07 Thread William Stein
On Tue, Apr 7, 2009 at 6:56 AM, John Cremona wrote: > > Built fine on 64-bit Suse linux;  one test failed the first time and > then passed: > > The following tests failed: > > >        sage -t  "devel/sage/sage/interfaces/sage0.py" > Total time for all tests: 2846.3 seconds > Please see /home/jec

[sage-devel] Re: Mathematica Home Edition - not available for Solairs.

2009-04-07 Thread William Stein
On Tue, Apr 7, 2009 at 7:38 AM, Dr. David Kirkby wrote: > > It's interesting the lower cost version of Mathematica is available > for every platform except Solaris. From reading the Solaris > newsgroups, there are several who intend complaining about that to > Wolfram Research. I've also heard r

[sage-devel] Re: LaTex representation for SymbolicFunctionEvaluation

2009-04-07 Thread Golam Mortuza Hossain
Hi, On Wed, Apr 1, 2009 at 10:11 PM, Jason Grout wrote: > >> Should I submit patches for each of these functions >> separately? > > I think one patch covering all of the functions would be fine.  It's one > logical issue. ... So here goes the patch to enhance the typesetting capability of symbo

[sage-devel] Re: mathematica advertising

2009-04-07 Thread Jason Bandlow
kcrisman wrote: > >> How clever is Google? Perhaps they argue: >> - "On the Sage pages, we frequently find the phrase 'viable open >> source alternative to Mathematica' (or something in that spirit)" >> - Hence, Mathematica is relevant to Sage. >> - Hence, if people search for Sage, it makes s

[sage-devel] Mathematica Home Edition - not available for Solairs.

2009-04-07 Thread Dr. David Kirkby
It's interesting the lower cost version of Mathematica is available for every platform except Solaris. From reading the Solaris newsgroups, there are several who intend complaining about that to Wolfram Research. Sticking 'Mathematica Solaris' into Google brings up no sponsored links. Top hit it

[sage-devel] Re: mathematica advertising

2009-04-07 Thread kcrisman
> How clever is Google? Perhaps they argue: >  - "On the Sage pages, we frequently find the phrase 'viable open > source alternative to Mathematica' (or something in that spirit)" >  - Hence, Mathematica is relevant to Sage. >  - Hence, if people search for Sage, it makes sense to show them a > M

[sage-devel] Re: mathematica advertising

2009-04-07 Thread simon . king
Hi All! On 7 Apr., 05:45, Harald Schilly wrote: > 1. the reason why it comes up for "sage math" but not for "math" alone > is, simply because a search for "math" is too unspecific and all > others in the pool bidding for this word are selected. indeed, with a > very low probability you will see

[sage-devel] Re: mathematica advertising

2009-04-07 Thread Dr. David Kirkby
On Apr 7, 10:45 am, Harald Schilly wrote: > Hi, I've some experience with google advertising, and my answer is to > that questions no! > > 1. the reason why it comes up for "sage math" but not for "math" alone > is, simply because a search for "math" is too unspecific and all > others in the pool

[sage-devel] Re: Sage 3.4.1.rc1 released

2009-04-07 Thread John Cremona
Built fine on 64-bit Suse linux; one test failed the first time and then passed: The following tests failed: sage -t "devel/sage/sage/interfaces/sage0.py" Total time for all tests: 2846.3 seconds Please see /home/jec/sage-3.4.1.rc1/tmp/test.log for the complete log from this test. j..

[sage-devel] Re: mathematica advertising

2009-04-07 Thread john_perry_usm
On Apr 6, 11:10 pm, William Stein wrote: > I think it is *highly* likely they did, since it is the *only* ad, it > is for the cheapest version of Mathematica, and that ad doesn't come > up for searches for "math". I'm directed to the home version at $295, and the regular student version is $139.

[sage-devel] Re: mathematica advertising

2009-04-07 Thread Harald Schilly
Hi, I've some experience with google advertising, and my answer is to that questions no! 1. the reason why it comes up for "sage math" but not for "math" alone is, simply because a search for "math" is too unspecific and all others in the pool bidding for this word are selected. indeed, with a ve

[sage-devel] Sage 3.4.1.rc1 on OSX 10.6

2009-04-07 Thread mabshoff
Hello folks, I spend the evening fixing OSX 10.6 build bugs in Sage since we want to be ready once it is release in a couple months. Since I am running a development snapshot on my laptop I figured it would be good to have a working Sage again locally. It only takes a couple patches to get Sage t