Re: [sage-devel] Re: How to test whether a package is installed?

2010-03-28 Thread William Stein
On Sun, Mar 28, 2010 at 6:50 PM, Dr. David Kirkby wrote: > It is true that the system needs an install of python, but there may not be > one present. I would assume some of the cut-down distributions of Linux do > not include python. Does Cygwin install it by default? Building Sage on Cygwin -- w

Re: [sage-devel] Re: How to test whether a package is installed?

2010-03-28 Thread Dr. David Kirkby
William Stein wrote: On Sun, Mar 28, 2010 at 3:31 PM, Dr. David Kirkby wrote: William Stein wrote: Regarding the implementation of that script, you could maybe check for ls returning an error (or whatever) as above. However, better would be to write something in Python, e.g., #!/usr/bin/env

[sage-devel] Re: Graph Input control for interacts

2010-03-28 Thread Rado
That would be cool and not too hard to do. I can promise to write all the functions needed at the JS graph_editor side. However, I am still kinda clueless on the sage interact side. It would be nice if there was something like "developer's guide to interacts", explaining the logic behind interacts

[sage-devel] Re: new version of the graph editor

2010-03-28 Thread Rado
On Mar 28, 5:33 pm, Rob Beezer wrote: > Hi Rado and Kevin, > > Very nice work on this.  I've been putting it through its paces this > weekend and it works quite well.  Fed it the Higman-Sims graph (100 > vertices, regular of degree 7, interesting automorphism group) and let > the spring-electric a

[sage-devel] Re: screenshots of Sage in action

2010-03-28 Thread Oscar Lazo
On 28 mar, 07:50, Minh Nguyen wrote: > Hi folks, > > I hit the send button too quickly. What I wanted to say is: Would > anyone be willing to provide screenshots of Sage in action as > described above? Would anyone provide other screenshots of Sage in > action? > > -- > Regards > Minh Van Nguyen

Re: [sage-devel] Re: How to test whether a package is installed?

2010-03-28 Thread William Stein
On Sun, Mar 28, 2010 at 4:02 PM, Simon King wrote: > Hi David, > > On 29 Mrz., 00:31, "Dr. David Kirkby" wrote: >> ... >> That's not going to work until python is installed. Why not make it a shell >> script instead - it would work before python is built, irrespective of >> whether >> someone ha

[sage-devel] http://trac.sagemath.org/sage_trac/ticket/8612

2010-03-28 Thread William Stein
Hi, Can somebody please review: http://trac.sagemath.org/sage_trac/ticket/8612 It replaces the line " if True or hdE * self.ncols() * height < prod:" with " if hdE * self.ncols() * height < prod:" in some matrix echelon algorithm. The point is that at some point a proof check had been disabled

[sage-devel] Graph Input control for interacts

2010-03-28 Thread Rob Beezer
Kevin Clark and Rado Kirov have been advancing the graph editor lately [1], [2]. Long-term I would love to see an interact control built on their work. In an interact one could mouse-around building a graph and watch various properties react. In the past I've built two standalone applications to

[sage-devel] Re: How to test whether a package is installed?

2010-03-28 Thread Simon King
Hi David, On 29 Mrz., 00:31, "Dr. David Kirkby" wrote: > ... > That's not going to work until python is installed. Why not make it a shell > script instead - it would work before python is built, irrespective of whether > someone has python installed on their machine. For the application that I

Re: [sage-devel] Re: Can a 4.3.5 be created to fix the Fedora/Mandriva/OpenSUSE build problem?

2010-03-28 Thread William Stein
On Mon, Mar 22, 2010 at 12:31 PM, Jaap Spies wrote: > Dr. David Kirkby wrote: >> >> William was keen that a new release was made quickly to fix the issues >> which prevent 4.3.4 building on several linux distros. >> >> A patch is here: >> >> http://trac.sagemath.org/sage_trac/ticket/8567 >> >> If

[sage-devel] Re: screenshots of Sage in action

2010-03-28 Thread Rado
does this work: http://www.math.uiuc.edu/~rkirov2/sage-notebook.png Rado On Mar 28, 8:50 am, Minh Nguyen wrote: > Hi folks, > > I hit the send button too quickly. What I wanted to say is: Would > anyone be willing to provide screenshots of Sage in action as > described above? Would anyone provid

Re: [sage-devel] Re: How to test whether a package is installed?

2010-03-28 Thread William Stein
On Sun, Mar 28, 2010 at 3:31 PM, Dr. David Kirkby wrote: > William Stein wrote: > >> Regarding the implementation of that script, you could maybe check for >> ls returning an error (or whatever) as above.  However, better >> would be to write something in Python, e.g., >> >> #!/usr/bin/env python

[sage-devel] Re: new version of the graph editor

2010-03-28 Thread Rob Beezer
Hi Rado and Kevin, Very nice work on this. I've been putting it through its paces this weekend and it works quite well. Fed it the Higman-Sims graph (100 vertices, regular of degree 7, interesting automorphism group) and let the spring-electric algorithm work on it overnight. It never converged

Re: [sage-devel] Re: How to test whether a package is installed?

2010-03-28 Thread Dr. David Kirkby
William Stein wrote: Regarding the implementation of that script, you could maybe check for ls returning an error (or whatever) as above. However, better would be to write something in Python, e.g., #!/usr/bin/env python import os # do something with os.listdir() --- By factoring out this

Re: [sage-devel] Re: How to test whether a package is installed?

2010-03-28 Thread William Stein
On Sun, Mar 28, 2010 at 12:33 PM, Simon King wrote: > Hi William! > > On 28 Mrz., 19:55, William Stein wrote: >> ... >> No.  newest_version is irrelevant.  One should look at spk/installed/ > > So, one would test whether >  ls spkg/installed/database_gap* > results in an error? Hmm. I think the

[sage-devel] Re: How to test whether a package is installed?

2010-03-28 Thread Simon King
Hi William! On 28 Mrz., 19:55, William Stein wrote: > ... > No.  newest_version is irrelevant.  One should look at spk/installed/ So, one would test whether ls spkg/installed/database_gap* results in an error? Cheers, Simon -- To post to this group, send an email to sage-devel@googlegroups.

[sage-devel] Re: desolve problems

2010-03-28 Thread yuri.k
> I suggest that you provide two different patches instead of bundling > all your changes together. One for the desolve fixes, and another one > for your mtype interface. > > Note that each trac ticket should be on one issue only [1]. > > [1]http://www.sagemath.org/doc/developer/trac.html#reasons-t

Re: [sage-devel] How to test whether a package is installed?

2010-03-28 Thread William Stein
On Sun, Mar 28, 2010 at 10:45 AM, Simon King wrote: > Hi! > > Related with #8523, I'd like to know how one tests whether some > package (here: database_gap) is already installed. I don't care what > exact version it is. > > I understood that the script SAGE_ROOT/spkg/standard/newest_version > can

[sage-devel] How to test whether a package is installed?

2010-03-28 Thread Simon King
Hi! Related with #8523, I'd like to know how one tests whether some package (here: database_gap) is already installed. I don't care what exact version it is. I understood that the script SAGE_ROOT/spkg/standard/newest_version can be used. I was reading somewhere that this script is supposed to be

Re: [sage-devel] Re: desolve problems

2010-03-28 Thread Burcin Erocal
Hi Yuri, Thank you for taking the time to fix the problems you see in the symbolic module. On Sun, 28 Mar 2010 10:12:49 -0700 (PDT) "yuri.k" wrote: > > > Did you use hg_sage.add? It is explained > > here:http://www.sagemath.org/doc/developer/producing_patches.html#quick-me... > > No I didn't.

[sage-devel] Re: desolve problems

2010-03-28 Thread yuri.k
> Did you use hg_sage.add? It is explained > here:http://www.sagemath.org/doc/developer/producing_patches.html#quick-me... No I didn't. Thank you for your help. I almost ready with patch. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, sen

Re: [sage-devel] Re: desolve problems

2010-03-28 Thread Minh Nguyen
Hi, On Mon, Mar 29, 2010 at 1:46 AM, yuri.k wrote: > P.S.: If you have any ideas what should I do - please help me to save > some time. The first chapter of the Developer's Guide [1] is minimum required reading for anyone who wants to effectively contribute to Sage. [1] http://www.sagemath.o

Re: [sage-devel] Re: desolve problems

2010-03-28 Thread David Joyner
On Sun, Mar 28, 2010 at 10:46 AM, yuri.k wrote: > On Mar 28, 4:23 pm, "ma...@mendelu.cz" wrote: >> I got some problems after installing the patch, see the comment at >> trac.sagemath.org > > I added new file sage/symbolic/mtype.py - which is symbolic module. > (it was marked as ? instead of M in

[sage-devel] Re: desolve problems

2010-03-28 Thread yuri.k
On Mar 28, 4:23 pm, "ma...@mendelu.cz" wrote: > I got some problems after installing the patch, see the comment at > trac.sagemath.org I added new file sage/symbolic/mtype.py - which is symbolic module. (it was marked as ? instead of M in patch log) I think patch does not create new files. I'll t

[sage-devel] Re: screenshots of Sage in action

2010-03-28 Thread Minh Nguyen
Hi folks, I hit the send button too quickly. What I wanted to say is: Would anyone be willing to provide screenshots of Sage in action as described above? Would anyone provide other screenshots of Sage in action? -- Regards Minh Van Nguyen -- To post to this group, send an email to sage-devel@

[sage-devel] screenshots of Sage in action

2010-03-28 Thread Minh Nguyen
Hi folks, I'm planning on adding a new page to the Sage website that showcases Sage in action. The idea is to present screenshots of Sage, whether as a command line session or a notebook session. What I have in mind is something along the lines of what is done for Maxima [1], Matplotlib [2], and o

[sage-devel] Re: desolve problems

2010-03-28 Thread ma...@mendelu.cz
I got some problems after installing the patch, see the comment at trac.sagemath.org On 27 bře, 22:45, "yuri.k" wrote: > patch added > > http://trac.sagemath.org/sage_trac/ticket/8616#comment:3 -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group

[sage-devel] Re: How to get the sage sources on boxen.math?

2010-03-28 Thread Simon King
Hi Dima! On 28 Mrz., 13:55, Dima Pasechnik wrote: > > http://sage.math.washington.edu/home/release/sage-4.3.3/ > Thank you! Cheers, Simon -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroup

[sage-devel] Re: How to get the sage sources on boxen.math?

2010-03-28 Thread Dima Pasechnik
oops, I meant 4.3.4 below On Mar 28, 7:55 pm, Dima Pasechnik wrote: > Simon, > here is the directory with sources, and all (inclusive the already > compiled for sage.math distro) > > http://sage.math.washington.edu/home/release/sage-4.3.3/ > > On Mar 28, 6:57 pm, Simon King wrote: > > > Hi! > >

[sage-devel] Re: How to get the sage sources on boxen.math?

2010-03-28 Thread Dima Pasechnik
Simon, here is the directory with sources, and all (inclusive the already compiled for sage.math distro) http://sage.math.washington.edu/home/release/sage-4.3.3/ On Mar 28, 6:57 pm, Simon King wrote: > Hi! > > For doing some tests, I'd like to build sage on boxen.math. But how > can I get the so

[sage-devel] How to get the sage sources on boxen.math?

2010-03-28 Thread Simon King
Hi! For doing some tests, I'd like to build sage on boxen.math. But how can I get the sources? I mean, on my computer I have a program to download data from metalinks. But is there such prgoram on boxen.math? Or is there a folder from which I can copy the sources? Best regards, Simon -- To post