[sage-devel] Re: #sage-devel log

2009-09-25 Thread Pat LeSmithe
Harald Schilly wrote: > On Sep 24, 9:39 pm, William Stein wrote: >> We should setup something >> maybe more longterm, say on sagemath.org itself? >> > > +1 > ~/www-files/irc/ sounds good for me, I can handle the rest ;) I'm not sure if its easy to use programmatically, but I found an IRC log f

[sage-devel] parametric_plot and variable ranges

2009-09-25 Thread Jason Grout
Currently, the following works: var('t') parametric_plot((t,t^2), 0, 2) since things are just passed to plot, and plot accepts a variable range as just two arguments, rather insisting that they be in a tuple. However, the following doesn't work: parametric_plot((t,t^2,t^3), 0, 2) since param

[sage-devel] Re: canvas3d_lib.js extended to work on iPhone, IE

2009-09-25 Thread Tim Lahey
On 2009-09-25, at 11:36 PM, Pat LeSmithe wrote: > > Peter wrote: >> Is anyone working on rendering surfaces with shading over the >> wireframe? > > Is it practical to adapt the Pre3d library > > http://deanm.github.com/pre3d/ > It doesn't seem to work on the iPod, though which is a nice advanta

[sage-devel] Re: Graph layout, graphviz, and dot2tex

2009-09-25 Thread Pat LeSmithe
Nicolas M. Thiery wrote: > On Fri, Sep 25, 2009 at 06:22:07AM -0700, Pat LeSmithe wrote: >> Nicolas M. Thiery wrote: >>> Ah, by the way, a question for spkg experts: the current dot2tex spkg >>> I built contains two separate python modules, pyparsing and dot2tex, >>> the later depending on the for

[sage-devel] Re: canvas3d_lib.js extended to work on iPhone, IE

2009-09-25 Thread Pat LeSmithe
Peter wrote: > Is anyone working on rendering surfaces with shading over the > wireframe? Is it practical to adapt the Pre3d library http://deanm.github.com/pre3d/ ? For what it's worth, I've usually found that Chromium 4 renders more quickly than Firefox 3.5.3. But this is purely subjective.

[sage-devel] Re: prime_range problem

2009-09-25 Thread kstueve
I opened ticket #7017. Kevin Stueve On Sep 25, 7:05 pm, Minh Nguyen wrote: > Hi, > > On Sat, Sep 26, 2009 at 11:28 AM, kstueve wrote: > > > > > from sage.rings.fast_arith import prime_range > > print prime_range(10^16,10^16+100) > > Those two lines gave me a segfault on sage.math: > > {{{[mv..

[sage-devel] Re: Sage component manuals

2009-09-25 Thread Kwankyu
> > It is totally feasible.  It hasn't happened only because nobody has > done it.   I think the only good reasonable longterm way to do this > would be to modify the spkg-install for each and every package so that > it installs documentation for that package into > $SAGE_LOCAL/doc/pkgname.   This

[sage-devel] Re: canvas3d_lib.js extended to work on iPhone, IE

2009-09-25 Thread Jason Grout
Tim Lahey wrote: > > On Sep 25, 2009, at 10:20 PM, Jason Grout wrote: > >> I am curious about how smooth it is on the iPhone. For me (Firefox >> 3.5, >> ubuntu 9.04, with a P4 3.2Ghz), it's pretty jerky, often lagging by at >> around half a second. >> >> That said, this is *very* impressive.

[sage-devel] svg

2009-09-25 Thread Jason Grout
When browsing through the abstracts here: http://www.svgopen.org/2009/registration.php?section=abstracts_and_proceedings I found a couple of cool things that people might be interested in: * A web-based interactive SVG geometry editor: http://boar.cs.kent.edu/geosite/ * jsxgraph (I believ

[sage-devel] Re: canvas3d_lib.js extended to work on iPhone, IE

2009-09-25 Thread Tim Lahey
On Sep 25, 2009, at 10:20 PM, Jason Grout wrote: > I am curious about how smooth it is on the iPhone. For me (Firefox > 3.5, > ubuntu 9.04, with a P4 3.2Ghz), it's pretty jerky, often lagging by at > around half a second. > > That said, this is *very* impressive. I'm really excited about the

[sage-devel] Re: canvas3d_lib.js extended to work on iPhone, IE

2009-09-25 Thread Jason Grout
Peter wrote: > Hi, > > I really like the canvas3d plot option in 4.1.2 since it will make it > easier to implement interactive 3d scenes in Sage and make them also > display in browsers that do not support java. I modified the > canvas3d_lib.js file so that it can also be used in a plain html pag

[sage-devel] Re: Sage component manuals

2009-09-25 Thread William Stein
On Fri, Sep 25, 2009 at 6:45 PM, Kwankyu wrote: > > Hi, > > I thought of this idea. How about including the manuals (and/or > tutorials and/or references) of all (perhaps not all but almost all) > the (enduser) components of Sage into Sage? Or maintain a repository > site of all the manuals such

[sage-devel] Re: prime_range problem

2009-09-25 Thread Minh Nguyen
Hi, On Sat, Sep 26, 2009 at 11:28 AM, kstueve wrote: > from sage.rings.fast_arith import prime_range > print prime_range(10^16,10^16+100) Those two lines gave me a segfault on sage.math: {{{[mv...@sage ~]$ sage -- | Sage Ve

[sage-devel] Sage component manuals

2009-09-25 Thread Kwankyu
Hi, I thought of this idea. How about including the manuals (and/or tutorials and/or references) of all (perhaps not all but almost all) the (enduser) components of Sage into Sage? Or maintain a repository site of all the manuals such that the user can access them easily from the Sage notebook? I

[sage-devel] Re: canvas3d_lib.js extended to work on iPhone, IE

2009-09-25 Thread William Stein
On Fri, Sep 25, 2009 at 6:01 PM, Peter wrote: > > Hi, > > I really like the canvas3d plot option in 4.1.2 since it will make it > easier to implement interactive 3d scenes in Sage and make them also > display in browsers that do not support java. I modified the > canvas3d_lib.js file so that it c

[sage-devel] prime_range problem

2009-09-25 Thread kstueve
I am having trouble with the following lines. Should I make a new trac ticket for this or am I just doing something wrong? I am on a MacBook pro. from sage.rings.fast_arith import prime_range print prime_range(10^16,10^16+100) Traceback (most recent call last): File "", line 1, in File "/Us

[sage-devel] trac ticket 7013 is ready for review prime_pi and nth_prime (my first Sage contribution)

2009-09-25 Thread kstueve
Uses a hybrid table lookup and sieving algorithm. Also provides the option of using PARI's sieving algorithm, Andrew Ohana's optimized Legendre algorithm, or Victor Miller's Lagarias Miller Odlyzko (LMO) combinatorial algorithm. Be sure to use the -m32 option when compiling the c code, and if ne

[sage-devel] canvas3d_lib.js extended to work on iPhone, IE

2009-09-25 Thread Peter
Hi, I really like the canvas3d plot option in 4.1.2 since it will make it easier to implement interactive 3d scenes in Sage and make them also display in browsers that do not support java. I modified the canvas3d_lib.js file so that it can also be used in a plain html page and works on the iPhone

[sage-devel] Re: new jmol

2009-09-25 Thread William Stein
On Fri, Sep 25, 2009 at 5:15 PM, Jason Grout wrote: > > William Stein wrote: > >>> In our case, it sounds like we would have to wait for a round trip to >>> the server every time we tried rotating things? (or maybe we'd wait a >>> few seconds, and then replaced it?) >> >> I can't see why a roundt

[sage-devel] Re: new jmol

2009-09-25 Thread Jason Grout
William Stein wrote: >> In our case, it sounds like we would have to wait for a round trip to >> the server every time we tried rotating things? (or maybe we'd wait a >> few seconds, and then replaced it?) > > I can't see why a roundtrip to the server would be needed. Can you "unload" a java a

[sage-devel] Re: testing packages on OS X 10.5

2009-09-25 Thread John H Palmieri
On Sep 25, 4:50 pm, Minh Nguyen wrote: > Hi folks, > > There are some updated packages that would be really cool to get into > Sage 4.1.2. These include: > > * #6969 boehm_gc-7.1.p2.spkg > * #6971 ecl-9.8.4-20090913cvs.p1.spkg > * #7006 mpir-1.2.p6.spkg I'm making builds with these right now; I'

[sage-devel] testing packages on OS X 10.5

2009-09-25 Thread Minh Nguyen
Hi folks, There are some updated packages that would be really cool to get into Sage 4.1.2. These include: * #6969 boehm_gc-7.1.p2.spkg * #6971 ecl-9.8.4-20090913cvs.p1.spkg * #7006 mpir-1.2.p6.spkg * #6919 flint-1.5.0.p0.spkg * #6990 python-2.6.2.p2.spkg * #6951 singular-3-1-0-4-20090818.p0.spk

[sage-devel] Re: new jmol

2009-09-25 Thread William Stein
On Fri, Sep 25, 2009 at 10:30 AM, Jason Grout wrote: > > William Stein wrote: > >> We could try changing how jmol is used in Sage as follows:  when the >> user isn't actively using the 3d image, it is replaced by a static >> png.  Then there would be at most 1 jmol applet per page. >> > > That se

[sage-devel] Re: strange message from hg_sage.commit()

2009-09-25 Thread William Stein
On Fri, Sep 25, 2009 at 12:27 PM, John Cremona wrote: > > Can anyone tell me what this message means, in response to hg_sage.commit(): > > cd "/home/jcooley/sage-4.1.1/devel/sage" && hg diff  | less > cd "/home/jcooley/sage-4.1.1/devel/sage" && hg commit > abort: journal already exists - run hg r

[sage-devel] Re: "sage -sh" question and possible patch

2009-09-25 Thread Paulo César Pereira de Andrade
2009/9/25 Minh Nguyen : > > Hi Mariah, > > On Sat, Sep 26, 2009 at 6:04 AM, Mariah Lenox wrote: >> >> The open trac tickets #4644 and #5507 discuss >> problems with "sage -sh", specifically >> >> #4644  - No new prompt when doing a ./sage -sh > > I can confirm that your patch fixes this issue: >

[sage-devel] Re: "sage -sh" question and possible patch

2009-09-25 Thread Minh Nguyen
Hi Mariah, On Sat, Sep 26, 2009 at 6:04 AM, Mariah Lenox wrote: > > The open trac tickets #4644 and #5507 discuss > problems with "sage -sh", specifically > > #4644 - No new prompt when doing a ./sage -sh I can confirm that your patch fixes this issue: {{{ [mv...@sage sage-4.1.1]$ ./sage -sh

[sage-devel] Re: Graph layout, graphviz, and dot2tex

2009-09-25 Thread Nicolas M. Thiery
On Fri, Sep 25, 2009 at 06:22:07AM -0700, Pat LeSmithe wrote: > > Nicolas M. Thiery wrote: > > Ah, by the way, a question for spkg experts: the current dot2tex spkg > > I built contains two separate python modules, pyparsing and dot2tex, > > the later depending on the former. Should there be two

[sage-devel] "sage -sh" question and possible patch

2009-09-25 Thread Mariah Lenox
The open trac tickets #4644 and #5507 discuss problems with "sage -sh", specifically #4644 - No new prompt when doing a ./sage -sh #5507 - $ sage -sh -c "echo hi there" # does not work, but should $ sage -sh -c -c "echo hi there" # works, but shouldn't There is also a problem th

[sage-devel] strange message from hg_sage.commit()

2009-09-25 Thread John Cremona
Can anyone tell me what this message means, in response to hg_sage.commit(): cd "/home/jcooley/sage-4.1.1/devel/sage" && hg diff | less cd "/home/jcooley/sage-4.1.1/devel/sage" && hg commit abort: journal already exists - run hg recover! And what to do about it? This is in a clone on which lot

[sage-devel] Re: new jmol

2009-09-25 Thread Bill Page
On Fri, Sep 25, 2009 at 2:35 PM, Alfredo Portes wrote: > > On Fri, Sep 25, 2009 at 1:14 PM, Bill Page wrote: > >> Unfortunately there is no change in behavior with this update. It >> still works fine for me on my Linux clients and when using Windows >> Vista, but on a slightly older laptop running

[sage-devel] Re: new jmol

2009-09-25 Thread Alfredo Portes
Hi Bill, On Fri, Sep 25, 2009 at 1:14 PM, Bill Page wrote: > Unfortunately there is no change in behavior with this update. It > still works fine for me on my Linux clients and when using Windows > Vista, but on a slightly older laptop running  Windows XP (up-to-date > with SP2) it still fails.

[sage-devel] Re: new jmol

2009-09-25 Thread Jason Grout
William Stein wrote: > We could try changing how jmol is used in Sage as follows: when the > user isn't actively using the 3d image, it is replaced by a static > png. Then there would be at most 1 jmol applet per page. > That seems to be how mathematica does things. At least, when I have co

[sage-devel] Re: new jmol

2009-09-25 Thread William Stein
On Fri, Sep 25, 2009 at 9:30 AM, Jason Grout wrote: > > Jonathan wrote: >> Bug fixes and code changes are documented with some more detail in the >> file jmol.properties that can be found in the source code in the >> directory src/org/jmol/viewer. >> >> We try pretty hard not to change historical

[sage-devel] Re: new jmol

2009-09-25 Thread Bill Page
On Fri, Sep 25, 2009 at 9:20 AM, Jonathan wrote: > > Bug fixes and code changes are documented with some more detail in the > file jmol.properties that can be found in the source code in the > directory src/org/jmol/viewer. > > We try pretty hard not to change historical behavior unless it is > de

[sage-devel] Re: new jmol

2009-09-25 Thread Jason Grout
Jonathan wrote: > Bug fixes and code changes are documented with some more detail in the > file jmol.properties that can be found in the source code in the > directory src/org/jmol/viewer. > > We try pretty hard not to change historical behavior unless it is > determined to be erroneous, so new v

[sage-devel] Re: survey: how many "cpus" do you have?

2009-09-25 Thread William Stein
On Fri, Sep 25, 2009 at 8:01 AM, Dr. David Kirkby wrote: > > William Stein wrote: > >> SUN specifically donated that box to us for creating an optimized Sage >> *notebook* server system.   It was not for doing research >> compute-bound work.  It may well still turn out to be the case that T2 >> i

[sage-devel] Re: survey: how many "cpus" do you have?

2009-09-25 Thread Dr. David Kirkby
William Stein wrote: > SUN specifically donated that box to us for creating an optimized Sage > *notebook* server system. It was not for doing research > compute-bound work. It may well still turn out to be the case that T2 > is a good choice for running a notebook server with many simultaneou

[sage-devel] Re: Graph layout, graphviz, and dot2tex

2009-09-25 Thread Dan Drake
On Fri, 25 Sep 2009 at 09:12AM +0200, Nicolas M. Thiery wrote: > Ah, by the way, a question for spkg experts: the current dot2tex spkg > I built contains two separate python modules, pyparsing and dot2tex, > the later depending on the former. Should there be two spkg's instead? I'm not a spkg expe

[sage-devel] Re: Graph layout, graphviz, and dot2tex

2009-09-25 Thread Pat LeSmithe
Nicolas M. Thiery wrote: > Ah, by the way, a question for spkg experts: the current dot2tex spkg > I built contains two separate python modules, pyparsing and dot2tex, > the later depending on the former. Should there be two spkg's instead? > Is it possible to state the dependency so that users co

[sage-devel] Re: new jmol

2009-09-25 Thread Jonathan
Bug fixes and code changes are documented with some more detail in the file jmol.properties that can be found in the source code in the directory src/org/jmol/viewer. We try pretty hard not to change historical behavior unless it is determined to be erroneous, so new versions usually work as drop

[sage-devel] Re: Graph layout, graphviz, and dot2tex

2009-09-25 Thread Nicolas M. Thiery
Hi Rob! On Thu, Sep 24, 2009 at 10:01:15PM -0700, Rob Beezer wrote: > Thanks for working on the LaTeX-graph code. I'll certainly give > this a closer look soon, with an eye towards not "wreak[ing] further > havoc." ;-) Have a couple of other things in the queue first, > though. Thanks!

[sage-devel] [nicolas.thi...@u-psud.fr: Graph layout, graphviz, and dot2tex]

2009-09-25 Thread Nicolas M. Thiery
Dear Kjell, - Forwarded message from "Nicolas M. Thiery" - ... http://sage.math.washington.edu/home/nthiery/bruhat-D4.pdf ... PS: with that, I am very close to getting a nice category graph, but I need to chase a bug which will have to wait until I am more awake. -

[sage-devel] Re: license question

2009-09-25 Thread Jaap Spies
Ralf Hemmecke wrote: > Hello > Hi Ralf, > can Michael Abshoff still be reached somewhere? I need him for license > clarifications. > Try the old mabshoff(at)googlemail.com address. Jaap --~--~-~--~~~---~--~~ To post to this group, send an email to sage-dev

[sage-devel] license question

2009-09-25 Thread Ralf Hemmecke
Hello can Michael Abshoff still be reached somewhere? I need him for license clarifications. Ralf --~--~-~--~~~---~--~~ 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...@g

[sage-devel] Re: survey: how many "cpus" do you have?

2009-09-25 Thread Robert Bradshaw
On Sep 25, 2009, at 1:21 AM, Robert Bradshaw wrote: > > On Sep 25, 2009, at 12:38 AM, Minh Nguyen wrote: > >> >> On Fri, Sep 25, 2009 at 5:19 PM, Dr. David Kirkby >> wrote: >> >> >> >>> I'm not so convinced of this. It is fine on workstations, but not >>> on big >>> multi-user servers. I would

[sage-devel] Re: survey: how many "cpus" do you have?

2009-09-25 Thread Robert Bradshaw
On Sep 25, 2009, at 12:38 AM, Minh Nguyen wrote: > > On Fri, Sep 25, 2009 at 5:19 PM, Dr. David Kirkby > wrote: > > > >> I'm not so convinced of this. It is fine on workstations, but not >> on big >> multi-user servers. I would have stuck a maximum limit of 8 by >> default. > > A default of

[sage-devel] Re: survey: how many "cpus" do you have?

2009-09-25 Thread William Stein
On Fri, Sep 25, 2009 at 12:19 AM, Dr. David Kirkby wrote: > > Dan Drake wrote: >> On Thu, 24 Sep 2009 at 08:32AM -0700, John H Palmieri wrote: >>> So, back to the original question: for parallel testing, can we set >>> the number of threads to be the output from multiprocessing.cpu_count >>> ()?

[sage-devel] Re: survey: how many "cpus" do you have?

2009-09-25 Thread Minh Nguyen
On Fri, Sep 25, 2009 at 5:19 PM, Dr. David Kirkby wrote: > I'm not so convinced of this. It is fine on workstations, but not on big > multi-user servers. I would have stuck a maximum limit of 8 by default. A default of 1 would work for any (probably most) machine. -- Regards Minh Van Nguyen

[sage-devel] Re: survey: how many "cpus" do you have?

2009-09-25 Thread Dr. David Kirkby
Dan Drake wrote: > On Thu, 24 Sep 2009 at 08:32AM -0700, John H Palmieri wrote: >> So, back to the original question: for parallel testing, can we set >> the number of threads to be the output from multiprocessing.cpu_count >> ()? On t2, is it actually *bad* to use 128 threads, or is it just >> a