[sage-devel] Re: what can we do with a database of primitive roots?

2009-07-31 Thread David Joyner
If you just recorded the smallest primitive roots I'll bet the database would get a lot smaller:-) Do you need all the prim roots in the CrypTool tutorial for a particular purpose, eg discrete logs? I'd guess a database of the smallest prim roots mod p for all primes out to a million (for

[sage-devel] Re: Sage organizational structure, AWOL people (also about openmoney)

2009-07-31 Thread Serge A. Salamanka
Hello everyone, 1) Protection from the harm of project leaders or some key people in the project being vanished could be organized, I would suggest, in the following way: The project sets up some place where the important information is being kept and maintained by the key people of the

[sage-devel] Re: what can we do with a database of primitive roots?

2009-07-31 Thread kcrisman
Most older # theory textbooks (or newer editions thereof) have a list of smallest primitive roots of p for small p, as well as tables of indices for index calculus. I'm not sure whether that is quite as useful now, since any individual discrete log problem might be solved (slowly) by finding a

[sage-devel] Re: status of FreeBSD 64-bit support

2009-07-31 Thread David Kirkby
The version of MPIR in Sage does build on t2 properly with /usr/local/gcc-4.2.4-sun-linker/bin/gcc. In fact, it builds with all versions of gcc on t2. I can't say about the version in trunc, and cant easily check myself at the minute. 2009/7/31 Jason Moxham ja...@njkfrudils.plus.com:

[sage-devel] Re: status of FreeBSD 64-bit support

2009-07-31 Thread Jason Moxham
On Friday 31 July 2009 14:25:02 David Kirkby wrote: The version of MPIR in Sage does build on t2 properly with /usr/local/gcc-4.2.4-sun-linker/bin/gcc. In fact, it builds with all versions of gcc on t2. I can't say about the version in trunc, and cant easily check myself at the minute. I

[sage-devel] Re: Sage 4.1.1.rc0 released

2009-07-31 Thread David Kirkby
2009/7/31 Minh Nguyen nguyenmi...@gmail.com: On Thu, Jul 30, 2009 at 1:14 PM, Minh Nguyennguyenmi...@gmail.com wrote: Hi folks, This is the first release candidate for Sage 4.1.1. Source and binary are at http://sage.math.washington.edu/home/mvngu/release/sage-4.1.1.rc0.tar

[sage-devel] Re: Is there a list of environment variables SAGE uses?

2009-07-31 Thread David Kirkby
2009/7/28 William Stein wst...@gmail.com:  Perhaps a naming convention for them too. Should they all start SAGE_ for example? That would seem most sensible, despite I've already implemetnted on that does not start SAGE_. Obviously some part of you found that not sensible.  Personally I

[sage-devel] Sage 4.1 installation on ubuntu 8.04 failed

2009-07-31 Thread wom
Dear sage-devel team, I have tried to install sage4.1 on ubuntu 8.04 by following the steps described in the readme file, i.e. I downloaded the source code from the Berlin server, unzipped it to the subdirectory sage/sage-4.1 in my home directory, and started make from there. This has ended up

[sage-devel] problem with docstring formatting in pyx file

2009-07-31 Thread Carlo Hamalainen
Hi, I wrote a patch for sampling from a general discrete probability distribution but I can't get the reference manual to format correctly. The pyx file is the problem. The patch is here: http://trac.sagemath.org/sage_trac/ticket/6662 The examples in the manual are formatted as normal

[sage-devel] multiplicative_order in finite fields

2009-07-31 Thread VictorMiller
I was just looking at the code for multiplicative_order in finite_field_element.py, and noticed that it factors the group order, and find the cofactors corresponding to each prime power dividing the order (which is really the only algorithm that I know to do this). To avoid repeating this

[sage-devel] Re: status of FreeBSD 64-bit support

2009-07-31 Thread Dr. David Kirkby
Minh Nguyen wrote: Hi folks, As of Sage 4.1.1.alpha1, the compilation of Sage now dies when it comes to compiling MPIR. The full log is up at http://sage.math.washington.edu/home/mvngu/patch/install-freebsd64.log Here's a relevant snippet from my attempt: /usr/local/bin/bash

[sage-devel] Re: status of Solaris support in 4.1.1 release cycle

2009-07-31 Thread Dr. David Kirkby
Minh Nguyen wrote: Hi folks, So far in the 4.1.1 release cycle, David Kirkby has added Solaris (on the machine t2) build support for about 7 packages. That is very impressive work for an individual porter. Out of curiosity, I compiled Sage 4.1.1.alpha1 from source on t2. Now the

[sage-devel] Re: status of FreeBSD 64-bit support

2009-07-31 Thread Dr. David Kirkby
Jason Moxham wrote: Building mpir svn trunk (which for the Sun's is the same as mpir-1.2.2) ./configure make -j make -j check ld.so.1: t-modlinv: fatal: /usr/local/gcc-4.2.4-sun-linker/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32 /bin/bash: line 1: 25188 Killed

[sage-devel] Re: multiplicative_order in finite fields

2009-07-31 Thread Simon King
Hi Victor, On Jul 31, 3:59 pm, VictorMiller victorsmil...@gmail.com wrote: I was just looking at the code for multiplicative_order in finite_field_element.py, and noticed that it factors the group order, and find the cofactors corresponding to each prime power dividing the order (which is

[sage-devel] Re: status of FreeBSD 64-bit support

2009-07-31 Thread Jason Moxham
- Original Message - From: Dr. David Kirkby david.kir...@onetel.net To: sage-devel@googlegroups.com Sent: Friday, July 31, 2009 4:02 PM Subject: [sage-devel] Re: status of FreeBSD 64-bit support Minh Nguyen wrote: Hi folks, As of Sage 4.1.1.alpha1, the compilation of Sage now

[sage-devel] possible bug in permutation/quotient group?

2009-07-31 Thread Robert Schwarz
Hi all, I was just playing around with permutations, when something puzzled me: sage: G = SymmetricGroup(4) sage: H = G.normal_subgroups()[1] sage: H Permutation Group with generators [(1,3)(2,4), (1,4)(2,3)] sage: G.quotient_group(H) Permutation Group with generators [(1,2)(3,6)(4,5),

[sage-devel] Re: possible bug in permutation/quotient group?

2009-07-31 Thread David Joyner
Maybe I don't understand your question. It seems you are claiming that if G is a permutation group and H is a normal subgroup then the quotient G/H embeds into G. Are you sure that is true? On Fri, Jul 31, 2009 at 11:36 AM, Robert Schwarzm...@rschwarz.net wrote: Hi all, I was just playing

[sage-devel] Re: problem with docstring formatting in pyx file

2009-07-31 Thread Pat LeSmithe
Carlo Hamalainen wrote: The pyx file is the problem. The patch is here: http://trac.sagemath.org/sage_trac/ticket/6662 The examples in the manual are formatted as normal paragraph text instead of code blocks. Any ideas? Try inserting a blank line after EXAMPLES::: def

[sage-devel] Re: possible bug in permutation/quotient group?

2009-07-31 Thread Simon King
Hi David, On Jul 31, 4:47 pm, David Joyner wdjoy...@gmail.com wrote: Maybe I don't understand your question. It seems you are claiming that if G is a permutation group and H is a normal subgroup then the quotient G/H embeds into G. Are you sure that is true? ... Where do the 5 and 6

[sage-devel] Re: possible bug in permutation/quotient group?

2009-07-31 Thread kcrisman
On Jul 31, 11:47 am, David Joyner wdjoy...@gmail.com wrote: Maybe I don't understand your question. It seems you are claiming that if G is a permutation group and H is a normal subgroup then the quotient G/H embeds into G. Are you sure that is true? On Fri, Jul 31, 2009 at 11:36 AM,

[sage-devel] Re: Sage sandpiles package, 4ti2 and glpk spkgs

2009-07-31 Thread Marshall Hampton
I'm just editing the subject line to attract attention from people like Mike Hansen who might have done overlapping work. -Marshall On Jul 31, 11:03 am, Marshall Hampton hampto...@gmail.com wrote: I am trying to make an spkg for 4ti2, but I am having trouble getting it to recognize GMP. I'm

[sage-devel] Re: Circuits

2009-07-31 Thread Dr. David Kirkby
kstueve wrote: On Jul 27, 3:11 am, David Kirkby david.kir...@onetel.net wrote: But for reserach purposes, symbolic results is a niche interest area and one where I feel Sage could be a 'must have' tool. But for general circuit simulation, I believe the tool shown is too limited. Would

[sage-devel] Re: possible bug in permutation/quotient group?

2009-07-31 Thread Simon King
Hi! On Jul 31, 5:11 pm, kcrisman kcris...@gmail.com wrote: ... Though I agree that this could be confusing, the good part is that this creates (an isomorphic) group without having to talk about which element of the coset you pick each time.  It would be misleading to say that (1234) was an

[sage-devel] Re: multiplicative_order in finite fields

2009-07-31 Thread VictorMiller
Simon, Thanks. I think that in order for this to work, that finite field should have a new method, something like @cached_method _cofactor_information(self): N = self.order() return [ (N//p**r,p) for p,r in arith.factor(N)] which would factor the order, and then return all the cofactors

[sage-devel] Re: possible bug in permutation/quotient group?

2009-07-31 Thread Robert Schwarz
javier wrote: On Jul 31, 4:47 pm, David Joyner wdjoy...@gmail.com wrote: Maybe I don't understand your question. It seems you are claiming thatif G is a permutation group and H is a normal subgroup then the quotient G/H embeds into G. Are you sure that is true? In general, no it isn't. We

[sage-devel] Re: possible bug in permutation/quotient group?

2009-07-31 Thread javier
If that you want are the cosets you can get them simply using cosets = Set([Set([h*g for h in H]) for g in G]) or if you want to get a representative of each coset you can then use reps = [x[0] for x in cosets] this should work even if H is not normal, the only issue being that the set of

[sage-devel] Re: possible bug in permutation/quotient group?

2009-07-31 Thread Robert Schwarz
javier wrote: If that you want are the cosets you can get them simply using cosets = Set([Set([h*g for h in H]) for g in G]) or if you want to get a representative of each coset you can then use reps = [x[0] for x in cosets] this should work even if H is not normal, the only issue

[sage-devel] Re: Sage sandpiles package

2009-07-31 Thread Dr. David Kirkby
Marshall Hampton wrote: I am trying to make an spkg for 4ti2, but I am having trouble getting it to recognize GMP. I'm sure many people on this list are more qualified than I am to figure that out. t4i2 requires the linear programming package glpk, which I think I did succeed in making an

[sage-devel] Re: Sage sandpiles package

2009-07-31 Thread Dr. David Kirkby
Dr. David Kirkby wrote: Marshall Hampton wrote: I am trying to make an spkg for 4ti2, but I am having trouble getting it to recognize GMP. I'm sure many people on this list are more qualified than I am to figure that out. t4i2 requires the linear programming package glpk, which I think I

[sage-devel] Re: problem with docstring formatting in pyx file

2009-07-31 Thread Carlo Hamalainen
Hi everyone, The problem was exactly as predicted - missing newlines and using single colons. Thanks! -- Carlo Hamalainen http://carlo-hamalainen.net --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from

[sage-devel] Re: Sage 4.1 installation on ubuntu 8.04 failed

2009-07-31 Thread William Stein
On Fri, Jul 31, 2009 at 6:50 AM, wom wo.mac...@gmail.com wrote: Dear sage-devel team, I have tried to install sage4.1 on ubuntu 8.04 by following the steps described in the readme file, i.e. I downloaded the source code from the Berlin server, unzipped it to the subdirectory sage/sage-4.1

[sage-devel] Re: Sage organizational structure, AWOL people

2009-07-31 Thread William Stein
On Fri, Jul 31, 2009 at 8:59 AM, slabbe sla...@gmail.com wrote: Well, I think that if, someday, you know you want to go AWOL for a while, you should think about it a long time before. Something like a year before. You should make sure that all the knowledge you have (right access to all the

[sage-devel] Re: Sage 4.1 installation on ubuntu 8.04 failed

2009-07-31 Thread pang
On Jul 31, 3:50 pm, wom wo.mac...@gmail.com wrote: Is there an easy way to install sage 4.1 on ubuntu 9.04? Bruce Cohen told me recently [1] in sage-support that the debian lenny version works fine in ubuntu hardy. It works for me too! [1]

[sage-devel] Re: Sage sandpiles package, 4ti2, glpk packages

2009-07-31 Thread Marshall Hampton
I agree, that doesn't sound good. At the moment, I just want to check out the sandpile functionality, so I don't think I will wade in and try to improve glpk, or bug the author to do so. On the positive side, I think I now have packages that install correctly, at least on my own mac. They are

[sage-devel] Re: Sage sandpiles package, 4ti2, glpk packages

2009-07-31 Thread Dr. David Kirkby
Marshall Hampton wrote: I agree, that doesn't sound good. At the moment, I just want to check out the sandpile functionality, so I don't think I will wade in and try to improve glpk, or bug the author to do so. On the positive side, I think I now have packages that install correctly, at

[sage-devel] Re: Sage sandpiles package, 4ti2, glpk packages

2009-07-31 Thread William Stein
On Fri, Jul 31, 2009 at 2:04 PM, Dr. David Kirkby david.kir...@onetel.netwrote: Marshall Hampton wrote: I agree, that doesn't sound good. At the moment, I just want to check out the sandpile functionality, so I don't think I will wade in and try to improve glpk, or bug the author to do

[sage-devel] Re: Error in Graph.chromatic_number() and Graph.coloring()

2009-07-31 Thread Craig Citro
There is such a search right here:    http://groups..google.com/group/sage-devel http://groups.google.com/group/sage-devel Yes.  I meant I love that Sage has a google search.  I wish the nauty list had a google search, but I can't seem to find any search for their archives at all!

[sage-devel] Re: Sage sandpiles package, 4ti2, glpk packages

2009-07-31 Thread Marshall Hampton
I'm not disagreeing, I just don't know how to quickly change that. If someone can give me some tips I will at least patch the spkgs. -Marshall On Jul 31, 4:21 pm, William Stein wst...@gmail.com wrote: On Fri, Jul 31, 2009 at 2:04 PM, Dr. David Kirkby david.kir...@onetel.netwrote:

[sage-devel] Re: Sage sandpiles package, 4ti2, glpk packages

2009-07-31 Thread Willem Jan Palenstijn
On Fri, Jul 31, 2009 at 01:18:58PM -0700, Marshall Hampton wrote: I agree, that doesn't sound good. At the moment, I just want to check out the sandpile functionality, so I don't think I will wade in and try to improve glpk, or bug the author to do so. On the positive side, I think I now

[sage-devel] Re: Sage sandpiles package, 4ti2, glpk packages

2009-07-31 Thread Dr. David Kirkby
Marshall Hampton wrote: I'm not disagreeing, I just don't know how to quickly change that. If someone can give me some tips I will at least patch the spkgs. -Marshall There may be no quick fix, though the code did not look very large, so I doubt it would be a huge job to do it properly.

[sage-devel] Re: Sage sandpiles package, 4ti2, glpk packages

2009-07-31 Thread Marshall Hampton
Thanks for pointing that out. I am somewhat disturbed by the positive review for that becoming a standard package, which seems inconsistent with previous policy. In #6663 I am merely suggesting 4ti2 and glpk as experimental packages, with the idea of transitioning them to optional, and then

[sage-devel] Re: Sage sandpiles package, 4ti2, glpk packages

2009-07-31 Thread David Joyner
On Fri, Jul 31, 2009 at 7:10 PM, Marshall Hamptonhampto...@gmail.com wrote: Thanks for pointing that out.  I am somewhat disturbed by the positive review for that becoming a standard package, which seems inconsistent I don't know where you got that. I was the reviewer and I clearly said

[sage-devel] Re: Sage 4.1.1.rc0 released

2009-07-31 Thread Minh Nguyen
Hi Georg, On Thu, Jul 30, 2009 at 9:35 PM, gswgeorgswe...@googlemail.com wrote: SNIP sage -t -long devel/sage/sage/modules/vector_real_double_dense.pyx ** File /home/mvngu/usr/bin/sage/devel/sage-main/sage/modules/

[sage-devel] Re: Sage sandpiles package, 4ti2, glpk packages

2009-07-31 Thread Marshall Hampton
I got from Minh's comment: Once #6502 gets positive review, this SPKG could then be merged in the Sage standard packages repository. -Marshall On Jul 31, 6:20 pm, David Joyner wdjoy...@gmail.com wrote: On Fri, Jul 31, 2009 at 7:10 PM, Marshall Hamptonhampto...@gmail.com wrote: Thanks for

[sage-devel] Re: Sage 4.1.1.rc0 released

2009-07-31 Thread Marshall Hampton
On an intel mac running 10.4.11 I get: The following tests failed: sage -t devel/sage/sage/parallel/decorate.py sage -t devel/sage/sage/symbolic/expression.pyx Total time for all tests: 5865.0 seconds I assume these are known problems. -Marshall On Jul 29, 10:14 pm, Minh

[sage-devel] Re: Sage sandpiles package, 4ti2, glpk packages

2009-07-31 Thread Minh Nguyen
Hi Marshall, On Sat, Aug 1, 2009 at 9:32 AM, Marshall Hamptonhampto...@gmail.com wrote: I got from Minh's comment: Once #6502 gets positive review, this SPKG could then be merged in the Sage standard packages repository. That was a typo on my part. It should be optional instead of

[sage-devel] Re: Sage 4.1.1.rc0 released

2009-07-31 Thread Minh Nguyen
Hi Marshall, On Sat, Aug 1, 2009 at 9:35 AM, Marshall Hamptonhampto...@gmail.com wrote: On an intel mac running 10.4.11 I get: The following tests failed: sage -t devel/sage/sage/parallel/decorate.py sage -t devel/sage/sage/symbolic/expression.pyx Total time for all

[sage-devel] Re: Sage sandpiles package, 4ti2 and glpk spkgs

2009-07-31 Thread David Joyner
Thanks for trying this Marshall. Unfortunately, your spkg, and the older experimental spkg, for 4ti2, both fail to install on my amd64 ubuntu 9.04 machine. I have N Cohen's version of the glpk spkg installed. On Fri, Jul 31, 2009 at 12:18 PM, Marshall Hamptonhampto...@gmail.com wrote: OK,

[sage-devel] Re: Sage sandpiles package, 4ti2 and glpk spkgs

2009-07-31 Thread Marshall Hampton
Can you put the source of the failure up at http://trac.sagemath.org/sage_trac/ticket/6663? Thanks for trying it out! Marshall On Jul 31, 7:06 pm, David Joyner wdjoy...@gmail.com wrote: Thanks for trying this Marshall. Unfortunately, your spkg, and the older experimental spkg, for 4ti2,

[sage-devel] reviews for symbolics bug fixes

2009-07-31 Thread Burcin Erocal
Hi, I just uploaded a new pynac package and patches which fix #6404 conjugate typesetting #6401 typesetting real and imag #6243 fderivative hash collision #6377 exp evaluation at infinity on trac. The package is here: http://sage.math.washington.edu/home/burcin/pynac/pynac-0.1.8.p2.spkg It

[sage-devel] Re: reviews for symbolics bug fixes

2009-07-31 Thread Minh Nguyen
On Sat, Aug 1, 2009 at 12:54 PM, Burcin Erocalbur...@erocal.org wrote: Hi, I just uploaded a new pynac package and patches which fix #6404 conjugate typesetting #6401 typesetting real and imag #6243 fderivative hash collision #6377 exp evaluation at infinity on trac. The package is

[sage-devel] Re: Sage sandpiles package, 4ti2 and glpk spkgs

2009-07-31 Thread David Joyner
On Fri, Jul 31, 2009 at 8:26 PM, Marshall Hamptonhampto...@gmail.com wrote: Can you put the source of the failure up at http://trac.sagemath.org/sage_trac/ticket/6663? This failure I had was fake! Here's what I did. I first tried the evil experimental 4ti2*.spkg. That deleted N Cohen's good

[sage-devel] Re: Sage organizational structure, AWOL people

2009-07-31 Thread Jason Grout
William Stein wrote: So, dear William Stein, how much do you know that nobody else know?! The only thing I can think of along these lines is the login credentials for GoDaddy.com, from whom I rent the sagemath.org http://sagemath.org and sagenb.org http://sagenb.org domain names.