[sage-devel] Re: Sphinx and the Sage Documentation

2008-08-22 Thread Mike Hansen
Do you know where I can download the latest version (0.5) of Sphinx, so I can try it out? You can do an SVN checkout from http://svn.python.org/projects/doctools . I played around a bit with converting the tutorial this evening and here are the results using the PNG images for the HTML

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

2008-08-22 Thread David Philp
On 22/08/2008, at 3:34 PM, William Stein wrote: On Thu, Aug 21, 2008 at 9:41 PM, Arnaud Bergeron [EMAIL PROTECTED] wrote: 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

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

2008-08-22 Thread Alec Mihailovs
sage: data = [-1, 2, 3] sage: [(0 if d 0 else d) for d in data] sage: data = ma_eval('data /. x_?(# 0 ) - 0') Couldn't stop myself from showing how that would work in Maple, data:=[-1,2,3]: evalindets(data,negative,0); [0, 2, 3] Alec

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

2008-08-22 Thread William Stein
On Thu, Aug 21, 2008 at 11:28 PM, David Philp [EMAIL PROTECTED] wrote: On 22/08/2008, at 3:34 PM, William Stein wrote: On Thu, Aug 21, 2008 at 9:41 PM, Arnaud Bergeron [EMAIL PROTECTED] wrote: data /. x_?(# 0 ) - 0 (this is perhaps not the killer example) What does that do? /. is

[sage-devel] Fwd: [sage-devel] Re: Sphinx and the Sage Documentation

2008-08-22 Thread William Stein
Hi John, This is from the guy organizing a lot of the transition of the numpy docs over to Sphinx... -- Forwarded message -- From: Stéfan van der Walt [EMAIL PROTECTED] Date: Fri, Aug 22, 2008 at 1:00 AM Subject: Re: [sage-devel] Re: Sphinx and the Sage Documentation To:

[sage-devel] help page at sagemath.org and wiki

2008-08-22 Thread Philippe Saade
Hi, do you think it would be a good thing to add a link to Sage wiki on the help.html page of sagemath.org ? Some part of the wiki are not developer-specific and are valuable to beginners too... Philippe --~--~-~--~~~---~--~~ To post to this group, send email

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

2008-08-22 Thread Ondrej Certik
I would be scared of getting sued into oblivion. I would have a lawyer look at the Mathematica EULA before even thinking about it. WRI is the holder of ... including without limitation... structure, sequence, organization, look and feel, programming language and compilation of command

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

2008-08-22 Thread Alec Mihailovs
Couldn't stop myself from showing how that would work in Maple, data:=[-1,2,3]: evalindets(data,negative,0); [0, 2, 3] Or in more, maybe, readable form, applyrule(x::negative=0,data); [0, 2, 3] Alec

[sage-devel] Internal server error and bad token

2008-08-22 Thread Philippe Saade
hi, i have the following bug : ** i downloaded and installed (as user phil) : sage-3.1.1-debian32-intel-i686-Linux ** ./sage worked fine ** notebook() gave me that error : sage: notebook() The notebook files are stored in: /home/phil/.sage//sage_notebook

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

2008-08-22 Thread Harald Schilly
On Aug 22, 1:41 am, David Philp [EMAIL PROTECTED] wrote: [MMA syntax] ... I love the fact that it doesn't wear down the little fingers on your right hand. Well, me not on a german keyboard: [, ] and @ need the right alt-key ([] are at 8 and 9) and I think it's better to stick with pythons

[sage-devel] Re: help page at sagemath.org and wiki

2008-08-22 Thread Harald Schilly
On Aug 22, 10:13 am, Philippe Saade [EMAIL PROTECTED] wrote: Hi, do you think it would be a good thing to add a link to Sage wiki on the help.html page of sagemath.org ? I thought about that some time when I created that page. The problem is, that I only wanted to include links on that

[sage-devel] Re: help page at sagemath.org and wiki

2008-08-22 Thread William Stein
On Fri, Aug 22, 2008 at 2:51 AM, Harald Schilly [EMAIL PROTECTED] wrote: On Aug 22, 10:13 am, Philippe Saade [EMAIL PROTECTED] wrote: Hi, do you think it would be a good thing to add a link to Sage wiki on the help.html page of sagemath.org ? I thought about that some time when I

[sage-devel] Re: help page at sagemath.org and wiki

2008-08-22 Thread Philippe Saade
On Fri, Aug 22, 2008 at 11:58 AM, William Stein [EMAIL PROTECTED] wrote: Also, 2. It's already linking, just only to the FAQ page (part of the wiki)! 3. If someone creates a nice overview page for new users, pointing to interesting wiki pages and some intro text (i.e. explaining that

[sage-devel] Re: help page at sagemath.org and wiki

2008-08-22 Thread Philippe Saade
On Fri, Aug 22, 2008 at 12:08 PM, Philippe Saade [EMAIL PROTECTED] wrote: On Fri, Aug 22, 2008 at 11:58 AM, William Stein [EMAIL PROTECTED] wrote: Also, 2. It's already linking, just only to the FAQ page (part of the wiki)! 3. If someone creates a nice overview page for new users, pointing

[sage-devel] Re: Sphinx and the Sage Documentation

2008-08-22 Thread Martin Albrecht
Carl Witty and I wrote a proposal for the use of the Sphinx documentation system in Sage. It can be found at http://wiki.sagemath.org/SphinxSEP We'd appreciate any comments / questions / concerns that people have. I skimmed through the docs and I'm pretty sure by now: I want it :-) A lot

[sage-devel] Re: Sphinx and the Sage Documentation

2008-08-22 Thread Ondrej Certik
On Fri, Aug 22, 2008 at 12:58 PM, Martin Albrecht [EMAIL PROTECTED] wrote: Carl Witty and I wrote a proposal for the use of the Sphinx documentation system in Sage. It can be found at http://wiki.sagemath.org/SphinxSEP We'd appreciate any comments / questions / concerns that people have.

[sage-devel] Re: Sphinx and the Sage Documentation

2008-08-22 Thread William Stein
On Fri, Aug 22, 2008 at 4:04 AM, Ondrej Certik [EMAIL PROTECTED] wrote: On Fri, Aug 22, 2008 at 12:58 PM, Martin Albrecht [EMAIL PROTECTED] wrote: Carl Witty and I wrote a proposal for the use of the Sphinx documentation system in Sage. It can be found at

[sage-devel] Re: help page at sagemath.org and wiki

2008-08-22 Thread Harald Schilly
On Aug 22, 12:20 pm, Philippe Saade [EMAIL PROTECTED] wrote: is it OK for you if a write some wiki pages with very elementary (atomic !) examples of nice plots that can easily be reused by beginners ? If they are nice and copy/paste ready, I would like to include them right away in

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

2008-08-22 Thread David Philp
On 22/08/2008, at 5:27 PM, William Stein wrote: On Thu, Aug 21, 2008 at 11:28 PM, David Philp [EMAIL PROTECTED] wrote: I hope one can't own such things but I don't want a legal fight. If I were afraid, then Sage would be nowhere today. I just don't think Mathematica reimplementation is

[sage-devel] Re: Sage 3.1.final is out

2008-08-22 Thread Vincent Beffara
Hi, I can't help feeling these fixes would be much easier to integrate if the code was not supplied as lots of .spkg files, but just as simple source files. I know for me personally, I would have got a lot more done in a lot less time, if it was just a matter of editing a source file and

[sage-devel] Re: Sphinx and the Sage Documentation

2008-08-22 Thread John H Palmieri
On Aug 21, 11:10 pm, Mike Hansen [EMAIL PROTECTED] wrote: I played around a bit with converting the tutorial this evening and here are the results using the PNG images for the HTML output.  There are still some artifacts left from the conversion that need to be cleaned up:

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

2008-08-22 Thread Robert Dodier
William Stein wrote: That said, I could certainly see a place in sage for something like this: sage: data = [-1, 2, 3] sage: data = ma_eval('data /. x_?(# 0 ) - 0') sage: data [0, 2, 3] where ma_eval is a function that evaluates a mathematica-style expression in the scope of

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

2008-08-22 Thread Jason Merrill
On Thu, Aug 21, 2008 at 11:28 PM, David Philp   [EMAIL PROTECTED] wrote: All the explanations that sage can do that have involved python   lists, because I used names and examples like 'data = {1, 2, 3}'.  But   the power of ReplaceAll (the /. operator) is that it places no  

[sage-devel] factorization patches

2008-08-22 Thread John Cremona
I just created ticket #3927 and added a couple of patches implementing a few functions for the Factorization class (division, gcd and lcm). These are orthogonal to the problems discussed at #2460, but I may have a go at resolving those issues as well. There are some more silly things I

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

2008-08-22 Thread root
If someone proposes an implementation I can try and shoot it down or improve it. But I don't know sage well enough to know whether there is an obvious way to do it all. My guess is that this is a natural task for Lisp and the wrong task for Python. Having worked in both python and lisp I

[sage-devel] Re: Symbolic differential equation solving deserves better syntax

2008-08-22 Thread Martin
I guess Mathematica is the leader on solving differential equations symbolically, and pending other great ideas, I think their syntax is worth copying. Here's an example of the DSolve syntax in Mathematica: DSolve[{y''[x] + x^2 y[x] == 0 , y[0] == 0, y'[0] == 1}, y, x] FriCAS / Axiom is

[sage-devel] Re: Sage Notebook CSS

2008-08-22 Thread john_perry_usm
Hi, I've been working with this recently and I'm wondering which CSS tag I should change for the background color of the table whose id is topbar. It doesn't have a class assigned to it and for the life of me I can't find the class that affects it. My CSS is not the best; is there a generic

[sage-devel] Re: Symbolic differential equation solving deserves better syntax

2008-08-22 Thread root
FriCAS / Axiom is supposed to be very good at linear differential equations and differential equations of the form y'=f(x, y) - the code is by Manuel Bronstein. It seems to be rather weak for others, it cannot solve the equation above for example. I must admit, however, that I do not know much

[sage-devel] Re: factorization patches

2008-08-22 Thread John Cremona
Forgive the self-reply. Looking at factorization.py I was all ready to fix all the problems I could see -- using Sequence to get a common universe for the bases on construction, cache this base_ring, only allow operations between factorizations with the same base_ring, and so on. But then I saw

[sage-devel] Re: Blogs

2008-08-22 Thread Georg Muntingh
Hey, why weren't these blogs added to Planet Sage. Now I feel like I missed out! ;) --~--~-~--~~~---~--~~ 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

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

2008-08-22 Thread Harald Schilly
On Aug 22, 5:04 pm, Robert Dodier [EMAIL PROTECTED] wrote: William Stein wrote:   sage: data = [-1, 2, 3]   sage: data = ma_eval('data /. x_?(# 0 ) - 0')   sage: data   [0, 2, 3] Wouldn't it be much clearer, and much less hackish, to just make them functions and stay entirely

[sage-devel] Re: Sage 3.1.final is out

2008-08-22 Thread mabshoff
On Aug 21, 9:44 pm, Dr. David Kirkby [EMAIL PROTECTED] wrote: SNIP Yeah, unfortunately loads of things got bumped from the 3.1 release due to time constraints and Sage Days 9 also did not help too much. I am merging build fixes into 3.1.2 and so far have mostly done 64 bit OSX fixes.

[sage-devel] Re: factorization patches

2008-08-22 Thread William Stein
On Fri, Aug 22, 2008 at 10:33 AM, John Cremona [EMAIL PROTECTED] wrote: Forgive the self-reply. Looking at factorization.py I was all ready to fix all the problems I could see -- using Sequence to get a common universe for the bases on construction, cache this base_ring, only allow

[sage-devel] Re: Blogs

2008-08-22 Thread mhampton
On Jul 19, 10:37 am, saucerful [EMAIL PROTECTED] wrote: Is it possible to put all output (and input?) cells in some css (html/ whatever, i dont know anything about web pages) component that can be collapsed/expanded? (I am thinking of the way mathematica has those lines brackets to the

[sage-devel] sage.app possibility

2008-08-22 Thread David Philp
A few days ago I spent a couple of hours getting PyObjC working with sage. The objective was to be able to write little sage-based GUI applications. (Though it could easily turn into a full-blown sage.app IDE, that was outside the scope of 2 hours playing around.) The basic notion of

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

2008-08-22 Thread David Philp
On 23/08/2008, at 1:04 AM, Robert Dodier wrote: The Mma operators /. # - etc are just doing things that might just as well be represented as ordinary functions. Wouldn't it be much clearer, and much less hackish, to just make them functions and stay entirely within Python? Not functions

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

2008-08-22 Thread David Philp
On 23/08/2008, at 3:43 AM, Harald Schilly wrote: For me, python is a different playground than mma and unless there isn't a real reason i don't like to import mma syntax - or any other. I would much prefer to learn the proper python way of doing things than try to retrofit python to make

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

2008-08-22 Thread Nils Bruin
On Aug 22, 6:33 pm, David Philp [EMAIL PROTECTED] wrote: map(lambda x: x0 and x or 0, data) [0, 2, 3] Can someone translate that lambda x: x0 and x or 0 into William's the words in your head please? I suspect this is coming from someone who learned python before it acquired a conditional

[sage-devel] Re: Why lim goes wrong

2008-08-22 Thread Andelf
On Thu, Aug 21, 2008 at 11:11 PM, William Stein [EMAIL PROTECTED] wrote: On Thu, Aug 21, 2008 at 8:09 AM, William Stein [EMAIL PROTECTED] wrote: On Thu, Aug 21, 2008 at 4:44 AM, Andelf [EMAIL PROTECTED] wrote: I am a starter, so I don't understand why this goes wrong I typed: x =

[sage-devel] LiveCD 3.1.1

2008-08-22 Thread Alfredo Portes
Here is a LiveCD (Ubuntu based) of 3.1.1, if anybody wants to try it. A vmware image that runs the livecd is included. http://sage.math.washington.edu/home/alfredo/sagelivecd --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com

[sage-devel] Re: sage.app possibility

2008-08-22 Thread Carl Witty
On Aug 22, 6:18 pm, David Philp [EMAIL PROTECTED] wrote: The weakness of this approach is that sage is running the main   application loop.  I.e. if f.derivative() takes its time, then there's   a spinning beachball.  I assume the big M's overcome this by   separating their GUIs from their

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

2008-08-22 Thread rjf
1. There is a public mathematica language parser (version 3.0 mathematica) that I wrote in common lisp. WRI knows about it, inquired about it, made various claims. I disputed them. They went away. This apparently has legal standing to the effect that they gave up so they must not feel it is in

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

2008-08-22 Thread William Stein
On Fri, Aug 22, 2008 at 10:19 PM, rjf [EMAIL PROTECTED] wrote: 1. There is a public mathematica language parser (version 3.0 mathematica) that I wrote in common lisp. WRI knows about it, inquired about it, made various claims. I disputed them. They went away. This apparently has legal

[sage-devel] Re: sage.app possibility

2008-08-22 Thread William Stein
The weakness of this approach is that sage is running the main application loop. I.e. if f.derivative() takes its time, then there's a spinning beachball. I assume the big M's overcome this by separating their GUIs from their kernels. Yes, they do. Sage can also do that, e.g., that's how