[sage-support] Re: Sage on the latest Ubuntu, _md5 ImportError

2012-02-07 Thread robin
I have the same problem on kubuntu 11.10. I fixed it with: sudo apt-get install libssl0.9.8 which worked for me. best wishes Robin On Jan 25, 9:35 pm, Ondřej Čertík wrote: > On Tue, Jan 24, 2012 at 9:58 PM, William Stein wrote: > > > On Tuesday, January 24, 2012, Ondřej Čertík wrote: > >

[sage-support] Re: Programming animation

2012-02-07 Thread LFS
Hiya Jason, It really depends and certainly I am no expert. And probably most of this is boring so feel free to ignore. As I said above, I use a combination of GeoGebra and Scratch and Sage and I am just starting with sage. I would say that MY most important use of the worksheets in SAGE has been

[sage-support] Re: Ubuntu 11.10 SAGE compilation

2012-02-07 Thread Volker Braun
ATLAS will not loop (though it takes almost forever and may fail to compile). You need more patience ;-) -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this gro

[sage-support] Re: Changing the latex representation of the output of derivative.

2012-02-07 Thread Oscar Lazo
On second thought, I think it would be better to use the airy equation to calculate derivatives or order higher than 1. Like sage: airy_ai(2,x) x*airy_ai(x) sage: airy_ai(3,x) airy_ai(x)+x*airy_ai_prime(x) sage: diff(airy_ai(x),x,2) x*airy_ai(x) sage: diff(airy_ai(x),x,3) airy_ai(x)+x*airy_ai_prim

Re: [sage-support] Re: functions

2012-02-07 Thread Robert Bradshaw
On Tue, Feb 7, 2012 at 1:07 PM, Chappman wrote: > Hi Rob, > I am pretty new to Sage and am not used to the syntex, so even though > I write [y1,y2] , i do not mean it as a list. > Basically what I am trying to do is try and get the folllowing code to > work, if the summation does come out correct

[sage-support] Re: functions

2012-02-07 Thread Chappman
Hi Rob, I am pretty new to Sage and am not used to the syntex, so even though I write [y1,y2] , i do not mean it as a list. Basically what I am trying to do is try and get the folllowing code to work, if the summation does come out correct ly x would be equal to 5 , i.e. x=5. I would not need to s

[sage-support] Ubuntu 11.10 SAGE compilation

2012-02-07 Thread firebird
Had a go at attempting to install the latest source code (downloaded yesterday). Installed gfortran and M4, then ran make on the source code. Make file seems to be repeated making the same file in an unending loop. Please advise. Sorry for the large chunk of the install.log, but not sure how els

Re: [sage-support] functions

2012-02-07 Thread Anton Sherwood
On 2012-2-07 01:18, Chappman wrote: Hi Rob, with this syntex: x=0 for y_1 in [1..2]: for y_2 in [1..y_1]: x += [y_1,y_2] print x what I am trying to do is, trying to use the two numbers y_1 and y_2 in x +=[y_1,y_2] to assign it a number from previously set conditions if y_1

Re: [sage-support] Re: SAGE server usernames

2012-02-07 Thread William Stein
On Tue, Feb 7, 2012 at 10:03 AM, John Cremona wrote: > Is there any kind of policy stated anywhere about using the public > servers such as sagenb.org for  class teaching?  I think I would > assume that if I were to use Sage for a class then it should be my > responsibility (or my institution's) t

[sage-support] Re: SAGE server usernames

2012-02-07 Thread Jason Grout
On 2/7/12 12:03 PM, John Cremona wrote: Is there any kind of policy stated anywhere about using the public servers such as sagenb.org for class teaching? I think I would assume that if I were to use Sage for a class then it should be my responsibility (or my institution's) to provide the servic

[sage-support] Re: SAGE server usernames

2012-02-07 Thread Gwyn
This was an experimental class, and we are debating about setting up a Sage server. I have a local installation of Sage for my own research, but was interested in the possibility of using it for this and other classes. We're also a fairly small school (1400 total students, with about 6-12 math ma

[sage-support] Re: Output display problems

2012-02-07 Thread Gwyn
Oh wonderful, thank you! On Feb 7, 12:41 pm, Jason Grout wrote: > On 2/7/12 11:04 AM, Gwyn wrote: > > > > > > > > > > > I've been using Sage as part of an abstract algebra class.  The two > > sample worksheet I've been running are: > > >http://www.sagenb.org/home/pub/4099/ > >http://www.sagenb.or

[sage-support] Re: jmol won't display

2012-02-07 Thread Jason Grout
On 2/7/12 12:44 PM, Gutow, Jonathan H wrote: Unfortunately, I only have time for lunch between classes today. I won't be able to do any real digging until this evening (and then little as I have and early lecture to give). But I can confirm that the Jmol applet does not get the correct data unt

[sage-support] Re: jmol won't display

2012-02-07 Thread David
Well, the mystery persists. The stock firefox direct from mozilla has the same problem. Maybe it really is a 10.04 library. -- David -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For

[sage-support] Re: jmol won't display

2012-02-07 Thread Jason Grout
On 2/7/12 12:28 PM, David wrote: That's one of the things I tried. But now I think something deeper is going on: it appears from the jmol docs that "source" is a synonym for "script", so I tried that. Firefox throws the same error, including the word "script". Chrome works fine. So the problem ma

[sage-support] Re: jmol won't display

2012-02-07 Thread David
That's one of the things I tried. But now I think something deeper is going on: it appears from the jmol docs that "source" is a synonym for "script", so I tried that. Firefox throws the same error, including the word "script". Chrome works fine. So the problem may be down in jmolApplet? Anyway, if

[sage-support] Re: jmol won't display

2012-02-07 Thread Jason Grout
On 2/7/12 12:19 PM, David wrote: I've played around with jmol_applet a bit now, and the problem seems to be when jmol's jmolApplet is called, probably with the "script" string as an argument. The firefox I'm running was distributed by canonical, so it's entirely possible they screwed something up

[sage-support] Re: jmol won't display

2012-02-07 Thread David
I've played around with jmol_applet a bit now, and the problem seems to be when jmol's jmolApplet is called, probably with the "script" string as an argument. The firefox I'm running was distributed by canonical, so it's entirely possible they screwed something up in 10.04 that is ok in 11.04. I ma

Re: [sage-support] Re: SAGE server usernames

2012-02-07 Thread John Cremona
Is there any kind of policy stated anywhere about using the public servers such as sagenb.org for class teaching? I think I would assume that if I were to use Sage for a class then it should be my responsibility (or my institution's) to provide the service, not to reply on the public server. Of

[sage-support] Re: jmol won't display

2012-02-07 Thread Jason Grout
On 2/7/12 11:49 AM, Jason Grout wrote: On 2/7/12 10:40 AM, David wrote: Here's the console with the trace. I added a "starting ..." message at the beginning of the function, then the trace. http://skink.whitman.edu/sage_error_2.png In trying to diagnose this, I noticed another error. Apparent

[sage-support] Re: jmol won't display

2012-02-07 Thread Jason Grout
On 2/7/12 10:40 AM, David wrote: Here's the console with the trace. I added a "starting ..." message at the beginning of the function, then the trace. http://skink.whitman.edu/sage_error_2.png In trying to diagnose this, I noticed another error. Apparently on sagenb.org, creating a 3d plot t

[sage-support] Re: SAGE server usernames

2012-02-07 Thread Jason Grout
On 2/7/12 11:09 AM, Gwyn wrote: A second problem I've encountered trying to use sage for this class: Initially, after I'd created a Sage notebook account, if I logged out for more than (around) an hour and tried to log back in, I would receive a message: "Username does not exist." I created th

[sage-support] Re: Output display problems

2012-02-07 Thread Jason Grout
On 2/7/12 11:04 AM, Gwyn wrote: I've been using Sage as part of an abstract algebra class. The two sample worksheet I've been running are: http://www.sagenb.org/home/pub/4099/ http://www.sagenb.org/home/pub/4100/ In these, and other worksheets I've created to try and troubleshoot, I'm experien

[sage-support] Re: SAGE server usernames

2012-02-07 Thread Jason Grout
On 2/7/12 11:09 AM, Gwyn wrote: A second problem I've encountered trying to use sage for this class: Initially, after I'd created a Sage notebook account, if I logged out for more than (around) an hour and tried to log back in, I would receive a message: "Username does not exist." I created th

Re: [sage-support] SAGE server usernames

2012-02-07 Thread William Stein
On Tue, Feb 7, 2012 at 9:09 AM, Gwyn wrote: > A second problem I've encountered trying to use sage for this class: Which version of stuff? http://sagenb.org? Your own install? Something else? > > Initially, after I'd created a Sage notebook account, if I logged out > for more than (around) a

[sage-support] SAGE server usernames

2012-02-07 Thread Gwyn
A second problem I've encountered trying to use sage for this class: Initially, after I'd created a Sage notebook account, if I logged out for more than (around) an hour and tried to log back in, I would receive a message: "Username does not exist." I created the same username a second time with

[sage-support] Output display problems

2012-02-07 Thread Gwyn
I've been using Sage as part of an abstract algebra class. The two sample worksheet I've been running are: http://www.sagenb.org/home/pub/4099/ http://www.sagenb.org/home/pub/4100/ In these, and other worksheets I've created to try and troubleshoot, I'm experiencing the following problem. When

[sage-support] Re: jmol won't display

2012-02-07 Thread David
Oh, and yes, "shift return" works fine. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www

[sage-support] Re: jmol won't display

2012-02-07 Thread David
Here's the console with the trace. I added a "starting ..." message at the beginning of the function, then the trace. http://skink.whitman.edu/sage_error_2.png -- David -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-supp

Re: [sage-support] Re: Changing the latex representation of the output of derivative.

2012-02-07 Thread Burcin Erocal
On Tue, 7 Feb 2012 06:56:30 -0800 (PST) Oscar Lazo wrote: > On 7 feb, 04:48, Burcin Erocal wrote: > > I don't think we want to have separate functions for the > > derivatives in Sage. These might help you get around the printing > > problem for now, but they are not useful in general. > I di

[sage-support] Re: Changing the latex representation of the output of derivative.

2012-02-07 Thread Oscar Lazo
On 7 feb, 04:48, Burcin Erocal wrote: > You need to add an _eval_() function which calls _evalf_() if the > argument is not exact. See this patch for an example: > > http://trac.sagemath.org/sage_trac/attachment/ticket/4498/trac_4498-s... Done :) > The _evalf_() function in your patch hard cod

[sage-support] Re: Programming animation

2012-02-07 Thread Socius
On 7 Feb, 12:13, LFS wrote: > OM - I just tried pasting the applet code from geogebra into my sage > page - loads slow in the notebook, but seems okay in the published. > Never thought of that! Thanks. > Here is link:http://sagenb.org/home/pub/4250 THIS IS COOL! This is really interesting.

[sage-support] Re: Programming animation

2012-02-07 Thread Jason Grout
On 2/7/12 5:13 AM, LFS wrote: I have this dream too; I get so annoyed when mathematicians (myself totally included) spend time forcing our students to learn techniques that a computer can do, but don't spend time teaching them carefully and with understanding the techniques a computer cannot do.

Re: [sage-support] Re: jmol won't display

2012-02-07 Thread Dan Drake
On Mon, 06 Feb 2012 at 08:58PM -0600, Jason Grout wrote: > Do you have the Sun Java installed, or the Iced Tea thing? IIRC, > you need to install the sun jdk; the iced tea version won't work. I > know others have dealt with java issues with jmol on ubuntu before > (for example, Dan Drake, if I rec

[sage-support] Re: Programming animation

2012-02-07 Thread LFS
Hiya all - thanks for all the replies! @Nils I will definitely try the code and get back to you. I am a very slow worker ... @A I am the "voice" of the http://youtube.com/geogebrachannel (everyone else is mostly the strong silent type :) ) @Kcrisman, et.al. Please write me lfahlb...@gmail.com for t

Re: [sage-support] Re: Changing the latex representation of the output of derivative.

2012-02-07 Thread Burcin Erocal
Hi Oscar, On Tue, 7 Feb 2012 00:08:04 -0800 (PST) Oscar Lazo wrote: > Done: > > http://trac.sagemath.org/sage_trac/ticket/12455 Thanks! > I've added a patch, which should do the job, but it has a few > shortcomings: > > 1.-The resulting symbolic functions seem to remain on hold: > > sage: a

[sage-support] Re: functions

2012-02-07 Thread Chappman
Hi Rob, with this syntex: > x=0 > for y_1 in [1..2]: > for y_2 in [1..y_1]: > x += [y_1,y_2] > print x what I am trying to do is, trying to use the two numbers y_1 and y_2 in x +=[y_1,y_2] to assign it a number from previously set conditions > if y_1 = y_2: > y_1 = y_2 = 2 > el

[sage-support] Re: Changing the latex representation of the output of derivative.

2012-02-07 Thread Oscar Lazo
Done: http://trac.sagemath.org/sage_trac/ticket/12455 I've added a patch, which should do the job, but it has a few shortcomings: 1.-The resulting symbolic functions seem to remain on hold: sage: airy_ai(1.0) airy_ai(1.00) You need to force it to evaluate: sage: airy_ai(1.0).n() 0