[sage-support] Re: installation on Windows XP using cygwin rather than VMware player?

2008-05-26 Thread William Stein
On Mon, May 26, 2008 at 7:12 AM, Robert [EMAIL PROTECTED] wrote: Dear Michael, Is it worth me trying to port sage-3.0.2 to cygwin? And if so, would you be prepared to point me to the bugs that you mentioned in your e-mail and tell me how to fix them? Or, should I rather wait for a future

[sage-support] Time limit for computation

2008-05-26 Thread Andrey Novoseltsev
Is there any way to automatically terminate the current computation if it takes longer than given amount of time (say, a minute)? I want it to be inside a loop that will stop some iterations and continue, if they are taking too long. Thank you, Andrey

[sage-support] Re: Time limit for computation

2008-05-26 Thread Andrey Novoseltsev
Thank you, that's exactly what I need! Andrey On May 26, 4:46 pm, William Stein [EMAIL PROTECTED] wrote: On Mon, May 26, 2008 at 4:38 PM, Andrey Novoseltsev [EMAIL PROTECTED] wrote: Is there any way to automatically terminate the current computation if it takes longer than given amount of

[sage-support] Re: Notebook insecure by default

2008-05-26 Thread William Stein
On Mon, May 26, 2008 at 4:09 PM, Greg Landweber [EMAIL PROTECTED] wrote: Hello, I just noticed that as of Sage 3.0.1, the notebook has default secure=False. While that is all well and good for localhost use, I run a Sage notebook server, and I need to set secure=True. I would happily do so

[sage-support] Re: Notebook insecure by default

2008-05-26 Thread Mike Hansen
This issue came up before and is being tracked here: http://trac.sagemath.org/sage_trac/ticket/2827 --Mike On Mon, May 26, 2008 at 4:09 PM, Greg Landweber [EMAIL PROTECTED] wrote: Hello, I just noticed that as of Sage 3.0.1, the notebook has default secure=False. While that is all well and

[sage-support] Re: Time limit for computation

2008-05-26 Thread William Stein
On Mon, May 26, 2008 at 4:38 PM, Andrey Novoseltsev [EMAIL PROTECTED] wrote: Is there any way to automatically terminate the current computation if it takes longer than given amount of time (say, a minute)? I want it to be inside a loop that will stop some iterations and continue, if they

[sage-support] Re: Time limit for computation

2008-05-26 Thread Marshall Hampton
If you want to tweak this, it might be helpful to look at the signal module in python, which is presumably what the above alarm function uses; a helpful example is at: http://docs.python.org/lib/node545.html ...and the parent documentation to that has all the details. -M. Hampton On May 26,

[sage-support] Re: installation on Windows XP using cygwin rather than VMware player?

2008-05-26 Thread Robert
Dear Michael, Is it worth me trying to port sage-3.0.2 to cygwin? And if so, would you be prepared to point me to the bugs that you mentioned in your e-mail and tell me how to fix them? Or, should I rather wait for a future release? Thank you and regards. Robert On May 14, 5:18 pm, mabshoff

[sage-support] Re: Symbolic GCD

2008-05-26 Thread Gaëtan Bisson
Carl Witty wrote: You need to explicitly use the field of fractions of R: sage: R.a,b = QQ[] sage: S.x = R.fraction_field()[] sage: xgcd(x^2, a*x+b) (b^2/a^2, 1, ((-1)/a)*x + b/a^2) Thanks. Is it possible to do the same computation over a number field (instead of QQ)? For instance:

[sage-support] Notebook insecure by default

2008-05-26 Thread Greg Landweber
Hello, I just noticed that as of Sage 3.0.1, the notebook has default secure=False. While that is all well and good for localhost use, I run a Sage notebook server, and I need to set secure=True. I would happily do so explicitly, except that I have my computer configured to automatically start