[sage-combinat-devel] Re: WeylCharacterRing

2010-09-01 Thread Bruce
Can you compile sage from scratch? Yes. I have a Linux machine and John Cremona installed sage 4.5.2 2010-08-05 for me from scratch. -- You received this message because you are subscribed to the Google Groups sage-combinat-devel group. To post to this group, send email to

[sage-combinat-devel] Re: WeylCharacterRing

2010-09-01 Thread bump
On Sep 1, 1:37 am, Bruce brucewestb...@gmail.com wrote: Can you compile sage from scratch? Yes. I have a Linux machine and John Cremona installed sage 4.5.2 2010-08-05 for me from scratch. Great. To install the patch, download it by going to http://trac.sagemath.org/sage_trac/ticket/9838

Re: [sage-combinat-devel] Re: WeylCharacterRing

2010-09-01 Thread Nicolas M. Thiery
On Wed, Sep 01, 2010 at 05:50:26AM -0700, bump wrote: Now you will need mercurial installed. For example if you have Ubuntu you can run sudo apt-get install mercurial if you do not have it already. Or just use `sage -hg` instead of `hg`. Best, Nicolas --

[sage-combinat-devel] Re: WeylCharacterRing reimplementation

2010-09-01 Thread bump
On Aug 20, 11:27 am, Nicolas M. Thiery nicolas.thi...@u-psud.fr wrote: The best fix would be to have, as has been planned some time ago, WeylCharacterRing use categories (and by the way CombinatorialFreeModule), and this would be automatically handled by the coercion system. Dan: do you

Re: [sage-devel] Re: Sage trac account names mapped to real names

2010-09-01 Thread Minh Nguyen
Hi Niles, On Wed, Sep 1, 2010 at 7:49 AM, Niles nil...@gmail.com wrote: I've noticed a separate list of developers on the DevMap at sagemath.org . . . is there a plan to integrate these two lists? There is a plan. Some people who are listed on the Dev Map are not listed on the trac home page

[sage-devel] Re: gcd and lcm for field elements

2010-09-01 Thread luisfe
On Aug 28, 1:21 pm, Sebastian Pancratz s...@pancratz.org wrote: On Aug 27, 1:00 pm, luisfe lftab...@yahoo.es wrote: I have added a new ticket for adding a default gcd and lcm for field elements. http://trac.sagemath.org/sage_trac/ticket/9819 For the case of field elements gcd and lcm

Re: [sage-devel] Re: OSX Clickable App

2010-09-01 Thread Ivan Andrus
On Aug 31, 2010, at 8:15 PM, Ivan Andrus wrote: On Aug 31, 2010, at 7:37 PM, Jason Grout wrote: When I click stop server, and then start server, I see this error message in the log: Setting environment variables Warning: Attempted to overwrite SAGE_ROOT environment variable Checking

[sage-devel] non-stable .spkgs (alpha, beta, svn/cvs snapshots etc)

2010-09-01 Thread David Kirkby
Does Sage have any sort of policy on using pre-release software in .spkg files? By this I mean a package which is marked by the upstream developers as a alpha/beta/release candiadate, or something someone has grabbed by use of cvs/jit/svn etc. I know this is sometimes happens - the Pari update in

[sage-devel] dates on snapshots of .spkg files

2010-09-01 Thread David Kirkby
As you will see from a previous email today, I'm not over-keen on the use of unstable snapshots, but I'm aware they are sometimes necessary http://www.sagemath.org/doc/developer/patching_spkgs.html#bumping-up-an-spkg-s-version says If the upstream package is taken from some revision other than a

[sage-devel] sage -spkg may hang

2010-09-01 Thread Simon King
Hi! When I tried to create an spkg out of a folder with many uncommitted changes in the mercurial repository, after a while the process hanged. It was invisible to top and didn't finish (I waited something like 10 minutes). But after committing the changes, it worked fine and quickly. I doubt

[sage-devel] sorted is not portable!?!

2010-09-01 Thread Simon King
Hi! The following happens with Sage-4.5.2 sage.math: sage: L = [(360, {}), (2520, {0: 'X'}), ('prime', 3)] sage: sorted(L) [(360, {}), (2520, {0: 'X'}), ('prime', 3)] bsd.math: sage: L = [(360, {}), (2520, {0: 'X'}), ('prime', 3)] sage: sorted(L) [('prime', 3), (360, {}), (2520, {0:

[sage-devel] Re: gcd and lcm for field elements

2010-09-01 Thread luisfe
Another issue, Assuming that we allow a fallback implementation of gcd/lcm for field elements. Do we want such gcd/lcm if the field is non-exact? FractionField(RR[x]) and so on. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an

[sage-devel] Re: OSX Clickable App

2010-09-01 Thread kcrisman
On Sep 1, 6:58 am, Ivan Andrus darthand...@gmail.com wrote: On Aug 31, 2010, at 8:15 PM, Ivan Andrus wrote: On Aug 31, 2010, at 7:37 PM, Jason Grout wrote: When I click stop server, and then start server, I see this error message in the log: Setting environment variables

Re: [sage-devel] Re: gcd and lcm for field elements

2010-09-01 Thread John Cremona
Any field with an is_zero() function on its elements is presumably OK? John On 1 September 2010 15:39, luisfe lftab...@yahoo.es wrote: Another issue, Assuming that we allow a fallback implementation of gcd/lcm for field elements. Do we want such gcd/lcm if the field is non-exact?

Re: [sage-devel] Re: OSX Clickable App

2010-09-01 Thread Ivan Andrus
On Sep 1, 2010, at 4:40 PM, kcrisman wrote: On Sep 1, 6:58 am, Ivan Andrus darthand...@gmail.com wrote: On Aug 31, 2010, at 8:15 PM, Ivan Andrus wrote: On Aug 31, 2010, at 7:37 PM, Jason Grout wrote: When I click stop server, and then start server, I see this error message in the log:

[sage-devel] Re: gcd and lcm for field elements

2010-09-01 Thread Sebastian Pancratz
Dear Luis, I think the points you raise are valid ones. Perhaps the following would be a sensible solution? Implement gcd and lcm for general field elements just as you suggest. (So gcd(x,y) is 1 unless (x,y) is (0,0), in which case it is 0.) It should be just fine for inexact fields, too, so

[sage-devel] Re: Random banter about Sage standards

2010-09-01 Thread Bill Hart
Tim, all screwing around aside for a moment. I broadly agree with your sentiments. However, there are also some issues with what you are suggesting. And I mean to make these observations in all seriousness. One of the reasons we have been rewriting things like ZZ and ZZ[x] is that there has been

[sage-devel] Sagemath infrastructure

2010-09-01 Thread William Stein
Hi, Expect downtime, instability, reboots, etc. Today on the sagemath infrastructure. William -- William Stein Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an

[sage-devel] A Mathematica parser for Sage.

2010-09-01 Thread David Kirkby
Has anyone given thought for making Sage read Mathematica syntax? I've seen a recent video from William stating it is NOT an aim of Sage to be clone of any of the 4 M's - in contrast, Octave is a clone of MATLAB. Whilst parsing Mathematica code is not an aim of Sage, I doubt many would are argue

[sage-devel] Problem with the trac server

2010-09-01 Thread Florent Hivert
Hi there, When I try to connect to trac I get the following: Warning: * Can't synchronize with the repository (/usr/local/sage/devel/sage does not appear to contain a Mercurial repository.). Look in the Trac log for more information. * Can't synchronize with the repository

[sage-devel] Sphinx forgets variables between doctests

2010-09-01 Thread Nathann Cohen
Hello everybody !!! I've been writing a tutorial for LP, and I hope the Graph tutorial will follow, but I have a problem with doctests... Something like that : sage: g = Graph() Now we add a vertex :: sage: g.add_vertex(1) does not work as Sphinx forgets the definition of g between

Re: [sage-devel] Sphinx forgets variables between doctests

2010-09-01 Thread David Kirkby
On 1 September 2010 17:16, Nathann Cohen nathann.co...@gmail.com wrote: Hello everybody !!! I've been writing a tutorial for LP Nathann It would be good if you could update that bit of the documentation that tells one how to load the optional GPLK package, when GLPK is now a standard

[sage-devel] Re: gcd and lcm for field elements

2010-09-01 Thread luisfe
On Sep 1, 5:27 pm, Sebastian Pancratz s...@pancratz.org wrote: I don't think this change in code should be used as a band-aid to make things work in one of the trac tickets you mentioned earlier. For the problem that raised all the stuff up I have an alternative solution (with pros and cons

[sage-devel] Re: A Mathematica parser for Sage.

2010-09-01 Thread kcrisman
On Sep 1, 11:55 am, David Kirkby david.kir...@onetel.net wrote: Has anyone given thought for making Sage read Mathematica syntax? I've seen a recent video from William stating it is NOT an aim of Sage to be clone of any of the 4 M's - in contrast, Octave is a clone of MATLAB. Whilst

Re: [sage-devel] Re: A Mathematica parser for Sage.

2010-09-01 Thread David Kirkby
On 1 September 2010 17:45, kcrisman kcris...@gmail.com wrote: On Sep 1, 11:55 am, David Kirkby david.kir...@onetel.net wrote: Has anyone given thought for making Sage read Mathematica syntax? I've seen a recent video from William stating it is NOT an aim of Sage to be clone of any of the 4

[sage-devel] Re: Problem with the trac server

2010-09-01 Thread kcrisman
On Sep 1, 9:21 am, Florent Hivert florent.hiv...@univ-rouen.fr wrote:       Hi there, When I try to connect to trac I get the following:  Warning:     * Can't synchronize with the repository (/usr/local/sage/devel/sage does not appear to contain a Mercurial repository.). Look in the

Re: [sage-devel] Problem with the trac server

2010-09-01 Thread David Kirkby
On 1 September 2010 14:21, Florent Hivert florent.hiv...@univ-rouen.fr wrote:      Hi there, When I try to connect to trac I get the following:  Warning:    * Can't synchronize with the repository (/usr/local/sage/devel/sage does not appear to contain a Mercurial repository.). Look in the

Re: [sage-devel] Sphinx forgets variables between doctests

2010-09-01 Thread Mike Hansen
On Wed, Sep 1, 2010 at 9:16 AM, Nathann Cohen nathann.co...@gmail.com wrote: Any idea how to fix it ? You need to use .. link to connect a doctest block with the one above it. For example, {{{ .. link :: sage: d.items() [(1, 5), ('sage', 17), (Integer Ring, Finite Field of size 7)]

Re: [sage-devel] sorted is not portable!?!

2010-09-01 Thread Mike Hansen
On Wed, Sep 1, 2010 at 7:23 AM, Simon King simon.k...@nuigalway.ie wrote: Any idea why sorted has become machine dependent? It's always been somewhat machine dependent -- see http://yz.mit.edu/wp/default-behavior-of-pythons-cmp/ . --Mike -- To post to this group, send an email to

[sage-devel] Re: A Mathematica parser for Sage.

2010-09-01 Thread kcrisman
On Sep 1, 1:30 pm, David Kirkby david.kir...@onetel.net wrote: On 1 September 2010 17:45, kcrisman kcris...@gmail.com wrote: On Sep 1, 11:55 am, David Kirkby david.kir...@onetel.net wrote: Has anyone given thought for making Sage read Mathematica syntax? I've seen a recent video from

[sage-devel] Re: sorted is not portable!?!

2010-09-01 Thread Simon King
Hi Mike! On 1 Sep., 19:45, Mike Hansen mhan...@gmail.com wrote: It's always been somewhat machine dependent -- seehttp://yz.mit.edu/wp/default-behavior-of-pythons-cmp/. Ah! So, the problem is that I have both strings and integers, there is no __cmp__ implemented that compares both, and thus

Re: [sage-devel] Re: sorted is not portable!?!

2010-09-01 Thread Mike Hansen
On Wed, Sep 1, 2010 at 11:00 AM, Simon King simon.k...@nuigalway.ie wrote: But then, what can one do? I.e., how can one safely doctest the contents of a dictionary D? You could build the dictionary and check that it is equal to the dictionary in question: sage: L {360: {}, 2520: {0: 'X'},

[sage-devel] Re: sorted is not portable!?!

2010-09-01 Thread Simon King
Hi Mike! On 1 Sep., 20:05, Mike Hansen mhan...@gmail.com wrote: You could build the dictionary and check that it is equal to the dictionary in question: sage: L {360: {}, 2520: {0: 'X'}, 'prime': 3} sage: dict([(360, {}), (2520, {0: 'X'}), ('prime', 3)]) == L True Good idea! Thank you,

[sage-devel] Re: sorted is not portable!?!

2010-09-01 Thread Nils Bruin
On Sep 1, 11:00 am, Simon King simon.k...@nuigalway.ie wrote: But then, what can one do? I.e., how can one safely doctest the contents of a dictionary D? If the default choice of sorted is not portable, make sure to tell the system to sort on something that is portable, like you suggest: At

[sage-devel] multivariate power series (reminder)

2010-09-01 Thread Niles
Hello everyone, This is a reminder that a patch for multivariate power series is waiting for review at http://trac.sagemath.org/sage_trac/ticket/1956 The idea is to implement multivariate power series as univariate power series over a multivariate polynomial ring; the power series variable is

[sage-devel] sage.math infrastructure

2010-09-01 Thread William Stein
Hi, Most sage.math related infrastructure will be down for the next few hours for maintenance. William -- William Stein Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group,

[sage-devel] consistent style for sagemath.org and sage documentation

2010-09-01 Thread Niles
Hello everyone, Over at asksage, I complained that the sage documentation bears no resemblance to sagemath.org, and I for one actually did find this a little confusing at first (until I realized that all python documentation looks like this, by default). That complaint got a couple of up-votes,

Re: [sage-devel] consistent style for sagemath.org and sage documentation

2010-09-01 Thread Timothy Clemans
+1 On Wed, Sep 1, 2010 at 2:33 PM, Niles nil...@gmail.com wrote: Hello everyone, Over at asksage, I complained that the sage documentation bears no resemblance to sagemath.org, and I for one actually did find this a little confusing at first (until I realized that all python documentation

Re: [sage-devel] consistent style for sagemath.org and sage documentation

2010-09-01 Thread William Stein
On Wed, Sep 1, 2010 at 2:33 PM, Niles nil...@gmail.com wrote: Hello everyone, Over at asksage, I complained that the sage documentation bears no resemblance to sagemath.org, and I for one actually did find this a little confusing at first (until I realized that all python documentation looks

Re: [sage-devel] consistent style for sagemath.org and sage documentation

2010-09-01 Thread David Joyner
On Wed, Sep 1, 2010 at 6:03 PM, William Stein wst...@gmail.com wrote: On Wed, Sep 1, 2010 at 2:33 PM, Niles nil...@gmail.com wrote: Hello everyone, Over at asksage, I complained that the sage documentation bears no resemblance to sagemath.org, and I for one actually did find this a little

Re: [sage-devel] consistent style for sagemath.org and sage documentation

2010-09-01 Thread Mitesh Patel
On 09/01/2010 04:33 PM, Niles wrote: Over at asksage, I complained that the sage documentation bears no resemblance to sagemath.org, and I for one actually did find this a little confusing at first (until I realized that all python documentation looks like this, by default). That complaint

[sage-devel] Re: consistent style for sagemath.org and sage documentation

2010-09-01 Thread Rob Beezer
Looks good to me too. Nice idea. Did you experiment with the background color on the verbatim stuff (doctests)? Looks like strings print in blue, so that probably wouldn't be a good choice and maybe there is enough blue already. The sick green has always been a bit jarring to my eye. Maybe a

Re: [sage-devel] Busted maxima interface - anyone got a clue?

2010-09-01 Thread Dr. David Kirkby
On 09/ 1/10 02:19 AM, Alex Ghitza wrote: On Wed, 01 Sep 2010 00:07:43 +0100, Dr. David Kirkbydavid.kir...@onetel.net wrote: It's nice to know that running the tests 100 times and reporting the failures managed to unearth a bug. I'm not sure I would call this a bug, but it is definitely

[sage-devel] Re: sage.math infrastructure

2010-09-01 Thread William Stein
Hi, 1. sagenb.org, sagemath.org, sage.math, boxen.math, etc., should all be back up. 2. I rebooted boxen, mod, and geom after upgrading their ILOM Firmware, so if you had jobs running on any of those machines, they were killed. 3. The computer disk.math serves everybody's home directories; it's

[sage-devel] Parent equality

2010-09-01 Thread David Roe
For A and B Parents, should A == B ever differ from A is B? This came up in tracking down a p-adics bug, but there's at least one place that assumes the equivalence of these conditions. The place I'm thinking of is in sage.categories.hom_set.Hom, where it checks a cache to see if the Homset has

[sage-devel] Re: Random banter about Sage standards

2010-09-01 Thread Jason Grout
On 9/1/10 10:32 AM, Bill Hart wrote: Tim, all screwing around aside for a moment. I broadly agree with your sentiments. However, there are also some issues with what you are suggesting. And I mean to make these observations in all seriousness. I'm reading this thread with great interest.

[sage-devel] Re: non-stable .spkgs (alpha, beta, svn/cvs snapshots etc)

2010-09-01 Thread Jason Grout
On 9/1/10 7:00 AM, David Kirkby wrote: Should any desire to update to a non-stable release be discussed on sage-devel first? That sounds reasonable to me. Jason -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to

[sage-devel] Re: consistent style for sagemath.org and sage documentation

2010-09-01 Thread Jason Grout
On 9/1/10 5:17 PM, Rob Beezer wrote: Looks good to me too. Nice idea. Did you experiment with the background color on the verbatim stuff (doctests)? Looks like strings print in blue, so that probably wouldn't be a good choice and maybe there is enough blue already. The sick green has always

[sage-devel] Re: Parent equality

2010-09-01 Thread Jason Grout
On 9/1/10 7:25 PM, David Roe wrote: P.S. To find an example of two parents which currently compare as equal but are not the same object, do sage: R = Zp(5, print_sep=|) sage: S = Zp(5, print_sep=:) sage: R == S True sage: R is S False Carl Witty commented on a similar issue in printing in

[sage-devel] Re: A Mathematica parser for Sage.

2010-09-01 Thread Felix Lawrence
whuss at some point added something like this for both Mma and Maple, though very basic, as part of another ticket (symbolic sums?).  I can't remember where it is and am unfortunately having some internet issues :( but anyway I believe this code was merged into Sage at some point.

Re: [sage-devel] Re: Parent equality

2010-09-01 Thread Florent Hivert
Hi there, On Wed, Sep 01, 2010 at 08:27:22PM -0500, Jason Grout wrote: On 9/1/10 7:25 PM, David Roe wrote: P.S. To find an example of two parents which currently compare as equal but are not the same object, do sage: R = Zp(5, print_sep=|) sage: S = Zp(5, print_sep=:) sage: R == S

Re: [sage-devel] Re: A Mathematica parser for Sage.

2010-09-01 Thread David Kirkby
On 2 September 2010 04:01, Felix Lawrence fe...@physics.usyd.edu.au wrote: I think there's some confusion here.  kcrisman seems to be talking about allowing the Mathematica interface to parse mathematica output, importing it to Sage.  Dave seems to be proposing writing something that lets

Re: [sage-devel] Re: non-stable .spkgs (alpha, beta, svn/cvs snapshots etc)

2010-09-01 Thread David Kirkby
On 2 September 2010 02:12, Jason Grout jason-s...@creativetrax.com wrote: On 9/1/10 7:00 AM, David Kirkby wrote: Should any desire to update to a non-stable release be discussed on sage-devel first? That sounds reasonable to me. Jason Thank you Jason. Who would agree with making this a

Re: [sage-devel] Re: non-stable .spkgs (alpha, beta, svn/cvs snapshots etc)

2010-09-01 Thread François Bissey
On 2 September 2010 02:12, Jason Grout jason-s...@creativetrax.com wrote: On 9/1/10 7:00 AM, David Kirkby wrote: Should any desire to update to a non-stable release be discussed on sage-devel first? That sounds reasonable to me. Jason Thank you Jason. Who would agree with

[sage-devel] Re: A Mathematica parser for Sage.

2010-09-01 Thread rjf
the mathematica syntax parser that I wrote appears to run inside Maxima, so you can, if you wish, feed such text to the mma-in-maxima system. The intent in that project is mainly to take mma syntax for expressions and map it into maxima, and not take the big step of having a more-or-less full

[sage-devel] Re: non-stable .spkgs (alpha, beta, svn/cvs snapshots etc)

2010-09-01 Thread Dr David Kirkby
On 2 Sep, 05:55, François Bissey f.r.bis...@massey.ac.nz wrote: Who would agree with making this a policy and so adding to the Sage Developers Guide a few  sentences saying that any updates of packages that are not to a stable release (i.e snapshots, alpha, beta, release candidates etc)