I am running code in a loop and certain function might take
long or short time. I don't want to wait long and
want to continue with the fast cases.
Up to sage 5.12 I used:
alarm(5)
try:
F=mightbelong(n)
alarm(0) #to not fire later
except
On 2014-01-27 10:57, Georgi Guninski wrote:
How to cancel a pending alarm()?
Use cancel_alarm(). I agree this should be documented in alarm().
--
You received this message because you are subscribed to the Google Groups
sage-support group.
To unsubscribe from this group and stop receiving
On Mon, Jan 27, 2014 at 02:35:55PM +0100, Jeroen Demeyer wrote:
On 2014-01-27 10:57, Georgi Guninski wrote:
How to cancel a pending alarm()?
Use cancel_alarm(). I agree this should be documented in alarm().
Thanks.
--
You received this message because you are subscribed to the Google Groups
This is probably a late comment,
but genus() in Singular is also known for containing bugs,
see tickets
http://www.singular.uni-kl.de:8002/trac/ticket/259,
http://www.singular.uni-kl.de:8002/trac/ticket/469
Jack
Am Dienstag, 23. November 2010 11:56:20 UTC+1 schrieb Martin Albrecht:
On
Hello,
I'm a bit confused about Sage's answer if Ideal(1) is prime.
R.x,y= QQ[]
I = Ideal(R(1))
I.is_prime()
Sage (5.11, not only) says yes,
conflicting to the definition, http://en.wikipedia.org/wiki/Prime_ideal
Has somebody an expanation of this behaviour?
Jack
--
You received this
On 2014-01-27 14:35, Jeroen Demeyer wrote:
Use cancel_alarm(). I agree this should be documented in alarm().
This is now http://trac.sagemath.org/ticket/15743 and needs review.
--
You received this message because you are subscribed to the Google Groups
sage-support group.
To unsubscribe
That is definitely a bug, and cause by the similarly wrong
sage: I.complete_primary_decomposition()
[(Ideal (1) of Multivariate Polynomial Ring in x, y over Rational
Field, Ideal (1) of Multivariate Polynomial Ring in x, y over Rational
Field)]
which I'm sure has been reported before. The
On Mon, Jan 27, 2014 at 03:07:00PM +0100, Jeroen Demeyer wrote:
On 2014-01-27 14:35, Jeroen Demeyer wrote:
Use cancel_alarm(). I agree this should be documented in alarm().
This is now http://trac.sagemath.org/ticket/15743 and needs review.
May I ask you to allow alarm(0) again since other
On Mon, Jan 27, 2014 at 05:29:37AM -0800, kroe...@uni-math.gwdg.de wrote:
This is probably a late comment,
but genus() in Singular is also known for containing bugs,
see tickets
http://www.singular.uni-kl.de:8002/trac/ticket/259,
http://www.singular.uni-kl.de:8002/trac/ticket/469
On 27 January 2014 14:37, kroe...@uni-math.gwdg.de wrote:
Ok, I will do the upstream-report (Singular trac at
http://www.singular.uni-kl.de:8002/trac/newticket)
John Cremona: [...] which I'm sure has been reported before.
I could not find a corresponding ticket in sage trac and cannot
Ok, I will do the upstream-report (Singular trac at
http://www.singular.uni-kl.de:8002/trac/newticket)
John Cremona: [...] which I'm sure has been reported before.
I could not find a corresponding ticket in sage trac and cannot
currently login. Could someone open a that ticket in sage-trac
See http://trac.sagemath.org/ticket/15745
John
On 27 January 2014 14:39, John Cremona john.crem...@gmail.com wrote:
On 27 January 2014 14:37, kroe...@uni-math.gwdg.de wrote:
Ok, I will do the upstream-report (Singular trac at
http://www.singular.uni-kl.de:8002/trac/newticket)
John Cremona:
Hello,
I'm a bit confused about Sage's answer if Ideal(1) is prime.
R.x,y= QQ[]
I = Ideal(R(1))
I.is_prime()
Sage (5.11, not only) says yes,
conflicting to the definition,
http://en.wikipedia.org/wiki/Prime_ideal
Has somebody an expanation of this behaviour?
The example Singular
On 2014-01-27 15:13, Georgi Guninski wrote:
On Mon, Jan 27, 2014 at 03:07:00PM +0100, Jeroen Demeyer wrote:
On 2014-01-27 14:35, Jeroen Demeyer wrote:
Use cancel_alarm(). I agree this should be documented in alarm().
This is now http://trac.sagemath.org/ticket/15743 and needs review.
May
On Mon, Jan 27, 2014 at 06:19:34PM +0100, Jeroen Demeyer wrote:
On 2014-01-27 15:13, Georgi Guninski wrote:
On Mon, Jan 27, 2014 at 03:07:00PM +0100, Jeroen Demeyer wrote:
On 2014-01-27 14:35, Jeroen Demeyer wrote:
Use cancel_alarm(). I agree this should be documented in alarm().
This is
On Monday, January 27, 2014 9:35:55 AM UTC-8, Georgi Guninski wrote:
On Mon, Jan 27, 2014 at 06:19:34PM +0100, Jeroen Demeyer wrote:
On 2014-01-27 15:13, Georgi Guninski wrote:
On Mon, Jan 27, 2014 at 03:07:00PM +0100, Jeroen Demeyer wrote:
On 2014-01-27 14:35, Jeroen Demeyer wrote:
Hi John,
On 2014-01-27, John H Palmieri jhpalmier...@gmail.com wrote:
Second, the old alarm code happened to work the way you wanted, but it
wasn't documented that way, and it's not clear (to me, at least) that that
use was ever intended. Had it been documented, or had it been commonly
Waiting... and waiting...
Still waiting...
Nope, waiting a few seconds does not do the trick for me, neither on
Firefox nor Konqueror. Any other ideas?
On 22/01/14 12:40, The man in the hat wrote:
You have to wait a few seconds for the results to appear.
On Wednesday, January 22, 2014
On Mon, Jan 27, 2014 at 3:10 PM, Stan Schymanski schym...@gmail.com wrote:
Waiting... and waiting...
Still waiting...
Nope, waiting a few seconds does not do the trick for me, neither on Firefox
nor Konqueror. Any other ideas?
It's not working for me either using a Chromebook (with Chrome
On Mon, Jan 27, 2014 at 10:53:10PM +0100, Jeroen Demeyer wrote:
On 2014-01-27 22:47, Simon King wrote:
Has there
been a deprecation warning when using alarm() with an argument that is
equal to zero?
No. But as John says, alarm(0) was never documented, nor did it
appear in any doctest.
On Mon, Jan 27, 2014 at 11:17:50AM -0800, John H Palmieri wrote:
First, please try to be more polite.
Dear sir or madam,
Observe that in sage 5.12 there is no cancel_alarm().
Second, the old alarm code happened to work the way you wanted, but it
wasn't documented that way, and it's not
Dear sir or madam,
How to cancel alarm in BOTH sage 5.12 AND 5.13?
cancel_alarm() works only in 5.13
alarm(0) works only in 5.12 (and maybe earlier)
My client needs portable code on linux.
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups
On Mon, Jan 27, 2014 at 10:13 PM, Georgi Guninski gunin...@guninski.com wrote:
Dear sir or madam,
How to cancel alarm in BOTH sage 5.12 AND 5.13?
cancel_alarm() works only in 5.13
alarm(0) works only in 5.12 (and maybe earlier)
Maybe
try:
cancel_alarm()
except:
alarm(0)
??
My
On Monday, January 27, 2014 10:00:38 PM UTC-8, Georgi Guninski wrote:
On Mon, Jan 27, 2014 at 11:17:50AM -0800, John H Palmieri wrote:
First, please try to be more polite.
Dear sir or madam,
Observe that in sage 5.12 there is no cancel_alarm().
Yes, there is, defined in the
On Monday, January 27, 2014 10:13:28 PM UTC-8, Georgi Guninski wrote:
Dear sir or madam,
How to cancel alarm in BOTH sage 5.12 AND 5.13?
cancel_alarm() works only in 5.13
alarm(0) works only in 5.12 (and maybe earlier)
I believe that
from sage.misc.misc import cancel_alarm
25 matches
Mail list logo