[sage-support] Re: Error inserting new cell

2009-02-06 Thread Jason Grout
kcrisman wrote: After using the sage notebook for a few days with TinyMCE I got the impression that the Sage notebook is almost pointless without it :-). Yes. Yeah, it is one of those features where once you have it you cannot understand why we ever though we didn't need it, so a big

[sage-support] Re: does Sage work for finfing Groebner basis for a very large system?

2009-02-06 Thread Adela
It would also be interesting to know how much RAM your system has and if the computation you run over night ever hit swap since it is basically game over once you hit swap in a GB computation :) I have a brand new system with 4 GB RAM so I guess should be enough. On the other hand, I

[sage-support] Re: does Sage work for finfing Groebner basis for a very large system?

2009-02-06 Thread Adela
It would also be interesting to know how much RAM your system has and if the computation you run over night ever hit swap since it is basically game over once you hit swap in a GB computation :) I have a brand new system with 4 GB RAM so I guess should be enough. On the other hand, I

[sage-support] Re: does Sage work for finfing Groebner basis for a very large system?

2009-02-06 Thread Adela
Well, to be honest 4 GB isn't much these days and GBasis computations tend to be rather large, especially if you use Lex. I often ran out of memory on a 24 GB system three years ago doing rather large-ish GB computations and none of those ideals were the size you posted. That was over

[sage-support] Re: does Sage work for finfing Groebner basis for a very large system?

2009-02-06 Thread Martin Albrecht
PolyBoRi is automatically used by Sage for GB computations? If you construct a BooleanPolynomialRing. See http://www.sagemath.org/hg/sage-main/file/b0aa7ef45b3c/sage/rings/polynomial/pbori.pyx On the other hand I calculated my new ideal and I wonder why it takes so long for SAGE to evaluate

[sage-support] Re: does Sage work for finfing Groebner basis for a very large system?

2009-02-06 Thread Marshall Hampton
I believe there are memory (and time?) limitations for each user on sagenb, so a tough GB calculation would likely get stopped. Seems strange that just defining the ideal would take that long. -M. Hampton On Feb 6, 1:35 pm, Martin Albrecht m...@informatik.uni-bremen.de wrote: PolyBoRi is

[sage-support] Re: does Sage work for finfing Groebner basis for a very large system?

2009-02-06 Thread mabshoff
[CCing Michael B. and Alexander D. since they seem to be unaware of this discussion involving PolyBoRi] On Feb 6, 3:35 am, Martin Albrecht m...@informatik.uni-bremen.de wrote: Hi, PolyBoRi is automatically used by Sage for GB computations? If you construct a BooleanPolynomialRing. See

[sage-support] Re: does Sage work for finfing Groebner basis for a very large system?

2009-02-06 Thread Adela
Thank you to everyone! You really help me with your answers! I assume you're talking about the call B.ideal([x1*x2 + ..., x2 + ..., ...]) ? Yes, about this call I'm talking about! I can see the sandals when scrolling over there..I guess the feedback from SAge is that has finished

[sage-support] Re: does Sage work for finfing Groebner basis for a very large system?

2009-02-06 Thread mabshoff
On Feb 6, 4:06 am, Adela adisev...@gmail.com wrote: Thank you to everyone! You really help me with your answers! I assume you're talking about the call B.ideal([x1*x2 + ..., x2 + ..., ...]) ? Yes, about this call I'm talking about! I can see the sandals when scrolling over there..I

[sage-support] Re: does Sage work for finfing Groebner basis for a very large system?

2009-02-06 Thread Michael Brickenstein
Hi! If I didn't made an error converting this input, PolyBoRi returns an answer immediately. Indeed [1]. And of course it is the GB for all orderings. Regarding seeing, what is going use prot=True. Michael --~--~-~--~~~---~--~~ To post to this group, send email

[sage-support] Re: Sagetex issues

2009-02-06 Thread Samuel DM
Yes, it seems they were not generated. I thought running pdflatex on the file with the shell-escape option was enough though. The rendered pdf is full of ?? so my guess is that sage commands don't work when being called by latex. Is there a way to solve that? Samuel DM On 6 fév, 13:54, Harald

[sage-support] Re: Sagetex issues

2009-02-06 Thread Harald Schilly
On Feb 6, 2:06 pm, Samuel DM sder...@gmail.com wrote: Yes, it seems they were not generated. I thought running pdflatex on the file with the shell-escape option was enough though. The rendered pdf is full of ?? so my guess is that sage commands don't work when being called by latex. Is

[sage-support] Re: computations to obtain GBasis for an ideal

2009-02-06 Thread William Stein
On Fri, Feb 6, 2009 at 5:58 AM, Adela Mihaita adisev...@gmail.com wrote: Hello! I attached to this message a file with the commands I introduced in Sage to prepare my ideal for the GB computation. The first one works ok, but after introducing the ideal and pressing, I have to wait and wait,

[sage-support] Re: Sagetex issues

2009-02-06 Thread Jason Grout
Harald Schilly wrote: On Feb 6, 2:06 pm, Samuel DM sder...@gmail.com wrote: Yes, it seems they were not generated. I thought running pdflatex on the file with the shell-escape option was enough though. The rendered pdf is full of ?? so my guess is that sage commands don't work when being

[sage-support] Re: computations to obtain GBasis for an ideal

2009-02-06 Thread Martin Albrecht
On Friday 06 February 2009, Adela Mihaita wrote: Hello! I attached to this message a file with the commands I introduced in Sage to prepare my ideal for the GB computation. The first one works ok, but after introducing the ideal and pressing, I have to wait and wait, and never get a

[sage-support] Re: computations to obtain GBasis for an ideal

2009-02-06 Thread Adela
Fails with: AttributeError: 'sage.rings.polynomial.pbori.BooleanPolynomialRing' object has no attribute 'Ideal' after fixing that it works in 20 seconds (inkl. Sage startup). I never got this message because after introducing the ideal, it keeps thinking and never ending. I don' t

[sage-support] Re: How can you read a .txt/csv file in Sage?

2009-02-06 Thread Marshall Hampton
Sometimes its convenient to use the DATA directory, which will be packaged with the worksheet if you save it (as a .sws file). So for example you could copy the file to the DATA directory doing something like: os.system('cp /full/path/to/list2.txt ' + DATA + 'list2.txt') and then f =

[sage-support] computations to obtain GBasis for an ideal

2009-02-06 Thread Adela Mihaita
Hello! I attached to this message a file with the commands I introduced in Sage to prepare my ideal for the GB computation. The first one works ok, but after introducing the ideal and pressing, I have to wait and wait, and never get a result. Thank you!

[sage-support] Re: does Sage work for finfing Groebner basis for a very large system?

2009-02-06 Thread mabshoff
On Feb 6, 1:36 am, Adela adisev...@gmail.com wrote: It would also be interesting to know how much RAM your system has and if the computation you run over night ever hit swap since it is basically game over once you hit swap in a GB computation :) I have a brand new system with 4 GB RAM

[sage-support] Sagetex issues

2009-02-06 Thread Samuel DM
Hello, I have a couple of problems trying to use sagetex. I am basically trying to compile the example.tex file in the latex_embed folder of the example directory. I have MacTeX (TL 2008) and tlmgr has installed sagetex so there should be no problem, but when I run pdflatex on the example.tex

[sage-support] Re: Sagetex issues

2009-02-06 Thread Harald Schilly
On Feb 6, 1:50 pm, Samuel DM sder...@gmail.com wrote: I have MacTeX (TL 2008) and tlmgr has installed sagetex so there should be no problem, but when I run pdflatex on the example.tex file, the log file mentions that it couldn't find the graphic files. Well, are there graphic files in

[sage-support] Re: How can you read a .txt/csv file in Sage?

2009-02-06 Thread Marshall Hampton
Thanks Jason, I'm surprised this never showed up on my radar before. -Marshall On Feb 6, 12:45 pm, Jason Grout jason-s...@creativetrax.com wrote: Marshall Hampton wrote: Sometimes its convenient to use the DATA directory, which will be packaged with the worksheet if you save it (as a .sws

[sage-support] Re: How can you read a .txt/csv file in Sage?

2009-02-06 Thread Jason Grout
Marshall Hampton wrote: Sometimes its convenient to use the DATA directory, which will be packaged with the worksheet if you save it (as a .sws file). So for example you could copy the file to the DATA directory doing something like: os.system('cp /full/path/to/list2.txt ' + DATA +

[sage-support] How set UTF8 on the sage Notebook published page automatically?

2009-02-06 Thread NoSyu
Hello~ I test the sage on the sage Notebook homepage. http://www.sagenb.org So I wrote the code and comments and published it. http://www.sagenb.org/home/pub/209/ I'm Korean and I want to show my code to my friends. So I wrote the comments in Korean. Sage support UTF-8, So I can see the

[sage-support] Re: does Sage work for finfing Groebner basis for a very large system?

2009-02-06 Thread Adela
I sent a new message with the attachment required. Thank you! On 6 Feb, 14:35, mabshoff michael.absh...@mathematik.uni-dortmund.de wrote: On Feb 6, 4:06 am, Adela adisev...@gmail.com wrote: Thank you to everyone! You really help me with your answers! I assume you're talking about the

[sage-support] trouble with modular forms in SAGE

2009-02-06 Thread beppe
Hello, I'm novice in SAGE but I have a strange problem: I have to compute some eigenvalues for the set of cuspidal newforms for the group Gamma0(15), weight 4 and Legendre character chi of conductor 5, so I type in SAGE the following set of instruction: SAGE: chi=DirichletGroup(11,QQ).1 SAGE:

[sage-support] Re: trouble with modular forms in SAGE

2009-02-06 Thread William Stein
On Fri, Feb 6, 2009 at 8:58 AM, beppe giuseppe.molt...@gmail.com wrote: Hello, I'm novice in SAGE but I have a strange problem: I have to compute some eigenvalues for the set of cuspidal newforms for the group Gamma0(15), weight 4 and Legendre character chi of conductor 5, so I type in SAGE

[sage-support] Re: computations to obtain GBasis for an ideal

2009-02-06 Thread William Stein
On Fri, Feb 6, 2009 at 7:50 AM, Adela adisev...@gmail.com wrote: Fails with: AttributeError: 'sage.rings.polynomial.pbori.BooleanPolynomialRing' object has no attribute 'Ideal' after fixing that it works in 20 seconds (inkl. Sage startup). I never got this message because after

[sage-support] Re: trouble with modular forms in SAGE

2009-02-06 Thread giuseppe.molteni1
Dear William, I thank you for your very prompt replay! Actually ther is a missprint in my post: the my group is Gamma0(15), not Gamma0(11), so the first line of my code was SAGE: chi=DirichletGroup(15,QQ).1 so that the dimension of the eigenforms space is 4. I have just tried the code on the

[sage-support] Re: attach works in command line but not in notebook

2009-02-06 Thread adrian
You need to give the full path if you are in the notebook. If you strongly need to not to give the full path you could run the command $mkdir (where your files are)/sagenotebook $sage -notebook directory=Where your files are/sagenotebook The disadvantage is that this will create another server,

[sage-support] Re: trouble with modular forms in SAGE

2009-02-06 Thread William Stein
On Fri, Feb 6, 2009 at 9:37 AM, giuseppe.molteni1 giuseppe.molte...@unimi.it wrote: Dear William, I thank you for your very prompt replay! Actually ther is a missprint in my post: the my group is Gamma0(15), not Gamma0(11), so the first line of my code was SAGE:

[sage-support] Re: Sagetex issues

2009-02-06 Thread Harald Schilly
On Feb 6, 4:16 pm, Jason Grout jason-s...@creativetrax.com wrote: That said, Dan, what do you think of using the shell-escape option to run Sage directly? The whole idea behind the design of this additional file in sagetex is, that the sage-calculations could take some time! And at least I

[sage-support] Re: Solving a 2nd order linear ODE with initial conditions

2009-02-06 Thread Robert Bradshaw
On Feb 1, 2009, at 3:42 PM, David Joyner wrote: On Sun, Feb 1, 2009 at 5:34 PM, Christophe Deroulers christophe.deroulers__ggsa...@normalesup.org wrote: When one looks at what Sage sends to Maxima when desolve(diff(y,x, 2)+y(x)==0,y,[0,3,2]) is called, it turns out that Maxima receives

[sage-support] Re: Iterators in compiled code?

2009-02-06 Thread Robert Bradshaw
On Jan 31, 2009, at 3:23 AM, Alasdair wrote: Well I tried v = iter(Permutations(range(n))) and the code compiled fine - but still ran slow. To test the Petersen graph (10 vertices), the compiled code took a wall time of 524.23 s, and the uncompiled code, using v=(p for p in

[sage-support] Segmentation fault

2009-02-06 Thread Timothy Clemans
Hi, On both the command line and in the notebook (my computer and sagenb.org) with 3.3.alpha5 Sage closes after executing the following: {{{ from jinja import Environment env = Environment() s = {% for i in a %} {{ i }} {% endfor %} tmpl = env.from_string(s) print tmpl.render(a=[1,2,3]) }}}

[sage-support] Re: Segmentation fault

2009-02-06 Thread mabshoff
On Feb 6, 1:52 pm, Timothy Clemans timothy.clem...@gmail.com wrote: Hi, Hi Timothy, On both the command line and in the notebook (my computer and sagenb.org) with 3.3.alpha5 Sage closes after executing the following: {{{ from jinja import Environment env = Environment() s = {% for i

[sage-support] Re: computations to obtain GBasis for an ideal

2009-02-06 Thread William Stein
On Fri, Feb 6, 2009 at 1:24 PM, Adela adisev...@gmail.com wrote: One more question. Did you use the command line in WM or Firefox? I used Firefox and I still have the problem of looong waiting; nothing changed even when I modified that problem with the ideal. I just tried it with Ideal

[sage-support] Re: Which Version of Sage to Use?

2009-02-06 Thread mrotsliah
sage-2.8.15 is on there now. It doesn't even start. I talked with the old administrator today, and he said he had some trouble with it when the program was working. I don't think anybody has really needed to use it since he tried to put it on there. It all just got put on the back burner.

[sage-support] Re: Iterators in compiled code?

2009-02-06 Thread kcrisman
Depending on what you're doing with the permutations, all your time   may be spent elsewhere, and compiling your snippet may not help.   Specifically, if you don't cdef anything I'd be surprised to see a   big speedup, but if you cimport permutation group elements directly   you could