[sage-devel] Re: matrix derivative syntax

2009-01-13 Thread Robert Bradshaw
On Jan 13, 2009, at 11:12 PM, Jason Grout wrote: > I've been working on trac #3941 trying to figure out a nice syntax for > computing the total (matrix) derivative of a multivariable function > (e.g., the Jacobian matrix and the Hessian matrix). Relevant > discussion > for the current diff beh

[sage-devel] matrix derivative syntax

2009-01-13 Thread Jason Grout
I've been working on trac #3941 trying to figure out a nice syntax for computing the total (matrix) derivative of a multivariable function (e.g., the Jacobian matrix and the Hessian matrix). Relevant discussion for the current diff behavior is at http://groups.google.com/group/sage-devel/brow

[sage-devel] Re: Building sage-3.2.2 fails

2009-01-13 Thread DavidS
Hi Michael, So the previous problem disappeared, but I ran into 2 more problems, one of which is still unresolved. It has been reported earlier that the fortran compiler that comes with sage does not work well with Archlinux. The work-around the Archlinux group used was to set 2 environmental var

[sage-devel] Re: mercurial

2009-01-13 Thread William Stein
On Tue, Jan 13, 2009 at 9:47 PM, Dan Drake wrote: > On Tue, 13 Jan 2009 at 04:53AM -0800, mabshoff wrote: >> > For what it's worth, I always use my system Mercurial. >> >> Why? Is the one we ship broken? > > No big reason. To use Sage's hg, I need to add something to my path, and > since I have S

[sage-devel] Re: mercurial

2009-01-13 Thread Dan Drake
On Tue, 13 Jan 2009 at 04:53AM -0800, mabshoff wrote: > > For what it's worth, I always use my system Mercurial. > > Why? Is the one we ship broken? No big reason. To use Sage's hg, I need to add something to my path, and since I have Sage trees here and there, this is harder than doing nothing a

[sage-devel] Re: lost connection to maxima

2009-01-13 Thread William Stein
On Tue, Jan 13, 2009 at 7:19 PM, Jason Grout wrote: > > Robert Bradshaw wrote: >> >> >> +1, that sounds like a very good idea. I'd imagine one could have a >> fresh copy of sage, and just fork from there for every new doctest/ >> notebook session. (It would probably be a lot simpler, and still >>

[sage-devel] Re: lost connection to maxima

2009-01-13 Thread Jason Grout
Robert Bradshaw wrote: > > > +1, that sounds like a very good idea. I'd imagine one could have a > fresh copy of sage, and just fork from there for every new doctest/ > notebook session. (It would probably be a lot simpler, and still > scale much better, for the notebook to start an unused

[sage-devel] Re: Building sage-3.2.2 fails

2009-01-13 Thread mabshoff
On Jan 13, 6:29 pm, DavidS wrote: > Hi Michael, Hi David, > I don't think libpari.so was ever built (I can only find the comments > for libpari.a in install.log). Perhaps I fouled things up when I built > the first few packages (including libpari.so) with icc and icpc. I had > wanted to uploa

[sage-devel] Re: [sage-support] Re: lost connection to maxima

2009-01-13 Thread Robert Bradshaw
On Jan 13, 2009, at 6:04 PM, mabshoff wrote: > On Jan 13, 5:50 pm, Jason Grout wrote: >> Jason Grout wrote: > > > >>> I noticed that for my Sage server, each open worksheet took about >>> 140MB >>> of RAM. When I ran out of memory, the server froze and lots of >>> errors >>> happened. To

[sage-devel] Re: Building sage-3.2.2 fails

2009-01-13 Thread DavidS
Hi Michael, I don't think libpari.so was ever built (I can only find the comments for libpari.a in install.log). Perhaps I fouled things up when I built the first few packages (including libpari.so) with icc and icpc. I had wanted to upload my log, but I managed to mess my install.log up while tr

[sage-devel] Re: sage package construction howto ?

2009-01-13 Thread Vincent Delecroix
On 13 jan, 22:43, mabshoff wrote: > A couple remarks: > > * spkgs usually install software into $SAGE_ROOT/local or in local/ > lib/python/site-packages (via standard distutils mechanism, i.e. > "python setup.py install") and not into the Sage library and I would > highly discourage anyone to

[sage-devel] Re: sage package construction howto ?

2009-01-13 Thread mabshoff
A couple remarks: * spkgs usually install software into $SAGE_ROOT/local or in local/ lib/python/site-packages (via standard distutils mechanism, i.e. "python setup.py install") and not into the Sage library and I would highly discourage anyone to attempt to install into the Sage library itself

[sage-devel] Re: sage package construction howto ?

2009-01-13 Thread Jason Grout
Vincent Delecroix wrote: > > > Jason was right : "I have some python code that creates some objects > that are interesting to me; how do I get this into Sage > permanently ?". I've aldready put my files in the $SAGE_ROOT/devel/ > sage/sage directory and I've done two modifications of the > conf

[sage-devel] Re: sage package construction howto ?

2009-01-13 Thread Robert Bradshaw
On Jan 13, 2009, at 12:54 PM, Vincent Delecroix wrote: > > Jason was right : "I have some python code that creates some objects > that are interesting to me; how do I get this into Sage > permanently ?". I've aldready put my files in the $SAGE_ROOT/devel/ > sage/sage directory and I've done two mo

[sage-devel] Re: sage package construction howto ?

2009-01-13 Thread Vincent Delecroix
On 13 jan, 20:27, Jason Grout wrote: > Simon King wrote: > > Dear Vincent, > > > On Jan 13, 6:38 pm, Vincent Delecroix <20100.delecr...@gmail.com> > > wrote: > >> I need objects in Sage that not yet totally exist (a combinatoric one, > >> and another derived from oriented graph). So I write som

[sage-devel] Re: sage and TinyMCE

2009-01-13 Thread kcrisman
>      * testing with FF 2.0.x on OSX >      * testing with Safari on 10.4 I have reviewed for Safari on 10.4 PPC, FF on 10.4 PPC (see ticket). Safari looks good! But I have inexplicable, horrible, rendering bug on FF 2.0.0.13 which is reproducible for me, but hopefully not for anyone else. -

[sage-devel] Re: Maple graphics in notebook

2009-01-13 Thread Bob Holdom
> > 1. Implement a chdir() method for the Maple interface which changes > > Maple's working directory and tell Maple's plot command always to > > write to a gif in the working directory.  I don't know if either of > > these are doable from the Maple side. > > That seems like a good idea. If it ma

[sage-devel] Re: sage package construction howto ?

2009-01-13 Thread Jason Grout
Simon King wrote: > Dear Vincent, > > On Jan 13, 6:38 pm, Vincent Delecroix <20100.delecr...@gmail.com> > wrote: >> I need objects in Sage that not yet totally exist (a combinatoric one, >> and another derived from oriented graph). So I write some python files >> (pure python for the moment) to c

[sage-devel] Re: sage package construction howto ?

2009-01-13 Thread Simon King
Dear Vincent, On Jan 13, 6:38 pm, Vincent Delecroix <20100.delecr...@gmail.com> wrote: > I need objects in Sage that not yet totally exist (a combinatoric one, > and another derived from oriented graph). So I write some python files > (pure python for the moment) to create those new objects. My p

[sage-devel] Re: sage package construction howto ?

2009-01-13 Thread Robert Bradshaw
On Jan 13, 2009, at 9:38 AM, Vincent Delecroix wrote: > Hi sage-developers, > > I need objects in Sage that not yet totally exist (a combinatoric one, > and another derived from oriented graph). So I write some python files > (pure python for the moment) to create those new objects. My problem >

[sage-devel] Re: sage package construction howto ?

2009-01-13 Thread Vincent Delecroix
On 13 jan, 18:46, "David Joyner" wrote: > On Tue, Jan 13, 2009 at 12:38 PM, Vincent Delecroix > > <20100.delecr...@gmail.com> wrote: > > > Hi sage-developers, > > > I need objects in Sage that not yet totally exist (a combinatoric one, > > and another derived from oriented graph). So I write some

[sage-devel] Re: sage package construction howto ?

2009-01-13 Thread David Joyner
On Tue, Jan 13, 2009 at 12:38 PM, Vincent Delecroix <20100.delecr...@gmail.com> wrote: > > Hi sage-developers, > > I need objects in Sage that not yet totally exist (a combinatoric one, > and another derived from oriented graph). So I write some python files > (pure python for the moment) to creat

[sage-devel] sage package construction howto ?

2009-01-13 Thread Vincent Delecroix
Hi sage-developers, I need objects in Sage that not yet totally exist (a combinatoric one, and another derived from oriented graph). So I write some python files (pure python for the moment) to create those new objects. My problem is that I didn't find any place on the web where it's said how to

[sage-devel] Re: sage and TinyMCE

2009-01-13 Thread Jason Grout
mabshoff wrote: > > > On Jan 8, 3:22 pm, Jason Grout wrote: >> mabshoff wrote: >> >>> I think that the editor is just as important as the @interact in the >>> notebook. So if we could find some more people to test the patches we >>> can get them into the next release. As long as they don't brea

[sage-devel] Re: zn_poly & zmod_poly_t

2009-01-13 Thread William Stein
On Tue, Jan 13, 2009 at 6:29 AM, Martin Albrecht wrote: > >> In particular the class >> >> cdef class Polynomial_zmod_flint(Polynomial_template): >> >> only has like 5 or 6 methods. Just make a version of this class that is >> >> cdef class Polynomial_zmod_flint_and_ntl(Polynomial_template): >>

[sage-devel] Re: CombinatorialAlgebra

2009-01-13 Thread William Stein
On Jan 12, 3:52 pm, mabshoff wrote: > On Jan 12, 6:04 am, "Nicolas M. Thiery" > wrote: > > Hi Nicolas, > > > > > Discussion about the usage of (lazy) attributes w.r.t > > > > parameterless methods i.e. f.bla or f.bla() > > > Well, one objection is that the lazy attributes don't work in Cython

[sage-devel] Re: zn_poly & zmod_poly_t

2009-01-13 Thread Martin Albrecht
> In particular the class > > cdef class Polynomial_zmod_flint(Polynomial_template): > > only has like 5 or 6 methods. Just make a version of this class that is > > cdef class Polynomial_zmod_flint_and_ntl(Polynomial_template): > > say that defines versions of all 5 or 6 methods that use both ntl

[sage-devel] Re: Maple graphics in notebook

2009-01-13 Thread William Stein
On Tue, Jan 13, 2009 at 12:11 AM, Mike Hansen wrote: > > On Mon, Jan 12, 2009 at 8:57 PM, William Stein wrote: >> Do you have any idea how this would work? I mean, what would Sage >> actually do? I don't mean "how would it be implemented in Sage", but >> if you could program sage in natural l

[sage-devel] Re: zn_poly & zmod_poly_t

2009-01-13 Thread William Stein
On Tue, Jan 13, 2009 at 4:17 AM, Martin Albrecht wrote: > > Hi there, > > this is a continuation of a thread on [sage-nt] on arithmetic over Z/nZ[x] for > n word sized. > > http://groups.google.com/group/sage-nt/browse_thread/thread/6e415c61089ea435 > > It started about #4965 > > http://trac.sa

[sage-devel] Re: mercurial

2009-01-13 Thread mabshoff
On Jan 13, 4:35 am, Dan Drake wrote: > On Tue, 13 Jan 2009 at 03:30AM -0800, mabshoff wrote: > > Hi Jason, Hi Dan, > > > I've almost exclusively been using my system mercurial, which I've > > > kept updated.  I don't think I've ever seen a problem with using > > > that instead of the bundled

[sage-devel] Re: mercurial

2009-01-13 Thread Dan Drake
On Tue, 13 Jan 2009 at 03:30AM -0800, mabshoff wrote: > Hi Jason, > > > I've almost exclusively been using my system mercurial, which I've > > kept updated.  I don't think I've ever seen a problem with using > > that instead of the bundled version of mercurial.  I think that lots > > of other deve

[sage-devel] zn_poly & zmod_poly_t

2009-01-13 Thread Martin Albrecht
Hi there, this is a continuation of a thread on [sage-nt] on arithmetic over Z/nZ[x] for n word sized. http://groups.google.com/group/sage-nt/browse_thread/thread/6e415c61089ea435 It started about #4965 http://trac.sagemath.org/sage_trac/ticket/4965 as a call for help because I can't see

[sage-devel] Re: mercurial

2009-01-13 Thread mabshoff
On Jan 13, 3:26 am, Jason Grout wrote: Hi Jason, > I've almost exclusively been using my system mercurial, which I've kept > updated.  I don't think I've ever seen a problem with using that instead > of the bundled version of mercurial.  I think that lots of other > developers are also usin

[sage-devel] Re: mercurial

2009-01-13 Thread Jason Grout
Nicolas M. Thiery wrote: > Hi, > > What's the plan for upgrading the version of mercurial distributed > with sage? 1.0.2 fixes a bug which readily crashed my sage-combinat > patch repository twice (namely: don't qrename a new patch in your > queue before committing it!)? > > As a temporary

[sage-devel] Re: mercurial

2009-01-13 Thread Alex Ghitza
On Tue, Jan 13, 2009 at 8:16 PM, mabshoff wrote: > > Ok, since it is queues no one has complained so far. The upgrade > should be trivial and it has been on my todo list, so please open a > ticket and it will be in 3.3. > > It's #4969 on trac. I've been using queues exclusively for almost a year

[sage-devel] Re: mercurial

2009-01-13 Thread mabshoff
On Jan 13, 1:04 am, "Nicolas M. Thiery" wrote: >         Hi, Hi, > What's the plan for upgrading the version of mercurial distributed > with sage? 1.0.2 fixes a bug which readily crashed my sage-combinat > patch repository twice (namely: don't qrename a new patch in your > queue before commit

[sage-devel] mercurial

2009-01-13 Thread Nicolas M. Thiery
Hi, What's the plan for upgrading the version of mercurial distributed with sage? 1.0.2 fixes a bug which readily crashed my sage-combinat patch repository twice (namely: don't qrename a new patch in your queue before committing it!)? As a temporary alternative, do you foresee any proble

[sage-devel] Re: Maple graphics in notebook

2009-01-13 Thread Mike Hansen
On Mon, Jan 12, 2009 at 8:57 PM, William Stein wrote: > Do you have any idea how this would work? I mean, what would Sage > actually do? I don't mean "how would it be implemented in Sage", but > if you could program sage in natural language, how would you describe > what you're asking for righ