[sage-devel] Re: Sage 4.3.4.alpha1 successfully builds on SPARC Solaris 10 (t2.math)

2010-03-12 Thread John H Palmieri
On Mar 10, 3:09 pm, Minh Nguyen wrote: > Hi folks, > > Yes, you heard right. Sage 4.3.4.alpha1 now builds on t2.math thanks > to the persistent hard work of David Kirkby. I just tried to build this version of Sage on two of the Skynet machines running Solaris, unsuccessfully, same error (in gnutl

Re: [sage-devel] testing on t2

2010-03-12 Thread Minh Nguyen
Hi Alex, On Sat, Mar 13, 2010 at 10:36 AM, Alex Ghitza wrote: > Building Sage on t2 takes a long time. It would be great to have a > t2.math binary available for each alpha/rc/final release of Sage, which > anyone can just grab and untar and start testing on *right away*. Building Sage on t2

[sage-devel] Re: Mathematica doctest

2010-03-12 Thread Felix Lawrence
On Mar 12, 3:17 pm, Jason Grout wrote: > So the Mathematica *input* syntax is closer to the sage *input* syntax, > while the mathematica full form (i.e., the internal tree of operations) > is closer to the sage tree of operations.  That makes a lot of sense. > For software<->software translation,

[sage-devel] Re: Logistic Curve Fitting in Sage

2010-03-12 Thread ancienthart
Yup, that's what I tried. If you want, I can post the fmin alternative that I used instead. The only issue is, that I had to use python functions for the model equation, rather than a symbolic expression. Joal Heagney On Mar 13, 3:57 am, YannLC wrote: > I guess that's about it: > > sage: data =

[sage-devel] Re: Mathematica doctest

2010-03-12 Thread Felix Lawrence
On Mar 13, 2:41 am, "Dr. David Kirkby" wrote: > Felix Lawrence wrote: > > But I've just noticed that mathematica doesn't seem to be responsible > > for the weird orderings here after all - it seems to be sage itself. > > For example: > > sage: 4+I > > I + 4 > > As Nick wrote some time ago, > >> In

Re: [sage-devel] Including missing files in the documentation of graph theory

2010-03-12 Thread Minh Nguyen
Hi Alex, On Sat, Mar 13, 2010 at 10:56 AM, ablondin wrote: > I can fix it myself, but I would like to have some opinions before > doing so. See my comment at #8513. -- Regards Minh Van Nguyen -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this g

[sage-devel] Including missing files in the documentation of graph theory

2010-03-12 Thread ablondin
Hello, Sage developpers ! I created a ticket to correct some annoying problem about documentation in graph theory http://trac.sagemath.org/sage_trac/ticket/8513 I can fix it myself, but I would like to have some opinions before doing so. The question is, should we just add the reference to these

[sage-devel] testing on t2

2010-03-12 Thread Alex Ghitza
Hi, (This email got a bit long. See EXECUTIVE SUMMARY below for the conclusion.) There's a serious push to get Sage to work on Solaris and to keep it working. This involves testing spkg's and at least lower-level patches on Solaris to make sure nothing gets broken. We need to somehow reconcil

Re: [sage-devel] Re: [sage-combinat-devel] FAQ and Thematic Tutorials for standard documentation

2010-03-12 Thread Minh Nguyen
Hi Nicolas, On Sat, Mar 13, 2010 at 8:51 AM, Nicolas M. Thiery wrote: > For the first one, __init__ import's primer. For the second, I set > the __doc__ entry. Yes, that trick of yours is certainly better than hacking sage/all.py. One problem down, one to go. I still don't know how to put a t

[sage-devel] Re: [sage-combinat-devel] FAQ and Thematic Tutorials for standard documentation

2010-03-12 Thread Nicolas M. Thiery
On Fri, Mar 12, 2010 at 07:38:48PM +1100, Minh Nguyen wrote: > and hit the enter key to read the group theory tutorial from the > command line, or do the same thing from within the notebook interface. > I tried to achieve this, but failed. Here is what happened. To do Thanks for investigating this

[sage-devel] Re: [sage-combinat-devel] Re: FAQ and Thematic Tutorials for standard documentation

2010-03-12 Thread Minh Nguyen
Hi Dan, On Sat, Mar 13, 2010 at 1:57 AM, bump wrote: > probably belongs only to the second tutorial on RSA. But > it is presented as a separate tutorial. That bibliography is not intended to be a tutorial. It is intended to be, well, a central place to collect references mentioned in any tuto

Re: [sage-devel] Re: conjugacy_class(es)_representatives

2010-03-12 Thread Nick Alexander
On 12-Mar-10, at 10:42 AM, Rob Beezer wrote: Hi Dan, The distinction is one group is a matrix group and the other is a permutation group. sage/groups/matrix_gps/matrix_group.py sage/groups/perm_gps/permgroup.py Presumably the method could be moved up the hierarchy a level. Can you make a ti

[sage-devel] GSoC 2010 project idea: adding functionality to PYCA

2010-03-12 Thread Kazuo Thow
It came to my attention a little while ago that Sage is applying to be a Google Summer of Code mentoring organization, and soon after that I discovered PYCA ( http://code.google.com/p/cellular-automata-sage-toolkit/ ), a cellular automaton package written by Iztok Jeras which hasn't seen very many

[sage-devel] Re: conjugacy_class(es)_representatives

2010-03-12 Thread bump
> Presumably the method could be moved up the hierarchy a level.  Can > you make a ticket, or should I add it to my queue? I made a ticket: http://trac.sagemath.org/sage_trac/ticket/8510 > I think I like the singular.  ;-) Me too. Dan -- To post to this group, send an email to sage-devel@goog

Re: [sage-devel] On 4.3.4.1.apha1 all long doctests pass on Solaris 10

2010-03-12 Thread Mike Hansen
Yay! --Mike -- 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://groups.google.com/group/sage-devel URL: http://www.sagemath.org

[sage-devel] Re: conjugacy_class(es)_representatives

2010-03-12 Thread Rob Beezer
Hi Dan, The distinction is one group is a matrix group and the other is a permutation group. sage/groups/matrix_gps/matrix_group.py sage/groups/perm_gps/permgroup.py Presumably the method could be moved up the hierarchy a level. Can you make a ticket, or should I add it to my queue? I think I

[sage-devel] Re: Ilegal 'grep -o' option when installing optional packages.

2010-03-12 Thread John H Palmieri
On Mar 12, 10:01 am, "Dr. David Kirkby" wrote: > I've tried to install all the optional packages on Solaris 10 (SPARC) using > sage-4.3.4.alpha1. > > I keep getting this error message. > > sage: for X in optional_packages()[1]:  install_package(X) > : > Force installing ace-5.0.p0 > Calling sa

[sage-devel] conjugacy_class(es)_representatives

2010-03-12 Thread bump
The group SL(2,3) has a method conjugacy_class_representatives() while the group DiCyclicGroup(3) has a method conjugacy_classes_representatives(). These names are similar but not identical. Presumably one should be changed. Dan -- To post to this group, send an email to sage-devel@googlegroups.

[sage-devel] Ilegal 'grep -o' option when installing optional packages.

2010-03-12 Thread Dr. David Kirkby
I've tried to install all the optional packages on Solaris 10 (SPARC) using sage-4.3.4.alpha1. I keep getting this error message. sage: for X in optional_packages()[1]: install_package(X) : Force installing ace-5.0.p0 Calling sage-spkg on ace-5.0.p0 Warning: Attempted to overwrite SAGE_ROO

[sage-devel] Re: Logistic Curve Fitting in Sage

2010-03-12 Thread YannLC
I guess that's about it: sage: data = [(0,0),(1,0),(2,13),(3,28),(4,48),(5,89),(6,107),(7,168), (8,188),(9,209)] sage: var('K,a,r,t,t0,v') (K, a, r, t, t0, v) sage: model(t) = K/(1 + a*exp(r * (t - t0)))^(1/v) sage: find_fit(data, model) [K == 84.99972210745, a == 126.84970317061706, r == -183

Re: [sage-devel] Re: SAGE in abstract algebra class

2010-03-12 Thread Nick Alexander
On 12-Mar-10, at 6:14 AM, John Cremona wrote: On 12 March 2010 14:01, David Kohel wrote: Hi Nicolas, The list sage-nt was set up to have a lower volume and lower noise forum for sage-devel issues with mathematical (number theoretic) interest. I also don't track sage-combinat for similar rea

Re: [sage-devel] Logistic Curve Fitting in Sage

2010-03-12 Thread Nick Alexander
On 12-Mar-10, at 12:22 AM, Joal Heagney wrote: Hi guys and gals, Currently I'm attempting to fit the following data to the general logistic model: [(0,0),(1,0),(2,13),(3,28),(4,48),(5,89),(6,107),(7,168),(8,188), (9,209)] The form of the logistic curve I am using is: K/(1 + a*exp(r * (t -

Re: [debian-sage] Re: [sage-devel] Re: Debian package...

2010-03-12 Thread Tim Abbott
On Thu, 4 Mar 2010, William Stein wrote: > > We might make a PPA for Ubuntu.  If someone is interested in an easy way to > > install Sage via dpkg, that might be the best option at this point. > > > > I agree that removing sage 3.0.5 (or whatever version it is) from Debian is > > probably best, si

Re: [sage-devel] Re: Mathematica doctest

2010-03-12 Thread Dr. David Kirkby
Felix Lawrence wrote: FullForm looks like a bit of a headache to me - in part one of the examples given, InputForm gives Sqrt[5], whereas FullForm gives Power[5,Rational[-1,2]]. The former is closer to sage's syntax and should be easier to parse (and a basic parser for InputForm already exists,

Re: [sage-devel] Re: SAGE in abstract algebra class

2010-03-12 Thread David Joyner
On Fri, Mar 12, 2010 at 9:14 AM, John Cremona wrote: > On 12 March 2010 14:01, David Kohel wrote: >> Hi Nicolas, >> >> The list sage-nt was set up to have a lower volume and lower noise >> forum >> for sage-devel issues with mathematical (number theoretic) interest. >> >> I also don't track sage-

Re: [sage-devel] Re: SAGE in abstract algebra class

2010-03-12 Thread John Cremona
On 12 March 2010 14:01, David Kohel wrote: > Hi Nicolas, > > The list sage-nt was set up to have a lower volume and lower noise > forum > for sage-devel issues with mathematical (number theoretic) interest. > > I also don't track sage-combinat for similar reasons as John, and > miss > most of what

[sage-devel] Re: SAGE in abstract algebra class

2010-03-12 Thread David Kohel
Hi Nicolas, The list sage-nt was set up to have a lower volume and lower noise forum for sage-devel issues with mathematical (number theoretic) interest. I also don't track sage-combinat for similar reasons as John, and miss most of what passes on sage-devel due to the high volume. Maybe there

Re: [sage-devel] good way to see if a program exists or not from within Sage library code?

2010-03-12 Thread Dan Drake
On Fri, 12 Mar 2010 at 10:39AM +, Dr. David Kirkby wrote: > * John Palmieri has written a library function for Sage, called > "have_program()" which determines if the program exists. It does not > report it's path, as John did not need that information, but only > whether it exists or not. Exc

[sage-devel] On 4.3.4.1.apha1 all long doctests pass on Solaris 10

2010-03-12 Thread Dr. David Kirkby
Yes, not only does 4.3.4.alpha1 build ok on Solaris 10 (SPARC), but it also passes all the doctests, without any patches applied whatsoever. Of course, it still fails the Mathematica test, and perhaps some of other optional packages. But all the standard packages build, and all the standard do

Re: [sage-devel] Sage-4.3.4-alpha1 on OpenSolaris/SPARC

2010-03-12 Thread Dr. David Kirkby
Peter Jeremy wrote: Since Sage now (mostly) works on Solaris, I thought I'd try it on my SB1500 running OpenSolaris with SunStudio. Prerequisites: - Install SUNWgmake and SUNWgtar - ln -s /bin/gmake .../sage-.../local/bin/make - ln -s /bin/gtar .../sage-.../local/bin/tar (bash is already install

[sage-devel] Sage-4.3.4-alpha1 on OpenSolaris/SPARC

2010-03-12 Thread Peter Jeremy
Since Sage now (mostly) works on Solaris, I thought I'd try it on my SB1500 running OpenSolaris with SunStudio. Prerequisites: - Install SUNWgmake and SUNWgtar - ln -s /bin/gmake .../sage-.../local/bin/make - ln -s /bin/gtar .../sage-.../local/bin/tar (bash is already installed as /bin/sh) This m

Re: [sage-devel] good way to see if a program exists or not from within Sage library code?

2010-03-12 Thread Dr. David Kirkby
Mike Hansen wrote: On Fri, Mar 12, 2010 at 12:09 AM, Dan Drake wrote: I'm looking over #8486 and the patch there tests to see if the xelatex program is available with os.system('which xelatex >/dev/null') See http://trac.sagemath.org/sage_trac/ticket/8474 which was just merged :-) --Mike

[sage-devel] Re: New sageexample environment for sagetex

2010-03-12 Thread Nicolas M. Thiery
Hi Dan, On Thu, Mar 11, 2010 at 08:42:59PM +0900, Dan Drake wrote: > I briefly looked at what you did, and it looks nice. :-) > I'll integrate this into SageTeX, polish it up, and get a spkg > prepared as soon as I can. Great, thanks! > > Maybe the most important for us would be to get

Re: [sage-devel] Re: Lie Methods and Related Combinatorics

2010-03-12 Thread Minh Nguyen
Hi Dima, On Sun, Mar 7, 2010 at 4:11 AM, Dima Pasechnik wrote: > Minh, > > I wonder how one can contribute changes/patches to files in sage/doc/ > en/constructions I think you could just create a patch, like the way you do when you create a patch for a new module in the Sage library. > It's al

[sage-devel] FAQ and Thematic Tutorials for standard documentation

2010-03-12 Thread Minh Nguyen
Hi folks, I thought I should provide an update about my proposal [1] to include the following in the Sage standard documentation: * FAQ * Python Functional Programming for Mathematicians * Sage and Coding Theory * Sage and Cython: A Brief Introduction * Linear Programming in Sage * Group The

[sage-devel] Logistic Curve Fitting in Sage

2010-03-12 Thread Joal Heagney
Hi guys and gals, Currently I'm attempting to fit the following data to the general logistic model: [(0,0),(1,0),(2,13),(3,28),(4,48),(5,89),(6,107),(7,168),(8,188),(9,209)] The form of the logistic curve I am using is: K/(1 + a*exp(r * (t - t0)))^(1/v) with K,a,r,t0 and v being parameters, t t

Re: [sage-devel] good way to see if a program exists or not from within Sage library code?

2010-03-12 Thread Mike Hansen
On Fri, Mar 12, 2010 at 12:09 AM, Dan Drake wrote: > I'm looking over #8486 and the patch there tests to see if the xelatex > program is available with > >    os.system('which xelatex >/dev/null') See http://trac.sagemath.org/sage_trac/ticket/8474 which was just merged :-) --Mike -- To post to

[sage-devel] good way to see if a program exists or not from within Sage library code?

2010-03-12 Thread Dan Drake
Hello all, I'm looking over #8486 and the patch there tests to see if the xelatex program is available with os.system('which xelatex >/dev/null') Now, the Python documentation says one should use the subprocess module instead of os.system [1], and also I recall that apparently the "which" co