[sage-devel] SPKG example or best practices?

2009-12-18 Thread Dag Sverre Seljebotn
I'm working on an SPKG for SuiteSparse, which has a manually written build system (config.mk has commented out sections for typical BLAS settings on Linux, Mac, Solaris...that kind of thing). Is there an example of an SPKG for such a build system which works well on all platforms? Or a wiki page I

[sage-devel] Re: potential downtime

2009-12-18 Thread William Stein
On Fri, Dec 18, 2009 at 4:06 PM, William Stein wrote: > Hi, > > FYI: The downtime mentioned below is happening right now.  I've > installed the new 4TB local disk and am copying over the sagemath.org > virtual machine. > > > -- William I finished moving sagemath.org (and all wiki's, etc.) over.

[sage-devel] Re: potential downtime

2009-12-18 Thread William Stein
Hi, FYI: The downtime mentioned below is happening right now. I've installed the new 4TB local disk and am copying over the sagemath.org virtual machine. -- William On Fri, Dec 18, 2009 at 11:22 AM, William Stein wrote: > Hi, > > There will likely be about 1 hour of downtime this afternoon wh

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

2009-12-18 Thread YannLC
> > That said, it is probably reasonable to make your package standard. > > Yes, surely. That's why I suggested bringing the discussion here for > a vote. YannLC needs to make his case! Here comes my arguments: * it's useful for people working with small characteristic finite fields. (maybe ot

Re: [sage-devel] complex agm -- help needed with a cython patch

2009-12-18 Thread Robert Bradshaw
On Dec 18, 2009, at 2:42 PM, John Cremona wrote: > 2009/12/18 Robert Bradshaw : >> On Dec 18, 2009, at 2:20 PM, John Cremona wrote: >> >>> That looks brilliant. I think it would be fine to have the faster >>> version in unreadable mpfr provided that the "real" formula was >>> included as comments

Re: [sage-devel] factorization of special numbers

2009-12-18 Thread John Cremona
2009/12/18 William Stein : > On Fri, Dec 18, 2009 at 2:07 PM, YannLC wrote: >> Dear sage-devel, >> >> I made a small spkg in ticket #7239 which just received a positive >> review. >> Some apllications in #7240 are following the same way. >> >> The package contains the list of prime factors occurin

Re: [sage-devel] input: and output: in docstrings

2009-12-18 Thread William Stein
On Fri, Dec 18, 2009 at 2:45 PM, Robert Bradshaw wrote: >> On Tue, Dec 15, 2009 at 1:16 PM, William Stein >> wrote: >> Hi, >> >> It has been brought to my attention that many docstrings in Sage do >> not explicitly and clearly list their input and output in INPUT: and >> OUTPUT: blocks.   There a

Re: [sage-devel] input: and output: in docstrings

2009-12-18 Thread Robert Bradshaw
> On Tue, Dec 15, 2009 at 1:16 PM, William Stein > wrote: > Hi, > > It has been brought to my attention that many docstrings in Sage do > not explicitly and clearly list their input and output in INPUT: and > OUTPUT: blocks. There are only 2711 OUTPUT blocks and 4371 INPUT > blocks in sage-4.3

Re: [sage-devel] factorization of special numbers

2009-12-18 Thread William Stein
On Fri, Dec 18, 2009 at 2:07 PM, YannLC wrote: > Dear sage-devel, > > I made a small spkg in ticket #7239 which just received a positive > review. > Some apllications in #7240 are following the same way. > > The package contains the list of prime factors occuring in > numbers of the form p^k-1 wit

Re: [sage-devel] complex agm -- help needed with a cython patch

2009-12-18 Thread John Cremona
2009/12/18 Robert Bradshaw : > On Dec 18, 2009, at 2:20 PM, John Cremona wrote: > >> That looks brilliant.  I think it would be fine to have the faster >> version in unreadable mpfr provided that the "real" formula was >> included as comments. >> >> Robert, can you post some version of what you hav

Re: [sage-devel] complex agm -- help needed with a cython patch

2009-12-18 Thread Robert Bradshaw
On Dec 18, 2009, at 2:20 PM, John Cremona wrote: > That looks brilliant. I think it would be fine to have the faster > version in unreadable mpfr provided that the "real" formula was > included as comments. > > Robert, can you post some version of what you have so far so I can see > how you have

Re: [sage-devel] complex agm -- help needed with a cython patch

2009-12-18 Thread John Cremona
That looks brilliant. I think it would be fine to have the faster version in unreadable mpfr provided that the "real" formula was included as comments. Robert, can you post some version of what you have so far so I can see how you have made it faster? About principal vs. optimal. Neither are st

[sage-devel] factorization of special numbers

2009-12-18 Thread YannLC
Dear sage-devel, I made a small spkg in ticket #7239 which just received a positive review. Some apllications in #7240 are following the same way. The package contains the list of prime factors occuring in numbers of the form p^k-1 with p<13 and small k which can be useful e.g. for finite field s

Re: [sage-devel] Re: SPKG.txt -- package descriptions

2009-12-18 Thread William Stein
On Fri, Dec 18, 2009 at 12:23 PM, kcrisman wrote: > It's also worth noting that the linked list at > http://wiki.sagemath.org/Sage_Spkg_Tracking > has mabshoff listed as a joint maintainer of an awful lot of spkgs - > sometimes with William or others, but often alone. > > - kcrisman I've made th

Re: [sage-devel] complex agm -- help needed with a cython patch

2009-12-18 Thread William Stein
On Fri, Dec 18, 2009 at 1:48 PM, Robert Bradshaw wrote: > > On Dec 17, 2009, at 9:58 PM, William Stein wrote: > >> On Thu, Dec 17, 2009 at 9:35 PM, David Roe >> wrote: >>> Hey John, >>> I worked on it tonight, and I'm not sure how much you want to >>> optimize it. >>> Is a factor of 2 or 3 speedu

Re: [sage-devel] complex agm -- help needed with a cython patch

2009-12-18 Thread Robert Bradshaw
On Dec 17, 2009, at 9:58 PM, William Stein wrote: > On Thu, Dec 17, 2009 at 9:35 PM, David Roe > wrote: >> Hey John, >> I worked on it tonight, and I'm not sure how much you want to >> optimize it. >> Is a factor of 2 or 3 speedup worth making the code much less >> readable (I'd >> include

[sage-devel] Re: SPKG.txt -- package descriptions

2009-12-18 Thread mhampton
You are probably already aware of this, but the lrs package is still the old p0 version, not the p1 version which has a much better SPKG.txt. -Marshall On Dec 18, 1:47 pm, William Stein wrote: > Hi, > > I extended a script so that now the package lists at > >http://sagemath.org/download-pack

Re: [sage-devel] complex agm -- help needed with a cython patch

2009-12-18 Thread Robert Bradshaw
On Dec 18, 2009, at 4:21 AM, David Roe wrote: > I can easily see why it would be faster to do real arithmetic. I'll > include a corresponding function for the reals. There is one for the reals, and it's quite fast (calls mpfr_agm), though there is still some room for improvement in the wrapp

[sage-devel] Re: SPKG.txt -- package descriptions

2009-12-18 Thread Jason Grout
William Stein wrote: > On Fri, Dec 18, 2009 at 11:50 AM, Jason Grout > wrote: >> William Stein wrote: >>> Hi, >>> >>> I extended a script so that now the package lists at >>> >>>http://sagemath.org/download-packages.html >>> >>> list the == Description == section of the SPKG.txt to the right o

[sage-devel] Re: SPKG.txt -- package descriptions

2009-12-18 Thread kcrisman
It's also worth noting that the linked list at http://wiki.sagemath.org/Sage_Spkg_Tracking has mabshoff listed as a joint maintainer of an awful lot of spkgs - sometimes with William or others, but often alone. - kcrisman -- To post to this group, send an email to sage-devel@googlegroups.com To

Re: [sage-devel] Re: SPKG.txt -- package descriptions

2009-12-18 Thread John Cremona
I don't mind being blue but prefer to keep my initial! ohn 2009/12/18 William Stein : > On Fri, Dec 18, 2009 at 11:50 AM, Jason Grout > wrote: >> William Stein wrote: >>> Hi, >>> >>> I extended a script so that now the package lists at >>> >>>    http://sagemath.org/download-packages.html >>> >>

Re: [sage-devel] Re: SPKG.txt -- package descriptions

2009-12-18 Thread William Stein
On Fri, Dec 18, 2009 at 11:50 AM, Jason Grout wrote: > William Stein wrote: >> Hi, >> >> I extended a script so that now the package lists at >> >>    http://sagemath.org/download-packages.html >> >> list the == Description == section of the SPKG.txt to the right of the >> package, along with a li

[sage-devel] Re: SPKG.txt -- package descriptions

2009-12-18 Thread Jaap Spies
William Stein wrote: > Hi, > > I extended a script so that now the package lists at > > http://sagemath.org/download-packages.html > > list the == Description == section of the SPKG.txt to the right of the > package, along with a link to the full SPKG.txt. (The HTML isn't > pretty.) Doing so

Re: [sage-devel] Re: New license for Graphviz

2009-12-18 Thread Christopher Olah
Perhaps someone who has a better legal understanding of the issue should write? If no one else will, then I will, but... If you do, please make sure to cc sage-devel in, and ask that responses do the same. Maybe included a link to this thread, as well? On Thu, Dec 17, 2009 at 7:53 PM, William Ste

[sage-devel] Re: SPKG.txt -- package descriptions

2009-12-18 Thread Jason Grout
William Stein wrote: > Hi, > > I extended a script so that now the package lists at > >http://sagemath.org/download-packages.html > > list the == Description == section of the SPKG.txt to the right of the > package, along with a link to the full SPKG.txt. (The HTML isn't > pretty.) Doing

[sage-devel] SPKG.txt -- package descriptions

2009-12-18 Thread William Stein
Hi, I extended a script so that now the package lists at http://sagemath.org/download-packages.html list the == Description == section of the SPKG.txt to the right of the package, along with a link to the full SPKG.txt. (The HTML isn't pretty.) Doing so reveals that our SPKG.txt's are stil

[sage-devel] Re: first peak at update to Jmol in SAGE (3-D function plotting)...

2009-12-18 Thread Jason Grout
kcrisman wrote: > > On Dec 18, 12:36 pm, Jason Grout wrote: >> jason-s...@creativetrax.com wrote: >>> I'm CCing this to sage-devel. For Sage-devel people, the full thread >>> can be found here: >>> http://www.mail-archive.com/jmol-us...@lists.sourceforge.net/index.html >> Just an update on the J

[sage-devel] potential downtime

2009-12-18 Thread William Stein
Hi, There will likely be about 1 hour of downtime this afternoon while I copy the sagemath virtual machine from the NFS mount to a faster local disk. This will affect http://sagemath.org, http://wiki.sagemath.org, and other wiki's I host. It should *not* impact http://trac.sagemath.org or users

Re: [sage-devel] Re: Linking libraries - do we need a completely different approach ?

2009-12-18 Thread Dr. David Kirkby
Georg S. Weber wrote: >>> Once Sage has built, it would be good if there was a way of getting the >>> list of libraries which were in this list at compile time. In fact, it >>> could be useful to store all information about the build environment one >>> possibly could, output of uname -a, hostid

[sage-devel] Re: Linking libraries - do we need a completely different approach ?

2009-12-18 Thread Georg S. Weber
> > Once Sage has built, it would be good if there was a way of getting the > >  list of libraries which were in this list at compile time. In fact, it > >  could be useful to store all information about the build environment one > >  possibly could, output of uname -a, hostid, PATH, username, etc

[sage-devel] Re: first peak at update to Jmol in SAGE (3-D function plotting)...

2009-12-18 Thread kcrisman
On Dec 18, 12:36 pm, Jason Grout wrote: > jason-s...@creativetrax.com wrote: > > I'm CCing this to sage-devel.  For Sage-devel people, the full thread > > can be found here: > > > http://www.mail-archive.com/jmol-us...@lists.sourceforge.net/index.html > > Just an update on the JMOL front:  Bob H

[sage-devel] Re: [Jmol-users] first peak at update to Jmol in SAGE (3-D function plotting)...

2009-12-18 Thread Jason Grout
jason-s...@creativetrax.com wrote: > I'm CCing this to sage-devel. For Sage-devel people, the full thread > can be found here: > > http://www.mail-archive.com/jmol-us...@lists.sourceforge.net/index.html > Just an update on the JMOL front: Bob Hanson just implemented ticks for lines/axes in

[sage-devel] Re: Maxima stats huge numbers of files at startup?

2009-12-18 Thread rjf
It's an ECL bug, not a Maxima bug. Quoting from Ray Toy on maxima mailing list.. "Robert asked on the ecl list about this, and it turns out it was a bug in ecl wherein ecl would actually stat everything. I think it's fixed now. This would also explain why I wasn't seeing this since I'm using a r

Re: [sage-devel] complex agm -- help needed with a cython patch

2009-12-18 Thread David Roe
I can easily see why it would be faster to do real arithmetic. I'll include a corresponding function for the reals. David On Fri, Dec 18, 2009 at 12:58 AM, William Stein wrote: > On Thu, Dec 17, 2009 at 9:35 PM, David Roe wrote: > > Hey John, > > I worked on it tonight, and I'm not sure how mu

Re: [sage-devel] complex agm -- help needed with a cython patch

2009-12-18 Thread John Cremona
2009/12/18 William Stein : > On Thu, Dec 17, 2009 at 9:35 PM, David Roe wrote: >> Hey John, >> I worked on it tonight, and I'm not sure how much you want to optimize it. >> Is a factor of 2 or 3 speedup worth making the code much less readable (I'd >> include comments, but...)?  I could also proba

Re: [sage-devel] Re: Linking libraries - do we need a completely different approach ?

2009-12-18 Thread François Bissey
On Fri, 18 Dec 2009 20:07:26 Dr. David Kirkby wrote: > François Bissey wrote: > > On Fri, 18 Dec 2009 14:49:38 William Stein wrote: > >> Better would be a single environment variable such as > >> > >>SAGE_USE_SYSTEM_LIBRARY="readline libz sqlite" > >> > >> with a space separated list of librari