[sage-devel] Re: sage_fortran.bin: Internal error: Segmentation fault

2009-04-15 Thread mabshoff
On Apr 15, 8:08 pm, Rado wrote: > Hello, > > Since I have an old AMD 64, i downloaded the sources and tried to > build sage. I am on ubuntu 8.10. Here is how far I got: > > ... > sage_fortran -fPIC  -c stzrqf.f -o stzrqf.o > sage_fortran -fPIC  -c stzrzf.f -o stzrzf.o > sage_fortran -fPIC  -c s

[sage-devel] Re: sage0 tests hangs?

2009-04-15 Thread mabshoff
On Apr 15, 11:54 pm, "Nicolas M. Thiery" wrote: >         Hello! > > With my sage 3.4, which unless I screwed up is a plain sage 3.4, > >         sage -t -verbose  sage/interfaces/sage0.py > > hangs forever at: > >         Trying: >             sage0.get('x')###line 354:_sage_    >>> sage0.get(

[sage-devel] sage0 tests hangs?

2009-04-15 Thread Nicolas M. Thiery
Hello! With my sage 3.4, which unless I screwed up is a plain sage 3.4, sage -t -verbose sage/interfaces/sage0.py hangs forever at: Trying: sage0.get('x')###line 354:_sage_>>> sage0.get('x') Expecting: "...NameError: name 'x' is not

[sage-devel] sage_fortran.bin: Internal error: Segmentation fault

2009-04-15 Thread Rado
Hello, Since I have an old AMD 64, i downloaded the sources and tried to build sage. I am on ubuntu 8.10. Here is how far I got: ... sage_fortran -fPIC -c stzrqf.f -o stzrqf.o sage_fortran -fPIC -c stzrzf.f -o stzrzf.o sage_fortran -fPIC -c sstemr.f -o sstemr.o sage_fortran.bin: Internal erro

[sage-devel] Re: sagelite

2009-04-15 Thread William Stein
2009/4/15 Brian Granger : > >> It also includes all the sage interfaces (e.g. to matlab, etc.), and >> other interesting code.  We don't want to restrict it just to the >> notebook.  We may also include, e.g., all our 2d and maybe 3d plotting >> code, which is very lightweight too. > > Ahh, very n

[sage-devel] Re: sagelite

2009-04-15 Thread mabshoff
On Apr 15, 5:23 pm, Ondrej Certik wrote: > On Wed, Apr 15, 2009 at 3:20 PM, mabshoff wrote: > I use the hg bundle and that works just fine for me. Yes, the bundle worked and the problem was the rebased patch Mike did initially since there were some bits that got left out. The bundle is 0.5

[sage-devel] bug in rational_diagonal_form() from QuadraticForm class?

2009-04-15 Thread LBerlioz
When I do: sage: A=matrix(QQ,3,3,[-3,2,0 , 2,3,-2 , 0,-2,5 ]) sage: Q=QuadraticForm(2*A) sage: Q Quadratic form in 3 variables over Rational Field with coefficients: [ -3 4 0 ] [ * 3 -4 ] [ * * 5 ] If I try to get the diagonal form: sage: Q.rational_diagonal_form() Quadratic form in 3 variables o

[sage-devel] Re: sagelite

2009-04-15 Thread Brian Granger
> It also includes all the sage interfaces (e.g. to matlab, etc.), and > other interesting code.  We don't want to restrict it just to the > notebook.  We may also include, e.g., all our 2d and maybe 3d plotting > code, which is very lightweight too. Ahh, very nice, this completely makes sense.

[sage-devel] Re: sagelite

2009-04-15 Thread William Stein
On Wed, Apr 15, 2009 at 3:17 PM, Brian Granger wrote: > > I agree that this is really great, but isn't the name a bit confusing? >  Why not sagenotebook? > > Brian It also includes all the sage interfaces (e.g. to matlab, etc.), and other interesting code. We don't want to restrict it just to t

[sage-devel] Re: sagelite

2009-04-15 Thread Ondrej Certik
On Wed, Apr 15, 2009 at 3:20 PM, mabshoff wrote: > > > > On Apr 15, 3:17 pm, Brian Granger wrote: > > Hi, > >> I agree that this is really great, but isn't the name a bit confusing? >>  Why not sagenotebook? > > It is slightly more than the Sage notebook, hence sage-lite. The name > has "histori

[sage-devel] Re: sagelite

2009-04-15 Thread mabshoff
On Apr 15, 3:17 pm, Brian Granger wrote: Hi, > I agree that this is really great, but isn't the name a bit confusing? >  Why not sagenotebook? It is slightly more than the Sage notebook, hence sage-lite. The name has "historical" reasons and in the end I think we should have a sage- notebook

[sage-devel] Re: sagelite

2009-04-15 Thread Brian Granger
I agree that this is really great, but isn't the name a bit confusing? Why not sagenotebook? Brian On Wed, Apr 15, 2009 at 2:26 PM, Ondrej Certik wrote: > > Hi, > > William and Mike has created the sagelite, which is just the Sage > notebook, without any other Sage dependencies. > > http://tra

[sage-devel] sagelite

2009-04-15 Thread Ondrej Certik
Hi, William and Mike has created the sagelite, which is just the Sage notebook, without any other Sage dependencies. http://trac.sagemath.org/sage_trac/ticket/5789 The patch is +1 from me, but could someone more familiar with the Sage code also give it a review please? It touches quite a lot of

[sage-devel] Re: grading homework

2009-04-15 Thread gerhard
import sage.misc.latex as l l.LATEX_HEADER+='\\def \\foo {FOO defined successfully}\n' does indeed define a macro \foo that can be used from a %latex cell in the notebook. I am having no luck with tixz so far. I tried l.LATEX_HEADER+='\\def \\pgfsysdriver {pgfsys-dvips.def}\n\\usepackage {tikz}

[sage-devel] Re: grading homework

2009-04-15 Thread gerhard
I had noticed the emoticon, and I did get quite a laugh! It's quite appropriate too. So what triggers the use of SLIDE_HEADER in sage/misc/latex.py? I tried asking the question in support, because I was trying for a solution to some of my own suggestions -gerhard --~--~-~--~~

[sage-devel] Re: grading homework

2009-04-15 Thread William Stein
2009/4/15 gerhard : > > re software-development.jpg > > agreed!!. > but if you do not start with use cases (Fig 1.5?) > you get hacks (Fig 1.3?). > > The ability to share code between worksheets > in a controlled fashion is still very high on my wishlist > and would let me solve a number of my pro

[sage-devel] Re: Interface to c++

2009-04-15 Thread William Stein
2009/4/15 Jörg F. Unger : > > I would like to add a C++ based library including a finite element > software. What would like to "add" this C++ library to? > For that purpose, the interaction with the sparse matrix > types of sage are required. Especially, due to the possibly large size > of the

[sage-devel] Re: error building html rest docs

2009-04-15 Thread John Cremona
thanks Dan -- I had forgotten that exchange of a month ago. Using --jsmath worked very well (and was a lot faster). John 2009/4/15 Dan Drake : > On Wed, 15 Apr 2009 at 04:11AM -0700, mabshoff wrote: >> Hi John, >> >> > sage/calculus/calculus Exception occurred: >> > File "/home/jec/sage-3.4.1

[sage-devel] Re: error building html rest docs

2009-04-15 Thread Dan Drake
On Wed, 15 Apr 2009 at 04:11AM -0700, mabshoff wrote: > Hi John, > > > sage/calculus/calculus Exception occurred: > >   File "/home/jec/sage-3.4.1.rc2/local/lib/python2.5/subprocess.py", > > line 1003, in _execute_child > >     errpipe_read, errpipe_write = os.pipe() > > OSError: [Errno 24] Too ma

[sage-devel] Re: error building html rest docs

2009-04-15 Thread mabshoff
On Apr 15, 5:01 am, John Cremona wrote: Hi John, > It must be machine specific to some extent.  I had no problems on my > laptop which is a lot smaller tha Bill's machine. Bill is asleep, but I am sure I can get an account from him in the morning to see if I can hit the same problem. > I go

[sage-devel] Re: error building html rest docs

2009-04-15 Thread John Cremona
It must be machine specific to some extent. I had no problems on my laptop which is a lot smaller tha Bill's machine. I got it to finish by putting the command inside a bash loop. And then discovered that Bill's machine (clearly a Serious Computer) doesn't have a web browser anyway, and cannot

[sage-devel] Re: error building html rest docs

2009-04-15 Thread mabshoff
On Apr 15, 4:23 am, John Cremona wrote: Hi John, > Thanks Michael.  ulimit reports a max number of open files of 1024. > The number of entries listed via "/ls -1 /proc/25679/fd/* | wc -l" > where 25679 is the relevant pid grows rapidly until it hits 1024 and > then the process quits. > > Is

[sage-devel] Re: error building html rest docs

2009-04-15 Thread John Cremona
Thanks Michael. ulimit reports a max number of open files of 1024. The number of entries listed via "/ls -1 /proc/25679/fd/* | wc -l" where 25679 is the relevant pid grows rapidly until it hits 1024 and then the process quits. Is this a sphinx error to be reported there? John 2009/4/15 mabshof

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

2009-04-15 Thread mabshoff
On Apr 15, 3:57 am, Ondrej Certik wrote: > On Sat, Apr 11, 2009 at 1:22 AM, mabshoff wrote: > > > Hello, > > > this is 3.4.1.rc2. Loads of Solaris fixes for doctests, additional > > doctests, several spkg updates and misc fixes. All the details can be > > HI Michael, Hi Ondrej, > I noticed t

[sage-devel] Re: error building html rest docs

2009-04-15 Thread mabshoff
On Apr 15, 4:03 am, John Cremona wrote: > This happned while doing sage -docbuild reference html (with 3,4,1,rc2): Hi John, > sage/calculus/calculus Exception occurred: >   File "/home/jec/sage-3.4.1.rc2/local/lib/python2.5/subprocess.py", > line 1003, in _execute_child >     errpipe_read, er

[sage-devel] error building html rest docs

2009-04-15 Thread John Cremona
This happned while doing sage -docbuild reference html (with 3,4,1,rc2): ... sage/calculus/calculus Exception occurred: File "/home/jec/sage-3.4.1.rc2/local/lib/python2.5/subprocess.py", line 1003, in _execute_child errpipe_read, errpipe_write = os.pipe() OSError: [Errno 24] Too many open f

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

2009-04-15 Thread Ondrej Certik
On Sat, Apr 11, 2009 at 1:22 AM, mabshoff wrote: > > Hello, > > this is 3.4.1.rc2. Loads of Solaris fixes for doctests, additional > doctests, several spkg updates and misc fixes. All the details can be HI Michael, I noticed the following change in dsage_worker.py in sage_scripts: $ git diff d

[sage-devel] Re: Sage DocDay4: April 11th, 2008

2009-04-15 Thread John Cremona
I just added links to doc 3and doc 4 from http://wiki.sagemath.org/ I see that there are lots of good progress reports at the doc4 page listed as "ready for review" but several of these have been reviewed and/or merged already. It would be helpful to have this updated, and also nice to have a re

[sage-devel] Re: Interface to c++

2009-04-15 Thread Robert Bradshaw
On Apr 15, 2009, at 2:51 AM, mabshoff wrote: > On Apr 15, 1:55 am, Burcin Erocal wrote: >> On Wed, 15 Apr 2009 09:38:39 +0100 > > > >> It is possible to call python code from C/C++, pynac has many >> examples >> of this. The functions in sage/symbolic/pynac.pyx are all exported so >> they are

[sage-devel] Re: Interface to c++

2009-04-15 Thread mabshoff
On Apr 15, 1:55 am, Burcin Erocal wrote: > On Wed, 15 Apr 2009 09:38:39 +0100 > It is possible to call python code from C/C++, pynac has many examples > of this. The functions in sage/symbolic/pynac.pyx are all exported so > they are callable from C++. > > You just need to define the functio

[sage-devel] Re: grading homework

2009-04-15 Thread gerhard
re software-development.jpg agreed!!. but if you do not start with use cases (Fig 1.5?) you get hacks (Fig 1.3?). The ability to share code between worksheets in a controlled fashion is still very high on my wishlist and would let me solve a number of my problems. Yes, I can of course load pytho

[sage-devel] Re: programming: define a new function

2009-04-15 Thread mabshoff
On Apr 15, 1:58 am, Burcin Erocal wrote: > Hi Michael, Hi Burcin, > > I checked old backups and the directory I keep spam pages around and I > > cannot find it. So either the conversion a while ago caused the > > trouble or something went terribly wrong. Sorry. > > No problem. We didn't los

[sage-devel] Re: programming: define a new function

2009-04-15 Thread Burcin Erocal
Hi Michael, On Wed, 15 Apr 2009 01:39:15 -0700 (PDT) mabshoff wrote: > On Apr 15, 1:32 am, Burcin Erocal wrote: > > > > Hi Burcin, > > > There was also some effort to > > get Sage on the list of software in the DLMF, but the wiki page for > > this seems to be deleted. (mabshoff?) > > I ch

[sage-devel] Re: Interface to c++

2009-04-15 Thread Burcin Erocal
On Wed, 15 Apr 2009 09:38:39 +0100 John Cremona wrote: > > I may be wrong but as far as I know you can use your C++ library from > within Sage (via a wrapper) but not vice versa. For example, my eclib > package uses its own sparse matrix code, but I don't think there is > any way I can use Sag

[sage-devel] Re: programming: define a new function

2009-04-15 Thread mabshoff
On Apr 15, 1:32 am, Burcin Erocal wrote: Hi Burcin, > There was also some effort to > get Sage on the list of software in the DLMF, but the wiki page for > this seems to be deleted. (mabshoff?) I checked old backups and the directory I keep spam pages around and I cannot find it. So either

[sage-devel] Re: Interface to c++

2009-04-15 Thread John Cremona
I may be wrong but as far as I know you can use your C++ library from within Sage (via a wrapper) but not vice versa. For example, my eclib package uses its own sparse matrix code, but I don't think there is any way I can use Sage matrix code in eclib. John 2009/4/15 Jörg F. Unger : > > I would

[sage-devel] Re: trac redirect after login

2009-04-15 Thread Burcin Erocal
On Tue, 14 Apr 2009 16:37:16 -0500 Jason Grout wrote: > > > Currently, when I log in to trac (while viewing a page), trac takes > me to the default home page after the login, instead of the page that > I was looking at before logging in. A while ago, several people > expressed frustration at

[sage-devel] Interface to c++

2009-04-15 Thread Jörg F . Unger
I would like to add a C++ based library including a finite element software. For that purpose, the interaction with the sparse matrix types of sage are required. Especially, due to the possibly large size of the resulting matrices, no copying between the objects is required, i.e. directly creating

[sage-devel] Re: programming: define a new function

2009-04-15 Thread Burcin Erocal
Hi Maurizio, On Tue, 14 Apr 2009 14:35:37 -0700 (PDT) Maurizio wrote: > > Hi all. > > I'm willing to invest some of my time to understand if I can be able > to do a step ahead with symbolic functions. Great to hear that. > How are special symbolic functions supposed to be defined? They wil