Re: [sage-devel] Re: cube roots in Sage

2014-06-18 Thread Vincent Delecroix
Note that there is already a method "nth_root" on several elements (ZZ, finite fields, etc). So I would rather go for "real_nth_root" which makes things clearer. Vincent 2014-06-19 2:44 UTC+02:00, Nils Bruin : > On Wednesday, June 18, 2014 2:37:21 AM UTC-4, Gregory Bard wrote: >> >> This has been

[sage-devel] Re: Who won the Spies Prize?

2014-06-18 Thread Rob Beezer
Dear Volker, "Read my lips,..." ;-) Congratulations, richly deserved. Rob On Monday, June 16, 2014 1:43:53 PM UTC-7, Volker Braun wrote: > > Congratulations, Rob... hmm what? I don't have my earphones at hand so I > watched the video on mute. The one time that I can't fit a Sage Days on my >

[sage-devel] Re: cube roots in Sage

2014-06-18 Thread Nils Bruin
On Wednesday, June 18, 2014 2:37:21 AM UTC-4, Gregory Bard wrote: > > This has been brought up many times before, but I'd like to bring up > the possibility of adding two commands to Sage: cuberoot(x) and > nthroot(x, n) > +1 for nthroot. Once we have that, I don't think we need cuberoot. The func

Re: [sage-devel] Re: [hashdist-group] Re: RFC: New Build/Packaging System

2014-06-18 Thread François Bissey
On Wed, 18 Jun 2014 10:21:40 Volker Braun wrote: > 20:00 UTC is fine with me! > > I've updated the event: > https://plus.google.com/events/c7mko935v5tijbld59ig7kgl1n4 > I may do a quick appearance at the beginning, it is 8am for me and I have to prepare the kids for school and go to work myself.

[sage-devel] Re: [hashdist-group] Re: RFC: New Build/Packaging System

2014-06-18 Thread Volker Braun
20:00 UTC is fine with me! I've updated the event: https://plus.google.com/events/c7mko935v5tijbld59ig7kgl1n4 On Wednesday, June 18, 2014 6:09:55 PM UTC+1, Dag Sverre Seljebotn wrote: > > Can we do two hours earlier? I'm on CEST (Oslo) and it appears this is > midnight for me. > > I'm basica

[sage-devel] Re: [hashdist-group] Re: RFC: New Build/Packaging System

2014-06-18 Thread Aron Ahmadia
I've got a standing commitment at 1700 EDT / 2100 UTC, but I believe Dag is proposing 1300 PDT / 1600 EDT / 2000 UTC / 2200 CEST Does 20:00 UTC work for everyone? A On Wed, Jun 18, 2014 at 1:09 PM, Dag Sverre Seljebotn < d.s.seljeb...@astro.uio.no> wrote: > Can we do two hours earlier? I'm on

[sage-devel] Re: [hashdist-group] Re: RFC: New Build/Packaging System

2014-06-18 Thread Dag Sverre Seljebotn
Can we do two hours earlier? I'm on CEST (Oslo) and it appears this is midnight for me. I'm basically available rest of today and tomorrow, 08-23 CEST. Dag Sverre On 06/18/2014 01:44 PM, Volker Braun wrote: How about Thursday, then? I'd suggest again 23:00 BST = 15:00 PDT = 22:00 CEDT. That m

Re: [sage-devel] Bug in integer factorization (or primality test)

2014-06-18 Thread John Cremona
On 18 June 2014 16:49, David Roe wrote: > We are using flint: > > if mpz_fits_slong_p(n.value): > > n_factor(&f, mpz_get_ui(n.value), proof) > > where n_factor is defined in sage.libs.flint.ulong_extras. Thanks, David -- this explains what is happening (remember that I got this value

Re: [sage-devel] Bug in integer factorization (or primality test)

2014-06-18 Thread David Roe
We are using flint: if mpz_fits_slong_p(n.value): n_factor(&f, mpz_get_ui(n.value), proof) where n_factor is defined in sage.libs.flint.ulong_extras. David On Wed, Jun 18, 2014 at 4:28 AM, John Cremona wrote: > I noticed an announcement on the flint-dev list which led me to try

[sage-devel] Re: [hashdist-group] Re: RFC: New Build/Packaging System

2014-06-18 Thread Volker Braun
Ok, lets go for Thursday 22:00 UTC! Hangout event: https://plus.google.com/events/c7mko935v5tijbld59ig7kgl1n4 On Wednesday, June 18, 2014 2:42:44 PM UTC+1, Aron Ahmadia wrote: > > I can do Thursday at 1500. Sorry for not declining the original invite. > > A > > > On Wed, Jun 18, 2014 at 7:44

Re: [sage-devel] Re: Bug in integer factorization (or primality test)

2014-06-18 Thread William Stein
On Jun 18, 2014 2:22 AM, "Dima Pasechnik" wrote: > > On 2014-06-18, John Cremona wrote: > > I noticed an announcement on the flint-dev list which led me to try > > this, and indeed we have the bug: > > > > sage: n=2007193456621 > > sage: n.is_prime() > > False > > sage: n.factor()

[sage-devel] Re: [hashdist-group] Re: RFC: New Build/Packaging System

2014-06-18 Thread Aron Ahmadia
I can do Thursday at 1500. Sorry for not declining the original invite. A On Wed, Jun 18, 2014 at 7:44 AM, Volker Braun wrote: > How about Thursday, then? I'd suggest again 23:00 BST = 15:00 PDT = 22:00 > CEDT. That might give the kiwis a chance, too. > > > > On Wednesday, June 18, 2014 2:19:

[sage-devel] Re: [hashdist-group] Re: RFC: New Build/Packaging System

2014-06-18 Thread Volker Braun
How about Thursday, then? I'd suggest again 23:00 BST = 15:00 PDT = 22:00 CEDT. That might give the kiwis a chance, too. On Wednesday, June 18, 2014 2:19:08 AM UTC+1, Chris Kees wrote: > > I'm mostly available tomorrow (Wednesday) and Thursday pretty much anytime > after 7AM pacific. -Chris >

[sage-devel] Re: Bug in integer factorization (or primality test)

2014-06-18 Thread Dima Pasechnik
On 2014-06-18, John Cremona wrote: > I noticed an announcement on the flint-dev list which led me to try > this, and indeed we have the bug: > > sage: n=2007193456621 > sage: n.is_prime() > False > sage: n.factor() # !! > 2007193456621 > sage: pari(n).factor() > [1001797, 1

[sage-devel] Re: docbuild getting stuck

2014-06-18 Thread Dima Pasechnik
On 2014-06-18, kcrisman wrote: > > > On Tuesday, June 17, 2014 10:41:39 PM UTC-4, Travis Scrimshaw wrote: >> >> Apparently this is related to Gap running out of memory and will (should) >> be fixed with the merging of #16440. See also >> https://groups.google.com/forum/#!topic/sage-devel/4r0Quzz

[sage-devel] Bug in integer factorization (or primality test)

2014-06-18 Thread John Cremona
I noticed an announcement on the flint-dev list which led me to try this, and indeed we have the bug: sage: n=2007193456621 sage: n.is_prime() False sage: n.factor() # !! 2007193456621 sage: pari(n).factor() [1001797, 1; 2003593, 1] sage: n == 1001797 * 2003593 True See fl

Re: [sage-devel] cube roots in Sage

2014-06-18 Thread Jori Mantysalo
On Tue, 17 Jun 2014, Gregory Bard wrote: This has been brought up many times before, but I'd like to bring up the possibility of adding two commands to Sage: cuberoot(x) and nthroot(x, n) Could you summarize previos discussion(s)? For example what should cuberoot(1)^2 be? Different from cuber