[sage-support] Re: setup a sage server
On Fri, 17 Apr 2009 at 10:14AM -0700, ggrafendorfer wrote: OK, then I can run the server version of sage from my computer via ssh, Just so you know: there's no server version or non-server version of Sage. If you have a working copy of Sage, you can run a notebook server. I also agree with the suggestion that you *not* run a notebook server on a computer dedicated to other tasks without putting it in a virtual machine or taking other strict security measures. A person using the Sage notebook can run arbitrary Python code on that computer, which means that person can access all sorts of things on that computer. There are some guides to running a notebook server in a VM: here's one I wrote: http://wiki.sagemath.org/DanDrake/JustEnoughSageServer Dan -- --- Dan Drake dr...@kaist.edu - KAIST Department of Mathematical Sciences --- http://mathsci.kaist.ac.kr/~drake signature.asc Description: Digital signature
[sage-support] Re: Fwd: notebook
On Fri, 17 Apr 2009 at 01:28PM -0700, William Stein wrote: -- Forwarded message -- From: RALPH THOMAS rthomas...@msn.com Date: Fri, Apr 17, 2009 at 1:15 PM Subject: notebook To: Willian Stein wst...@gmail.com [...] You are a real Sage wizard. I should hope William is a Sage wizard! Have you created an interface between html pages and Sage? A page comes up with a form or something like it and the student enters an integral to work and the solution is calculated by Sage and the answer is printed(pretty_print) on the html page. Interactive. There's a simple Sage API: http://hg.sagemath.org/sage-main/file/tip/sage/server/simple/twist.py (for the benefit of anyone reading this thread) Dan -- --- Dan Drake dr...@kaist.edu - KAIST Department of Mathematical Sciences --- http://mathsci.kaist.ac.kr/~drake signature.asc Description: Digital signature
[sage-support] Re: jsmath fonts bafflement
Kevin Horton wrote: I am running sage 3.4 on OS X. I get the well known jsmath fonts messages when I try to view a notebook worksheet from my work computer. Our work PCs are so locked down that I cannot install additional fonts there, so I need to address this on the server end. I have spent hours reading the docs, messages and trac entries info about jsmath fonts, but I haven't found a solution yet. I tried manually installing the 80 MB of jsmath image fonts on the sage server. That didn't do it. I then tried: sage -i jsmath-3.6a.p0, but that did nothing, as it claimed the fonts were already installed. I tried sage -f jsmath-3.6a.p0 - that at least claimed to install the fonts. I restarted sage, and rebooted the work PC, but I still got the jsmath warnings, and ugly latex output. I then tried, inside sage: install_package('jsmath-image- fonts-1.3p1') I restarted sage, and rebooted the work PC, but I still got the jsmath warnings, and ugly latex output. What else should I try? Other than this small issue, sage is wonderful. Try (from the command line): sage -f jsmath-image-fonts-1.3p1 and (if that doesn't fix the problem), post the output to the above command in a message here. There may be a problem with you getting the jsmath-image-fonts spkg. Thanks, Jason --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Plot a vertical label in the y axis and LaTeX typesetting.
Jose Guzman wrote: William Stein wrote: On Wed, Apr 15, 2009 at 10:56 AM, William Stein wst...@gmail.com wrote: On Wed, Apr 15, 2009 at 10:37 AM, Jose Guzman n...@neurohost.org wrote: William Stein wrote: 2009/4/15 William Stein wst...@gmail.com: 2009/4/15 Jose Guzman n...@neurohost.org: Hi there I am trying to teach some simple principles of single compartment models with sage and I plotted a couple of exponential equations in my notebook. Although I got a nice x-axis () and other labels and similar things, I cannot find a way to plot the y-axis in the vertical axis. Is there anyway to do it? You can take a look to my notebook to see what I mean http://sagenb.org/home/pub/457 Another additional problem is that the LaTeX fonts are pretty small, and I cannot represent Greek letters (like alpha, tau, pi,etc..) in the labels (see the syntax bellow). xlabel = text('Time (Units of $\tau$)',(3,-.10), rgbcolor='black') This \tau does not show up in the graphic, but strange enough, this works out of the box (pretty small though) lnlabel = text('Unrecoverable fraction ($f_{U} = 1 - f_{S}$)',(4,FS+.05),rgbcolor='black') thank you very much in advance for your help and care! Just one remar. There is a fontsize option to text: xlabel = text('Time (Units of $\tau$)',(3,-.10), rgbcolor='black', fontsize=30) William The second remark is that backslash is an escape character for strings in (almost) all programming languages. You have to do \\ to get a single backslash, so this works: xlabel = text('Time (Units of $\\tau$)',(3,-.10), rgbcolor='black', fontsize=30) Or you can do: xlabel = text(r'Time (Units of $\tau$)',(3,-.10), rgbcolor='black', fontsize=30) Thank you very much for your remarks, everything worked fine, except for that I did not manage to create a vertical oriented y-axis label. That might not be implemented yet in Sage directly. I think the solution would be to import the matplotlib python module and use it under Sage, however I did not find a proper manual to follow. Here is how to use matplotlib directly in the Sage notebook: import pylab as p p.figure() t = p.arange(0.01, 2.0, 0.01) s = p.sin(2 * p.pi * t) s = p.array([float(f(x)) for x in t]) P = p.plot(t, s, linewidth=4) p.xlabel('time (s)'); p.ylabel('voltage (mV)') p.title('Matlab-style plotting in Sage') p.grid(True) p.savefig('sage.png') The above example depends on a function f being defined, e.g., x = var('x') f(x) = sin(3*x)*x+log(x) + 1/(x+1)^2 Thank you very much for your nice example. Actually I became confused with all the backend stuff, but this example I realize how to use matplotlib under Sage, although I have to admit I love the plotting capabilities of Sage. Is there any way I can have a look to the code so that I might try to implement some new characteristisc (like y-axis, fontsize of the axis, etc...) Yes. In fact, the ability to look at the code is one of the main reasons for Sage's existence! The code for plotting is in the directory: $SAGE_ROOT/devel/sage/sage/plot/ where $SAGE_ROOT is the directory that contains the sage binary. Thanks, Jason --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Exterior algebra
Thanks for the help, Everyone. Learning to construct the exact ring I wanted in Singular took some effort, but SuperCommutative() gave me the construction I needed and saved me piles of computation. (I don't know how to apply patches and so didn't attempt the 'native' solution, but I'm grateful for those comments anyway.) (Also, hi again, Martin.) Best, Travis On Apr 17, 3:09 am, simon.k...@uni-jena.de wrote: Hi Travis, On 17 Apr., 10:32, Travis Willse travis.wil...@gmail.com wrote: Is there a reasonable way to implement the exterior (alternating) algebra of a finite-dimensional vector space? One could do this with FreeAlgebraQuotient, but I want to compute the exterior algebra over QQ^7, which is large enough (dimension 128) that using that class would be tedious. I had a similar setting: Graded commutative rings, i.e., homogeneous elements in odd degree anticommute among each other, and homogeneous elements in even degree are in the center. An exterior algebra is just a special case (all generators in degree one). My solution was to use Singular's SuperCommutative (http://www.singular.uni-kl.de/Manual/3-0-4/sing_520.htm) in the background. Here, one defines a polynomial ring, and SuperCommutative(m,n) then yields a non-commutative ring in which variables m to n anticommute and have square zero. Unfortunately, SuperCommutative isn't available in libsingular (yet, hint hint...). So, you would need to use Singular directly via the interface, using SuperCommutative(1,n) for implementing exteriour algebra with n generators. SuperCommutative is quite efficiently implemented: Basic arithmetic seems to be nearly as fast as in usual commutative polynomial rings, and you have fast Gröbner basis computations. And the number of generators shouldn't be a problem. Cheers, Simon --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Just integral
On Fri, Apr 17, 2009 at 11:04 PM, kcrisman kcris...@gmail.com wrote: I think the original poster is asking if it's possible to have Sage do something like this: sage: a=unevaluated_integral(x^2,(x,0,1)) sage: a integral(x^2,(x,0,1)) sage: a.evaluate() 1/3 But I don't think anything like this is currently possible, though I would be happy to be proved wrong. This is in sympy, and therefore in Sage but you have to import sympy. This has come up before http://groups.google.com/group/sage-support/browse_thread/thread/69b20e7e9f71492f/4d577f3330363767?#4d577f3330363767 (If this does not come out, just google sage inert integral googlegroup lahey without the quotes.) - kcrisman --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Plot a vertical label in the y axis and LaTeX typesetting.
Yes. In fact, the ability to look at the code is one of the main reasons for Sage's existence! The code for plotting is in the directory: $SAGE_ROOT/devel/sage/sage/plot/ where $SAGE_ROOT is the directory that contains the sage binary. Thanks, Jason Dear Jason, thank you very much for the information!!!. I've just took a look to the source code, and actually, much of what I wanted to do with the sage plot is described in the Graphics class. There are still some things which could be done (fonttype, log-scale, vertical ylabel, etc...) and I heard somebody is working on that for the version 4.0. In any case, I will try first to become more familiar with that and try to implement some of my plot necessities after seen what is new for the new version. Thank you very much for everything!!! Jose. --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: setup a sage server
Hi all, thank you very much for your answers, especially Dan for the link and the subtle distinction between sage- server and notebook-server (allthough with server-version I ment the sage copy on our department server oposed to that on my local computer), but anyway, it helped me do understand things much better now, unfortunately my time is restricted and I know 'vmware' just by it's name and that it's a virtual machine, so my plan now is just to start with a python (sage) webinterface (which I have learned last night how to do that :-)) where the user can insert some numbers, and then delegate the task to sage, as this is actually what I (actually my supervisor) wanted with the smallest possible effort (I mean time, not resources on our server) acually sage is a total overkill for this task, but I don't want to rewrite my program, thanks again, Georg On 18 Apr., 08:42, Dan Drake dr...@kaist.edu wrote: On Fri, 17 Apr 2009 at 10:14AM -0700, ggrafendorfer wrote: OK, then I can run the server version of sage from my computer via ssh, Just so you know: there's no server version or non-server version of Sage. If you have a working copy of Sage, you can run a notebook server. I also agree with the suggestion that you *not* run a notebook server on a computer dedicated to other tasks without putting it in a virtual machine or taking other strict security measures. A person using the Sage notebook can run arbitrary Python code on that computer, which means that person can access all sorts of things on that computer. There are some guides to running a notebook server in a VM: here's one I wrote: http://wiki.sagemath.org/DanDrake/JustEnoughSageServer Dan -- --- Dan Drake dr...@kaist.edu - KAIST Department of Mathematical Sciences --- http://mathsci.kaist.ac.kr/~drake signature.asc 1 KBAnzeigenHerunterladen --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Problem installing Sage in Debian
I am planning to set a Sage access to my Debian server, and I've in download sage-3.4-linux-Debian_GNU_Linux_5.0_lenny-i686-Linux.tar.gz http://sagemath.org/bin/linux/32bit/sage-3.4-linux-Debian_GNU_Linux_5.0_lenny-i686-Linux.tar.gz and after installation in my Debian GNU/Linux 5.0 server (kernel 2.6.18) I've got the following warning ** WARNING! This Sage install was built on a machine that supports instructions that are not available on this computer. Sage will likely fail with ILLEGAL INSTRUCTION errors! The following processor flags were on the build machine but are not on this computer: sse4_1 sse2 pni sse Email http://groups.google.com/group/sage-support for help. To remove this warning and make Sage start, just delete /usr/local/Sage/local/lib/sage-flags.txt ** Would anybody assists me with that? Should I care about these packages? Thank you in advance. Jose. --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Collaborate with Sage primers (Sage days 13).
After reading The Sage Tutorial carefully, I realized that this manual, although extremely useful, is not for the absolute new comer (I am considering to add some more documentation in the near future to the Sage tutorial, if you allow me), I heard already a couple of times that with this guide alone is a little bit difficult to figure out how to do what one has in mind. For that reason I decided to create howto guides in a sage worksheet format to introduce the colleagues of my group into Sage, so that we can move from mathematica to Sage/Phyton. I tried a couple of examples, that you can visit here: How to plot with Sage: http://sagenb.org/home/pub/399 How to solve limits with Sage: http://sagenb.org/home/pub/398 I found that the sage days 13 (http://wiki.sagemath.org/days13/projects/sagenewbie) were actually doing something very similar applied to different topics that I want to cover too. I was wondering if any of you know about it. I would not mind to collaborate with that and share my worksheets to help other people to become more familiar with Sage. Thanks for your suport! Jose. --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Collaborate with Sage primers (Sage days 13).
On Sat, Apr 18, 2009 at 8:07 AM, Jose Guzman n...@neurohost.org wrote: After reading The Sage Tutorial carefully, I realized that this manual, although extremely useful, is not for the absolute new comer (I am considering to add some more documentation in the near future to the Sage tutorial, if you allow me), I heard already a couple of times that with this guide alone is a little bit difficult to figure out how to do what one has in mind. For that reason I decided to create howto guides in a sage worksheet format to introduce the colleagues of my group into Sage, so that we can move from mathematica to Sage/Phyton. I tried a couple of examples, that you can visit here: How to plot with Sage: http://sagenb.org/home/pub/399 How to solve limits with Sage: http://sagenb.org/home/pub/398 I found that the sage days 13 (http://wiki.sagemath.org/days13/projects/sagenewbie) were actually doing something very similar applied to different topics that I want to cover too. I was wondering if any of you know about it. I would not mind to collaborate with that and share my worksheets to help other people to become more familiar with Sage. +1 I am also creating similar worksheets, which I'm posting here: http://wiki.wstein.org/09/480b/schedule William --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Problem installing Sage in Debian
On Sat, Apr 18, 2009 at 6:47 AM, Jose Guzman n...@neurohost.org wrote: I am planning to set a Sage access to my Debian server, and I've in download sage-3.4-linux-Debian_GNU_Linux_5.0_lenny-i686-Linux.tar.gz http://sagemath.org/bin/linux/32bit/sage-3.4-linux-Debian_GNU_Linux_5.0_lenny-i686-Linux.tar.gz and after installation in my Debian GNU/Linux 5.0 server (kernel 2.6.18) I've got the following warning ** WARNING! This Sage install was built on a machine that supports instructions that are not available on this computer. Sage will likely fail with ILLEGAL INSTRUCTION errors! The following processor flags were on the build machine but are not on this computer: sse4_1 sse2 pni sse Email http://groups.google.com/group/sage-support for help. To remove this warning and make Sage start, just delete /usr/local/Sage/local/lib/sage-flags.txt ** Would anybody assists me with that? Should I care about these packages? Thank you in advance. You must build Sage from source, since the Sage binaries are built on a machine who *hardware* CPU has certain instruction sets, which your old hardware doesn't have. William --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Problem installing Sage in Debian
Thank you for your answer William! I guess this would improve the Sage performance in the server, which is also a good thing! Thank you Jose. William Stein wrote: On Sat, Apr 18, 2009 at 6:47 AM, Jose Guzman n...@neurohost.org wrote: I am planning to set a Sage access to my Debian server, and I've in download sage-3.4-linux-Debian_GNU_Linux_5.0_lenny-i686-Linux.tar.gz http://sagemath.org/bin/linux/32bit/sage-3.4-linux-Debian_GNU_Linux_5.0_lenny-i686-Linux.tar.gz and after installation in my Debian GNU/Linux 5.0 server (kernel 2.6.18) I've got the following warning ** WARNING! This Sage install was built on a machine that supports instructions that are not available on this computer. Sage will likely fail with ILLEGAL INSTRUCTION errors! The following processor flags were on the build machine but are not on this computer: sse4_1 sse2 pni sse Email http://groups.google.com/group/sage-support for help. To remove this warning and make Sage start, just delete /usr/local/Sage/local/lib/sage-flags.txt ** Would anybody assists me with that? Should I care about these packages? Thank you in advance. You must build Sage from source, since the Sage binaries are built on a machine who *hardware* CPU has certain instruction sets, which your old hardware doesn't have. William --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Collaborate with Sage primers (Sage days 13).
William Stein wrote: On Sat, Apr 18, 2009 at 8:07 AM, Jose Guzman n...@neurohost.org wrote: After reading The Sage Tutorial carefully, I realized that this manual, although extremely useful, is not for the absolute new comer (I am considering to add some more documentation in the near future to the Sage tutorial, if you allow me), I heard already a couple of times that with this guide alone is a little bit difficult to figure out how to do what one has in mind. For that reason I decided to create howto guides in a sage worksheet format to introduce the colleagues of my group into Sage, so that we can move from mathematica to Sage/Phyton. I tried a couple of examples, that you can visit here: How to plot with Sage: http://sagenb.org/home/pub/399 How to solve limits with Sage: http://sagenb.org/home/pub/398 I found that the sage days 13 (http://wiki.sagemath.org/days13/projects/sagenewbie) were actually doing something very similar applied to different topics that I want to cover too. I was wondering if any of you know about it. I would not mind to collaborate with that and share my worksheets to help other people to become more familiar with Sage. +1 I am also creating similar worksheets, which I'm posting here: http://wiki.wstein.org/09/480b/schedule William added to my favorites... :D nice worksheets, and by the way, nice videos explaining the basis of Sage, (this is what a very beginner needs) I will show them in my course. --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--- --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: jsmath fonts bafflement
On 18 Apr 2009, at 04:29, Jason Grout wrote: Kevin Horton wrote: I am running sage 3.4 on OS X. I get the well known jsmath fonts messages when I try to view a notebook worksheet from my work computer. Our work PCs are so locked down that I cannot install additional fonts there, so I need to address this on the server end. I have spent hours reading the docs, messages and trac entries info about jsmath fonts, but I haven't found a solution yet. I tried manually installing the 80 MB of jsmath image fonts on the sage server. That didn't do it. I then tried: sage -i jsmath-3.6a.p0, but that did nothing, as it claimed the fonts were already installed. I tried sage -f jsmath-3.6a.p0 - that at least claimed to install the fonts. I restarted sage, and rebooted the work PC, but I still got the jsmath warnings, and ugly latex output. I then tried, inside sage: install_package('jsmath-image- fonts-1.3p1') I restarted sage, and rebooted the work PC, but I still got the jsmath warnings, and ugly latex output. What else should I try? Other than this small issue, sage is wonderful. Try (from the command line): sage -f jsmath-image-fonts-1.3p1 and (if that doesn't fix the problem), post the output to the above command in a message here. There may be a problem with you getting the jsmath-image-fonts spkg. sage -f jsmath-image-fonts-1.3p1 appears to finish without error. It produces: Force installing jsmath-image-fonts-1.3p1 Calling sage-spkg on jsmath-image-fonts-1.3p1 You must set the SAGE_ROOT environment variable or run this script from the SAGE_ROOT or SAGE_ROOT/local/bin/ directory. jsmath-image-fonts-1.3p1 Machine: Darwin iMac.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386 Deleting directories from past builds of previous/current versions of jsmath-image-fonts-1.3p1 Extracting package /Applications/sage/spkg/optional/jsmath-image- fonts-1.3p1.spkg ... -rw-r--r-- 1 X admin 3169034 Apr 17 18:13 /Applications/sage/ spkg/optional/jsmath-image-fonts-1.3p1.spkg jsmath-image-fonts-1.3p1/ jsmath-image-fonts-1.3p1/.hgignore jsmath-image-fonts-1.3p1/src/ jsmath-image-fonts-1.3p1/src/fonts/ jsmath-image-fonts-1.3p1/src/fonts/cmsy10/ jsmath-image-fonts-1.3p1/src/fonts/cmsy10/alpha/ jsmath-image-fonts-1.3p1/src/fonts/cmsy10/alpha/249/ jsmath-image-fonts-1.3p1/src/fonts/cmsy10/alpha/249/char59.png ... ... many thousand lines of output skipped ... ... jsmath-image-fonts-1.3p1/spkg-install jsmath-image-fonts-1.3p1/SPKG.txt Finished extraction Host system uname -a: Darwin iMac.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386 GCC Version gcc -v Using built-in specs. Target: i686-apple-darwin9 Configured with: /var/tmp/gcc/gcc-5490~1/src/configure --disable- checking -enable-werror --prefix=/usr --mandir=/share/man --enable- languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/ $/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/ lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic -- host=i686-apple-darwin9 --target=i686-apple-darwin9 Thread model: posix gcc version 4.0.1 (Apple Inc. build 5490) deleting old jsMath fonts Installing jsMath Image Fonts to: /Applications/sage/local/notebook/javascript/jsmath Finished installing jsMath Image Fonts. real0m22.850s user0m0.474s sys 0m4.182s Successfully installed jsmath-image-fonts-1.3p1 Now cleaning up tmp files. Making Sage/Python scripts relocatable... Making script relocatable Finished installing jsmath-image-fonts-1.3p1.spkg == I restarted sage, and the notebook, but the jsmath font display problem persists. I have made some progress in that I discovered that Firefox 3 works correctly on my work PC. It is only IE 7 that has the problems. I can live with this, so I will not invest any more time on this issue, unless someone wants my assistance to try to beat this bug to death. -- Kevin Horton Ottawa, Canada --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: jsmath fonts bafflement
On 18 Apr 2009, at 00:59, Adam Webb wrote: On Apr 18, 12:35 am, Kevin Horton khorto...@rogers.com wrote: I am running sage 3.4 on OS X. I get the well known jsmath fonts messages when I try to view a notebook worksheet from my work computer. Our work PCs are so locked down that I cannot install additional fonts there, so I need to address this on the server end. What else should I try? Other than this small issue, sage is wonderful. Kevin Horton Hi, What worked for me was to download a jsMath font from http://www.math.union.edu/~dpvc/jsMath/download/jsMath-fonts.html and install the fonts into my ~/.fonts directory. I find that this is often the easiest way to install fonts and of course does not need root permission. Thanks for the suggestion, but I also want to be able to point other PC users at my published sage worksheets. I don't want to force them to manually install fonts. I have discovered that Firefox works fine - it is only IE7 that has the problem. I suspect most of the people who I wish to show my worksheets to already have Firefox installed, so I will not invest any more time on this issue. -- Kevin Horton Ottawa, Canada --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Collaborate with Sage primers (Sage days 13).
Jose Guzman wrote: William Stein wrote: On Sat, Apr 18, 2009 at 8:07 AM, Jose Guzman n...@neurohost.org wrote: After reading The Sage Tutorial carefully, I realized that this manual, although extremely useful, is not for the absolute new comer (I am considering to add some more documentation in the near future to the Sage tutorial, if you allow me), I heard already a couple of times that with this guide alone is a little bit difficult to figure out how to do what one has in mind. For that reason I decided to create howto guides in a sage worksheet format to introduce the colleagues of my group into Sage, so that we can move from mathematica to Sage/Phyton. I tried a couple of examples, that you can visit here: How to plot with Sage: http://sagenb.org/home/pub/399 How to solve limits with Sage: http://sagenb.org/home/pub/398 I found that the sage days 13 (http://wiki.sagemath.org/days13/projects/sagenewbie) were actually doing something very similar applied to different topics that I want to cover too. I was wondering if any of you know about it. I would not mind to collaborate with that and share my worksheets to help other people to become more familiar with Sage. +1 I am also creating similar worksheets, which I'm posting here: http://wiki.wstein.org/09/480b/schedule William I've just realized that everybody can create an account and edit in this wiki. I added a couple of worksheets to the site, i hope somebody find it useful. added to my favorites... :D nice worksheets, and by the way, nice videos explaining the basis of Sage, (this is what a very beginner needs) I will show them in my course. --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] How to stop wiki?
I've searched sage-support, all the docs, the MoinMoin docs and done a bunch of Googling, but I have not learned how to stop the wiki. A ctrl-C kills it, but it immediately starts up again, but with the port number incremented by one. Same thing if I use kill to stop the wiki's twisted server PID. Any hints would be appreciated. -- Kevin Horton Ottawa, Canada --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: How to stop wiki?
This is a known bug which will be fixed. For now, do ctrl-z kill %1 William On Sat, Apr 18, 2009 at 11:41 AM, Kevin Horton khorto...@rogers.com wrote: I've searched sage-support, all the docs, the MoinMoin docs and done a bunch of Googling, but I have not learned how to stop the wiki. A ctrl-C kills it, but it immediately starts up again, but with the port number incremented by one. Same thing if I use kill to stop the wiki's twisted server PID. Any hints would be appreciated. -- Kevin Horton Ottawa, Canada -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: How to stop wiki?
That works. Thank you very much. It was getting tiresome to reboot the computer after every wiki config adjustment. -- Kevin Horton On 18 Apr 2009, at 15:43, William Stein wrote: This is a known bug which will be fixed. For now, do ctrl-z kill %1 William On Sat, Apr 18, 2009 at 11:41 AM, Kevin Horton khorto...@rogers.com wrote: I've searched sage-support, all the docs, the MoinMoin docs and done a bunch of Googling, but I have not learned how to stop the wiki. A ctrl-C kills it, but it immediately starts up again, but with the port number incremented by one. Same thing if I use kill to stop the wiki's twisted server PID. Any hints would be appreciated. -- Kevin Horton Ottawa, Canada --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: jsmath fonts bafflement
Kevin Horton wrote: I have made some progress in that I discovered that Firefox 3 works correctly on my work PC. It is only IE 7 that has the problems. I can live with this, so I will not invest any more time on this issue, unless someone wants my assistance to try to beat this bug to death. This sounds like it might be a jsmath bug. Davide (the author) at least occasionally reads this list. He might ask for more details, or he might already know what is going on. I am curious, though: when you click on the jsmath icon in the lower right, a panel pops up and says what types of fonts jsmath is using. Is it using the image fonts? Thanks, Jason Jason --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: setup a sage server
ggrafendorfer wrote: Hi all, thank you very much for your answers, especially Dan for the link and the subtle distinction between sage- server and notebook-server (allthough with server-version I ment the sage copy on our department server oposed to that on my local computer), but anyway, it helped me do understand things much better now, unfortunately my time is restricted and I know 'vmware' just by it's name and that it's a virtual machine, so my plan now is just to start with a python (sage) webinterface (which I have learned last night how to do that :-)) where the user can insert some numbers, and then delegate the task to sage, as this is actually what I (actually my supervisor) wanted with the smallest possible effort (I mean time, not resources on our server) acually sage is a total overkill for this task, but I don't want to rewrite my program, Again, we caution you that access to Sage is equivalent to full access on the computer as the user that Sage is running as. People running Sage commands can delete files, send files over the internet, send email, download and run arbitrary programs, etc. If you are letting arbitrary people give you Sage commands, you are basically letting them sit down at your computer and they can do whatever you can do. That's why we strongly encourage people to run the vmware image of Sage when doing a public server. It's as simple as installing vmware (a couple of clicks, basically), then downloading and double-clicking on the sage vmware image. You might also have to change one setting in the vmware image; I'm not sure. Someone running sage commands can still mess up things inside of the virtual machine, but it's trivial to press a button to erase any changes to the image and start fresh. If Sage is an overkill, maybe sympy might be more sufficient? The same security issues above apply, though. Jason --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] I was using sage-3.1.4 upgrade to 3.4 and have memory issues
I hope you can help me to recover my sage-usability, I was working with a sage-vmware-3.1.4 installation on a windows XP host with 512MB RAM without any problem, I recently upgrade to the last build version 3.4, but as far as I gave the notebook login, it killed the notebook and restart automatically again the login option connections, so I played a little with the configuration of the VMware troubleshooting arrangement of memory trying to fix this problem, but still without accomplishing to put it to work at all. So I went back, to install the previous version available in the download page: sage-vmware-3.2.3, it worked for a while but very slowly all the time, after that when I tried to run sage_vmx.vmx, the VMware console sent a complaining message like not enough memory for running the given virtual machine and suggest that restarting the host if the VM was working previously will fix the problem, I tried that many times, but still sage cannot restart as told. Now I am wondering that I was in better conditions before the upgrade trial, because at least I could use sage in my research and now I don't have anything to work with, given that I have deleted my previous directory and as far as I know the old build version is not available to download. Then, it would be helpful to other people, if you can put some warnings about the new installation requirements for sage to go. Of course I know that I could reinstall the old one from source (I am a Xcygwin not an Ubuntu fan, so it will take me a lot more of my patience), but meanwhile I shall need to rest a little to try this other option, while my today's nightmare dissipates. So, I would appreciate very much any suggestion about what to do, to get sage working again in the least painless way. Best regards, Jorge _ Por seguridad, no compartas tu contraseña con nadie www.windowslive-hotmail.com/protectyourself/es/default.htm --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: I was using sage-3.1.4 upgrade to 3.4 and have memory issues
2009/4/18 Jorge E. ´Sanchez Sanchez hnr...@hotmail.com: I hope you can help me to recover my sage-usability, I was working with a sage-vmware-3.1.4 installation on a windows XP host with 512MB RAM without any problem, I recently upgrade to the last build version 3.4, but as far as I gave the notebook login, it killed the notebook and restart automatically again the login option connections, so I played a little with the configuration of the VMware troubleshooting arrangement of memory trying to fix this problem, but still without accomplishing to put it to work at all. So I went back, to install the previous version available in the download page: sage-vmware-3.2.3, it worked for a while but very slowly all the time, after that when I tried to run sage_vmx.vmx, the VMware console sent a complaining message like not enough memory for running the given virtual machine and suggest that restarting the host if the VM was working previously will fix the problem, I tried that many times, but still sage cannot restart as told. Edit the file sage_vmx.vmx and change the line that says memsize=512 to memsize=300 or some other smaller number (between say 200 and 324). William --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: I was using sage-3.1.4 upgrade to 3.4 and have memory issues
On Apr 18, 6:53 pm, William Stein wst...@gmail.com wrote: 2009/4/18 Jorge E. ´Sanchez Sanchez hnr...@hotmail.com: SNIP So I went back, to install the previous version available in the download page: sage-vmware-3.2.3, it worked for a while but very slowly all the time, after that when I tried to run sage_vmx.vmx, the VMware console sent a complaining message like not enough memory for running the given virtual machine and suggest that restarting the host if the VM was working previously will fix the problem, I tried that many times, but still sage cannot restart as told. There might no longer be any Sage 3.1.4 binaries, but you can download the sources into the current Sage VMWare image, unpack them somewhere in $HOME, run make and they should build fine. Given that a serious number of bugs have been fixed since then as well as numerous enhancements added this is generally not recommended. Edit the file sage_vmx.vmx and change the line that says memsize=512 to memsize=300 or some other smaller number (between say 200 and 324). William Cheers, Michael --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: I was using sage-3.1.4 upgrade to 3.4 and have memory issues
On Sat, Apr 18, 2009 at 6:59 PM, mabshoff michael.absh...@mathematik.uni-dortmund.de wrote: On Apr 18, 6:53 pm, William Stein wst...@gmail.com wrote: 2009/4/18 Jorge E. ´Sanchez Sanchez hnr...@hotmail.com: SNIP So I went back, to install the previous version available in the download page: sage-vmware-3.2.3, it worked for a while but very slowly all the time, after that when I tried to run sage_vmx.vmx, the VMware console sent a complaining message like not enough memory for running the given virtual machine and suggest that restarting the host if the VM was working previously will fix the problem, I tried that many times, but still sage cannot restart as told. There might no longer be any Sage 3.1.4 binaries, but you can download the sources into the current Sage VMWare image, unpack them somewhere in $HOME, run make and they should build fine. Given that a serious number of bugs have been fixed since then as well as numerous enhancements added this is generally not recommended. Moreover, doing the above will in no way help at all. The entire problem is that the default memsize on the virtual machine was increased in 3.2.3 to 512 from 300-ish in 3.1.4. Sage worked for you before, not because you used 3.1.4, but because of a single default setting in the virtual machine. Given that your computer only has 512MB RAM, it's no surprise that a virtual machine can't work if it tries to allocate 512MB RAM too. William Edit the file sage_vmx.vmx and change the line that says memsize=512 to memsize=300 or some other smaller number (between say 200 and 324). William Cheers, Michael -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~-~--~~~---~--~~ 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 URLs: http://www.sagemath.org -~--~~~~--~~--~--~---