[sage-devel] Re: I need a bit of python help

2009-06-27 Thread Arnaud Bergeron
2009/6/27 Dr. David Kirkby : > > John H Palmieri wrote: >> >> >> On Jun 27, 6:50 pm, "Dr. David Kirkby" >> wrote: #!/usr/bin/bash if [ `uname` = "SunOS" -a "`ld  --version  2>&1  | grep GNU`" = "" ]; then    echo "Solaris system. The linker is NOT the GNU linker"    echo "The

[sage-devel] Re: Anybody tried search_* in 4.1.alpha1?

2009-06-26 Thread Arnaud Bergeron
2009/6/26 kcrisman : > > On Jun 26, 2:24 pm, John H Palmieri wrote: >> On Jun 26, 10:33 am, kcrisman wrote: >> >> > > > I'm really sorry this is so weird.  This is OSX.4 on a PPC, so perhaps >> > > > something got changed in those scripts recently? >> >> > > Yes, it got changed in #5806. Can you

[sage-devel] Re: Notebook problem with sympy

2009-04-09 Thread Arnaud Bergeron
2009/4/7 Brian Granger : > >> That seems awfully complicated.  How about (untested): >> >> sage_python = python >> from sympy import * >> python = sage_python >> >> or (even shorter, and still untested): >> >> from sympy import * >> restore('python') > > Sure these may work, but in my mind they ar

[sage-devel] Using polynomial generators in solve()

2009-04-03 Thread Arnaud Bergeron
Some code that used to work in sage-3.0.6 (or something close like 3.0.3), now break with this error message: >>> R. = PolynomialRing(RR, 3) >>> solve([symbolic_expression(x0) == 0], x0, x1, x2) Traceback (most recent call last): File "", line 1, in File "/Users/anakha/.sage/sage_notebook/wo

[sage-devel] Re: Compilation problem with sage-3.4.spkg

2009-03-25 Thread Arnaud Bergeron
2009/3/25 bourbabis : > > Hi SAGE teamT. > > So I've tried to rebuild from scratch. > I've encountered several times this error message : > > python: can't open file '/opt/sage-3.4/devel/sage/doc/common/ > builder.py' > (See lines number 31833 and 68522 from the log file). > > Notice I've been abl

[sage-devel] Re: Compilation problem with sage-3.4.spkg

2009-03-24 Thread Arnaud Bergeron
2009/3/24 William Stein : > > On Tue, Mar 24, 2009 at 8:02 AM, bourbabis wrote: >> >> Hello SAGE people. >> >> Everything is in the title. Several attempts with "make" leading to >> the exact same point of failure. >> >> The install log file : >>  http://download206.mediafire.com/nzjxxh0x9jmg/4lj

[sage-devel] Re: Sage 3.4.rc0

2009-03-04 Thread Arnaud Bergeron
2009/3/4 mabshoff : > > > > On Mar 4, 2:48 pm, Arnaud Bergeron wrote: > > Hi Arnaud, > >> This does not build on Mac OS X 10.5.6 PPC 64-bits.  It does build >> fine in 32-bit mode though >> >> The first issue is rather trivial.  The gmp-mpir-0.9 spkg

[sage-devel] Re: Sage 3.4.rc0

2009-03-04 Thread Arnaud Bergeron
2009/3/4 mabshoff : > > > > On Mar 4, 2:59 pm, mabshoff wrote: > > > > Hi Arnaud, > >> > I tried adding -mlongcall to the gcc options without success. >> >> Yeah, I also found this >> pagehttp://lists.apple.com/archives/carbon-dev/2007/aug/msg00154.html >> - for now you might just want to remov

[sage-devel] Re: Sage 3.4.rc0

2009-03-04 Thread Arnaud Bergeron
This does not build on Mac OS X 10.5.6 PPC 64-bits. It does build fine in 32-bit mode though The first issue is rather trivial. The gmp-mpir-0.9 spkg fails to build because spkg-install passes the option ABI=64 while it expects ABI=mode64. After a manual fix, the build goes on until symmetrica

[sage-devel] Colomap handling

2009-01-23 Thread Arnaud Bergeron
Recently I made a patch to improve the handling of colormap, which has been merged in 3.3 (http://trac.sagemath.org/sage_trac/ticket/4884) There was some discussion on the ticket (read the comments) which may have confused everybody. I proposed adding a function to the global namespace called cm

[sage-devel] Re: polymake

2008-12-24 Thread Arnaud Bergeron
>>> >* dvipng-1.8 -- available on any linux/os x system via standard >>> > package tools; has nothing to do with sage >>> >>> Delete it completely. The dependencies are insane and people just >>> install the distributions version.. I think this spkg was made for macs, where the system dvipng

[sage-devel] Re: Legends for 2d plots

2008-10-22 Thread Arnaud Bergeron
2008/10/22 Jason Grout <[EMAIL PROTECTED]>: > > David Joyner wrote: >> I'll have to wait until I get home from work to test it out but the >> patch looks like you've added a lot of nice functionality. My original >> thought was >> to include more of the legend options in the method itself (instead

[sage-devel] Re: Legends for 2d plots

2008-10-22 Thread Arnaud Bergeron
Though I haven't put much though into what happens when you add two Graphics with a legend together. > > On Tue, Oct 21, 2008 at 10:08 PM, Arnaud Bergeron <[EMAIL PROTECTED]> wrote: >> I implemented some code to put legends on 2d plots. >> >> It currently works, b

[sage-devel] Legends for 2d plots

2008-10-21 Thread Arnaud Bergeron
I implemented some code to put legends on 2d plots. It currently works, but I would like comments on the interface or better ways to do some things before I put the code up for review in trac. I am aware that the code needs proper documentation, I'll do that tomorrow. Also, should I put a deprec

[sage-devel] Re: review request for trac #4164 (polyhedra.py)

2008-10-07 Thread Arnaud Bergeron
into another > merged patch. Can you review it? > > Cheers, > Marshall > >> On Oct 4, 7:59 pm, "Arnaud Bergeron" <[EMAIL PROTECTED]> wrote: >> >> > 2008/9/29 mhampton <[EMAIL PROTECTED]>: >> >> > > I thought I would explici

[sage-devel] Re: review request for trac #4164 (polyhedra.py)

2008-10-06 Thread Arnaud Bergeron
2008/9/29 mhampton <[EMAIL PROTECTED]>: > > I thought I would explicitly point this one out because I had been > reviewing #4164 (work by Arnaud Bergeron), but now I am also > contributing code and I think the best scenario is to have someone > else take a look. Mike

[sage-devel] Re: polytopes, triangulation, proposal to add lrs

2008-09-23 Thread Arnaud Bergeron
ut 110ms and the two others take about 200ms (not including the time it takes to build the polyhedron). Please review again. Arnaud > Cheers, > Marshall Hampton > > On Sep 23, 1:01 am, "Arnaud Bergeron" <[EMAIL PROTECTED]> wrote: >> My code is up for

[sage-devel] Re: polytopes, triangulation, proposal to add lrs

2008-09-22 Thread Arnaud Bergeron
My code is up for review at #4164 Arnaud --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sag

[sage-devel] Re: Final Sage 3.1.2 release preparation

2008-09-20 Thread Arnaud Bergeron
2008/9/20 mabshoff <[EMAIL PROTECTED]>: > > > > On Sep 20, 9:24 am, "Arnaud Bergeron" <[EMAIL PROTECTED]> wrote: > > Hi Arnaud, > >> I am mentioned as having done my first contribution for 3.1.2, but in >> the 3.1.1 release notes, > > I

[sage-devel] Re: polytopes, triangulation, proposal to add lrs

2008-09-20 Thread Arnaud Bergeron
tually look at the points themselves, only at their adjacency (with vertex_adjacencies()) > Cheers, > Marshall > > On Sep 20, 3:08 pm, "Arnaud Bergeron" <[EMAIL PROTECTED]> wrote: >> About this, I have encountered behaviour which I find strange (and >> also brea

[sage-devel] Re: polytopes, triangulation, proposal to add lrs

2008-09-20 Thread Arnaud Bergeron
Cheers, > Marshall Hampton > > On Sep 20, 11:35 am, "Arnaud Bergeron" <[EMAIL PROTECTED]> wrote: >> 2008/9/20 mhampton <[EMAIL PROTECTED]>: >> >> >> >> >> >> > Hi everybody, >> >> > This is mainly about making

[sage-devel] Re: polytopes, triangulation, proposal to add lrs

2008-09-20 Thread Arnaud Bergeron
2008/9/20 mhampton <[EMAIL PROTECTED]>: > > Hi everybody, > > This is mainly about making the lrs optional package standard to > improve some polytope-related calculations. > > My original motivation for lrs (linear reverse search) is that is a > very different algorithm/implementation for computi

[sage-devel] Re: Final Sage 3.1.2 release preparation

2008-09-20 Thread Arnaud Bergeron
2008/9/19 mabshoff <[EMAIL PROTECTED]>: > > Hello folks, > > at > > http://sage.math.washington.edu/home/mabshoff/release-cycles-3.1.1/Sage-3.1.1-release-notes-draft1.txt > > and > > http://sage.math.washington.edu/home/mabshoff/release-cycles-3.1.2/Sage-3.1.2-release-notes-draft1.txt > > you can

[sage-devel] Re: Sage in url prefix

2008-09-18 Thread Arnaud Bergeron
2008/9/18 Pavel Panchekha <[EMAIL PROTECTED]>: > > """ > For clarification, are you asking for a way to have a base tag with > your url(s) on every notebook page and that's all we need for url > prefixes? > """ > > Yes. In the head of every page, include a tag, such as: > > > Then, each of the l

[sage-devel] Re: Patch against eclib to allow using gmake

2008-09-06 Thread Arnaud Bergeron
e make in the path. That way it would be possible tu use gmake by just typing 'gmake' instead of 'make' on BSD systems. Of course, if Sage never intends to go that way, then there is no benefit. >> John Cremona > > Cheers, > > Michael > >> CC: sage-dev

[sage-devel] Re: Sage 3.1.2.alpha4 released

2008-09-03 Thread Arnaud Bergeron
libm4ri does not build on OS X 10.5 ppc See http://trac.sagemath.org/sage_trac/ticket/4059 for details. I can do the OS X ppc part, (and even then it would need testing on 10.4 and G4s), but I have no idea about Solaris on Sparcs. I should build alphas more often. --~--~-~--~~-

[sage-devel] Script in spkg/base not commited

2008-09-03 Thread Arnaud Bergeron
hg diff in spkg/base gives the diff at the bottom in a just-extracted sage-3.1.2.alpha4. Should this repository be ignored or is this just an oversight? diff -r 743c463b3af6 sage-env --- a/sage-env Sun May 18 17:08:31 2008 -0700 +++ b/sage-env Wed Sep 03 13:43:21 2008 -0400 @@ -148,8 +148,10 @

[sage-devel] Re: Sage 3.1.2.alpha1 released

2008-08-28 Thread Arnaud Bergeron
2008/8/28 mabshoff <[EMAIL PROTECTED]>: > > Thanks for tracking this down. Please open a new ticket and attach the > patch to it. > > We generally attempt to avoid reopening tickets or adding patches to > tickets that were closed in previous milestones since that makes > reconstructing the exact s

[sage-devel] Re: Student project on sage graphics

2008-08-28 Thread Arnaud Bergeron
2008/8/28 Jason Grout <[EMAIL PROTECTED]>: > > Arnaud Bergeron wrote: >> There is a strong possibility that for the next semester I will be >> working on the graphics area of sage. I would working more on the >> visible side than the innards but that does not mean I

[sage-devel] Re: Student project on sage graphics

2008-08-28 Thread Arnaud Bergeron
ppm?). >> It would be nice to have those working better. Do you mean texture for object? If yes, I can do that too. It might need some hacking in tachyon itself, but I'm not against that. > That's a great suggestion. Can jmol also do image texture maps? > >> >> Hmmm...I kn

[sage-devel] Re: Sage 3.1.2.alpha1 released

2008-08-27 Thread Arnaud Bergeron
2008/8/27 John Cremona <[EMAIL PROTECTED]>: > > Two build reports. Both built fine, but a few doctest failures: > > 1. Linux version 2.6.24-19-generic ([EMAIL PROTECTED]) (gcc version > 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Fri Jul 11 23:41:49 UTC 2008 > > The following tests failed: > >

[sage-devel] Student project on sage graphics

2008-08-27 Thread Arnaud Bergeron
There is a strong possibility that for the next semester I will be working on the graphics area of sage. I would working more on the visible side than the innards but that does not mean I will not touch the innards if need be. Currently I have these items that I think need work / I would like to

[sage-devel] Re: plot_division option in plot

2008-08-23 Thread Arnaud Bergeron
2008/8/23 Philippe Saade <[EMAIL PROTECTED]>: > > On Sat, Aug 23, 2008 at 8:58 PM, William Stein <[EMAIL PROTECTED]> wrote: >> >> On Sat, Aug 23, 2008 at 11:47 AM, Philippe Saade <[EMAIL PROTECTED]> wrote: > >> >> If it is about plot_division and plot_points, then yes, it will be garbage >> in a f

[sage-devel] Re: What happens during "plot" in notebook

2008-08-23 Thread Arnaud Bergeron
2008/8/23 Philippe Saade <[EMAIL PROTECTED]>: > > Hi group, > > i'am a little bit confused while analysing Sage Python packages and > (newbie's default) a would like to ask a simple question : For the next time, this sort of question goes to [EMAIL PROTECTED] > when one types > > var('x') > f_ex

[sage-devel] Re: Things I miss from Maple in Sage

2008-08-21 Thread Arnaud Bergeron
>> > data /. x_?(# < 0 &) -> 0 (this is perhaps not the killer example) >> >> What does that do? > > /. is the pattern replacement operator, _ is a placeholder pattern > that matches anything, x_ gives this placeholder a name so you can use > it later, ? filters the matches (in this case, everythi

[sage-devel] Re: Parent and Element support for non numeric data

2008-07-18 Thread Arnaud Bergeron
2008/7/18 Robert Bradshaw <[EMAIL PROTECTED]>: > > Just for the record, __nonzero__ is a Python special method, nothing > to do with Parents/Elements. What it has to do with Elements is that the current Element class implements it. Nothing else. >>> But I think this discussion does bring up the

[sage-devel] Re: Parent and Element support for non numeric data

2008-07-18 Thread Arnaud Bergeron
2008/7/17 Kurt <[EMAIL PROTECTED]>: > > On Jul 16, 2:39 pm, "Mike Hansen" <[EMAIL PROTECTED]> wrote: > >> > I have a class which represents the set of words over an alphabet (but >> > is not a Monoïd since it also contains infinite words) and another >> > class which represents a word. These class

[sage-devel] Re: Parent and Element support for non numeric data

2008-07-16 Thread Arnaud Bergeron
2008/7/16 Mike Hansen <[EMAIL PROTECTED]>: > > Hi Arnaud, > >>On Wed, Jul 16, 2008 at 4:13 PM, Arnaud Bergeron <[EMAIL PROTECTED]> wrote: >> I am currently working on a module for combinatorics and manipulation >> of words in sage (which is much more powerf

[sage-devel] Parent and Element support for non numeric data

2008-07-16 Thread Arnaud Bergeron
I am currently working on a module for combinatorics and manipulation of words in sage (which is much more powerful than what is already there). You can find our current code at http://sage-words.googlecode.com/ if you are interested. We started out using as little as possible from the Sage libra

[sage-devel] Re: xmaxima is built if you have tcl/tk!

2008-06-24 Thread Arnaud Bergeron
2008/6/24 didier deshommes <[EMAIL PROTECTED]>: > > On Tue, Jun 24, 2008 at 8:32 AM, Michael Abshoff > <[EMAIL PROTECTED]> wrote: >> I am not sure if there is any harm if Maxima builds it. When woulds building >> xmaxima cause a problem? > > I'm sure it doesn't; the issue is that sage builds somet