[sage-support] Re: What's easiest way to get Sage running on Windows for non-techie students?

2010-10-10 Thread Chris Seberino
On Oct 9, 7:24 pm, Jason Grout wrote: > [1]http://sagemath.org/download-windows.html That link has a WinZip'd VMWare blob that works fine. I didn't even read the directions...I just double clicked on binaries in the extracted directory until a VMWare Linux virtual session appeared with a Sage ic

[sage-support] What's easiest way to get Sage running on Windows for non-techie students?

2010-10-09 Thread Chris Seberino
What's easiest way to get Sage running on Windows for non-techie students? They'll be lost if the instructions are complicated. Possible to wrap a VMWare + Ubuntu + Sage blob into one big Windows exe file that requires no set up? -- To post to this group, send email to sage-support@googlegroups

[sage-support] Sage notebooks lose some content when they are saved.

2010-10-07 Thread Chris Seberino
I tried to save a Sage notebook I made on one of the public Sage servers and noticed some content at the end was chopped off and some cells in the middle were gone. I think I saw this a few months ago. Is there a fix for this? Perhaps the public Sage servers have old versions? Or maybe this is a

[sage-support] Re: Workaround or way to avoid notebook TinyMCE bug of shuffling/deleting text?

2009-10-28 Thread Chris Seberino
On Oct 27, 1:44 pm, William Stein wrote: >  (3) install the posted binary, then type the following in SAGE_ROOT > >   rm spkg/installed/mpir* spkg/installed/atlas*; make Beautiful! It worked. You seemed to have known that this was the cause of "Illegal Instruction" errors. Would it be a good

[sage-support] Workaround or way to avoid notebook TinyMCE bug of shuffling/deleting text?

2009-10-27 Thread Chris Seberino
I understand there is a well know bug in how Sage interacts with TinyMCE that causes text to be shuffled around or deleted. Is there a workaround or way to avoid this? (The latest version of Sage won't install on Ubuntu 9.04 for me w/o getting "Illegal Instruction" errors so that isn't an option

[sage-support] 4.1.2 giving "Illegal instruction" on Ubuntu 9.04

2009-10-21 Thread Chris Seberino
4.1.2 giving "Illegal instruction" on Ubuntu 9.04. I'm using a Lenovo R52 laptop. 4.1.1 worked. cs --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@goog

[sage-support] Easiest way to add Latex math equations to html like Sage notebooks?

2009-10-20 Thread Chris Seberino
Is there an easy way to add Latex math equations to html like Sage notebooks? cs --~--~-~--~~~---~--~~ 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 mo

[sage-support] How do superscripts, subscripts and Greek letters in notebook?

2009-10-20 Thread Chris Seberino
Possible to do superscripts, subscripts and Greek letters in notebooks? cs --~--~-~--~~~---~--~~ 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 opt

[sage-support] Possible to see parser output? e.g. 3+4*5 -> Add(3, Product(4,5) ) ??

2009-10-20 Thread Chris Seberino
For educational purposes it would be nice if possible to see all operations in an expression explicitly. Can Sage do something ilke convert 3+4*5 to something like: Add(3, Product(4,5) ) in the notebook when you press Evaluate? cs --~--~-~--~~~---~--~~ To post

[sage-support] Re: What is the default font in Sage notebooks? Possible to hardcode a new default?

2009-10-15 Thread Chris Seberino
On Oct 15, 2:21 pm, William Stein wrote: > Are you asking about TinyMCE, i.e., when you "shift-click" and edit > plain text between cells? yes --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group

[sage-support] What is the default font in Sage notebooks? Possible to hardcode a new default?

2009-10-15 Thread Chris Seberino
What is the default font in Sage notebooks? Possible to hardcode a new default? If I don't use the default, I've noticed I must respecify the desired font in every new text area because Sage keeps defaulting back to the default font. cs --~--~-~--~~~---~--~~ To po

[sage-support] How make worksheet run some code at startup like var("a b c d ... z") ??

2009-10-13 Thread Chris Seberino
How make worksheet run some code at startup? e.g. var("a b c d ... z") ? Currently my students need to evaluate var("a b c ... z") in every worksheet I give them. It would be nice to hardcode this into worksheets somehow. Thanks! Chris --~--~-~--~~~---~--~~ To

[sage-support] How Sage LiveCD possible since Sage is 1.5 Gb?

2009-10-13 Thread Chris Seberino
I saw an old Sage LiveCD on sagemath.org. I don't understand how this is possible since Sage unpacked is 1.5 Gb. A CD can hold around 650Mb and it must also include the Linux operating system. If there is a way please tell me as this would be useful for my less tech savvy Windows users. Sincer

[sage-support] How group terms in an expression? e.g. all terms containing x or y

2009-10-12 Thread Chris Seberino
How group terms in an expression? e.g. How group terms with x and y in: 3*x + m*x + a*y+b*y to get: (3 + m)*x + (a + b)*y ?? cs --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe f

[sage-support] Slowness when trying to serve multiple notebooks from same server.

2009-10-06 Thread Chris Seberino
I have an Ubuntu 9.04 Xen virtual machine with 350 Mb RAM. (from linode.com hosting services) I tried to have 7 people run notebooks off this server simultaneously and it was painfully slow for each. I started the server with this command... sage -notebook accounts=True ulimit="-v 10" & (A

[sage-support] How cleanly kill Sage notebook on command line?

2009-10-04 Thread Chris Seberino
I'm writing an /etc/init.d script to start and stop the Sage notebook. I'm not sure how to cleanly shutdown the notebook from the command line. ps -ef shows a lot of sage processes so it isn't obvious which one I should kill -9. I tried killing some but can't find the right one that shuts down

[sage-support] How make notebooks use common base for relative urls? e.g. /foo/login and /foo/register?

2009-10-02 Thread Chris Seberino
The wonderful Sage notebook uses relative urls like /login and /register. How make Sage notebook use relative urls with common base like /foo/login and /foo/register instead? (This is needed for the Apache proxying I'm trying to do.) Chris --~--~-~--~~~---~--~~

[sage-support] ubuntu sage install error: "line 199: 30899 Illegal instruction sage-ipython "$@" -i"

2009-09-12 Thread Chris Seberino
I installed sage-4.1.1-linux-Ubuntu_9.04-i686-Linux.tar.gz twice on my Ubuntu 9.04 laptop. Both times I get the following... /usr/local/sage-4.1.1-linux-Ubuntu_9.04-i686-Linux/local/bin/sage- sage: line 199: 30899 Illegal instruction sage-ipython "$@" -i cs --~--~-~--~~-

[sage-support] Re: Why is Sage called a Computer *Algebra* system? What is def of "algebra"?

2009-05-17 Thread Chris Seberino
On May 17, 11:29 am, john_perry_usm wrote: > I was under the very vague impression that computer algebra systems a > la Maple, Mathematica etc. were so-called because they started out > emphasizing algebraic and symbolic manipulation, and so came out of > the so-called "computer algebra" communit

[sage-support] Why is Sage called a Computer *Algebra* system? What is def of "algebra"?

2009-05-16 Thread Chris Seberino
Sage does calculus and geometry calculations so I don't understand why the term "Computer Algebra System" is so prevalent. What is the definition of "algebra"? Perhaps "algebra" means something like "the manipulation of a finite number of objects" ? Chris --~--~-~--~~~--

[sage-support] Re: Why this numerical integral bombs?

2009-04-27 Thread Chris Seberino
On Apr 27, 2:33 am, Jason Grout wrote: > I just upgraded to Jaunty over the weekend, and then compiled 3.4.1 from > scratch.  Both expressions work for me: Hmm. Does Sage leave a log build regarding the compilation? Perhaps my build had some errors yours doesn't have I should look for? cs -

[sage-support] Re: Why this numerical integral bombs?

2009-04-26 Thread Chris Seberino
On Apr 26, 1:36 am, mabshoff wrote: > I do not see how that rules out clisp 2.47 - or am I just not getting > what you are driving at :) I meant if I can recreate the problem from 3.4 source as well as 3.4.1 source then doesn't that mean I can recreate the problem in both version of clisp? He

[sage-support] Re: Why this numerical integral bombs?

2009-04-25 Thread Chris Seberino
On Apr 25, 7:02 pm, mabshoff wrote: > > What should I do until Sage 4.0?  Is there a way to tweak my 3.4.1 to > > use clisp 2.47? > > Do you mean clisp 2.46 since 3.4.1 ships with clisp 2.47 while Sage > 3.4 used clisp 2.46? Since *I* was able to reproduce the problem on 3.4 on Ubuntu Jaunty

[sage-support] Re: Why this numerical integral bombs?

2009-04-25 Thread Chris Seberino
On Apr 25, 5:36 pm, mabshoff wrote: > Not really, we switched from clisp 2.46 to 2.47 and if you look at > >    https://groups.google.com/group/sage-devel/t/753a8d2f3c052183 > > for some people who have had issues for a long, long time we could > never get to the bottom of all the sudden they c

[sage-support] Re: Why this numerical integral bombs?

2009-04-25 Thread Chris Seberino
On Apr 25, 2:10 am, mabshoff wrote: > I ran this on 3.4, 3.4.1 and a couple other rc releases in between: > > sage: for i in (0..200): > :     numerical_integral(sin(pi*exp(x/2)),0,2)[0] > : > > and I could not get a failure. Hmm. That is weird. I just compiled 3.4.1 from source and g

[sage-support] Re: Why this numerical integral bombs?

2009-04-24 Thread Chris Seberino
On Apr 24, 7:09 pm, mabshoff wrote: > So I cannot reproduce this. What platform are you on and are you using > a binary, build from source, etc? I'm on an Ubuntu 9.04 ThinkPad T41 laptop. I built my Sage install from 3.4 source myself as there was no binary yet for this latest Ubuntu. cs --~

[sage-support] Why this numerical integral bombs?

2009-04-24 Thread Chris Seberino
Notice first and second are very similar except for the cos() and exp (). Why first one ok but second bombs? sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0] 0.85397903781471396 sage: numerical_integral(sin(pi*exp(x/2)),0,2)[0] -

[sage-support] Ubuntu 8.04 Sage tarball doesn't work in Ubuntu 9.04?

2009-04-16 Thread Chris Seberino
Which Sage tarball/package should I use for Ubuntu 9.04 (Jaunty beta) ?? The Ubuntu 8.10 tarball doesn't work there. I get "9587 Illegal instruction" cs --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from

[sage-support] On best way to use plot() with functions...

2009-04-03 Thread Chris Seberino
def g(x): return numerical_integral(sin(t),0,x)[0] For the function g, this works: sage: plot(g,x,2,4) but not this sage:plot(g(x), x, 2, 4) If I'm not mistaken, the first form of plot above works with ALL functions right? So is there any reason to ever bother with second form just beca

[sage-support] Re: Why plot() won't plot this function?

2009-04-01 Thread Chris Seberino
On Mar 31, 11:06 am, Jason Grout wrote: > Oh, right.  Duh.  I should have seen that. Since you nor I did see that, should we ask if there is a way to unify the syntax for symbolic expressions and python functions to make plotting more "idiot proof" so to speak? Or maybe there is a good reason

[sage-support] Why plot() won't plot this function?

2009-03-30 Thread Chris Seberino
In a new sage session... (Notice the A(t) function returns values just fine. Why doesn't plot () like it?) sage: W(t)=95*sqrt(t)*sin(t/6)^2 sage: R(t)=275*sin(t/3)^2 sage: def A(t): : return 1200 + numerical_integral(W(x)-R(x),0,t)[0] : sage: A(0) 1200.0 sage: A(18) 1309

[sage-support] Re: When absolutely must declare vars?

2009-03-27 Thread Chris Seberino
On Mar 27, 5:58 am, kcrisman wrote: > And I wasn't implying one should always define callable functions, I > just meant it is an argument for doing so as often as possible when it > is reasonable.  I do not personally always like callable functions, > but this is an argument for doing it fairly

[sage-support] Re: How use substitute method in function definitions?

2009-03-27 Thread Chris Seberino
On Mar 27, 6:20 pm, Jason Grout wrote: > We already have plenty of approximation functions attached to the > symbolic functions. > sage: sin(1).numerical_approx() Yes. I was unclear. What I meant was it wouldn't make sense to use approximation function in the *definition* of a symbolic func

[sage-support] Re: How use substitute method in function definitions?

2009-03-27 Thread Chris Seberino
On Mar 27, 6:04 am, kcrisman wrote: > Maybe one > (you? :) ) can implement a catch... At first I was interested in this change but now I'm wondering if it is best the way it is now. f(x) = defines a symbolic object as was previously mentioned. A symbolic object is for analytical results

<    1   2