[sage-support] Re: Jmol causing Firefox crash
Yes, I went ahead and upgraded to the current Jaunty beta. Then I went into synaptic and 1) removed the ia32-sun stuff, 2) did a "complete removal" of both iced-teas, and 3) installed the sun-java6-plugin. Now everything works: the jmol/atoms demo and all the jmol sage notebooks. Now we just need Adobe to get Acroread into 64bits and I can remove ia32-libs completely, and good riddance it will be. J On Apr 10, 1:20 am, Alec wrote: > I had the same problem, which I fixed by adding one of the Jaunty > multiverse repositories to the software sources, then reloading the > list of packages in Synaptic (by clicking the Reload button), > upgrading sun-java6 packages, installing new sun-java6-plugin package > and uninstalling icedtea6-plugin package. After that, I removed Jaunty > from the software sources. > > Hopefully, soon Jaunty will be available for upgrading, and that will > be even easier to do. > > Alec Mihailovs --~--~-~--~~~---~--~~ 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: Step by step result
On Apr 10, 5:21 pm, kcrisman wrote: > Incidentally, there *is* software which will do this and show step-by- > step answers, including free software - I saw some demonstrated at the > Joint Math Meetings, for instance seehttp://www.xyalgebra.org/index.html > . This is for a completely different audience than Sage, and is only > free, not open source, but may be useful to you. I believe it is only > one of many such things, but it is the first one that came to mind. If I remember correctly Derive had such a "step by step" mode for various things like limits, integration and so on. Derive itself was killed as a product, so AFAIK you cannot buy it any more. > Good luck! > > - kcrisman 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: Step by step result
Incidentally, there *is* software which will do this and show step-by- step answers, including free software - I saw some demonstrated at the Joint Math Meetings, for instance see http://www.xyalgebra.org/index.html . This is for a completely different audience than Sage, and is only free, not open source, but may be useful to you. I believe it is only one of many such things, but it is the first one that came to mind. Good luck! - 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: %hide not hiding when printing
Thanks again, Jason. Tried the manual Evaluate All and it made all the outputs disappeared. Even worse, the regular evaluation methods, shift-enter or hitting the blue evaluate word, are not working either after that. lmc On Apr 10, 4:40 pm, Jason Grout wrote: > lmc70 wrote: > > Thanks, Jason. > > > %auto is helpful to evaluate the cells when reopen the worksheet. > > Sometimes it is a very frequent task to re-evaluate the resuls for > > different inputs. So it will be nice to have a BUTTON named EVALUATE > > ALL to execute all the cells from top down to the bottom. The refresh/ > > reload doesn't help to do this even after saved the new inputs. > > This is a menu option in the "Action" menu at the top of the page. > > > Another question for the printing, can the frame lines of the cell be > > made invisible in the printout? > > I'm sure they can. We need someone to adjust the CSS style for > printouts so that it looks nice! I'm not sure where that print css > information is stored, though. It looks like it might be in > sage/devel/sage/sage/server/notebook/css.py, where we see this: > > /* used for printing */ > div.cell_input_print { > background-color: white; > border-left: 1px solid #a8a8a8; > border-bottom: 1px solid #a8a8a8; > border-top: 1px solid #a8a8a8; > border-right: 1px solid #a8a8a8; > font-family: monospace; > font-size:12pt; > padding-left:5px; > padding-top:3px; > padding-bottom:0px; > margin-top:0px; > margin-bottom:0px; > line-height:1.2em; > width: 97%; > > } > > The border-left,right,top,bottom things are the things causing the > border, I think. Just change those, then start Sage with "sage -br" to > make your changes effective. > > 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: Step by step result
Robert Bradshaw wrote: > On Apr 10, 2009, at 11:50 AM, mm wrote: > >> Hello, >> >> Is it possible to display in Sage the solution for example of >> quadratic equation step by step? Not only the >> final solution. If yes, how to do it? I've not found anything about >> this in sage website unless I missed it. > > No, there's no way to do that currently in Sage. However, there are > literally thousands of webpages that explain how to do this on the > internet. > And you can certainly use Sage to construct such a solution, step by step. Sage won't automatically show you each step when you ask it to solve the quadratic equation, 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] Re: Step by step result
On Apr 10, 2009, at 11:50 AM, mm wrote: > > Hello, > > Is it possible to display in Sage the solution for example of > quadratic equation step by step? Not only the > final solution. If yes, how to do it? I've not found anything about > this in sage website unless I missed it. No, there's no way to do that currently in Sage. However, there are literally thousands of webpages that explain how to do this on the internet. - Robert --~--~-~--~~~---~--~~ 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: TinyMCE on Fedora 10/firefox
> Click on the "Help" item at the top right of the notebook. The > instructions are next to the item HTML. Looking at it now: I had found those. Blue bar meant "cell" to me, so I had assiduously avoided shift-clicking it. Thanks again, -gerhard --~--~-~--~~~---~--~~ 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: %hide not hiding when printing
lmc70 wrote: > Thanks, Jason. > > %auto is helpful to evaluate the cells when reopen the worksheet. > Sometimes it is a very frequent task to re-evaluate the resuls for > different inputs. So it will be nice to have a BUTTON named EVALUATE > ALL to execute all the cells from top down to the bottom. The refresh/ > reload doesn't help to do this even after saved the new inputs. > This is a menu option in the "Action" menu at the top of the page. > Another question for the printing, can the frame lines of the cell be > made invisible in the printout? I'm sure they can. We need someone to adjust the CSS style for printouts so that it looks nice! I'm not sure where that print css information is stored, though. It looks like it might be in sage/devel/sage/sage/server/notebook/css.py, where we see this: /* used for printing */ div.cell_input_print { background-color: white; border-left: 1px solid #a8a8a8; border-bottom: 1px solid #a8a8a8; border-top: 1px solid #a8a8a8; border-right: 1px solid #a8a8a8; font-family: monospace; font-size:12pt; padding-left:5px; padding-top:3px; padding-bottom:0px; margin-top:0px; margin-bottom:0px; line-height:1.2em; width: 97%; } The border-left,right,top,bottom things are the things causing the border, I think. Just change those, then start Sage with "sage -br" to make your changes effective. 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: TinyMCE on Fedora 10/firefox
gerhard wrote: > Thank you, Jason! > > Related to this, I had tried to find > info in the documentation with no luck. > Is it there somewhere that I missed? Click on the "Help" item at the top right of the notebook. The instructions are next to the item HTML. Looking at it now: 1. the instructions could be better (they should mention the blue bar) 2. There should be a mention of the shift-click under "Insert a cell" as well. 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: %hide not hiding when printing
Thanks, Jason. %auto is helpful to evaluate the cells when reopen the worksheet. Sometimes it is a very frequent task to re-evaluate the resuls for different inputs. So it will be nice to have a BUTTON named EVALUATE ALL to execute all the cells from top down to the bottom. The refresh/ reload doesn't help to do this even after saved the new inputs. Another question for the printing, can the frame lines of the cell be made invisible in the printout? Thanks again, lmc On Apr 10, 1:28 pm, Jason Grout wrote: > lmc70 wrote: > > Even though I may not need edit the cell anymore, I still need execute > > it. Is there a way to do that without seeing the cell? > > If you put "%auto" at the top of the cell on a line by itself, it will > automatically execute when the worksheet opens. > > 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: TinyMCE on Fedora 10/firefox
Thank you, Jason! Related to this, I had tried to find info in the documentation with no luck. Is it there somewhere that I missed? -gerhard --~--~-~--~~~---~--~~ 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: TinyMCE on Fedora 10/firefox
gerhard wrote: > Just how does tinyMCE get invoked? > I see > > > in the page source of a notebook, > but 'shift-click between cells' does not appear to be bound > to any function... > You have to shift-click on the blue bar between cells. That bar (that pops up as you move the mouse between cells) is the "insert here" bar. Are you shift-clicking on that? 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] TinyMCE on Fedora 10/firefox
Just how does tinyMCE get invoked? I see in the page source of a notebook, but 'shift-click between cells' does not appear to be bound to any function... sage 3.4, fedora 10, firefox 3.0.8 with noscript 1.9.1.6 and yes, I have disabled noscript?! any ideas of what I could check? thanks, -gerhard --~--~-~--~~~---~--~~ 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] Step by step result
Hello, Is it possible to display in Sage the solution for example of quadratic equation step by step? Not only the final solution. If yes, how to do it? I've not found anything about this in sage website unless I missed it. Thank You MM --~--~-~--~~~---~--~~ 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: building sage from Mercurial clone
Hi Flavio, On 10 Apr., 14:30, Robert Bradshaw wrote: > On Apr 10, 2009, at 7:13 AM, William Stein wrote: > > > On Fri, Apr 10, 2009 at 6:53 AM, Flavio Coelho > > wrote: ... > >> So it seems that there is no (easy or otherwise) way to build from > >> latest development tree, only from the last "stable" source tarball. And "last stable" is not very old, actually: It dates from 2009-03-12, and AFAIK there is currently one release per month, on avarage. Best regards, 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: building sage from Mercurial clone
On Apr 10, 2009, at 7:13 AM, William Stein wrote: > On Fri, Apr 10, 2009 at 6:53 AM, Flavio Coelho > wrote: >> >> Thanks, >> >> So it seems that there is no (easy or otherwise) way to build from >> latest development tree, only from the last "stable" source tarball. > > The latest development version is here: > > http://sage.math.washington.edu/home/mabshoff/release-cycles-3.4.1/ > > Building this is easy -- it's exactly the same as building the > released version. Also, you can apply any of the many patches on http:// trac.sagemath.org/sage_trac that aren't yet in the alphas. - Robert --~--~-~--~~~---~--~~ 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: odd behavior from integral
On Apr 10, 2009, at 11:19 AM, davidp wrote: > > The following seems like odd behavior to me. > > Dave > > I. No problem: > sage: integral(log(x)/x^(1.002),x) > 500*(-log(x)/x^(1/500) - 500/x^(1/500)) > sage: s(10)-s(1) > 500*(-log(10)/10^(1/500) - 500/10^(1/500)) + 25 > sage: n(_) > 2.64282437870861 > > II. Problem: > sage: integral(log(x)/x^(1.002),x,1,10) ... > III. Problem: > sage: numerical_integral(log(x)/x^(1.002),x,1,10) It doesn't take the variable of integration (as there can be only one unbound variable). The fact that it doesn't is probably a bug, for consistency the notation numerical_integral(f, (x, a, b)) should be accepted. See the docstring: sage: numerical_integral? Type: builtin_function_or_method Base Class: String Form: Namespace: Interactive Docstring: Returns the numerical integral of the function on the interval from a to b and an error bound. EXAMPLES: To integrate the function x^2 from 0 to 1, we do sage: numerical_integral(x^2, 0, 1, max_points=100) (0.1, 3.7007434154171879e-15) sage: numerical_integral(log(x)/x^(1.002),1,10) (2.6428243786881045, 2.9341244752602076e-14) - Robert --~--~-~--~~~---~--~~ 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: %hide not hiding when printing
lmc70 wrote: > Even though I may not need edit the cell anymore, I still need execute > it. Is there a way to do that without seeing the cell? If you put "%auto" at the top of the cell on a line by itself, it will automatically execute when the worksheet opens. 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] odd behavior from integral
The following seems like odd behavior to me. Dave I. No problem: sage: integral(log(x)/x^(1.002),x) 500*(-log(x)/x^(1/500) - 500/x^(1/500)) sage: s(10)-s(1) 500*(-log(10)/10^(1/500) - 500/10^(1/500)) + 25 sage: n(_) 2.64282437870861 II. Problem: sage: integral(log(x)/x^(1.002),x,1,10) --- TypeError Traceback (most recent call last) /home/davidp/ in () /usr/local/sage-3.4-Fedora_release_9-i686-Linux/local/lib/python2.5/ site-packages/sage/misc/functional.pyc in integral(x, *args, **kwds) 435 """ 436 if hasattr(x, 'integral'): --> 437 return x.integral(*args, **kwds) 438 else: 439 from sage.calculus.calculus import SR /usr/local/sage-3.4-Fedora_release_9-i686-Linux/local/lib/python2.5/ site-packages/sage/calculus/calculus.pyc in integral(self, v, a, b) 3068 else: 3069 try: -> 3070 return self.parent()(self._maxima_().integrate (v, a, b)) 3071 except TypeError, error: 3072 s = str(error) /usr/local/sage-3.4-Fedora_release_9-i686-Linux/local/lib/python2.5/ site-packages/sage/interfaces/maxima.pyc in integral(self, var, min, max) 1994 if max is None: 1995 raise ValueError, "neither or both of min/max must be specified." -> 1996 return I(var, min, max) 1997 1998 integrate = integral /usr/local/sage-3.4-Fedora_release_9-i686-Linux/local/lib/python2.5/ site-packages/sage/interfaces/expect.pyc in __call__(self, *args, **kwds) 1332 1333 def __call__(self, *args, **kwds): -> 1334 return self._obj.parent().function_call(self._name, [self._obj] + list(args), kwds) 1335 1336 def help(self): /usr/local/sage-3.4-Fedora_release_9-i686-Linux/local/lib/python2.5/ site-packages/sage/interfaces/expect.pyc in function_call(self, function, args, kwds) 1252 self._check_valid_function_name(function) 1253 return self.new("%s(%s)"%(function, ",".join([s.name() for s in args]+ -> 1254 ['%s=%s'% (key,value.name()) for key, value in kwds.items()]))) 1255 1256 def call(self, function_name, *args, **kwds): /usr/local/sage-3.4-Fedora_release_9-i686-Linux/local/lib/python2.5/ site-packages/sage/interfaces/expect.pyc in new(self, code) 1065 1066 def new(self, code): -> 1067 return self(code) 1068 1069 ### /usr/local/sage-3.4-Fedora_release_9-i686-Linux/local/lib/python2.5/ site-packages/sage/interfaces/expect.pyc in __call__(self, x, name) 1000 return x 1001 if isinstance(x, basestring): -> 1002 return cls(self, x, name=name) 1003 try: 1004 return self._coerce_from_special_method(x) /usr/local/sage-3.4-Fedora_release_9-i686-Linux/local/lib/python2.5/ site-packages/sage/interfaces/expect.pyc in __init__(self, parent, value, is_name, name) 1375 except (TypeError, KeyboardInterrupt, RuntimeError, ValueError), x: 1376 self._session_number = -1 -> 1377 raise TypeError, x 1378 self._session_number = parent._session_number 1379 TypeError: Computation failed since Maxima requested additional constraints (try the command 'assume(>0)' before integral or limit evaluation, for example): an integer? III. Problem: sage: numerical_integral(log(x)/x^(1.002),x,1,10) --- TypeError Traceback (most recent call last) /home/davidp/ in () /usr/local/sage-3.4-Fedora_release_9-i686-Linux/local/lib/python2.5/ site-packages/sage/gsl/integration.so in sage.gsl.integration.numerical_integral (sage/gsl/integration.c:2008) () TypeError: invalid integration algorithm Dave --~--~-~--~~~---~--~~ 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: Sync notebooks between different servers
On Fri, Apr 10, 2009 at 8:22 AM, rpmul...@gmail.com wrote: > > I have a sage server set up at work where different people in my group > can view and collaborate with programs. However, when I travel, this > site is unavailable to me, and I'd like to be able to work on my sage > scripts during this time. Of course, I can always download the scripts > before I leave, and upload the modified scripts when I return, but I > was curious whether anyone found a more intelligent way to sync the > notebooks. > > Thanks in advance, There is nothing implemented as part of Sage to do this. I wish there were. 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] Sync notebooks between different servers
I have a sage server set up at work where different people in my group can view and collaborate with programs. However, when I travel, this site is unavailable to me, and I'd like to be able to work on my sage scripts during this time. Of course, I can always download the scripts before I leave, and upload the modified scripts when I return, but I was curious whether anyone found a more intelligent way to sync the notebooks. Thanks in advance, Rick --~--~-~--~~~---~--~~ 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: %hide not hiding when printing
Even though I may not need edit the cell anymore, I still need execute it. Is there a way to do that without seeing the cell? lmc On Apr 10, 9:30 am, Jason Grout wrote: > lmc70 wrote: > > I got a new issue after change to %hideall. Each time reopening the > > workbook the %hideall cell is missing (the results are still there). > > Cannot see the greyed %hideall and tried to click that area still > > won't activate the hidden cell. I have to use the edit to comment > > %hideall to let the cell shows up. It seems like if you don't close > > and reopen the worksheet the greyed %hideall is always there, it > > dispears only after you reopen it. > > That's right. I think the reasoning is that %hideall just completely > gets rid of the input from view. However, when you're actually putting > them in, you might have some second thoughts and want to re-edit the > cell. My process with %hideall cells is usually: > > 1. Make cells %hideall. However, sometimes I haven't completely > polished those cells to perfection. So I'm glad I can still click on > the grey %hideall and tweak the input cells. > > 2. When I have polished everything, I save, quit, and reopen the > worksheet. I think of this as committing the hideall cells to actually > be hideall cells. > > I realize that I could just do this by making the cells %hide, and then > just at the end making all of the %hide cells into %hideall cells, if > %hideall actually got rid of the input from view immediately. Maybe > that would be a better way to do things; more consistent for the user, etc. > > 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: plotting miltigraphs with pos
Alec wrote: > Also, show3d doesn't work with that graph, > > G.show3d() > > ZeroDivisionError: float division > Huh, thanks for pointing this out. Apparently show3d() chokes on loops (that's the error: I think it's trying to make a cylinder (edge) with length 0). Also, show3d doesn't show multiple edges. I see William made http://trac.sagemath.org/sage_trac/ticket/5733 to track this bug. 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: %hide not hiding when printing
lmc70 wrote: > I got a new issue after change to %hideall. Each time reopening the > workbook the %hideall cell is missing (the results are still there). > Cannot see the greyed %hideall and tried to click that area still > won't activate the hidden cell. I have to use the edit to comment > %hideall to let the cell shows up. It seems like if you don't close > and reopen the worksheet the greyed %hideall is always there, it > dispears only after you reopen it. > That's right. I think the reasoning is that %hideall just completely gets rid of the input from view. However, when you're actually putting them in, you might have some second thoughts and want to re-edit the cell. My process with %hideall cells is usually: 1. Make cells %hideall. However, sometimes I haven't completely polished those cells to perfection. So I'm glad I can still click on the grey %hideall and tweak the input cells. 2. When I have polished everything, I save, quit, and reopen the worksheet. I think of this as committing the hideall cells to actually be hideall cells. I realize that I could just do this by making the cells %hide, and then just at the end making all of the %hide cells into %hideall cells, if %hideall actually got rid of the input from view immediately. Maybe that would be a better way to do things; more consistent for the user, etc. 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: plotting miltigraphs with pos
On Fri, Apr 10, 2009 at 1:38 AM, Alec wrote: > > Also, show3d doesn't work with that graph, > > G.show3d() > > ZeroDivisionError: float division > > Alec Mihailovs Ouch. This is now http://trac.sagemath.org/sage_trac/ticket/5733 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: plotting miltigraphs with pos
On Fri, Apr 10, 2009 at 12:09 AM, Alec wrote: > > > On Apr 8, 11:50 am, William Stein wrote: > >> Thanks for the bug report. We are tracking this here: >> >> http://trac.sagemath.org/sage_trac/ticket/5713 > > Fantastic! I see that it is fixed already! I just added lambdas to my > graph_plot.py file and the graph plots OK. > > Meanwhile, I've noticed that the degrees are printed not in the order > of vertices in this graph, > > G.degree() > [6, 6, 6, 3, 5] > [i for i in G.degree_iterator()] > [6, 6, 6, 3, 5] Iterators can come back in any order, so I'm not sure this is supposed to be a bug. I hope Robert Miller or somebody can comment on this. > > while it should be as in > > [G.degree(i) for i in G.vertices()] > [6, 6, 6, 5, 3] > -- 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: %hide not hiding when printing
On Fri, Apr 10, 2009 at 6:59 AM, Pat LeSmithe wrote: > > > It also disappears on page refresh/reload. The "culprit" seems to be in > Cell.html(), which renders a cell as HTML, around line 1630 of cell.py: > > if 'hideall' in self.percent_directives(): > s = html_out > else: > s = html_in + introspect + html_out > > I'm still confused about the purpose of %hideall. > > Anyway, to get %hide to work, scroll down to Cell.html_in() and add > something like > > if 'hide' in self.percent_directives(): > return '' > > to the "if do_print:" conditional. > Pat, It would be great if you could post a patch doing this to : http://trac.sagemath.org/sage_trac/ticket/5718 Then you could get your name in the credits for sage-3.4.1 (or 3.4.2)! 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: Jmol causing Firefox crash
fedora alternatives provides a way of managing these problems. See for example http://chacha.vox.com/library/post/install-java-on-redhat.html note also that the plugin in the firefox directory can similarly be managed with alternatives. -gerhard --~--~-~--~~~---~--~~ 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: %hide not hiding when printing
On Fri, Apr 10, 2009 at 6:59 AM, Pat LeSmithe wrote: > > > It also disappears on page refresh/reload. The "culprit" seems to be in > Cell.html(), which renders a cell as HTML, around line 1630 of cell.py: > > if 'hideall' in self.percent_directives(): > s = html_out > else: > s = html_in + introspect + html_out > > I'm still confused about the purpose of %hideall. The purpose of hideall is the following: hide the entire input cell, with the only possible way to see the input cell to click on "Edit" and switch to the text edit view. If that isn't the current behavior, then it is a bug. > > Anyway, to get %hide to work, scroll down to Cell.html_in() and add > something like > > if 'hide' in self.percent_directives(): > return '' > > to the "if do_print:" conditional. > > > lmc70 wrote: >> I got a new issue after change to %hideall. Each time reopening the >> workbook the %hideall cell is missing (the results are still there). >> Cannot see the greyed %hideall and tried to click that area still >> won't activate the hidden cell. I have to use the edit to comment >> %hideall to let the cell shows up. It seems like if you don't close >> and reopen the worksheet the greyed %hideall is always there, it >> dispears only after you reopen it. >> >> lmc >> >> On Apr 8, 6:51 pm, lmc70 wrote: >>> %hideall works. Thank you Pat also William. >>> >>> Maybe there are better ways to do it, but I don't know yet. What I am >>> doing is to use the notebook like MathCad, it shows the equations and >>> the results, also the comments. However, I don't want to show the >>> lines of 'print "", ', so I put all the print statements in >>> one separate cell and hide it, so they won't show up in the >>> printouts. >>> >>> Again, thank you and best regards, >>> lmc >>> >>> On Apr 8, 4:50 pm, Pat LeSmithe wrote: >>> Try %hideall ? I assume the issue here is the visibility of *input* cells, but what are the exact behaviors desired for %hide and %hideall for interactive, printed, and published worksheets? William Stein wrote: > On Wed, Apr 8, 2009 at 11:21 AM, lmc70 wrote: >> Hello, >> %hide works fine in the worksheet but shows up when printing. Any >> advice is appreciated. >> - Sage3.4 VMWare Image >> - Dell Vostro 200 desktop > This is a bug now being tracked here: > http://trac.sagemath.org/sage_trac/ticket/5718 >> > > > > > -- 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: building sage from Mercurial clone
On Fri, Apr 10, 2009 at 6:53 AM, Flavio Coelho wrote: > > Thanks, > > So it seems that there is no (easy or otherwise) way to build from > latest development tree, only from the last "stable" source tarball. The latest development version is here: http://sage.math.washington.edu/home/mabshoff/release-cycles-3.4.1/ Building this is easy -- it's exactly the same as building the released version. -- 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: %hide not hiding when printing
It also disappears on page refresh/reload. The "culprit" seems to be in Cell.html(), which renders a cell as HTML, around line 1630 of cell.py: if 'hideall' in self.percent_directives(): s = html_out else: s = html_in + introspect + html_out I'm still confused about the purpose of %hideall. Anyway, to get %hide to work, scroll down to Cell.html_in() and add something like if 'hide' in self.percent_directives(): return '' to the "if do_print:" conditional. lmc70 wrote: > I got a new issue after change to %hideall. Each time reopening the > workbook the %hideall cell is missing (the results are still there). > Cannot see the greyed %hideall and tried to click that area still > won't activate the hidden cell. I have to use the edit to comment > %hideall to let the cell shows up. It seems like if you don't close > and reopen the worksheet the greyed %hideall is always there, it > dispears only after you reopen it. > > lmc > > On Apr 8, 6:51 pm, lmc70 wrote: >> %hideall works. Thank you Pat also William. >> >> Maybe there are better ways to do it, but I don't know yet. What I am >> doing is to use the notebook like MathCad, it shows the equations and >> the results, also the comments. However, I don't want to show the >> lines of 'print "", ', so I put all the print statements in >> one separate cell and hide it, so they won't show up in the >> printouts. >> >> Again, thank you and best regards, >> lmc >> >> On Apr 8, 4:50 pm, Pat LeSmithe wrote: >> >>> Try %hideall ? I assume the issue here is the visibility of *input* >>> cells, but what are the exact behaviors desired for %hide and %hideall >>> for interactive, printed, and published worksheets? >>> William Stein wrote: On Wed, Apr 8, 2009 at 11:21 AM, lmc70 wrote: > Hello, > %hide works fine in the worksheet but shows up when printing. Any > advice is appreciated. > - Sage3.4 VMWare Image > - Dell Vostro 200 desktop This is a bug now being tracked here: http://trac.sagemath.org/sage_trac/ticket/5718 > > --~--~-~--~~~---~--~~ 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: building sage from Mercurial clone
Thanks, So it seems that there is no (easy or otherwise) way to build from latest development tree, only from the last "stable" source tarball. That's what I was hoping for. On 9 abr, 18:15, Robert Bradshaw wrote: > On Apr 9, 2009, at 7:41 AM, Flavio Coelho wrote: > > > > > Hi, I cloned Sage from the mercrial repository (hg.sagemath.org) but > > found no building instructions. > > > I want to build it inplace. The install script complains that I must > > provide a sage root and if I give the current directory, '.', it spits > > back the following traceback: > > > Traceback (most recent call last): > > File "setup.py", line 14, in > > from module_list import ext_modules > > File "/home/fccoelho/Downloads/sage-main/module_list.py", line 29, > > in > > elif os.path.exists('%s/lib/libatlas.so'%os.environ > > ['SAGE_LOCAL']): > > File "/usr/lib/python2.6/UserDict.py", line 22, in __getitem__ > > raise KeyError(key) > > KeyError: 'SAGE_LOCAL' > > > any help is appreciated. > > Sage consists of many mercurial repositories, as well as much code > that isn't under (our) revision control (e.g. upstream packages). > > To build Sage from scratch you need to do is download the source at > http://www.sagemath.org/download-source.html, unpack the tarball, > and type make inside of it. Then wait three hours or so. When you > have a working Sage, type sage -clone branch_name to make a clone of > the core Sage library code (which sits inside of $SAGE_ROOT/devel, > where $SAGE_ROOT is the path of the top-level folder). You can then > edit this and type "sage -b" to rebuild and test your changes. > > - Robert --~--~-~--~~~---~--~~ 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: %hide not hiding when printing
I got a new issue after change to %hideall. Each time reopening the workbook the %hideall cell is missing (the results are still there). Cannot see the greyed %hideall and tried to click that area still won't activate the hidden cell. I have to use the edit to comment %hideall to let the cell shows up. It seems like if you don't close and reopen the worksheet the greyed %hideall is always there, it dispears only after you reopen it. lmc On Apr 8, 6:51 pm, lmc70 wrote: > %hideall works. Thank you Pat also William. > > Maybe there are better ways to do it, but I don't know yet. What I am > doing is to use the notebook like MathCad, it shows the equations and > the results, also the comments. However, I don't want to show the > lines of 'print "", ', so I put all the print statements in > one separate cell and hide it, so they won't show up in the > printouts. > > Again, thank you and best regards, > lmc > > On Apr 8, 4:50 pm, Pat LeSmithe wrote: > > > Try %hideall ? I assume the issue here is the visibility of *input* > > cells, but what are the exact behaviors desired for %hide and %hideall > > for interactive, printed, and published worksheets? > > > William Stein wrote: > > > On Wed, Apr 8, 2009 at 11:21 AM, lmc70 wrote: > > >> Hello, > > > >> %hide works fine in the worksheet but shows up when printing. Any > > >> advice is appreciated. > > > >> - Sage3.4 VMWare Image > > >> - Dell Vostro 200 desktop > > > > This is a bug now being tracked here: > > >http://trac.sagemath.org/sage_trac/ticket/5718 --~--~-~--~~~---~--~~ 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: plotting miltigraphs with pos
Also, show3d doesn't work with that graph, G.show3d() ZeroDivisionError: float division Alec Mihailovs --~--~-~--~~~---~--~~ 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: Jmol causing Firefox crash
I had the same problem, which I fixed by adding one of the Jaunty multiverse repositories to the software sources, then reloading the list of packages in Synaptic (by clicking the Reload button), upgrading sun-java6 packages, installing new sun-java6-plugin package and uninstalling icedtea6-plugin package. After that, I removed Jaunty from the software sources. Hopefully, soon Jaunty will be available for upgrading, and that will be even easier to do. Alec Mihailovs --~--~-~--~~~---~--~~ 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: plotting miltigraphs with pos
On Apr 8, 11:50 am, William Stein wrote: > Thanks for the bug report. We are tracking this here: > > http://trac.sagemath.org/sage_trac/ticket/5713 Fantastic! I see that it is fixed already! I just added lambdas to my graph_plot.py file and the graph plots OK. Meanwhile, I've noticed that the degrees are printed not in the order of vertices in this graph, G.degree() [6, 6, 6, 3, 5] [i for i in G.degree_iterator()] [6, 6, 6, 3, 5] while it should be as in [G.degree(i) for i in G.vertices()] [6, 6, 6, 5, 3] Alec Mihailovs --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---