[sage-devel] Re: sage.app possibility

2008-08-22 Thread Fernando Perez
On Fri, Aug 22, 2008 at 10:50 PM, William Stein <[EMAIL PROTECTED]> wrote: > There is a French guy -- Gaël Varoquaux -- who I had dinner with > tonight and who co-organized Scipy 2008, who yesterday demoed > a gui interface for IPython that he's writing. I've cc'd him on this > email, in case h

[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 h

[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

[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: 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 the

[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 To

[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

[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: x>0 and x or 0, data) > > [0, 2, 3] > > Can someone translate that "lambda x: x>0 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 acqui

[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 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 function

[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 PyO

[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] 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 o

[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: > > 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 fi

[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

[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 gr

[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: 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 m

[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 tab

[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 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 lis

[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 discovered

[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] 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 th

[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: > > http://s

[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 a

[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 reimplemen

[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: 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 >>> http://wiki.sage

[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 peopl

[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 lo

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

2008-08-22 Thread Ondrej Certik
On Fri, Aug 22, 2008 at 3:16 AM, David Philp <[EMAIL PROTECTED]> wrote: > > > On 22/08/2008, at 11:00 AM, Mike Hansen wrote: > >>> The documentation system I want to see is a centralised wiki. It >>> works like this: >>> help(var) gets you the [locally cached] copy of the documentation. >> >> I t

[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 use

[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 tha

[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

[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 t

[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] 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 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] 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 c

[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 to

[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: Willi

[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) >

[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 --~--~