[sage-devel] Re: Py_UNICODE_SIZE on OS X

2008-07-09 Thread David Philp
On 10/07/2008, at 2:04 PM, mabshoff wrote: >> It should be fine. We used UCS2 until maybe 8 months ago. We >> switched >> as mentioned above only for Linux compatibility. >> >>> You will need to do this for each successive >>> version of sage, which could be tedious. >> >> I would be ok with

[sage-devel] Re: how to handle assumptions

2008-07-09 Thread David Philp
>> Integrate[x^a, {x, 1, Infinity}] returns an answer that incorporates >> assumptions: >> If[Re[a] < -1, -(1/(1 + a)), Integrate[x^a, {x, 1, ∞}, Assumptions >> -> >> Re[a] >= -1]] >> >> If you want me to unpack that or have a more instructive example, >> just >> ask. >> > Forgot about that

[sage-devel] Re: how to handle assumptions

2008-07-09 Thread François Bissey
On Thu, 10 Jul 2008, David Philp wrote: > Multiple solutions are different to assumptions in Mathematica. > > Solve[x^2 == 1, x] returns a two unconditional solutions. (x -> 1, x- > > > -1 are both solutions). > > Integrate[x^a, {x, 1, Infinity}] returns an answer that incorporates > assumption

[sage-devel] Sage 3.0.4 released

2008-07-09 Thread mabshoff
[Note: There are no binaries yet, but they are being build and the mirrors are not current, so you need to download from sagemath.org] Hello folks, Sage 3.0.4 has been released on July 9th, 2008. It is available at http://sagemath.org/download.html * About Sage (http://www.sagemath.

[sage-devel] Re: how to handle assumptions

2008-07-09 Thread David Philp
On 10/07/2008, at 2:14 PM, François Bissey wrote: > > On Thu, 10 Jul 2008, Robert Dodier wrote: >> William Stein wrote: >>> If you answer could you summarize what Maple/Mathematica do >>> (if you care), and if so why you think whatever you propose is >>> better than them. >> >> Not sure if I am

[sage-devel] Re: how to handle assumptions

2008-07-09 Thread Robert Dodier
root wrote: > > view the pdf file for "Schaums 14.120-14.124" (schaum5.input.pdf) > See the result on page 3 of the pdf. > > The first integral result returned by Axiom is a list of answers. Hmm. I don't see any indication of the domain in w

[sage-devel] Re: how to handle assumptions

2008-07-09 Thread François Bissey
On Thu, 10 Jul 2008, Robert Dodier wrote: > William Stein wrote: > > If you answer could you summarize what Maple/Mathematica do > > (if you care), and if so why you think whatever you propose is > > better than them. > > Not sure if I am the "you" in question here, but fwiw I don't know > what Ma

[sage-devel] Re: doctest coverage goals

2008-07-09 Thread mabshoff
On Jul 9, 7:38 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > Here's a plain for coverage.  We're at 53.6% now. > > 60% by aug 1; 70% by sep 1; 80% by oct 1; 90% by nov 1; 95% by dec 1; > 100% by dec 31. Well, 10% a month is ambitious, but let's try to do our best to do it. We should start by

[sage-devel] Re: how to handle assumptions

2008-07-09 Thread Robert Dodier
William Stein wrote: > If you answer could you summarize what Maple/Mathematica do > (if you care), and if so why you think whatever you propose is > better than them. Not sure if I am the "you" in question here, but fwiw I don't know what Maple or Mathematica do when there are multiple solution

[sage-devel] Re: Py_UNICODE_SIZE on OS X

2008-07-09 Thread mabshoff
On Jul 9, 8:18 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Wed, Jul 9, 2008 at 8:11 PM, David Philp <[EMAIL PROTECTED]> wrote: Hi, > > This is a 'for the record' email describing how to use boost.python > > with sage on Mac OS X. Thanks to the gentlefolk who walked me through > > it (esp

[sage-devel] Re: Py_UNICODE_SIZE on OS X

2008-07-09 Thread William Stein
On Wed, Jul 9, 2008 at 8:11 PM, David Philp <[EMAIL PROTECTED]> wrote: > > > This is a 'for the record' email describing how to use boost.python > with sage on Mac OS X. Thanks to the gentlefolk who walked me through > it (especially Carl Witty). > > I am assuming a working boost.python extension

[sage-devel] Py_UNICODE_SIZE on OS X

2008-07-09 Thread David Philp
This is a 'for the record' email describing how to use boost.python with sage on Mac OS X. Thanks to the gentlefolk who walked me through it (especially Carl Witty). I am assuming a working boost.python extension called 'my_ext.so'. "Working" means that you should be able to start up pyth

[sage-devel] doctest coverage goals

2008-07-09 Thread William Stein
Here's a plain for coverage. We're at 53.6% now. 60% by aug 1; 70% by sep 1; 80% by oct 1; 90% by nov 1; 95% by dec 1; 100% by dec 31. -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~-~--~~~---~--~~ To post

[sage-devel] Re: book that uses sage

2008-07-09 Thread David Joyner
This looks really excellent. A few extremely minor comments. (1) You have 2 photos of Lenstra, p133+p137. I'm not sure if that was intended. (Also, one is "Lenstra" and the other is "Hendrik Lenstra", yet the references have papers by both H Lenstra and A Lenstra.) (2) The Juno Reactor cover art o

[sage-devel] Re: sagemath.org relaunch

2008-07-09 Thread Alec Mihailovs
I've noticed 2 things. First - mirrors were not showing in the download page (when I looked at it - it may be fixed by now). Second - there seem to be no a link to the screenshot page. Alec --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@

[sage-devel] sagemath.org relaunch

2008-07-09 Thread Harald Schilly
Hi everybody ... it's about a week since the redesigned Sage website is online. I've started to work on it about two month ago and took much much longer than i expected. Now I want to recapitulate the first week and tell you a bit about the page. Especially, because I had to consider some things o

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

2008-07-09 Thread John Cremona
2008/7/9 mabshoff <[EMAIL PROTECTED]>: > > > > On Jul 8, 7:35 am, "John Cremona" <[EMAIL PROTECTED]> wrote: >> 2008/7/8 John Cremona <[EMAIL PROTECTED]>: > > > Hi John, > >> By the way, I asked this before but the answer was too complicated for >> me. It takes hours to build Sage on my new lapto

[sage-devel] Re: Notebook feature request

2008-07-09 Thread Nick Alexander
On 9-Jul-08, at 9:55 AM, Robert Miller wrote: > >>> Python >>> has amnesia, in a sense -- it never knows where code really came >>> from, but there are ways around this. > > It is also the case that when you load a file, tracebacks simply say > that the error is in "module"... I wish those trace

[sage-devel] Another bug in QuaternionAlgebra over RealIntervalField

2008-07-09 Thread saucerful
R = RealIntervalField(53); A. = QuaternionAlgebra(R, -1,-1); a = R(0.85323069669636530)*j + R(-1.2524486580700891)*k; b = R(0.37151417469522368) + R(0.54534187688354340)*i a/b; This computation gives a "ValueError: Generator 0 not defined". Note that if I instead define R as a RealField the co

[sage-devel] Re: Notebook feature request

2008-07-09 Thread Robert Miller
> > Python > > has amnesia, in a sense -- it never knows where code really came > > from, but there are ways around this. It is also the case that when you load a file, tracebacks simply say that the error is in "module"... I wish those tracebacks were more helpful too... --~--~-~--~

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

2008-07-09 Thread mabshoff
On Jul 8, 7:35 am, "John Cremona" <[EMAIL PROTECTED]> wrote: > 2008/7/8 John Cremona <[EMAIL PROTECTED]>: Hi John, > By the way, I asked this before but the answer was too complicated for > me.  It takes hours to build Sage on my new laptop with this system: > > Linux version 2.6.24-19-generi

[sage-devel] Sage 3.0.4.rc2 released

2008-07-09 Thread mabshoff
Hello folks, rc2 is out. If you do not own or use an Itanium this might be of little consequence to you, but it is available at http://sage.math.washington.edu/home/was/tmp/sage-3.0.4.rc2.tar The few fixes are mostly bugs that happened to hit on Itanium, but the new FLINT 1.0.11 might be wor

[sage-devel] Re: how to run Sage in a system wide Python

2008-07-09 Thread William Stein
>> teragon-2:build was$ ./sage-3.0.4.rc0/sage -startuptime |grep sympy >>sympy: 0.098 (sage.calculus.calculus) > > Yes, I am sorry about this trojan horse, it was definitely not an > intention. :) I hope after the patch all will be fine. > I forgot to mention that we spent a lot of ti

[sage-devel] Re: Help on pyprocessing - Multicore CPU Usage Problem

2008-07-09 Thread William Stein
On Wed, Jul 9, 2008 at 3:27 AM, Michael Mardaus <[EMAIL PROTECTED]> wrote: > > Hi, > > I would like to use sage for a computation with a long for loop. And > it takes forever on my machine (15 mins). So i tried to speed it up > with a server in the university (with 8 Xeon cores). But i found out >

[sage-devel] Re: Help on pyprocessing - Multicore CPU Usage Problem

2008-07-09 Thread Martin Albrecht
> For example: > for i in range(8): > print factor(i) > I just compiled 3.0.4.rc1 which has the new pyprocessing stuff: (1) the i's in your example are way to small for pyprocessing to give an advantage due to the overhead of calling the other process, you could split up your function

[sage-devel] Re: constructions document

2008-07-09 Thread David Joyner
Done. It is http://sagetrac.org/sage_trac/ticket/3624 For anyone ese who wants to add a chapter, I've tried to set it up so that you just create a new subdirectory of cookbook for your chapter, add an input line to cookbook.tex and modify the files in the coding-theory subdirectory in a fairly obv

[sage-devel] Re: how to run Sage in a system wide Python

2008-07-09 Thread Ondrej Certik
On Wed, Jul 9, 2008 at 12:50 PM, David Joyner <[EMAIL PROTECTED]> wrote: > > On Wed, Jul 9, 2008 at 4:32 AM, Ondrej Certik <[EMAIL PROTECTED]> wrote: >> On Wed, Jul 9, 2008 at 7:27 AM, William Stein <[EMAIL PROTECTED]> wrote: >>> >>> On Tue, Jul 8, 2008 at 10:21 PM, Ondrej Certik <[EMAIL PROTECTED]

[sage-devel] Re: how to run Sage in a system wide Python

2008-07-09 Thread David Joyner
On Wed, Jul 9, 2008 at 4:32 AM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > On Wed, Jul 9, 2008 at 7:27 AM, William Stein <[EMAIL PROTECTED]> wrote: >> >> On Tue, Jul 8, 2008 at 10:21 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote: >>> On Wed, Jul 9, 2008 at 2:29 AM, François Bissey <[EMAIL PROTECTED]

[sage-devel] Help on pyprocessing - Multicore CPU Usage Problem

2008-07-09 Thread Michael Mardaus
Hi, I would like to use sage for a computation with a long for loop. And it takes forever on my machine (15 mins). So i tried to speed it up with a server in the university (with 8 Xeon cores). But i found out when I run the program, the cpu usage is at 12,5%. Which lets me guess that only one cp

[sage-devel] Re: how to run Sage in a system wide Python

2008-07-09 Thread Ondrej Certik
On Wed, Jul 9, 2008 at 11:43 AM, Dag Sverre Seljebotn <[EMAIL PROTECTED]> wrote: > > Ondrej Certik wrote: >> 2008/7/9 William Stein <[EMAIL PROTECTED]>: > Thanks for doing all this! See Sage integrates into your > environment after all :-). Yes and it made me pretty excited!! Only it

[sage-devel] Re: how to run Sage in a system wide Python

2008-07-09 Thread Dag Sverre Seljebotn
Ondrej Certik wrote: > 2008/7/9 William Stein <[EMAIL PROTECTED]>: Thanks for doing all this! See Sage integrates into your environment after all :-). >>> Yes and it made me pretty excited!! Only it's 4x slower than sympy: >> Is that "4 x" all Sage startup time, i.e., the time to do >>

[sage-devel] Re: how to run Sage in a system wide Python

2008-07-09 Thread Ondrej Certik
2008/7/9 William Stein <[EMAIL PROTECTED]>: >>> Thanks for doing all this! See Sage integrates into your >>> environment after all :-). >> >> Yes and it made me pretty excited!! Only it's 4x slower than sympy: > > Is that "4 x" all Sage startup time, i.e., the time to do > "from sage.all import *

[sage-devel] Re: book that uses sage

2008-07-09 Thread William Stein
On Wed, Jul 9, 2008 at 1:53 AM, mabshoff <[EMAIL PROTECTED]> wrote: > > > > On Jul 9, 1:47 am, "William Stein" <[EMAIL PROTECTED]> wrote: >> Hi, >> >> This number theory book that I wrote uses Sage throughout: >> >> http://sage.math.washington.edu/papers/ent/ent-stein/ent.pdf >> >> It will be publ

[sage-devel] Re: how to run Sage in a system wide Python

2008-07-09 Thread William Stein
>> Thanks for doing all this! See Sage integrates into your >> environment after all :-). > > Yes and it made me pretty excited!! Only it's 4x slower than sympy: Is that "4 x" all Sage startup time, i.e., the time to do "from sage.all import *"? Shouldn't you time something like this: sage: tim

[sage-devel] Re: book that uses sage

2008-07-09 Thread mabshoff
On Jul 9, 1:47 am, "William Stein" <[EMAIL PROTECTED]> wrote: > Hi, > > This number theory book that I wrote uses Sage throughout: > > http://sage.math.washington.edu/papers/ent/ent-stein/ent.pdf > > It will be published by Springer-Verlag as a UTM book sometime > in the next 6 months.   Comment

[sage-devel] book that uses sage

2008-07-09 Thread William Stein
Hi, This number theory book that I wrote uses Sage throughout: http://sage.math.washington.edu/papers/ent/ent-stein/ent.pdf It will be published by Springer-Verlag as a UTM book sometime in the next 6 months. Comments welcome before it's too late :-) -- William -- William Stein Associate

[sage-devel] Re: how to run Sage in a system wide Python

2008-07-09 Thread Ondrej Certik
On Wed, Jul 9, 2008 at 10:36 AM, William Stein <[EMAIL PROTECTED]> wrote: > > On Wed, Jul 9, 2008 at 1:32 AM, Ondrej Certik <[EMAIL PROTECTED]> wrote: >> On Wed, Jul 9, 2008 at 7:27 AM, William Stein <[EMAIL PROTECTED]> wrote: >>> >>> On Tue, Jul 8, 2008 at 10:21 PM, Ondrej Certik <[EMAIL PROTECTED

[sage-devel] Re: how to run Sage in a system wide Python

2008-07-09 Thread William Stein
On Wed, Jul 9, 2008 at 1:32 AM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > On Wed, Jul 9, 2008 at 7:27 AM, William Stein <[EMAIL PROTECTED]> wrote: >> >> On Tue, Jul 8, 2008 at 10:21 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote: >>> On Wed, Jul 9, 2008 at 2:29 AM, François Bissey <[EMAIL PROTECTED]

[sage-devel] Re: how to run Sage in a system wide Python

2008-07-09 Thread Ondrej Certik
On Wed, Jul 9, 2008 at 7:27 AM, William Stein <[EMAIL PROTECTED]> wrote: > > On Tue, Jul 8, 2008 at 10:21 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote: >> On Wed, Jul 9, 2008 at 2:29 AM, François Bissey <[EMAIL PROTECTED]> wrote: >>> >>> On Wed, 09 Jul 2008, Ondrej Certik wrote: The only remain

[sage-devel] Re: how to run Sage in a system wide Python

2008-07-09 Thread Ondrej Certik
On Wed, Jul 9, 2008 at 8:39 AM, Fernando Perez <[EMAIL PROTECTED]> wrote: > > On Tue, Jul 8, 2008 at 10:21 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote: >> On Wed, Jul 9, 2008 at 2:29 AM, François Bissey <[EMAIL PROTECTED]> wrote: >>> >>> On Wed, 09 Jul 2008, Ondrej Certik wrote: The only remai