Re: [sage-devel] Re: paralizing algorithms

2010-11-09 Thread R. Andrew Ohana
Well, I'm a couple days late to the conversation, but a couple comments: If Nathan doesn't have a background knowledge in math, then I think prime counting/enumeration are very good projects, especially if he wants to look at parallizable algorithms. The current prime_pi in sage was my first real

[sage-devel] Error compiling sage-4.6

2010-11-09 Thread Stan Schymanski
Dear all, When trying to compile sage-4.6 on my Macbook Pro with OS X 10.6.4, I got a lot of warnings culminating in the following error: "... mmm.c: In function 'mmm_hashtable_hashtable_': mmm.c:91: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed so

[sage-devel] Easy review - updated top-level README.txt

2010-11-09 Thread Dr. David Kirkby
Here's an updated README.txt, http://trac.sagemath.org/sage_trac/ticket/10243 which removes the lists of supported platforms, and replaces it by a note to look at the current list. http://wiki.sagemath.org/SupportedPlatforms It should be fairly easy to review. Dave -- To post to this grou

Re: [sage-devel] Why do we use MoinMoin for wiki rather than trac

2010-11-09 Thread William Stein
On Mon, Nov 8, 2010 at 3:04 PM, David Kirkby wrote: > I'm just wondering why we use MoinMoin for the Wiki, when there is a > Wiki for Trac. I assume the integration of the two would be much > better if we used the Trac Wiki. (1) We started using moinmoin wiki year(s) before we used trac. (2) Moi

[sage-devel] Re: spreadsheet in Sage -- or Sage calculations in a spreadsheet?

2010-11-09 Thread mhampton
I agree with Dan, it would be fantastic to have a spreadsheet that accepted sage code into cells. I can use excel to some extent, but I don't like it. Importing just doesn't cut it. -Marshall On Nov 9, 4:54 pm, "Dr. David Kirkby" wrote: > On 11/ 9/10 10:41 PM, Dan Drake wrote: > > > > >http://

Re: [sage-devel] spreadsheet in Sage -- or Sage calculations in a spreadsheet?

2010-11-09 Thread David Joyner
Thanks for this link. Personally, I would really like to see this in Sage. I'm not sure if pyspread is mature enough yet though... On Tue, Nov 9, 2010 at 5:41 PM, Dan Drake wrote: > http://pyspread.sourceforge.net/ > > It's a spreadsheet written in Python. Your cell formulas are just Python > ex

Re: [sage-devel] Re: AdditiveAbelianGroup, Python question: figuring out which methods are being called

2010-11-09 Thread Justin C. Walker
On Nov 9, 2010, at 13:21 , John H Palmieri wrote: > On Nov 9, 11:17 am, "Justin C. Walker" wrote: >> On Nov 9, 2010, at 10:37 , John H Palmieri wrote: >> >>> I'm trying to understand what's going on in #9940: >> >>> sage: AdditiveAbelianGroup([0,0]) == AdditiveAbelianGroup([0,0]) >>> True >>

Re: [sage-devel] spreadsheet in Sage -- or Sage calculations in a spreadsheet?

2010-11-09 Thread Dr. David Kirkby
On 11/ 9/10 10:41 PM, Dan Drake wrote: http://pyspread.sourceforge.net/ It's a spreadsheet written in Python. Your cell formulas are just Python expressions. You can import modules and so on. Looks interesting...I wonder if having Sage available in a spreadsheet would be useful. (One thing I re

[sage-devel] spreadsheet in Sage -- or Sage calculations in a spreadsheet?

2010-11-09 Thread Dan Drake
http://pyspread.sourceforge.net/ It's a spreadsheet written in Python. Your cell formulas are just Python expressions. You can import modules and so on. Looks interesting...I wonder if having Sage available in a spreadsheet would be useful. (One thing I really dislike about spreadsheets is lookin

Re: [sage-devel] Re: Who / where has a "grep -q" been added?

2010-11-09 Thread Dr. David Kirkby
On 11/ 9/10 08:14 PM, John H Palmieri wrote: On Nov 9, 11:00 am, "Dr. David Kirkby" wrote: Now on Solaris systems I am seeing: drkir...@hawk:~/64/sage-4.6.1.alpha0$ make spkg/pipestatus "cd spkg&& ./install all 2>&1" "tee -a ../install.log" grep: illegal option -- q Usage: grep -hblcnsviw patt

Re: [sage-devel] Re: Who / where has a "grep -q" been added?

2010-11-09 Thread Dr. David Kirkby
On 11/ 9/10 08:14 PM, John H Palmieri wrote: On Nov 9, 11:00 am, "Dr. David Kirkby" wrote: Now on Solaris systems I am seeing: drkir...@hawk:~/64/sage-4.6.1.alpha0$ make spkg/pipestatus "cd spkg&& ./install all 2>&1" "tee -a ../install.log" grep: illegal option -- q Usage: grep -hblcnsviw patt

[sage-devel] Re: AdditiveAbelianGroup, Python question: figuring out which methods are being called

2010-11-09 Thread John H Palmieri
On Nov 9, 11:17 am, "Justin C. Walker" wrote: > On Nov 9, 2010, at 10:37 , John H Palmieri wrote: > > > I'm trying to understand what's going on in #9940: > > >  sage: AdditiveAbelianGroup([0,0]) == AdditiveAbelianGroup([0,0]) > >  True > >  sage: AdditiveAbelianGroup([0,0]) != AdditiveAbelianGrou

[sage-devel] Re: interacts from the wiki in the library

2010-11-09 Thread Jason Grout
On 11/9/10 2:24 PM, William Stein wrote: Your two options are sort of orthogonal. Personally I think we should have: (a) a library of high quality stable tested working interacts that are included in the Sage library, (b) many interacts that are of varying quality that users post somewh

Re: [sage-devel] Re: interacts from the wiki in the library

2010-11-09 Thread William Stein
On Tue, Nov 9, 2010 at 12:05 PM, Jason Grout wrote: > On 11/9/10 1:14 PM, Pablo Angulo wrote: >> >>   I see there are some trac tickets for moving interacts from the wiki >> into the Sage library (at least 9623, ). However, none of them have unit >> tests. I though that automated checking of the c

[sage-devel] Re: Who / where has a "grep -q" been added?

2010-11-09 Thread John H Palmieri
On Nov 9, 11:00 am, "Dr. David Kirkby" wrote: > Now on Solaris systems I am seeing: > > drkir...@hawk:~/64/sage-4.6.1.alpha0$ make > spkg/pipestatus "cd spkg && ./install all 2>&1" "tee -a ../install.log" > grep: illegal option -- q > Usage: grep -hblcnsviw pattern file . . > > This is a new bug.

Re: [sage-devel] interacts from the wiki in the library

2010-11-09 Thread William Stein
On Tue, Nov 9, 2010 at 11:14 AM, Pablo Angulo wrote: >  I see there are some trac tickets for moving interacts from the wiki > into the Sage library (at least 9623, ). However, none of them have unit > tests. I though that automated checking of the code was the main reason > for moving the interac

[sage-devel] Re: interacts from the wiki in the library

2010-11-09 Thread Jason Grout
On 11/9/10 1:14 PM, Pablo Angulo wrote: I see there are some trac tickets for moving interacts from the wiki into the Sage library (at least 9623, ). However, none of them have unit tests. I though that automated checking of the code was the main reason for moving the interacts into the librar

Re: [sage-devel] AdditiveAbelianGroup, Python question: figuring out which methods are being called

2010-11-09 Thread Justin C. Walker
On Nov 9, 2010, at 10:37 , John H Palmieri wrote: > I'm trying to understand what's going on in #9940: > > sage: AdditiveAbelianGroup([0,0]) == AdditiveAbelianGroup([0,0]) > True > sage: AdditiveAbelianGroup([0,0]) != AdditiveAbelianGroup([0,0]) > True > > I think equality testing works fin

[sage-devel] interacts from the wiki in the library

2010-11-09 Thread Pablo Angulo
I see there are some trac tickets for moving interacts from the wiki into the Sage library (at least 9623, ). However, none of them have unit tests. I though that automated checking of the code was the main reason for moving the interacts into the library. Availability is fine, sure, but that cou

[sage-devel] Who / where has a "grep -q" been added?

2010-11-09 Thread Dr. David Kirkby
Now on Solaris systems I am seeing: drkir...@hawk:~/64/sage-4.6.1.alpha0$ make spkg/pipestatus "cd spkg && ./install all 2>&1" "tee -a ../install.log" grep: illegal option -- q Usage: grep -hblcnsviw pattern file . . This is a new bug. I'm well aware -q is a POSIX option to grep, but the defaul

[sage-devel] AdditiveAbelianGroup, Python question: figuring out which methods are being called

2010-11-09 Thread John H Palmieri
I'm trying to understand what's going on in #9940: sage: AdditiveAbelianGroup([0,0]) == AdditiveAbelianGroup([0,0]) True sage: AdditiveAbelianGroup([0,0]) != AdditiveAbelianGroup([0,0]) True I think equality testing works fine, but inequality testing doesn't. To track this down, I'd like

[sage-devel] Re: Complex numerical integration

2010-11-09 Thread rjf
No, it doesn't make sense because, in general, separating the real and the imaginary parts, symbolically -- 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 thi

[sage-devel] Re: Complex numerical integration

2010-11-09 Thread rjf
oops... if what you are doing is separating the real and imaginary parts symbolically, then it will not always work at the boundaries of numerical evaluation. Consider that you may think that expression xyz is non-negative and thus sqrt(xyz) is real. But numerical evaluation makes xyz very ver

[sage-devel] SAGE in the news

2010-11-09 Thread Jan Groenewald
Africa Analysis: The benefits of open source software Linda Nordling 5 November 2010 Africa should embrace open source scientific software, cutting costs and boosting IT skills across the continent, argues Linda Nordling. http://www.scidev.net/en/opinions/africa-analysis-the-benefits-of-open-sour

Re: [sage-devel] New buildbot steps

2010-11-09 Thread David Kirkby
On 9 November 2010 10:21, Mitesh Patel wrote: > I've added './sage -startuptime', './sage -coverageall', PEP 8 [1,2] > style, and PyFlakes [3] steps to the buildbot's 'sage' builder.  Here's > a report for 4.6.1.alpha0: > > http://build.sagemath.org/sage/builders/sage/builds/94 > > Feel free to ma

[sage-devel] New buildbot steps

2010-11-09 Thread Mitesh Patel
I've added './sage -startuptime', './sage -coverageall', PEP 8 [1,2] style, and PyFlakes [3] steps to the buildbot's 'sage' builder. Here's a report for 4.6.1.alpha0: http://build.sagemath.org/sage/builders/sage/builds/94 Feel free to make suggestions! [1] http://www.python.org/dev/peps/pep-000

Re: [sage-devel] Re: Complex numerical integration

2010-11-09 Thread David Kirkby
On 9 November 2010 08:25, David Kirkby wrote: > IMHO, it would be sensible to make that the default method, which is > what happens in Mathematica's NIntegrate command. You don't need to > specify Nintegrate to return both the real and imaginary parts - it > does that automatically. In this case,

Re: [sage-devel] Re: Complex numerical integration

2010-11-09 Thread David Kirkby
On 14 October 2010 22:40, Oscar Lazo wrote: > > > On Oct 14, 4:54 am, Johan Grönqvist wrote: >> A workaround seems to be to integrate the real and imaginary parts >> separately: >> >> sage: numerical_integral(real(sqrt(sec(x)-1)),pi/2, pi) >> (1.9175999157365625e-16, 5.0010185963949996e-17) >> sa