Re: [sage-devel] Re: "Why Sage?" Website Section

2010-11-16 Thread Robert Bradshaw
On Mon, Nov 15, 2010 at 8:20 PM, Tim Daly wrote: > > > On 11/15/2010 8:54 PM, Robert Bradshaw wrote: >> >> On Sun, Nov 14, 2010 at 11:45 AM, Dr. David Kirkby >>  wrote: >>> >>> On 11/14/10 07:00 PM, Tim Daly wrote: I find it amusing that mathematicians are being told that a math-sp

[sage-devel] building sage took more then 24h now

2010-11-16 Thread Johannes
hi list, On Sunday started to install all experimental packages by sage -experimental | grep --color -vE 'INSTALLED|NOT|Type' | xargs sage -i and it's still building. Is this normal, or did i run into a endless loop? my configuration: Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz 2GB Ram Linux n

Re: [sage-devel] Re: bug in factoring univariate polynomial over number field?

2010-11-16 Thread John Cremona
On Mon, Nov 15, 2010 at 10:41 PM, Jeroen Demeyer wrote: > On 2010-11-15 17:23, Dr. David Kirkby wrote: >> But surely if a bug is found, it should be on trac. > > Should a PARI bug be on the Sage Trac?  What's the point if it already > was reported to PARI? I think the point is that another Sage u

Re: [sage-devel] Two issues with random_prime()

2010-11-16 Thread John Cremona
> >> >> If Mathematica does use a pseudo prime test, it is not documented. >> >> http://reference.wolfram.com/mathematica/ref/RandomPrime.html > > It is completely clear from the documentation above Mathematica *only* uses > a pseudo prime test.  It says right there "gives a pseudorandom prime numb

Re: [sage-devel] Two issues with random_prime()

2010-11-16 Thread David Kirkby
On 16 November 2010 06:57, William Stein wrote: > > > On Mon, Nov 15, 2010 at 5:45 PM, Dr. David Kirkby > wrote: >> >> I've noticed two issues with random_prime() in Sage. >> >> 1) Whilst Sage's random_prime() looks as though it will work for numbers >> to at least 10^1, if one specifies

Re: [sage-devel] Two issues with random_prime()

2010-11-16 Thread David Kirkby
On 16 November 2010 09:31, David Kirkby wrote: > On 16 November 2010 06:57, William Stein wrote: >> What version of Sage are you using, and on what computer? > > 4.6.1.alpha1 with the two patches at > > http://trac.sagemath.org/sage_trac/ticket/10112 > > which are both related to random_prime().

Re: [sage-devel] Two issues with random_prime()

2010-11-16 Thread William Stein
On Tuesday, November 16, 2010, David Kirkby wrote: > On 16 November 2010 06:57, William Stein wrote: >> >> >> On Mon, Nov 15, 2010 at 5:45 PM, Dr. David Kirkby >> wrote: >>> >>> I've noticed two issues with random_prime() in Sage. >>> >>> 1) Whilst Sage's random_prime() looks as though it will w

[sage-devel] A command line feature - operate and get next history line

2010-11-16 Thread Kwankyu Lee
Hi, A developer of R attempted to pull the part of the Bash source code responsible for the "operate-and-get-next" feature into R interface. See the following link: http://r.789695.n4.nabble.com/readline-operate-and-get-next-td2317208.html I want to do the same thing for Sage. As I am ignorant o

[sage-devel] Re: bug in factoring univariate polynomial over number field?

2010-11-16 Thread luisfe
It is surely a bug, Sage does not compute the right factorization. This is now #10279 -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://gro

Re: [sage-devel] Two issues with random_prime()

2010-11-16 Thread David Kirkby
On 16 November 2010 09:43, William Stein wrote: > On Tuesday, November 16, 2010, David Kirkby wrote: >> On 16 November 2010 06:57, William Stein wrote: >>> It is completely clear from the documentation above Mathematica *only* uses >>> a pseudo prime test.  It says right there "gives a pseudora

[sage-devel] bug gcd of polynomials over numberfield

2010-11-16 Thread Niels
Hi, I would like to compute the gcd of two bi-variate polynomials over a number field: sage: R = PolynomialRing( QQ, var( 't' ), order = 'lex' ) sage: t = R.gens()[0] sage: T = NumberFieldTower( [t ** 2 - t + 1], 'a0' ) sage: a0 = T.gens()[0] sage: R = R.change_ring( T ) sage:

[sage-devel] Re: bug gcd of polynomials over numberfield

2010-11-16 Thread luisfe
On Nov 16, 12:28 pm, Niels wrote: > Hi, > > I would like to compute the gcd of two bi-variate polynomials over a number > field: > > sage: R = PolynomialRing( QQ, var( 't' ), order = 'lex' ) > sage: t = R.gens()[0] > sage: T = NumberFieldTower( [t ** 2 - t + 1], 'a0' ) > sage: a0

[sage-devel] Re: bug gcd of polynomials over numberfield

2010-11-16 Thread Niels
Hi, Just realized that gcd( [( a0 + 1 ) * x , ( a0 + 1 ) * x * y] )=x is correct. This makes me wonder whether to exception of the second gcd (after adjoining a1) is a bug, or whether my construction of the numberfield is incorrect. Maybe i should have asked this question at sage-support Kind

Re: [sage-devel] Re: bug gcd of polynomials over numberfield

2010-11-16 Thread Niels
Thanks :-) On Tue, Nov 16, 2010 at 1:02 PM, luisfe wrote: > > > On Nov 16, 12:28 pm, Niels wrote: > > Hi, > > > > I would like to compute the gcd of two bi-variate polynomials over a > number > > field: > > > > sage: R = PolynomialRing( QQ, var( 't' ), order = 'lex' ) > > sage: t = R.ge

[sage-devel] Re: building sage took more then 24h now

2010-11-16 Thread mhampton
There are some pretty big experimental packages, so perhaps its "normal". But it doesn't seem like a good idea; some of those packages have overlaps (vtk-related ones for example), and are hard to build, so I think there's a good chance you'll get a bunch of broken pieces. -M.Hampton On Nov 16,

[sage-devel] Re: Two issues with random_prime()

2010-11-16 Thread Donald Alan Morrison
> > Eg, how would you > > interpret the docs for PrimeQ? > >http://reference.wolfram.com/mathematica/ref/PrimeQ.html > > I would interpret that as Mathematica's PrimeQ[] tests with 100% > certainty if the number is prime or not. Mma probably uses the fast "psuedo-primality tests" in the range wher

Re: [sage-devel] Two issues with random_prime()

2010-11-16 Thread William Stein
On Tue, Nov 16, 2010 at 2:18 AM, David Kirkby wrote: > > On 16 November 2010 09:43, William Stein wrote: > > On Tuesday, November 16, 2010, David Kirkby wrote: > >> On 16 November 2010 06:57, William Stein wrote: > > >>> It is completely clear from the documentation above Mathematica *only* >

Re: [sage-devel] building sage took more then 24h now

2010-11-16 Thread William Stein
On Tue, Nov 16, 2010 at 12:21 AM, Johannes wrote: > hi list, > On Sunday started to install all experimental packages by Read the message at the top of the page about experimental packages: http://sagemath.org/packages/experimental/ "These are EXPERIMENTAL! They probably won't work at all for yo

Re: [sage-devel] #10263: Headings of Sage library code files should state GPLv2+ instead of GPL without version

2010-11-16 Thread David Kirkby
On 14 November 2010 20:52, William Stein wrote: > On Sun, Nov 14, 2010 at 5:29 AM, Jeroen Demeyer > wrote: >> In the developer documentation, in the section "Headings of Sage library >> code files", there is an example heading stating >> #*

[sage-devel] error with mercurial for the sage-combinat repository

2010-11-16 Thread Vincent Delecroix
Hello, Does anybody get the same kind of error as below and manage to solve it ? Otherwise, I will send a mail to the mercurial team to figure out what's up. Best, Vincent pushing to http://combinat.sagemath.org/patches/ searching for changes ** unknown exception encountered, details follow ** r

Re: [sage-devel] #10263: Headings of Sage library code files should state GPLv2+ instead of GPL without version

2010-11-16 Thread Jeroen Demeyer
On 2010-11-16 19:33, David Kirkby wrote: > " Distributed under the terms of the GNU General Public License (GPL). > You may use any version of the GPL you want. " This would be a change in policy which I explicitly did not want to do. It is already stated in other places that Sage is licenced und

[sage-devel] Re: Two issues with random_prime()

2010-11-16 Thread Donald Alan Morrison
On Nov 16, 10:22 am, William Stein wrote: > [...] > They mention that Mathematica does have a "proof = True" version of > PrimeQ called ProvablePrimeQ that one can optionally load.  I just > tried it on a 200-digit number and it took 22 seconds as compared to 3 > seconds in PARI (hence Sage). T

Re: [sage-devel] Two issues with random_prime()

2010-11-16 Thread William Stein
On Tue, Nov 16, 2010 at 10:22 AM, William Stein wrote: > On Tue, Nov 16, 2010 at 2:18 AM, David Kirkby wrote: >> >> On 16 November 2010 09:43, William Stein wrote: >> > On Tuesday, November 16, 2010, David Kirkby >> > wrote: >> >> On 16 November 2010 06:57, William Stein wrote: >> >> >>> It i

Re: [sage-devel] Re: sage -bdist (i.e $SAGE_ROOT/local/bin/sage-bdist)

2010-11-16 Thread David Kirkby
On 16 November 2010 03:06, John H Palmieri wrote: > On Nov 15, 3:06 am, "Dr. David Kirkby" >> The newer compression algorithms make a huge difference. I know on Solaris, a >> binary is 500 MB with gz, but drops to 300 MB with .7z. > > How does bzip2 fare? I don't have any numbers with me. bzip2

[sage-devel] Re: error with mercurial for the sage-combinat repository

2010-11-16 Thread Vincent D
The problem may come from incompatibility between mercurial on my laptop (hg 1.3.1 distributed with Sage) and mercurial on the server at combinat.sagemath.org. Does anybody knows its version (or how obtain it) ? Cheers, Vincent -- To post to this group, send an email to sage-devel@googlegroups.c

Re: [sage-devel] Two issues with random_prime()

2010-11-16 Thread David Kirkby
On 16 November 2010 18:22, William Stein wrote: > I'm idly curious about how all of Mathematica's interpreter level > source code of functions is encrypted.. > William Stein http://www.mathematica-users.org/webMathematica/wiki/wiki.jsp?pageName=FAQ_Writing_Packages will probably give you a pre

Re: [sage-devel] Two issues with random_prime()

2010-11-16 Thread William Stein
On Tue, Nov 16, 2010 at 1:14 PM, David Kirkby wrote: > On 16 November 2010 18:22, William Stein wrote: > >> I'm idly curious about how all of Mathematica's interpreter level >> source code of functions is encrypted.. > >> William Stein > > http://www.mathematica-users.org/webMathematica/wiki/wiki

Re: [sage-devel] #10263: Headings of Sage library code files should state GPLv2+ instead of GPL without version

2010-11-16 Thread William Stein
On Tue, Nov 16, 2010 at 10:41 AM, Jeroen Demeyer wrote: > On 2010-11-16 19:33, David Kirkby wrote: >> " Distributed under the terms of the GNU General Public License (GPL). >> You may use any version of the GPL you want. " -1, since most people contributed under the GPLv2+ condition, and the perm

Re: [sage-devel] Re: error with mercurial for the sage-combinat repository

2010-11-16 Thread Mitesh Patel
On 11/16/2010 02:19 PM, Vincent D wrote: > The problem may come from incompatibility between mercurial on my > laptop (hg 1.3.1 distributed with Sage) and mercurial on the server at > combinat.sagemath.org. Does anybody knows its version (or how obtain > it) ? I see s...@sagemath:~$ which hg /usr

Re: [sage-devel] Error building sage 4.6 on ubuntu 10.04

2010-11-16 Thread Johannes
those hints helped me: http://ask.sagemath.org/question/107/building-atlas greatz Am 17.11.2010 00:42, schrieb Johannes: > Hi list, > today I tried to build the newset sage Version on my system from the > sources and it fails. > > this seems to be the imporant part of the install log for me: > >

Re: [sage-devel] Error building sage 4.6 on ubuntu 10.04

2010-11-16 Thread François Bissey
> those hints helped me: > http://ask.sagemath.org/question/107/building-atlas > Was the issue that ATLAS had not finished building yet? Francois -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googl

[sage-devel] Re: error with mercurial for the sage-combinat repository

2010-11-16 Thread Dima Pasechnik
I forwarded this to sage-combinat-devel On Nov 17, 2:40 am, Vincent Delecroix <20100.delecr...@gmail.com> wrote: > Hello, > > Does anybody get the same kind of error as below and manage to solve > it ? Otherwise, I will send a mail to the mercurial team to figure out > what's up. > > Best, > Vince

Re: [sage-devel] A command line feature - operate and get next history line

2010-11-16 Thread Dan Drake
On Tue, 16 Nov 2010 at 02:01AM -0800, Kwankyu Lee wrote: > Hi, > > A developer of R attempted to pull the part of the Bash source code > responsible for the "operate-and-get-next" feature into R interface. > See the following link: > > http://r.789695.n4.nabble.com/readline-operate-and-get-next-t

Re: [sage-devel] Adding patch as a standard package

2010-11-16 Thread Robert Bradshaw
On Sun, Nov 14, 2010 at 3:15 PM, Dr. David Kirkby wrote: > On 11/14/10 08:51 PM, William Stein wrote: >> >> On Sun, Nov 14, 2010 at 5:00 AM, Jeroen Demeyer >>  wrote: >>> >>> Hello all, >>> >>> There is some work being done at #9418 at make GNU patch a standard >>> package such that, in the future

Re: [sage-devel] Error building sage 4.6 on ubuntu 10.04

2010-11-16 Thread Johannes
No, building ATLAS failed. Am 17.11.2010 04:16, schrieb François Bissey: >> those hints helped me: >> http://ask.sagemath.org/question/107/building-atlas >> >> > Was the issue that ATLAS had not finished building yet? > > Francois > > -- To post to this group, send an email to sage-devel