Re: [sage-devel] Randomised testing against Mathematica

2010-03-02 Thread Joshua Herman
Is there a mathematica test suite we could adapt or a standardized set of tests we could use? Maybe we could take the 100 most often used functions and make a test suite? LOOK ITS A SIGNATURE CLICK IF YOU DARE--- http://www.google.com/profiles/zitterbewegung On Wed, Mar 3, 2010 at 12:04

Re: [sage-devel] Randomised testing against Mathematica

2010-03-02 Thread Nick Alexander
On 2-Mar-10, at 10:04 PM, David Kirkby wrote: Has anyone ever considered randomised testing of Sage against Mathematica? Randomised? No. But I have tested my code for computing theta functions against all of Mathematica, Maple, and Magma -- curiously, the three rarely agreed. Nick -

[sage-devel] wrapping fortran libraries in an spkg

2010-03-02 Thread Jason Grout
I couldn't find any good spline routines in Sage for constructing simple splines with given boundary conditions (are there any? There are some spline routines in scipy, but not what I was looking for). So I found one of the standard routines on netlib and used that inside of a %fortran cell i

[sage-devel] Randomised testing against Mathematica

2010-03-02 Thread David Kirkby
Has anyone ever considered randomised testing of Sage against Mathematica? As long as the result is either a) True or False b) An integer then comparison should be very easy. As a dead simple example, 1) Generate a large random number n. 2) Use is_prime(n) in Sage to determine if n is prime or

Re: [sage-devel] Re: Vote on bugs to be fixed for sage-4.4 "stabilization release".

2010-03-02 Thread Dr. David Kirkby
Dr. David Kirkby wrote: Dtrace might be a very useful tool to find out what is using the time up. Dtrace was developed by Sun, but Apple use it on OS X. I believe Apple have wrapped it in a GUI called 'Instruments'. I should point out that * You need to be root to use Dtrace * I'm not awar

Re: [sage-devel] Re: Vote on bugs to be fixed for sage-4.4 "stabilization release".

2010-03-02 Thread Dr. David Kirkby
William Stein wrote: By the way, OS X 10.6 was a major new release of OS X, and the big claim that Jobs made when announcing it was: "no new features!" Marketing comes into play a lot here. I think there were good reasons, because 10.5 was highly criticised as buggy. It was all about opt

Re: [sage-devel] Re: sqlite - update to the latest release

2010-03-02 Thread Dr. David Kirkby
Dima Pasechnik wrote: Dave, you ought to say at least how to get the new spkg Dima It was on the ticket, but as Ming has pointed out, it is at http://boxen.math.washington.edu/home/kirkby/Solaris-fixes/sqlite-3.6.22/sqlite-3.6.22.spkg Dave On Mar 3, 10:51 am, "Dr. David Kirkby" wrote: If

Re: [sage-devel] fractals in sage

2010-03-02 Thread Ondrej Certik
On Tue, Mar 2, 2010 at 5:28 PM, Dr. David Kirkby wrote: > William Stein wrote: >> >> Hi, >> >> A student of mine is going to add to sage the capability of plotting >> lots and lots of fractals easily.  E.g., >> >>   sage: fractals.[tab] >>   lots of stuff >> >>   sage: fractals.julia([params]).sho

Re: [sage-devel] Re: sqlite - update to the latest release

2010-03-02 Thread Minh Nguyen
Hi Dima, On Wed, Mar 3, 2010 at 2:03 PM, Dima Pasechnik wrote: > Dave, > you ought to say at least how to get the new spkg >From any computer outside of the Sage cluster: $ wget http://boxen.math.washington.edu/home/kirkby/Solaris-fixes/sqlite-3.6.22/sqlite-3.6.22.spkg >From compute node with

[sage-devel] Re: sqlite - update to the latest release

2010-03-02 Thread Dima Pasechnik
Dave, you ought to say at least how to get the new spkg Dima On Mar 3, 10:51 am, "Dr. David Kirkby" wrote: > If anyone has a minute, I would appreciate a review of > > http://trac.sagemath.org/sage_trac/ticket/8408 > > which is a simple update to the latest stable sqlite release. (There is one >

Re: [sage-devel] Re: How do I add Mercurial patches before Sage built?

2010-03-02 Thread Minh Nguyen
Hi Dima, On Wed, Mar 3, 2010 at 1:58 PM, Dima Pasechnik wrote: > perhaps it's a good idea to have these things added to > http://wiki.sagemath.org/MercurialQueues Be my guest. Feel free to do so. -- Regards Minh Van Nguyen -- To post to this group, send an email to sage-devel@googlegroups.co

[sage-devel] Re: How do I add Mercurial patches before Sage built?

2010-03-02 Thread Dima Pasechnik
perhaps it's a good idea to have these things added to http://wiki.sagemath.org/MercurialQueues On Mar 3, 9:24 am, Minh Nguyen wrote: > Hi David, > > On Wed, Mar 3, 2010 at 12:17 PM, Dr. David Kirkby > > wrote: > > > > > 'qimport' reports no issues, but 'qfinish -a' tells me there are no patche

[sage-devel] sqlite - update to the latest release

2010-03-02 Thread Dr. David Kirkby
If anyone has a minute, I would appreciate a review of http://trac.sagemath.org/sage_trac/ticket/8408 which is a simple update to the latest stable sqlite release. (There is one minor change to spkg-install, which tests for SAGE64 being only "yes" and not "yes" or "1" as previously the case.)

Re: [sage-devel] Re: Vote on bugs to be fixed for sage-4.4 "stabilization release".

2010-03-02 Thread William Stein
On Tue, Mar 2, 2010 at 2:42 PM, David Kirkby wrote: > On 2 March 2010 19:01, Robert Bradshaw wrote: > >> Just a thought, would knocking out this important list of bugs be a good >> goal for Sage 5.0? >> >> - Robert > > It is certainly unusual the way Sage version numbers go. In just about > any o

Re: [sage-devel] summary of doctest failures in Mandriva cooker sagemath 4.3.3 package

2010-03-02 Thread Paulo César Pereira de Andrade
2010/3/2 François Bissey : >>   Hi, >> >>   Some are known problems due to using different versions of certain >> packages, example: >> >> -%<- >> File "/usr/share/sage/devel/doc/en/numerical_sage/cvxopt.rst", line 57: >>     sage: print(A) >> Expected: >>     SIZE: (5,5) >>         (0, 0)  2.e

Re: [sage-devel] Update upstream version. Patch levels starts at p0 ???

2010-03-02 Thread William Stein
On Tue, Mar 2, 2010 at 3:37 PM, David Kirkby wrote: > On 2 March 2010 14:50, William Stein wrote: >> On Tue, Mar 2, 2010 at 6:43 AM, Minh Nguyen wrote: > >> What you wrote is already amazingly crystal clear and of course >> matches exactly with what I do anyways (which is probably what you >> we

Re: [sage-devel] Re: fractals in sage

2010-03-02 Thread William Stein
On Tue, Mar 2, 2010 at 2:25 PM, Harald Schilly wrote: > On Mar 2, 8:15 pm, William Stein wrote: >> A student of mine is going to add to sage the capability of plotting >> lots and lots of fractals easily. > > That sounds exiting, are there also plans to implement "discrete" > fractals? (combinat.

Re: [sage-devel] How do I add Mercurial patches before Sage built?

2010-03-02 Thread Dr. David Kirkby
Minh Nguyen wrote: Hi David, On Wed, Mar 3, 2010 at 12:17 PM, Dr. David Kirkby wrote: 'qimport' reports no issues, but 'qfinish -a' tells me there are no patches applied. I've verified that indeed the patches are not applied. Correction: (1) hg qimport /URL/or/patch/to/patch.path # get/

Re: [sage-devel] Ugly printing of basic maths

2010-03-02 Thread Dr. David Kirkby
Mike Hansen wrote: Hello, I've looked into it, and it's just and issue with the notebook stripping the initial spaces in the output string. For example, do for i in range(4): print maxima(1-sin(x)^2) and only the first output will be messed up. I would try upgrading the notebook to a new

Re: [sage-devel] fractals in sage

2010-03-02 Thread Dr. David Kirkby
William Stein wrote: Hi, A student of mine is going to add to sage the capability of plotting lots and lots of fractals easily. E.g., sage: fractals.[tab] lots of stuff sage: fractals.julia([params]).show(figsize=10) [up pops a julia set] The trac ticket where this starts is here

Re: [sage-devel] How do I add Mercurial patches before Sage built?

2010-03-02 Thread Minh Nguyen
Hi David, On Wed, Mar 3, 2010 at 12:17 PM, Dr. David Kirkby wrote: > 'qimport' reports no issues, but 'qfinish -a' tells me there are no patches > applied. I've verified that indeed the patches are not applied. Correction: (1) hg qimport /URL/or/patch/to/patch.path # get/download the patch

Re: [sage-devel] How do I add Mercurial patches before Sage built?

2010-03-02 Thread Dr. David Kirkby
Minh Nguyen wrote: Hi David, On Wed, Mar 3, 2010 at 7:03 AM, Dr. David Kirkby wrote: How can I apply those patches before starting to build Sage? At the point the tar file is extracted, I've no 'mercurial' package built, but I do have 'hg' installed on 't2'. Here, I assume you want to use

Re: [sage-devel] Ugly printing of basic maths

2010-03-02 Thread Mike Hansen
Hello, I've looked into it, and it's just and issue with the notebook stripping the initial spaces in the output string. For example, do for i in range(4): print maxima(1-sin(x)^2) and only the first output will be messed up. I would try upgrading the notebook to a newer version (since the

Re: [sage-devel] summary of doctest failures in Mandriva cooker sagemath 4.3.3 package

2010-03-02 Thread François Bissey
> Hi, > > Some are known problems due to using different versions of certain > packages, example: > > -%<- > File "/usr/share/sage/devel/doc/en/numerical_sage/cvxopt.rst", line 57: > sage: print(A) > Expected: > SIZE: (5,5) > (0, 0) 2.e+00 > (1, 0) 3.e+00 >

[sage-devel] Ugly printing of basic maths

2010-03-02 Thread Dr. David Kirkby
Taking one of the examples from the Sage tutorial, I see some pretty ugly printing when trying to use the "print" command from Maxima. Here is a screen shot as I see it in my browser. http://boxen.math.washington.edu/home/kirkby/ugly-maths.png Here is the published web page where I grabbed the

Re: [sage-devel] Re: ALL doctests pass on Solaris !!!

2010-03-02 Thread David Kirkby
On 2 March 2010 23:25, Minh Nguyen wrote: > On Wed, Mar 3, 2010 at 10:23 AM, David Kirkby wrote: >> I'm not sure if that would be called 'middle endian' or not! > > It should be called the "median" :-) > > -- > Regards > Minh Van Nguyen Only a mathematician could think of that ! -- To post to

Re: [sage-devel] Update upstream version. Patch levels starts at p0 ???

2010-03-02 Thread David Kirkby
On 2 March 2010 14:50, William Stein wrote: > On Tue, Mar 2, 2010 at 6:43 AM, Minh Nguyen wrote: > What you wrote is already amazingly crystal clear and of course > matches exactly with what I do anyways (which is probably what you > were recording there).  I just didn't know about it, and clear

Re: [sage-devel] Re: ALL doctests pass on Solaris !!!

2010-03-02 Thread Minh Nguyen
On Wed, Mar 3, 2010 at 10:23 AM, David Kirkby wrote: > I'm not sure if that would be called 'middle endian' or not! It should be called the "median" :-) -- Regards Minh Van Nguyen -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an em

Re: [sage-devel] Re: ALL doctests pass on Solaris !!!

2010-03-02 Thread David Kirkby
On 2 March 2010 19:44, Peter Jeremy wrote: > On 2010-Mar-01 14:42:38 +, "Dr. David Kirkby" > wrote: >>I've just succeeded in getting all doctests to pass on Solaris. > > Firstly, congratulations on this. > > On 2010-Mar-01 19:09:54 +, "Dr. David Kirkby" > wrote: >>There should be minor

[sage-devel] summary of doctest failures in Mandriva cooker sagemath 4.3.3 package

2010-03-02 Thread Paulo César Pereira de Andrade
Hi, Some are known problems due to using different versions of certain packages, example: -%<- File "/usr/share/sage/devel/doc/en/numerical_sage/cvxopt.rst", line 57: sage: print(A) Expected: SIZE: (5,5) (0, 0) 2.e+00 (1, 0) 3.e+00 (0, 1) 3.e+00

Re: [sage-devel] How do I add Mercurial patches before Sage built?

2010-03-02 Thread David Kirkby
On 2 March 2010 20:17, Robert Bradshaw wrote: > On Mar 2, 2010, at 12:03 PM, Dr. David Kirkby wrote: > >> I want to build Sage on 't2', and know I need to apply 3 Mercurial patches >> to the Sage library - two fix numerical noise issues, the other replaces >> 'top' by 'prstat'). >> >> http://trac.

Re: [sage-devel] How do I add Mercurial patches before Sage built?

2010-03-02 Thread David Kirkby
On 2 March 2010 20:32, Minh Nguyen wrote: > Hi David, > > On Wed, Mar 3, 2010 at 7:03 AM, Dr. David Kirkby > wrote: > > > >> How can I apply those patches before starting to build Sage? At the point >> the tar file is extracted, I've no 'mercurial' package built, but I do have >> 'hg' installed

Re: [sage-devel] Re: Vote on bugs to be fixed for sage-4.4 "stabilization release".

2010-03-02 Thread David Kirkby
On 2 March 2010 19:01, Robert Bradshaw wrote: > Just a thought, would knocking out this important list of bugs be a good > goal for Sage 5.0? > > - Robert It is certainly unusual the way Sage version numbers go. In just about any other software project Assuming the version is of the form X.Y.Z,

[sage-devel] Re: fractals in sage

2010-03-02 Thread Harald Schilly
On Mar 2, 8:15 pm, William Stein wrote: > A student of mine is going to add to sage the capability of plotting > lots and lots of fractals easily. That sounds exiting, are there also plans to implement "discrete" fractals? (combinat.WordMorphisms and word-paths and things like that?) http://www.

Re: [sage-combinat-devel] Re: [sage-devel] fractals in sage

2010-03-02 Thread Vincent Delecroix
2010/3/2 Florent Hivert : >      Hi William, > >> A student of mine is going to add to sage the capability of plotting >> lots and lots of fractals easily.  E.g., > [...] >> The point of this email: if you like plotting fractals, and have some >> potentially useful code to contribute, then please p

Re: [sage-devel] fractals in sage

2010-03-02 Thread Florent Hivert
Hi William, > A student of mine is going to add to sage the capability of plotting > lots and lots of fractals easily. E.g., [...] > The point of this email: if you like plotting fractals, and have some > potentially useful code to contribute, then please post to this thread > or http://tra

[sage-devel] Re: Vote on bugs to be fixed for sage-4.4 "stabilization release".

2010-03-02 Thread mhampton
How about that and 90% coverage? Or 85% if 90% is too ambitious. -Marshall On Mar 2, 1:01 pm, Robert Bradshaw wrote: > On Mar 1, 2010, at 4:26 AM, William Stein wrote: > > > > > Hi, > > > I've created this trac wiki page with a subset of the 10 most > > important current bug/issues in Sage, acc

[sage-devel] Re: fractals in sage

2010-03-02 Thread mhampton
Cool, I will try to contribute to this. It might be summertime before I do much, although I couldn't resist adding a little to the ticket already. -Marshall On Mar 2, 1:15 pm, William Stein wrote: > Hi, > > A student of mine is going to add to sage the capability of plotting > lots and lots of

Re: [sage-devel] How do I add Mercurial patches before Sage built?

2010-03-02 Thread Minh Nguyen
Hi David, On Wed, Mar 3, 2010 at 7:03 AM, Dr. David Kirkby wrote: > How can I apply those patches before starting to build Sage? At the point > the tar file is extracted, I've no 'mercurial' package built, but I do have > 'hg' installed on 't2'. Here, I assume you want to use the system-wide

Re: [sage-devel] How do I add Mercurial patches before Sage built?

2010-03-02 Thread Robert Bradshaw
On Mar 2, 2010, at 12:03 PM, Dr. David Kirkby wrote: I want to build Sage on 't2', and know I need to apply 3 Mercurial patches to the Sage library - two fix numerical noise issues, the other replaces 'top' by 'prstat'). http://trac.sagemath.org/sage_trac/ticket/8374 http://trac.sagemath.or

[sage-devel] How do I add Mercurial patches before Sage built?

2010-03-02 Thread Dr. David Kirkby
I want to build Sage on 't2', and know I need to apply 3 Mercurial patches to the Sage library - two fix numerical noise issues, the other replaces 'top' by 'prstat'). http://trac.sagemath.org/sage_trac/ticket/8374 http://trac.sagemath.org/sage_trac/ticket/8375 http://trac.sagemath.org/sage_tra

Re: [sage-devel] proposal to remove dsage from sage

2010-03-02 Thread Serge A. Salamanka
Dag Sverre Seljebotn wrote: > - For running on a real cluster, I believe the approach is wrong. Most > clusters used in academia is run by a professional support staff and > have a sophisticated setup for scheduling jobs. I'd never get DSage set > up correctly on my cluster without pestering a lo

Re: [sage-devel] Re: ALL doctests pass on Solaris !!!

2010-03-02 Thread Peter Jeremy
On 2010-Mar-01 14:42:38 +, "Dr. David Kirkby" wrote: >I've just succeeded in getting all doctests to pass on Solaris. Firstly, congratulations on this. On 2010-Mar-01 19:09:54 +, "Dr. David Kirkby" wrote: >There should be minor differences between Solaris 10 on SPARC and >Solaris 10 o

Re: [sage-devel] Re: Vote on bugs to be fixed for sage-4.4 "stabilization release".

2010-03-02 Thread William Stein
On Tue, Mar 2, 2010 at 11:01 AM, Robert Bradshaw wrote: > On Mar 1, 2010, at 4:26 AM, William Stein wrote: > >> Hi, >> >> I've created this trac wiki page with a subset of the 10 most >> important current bug/issues in Sage, according to votes in this >> thread: >> >>           http://trac.sagemat

[sage-devel] fractals in sage

2010-03-02 Thread William Stein
Hi, A student of mine is going to add to sage the capability of plotting lots and lots of fractals easily. E.g., sage: fractals.[tab] lots of stuff sage: fractals.julia([params]).show(figsize=10) [up pops a julia set] The trac ticket where this starts is here: http://trac.sagemath.

Re: [sage-devel] Re: Vote on bugs to be fixed for sage-4.4 "stabilization release".

2010-03-02 Thread Robert Bradshaw
On Mar 1, 2010, at 4:26 AM, William Stein wrote: Hi, I've created this trac wiki page with a subset of the 10 most important current bug/issues in Sage, according to votes in this thread: http://trac.sagemath.org/sage_trac/wiki/stab1 These are all bugs/issues that many people care

Re: [sage-devel] Re: ALL doctests pass on Solaris !!!

2010-03-02 Thread Dr. David Kirkby
Dima Pasechnik wrote: hmm, there are sparc solaris machines on skynet; they are much faster than t2... Thank you. That is useful to know. Do you know what is the fastest of the SPARC? I did have an account on there, but seem to have forgotten my password! I believe there is a Blade 2500. I do

[sage-devel] Re: Exhibit booth for 2011 joint meetings

2010-03-02 Thread Kiran Kedlaya
On a related note: between now and the 2011 JMM is this summer's International Congress. The information about exhibits is in a PDF downloadable from here: http://www.icm2010.com/exh_manual.asp The smallest booth (6 m^2) runs about $3000, plus $25/day for internet access. My guess is that there

[sage-devel] Re: Exhibit booth for 2011 joint meetings

2010-03-02 Thread mhampton
I've made a wiki page for this, at: http://wiki.sagemath.org/jmms2011 I took the liberty of adding Karl and Rob to the list, since they seemed pretty definitive about going. Anyone else who is interested in helping with the booth please sign up! The "call for exhibitors and sponsors" will be i

[sage-devel] Re: Questions and proposals for matrices

2010-03-02 Thread dagss
On Mar 2, 3:39 pm, "Dr. David Kirkby" wrote: > Dima Pasechnik wrote: > > I guess, this: > >http://trac.sagemath.org/sage_trac/ticket/7723 > > "I have not idea when I can get back to this at the moment. Basically > > what has happened is that I bit the bullet and implemented my own > > numerical ma

[sage-devel] logarithm of equations

2010-03-02 Thread ma...@mendelu.cz
Dear sage-devel Is there any reason to return log(a=b) instead of log(a)=log(b) when we use logarthm on equality? Adding numbers and multiplying numbers work in this way: [ma...@um-bc107 /opt]$ sage -- | Sage Version 4.3.3, Relea

Re: [sage-devel] Update upstream version. Patch levels starts at p0 ???

2010-03-02 Thread William Stein
On Tue, Mar 2, 2010 at 6:43 AM, Minh Nguyen wrote: > Hi David, > > On Wed, Mar 3, 2010 at 1:32 AM, Dr. David Kirkby > wrote: > > > >> Decide on something, document it, then us all use it. My own preference >> would be to use foobar.x.y.z when a new upstream release is used. Then when >> the firs

Re: [sage-devel] Update upstream version. Patch levels starts at p0 ???

2010-03-02 Thread Minh Nguyen
Hi David, On Wed, Mar 3, 2010 at 1:32 AM, Dr. David Kirkby wrote: > Decide on something, document it, then us all use it. My own preference > would be to use foobar.x.y.z when a new upstream release is used. Then when > the first patch is added, the package becomes foobar.x.y.z.p0. I thought

Re: [sage-devel] Re: Questions and proposals for matrices

2010-03-02 Thread Dr. David Kirkby
Dima Pasechnik wrote: I guess, this: http://trac.sagemath.org/sage_trac/ticket/7723 "I have not idea when I can get back to this at the moment. Basically what has happened is that I bit the bullet and implemented my own numerical matrix class hierarchy which is usable without Sage (but loosely mo

Re: [sage-devel] Update upstream version. Patch levels starts at p0 ???

2010-03-02 Thread William Stein
On Tue, Mar 2, 2010 at 6:32 AM, Dr. David Kirkby wrote: > William Stein wrote: > >>> I think you missed my point there. >>> >>> I was suggesting that if (for example) python 2.6.4.p7 was updated to >>> python >>> 2.6.5, that the patch level went from 7 to 8, so the new package would be >>> python-

Re: [sage-devel] Update upstream version. Patch levels starts at p0 ???

2010-03-02 Thread Dr. David Kirkby
William Stein wrote: I think you missed my point there. I was suggesting that if (for example) python 2.6.4.p7 was updated to python 2.6.5, that the patch level went from 7 to 8, so the new package would be python-2.6.5.p8. That way, the patch level gave us some idea of how often packages were

Re: [sage-devel] Re: Questions and proposals for matrices

2010-03-02 Thread Dag Sverre Seljebotn
Burcin Erocal wrote: Hi Dag, On Mon, 1 Mar 2010 23:55:17 -0800 (PST) dagss wrote: What I hope can happen: - The NumPy/SciPy world gets an object oriented matrix library (mine or something else). They won't be adopting Sage soon anyway. - Then, as a step 2, Sage gets a generic numerical

Re: [sage-devel] Update upstream version. Patch levels starts at p0 ???

2010-03-02 Thread William Stein
On Tue, Mar 2, 2010 at 3:22 AM, Dr. David Kirkby wrote: > William Stein wrote: > >>> In some ways, I think it would be better if the patch level was >>> incremented >>> every time a change of any sort was made to a package. One could then see >> >> That is what should definitely be done.  If it is