[sage-devel] Re: [mpir-devel] Re: sagemath infrastructure scheduled downtime

2009-10-07 Thread William Stein
Hi, 1. I rsynced all the servers from the old sagemath to the new virtual machine. If you put a line like this in your /etc/hosts file 128.208.160.197 sagemath.org trac.sagemath.org cython.org # etc. then you can see what the new website would look like if we switched over now. Again, the s

[sage-devel] Re: How to doc test a show method?

2009-10-07 Thread Mike Hansen
Hello, On Thu, Oct 8, 2009 at 6:32 AM, Simon King wrote: > However, back to the question on pictures: I understood Robert's hint > such that I do not need to explicitly produce (and save) a png. So, do > I understand correctly that >   sage: show(B) > will be a valuable doc test for an instance

[sage-devel] Re: new trac workflow implemented

2009-10-07 Thread kcrisman
> It does seem like the trac emails don't have the status in the subject; > I don't know if this can be fixed. > That would be helpful. > In the reports, the status is usually listed as a separate column. Unfortunately, it's not very highlighted, unlike the ticket # and the title. Maybe all t

[sage-devel] Re: new trac workflow implemented

2009-10-07 Thread Jason Grout
kcrisman wrote: > One thing I really liked about the old workflow was that it was > immediately obvious whether a ticket had a patch, positive review, > etc., because it was there in the description, which is what I usually > read. Also, in emails that immediately pops up, so I knew to read > tho

[sage-devel] Re: new trac workflow implemented

2009-10-07 Thread kcrisman
One thing I really liked about the old workflow was that it was immediately obvious whether a ticket had a patch, positive review, etc., because it was there in the description, which is what I usually read. Also, in emails that immediately pops up, so I knew to read those emails first (and that

[sage-devel] Re: Sage tutorial: delete the graph theory tour?

2009-10-07 Thread John H Palmieri
On Oct 7, 5:46 pm, William Stein wrote: > On Wed, Oct 7, 2009 at 5:39 PM, John H Palmieri > wrote: > > > I suggest that before we release 4.1.2, we delete this part of the > > tutorial until the file is fixed.  (Alternatively, we could delete 2/3 > > of the file, but that might make it a bit sh

[sage-devel] Re: Sage tutorial: delete the graph theory tour?

2009-10-07 Thread William Stein
On Wed, Oct 7, 2009 at 5:39 PM, John H Palmieri wrote: > > As of version 4.1.2.alpha2, the Sage tutorial has a section containing > a guided tour of graph theory in Sage.  In principle, this is a good > idea, but the execution is severely flawed: about 2/3 of the tour > focuses on the methods "g.

[sage-devel] Sage tutorial: delete the graph theory tour?

2009-10-07 Thread John H Palmieri
As of version 4.1.2.alpha2, the Sage tutorial has a section containing a guided tour of graph theory in Sage. In principle, this is a good idea, but the execution is severely flawed: about 2/3 of the tour focuses on the methods "g.max_matching()", "g.edge_coloring()", and "g.vertex_coloring()".

[sage-devel] Re: [mpir-devel] Re: sagemath infrastructure scheduled downtime

2009-10-07 Thread William Stein
On Wed, Oct 7, 2009 at 4:51 PM, Jeff Gilchrist wrote: > > On Wed, Oct 7, 2009 at 6:04 PM, William Stein wrote: > >> VirtualBox is vastly better, so after this change I'll be able to >> configure these virtual machines with more cores, RAM, and managing >> them will be much easier. > > That is go

[sage-devel] Re: A possibly way to build faster code for Sage?

2009-10-07 Thread William Stein
On Wed, Oct 7, 2009 at 3:50 PM, Dr. David Kirkby wrote: > > There is no doubt that especially on Solaris, the Sun compilers are > better than the GNU ones in terms of speed. I automatically doubt sentences that being "there is no doubt", so I tried searching for any articles with benchmarks comp

[sage-devel] Re: How to doc test a show method?

2009-10-07 Thread Simon King
Dear John, On 8 Okt., 01:01, John H Palmieri wrote: > > Very good. So I just copy-and-past the output of the Sage command line > > and don't worry about the picture, then. > > But please make sure that if you save a png, it gets saved to a > temporary directory.  See #7059 for a related issue.

[sage-devel] Re: How to doc test a show method?

2009-10-07 Thread John H Palmieri
On Oct 7, 1:58 pm, Simon King wrote: > Hi Robert! > > On 7 Okt., 22:46, Robert Bradshaw > wrote: > > > You can still doctest it. In doctest mode, show() should just produce   > > a png (or something like that) but not pop it up. > > Very good. So I just copy-and-past the output of the Sage comma

[sage-devel] Re: What's the real reason for

2009-10-07 Thread Dr. David Kirkby
Simon King wrote: > > > On 7 Okt., 23:44, "Dr. David Kirkby" wrote: >> Thank you, I see the point of saving SAGE64 now. >> >> Does the same not apply to ALL other variables like CC, CXX, >> SAGE_FORTRAN .. etc too? I believe I have screwed up builds by mixing >> compilers. > > Wouldn't it make

[sage-devel] A possibly way to build faster code for Sage?

2009-10-07 Thread Dr. David Kirkby
There is no doubt that especially on Solaris, the Sun compilers are better than the GNU ones in terms of speed. Sun have an interesting tool called 'Cool Tools - GCC for Sun Systems' http://cooltools.sunsource.net/gcc/porting.html which has has a GNU interface (and so takes GNU options), but

[sage-devel] sagemath infrastructure scheduled downtime

2009-10-07 Thread William Stein
Hello, Tomorrow evening (Thursday, October 8, about 7pm Pacific time) I plan to shut down the sagemath.org and sagenb.org virtual machines for about 3 hours to move the virtual machines from VMware on "mod.math.washington.edu" to VirtualBox on "boxen.math.washington.edu". During this time the D

[sage-devel] Re: What's the real reason for

2009-10-07 Thread Simon King
On 7 Okt., 23:44, "Dr. David Kirkby" wrote: > Thank you, I see the point of saving SAGE64 now. > > Does the same not apply to ALL other variables like CC, CXX, > SAGE_FORTRAN .. etc too? I believe I have screwed up builds by mixing > compilers. Wouldn't it make sense to create a file that stor

[sage-devel] Re: What's the real reason for

2009-10-07 Thread Dr. David Kirkby
William Stein wrote: > On Wed, Oct 7, 2009 at 10:53 AM, Dr. David Kirkby > wrote: >> I can see the above file is called from sage-env, but I'm trying to work >> out exactly that the aim of it is. Do we really need the script at all? >> >> It seems to do 3 things. >> >> 1) If SAGE64 is yes, it pri

[sage-devel] It seems trac can't be reached currently

2009-10-07 Thread Georg S. Weber
Some minutes ago, access worked fine for me, but right now, all I get after some waiting is: 502 proxy error Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /sage_trac/ticket/ 7115. Reason: Error reading from

[sage-devel] Re: How to doc test a show method?

2009-10-07 Thread Simon King
Hi Robert! On 7 Okt., 22:46, Robert Bradshaw wrote: > You can still doctest it. In doctest mode, show() should just produce   > a png (or something like that) but not pop it up. Very good. So I just copy-and-past the output of the Sage command line and don't worry about the picture, then. Than

[sage-devel] Re: Sage Days: MSRI

2009-10-07 Thread Kiran Kedlaya
On Oct 7, 11:56 am, Burcin Erocal wrote: > On Wed, 7 Oct 2009 06:17:32 -0700 > > William Stein wrote: > > On Wed, Oct 7, 2009 at 1:27 AM, John Cremona > > wrote: > > > > Isn't the second of those weeks the week of the planned Sage Days in > > > Leiden? Which will specialise in Number Theory?

[sage-devel] Re: How to doc test a show method?

2009-10-07 Thread Robert Bradshaw
On Oct 7, 2009, at 1:32 PM, Simon King wrote: > Hi! > > I have a class with a show() method. How can this be doc tested? > > If there is no reasonable way to doc test a show() method: What can > one do that it does not count negatively for the doc test coverage? You can still doctest it. In doct

[sage-devel] How to doc test a show method?

2009-10-07 Thread Simon King
Hi! I have a class with a show() method. How can this be doc tested? If there is no reasonable way to doc test a show() method: What can one do that it does not count negatively for the doc test coverage? Best regards, Simon --~--~-~--~~~---~--~~ To post to this

[sage-devel] Re: What's the real reason for local/bin/sage-check-64 ?

2009-10-07 Thread William Stein
On Wed, Oct 7, 2009 at 10:53 AM, Dr. David Kirkby wrote: > > I can see the above file is called from sage-env, but I'm trying to work > out exactly that the aim of it is. Do we really need the script at all? > > It seems to do 3 things. > > 1) If SAGE64 is yes, it prints we are building 64-bit on

[sage-devel] What's the real reason for local/bin/sage-check-64 ?

2009-10-07 Thread Dr. David Kirkby
I can see the above file is called from sage-env, but I'm trying to work out exactly that the aim of it is. Do we really need the script at all? It seems to do 3 things. 1) If SAGE64 is yes, it prints we are building 64-bit on Solaris or OS X. 2) Creates a file called SAGE_LOCAL/lib/sage-64.tx

[sage-devel] Re: Sage Days: MSRI

2009-10-07 Thread John Cremona
I was told by Bart de Smit that the dates were July 5-9. I am CC'ing Bart so that he can confirm. This is not flexible since the Lorentz Centre in Leiden is otherwise booked up. If Bart confrims, then someone should correct the wiki page. John 2009/10/7 Burcin Erocal : > > On Wed, 7 Oct 2009

[sage-devel] Re: Sage Days: MSRI

2009-10-07 Thread William Stein
On Wed, Oct 7, 2009 at 8:56 AM, Burcin Erocal wrote: > > On Wed, 7 Oct 2009 06:17:32 -0700 > William Stein wrote: > >> On Wed, Oct 7, 2009 at 1:27 AM, John Cremona >> wrote: >> >> > >> > Isn't the second of those weeks the week of the planned Sage Days in >> > Leiden?  Which will specialise in

[sage-devel] Re: Sage Days: MSRI

2009-10-07 Thread Burcin Erocal
On Wed, 7 Oct 2009 06:17:32 -0700 William Stein wrote: > On Wed, Oct 7, 2009 at 1:27 AM, John Cremona > wrote: > > > > > Isn't the second of those weeks the week of the planned Sage Days in > > Leiden? Which will specialise in Number Theory? > > > > Good point -- there were so many possible

[sage-devel] Environment variables for Sage for a revised sage-env.

2009-10-07 Thread Dr. David Kirkby
As you know, I believe the current sage-env could do with a bit of improving in places. William agrees with that too. I have updated it and whilst I don't think its a good idea to print the following out every time sage-env is run, it needs to be documented. One can print it out easily, by changin

[sage-devel] Re: desolve - returns sometimes equation and sometimes function

2009-10-07 Thread kcrisman
On Oct 7, 5:07 am, "ma...@mendelu.cz" wrote: > On 7 říj, 10:53, Robert Bradshaw wrote: > > > On Oct 7, 2009, at 1:40 AM, ma...@mendelu.cz wrote: > > > By insecure, I assume you mean it returns bogus answers? > > Yes, if we substitute initial conditions and solve for constants %k1, > %k2, then

[sage-devel] Re: Sage Days: MSRI

2009-10-07 Thread William Stein
On Wed, Oct 7, 2009 at 1:27 AM, John Cremona wrote: > > Isn't the second of those weeks the week of the planned Sage Days in > Leiden? Which will specialise in Number Theory? > Good point -- there were so many possible dates for Leiden that what is posted in various places (e.g., http://wiki.sa

[sage-devel] Re: Most packages in sage not respecting SAGE64, and optimization level abstractions.

2009-10-07 Thread Dr. David Kirkby
Vincent Labrecque wrote: > > On Oct 7, 2009, at 7:54 AM, Vincent Labrecque wrote: >> >> And as I'm writing this, with regards to optimization flags, maybe the >> sage build system should provide an abstraction over -On. As I'm >> sure you know, these have widely differing behaviors across com

[sage-devel] Re: Most packages in sage not respecting SAGE64.

2009-10-07 Thread Dr. David Kirkby
Vincent Labrecque wrote: > And as I'm writing this, with regards to optimization flags, maybe the > sage build system should provide an abstraction over -On. As I'm > sure you know, these have widely differing behaviors across > compilers. Sometimes -O3 will do nothing, sometimes it wil

[sage-devel] Re: Most packages in sage not respecting SAGE64, and optimization level abstractions.

2009-10-07 Thread William Stein
On Wed, Oct 7, 2009 at 5:18 AM, Vincent Labrecque < vincent.labrec...@gmail.com> wrote: > > On Oct 7, 2009, at 7:54 AM, Vincent Labrecque wrote: > > > And as I'm writing this, with regards to optimization flags, maybe the sage > build system should provide an abstraction over -On. As I'm sure yo

[sage-devel] Re: Most packages in sage not respecting SAGE64, and optimization level abstractions.

2009-10-07 Thread Vincent Labrecque
On Oct 7, 2009, at 7:54 AM, Vincent Labrecque wrote: > > And as I'm writing this, with regards to optimization flags, maybe > the sage build system should provide an abstraction over -On. As > I'm sure you know, these have widely differing behaviors across > compilers. Sometimes -O3 will

[sage-devel] Re: Most packages in sage not respecting SAGE64.

2009-10-07 Thread Vincent Labrecque
On Oct 6, 2009, at 10:58 PM, Dan Drake wrote: > On Tue, 06 Oct 2009 at 03:23AM -0700, Robert Bradshaw wrote: >> Is there not a way to invoke a bash script in such a way that it >> can't change the invoking environment? > > You sound like you want the `env' command: > >env FOO=bar command arg

[sage-devel] Re: Do we need to be able to define cp, mkdir, touch, mv, chmod ?

2009-10-07 Thread William Stein
On Wed, Oct 7, 2009 at 4:11 AM, Dr. David Kirkby wrote: > > Looking in sage-env I see: > > if [ "$MKDIR" = "" ]; then > MKDIR="mkdir" > fi > > if [ "$CHMOD" = "" ]; then > CHMOD="chmod" > fi > > if [ "$TOUCH" = "" ]; then > TOUCH="touch" > fi > > if [ "$MV" != "" ]; then > MM="$MV"

[sage-devel] Re: I created a Trac Ticket to add HP-UX support.

2009-10-07 Thread Dr. David Kirkby
Dan Drake wrote: > On Tue, 06 Oct 2009 at 03:25PM +0100, Dr. David Kirkby wrote: >> With Winter approaching, I was looking for a way to heat my garage >> somewhat to stop the water freezing. (There's a small room in the >> garage, which has water) >> >> I thought running my HP C3600 HP-UX worksta

[sage-devel] Do we need to be able to define cp, mkdir, touch, mv, chmod ?

2009-10-07 Thread Dr. David Kirkby
Looking in sage-env I see: if [ "$MKDIR" = "" ]; then MKDIR="mkdir" fi if [ "$CHMOD" = "" ]; then CHMOD="chmod" fi if [ "$TOUCH" = "" ]; then TOUCH="touch" fi if [ "$MV" != "" ]; then MM="$MV" fi if [ "$CP" = "" ]; then CP="cp" fi I'm wondering if this is really nec

[sage-devel] Re: desolve - returns sometimes equation and sometimes function

2009-10-07 Thread ma...@mendelu.cz
On 7 říj, 10:53, Robert Bradshaw wrote: > On Oct 7, 2009, at 1:40 AM, ma...@mendelu.cz wrote: > > By insecure, I assume you mean it returns bogus answers? Yes, if we substitute initial conditions and solve for constants %k1, %k2, then %k1, %k2 may depend on x and y and thus substitution into g

[sage-devel] Re: canvas3d_lib.js + Pre3d does shaded surfaces and works on iPhone, IE

2009-10-07 Thread Simon King
Hi! On Oct 7, 5:18 am, William Cauchois wrote: [...] >  - Mouse movement is erratic (I noticed that rotation would continue > to follow my mouse even after I released the button). One remark: It seems to me that it is intended behaviour. I just noticed - If you hover over an image for the firs

[sage-devel] Re: desolve - returns sometimes equation and sometimes function

2009-10-07 Thread Robert Bradshaw
On Oct 7, 2009, at 1:40 AM, ma...@mendelu.cz wrote: > Dear developers of Sage > > I'm working on trac http://trac.sagemath.org/sage_trac/ticket/6479 Thanks! We're really lacking in this area, and better exposing all that maxima has to offer will be a large step forward. > adn > the foloowing

[sage-devel] Re: desolve - returns sometimes equation and sometimes function

2009-10-07 Thread ma...@mendelu.cz
Dear developers of Sage I'm working on trac http://trac.sagemath.org/sage_trac/ticket/6479 adn the foloowing enahancements of desolve * with parameter show_method=True Sage returns pair [solution, string describing method (e.g. linear)] * with parametr ode_contrib=True Sage tries to use ode2 firs

[sage-devel] Re: Sage Days: MSRI

2009-10-07 Thread John Cremona
Isn't the second of those weeks the week of the planned Sage Days in Leiden? Which will specialise in Number Theory? John 2009/10/7 William Stein : > Hi, > > MSRI has decided to generously fund and host a 2-week graduate student > summer Sage Days workshop on some area of number theory this com