[sage-devel] Re: LaTex representation for SymbolicFunctionEvaluation

2009-04-01 Thread Stan Schymanski
Hi Golam, This looks good. Would the following work as well? - sui.set_latex('s_{u,i}') sui(x) = function('sui',x) latex(sui(x)) s_{u,i}\left(x\right) - Or would the function assignment sui(x) =

[sage-devel] Re: Answers about doc should go on the wiki.

2009-04-01 Thread Georg S. Weber
Hi Florent, On 31 Mrz., 22:22, Florent Hivert florent.hiv...@univ-rouen.fr wrote:       Dear Georg, personally, I would have searched the Sage Developers Guide for information on how sage -t works. And if there is nothing to find, I'd look directly at the code (.../local/bin/sage-test).

[sage-devel] Re: testing py files outside the tree

2009-04-01 Thread John Cremona
Unfortunately this does not work for me: mas...@host-56-150%pwd /home/masgaj/sage mas...@host-56-150%ls -l egros.py -rw--- 1 masgaj ma 16242 2009-04-01 12:09 egros.py mas...@host-56-150%sage -t /home/masgaj/sage/egros.py sage -t /home/masgaj/sage/egros.py File ./egros.py, line 18 from

[sage-devel] Re: testing py files outside the tree

2009-04-01 Thread simon . king
Dear John, when i had problems with doc testing outside the path, someone (mabshoff?) pointed out that i need to do export SAGEPATH=`pwd` in the directory where the to-be-tested files are (in my case, it was .pyx, not .py). Your problem sounds related, so perhaps SAGEPATH helps. Cheers,

[sage-devel] Re: testing py files outside the tree

2009-04-01 Thread John Cremona
thanks for the suggestion, but unfortunately that makes no difference for me. John 2009/4/1 simon.k...@uni-jena.de: Dear John, when i had problems with doc testing outside the path, someone (mabshoff?) pointed out that i need to do export SAGEPATH=`pwd` in the directory where the

[sage-devel] Re: testing py files outside the tree

2009-04-01 Thread Burcin Erocal
On Wed, 1 Apr 2009 12:25:25 +0100 John Cremona john.crem...@gmail.com wrote: thanks for the suggestion, but unfortunately that makes no difference for me. SAGE_PATH should work. I think this was also the tip on the wiki page Florent was referring to. Cheers, Burcin 2009/4/1

[sage-devel] Re: testing py files outside the tree

2009-04-01 Thread John Cremona
2009/4/1 Burcin Erocal bur...@erocal.org: On Wed, 1 Apr 2009 12:25:25 +0100 John Cremona john.crem...@gmail.com wrote: thanks for the suggestion, but unfortunately that makes no difference for me. SAGE_PATH should work. I think this was also the tip on the wiki page Florent was

[sage-devel] Re: testing py files outside the tree

2009-04-01 Thread Joel B. Mohler
On Wednesday 01 April 2009 07:44:17 am John Cremona wrote: I had already tried that variation.  No luck! mas...@host-56-150%echo $SAGE_PATH /home/masgaj/sage mas...@host-56-150%pwd /home/masgaj/sage mas...@host-56-150%sage -t /home/masgaj/sage/egros.py sage -t  /home/masgaj/sage/egros.py

[sage-devel] Re: testing py files outside the tree

2009-04-01 Thread John Cremona
2009/4/1 Joel B. Mohler j...@kiwistrawberry.us: On Wednesday 01 April 2009 07:44:17 am John Cremona wrote: I had already tried that variation. No luck! mas...@host-56-150%echo $SAGE_PATH /home/masgaj/sage mas...@host-56-150%pwd /home/masgaj/sage mas...@host-56-150%sage -t

[sage-devel] Re: testing py files outside the tree

2009-04-01 Thread William Stein
On Wed, Apr 1, 2009 at 6:15 AM, John Cremona john.crem...@gmail.com wrote: 2009/4/1 Joel B. Mohler j...@kiwistrawberry.us: On Wednesday 01 April 2009 07:44:17 am John Cremona wrote: I had already tried that variation.  No luck! mas...@host-56-150%echo $SAGE_PATH /home/masgaj/sage

[sage-devel] Re: Question about notebook server setup in a VM

2009-04-01 Thread kcrisman
(Parenthetical note:  Unfortunately, the Ubuntu webpage says: Ubuntu From my experience I would say this is 100% due to lack of memory. You really need much more than 1GB RAM and 0GB swap to support 20-30 users at once. Yup, I agree - I was just replying to the original post a little

[sage-devel] Re: testing py files outside the tree

2009-04-01 Thread John Cremona
2009/4/1 William Stein wst...@gmail.com: Yes. The sage -t foo.py thing only does from foo import * -- it doesn't import the whole Sage library too. Maybe it should? That would be easy to add, I think. Perhaps not, as people might want to test python stuff without importing sage?

[sage-devel] Sage Days 16 : Barcelona

2009-04-01 Thread Enrique Gonzalez Jimenez
Sage Days 16 will take place June 22-27, 2009, and will take place at the FME, in the campus of the UPC, in Barcelona. More info: http://www.uam.es/enrique.gonzalez.jimenez/sagedays16/* http://wiki.sagemath.org/days16 * --~--~-~--~~~---~--~~ To post to this

[sage-devel] Re: Question about notebook server setup in a VM

2009-04-01 Thread William Stein
On Wed, Apr 1, 2009 at 6:20 AM, kcrisman kcris...@gmail.com wrote: (Parenthetical note:  Unfortunately, the Ubuntu webpage says: Ubuntu From my experience I would say this is 100% due to lack of memory. You really need much more than 1GB RAM and 0GB swap to support 20-30 users at once.

[sage-devel] Re: sage-mode problems (was Re: testinag py files outside the tree)

2009-04-01 Thread Nick Alexander
which seems harmless. The (only) reason I switched to a .py suffix was that I could not get sage-mode to work in emacsbut that is a different thread! Please explain. Nick --~--~-~--~~~---~--~~ To post to this group, send email to

[sage-devel] Re: Python and Lisp

2009-04-01 Thread Alfredo Portes
April's fool joke? Nice. If all this fails, can you use Java instead :) On Wed, Apr 1, 2009 at 1:59 PM, William Stein wst...@gmail.com wrote: Hi, About two years ago we made the painful transition from using Darcs to Mercurial for our revision control system. This was difficult, but had to

[sage-devel] Re: Python and Lisp

2009-04-01 Thread Nick Alexander
Frankly, I think we have similar problems using Python at the core of Sage. I've been thinking very hard about how to deal with this for nearly a year now, and have come to the conclusion that we should make a switch from using Python at the core of Sage to Lisp. Too obvious. Nick

[sage-devel] Re: Python and Lisp

2009-04-01 Thread kcrisman
A very closely related announcement is the following from Google: http://mail.google.com/mail/help/autopilot/index.html - kcrisman --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to

[sage-devel] Re: Python and Lisp

2009-04-01 Thread Bill Hart
Well this is not a response to outline my concerns with the proposal (which I have to say is ambitious). Instead, I'd like to add my support to the project to convert all of Sage to LISP. In particular, I'd be happy to work on forking MPIR and FLINT and rewriting them in LISP (given appropriate

[sage-devel] Re: Python and Lisp

2009-04-01 Thread Jason Grout
William Stein wrote: 2. Porting: We have an intense sequence if Lisp days, both workshops and 1-day long IRC events, where we go line-by-line through the Sage library and rewrite everything in Lisp. As we go, we'll make sure that the rewritten code is always at least as fast as the

[sage-devel] Re: Python and Lisp

2009-04-01 Thread John H Palmieri
On Apr 1, 10:59 am, William Stein wst...@gmail.com wrote: Hi, About two years ago we made the painful transition from using Darcs to Mercurial for our revision control system. This was difficult, but had to be done because it was hard to get Darcs to run everywhere, and there were weird

[sage-devel] Python and Lisp

2009-04-01 Thread William Stein
Hi, About two years ago we made the painful transition from using Darcs to Mercurial for our revision control system. This was difficult, but had to be done because it was hard to get Darcs to run everywhere, and there were weird corner cases where Darcs would hang. Mercurial isn't optimal but

[sage-devel] Re: Python and Lisp

2009-04-01 Thread Marshall Hampton
I am deeply disappointed in the direction you are proposing. If you are going to switch languages at this point, it should be to a more modern language than Lisp. So I plan on forking the Sage project with a Haskell rewrite. I think time will tell which is the better choice. I am open to

[sage-devel] Re: Python and Lisp

2009-04-01 Thread Tom Boothby
For a long time, I've been complaining about the interface between Maxima and Sage. It doesn't just make calculus slow, it slows everything down -- every time I take a logarithm or a square root in a numerical algorithm, Maxima slows me down. I now realize that the right solution has just been

[sage-devel] Re: Python and Lisp

2009-04-01 Thread Bill Hart
Whoah, hang on there. I hope you're not pushing for FLINT and MPIR in lisp by next year! That 4 year goal seems reasonable did NOT refer to FLINT and MPIR. That referred to the lisp wrapper for the current C code. Bill. On 1 Apr, 20:10, Tom Boothby tomas.boot...@gmail.com wrote: For a long

[sage-devel] Re: Python and Lisp

2009-04-01 Thread Jaap Spies
John Cremona wrote: I still have some programs written in Algol68 if anyone is interested! Algol60, not larger than 16k? Jaap --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to

[sage-devel] Re: testing py files outside the tree

2009-04-01 Thread Jason Grout
William Stein wrote: On Wed, Apr 1, 2009 at 6:15 AM, John Cremona john.crem...@gmail.com wrote: 2009/4/1 Joel B. Mohler j...@kiwistrawberry.us: On Wednesday 01 April 2009 07:44:17 am John Cremona wrote: I had already tried that variation. No luck! mas...@host-56-150%echo $SAGE_PATH

[sage-devel] Re: Python and Lisp

2009-04-01 Thread Gonzalo Tornaria
On Wed, Apr 1, 2009 at 3:52 PM, Marshall Hampton hampto...@gmail.com wrote: I am deeply disappointed in the direction you are proposing. If you are going to switch languages at this point, it should be to a more modern language than Lisp. So I plan on forking the Sage project with a

[sage-devel] Re: Python and Lisp

2009-04-01 Thread Justin C. Walker
On Apr 1, 2009, at 10:59 AM, William Stein wrote: I've been thinking very hard about how to deal with this for nearly a year now, and have come to the conclusion that we should make a switch from using Python at the core of Sage to Lisp. The transition won't be easy, but it will be well

[sage-devel] Re: testing py files outside the tree

2009-04-01 Thread John Cremona
2009/4/1 Jason Grout jason-s...@creativetrax.com: William Stein wrote: On Wed, Apr 1, 2009 at 6:15 AM, John Cremona john.crem...@gmail.com wrote: 2009/4/1 Joel B. Mohler j...@kiwistrawberry.us: On Wednesday 01 April 2009 07:44:17 am John Cremona wrote: I had already tried that variation.  

[sage-devel] Re: Python and Lisp

2009-04-01 Thread John Cremona
2009/4/1 Jaap Spies j.sp...@hccnet.nl: John Cremona wrote: I still have some programs written in Algol68 if anyone is interested! Algol60, not larger than 16k? Certainly not, Algol 60 is so old-fashioned. With Alogol68 you can define your own classes complete with your own in- pre- and

[sage-devel] Re: Python and Lisp

2009-04-01 Thread Robert Dodier
On Apr 1, 11:59 am, William Stein wst...@gmail.com wrote: a switch from using Python at the core of Sage to Lisp. The transition won't be easy, but it will be well worth the effort, since in the time frame I have in mind (30 years, say) I see Lisp really taking off, You could have a very

[sage-devel] Re: Python and Lisp

2009-04-01 Thread David Joyner
Hey, I'm with you there Marshall! I am going to create a Mathematica fork of Sage, where everything in Sage will be rewritten in Mathematica. I'll start simple, say with the basic commands on group theory and ring theory. Let's see, a name? Got it. I'ill call the fork Mathematica Basic Sage or

[sage-devel] Nasty hang (deadlock?) in maxima pexpect interface on core 2 quad (was: Python and Lisp)

2009-04-01 Thread Gonzalo Tornaria
I've spent the past few days tracking down a very nasty issue in my recently installed sage notebook server. It happens to me in front of the class and has happened in a seminar, which kind of hurts my promotion of Sage here (I've just launched offensive on several fronts, which I hope leads to

[sage-devel] Re: jsmath in docstrings

2009-04-01 Thread John H Palmieri
On Mar 31, 11:10 pm, Pat LeSmithe qed...@gmail.com wrote: After some manual inspection of Sphinx's cmdline.py, I think I've made some [crude] progress (screenshot attached).  In cell.py, I replaced Cell.set_introspect_html() with This is cool. I've modified it a bit: I've deleted some of the

[sage-devel] Re: jsmath in docstrings

2009-04-01 Thread William Stein
2009/4/1 John H Palmieri jhpalmier...@gmail.com: On Mar 31, 11:10 pm, Pat LeSmithe qed...@gmail.com wrote: After some manual inspection of Sphinx's cmdline.py, I think I've made some [crude] progress (screenshot attached).  In cell.py, I replaced Cell.set_introspect_html() with This is

[sage-devel] Re: Nasty hang (deadlock?) in maxima pexpect interface on core 2 quad (was: Python and Lisp)

2009-04-01 Thread William Stein
2009/4/1 Gonzalo Tornaria torna...@math.utexas.edu: I've spent the past few days tracking down a very nasty issue in my recently installed sage notebook server. It happens to me in front of the class and has happened in a seminar, which kind of hurts my promotion of Sage here (I've just

[sage-devel] Re: Nasty hang (deadlock?) in maxima pexpect interface on core 2 quad (was: Python and Lisp)

2009-04-01 Thread Tom Boothby
don't you mean... lisp? On Wed, Apr 1, 2009 at 4:09 PM, William Stein wst...@gmail.com wrote: 2009/4/1 Gonzalo Tornaria torna...@math.utexas.edu: I've spent the past few days tracking down a very nasty issue in my recently installed sage notebook server. It happens to me in front of the

[sage-devel] Re: LaTex representation for SymbolicFunctionEvaluation

2009-04-01 Thread Golam Mortuza Hossain
Hi, On Thu, Mar 26, 2009 at 4:14 PM, Jason Grout jason-s...@creativetrax.com wrote: here is a patch that adds two missing Greek letters phi and Phi to the list common_varnames. Could you please open a ticket for this patch? It is created on top of sage-3.4 version. Actually, if you want to

[sage-devel] Re: jsmath in docstrings

2009-04-01 Thread John H Palmieri
On Apr 1, 4:06 pm, William Stein wst...@gmail.com wrote: 2009/4/1 John H Palmieri jhpalmier...@gmail.com: Here's a link to a new picture: (how do I add links to posts?) http://sage.math.washington.edu/home/palmieri/misc/sphinx.png  John Can you post your new code so I can try it out?

[sage-devel] Re: LaTex representation for SymbolicFunctionEvaluation

2009-04-01 Thread Jason Grout
Golam Mortuza Hossain wrote: Hi, On Thu, Mar 26, 2009 at 4:14 PM, Jason Grout jason-s...@creativetrax.com wrote: here is a patch that adds two missing Greek letters phi and Phi to the list common_varnames. Could you please open a ticket for this patch? It is created on top of sage-3.4

[sage-devel] Re: Python and Lisp

2009-04-01 Thread David Joyner
I have just received a cease-and-desist letter from the lawyers (Dewey,CheetumHowe) hired by Mathematica. They say they have a trademark on Mathematica BS. So that puts an end to my plans to create a fork. On Wed, Apr 1, 2009 at 6:21 PM, David Joyner wdjoy...@gmail.com wrote: Hey, I'm with you

[sage-devel] Re: LaTex representation for SymbolicFunctionEvaluation

2009-04-01 Thread Golam Mortuza Hossain
Hi Stan, On Wed, Apr 1, 2009 at 4:42 AM, Stan Schymanski schym...@gmail.com wrote: - sui.set_latex('s_{u,i}') sui(x) = function('sui',x) latex(sui(x)) s_{u,i}\left(x\right) - Or would the function

[sage-devel] Re: Python and Lisp

2009-04-01 Thread root
About two years ago we made the painful transition from using Darcs to Mercurial for our revision control system. This was difficult, but had to be done because it was hard to get Darcs to run everywhere, and there were weird corner cases where Darcs would hang. Mercurial isn't optimal but