[sage-devel] Re: SymbolicEquation type error

2007-12-20 Thread Ted Kosan
Carl wrote: > Is there any chance that you've assigned a value to x earlier in your > session, so that x is no longer a symbolic variable? The code was executed in the first cell of the first worksheet that I created after launching Sage 2.9 for the first time. After closing the worksheet, reop

[sage-devel] Re: factoring benchmarks

2007-12-20 Thread Joel B. Mohler
On Wednesday 19 December 2007 23:42, Bill Hart wrote: > Here is a graph that uses slightly bigger coefficients, up to 1 > bits. > > http://sage.math.washington.edu/home/wbhart/flint-trunk/graphing/factor2.pn >g > > I don't see the speed increase you mentioned for large coefficients, > but this

[sage-devel] elliptic curve issues

2007-12-20 Thread John Cremona
Topic 1: isomorphisms between Weierstrass models For Robert B as author of weierstrass_morphism.py: It's not a bug but I would recommend that you test for equality of j-invariants before doing the harder work (which you do by extracting 12th roots of the ratio of the discriminants). Similarly i

[sage-devel] lisp.run, server crash

2007-12-20 Thread mhampton
What is lisp.run? I was doing a pretty simple calculation, which ended up taking a long time (12+ hours, I was expecting maybe 30 minutes tops), and I noticed that lisp.run seemed to be doing all the work. After poking around, my best guess is that it was somehow being called by the abs() functi

[sage-devel] Re: lisp.run, server crash

2007-12-20 Thread Ismail Dönmez
Thursday 20 December 2007 16:08:16 tarihinde mhampton şunları yazmıştı: > What is lisp.run? As far as I know thats from clisp. Regards, ismail -- Never learn by your mistakes, if you do you may never dare to try again. --~--~-~--~~~---~--~~ To post to this grou

[sage-devel] Re: lisp.run, server crash

2007-12-20 Thread William Stein
On Dec 20, 2007 7:08 AM, mhampton <[EMAIL PROTECTED]> wrote: > > What is lisp.run? I was doing a pretty simple calculation, which lisp.run is the name of the clisp interpreter, which maxima uses. So in your calculation, you were evidentily doing a big maxima calculation. > ended up taking a lon

[sage-devel] Re: elliptic curve issues

2007-12-20 Thread William Stein
On Dec 20, 2007 4:21 AM, John Cremona <[EMAIL PROTECTED]> wrote: > Topic 2: package names. > > I am a little embarrassed that there is precisely one package (spkg) > whose name is a person's name (especially when it apparently results > in bug reports of the form "cremona causes fatal crash"). It

[sage-devel] Re: lisp.run, server crash

2007-12-20 Thread mhampton
OK, I will give the server logs here in case they are of interest. I am still not sure what went wrong. I will have to find a quicker way to do my calculation - perhaps cast things to floats, and use python's math.abs(). As a preamble to the server logs: it looked like I was dropped into a pyth

[sage-devel] Re: factoring benchmarks

2007-12-20 Thread Bill Hart
Hi Joel, Yes, it occurred to me this morning that conversion costs might be getting in the way. Does SAGE use the GP interpreter or the Pari library to do this computation? If it is using the Pari library, and the data conversion isn't quadratic time, then I don't think this should be a problem.

[sage-devel] Re: factoring benchmarks

2007-12-20 Thread Joel B. Mohler
On Thursday 20 December 2007 10:56, Bill Hart wrote: > Does SAGE use the GP interpreter or the Pari library to do this > computation? If it is using the Pari library, and the data conversion > isn't quadratic time, then I don't think this should be a problem. The library and I think the conversio

[sage-devel] Re: lisp.run, server crash

2007-12-20 Thread William Stein
On Dec 20, 2007 8:55 AM, mhampton <[EMAIL PROTECTED]> wrote: > > OK, I will give the server logs here in case they are of interest. I > am still not sure what went wrong. I will have to find a quicker way > to do my calculation - perhaps cast things to floats, and use python's > math.abs(). If

[sage-devel] Re: factoring benchmarks

2007-12-20 Thread Bill Hart
On 20 Dec, 16:22, "Joel B. Mohler" <[EMAIL PROTECTED]> wrote: > On Thursday 20 December 2007 10:56, Bill Hart wrote: > > > Does SAGE use the GP interpreter or the Pari library to do this > > computation? If it is using the Pari library, and the data conversion > > isn't quadratic time, then I don'

[sage-devel] blog post about sage: "today, there is a wide range of high-quality open source apps, and the list keeps on growing. Here's the latest, and it's a biggie:"

2007-12-20 Thread William Stein
Hi Sage-Devel, From http://opendotdotdot.blogspot.com/2007/12/sage-does-maths-of-free-software.html "One of the persistent myths about free software is that successes like Linux are one-offs, and that the open source methodology can't be applied easily to tackle complex software challenges. In

[sage-devel] Re: elliptic curve issues

2007-12-20 Thread John Cremona
eclib is ok (though I was tempted to make if jeclib ;)) though it does not capture the new modular symbol functionality, it is snappier than (say) meclib. Of course we should have started to think about this back at SD6. On 20/12/2007, William Stein <[EMAIL PROTECTED]> wrote: > > On Dec 20, 2007

[sage-devel] traffic to sagemath.org

2007-12-20 Thread William Stein
Hi Sage Developers, With help from Martin Albrecht, I've been tracking the traffic to sagemath.org here: http://sagemath.org/traffic.html Probably the most interesting graph is this one: http://www.alexa.com/data/details/traffic_details/sagemath.org?site0=sagemath.org&site1=www.maplesoft.com&s

[sage-devel] Re: elliptic curve issues

2007-12-20 Thread William Stein
On Dec 20, 2007 9:55 AM, John Cremona <[EMAIL PROTECTED]> wrote: > > eclib is ok (though I was tempted to make if jeclib ;)) If you make it eclib you increase the chances of getting outside contributions a little maybe. Also, I personally hope that your code gets picked up and improved a lot by

[sage-devel] Re: elliptic curve issues

2007-12-20 Thread John Cremona
OK, I'm convinced. So the next version I submit of cremona*.spkg will in fact be called eclib-.spkg. I hope the release managers will cooperate! Incidentally, cremona-20071116 can be removed from the list of optional packages currently available as it's an older version of what is now a non-opt

[sage-devel] Fwd: Symbolic Computation and Cryptography 2008

2007-12-20 Thread Martin Albrecht
Hi there, I am not sure if forwarding this e-mail is considered spaming the list but I figured some of the Sage developers would like to be aware of this if they aren't already. Sorry, if I am wrong, Martin == SCC 2008 First International

[sage-devel] plotting vectors

2007-12-20 Thread Jason Grout
Hi all, I'm teaching linear algebra next semester and plan to use Sage. In trying the "obvious" way to plot a vector: sage: v=vector([1,2]) sage: v.plot().show() I get what looks like a step function of the coordinates. Instead, I have to do: sage: v=vector([1,2]) sage: arrow((0,0),v).show

[sage-devel] build failures on Ubuntu and RHEL

2007-12-20 Thread noo
Hi, First two attempts to build sage failed. One on Ubuntu 7.10 with a gcc (4.1.3) internal error. Other on RHEL4 due to malformed config.h in spkg/build/ntl-5.4.1.p9/ src/src/. Details below FYI. Best wishes in this effort.

[sage-devel] Re: factoring benchmarks

2007-12-20 Thread Bill Hart
Here is the graph for generic polynomials: http://sage.math.washington.edu/home/wbhart/flint-trunk/graphing/factor-gen.png At about 1000 bits and length 6, NTL does seem to get ahead again. Bill. --~--~-~--~~~---~--~~ To post to this group, send email to sage-dev

[sage-devel] Re: build failures on Ubuntu and RHEL

2007-12-20 Thread William Stein
On Dec 20, 2007 10:44 AM, noo <[EMAIL PROTECTED]> wrote: > > Hi, > First two attempts to build sage failed. > One on Ubuntu 7.10 with a gcc (4.1.3) internal error. > Other on RHEL4 due to malformed config.h in spkg/build/ntl-5.4.1.p9/ > src/src/. > Details below FYI. > Best wishes in this effort.

[sage-devel] Re: build failures on Ubuntu and RHEL

2007-12-20 Thread Ismail Dönmez
Thursday 20 December 2007 20:11:04 tarihinde William Stein şunları yazmıştı: > On Dec 20, 2007 10:44 AM, noo <[EMAIL PROTECTED]> wrote: > > Hi, > > First two attempts to build sage failed. > > One on Ubuntu 7.10 with a gcc (4.1.3) internal error. > > Other on RHEL4 due to malformed config.h in spk

[sage-devel] Re: elliptic curve issues

2007-12-20 Thread William Stein
On Dec 20, 2007 10:18 AM, John Cremona <[EMAIL PROTECTED]> wrote: > > OK, I'm convinced. So the next version I submit of cremona*.spkg will > in fact be called eclib-.spkg. > > I hope the release managers will cooperate! They will. > Incidentally, cremona-20071116 can be removed from the list o

[sage-devel] Re: elliptic curve issues

2007-12-20 Thread Robert Bradshaw
On Dec 20, 2007, at 3:21 AM, John Cremona wrote: > Topic 1: isomorphisms between Weierstrass models > > For Robert B as author of weierstrass_morphism.py: It's not a bug but > I would recommend that you test for equality of j-invariants before > doing the harder work (which you do by extracting

[sage-devel] Re: plotting vectors

2007-12-20 Thread William Stein
On Dec 19, 2007 12:24 PM, Jason Grout <[EMAIL PROTECTED]> wrote: > I'm teaching linear algebra next semester and plan to use Sage. In > trying the "obvious" way to plot a vector: > > sage: v=vector([1,2]) > sage: v.plot().show() > > I get what looks like a step function of the coordinates. Yes,

[sage-devel] Re: factoring benchmarks

2007-12-20 Thread Bill Hart
I've redone both graphs since the generic NTL profiling code in FLINT was assuming that a length n polynomial had n+1 coefficients (my student had done this due to some confusion about the way coefficients were counted). The graph for polynomials with two large factors (at least): http://sage.ma

[sage-devel] Re: build failures on Ubuntu and RHEL

2007-12-20 Thread noo
http://copper.math.buffalo.edu/sage2.9_install.log On Dec 20, 1:11 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Dec 20, 2007 10:44 AM, noo <[EMAIL PROTECTED]> wrote: > ... > > This looks like something going wrong with the ntl auto-tuning code. > I regularly build sage on RHEL 4 also, I t

[sage-devel] Re: ticket 1441 -- latex(x_1,x1)

2007-12-20 Thread Jason Grout
Robert Bradshaw wrote: > On Dec 19, 2007, at 4:07 AM, Joel B. Mohler wrote: > >> On Tuesday 18 December 2007 22:54, Jason Grout wrote: >>> How would you propose getting an output like the second command? I >>> guess one possibility is that: >>> >>> sage: latex(var('variable123')) # where 123 cou

[sage-devel] Re: elliptic curve issues

2007-12-20 Thread John Cremona
I believe that it's fine in characteristics not 2 or 3. But once you have checked equality of j-invariants (which is of course easy and should be done first) and you have a candidate u, then computing r,s,t appropriately will give a transform which is *guaranteed* to be correct. My question to y

[sage-devel] Re: ticket 1441 -- latex(x_1,x1)

2007-12-20 Thread William Stein
On Dec 20, 2007 12:23 PM, Jason Grout <[EMAIL PROTECTED]> wrote: > > >> So, I would summarize Robert and Jason's discussion as agreeing > >> that the bug > >> is invalid? > > > > Yes. > > If this bug is marked invalid, I think we ought to have huge warning > signs somewhere. I think the bug has a

[sage-devel] Re: plotting vectors

2007-12-20 Thread John Cremona
I have never been a fan of the "arrow" view of vectors, as (to my mind) it causes a lot of confusion when the students move on to "real" multidimensional linear algebra. What I would expect to see if I asked for a plot of the (real) vector (2,1) would be a big fat dot at the appropriate position

[sage-devel] Re: plotting vectors

2007-12-20 Thread William Stein
On Dec 20, 2007 1:03 PM, John Cremona <[EMAIL PROTECTED]> wrote: > > I have never been a fan of the "arrow" view of vectors, as (to my > mind) it causes a lot of confusion when the students move on to "real" > multidimensional linear algebra. What I would expect to see if I > asked for a plot of

[sage-devel] Re: factoring benchmarks

2007-12-20 Thread Bill Hart
For comparison, here is our favourite non-free closed source package vs Pari and NTL for factoring with two large factors: Magma vs Pari: http://sage.math.washington.edu/home/wbhart/flint-trunk/graphing/magpari-factor.png Magma vs NTL: http://sage.math.washington.edu/home/wbhart/flint-trunk/gr

[sage-devel] Re: "solving" equations that are always true

2007-12-20 Thread William Stein
On Dec 19, 2007 11:48 AM, Carl Witty <[EMAIL PROTECTED]> wrote: > > On Dec 18, 10:49 pm, "[EMAIL PROTECTED]" > <[EMAIL PROTECTED]> wrote: > > Is this working as intended? > > > > The first statement should return the same as the second, and the > > third statemnt is ok. > > > > sage: solve([3==3,

[sage-devel] Re: factoring benchmarks

2007-12-20 Thread William Stein
On Dec 20, 2007 1:13 PM, Bill Hart <[EMAIL PROTECTED]> wrote: > > For comparison, here is our favourite non-free closed source package > vs Pari and NTL for factoring with two large factors: > > Magma vs Pari: > > http://sage.math.washington.edu/home/wbhart/flint-trunk/graphing/magpari-factor.png

[sage-devel] Re: factoring benchmarks

2007-12-20 Thread Bill Hart
And here we go for generic polynomials: Magma vs Pari: http://sage.math.washington.edu/home/wbhart/flint-trunk/graphing/magpari-factor-gen.png Magma vs NTL: http://sage.math.washington.edu/home/wbhart/flint-trunk/graphing/magNTL-factor-gen.png Bill. On 20 Dec, 20:13, Bill Hart <[EMAIL PROTEC

[sage-devel] Re: example of a Mathematica program from my lecture

2007-12-20 Thread Ondrej Certik
On Dec 20, 2007 9:39 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > Hi, > > today I was attending a Lie group lecture and the teacher Karel Houfek > wrote the attached program in Mathematica > to calculate some Lie groups generators etc. So my first question was > if I can make it public > and wit

[sage-devel] Re: Sage vs Octave

2007-12-20 Thread Ondrej Certik
> > (a) eternal peace and prosperity for mankind > > (b) infinite personal power and wealth > > (c) having the people responsible for designing Fortran run time > > libraries and linker modes/modules beamed into space > > > > I would choose (c) without having to think about it. > > I don't know

[sage-devel] Re: build failures on Ubuntu and RHEL

2007-12-20 Thread mabshoff
On Dec 20, 7:14 pm, Ismail Dönmez <[EMAIL PROTECTED]> wrote: > Thursday 20 December 2007 20:11:04 tarihinde William Stein şunları yazmıştı: > > > > > On Dec 20, 2007 10:44 AM, noo <[EMAIL PROTECTED]> wrote: > > > Hi, > > > First two attempts to build sage failed. > > > One on Ubuntu 7.10 with a

[sage-devel] Re: factoring benchmarks

2007-12-20 Thread Bill Hart
I fixed the four magma graphs above so that they take into account the time to compute and divide by the content, since Pari and NTL certainly do that. The result is just about the same. Magma is significantly faster for longer polynomials, usually a factor of about 2.5, though it varies a bit.

[sage-devel] Re: example of a Mathematica program from my lecture

2007-12-20 Thread William Stein
On Dec 20, 2007 1:39 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > However, the biggest problem is the 2GB space for the windows wmware > image. (Yes, all people I know that > use Mathematica, use it from windows). Two of my friends told me Sage > is just too big for them and I agree. > If Michae

[sage-devel] Re: [sage-newbie] Re: How do I use R from Sage 2.9?

2007-12-20 Thread William Stein
On Dec 20, 2007 3:04 PM, Simon Beaumont <[EMAIL PROTECTED]> wrote: > > Is there some secret handshake I should use or did I ask a difficult > question? Give us money :-) Just kidding! A lot of Sage developers -- like me -- are on vacation for the holidays right now. > On Dec 18, 10:26 pm, Simo

[sage-devel] Re: traffic to sagemath.org

2007-12-20 Thread David Joyner
Does Spain in the number 2 position of "Sagemath.org users come from these countries:" mean that Spain downloads more copies of SAGE than any other country but the US? Or i it just webpage accesses? On Dec 20, 2007 12:06 PM, William Stein <[EMAIL PROTECTED]> wrote: > > Hi Sage Developers, > > Wi

[sage-devel] Re: traffic to sagemath.org

2007-12-20 Thread William Stein
On Dec 20, 2007 3:58 PM, David Joyner <[EMAIL PROTECTED]> wrote: > > Does Spain in the number 2 position of > "Sagemath.org users come from these countries:" > mean that Spain downloads more copies of SAGE than > any other country but the US? Or i it just webpage > accesses? It is webpage access

[sage-devel] Re: factoring benchmarks

2007-12-20 Thread Bill Hart
Taking a look at the actual data from the timings I did, the time taken to factor varies much more in Magma than in NTL. Here are the Magma timings for length 341 polynomials: 341 1 1.020e+06 1.723e+06 341 2 9.600e+05 3.090e+06 341 3 1.937e+06 3.177

[sage-devel] #1426: new trac view: tickets ***reported by*** given user

2007-12-20 Thread David Harvey
Hi paul, is this what you wanted? http://sagetrac.org/sage_trac/report/9 david --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this gr

[sage-devel] Notebook listing usernames

2007-12-20 Thread Robert Miller
As pointed out by Michael Abshoff, it seems like an information leak to list all the usernames on a notebook when you fail to use a valid one to log in. Thoughts? --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe f

[sage-devel] Re: #1426: new trac view: tickets ***reported by*** given user

2007-12-20 Thread Robert Miller
David, Did you mean to attach something to that ticket? -- Robert M On Dec 20, 8:07 pm, David Harvey <[EMAIL PROTECTED]> wrote: > Hi paul, > > is this what you wanted? > > http://sagetrac.org/sage_trac/report/9 > > david --~--~-~--~~~---~--~~ To post to this gro

[sage-devel] Re: #1426: new trac view: tickets ***reported by*** given user

2007-12-20 Thread David Harvey
On Dec 20, 2007, at 8:47 PM, Robert Miller wrote: > David, > > Did you mean to attach something to that ticket? no... sorry I put "[with patch]" but I really meant "[solution has been implemented]" but no-one ever writes that and I didn't want to feel left out :-( The point is that the

[sage-devel] Re: #1426: new trac view: tickets ***reported by*** given user

2007-12-20 Thread Yi Qiang
I believe it is supposed to be a custom view that shows tickets you've reported, although it's not working for me. On Dec 20, 2007 5:47 PM, Robert Miller <[EMAIL PROTECTED]> wrote: > > David, > > Did you mean to attach something to that ticket? > > > -- Robert M > > > On Dec 20, 8:07 pm, David Ha

[sage-devel] Re: #1426: new trac view: tickets ***reported by*** given user

2007-12-20 Thread David Harvey
On Dec 20, 2007, at 8:52 PM, Yi Qiang wrote: > I believe it is supposed to be a custom view that shows tickets you've > reported, although it's not working for me. Are you logged in? (I don't suppose you're seeing tickets reported by ME? (i.e. by dmharvey?) Did I mess up?) david --~--~---

[sage-devel] Re: #1426: new trac view: tickets ***reported by*** given user

2007-12-20 Thread mabshoff
On Dec 21, 2:56 am, David Harvey <[EMAIL PROTECTED]> wrote: > On Dec 20, 2007, at 8:52 PM, Yi Qiang wrote: > > > I believe it is supposed to be a custom view that shows tickets you've > > reported, although it's not working for me. > > Are you logged in? > > (I don't suppose you're seeing ticket

[sage-devel] Sage 2.9.1.alpha2

2007-12-20 Thread Robert Miller
Sage 2.9.1 alpha2 is out, available at: http://sage.math.washington.edu/home/rlmill/sage-2.9.1.alpha2.tar Closed tickets: alpha2: #1064 - Robert Miller - permutation __call__ type check #1175 - Michael Abshoff - circular link in sage/local/lib/python2.5 #1233 - Michael Abshoff, John Cremona - mw

[sage-devel] Re: Notebook listing usernames

2007-12-20 Thread William Stein
On Dec 20, 2007 6:24 PM, Robert Miller <[EMAIL PROTECTED]> wrote: > > As pointed out by Michael Abshoff, it seems like an information leak > to list all the usernames on a notebook when you fail to use a valid > one to log in. Thoughts? This exact question comes up about every other week. Are y

[sage-devel] Re: Notebook listing usernames

2007-12-20 Thread William Stein
On Dec 20, 2007 10:57 PM, William Stein <[EMAIL PROTECTED]> wrote: > On Dec 20, 2007 6:24 PM, Robert Miller <[EMAIL PROTECTED]> wrote: > > > > As pointed out by Michael Abshoff, it seems like an information leak > > to list all the usernames on a notebook when you fail to use a valid > > one to lo

[sage-devel] Re: Sage 2.9.1.alpha2

2007-12-20 Thread William Stein
On Dec 20, 2007 7:30 PM, Robert Miller <[EMAIL PROTECTED]> wrote: > > Sage 2.9.1 alpha2 is out, available at: > > http://sage.math.washington.edu/home/rlmill/sage-2.9.1.alpha2.tar Robert, What's the plan? What needs to happen to go from 2.9.1.alpha2 to a release candidate and a release? -- Wi

[sage-devel] Re: Notebook listing usernames

2007-12-20 Thread boothby
That was my initial reaction, too. In a closed system, it makes sense -- for the public notebook, it doesn't immediately seem like such a bad thing, but it lends to a scary attack. Robert makes an account on the public notebook. Robert sees William's account on the failure page, so creates an