[sage-devel] Re: request for testing: flint-1.0.spkg

2007-12-07 Thread Bill Hart
Ah I just found another problem. Although c99 requires stdint.h to define these things, I am including sys/types.h which is not the accredited cross platform solution. I apparently consulted a dodgy document on the web which gets this wrong. On many systems sys/types.h #includes stdint.h, but appa

[sage-devel] Re: request for testing: flint-1.0.spkg

2007-12-07 Thread Bill Hart
On 7 Dec, 04:30, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > On Dec 7, 12:02 am, Bill Hart <[EMAIL PROTECTED]> wrote: > > > You hopefully mean uint64_t, not u_int64_t. There should be no > > occurrences of u_int64_t left in FLINT. If that's not the case, please > > let me know. > > [EMAIL

[sage-devel] Re: request for testing: flint-1.0.spkg

2007-12-07 Thread mabshoff
On Dec 7, 10:21 am, Bill Hart <[EMAIL PROTECTED]> wrote: Bill, > Michael, if you want to fix the bug in the code you have in SAGE > without getting the new tarball tonight, simply replace the 64 with > FLINT_BITS on line 291 of fmpz_poly-test.c I will do that and see if the tests pass. > > I'v

[sage-devel] PDE toolbox

2007-12-07 Thread Ondrej Certik
Hi, On Dec 7, 2007 6:50 AM, Joshua Kantor <[EMAIL PROTECTED]> wrote: > > I would be interested in helping with a PDE toolbox. I didn't want to > work on it alone as I'm pretty sure I'd make some stupid design > choices. It would be nice to start some work on PDE functionality in > SAGE. I would

[sage-devel] Re: request for testing: flint-1.0.spkg

2007-12-07 Thread Bill Hart
Michael, if you want to fix the bug in the code you have in SAGE without getting the new tarball tonight, simply replace the 64 with FLINT_BITS on line 291 of fmpz_poly-test.c I've checked that this bug is not a problem elsewhere in that file. Also you'll want to replace those handful of u_int64

[sage-devel] Re: having authors names in .py files

2007-12-07 Thread Martin Albrecht
Also, I would add that these names are usually poorly maintained (at least for Sage) partly due to "the awkward question of how much work one must do to get one's own name listed there". Martin -- name: Martin Albrecht _pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99 _www:

[sage-devel] having authors names in .py files

2007-12-07 Thread Ondrej Certik
Hi, currrently *.py files in SAGE usually contain names who wrote them. The famous Karl Fogel's Producing Open Source Software discourages that: http://producingoss.com/en/managing-volunteers.html#territoriality mainly: People sometimes argue in favor of author or maintainer tags in source fi

[sage-devel] Re: having authors names in .py files

2007-12-07 Thread Ondrej Certik
On Dec 7, 2007 1:32 PM, David Joyner <[EMAIL PROTECTED]> wrote: > > I am certainly happy to share credit with anyone on any file I work on. > IMHO, anyone who does anything non-trivial has the write to put their > name on a xyz.py file, at least if they are happy to cede their copyright to > Willi

[sage-devel] quo_rem, __floordiv__, and polynomials

2007-12-07 Thread Joel B. Mohler
Hi, Here's a couple of questions that have occurred to me as I tried to make fraction fields of mpolynomials tolerable to work with. 1) In the "reduce" method in the file fraction_field_element.py (line 72), we call quo_rem to divide the gcd out of the numerator and denominator. Now, by def

[sage-devel] Re: quo_rem, __floordiv__, and polynomials

2007-12-07 Thread David Harvey
On Dec 7, 2007, at 10:45 AM, Nick Alexander wrote: > >> If the divisor is monic, then everything is okay, but if the divisor >> is not monic, it's not clear what the remainder should be. I took the >> agnostic option for the moment. > > Why not make it agree with Magma's multivariate definition

[sage-devel] Re: PDE toolbox

2007-12-07 Thread Tim Lahey
On Dec 7, 2007, at 4:26 AM, Ondrej Certik wrote: > > Hi, > > On Dec 7, 2007 6:50 AM, Joshua Kantor <[EMAIL PROTECTED]> wrote: >> >> I would be interested in helping with a PDE toolbox. I didn't want to >> work on it alone as I'm pretty sure I'd make some stupid design >> choices. It would be nic

[sage-devel] Re: request for testing: flint-1.0.spkg

2007-12-07 Thread Bill Hart
Sounds sensible. I'll get to work on making that new tarball as soon as I get back from Real Job TM. In the meantime it would be great to hear if changing the u_int64_t's to uint64_t's and changing the #includes actually fixes it so it compiles out of the box on SPARC32. I think it probably shou

[sage-devel] Re: request for testing: flint-1.0.spkg

2007-12-07 Thread Bill Hart
On Dec 7, 3:07 am, Carl Witty <[EMAIL PROTECTED]> wrote: > On my 32-bit x86 Debian testing Linux box, looking at install.log, one > test failed: > Testing _fmpz_poly_max_bits1()... FAIL! > (All other FLINT tests passed. The build is still running, so I don't > know whether Sage doctests will p

[sage-devel] Re: request for testing: flint-1.0.spkg

2007-12-07 Thread mabshoff
On Dec 7, 10:41 am, Bill Hart <[EMAIL PROTECTED]> wrote: > Sounds sensible. I'll get to work on making that new tarball as soon > as I get back from Real Job TM. > :) > In the meantime it would be great to hear if changing the u_int64_t's > to uint64_t's and changing the #includes actually fix

[sage-devel] Re: quo_rem, __floordiv__, and polynomials

2007-12-07 Thread David Harvey
On Dec 7, 2007, at 8:48 AM, Joel B. Mohler wrote: > > Hi, > > Here's a couple of questions that have occurred to me as I tried to > make > fraction fields of mpolynomials tolerable to work with. > > 1) In the "reduce" method in the file fraction_field_element.py > (line 72), we > call quo_re

[sage-devel] Re: quo_rem, __floordiv__, and polynomials

2007-12-07 Thread Nick Alexander
> If the divisor is monic, then everything is okay, but if the divisor > is not monic, it's not clear what the remainder should be. I took the > agnostic option for the moment. Why not make it agree with Magma's multivariate definition (used in their Euclidean ring Groebner basis calculations)?

[sage-devel] Re: matlab / toolbox replacements?

2007-12-07 Thread Tim Lahey
On Dec 7, 2007, at 1:15 AM, Fernando Perez wrote: > > You might want to have a look at the scipy sandbox. There's both a > multigrid and a spline package in there, in need of love and care. In > addition, the scipy.interpolate package (not in the sandbox, but in > the mainline) has had a FITPA

[sage-devel] Re: request for testing: flint-1.0.spkg

2007-12-07 Thread mabshoff
On Dec 7, 10:08 am, Bill Hart <[EMAIL PROTECTED]> wrote: > On Dec 7, 3:07 am, Carl Witty <[EMAIL PROTECTED]> wrote: Bill, I will write that test program you asked for in the next couple hours. The sparc box is 64 bit, I am just compiling in 32 bit mode. If I find some time I will build in 64 b

[sage-devel] Re: request for testing: flint-1.0.spkg

2007-12-07 Thread Bill Hart
Ouch, the problem is solved. In fact this test will fail on *all* 32 bit machines. There is a really silly bug in the test code itself. The function it tests is most likely fine. So this is definitely a bug. I will issue FLINT 1.01 this evening, fixing this and the other problems we've noted. Th

[sage-devel] Re: request for testing: flint-1.0.spkg

2007-12-07 Thread Bill Hart
On 7 Dec, 03:07, Carl Witty <[EMAIL PROTECTED]> wrote: > On my 64-bit x86 Debian testing Linux box, running a prerelease of gcc > 4.3, compilation failed, because gcc 4.3 in "-std=c99" mode switches > to the standard meaning of inline, instead of the traditional gcc > meaning. I've posted a com

[sage-devel] Re: having authors names in .py files

2007-12-07 Thread David Joyner
On Dec 7, 2007 9:50 AM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > > On Dec 7, 2007 1:32 PM, David Joyner <[EMAIL PROTECTED]> wrote: > > > > I am certainly happy to share credit with anyone on any file I work on. > > IMHO, anyone who does anything non-trivial has the write to put their > > name on

[sage-devel] Scientific calculator in the notebook

2007-12-07 Thread Ted Kosan
I have been working on ways to make SAGE as easy to use as possible for beginners because I am interested in encouraging high school students to use SAGE. The approach I have been working on recently is to embed a scientific calculator into the notebook that SAGE newbies should be able to start u

[sage-devel] Re: having authors names in .py files

2007-12-07 Thread David Joyner
I am certainly happy to share credit with anyone on any file I work on. IMHO, anyone who does anything non-trivial has the write to put their name on a xyz.py file, at least if they are happy to cede their copyright to William Stein. In fact, for licensing issues, I would think it is useful to kno

[sage-devel] Re: Scientific calculator in the notebook

2007-12-07 Thread boothby
On Fri, 7 Dec 2007, Ted Kosan wrote: > > I have been working on ways to make SAGE as easy to use as possible > for beginners because I am interested in encouraging high school > students to use SAGE. The approach I have been working on recently is > to embed a scientific calculator into the

[sage-devel] Re: Fwd: SAGE in University Week

2007-12-07 Thread Georg Muntingh
It made it to the front page of Google News, via ScienceDaily! http://www.sciencedaily.com/releases/2007/12/071206145213.htm On Dec 6, 7:40 am, "William Stein" <[EMAIL PROTECTED]> wrote: > Hi, > > The local university magazine has a store about Sage at > >http://uwnews.org/uweek/uweekarticle

[sage-devel] Re: having authors names in .py files

2007-12-07 Thread Robert Miller
> > > Again I strongly disagree with removing all the AUTHOR: blocks from > > > the Sage docstrings. The following is from the GPL v3: """ ... Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that mate

[sage-devel] Re: Let's involve SAGE in the Google Highly Open Participation Contest

2007-12-07 Thread Ted Kosan
Timothy wrote: > Just 8/9 minutes after sending my letter to Python GHOP two mentors > wrote back that they would love to have Sage tickets. In fact Titus > Brown says he has heard good things about Sage. > > http://groups.google.com/group/ghop-python/browse_thread/thread/247ff27b799d4c39 Wow, t

[sage-devel] Re: Let's involve SAGE in the Google Highly Open Participation Contest

2007-12-07 Thread Timothy Clemans
Just 8/9 minutes after sending my letter to Python GHOP two mentors wrote back that they would love to have Sage tickets. In fact Titus Brown says he has heard good things about Sage. http://groups.google.com/group/ghop-python/browse_thread/thread/247ff27b799d4c39 On Dec 6, 5:05 pm, "Ondrej Cert

[sage-devel] Re: Please review letter to Python GHOP

2007-12-07 Thread Timothy Clemans
Thank you Jason, David, and Ted for your reviews. I made all the changes and sent the letter to the Python GHOP group. -- Dear Python's Project for the Google Highly Open Participation group, I am a 17 year old home sch

[sage-devel] Please review letter to Python GHOP

2007-12-07 Thread Timothy Clemans
Hi everyone, I have spent about 11 hours working on a letter to the Project, Google Highly Open Participation group to get Sage involved in that contest. William and Ondrej were very helpful and reviewed several drafts. Please review, ask questions and give comments? Thank you! -

[sage-devel] Re: Scientific calculator in the notebook

2007-12-07 Thread Ted Kosan
Carl wrote: > If the applet uses java.net.HTTPUrlConnection to talk to the server > from Java, it doesn't have to log in separately... the cookies from > the browser's login are automatically used by the Java > communications. At least, it works for me, and this document > indicates that it shou

[sage-devel] a short Sage blog post at "Commence the Awesome"

2007-12-07 Thread William Stein
Hi, See http://davestation.wordpress.com/2007/12/05/sage-math-software/ for a short Sage-related blog post by somebody.. -- William -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~-~--~~~---~--~~ To po

[sage-devel] Re: Scientific calculator in the notebook

2007-12-07 Thread Carl Witty
On Dec 7, 12:46 pm, "Ted Kosan" <[EMAIL PROTECTED]> wrote: > William wrote: > > By the way, do you have any thoughts about technical communication > > issues with the server when using Java versus using Javascript to > > implement the scientific calculator. I think Ted's calculator client > > is

[sage-devel] Re: Scientific calculator in the notebook

2007-12-07 Thread Jason Grout
Ted Kosan wrote: > Nils wrote: > >> Scientific calculator programs already abound. > > What I like about a SAGE-based calculator is that it can be advertised > as being among the most powerful scientific calculators in the world. > People can be told that this calculator is like the wardrobe in

[sage-devel] Re: Sage/Digg

2007-12-07 Thread Timothy Clemans
Did you see the Wired Science blog post? http://blog.wired.com/monkeybites/2007/12/math-geek-softw.html On Dec 7, 11:39 am, "William Stein" <[EMAIL PROTECTED]> wrote: > On Dec 7, 2007 11:29 AM, Alfredo Portes <[EMAIL PROTECTED]> wrote: > > > Hi William, > > > I saw your post about the Digg submis

[sage-devel] Re: request for testing: flint-1.0.spkg

2007-12-07 Thread Bill Hart
OK, flint-1.0.1 is available now at http://www.flintlib.org/ With any luck this fixes all the issues we've found. The only changes are the bug fixes and some corrections and omissions for the manual. Bill. On 7 Dec, 16:29, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > On Dec 7, 10:41 am, B

[sage-devel] Re: more SAGE publicity :-)

2007-12-07 Thread David Joyner
On Dec 7, 2007 4:02 PM, William Stein <[EMAIL PROTECTED]> wrote: > > On Dec 7, 2007 12:58 PM, John Cremona <[EMAIL PROTECTED]> wrote: > > > > > > On 07/12/2007, William Stein <[EMAIL PROTECTED]> wrote: > > > > > > On Dec 7, 2007 11:29 AM, Iftikhar Burhanuddin <[EMAIL PROTECTED]> wrote: > > > > > >

[sage-devel] Re: Scientific calculator in the notebook

2007-12-07 Thread Ted Kosan
Jason wrote: > It looks like you're using the trick of asking Sage to evaluate some > text using cell id -1. This is a hack right now, as cell ids are > supposed to be nonnegative numbers. Currently, though, the output > directories are created and the right .py file is created and sent to > SA

[sage-devel] Re: more SAGE publicity :-)

2007-12-07 Thread William Stein
On Dec 7, 2007 12:58 PM, John Cremona <[EMAIL PROTECTED]> wrote: > > > On 07/12/2007, William Stein <[EMAIL PROTECTED]> wrote: > > > > On Dec 7, 2007 11:29 AM, Iftikhar Burhanuddin <[EMAIL PROTECTED]> wrote: > > > > > > On Fri, 7 Dec 2007, Yi Qiang wrote: > > > > http://blog.wired.com/monkeybites/

[sage-devel] Re: Scientific calculator in the notebook

2007-12-07 Thread Ted Kosan
William wrote: > By the way, do you have any thoughts about technical communication > issues with the server when using Java versus using Javascript to > implement the scientific calculator. I think Ted's calculator client > is a Java applet, > which might impact how it would communicate with th

[sage-devel] Re: Scientific calculator in the notebook

2007-12-07 Thread William Stein
On Dec 7, 2007 11:53 AM, Jason Grout <[EMAIL PROTECTED]> wrote: > > > Ted Kosan wrote: > > I have been working on ways to make SAGE as easy to use as possible > > for beginners because I am interested in encouraging high school > > students to use SAGE. The approach I have been working on recentl

[sage-devel] Re: Scientific calculator in the notebook

2007-12-07 Thread Jason Grout
Ted Kosan wrote: > I have been working on ways to make SAGE as easy to use as possible > for beginners because I am interested in encouraging high school > students to use SAGE. The approach I have been working on recently is > to embed a scientific calculator into the notebook that SAGE newbies

[sage-devel] Re: Scientific calculator in the notebook

2007-12-07 Thread Nils Bruin
Scientific calculator programs already abound. As a gentle introduction to sage, you might want to consider including a side- window where the sage commands that effect the same computation scroll by. That way, one could use it as a "scientific calculator-to-sage" translator and people might be ab

[sage-devel] Re: more SAGE publicity :-)

2007-12-07 Thread William Stein
On Dec 7, 2007 11:12 AM, Yi Qiang <[EMAIL PROTECTED]> wrote: > > http://blog.wired.com/monkeybites/2007/12/math-geek-softw.html > > "A movement is afoot among some mathematicians in academia to make the > switch from expensive, closed-source calculation software to free, > open-source alternatives

[sage-devel] Re: Let's involve SAGE in the Google Highly Open Participation Contest

2007-12-07 Thread Jason Grout
Timothy Clemans wrote: > Just 8/9 minutes after sending my letter to Python GHOP two mentors > wrote back that they would love to have Sage tickets. In fact Titus > Brown says he has heard good things about Sage. > > http://groups.google.com/group/ghop-python/browse_thread/thread/247ff27b799d4c39

[sage-devel] Re: having authors names in .py files

2007-12-07 Thread Ondrej Certik
> > Again I strongly disagree with removing all the AUTHOR: blocks from > > the Sage docstrings. I think doing this would > >(1) stupidly ignore a huge amount of what makes Sage work, > >(2) removes a valuable mechanism for getting a quick sense of > > who the main people are who consider

[sage-devel] Re: Scientific calculator in the notebook

2007-12-07 Thread Ted Kosan
Nils wrote: > Scientific calculator programs already abound. What I like about a SAGE-based calculator is that it can be advertised as being among the most powerful scientific calculators in the world. People can be told that this calculator is like the wardrobe in the Narnia series. When peopl

[sage-devel] Re: Please review letter to Python GHOP

2007-12-07 Thread Ted Kosan
Timothy wrote: > I have spent about 11 hours working on a letter to the Project, Google > Highly Open Participation group to get Sage involved in that contest. > William and Ondrej were very helpful and reviewed several drafts. > Please review, ask questions and give comments? Thank you! I have i

[sage-devel] Re: Please review letter to Python GHOP

2007-12-07 Thread David Harvey
typos: On Dec 7, 2007, at 11:01 PM, Timothy Clemans wrote: > Magma. To achieve this goal in a reasonable about of time the Sage => "amount of time" > the direction of William Stein, lead developer of Sage, 24 talented > high school used Sage via the notebook in a computer lab to explore => "h

[sage-devel] Re: Please review letter to Python GHOP

2007-12-07 Thread Jason Grout
Timothy Clemans wrote: > Hi everyone, > > I have spent about 11 hours working on a letter to the Project, Google > Highly Open Participation group to get Sage involved in that contest. > William and Ondrej were very helpful and reviewed several drafts. > Please review, ask questions and give comm

[sage-devel] Re: Scientific calculator in the notebook

2007-12-07 Thread Carl Witty
On Dec 7, 6:48 pm, "Ted Kosan" <[EMAIL PROTECTED]> wrote: > Carl wrote: > > If the applet uses java.net.HTTPUrlConnection to talk to the server > > from Java, it doesn't have to log in separately... the cookies from > > the browser's login are automatically used by the Java > > communications. At

[sage-devel] Re: Scientific calculator in the notebook

2007-12-07 Thread Ted Kosan
William wrote: > Finally, it would be really cool to have similar scientific calculators, but > for > special subject areas, e.g., graph theory, combinatorics, elliptic curves, > etc. > These would rock. I have a couple of thoughts related to this. 1) Not only can the applet inject javascript

[sage-devel] Re: more SAGE publicity :-)

2007-12-07 Thread John Cremona
On 07/12/2007, William Stein <[EMAIL PROTECTED]> wrote: > > On Dec 7, 2007 11:29 AM, Iftikhar Burhanuddin <[EMAIL PROTECTED]> wrote: > > > > On Fri, 7 Dec 2007, Yi Qiang wrote: > > > http://blog.wired.com/monkeybites/2007/12/math-geek-softw.html > > > > > > "A movement is afoot among some mathemat

[sage-devel] Re: having authors names in .py files

2007-12-07 Thread William Stein
On Dec 7, 2007 3:08 AM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > currrently *.py files in SAGE usually contain names who wrote them. > The famous Karl Fogel's Producing Open Source Software discourages > that: > > http://producingoss.com/en/managing-volunteers.html#territoriality > > mainly: >

[sage-devel] Re: Scientific calculator in the notebook

2007-12-07 Thread William Stein
On Dec 7, 2007 10:55 AM, <[EMAIL PROTECTED]> wrote: > > > > > > On Fri, 7 Dec 2007, Ted Kosan wrote: > > > > > I have been working on ways to make SAGE as easy to use as possible > > for beginners because I am interested in encouraging high school > > students to use SAGE. The approach I have be

[sage-devel] more SAGE publicity :-)

2007-12-07 Thread Yi Qiang
http://blog.wired.com/monkeybites/2007/12/math-geek-softw.html "A movement is afoot among some mathematicians in academia to make the switch from expensive, closed-source calculation software to free, open-source alternatives." Cheers, Yi --~--~-~--~~~---~--~~ To

[sage-devel] Re: request for testing: flint-1.0.spkg

2007-12-07 Thread Carl Witty
On Dec 7, 5:51 am, Bill Hart <[EMAIL PROTECTED]> wrote: > This bug is quite possibly not in FLINT, but in GMP or even gcc > itself. I use "static inline" throughout FLINT (earlier revisions did > not, but I fixed this before FLINT 1.0) because the rules for "static > inline" are the same in the c9

[sage-devel] Re: Scientific calculator in the notebook

2007-12-07 Thread Nils Bruin
On Dec 7, 2:23 pm, "Ted Kosan" <[EMAIL PROTECTED]> wrote: > 1) Not only can the applet inject javascript code into the browser, > but it can also inject SAGE code into a worksheet. When a given > applet launches, it can automatically inject code into the SAGE > environment on the server which ca

[sage-devel] Re: more SAGE publicity :-)

2007-12-07 Thread William Stein
On Dec 7, 2007 11:29 AM, Iftikhar Burhanuddin <[EMAIL PROTECTED]> wrote: > > On Fri, 7 Dec 2007, Yi Qiang wrote: > > http://blog.wired.com/monkeybites/2007/12/math-geek-softw.html > > > > "A movement is afoot among some mathematicians in academia to make the > > switch from expensive, closed-sourc

[sage-devel] Re: Sage/Digg

2007-12-07 Thread William Stein
On Dec 7, 2007 11:29 AM, Alfredo Portes <[EMAIL PROTECTED]> wrote: > Hi William, > > I saw your post about the Digg submission. Somebody posted > another one after yours, and I think it has a chance to make it > to the frontpage. > > http://digg.com/software/Free_software_brings_affordability_to_

[sage-devel] Re: more SAGE publicity :-)

2007-12-07 Thread Iftikhar Burhanuddin
On Fri, 7 Dec 2007, Yi Qiang wrote: > http://blog.wired.com/monkeybites/2007/12/math-geek-softw.html > > "A movement is afoot among some mathematicians in academia to make the > switch from expensive, closed-source calculation software to free, > open-source alternatives." Pretty cool. There sh

[sage-devel] Re: Scientific calculator in the notebook

2007-12-07 Thread Jason Grout
Jason Grout wrote: > > Ted, I think this is fantastic. > > (Alex, William, or anyone else: I'd love to hear any corrections or > insights you may have about what I've said below.) I meant to say "Tom, Alex, William, or anyone else:" Thanks, Tom, for your offer of help to us trying to understa

[sage-devel] Re: having authors names in .py files

2007-12-07 Thread John Cremona
On 07/12/2007, William Stein <[EMAIL PROTECTED]> wrote: > > On Dec 7, 2007 3:08 AM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > > currrently *.py files in SAGE usually contain names who wrote them. > > The famous Karl Fogel's Producing Open Source Software discourages > > that: > > > > http://prod