Re: [sage-support] Re: Comment in python code [[cloud.sagemath.com]]

2013-11-04 Thread William Stein
On Mon, Nov 4, 2013 at 7:28 AM, Christophe Bal wrote: > Thanks. Where all of this I'd implemented ? Don't worry about it further -- I'll fix the parsing bug that you found sometime this week. If you find any further bugs anywhere in cloud.sagemath.com, please don't hesitate to report them! Than

Re: [sage-support] How to compute the quality of $abc$ triple over number fields?

2013-11-04 Thread Nils Bruin
On Monday, November 4, 2013 1:29:10 AM UTC-8, Georgi Guninski wrote: > > Isn't it possible to define the quality only in > terms of the norm and the integer radical, > something like this: > > q(a,b,c) = max( norm(a),norm(b),norm(c) ) / >(log(Delta(K)) + degree(K) * log(radical(norm

Re: [sage-support] Re: Comment in python code [[cloud.sagemath.com]]

2013-11-04 Thread Christophe Bal
Thanks. Where all of this I'd implemented ? Le 4 nov. 2013 15:20, "William Stein" a écrit : > On Mon, Nov 4, 2013 at 6:04 AM, Christophe Bal > wrote: > > Indeed there are small security problems and big ones. The use of eval or > > exec can cause real big problems. I'll try to show that in priva

Re: [sage-support] How to compute the quality of $abc$ triple over number fields?

2013-11-04 Thread Nils Bruin
On Monday, November 4, 2013 1:29:10 AM UTC-8, Georgi Guninski wrote: > > On Sun, Nov 03, 2013 at 09:51:15AM -0800, Nils Bruin wrote: > > On Sunday, November 3, 2013 6:36:35 AM UTC-8, John Cremona wrote: > > > > > > The function is called global_height(): > > > > > > sage: K. = NumberField(x^

Re: [sage-support] Re: Comment in python code [[cloud.sagemath.com]]

2013-11-04 Thread William Stein
On Mon, Nov 4, 2013 at 6:04 AM, Christophe Bal wrote: > Indeed there are small security problems and big ones. The use of eval or > exec can cause real big problems. I'll try to show that in private. Not > here... I'm not sure to do such a hack but if the actual version uses exec > or eval, it wou

Re: [sage-support] Re: Comment in python code [[cloud.sagemath.com]]

2013-11-04 Thread Christophe Bal
Indeed there are small security problems and big ones. The use of eval or exec can cause real big problems. I'll try to show that in private. Not here... I'm not sure to do such a hack but if the actual version uses exec or eval, it would be possible. My remark is just to help and not to criticize

Re: [sage-support] How to compute the quality of $abc$ triple over number fields?

2013-11-04 Thread Georgi Guninski
On Sun, Nov 03, 2013 at 09:51:15AM -0800, Nils Bruin wrote: > On Sunday, November 3, 2013 6:36:35 AM UTC-8, John Cremona wrote: > > > > The function is called global_height(): > > > > sage: K. = NumberField(x^3-2) > > sage: b = a+1 > > sage: b.global_height() > > 0.366204096222703 > > > > John

Re: [sage-support] Re: Comment in python code [[cloud.sagemath.com]]

2013-11-04 Thread Nils Bruin
On Sunday, November 3, 2013 11:19:45 PM UTC-8, projetmbc wrote: > > The use of AST is a pretty way BUT you must not use *eval* or *exec*because > of real security issues. It's easy to find explanations about that > on the web. > If you read these explanations, you'll see that by the same logic,