[sage-support] Re: bug in trac's diff?

2008-05-09 Thread John Cremona
That's what it shows for a new file added to the repository, so the diff it shows is the diff between the new file and nothing, i.e. /dev/null. I think! John 2008/5/9 David Joyner [EMAIL PROTECTED]: Hi: Does /dev/null, around 40-50 lines down in

[sage-support] Re: bug in trac's diff?

2008-05-09 Thread mabshoff
On May 9, 9:42 am, John Cremona [EMAIL PROTECTED] wrote: Hi, That's what it shows for a new file added to the repository, so the diff it shows is the diff between the new file and nothing, i.e. /dev/null.  I think! That is correct. I still consider this odd, but you can always download the

[sage-support] md5sums of source code tarballs on download page?

2008-05-09 Thread Dan Drake
On the download page for the source code [1] it would be useful if, next to each link, there was a link to an md5sum (or sha1sum, etc) of the tarball. I know we've seen some corrupted downloads, and if an md5sum link is easy to find, it might encourage people to use it. (Similar md5sum files

[sage-support] Re: md5sums of source code tarballs on download page?

2008-05-09 Thread mabshoff
On May 9, 8:46 am, Dan Drake [EMAIL PROTECTED] wrote: On the download page for the source code [1] it would be useful if, next to each link, there was a link to an md5sum (or sha1sum, etc) of the tarball. I know we've seen some corrupted downloads, and if an md5sum link is easy to find, it

[sage-support] Fwd: ValueError

2008-05-09 Thread William Stein
On Fri, May 9, 2008 at 5:02 AM, Babai [EMAIL PROTECTED] wrote: The RUN 2nd time: x,y=var(x,y) f(x,y)=sin(x)+cos(y) grads=[diff(f,var) for var in (x,y)] plot_vector_field(grads,[-5,5],[-5,5]) Result Traceback (most recent call last):grads=[diff(f,var) for var in (x,y)] ValueError:

[sage-support] Re: problem with 'view', question about 'view'

2008-05-09 Thread Yi Qiang
This actually bothered me for a while too. There is a patch on the trac ticket, please test it out on Linux :-) On Thu, May 8, 2008 at 5:16 PM, William Stein [EMAIL PROTECTED] wrote: On Thu, May 8, 2008 at 5:12 PM, William Stein [EMAIL PROTECTED] wrote: On Wed, May 7, 2008 at 12:26 PM, John H

[sage-support] Re: Fwd: ValueError

2008-05-09 Thread Marshall Hampton
I'm not sure I agree that this is a bug. After using the name var in the loop, the value of var is y. y is a symbolic variable, and when evaluated at the string x,y it returns x,y; this seems like desirable behavior (to have string-valued functions seems OK to me). Or another way to put it: if

[sage-support] Re: Fwd: ValueError

2008-05-09 Thread William Stein
On Fri, May 9, 2008 at 9:28 AM, Marshall Hampton [EMAIL PROTECTED] wrote: I'm not sure I agree that this is a bug. After using the name var in the loop, the value of var is y. y is a symbolic variable, and when evaluated at the string x,y it returns x,y; this seems like desirable behavior

[sage-support] Re: Fwd: ValueError

2008-05-09 Thread Marshall Hampton
Ah, ok. I am probably not the right person to weigh in on what symbolics should do. I'll be happy if I can do most of what I could do in mathematica - since I used it for 16 years, it defines what I expect, but of course it won't always be the right design to follow for Sage. -M. Hampton On

[sage-support] Re: problem with 'view', question about 'view'

2008-05-09 Thread John H Palmieri
On May 9, 9:23 am, Yi Qiang [EMAIL PROTECTED] wrote: This actually bothered me for a while too. There is a patch on the trac ticket, please test it out on Linux :-) Works okay for me. (By the way, I am unable to reproduce my problem from a few days ago, either before applying the patch or

[sage-support] Re: Fwd: ValueError

2008-05-09 Thread William Stein
On Fri, May 9, 2008 at 10:03 AM, Marshall Hampton [EMAIL PROTECTED] wrote: Ah, ok. I am probably not the right person to weigh in on what symbolics should do. I'll be happy if I can do most of what I could do in mathematica - since I used it for 16 years, it defines what I expect, but of

[sage-support] Re: Counting complex number in a Tuples

2008-05-09 Thread didier deshommes
On Fri, May 9, 2008 at 1:59 PM, Rose [EMAIL PROTECTED] wrote: Hi Rose, Second, it becomes pretty long went there are complex numbers in my Tuples (more than 30 secondes for 7 elements). This does take time, interestingly when the numbers are symbolic: {{{ sage: f=range(6) sage: %time

[sage-support] Re: Fwd: ValueError

2008-05-09 Thread Jason Grout
Marshall Hampton wrote: It occurred to me that maybe I should supply a more non-trivial example of rules/patterns/subs in mathematica. Here is just one: we replace exponents of polynomials with the famous 3x+1 sequence (Collatz, whatever) until they stabilize: In: {x^2, x^3 + x^200, x^4

[sage-support] Re: Counting complex number in a Tuples

2008-05-09 Thread John Cremona
Didier, I am sure you are right but I thought it best to deal with one matter at a time! From Rose's posting it looked as if she was just trying to count instances in a list, while Tuples is a much more complicated function. John 2008/5/9 didier deshommes [EMAIL PROTECTED]: On Fri, May 9,

[sage-support] Re: [sage-newbie] Re: Will Sage run on a 4GB Asus Eee PC?

2008-05-09 Thread David Joyner
It turns out that next year it is very possible that all USNA freshamn will have an asus eee. The debate seems to be about the amount of ram it should have. I can borrow one next week. It has xandros linux 500M ram, 2G hard drive, wireless but no cd or dvd drive. I think I can also borrow a 8G SD

[sage-support] Re: Counting complex number in a Tuples

2008-05-09 Thread didier deshommes
On Fri, May 9, 2008 at 3:12 PM, John Cremona [EMAIL PROTECTED] wrote: Didier, I am sure you are right but I thought it best to deal with one matter at a time! From Rose's posting it looked as if she was just trying to count instances in a list, while Tuples is a much more complicated

[sage-support] sage-vmware-deluxe-3.0.1

2008-05-09 Thread Adam Getchell
I've built a new version of the sage-vmware-deluxe-3.0.1 virtual machine. http://www.sagemath.org/SAGEbin/microsoft_windows/sage_deluxe.html It is running SAGE 3.0.1 on (X)Ubuntu 8.04 LTS patched as of 5/9/08 Enjoy! Adam -- Invincibility is in oneself, vulnerability in the opponent. -- Sun

[sage-support] Re: Will Sage run on a 4GB Asus Eee PC?

2008-05-09 Thread mabshoff
On May 9, 9:27 pm, David Joyner [EMAIL PROTECTED] wrote: hi David, It turns out that next year it is very possible that all USNA freshamn will have an asus eee. The debate seems to be about the amount of ram it should have. I can borrow one next week. It has xandros linux 500M ram, 2G hard

[sage-support] Re: Counting complex number in a Tuples

2008-05-09 Thread Rose
On 9 mai, 15:01, John Cremona [EMAIL PROTECTED] wrote: Are you sure that you need Tuple() at all for what you are doing? No I am not sure I need Tuple(). I am trying to draw some polygons on the complex plane, so I put the coordinates of the vertex (I am not sure it is the good word) in a

[sage-support] (latex(a\v), a) gives an error about calling something with too many arguments.

2008-05-09 Thread Jason Grout
Hi all, sage: a=matrix(QQ,3,3,range(9)) sage: v=matrix(QQ,3,1,range(3)) sage: (latex(a\v), a) gives an error. I think it has to do with the parsing of latex(a\v); it seems to try doing (latex(a._backslash_(v), a) (note the missing parenthesis in the call to latex. You see this more detailed

[sage-support] Re: Will Sage run on a 4GB Asus Eee PC?

2008-05-09 Thread Glenn H Tarbox, PhD
I have an asus eee sitting around... I put eeexbuntu on it so its not running the original os (btw, I recommend this... but there must be downsides) I could easily nail it up to the net so you could ssh into it which supports using vnc to view the screen though most of what you'd need would

[sage-support] Re: Will Sage run on a 4GB Asus Eee PC?

2008-05-09 Thread mabshoff
On May 9, 10:35 pm, Glenn H Tarbox, PhD [EMAIL PROTECTED] wrote: Hi Glen, I have an asus eee sitting around... I put eeexbuntu on it so its not running the original os (btw, I recommend this... but there must be downsides) I wouldn't stick with Xandros either ;) I could easily nail it up

[sage-support] Re: Counting complex number in a Tuples

2008-05-09 Thread mark mcclure
On May 9, 4:16 pm, Rose [EMAIL PROTECTED] wrote: No I am not sure I need Tuple(). I am trying to draw some polygons on the complex plane, so I put the coordinates of the vertex (I am not sure it is the good word) in a Turple(). Do you think there is a better way to do that? How about

[sage-support] Re: Counting complex number in a Tuples

2008-05-09 Thread Rose
How about something like the following: cpoints = [0, 1, 1+I] points = [[real(z), imag(z)] for z in cpoints] polygon(points).show(figsize=[8,8]) Mark Thank you, this is what I was trying to do! --~--~-~--~~~---~--~~ To post to this group, send email to