Re: [sage-support] Sheaf Cohomology Calculations
Hi, On Tue, 10 Aug 2010 13:52:09 -0700 (PDT), abak anthony@gmail.com wrote: How do I do sheaf cohomology calculations on a variety described as a complete (or local complete) intersection in P^n. I can define the variety by (for example): P5, x = ProjectiveSpace(5, QQ).objgens() X = P5.subscheme([x[0]^2 + x[1]^2 + x[2]^2 + x[3]^2 + x[4]^2, 2*x[0]^2 + x[1]^2 + 3*x[2]^2 + 4*x[3]^2 + 5*x[4]^2]) What comes next? Unfortunately, Sage does not do sheaf cohomology yet. Macaulay2 should be able to do this; you can have a look at http://www.math.uiuc.edu/Macaulay2/doc/Macaulay2-1.3.1/share/doc/Macaulay2/Macaulay2Doc/html/_coherent_spsheaves.html and related pages, and if that does not help, ask on the Macaulay2 mailing list, see http://groups.google.com/group/macaulay2 Best, Alex -- Alex Ghitza -- http://aghitza.org/ Lecturer in Mathematics -- The University of Melbourne -- Australia -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
Re: [sage-support] Re: Cannot upgrade for 4.5.1 to 4.5.2
On 08/11/2010 12:37 AM, samrat wrote: Here is the output of the command sage -upgrade. I installed and am upgrading as root. I am using CentOS 5.5 as a single user. # sage -upgrade Downloading packages from http://www.sagemath.org//spkg Reading package lists... Traceback (most recent call last): File /usr/local/pkgs/sage_4.5/local/bin/sage-update, line 357, in module do_update() File /usr/local/pkgs/sage_4.5/local/bin/sage-update, line 266, in do_update packages = spkg_list('standard') File /usr/local/pkgs/sage_4.5/local/bin/sage-update, line 202, in spkg_list urllib.urlretrieve(web_url, file, reporthook) File /usr/local/pkgs/sage_4.5/local/lib/python/urllib.py, line 94, in urlretrieve return _urlopener.retrieve(url, filename, reporthook, data) File /usr/local/pkgs/sage_4.5/local/lib/python/urllib.py, line 238, in retrieve fp = self.open(url, data) File /usr/local/pkgs/sage_4.5/local/lib/python/urllib.py, line 206, in open return getattr(self, name)(url) File /usr/local/pkgs/sage_4.5/local/lib/python/urllib.py, line 345, in open_http h.endheaders() File /usr/local/pkgs/sage_4.5/local/lib/python/httplib.py, line 892, in endheaders self._send_output() File /usr/local/pkgs/sage_4.5/local/lib/python/httplib.py, line 764, in _send_output self.send(msg) File /usr/local/pkgs/sage_4.5/local/lib/python/httplib.py, line 723, in send self.connect() File /usr/local/pkgs/sage_4.5/local/lib/python/httplib.py, line 704, in connect self.timeout) File /usr/local/pkgs/sage_4.5/local/lib/python/socket.py, line 516, in create_connection raise error, msg IOError: [Errno socket error] timed out Error getting new packages! Double checking that all packages have been installed. Downloading packages from http://www.sagemath.org//spkg Reading package lists... Traceback (most recent call last): File /usr/local/pkgs/sage_4.5/local/bin/sage-update, line 357, in module do_update() File /usr/local/pkgs/sage_4.5/local/bin/sage-update, line 266, in do_update packages = spkg_list('standard') File /usr/local/pkgs/sage_4.5/local/bin/sage-update, line 202, in spkg_list urllib.urlretrieve(web_url, file, reporthook) File /usr/local/pkgs/sage_4.5/local/lib/python/urllib.py, line 94, in urlretrieve return _urlopener.retrieve(url, filename, reporthook, data) File /usr/local/pkgs/sage_4.5/local/lib/python/urllib.py, line 238, in retrieve fp = self.open(url, data) File /usr/local/pkgs/sage_4.5/local/lib/python/urllib.py, line 206, in open return getattr(self, name)(url) File /usr/local/pkgs/sage_4.5/local/lib/python/urllib.py, line 345, in open_http h.endheaders() File /usr/local/pkgs/sage_4.5/local/lib/python/httplib.py, line 892, in endheaders self._send_output() File /usr/local/pkgs/sage_4.5/local/lib/python/httplib.py, line 764, in _send_output self.send(msg) File /usr/local/pkgs/sage_4.5/local/lib/python/httplib.py, line 723, in send self.connect() File /usr/local/pkgs/sage_4.5/local/lib/python/httplib.py, line 704, in connect self.timeout) File /usr/local/pkgs/sage_4.5/local/lib/python/socket.py, line 516, in create_connection raise error, msg IOError: [Errno socket error] timed out Error getting new packages! We should handle this exception, though I'm not sure about what exactly is causing it. Could you try sage -upgrade ask ? Harald, do you happen to see what's going on? On Aug 11, 2:27 am, Mitesh Patel qed...@gmail.com wrote: On 08/10/2010 10:47 AM, Daniel Harris wrote: I just had the same error but a make clean and then make again solved the problem Dan On Tue, Aug 10, 2010 at 10:06 AM, samrat samluvs...@gmail.com mailto:samluvs...@gmail.com wrote: Hi, I installed 4.5.1 from source. Now i am unable to upgrade from 4.5.1 to 4.5.1. I ran the command: sage -upgrade The last couple of lines of the error are: IOError: [Errno socket error] timed out Error getting new packages! Kindly advise. Thanks. Maybe the selected upgrade mirror did not later respond during package download? If you still have it, could you paste the entire output of 'sage -upgrade'? That could help to narrow the list of possibilities. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: Cannot upgrade for 4.5.1 to 4.5.2
Hi, # sage -upgrade ask Downloading packages from http://www.sagemath.org//spkg Reading package lists... Traceback (most recent call last): File /usr/local/pkgs/sage_4.5/local/bin/sage-update, line 357, in module do_update() File /usr/local/pkgs/sage_4.5/local/bin/sage-update, line 266, in do_update packages = spkg_list('standard') File /usr/local/pkgs/sage_4.5/local/bin/sage-update, line 202, in spkg_list urllib.urlretrieve(web_url, file, reporthook) File /usr/local/pkgs/sage_4.5/local/lib/python/urllib.py, line 94, in urlretrieve return _urlopener.retrieve(url, filename, reporthook, data) File /usr/local/pkgs/sage_4.5/local/lib/python/urllib.py, line 238, in retrieve fp = self.open(url, data) File /usr/local/pkgs/sage_4.5/local/lib/python/urllib.py, line 206, in open return getattr(self, name)(url) File /usr/local/pkgs/sage_4.5/local/lib/python/urllib.py, line 345, in open_http h.endheaders() File /usr/local/pkgs/sage_4.5/local/lib/python/httplib.py, line 892, in endheaders self._send_output() File /usr/local/pkgs/sage_4.5/local/lib/python/httplib.py, line 764, in _send_output self.send(msg) File /usr/local/pkgs/sage_4.5/local/lib/python/httplib.py, line 723, in send self.connect() File /usr/local/pkgs/sage_4.5/local/lib/python/httplib.py, line 704, in connect self.timeout) File /usr/local/pkgs/sage_4.5/local/lib/python/socket.py, line 516, in create_connection raise error, msg IOError: [Errno socket error] timed out Error getting new packages! Double checking that all packages have been installed. Downloading packages from http://www.sagemath.org//spkg Reading package lists... Traceback (most recent call last): File /usr/local/pkgs/sage_4.5/local/bin/sage-update, line 357, in module do_update() File /usr/local/pkgs/sage_4.5/local/bin/sage-update, line 266, in do_update packages = spkg_list('standard') File /usr/local/pkgs/sage_4.5/local/bin/sage-update, line 202, in spkg_list urllib.urlretrieve(web_url, file, reporthook) File /usr/local/pkgs/sage_4.5/local/lib/python/urllib.py, line 94, in urlretrieve return _urlopener.retrieve(url, filename, reporthook, data) File /usr/local/pkgs/sage_4.5/local/lib/python/urllib.py, line 238, in retrieve fp = self.open(url, data) File /usr/local/pkgs/sage_4.5/local/lib/python/urllib.py, line 206, in open return getattr(self, name)(url) File /usr/local/pkgs/sage_4.5/local/lib/python/urllib.py, line 345, in open_http h.endheaders() File /usr/local/pkgs/sage_4.5/local/lib/python/httplib.py, line 892, in endheaders self._send_output() File /usr/local/pkgs/sage_4.5/local/lib/python/httplib.py, line 764, in _send_output self.send(msg) File /usr/local/pkgs/sage_4.5/local/lib/python/httplib.py, line 723, in send self.connect() File /usr/local/pkgs/sage_4.5/local/lib/python/httplib.py, line 704, in connect self.timeout) File /usr/local/pkgs/sage_4.5/local/lib/python/socket.py, line 516, in create_connection raise error, msg IOError: [Errno socket error] timed out Error getting new packages! --- SELinux in in 'enforcing' mode. Initially (after installing) i had some problem with SELinux and so as root i had run: chcon -t textrel_shlib_t /usr/local/pkgs/sage_4.5/local/lib/libpari-gmp.so.2. After this i could invoke sage as non-root user. But i am upgrading as root. Does this help? On Aug 11, 2:27 pm, Mitesh Patel qed...@gmail.com wrote: On 08/11/2010 12:37 AM, samrat wrote: Here is the output of the command sage -upgrade. I installed and am upgrading as root. I am using CentOS 5.5 as a single user. # sage -upgrade Downloading packages fromhttp://www.sagemath.org//spkg Reading package lists... Traceback (most recent call last): File /usr/local/pkgs/sage_4.5/local/bin/sage-update, line 357, in module do_update() File /usr/local/pkgs/sage_4.5/local/bin/sage-update, line 266, in do_update packages = spkg_list('standard') File /usr/local/pkgs/sage_4.5/local/bin/sage-update, line 202, in spkg_list urllib.urlretrieve(web_url, file, reporthook) File /usr/local/pkgs/sage_4.5/local/lib/python/urllib.py, line 94, in urlretrieve return _urlopener.retrieve(url, filename, reporthook, data) File /usr/local/pkgs/sage_4.5/local/lib/python/urllib.py, line 238, in retrieve fp = self.open(url, data) File /usr/local/pkgs/sage_4.5/local/lib/python/urllib.py, line 206, in open return getattr(self, name)(url) File /usr/local/pkgs/sage_4.5/local/lib/python/urllib.py, line 345, in open_http h.endheaders() File /usr/local/pkgs/sage_4.5/local/lib/python/httplib.py, line 892, in endheaders self._send_output() File /usr/local/pkgs/sage_4.5/local/lib/python/httplib.py, line 764, in _send_output self.send(msg) File /usr/local/pkgs/sage_4.5/local/lib/python/httplib.py, line 723, in send self.connect() File
[sage-support] VMware memory allocation: how to change it with version 4.5.2?
Hi, VMware is supported again which I appriciate very much. But there is a difference with (for instance) Sage 4.1. With Sage 4.1 I could change the memory allocation via the option VM Settings. With Sage 4.5.2. the allocation is only 512Mb, and can't be changed. Any solution at hand? Thanks in advance! Roland -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] help! windows crash - sage inaccessible from host browser
This is probably completely noobish of me, but I really need help solving the following problem (which has now occurred for the second time). First, the setup: Sage Version 4.3 VirtualBox 3.1.4 Windows 7 Firefox 3.6.8 My machine crashed with the VM running Sage. When I rebooted, I restarted VirtualBox, restarted the VM, and pointed the (host) browser to Sage's IP (192.168.56.101). No dice: I get a Firefox can't establish a connection to the server at 192.168.56.101. Furthermore, pinging 192.168.56.101 from a command prompt gives 4 healthy 1ms responses. Inside the VM, opening Firefox and pointing it to http://localhost:8000/home/admin/ initially gave a can't establish connection error. Then I clicked on the sage:prompt icon and typed notebook(). The result was that now the VM browser does display the Active Worksheets page correctly, although Sage threw the following at me: The notebook files are stored in: sage_notebook.sagenb ** ** * Open your web browser to http://localhost:8000 * ** ** Removing stale pidfile /home/sage/.sage/sage_notebook.sagenb/ twistd.pid 2010-08-11 13:11:24-0700 [-] Log opened. 2010-08-11 13:11:24-0700 [-] twistd 8.2.0 (/sage/sage/local/bin/python 2.6.2) st arting up. 2010-08-11 13:11:24-0700 [-] reactor class: twisted.internet.selectreactor.Selec tReactor. 2010-08-11 13:11:24-0700 [-] twisted.web2.channel.http.HTTPFactory starting on 8 000 2010-08-11 13:11:24-0700 [-] Starting factory twisted.web2.channel.http.HTTPFac tory instance at 0xb752b2c The host browser still does not see 192.168.56.101. Please help! Thanks, Josh -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: plotting on-screen with pylab in sage -python
Thanks for the post - I was having the same problem and used your post to figure things out :) Anyways, it turns out that wxPython and pyqt are both available as Sage packages. They are available under the experimental package listing: http://www.sagemath.org/packages/experimental/ So there is no guarantee that either package will work but I was able to install wxPython. Greg -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: problem with installation ??
Ok I finally compiled it myself, It work fine !!! thanks !!! On Aug 9, 5:28 pm, julien julien.d...@gmail.com wrote: Thanks for the answer, I downloaded the new version on the website (version 4.5) and I followed this tutorial :https://help.ubuntu.com/community/SAGE unfortunately I have still problems : (I guess I will try to compile it myself, is there any clear tutorial to do that ?) Just for info: here is the problems I have : thanks! Julien jul...@harvardo:~$ sage -- | Sage Version 4.5, Release Date: 2010-07-16 | | Type notebook() for the GUI, and license() for information. | -- --- ImportError Traceback (most recent call last) /opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/bin/ string in module() /opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/ python2.6/site-packages/sage/misc/preparser_ipython.py in module() 6 ### 7 8 import sage.misc.interpreter 9 10 import preparser /opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/ python2.6/site-packages/sage/misc/interpreter.py in module() 100 101 import os -- 102 import log 103 104 import remote_file /opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/ python2.6/site-packages/sage/misc/log.py in module() 63 64 import interpreter --- 65 import latex 66 import misc 67 /opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/ python2.6/site-packages/sage/misc/latex.py in module() 38 import random 39 --- 40 from misc import tmp_dir, graphics_filename 41 import sage_eval 42 from sage.misc.misc import SAGE_DOC /opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/ python2.6/site-packages/sage/misc/misc.py in module() 36 37 import operator, os, stat, socket, sys, signal, time, weakref, resource, math --- 38 import sage.misc.prandom as random 39 40 from banner import version, banner /opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/ python2.6/site-packages/sage/misc/prandom.py in module() 54 # setting seeds should only be done through sage.misc.randstate . 55 --- 56 from sage.misc.randstate import current_randstate 57 58 def _pyrand(): ImportError: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.11' not found (required by /opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686- Linux/local/lib/libpari-gmp.so.2) WARNING: Failure executing code: 'import sage.misc.preparser_ipython; sage.misc.preparser_ipython.magma_colon_equals=True' --- ImportError Traceback (most recent call last) /opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/ python2.6/site-packages/IPython/ipmaker.pyc in force_import(modname) 64 reload(sys.modules[modname]) 65 else: --- 66 __import__(modname) 67 68 /opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/bin/ ipy_profile_sage.py in module() 1 import os 2 if 'SAGE_CLEAN' not in os.environ: 3 import sage.misc.misc 4 from sage.misc.interpreter import preparser, _ip 5 preparser(True) /opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/ python2.6/site-packages/sage/misc/misc.py in module() 36 37 import operator, os, stat, socket, sys, signal, time, weakref, resource, math --- 38 import sage.misc.prandom as random 39 40 from banner import version, banner /opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/ python2.6/site-packages/sage/misc/prandom.py in module() 54 # setting seeds should only be done through sage.misc.randstate . 55 --- 56 from sage.misc.randstate import current_randstate 57 58 def _pyrand(): ImportError: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.11' not found (required by /opt/sage-4.5-linux-32bit-ubuntu_10.04_lts-i686- Linux/local/lib/libpari-gmp.so.2) Error importing ipy_profile_sage - perhaps you should run %upgrade? WARNING: Loading of ipy_profile_sage failed. WARNING: Readline services not available on this platform. WARNING: The auto-indent feature requires the readline library ERROR: name 'sage_prompt' is not defined On Aug 5, 10:56 am, kcrisman kcris...@gmail.com wrote: Dear Julien, You should probably check outhttp://www.sagemath.org/download-linux.html . For instance, a 32-bit Ubuntu 10.04 build seems to be available at
Re: [sage-support] VMware memory allocation: how to change it with version 4.5.2?
Hi, On Wed, 11 Aug 2010 10:02:03 -0700 (PDT), Rolandb rola...@planet.nl wrote: But there is a difference with (for instance) Sage 4.1. With Sage 4.1 I could change the memory allocation via the option VM Settings. With Sage 4.5.2. the allocation is only 512Mb, and can't be changed. Any solution at hand? Thanks in advance! Here is a little experiment I ran: I just tried to change the RAM allocation for the latest vmware image, and could not. At the top of the corresponding settings window, vmware tells me: Disabled items cannot be changed until the virtual machine is powered off. To make these changes, first resume the virtual machine and then shut it down. In other words, one cannot change the RAM allocation for a virtual machine that is currently running or suspended, but only for machines that are powered off. I powered mine off and was able to change the settings. Best, Alex -- Alex Ghitza -- http://aghitza.org/ Lecturer in Mathematics -- The University of Melbourne -- Australia -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: VMware memory allocation: how to change it with version 4.5.2?
On 11 aug, 23:45, Alex Ghitza aghi...@gmail.com wrote: Hi, On Wed, 11 Aug 2010 10:02:03 -0700 (PDT), Rolandb rola...@planet.nl wrote: But there is a difference with (for instance) Sage 4.1. With Sage 4.1 I could change the memory allocation via the option VM Settings. With Sage 4.5.2. the allocation is only 512Mb, and can't be changed. Any solution at hand? Thanks in advance! Here is a little experiment I ran: I just tried to change the RAM allocation for the latest vmware image, and could not. At the top of the corresponding settings window, vmware tells me: Disabled items cannot be changed until the virtual machine is powered off. To make these changes, first resume the virtual machine and then shut it down. In other words, one cannot change the RAM allocation for a virtual machine that is currently running or suspended, but only for machines that are powered off. I powered mine off and was able to change the settings. Best, Alex Tnx Alex! I suggest that the following guideline could be added to the documentation (http://www.sagemath.org/mirror/win/README.txt): * download VMware - please check around every three months whether there is a new WMware version! Currently use version 3.1. * start Sage * If it works correctly, you see three icons: Sage notebook, Sage and Terminal i) Start Sage notebook ii) you will see a web-address message like http://192.168.231.12x/. Remember it! - if you do not see a web-address message, you can use Sage within Ubuntu but you cannot use Sage in Windows Now do some quick tests, mainly to ensure that the system settings are optimal. iii) Open the worksheet Test. Check whether all calculations and graphics work properly and fast(!) - if no reaction: please notify sage-support with all the information about your system, error messages et cetera - if graphics does not show up nicely: install missing software and/or try different screen settings - if Sage is slow, please notify sage-support with all the information about your system iv) Close the worksheet Test, close Sage notebook, close VMplayer v) Open VMplayer directly (search for VMplayer.exe) - You will see the virtual application Sage. - If you point to it, on the left screen you are able to change the memory settings. Go for the max! - start Sage application (nothing else!), and minimize the screen - start your web browser (Firefox 3.6 or better), and use the address 192.168.231.12x - check Test again The Sage world is yours! When a release is made, the above steps should be tested. * The main reason for the extra steps is that VMplayer now allows a different memory allocation per application, but standard is 512MB. If I can contribute further, please let me know. Roland -- Alex Ghitza --http://aghitza.org/ Lecturer in Mathematics -- The University of Melbourne -- Australia -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: help! windows crash - sage inaccessible from host browser
On 11 aug, 22:36, Josh yoshua.coo...@gmail.com wrote: This is probably completely noobish of me, but I really need help solving the following problem (which has now occurred for the second time). First, the setup: Sage Version 4.3 VirtualBox 3.1.4 Windows 7 Firefox 3.6.8 My machine crashed with the VM running Sage. When I rebooted, I restarted VirtualBox, restarted the VM, and pointed the (host) browser to Sage's IP (192.168.56.101). No dice: I get a Firefox can't establish a connection to the server at 192.168.56.101. Furthermore, pinging 192.168.56.101 from a command prompt gives 4 healthy 1ms responses. Inside the VM, opening Firefox and pointing it tohttp://localhost:8000/home/admin/ initially gave a can't establish connection error. Then I clicked on the sage:prompt icon and typed notebook(). The result was that now the VM browser does display the Active Worksheets page correctly, although Sage threw the following at me: The notebook files are stored in: sage_notebook.sagenb ** * * * Open your web browser tohttp://localhost:8000* * * ** Removing stale pidfile /home/sage/.sage/sage_notebook.sagenb/ twistd.pid 2010-08-11 13:11:24-0700 [-] Log opened. 2010-08-11 13:11:24-0700 [-] twistd 8.2.0 (/sage/sage/local/bin/python 2.6.2) st arting up. 2010-08-11 13:11:24-0700 [-] reactor class: twisted.internet.selectreactor.Selec tReactor. 2010-08-11 13:11:24-0700 [-] twisted.web2.channel.http.HTTPFactory starting on 8 000 2010-08-11 13:11:24-0700 [-] Starting factory twisted.web2.channel.http.HTTPFac tory instance at 0xb752b2c The host browser still does not see 192.168.56.101. Please help! Thanks, Josh Josh, I encountered this problem often so I became frustrated... My advice is to switch immediately to the VMplayer route and do not use Virtualbox anymore. (VMplayer has improved a lot) Look at the download page http://wiki.sagemath.org/DownloadAndInstallationGuide what to do, and follow the instructions at http://groups.google.com/group/sage-support/t/7e82f6dc7b4f5065 Before you switch, do NOT forget to download ALL your worksheet files first! Success! Roland -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: evaluating numerically a function expression
On 7/25/10 3:46 PM, Maurizio wrote: is there any form of pattern matching in sage? that should be the basic tool to do something like you mentioned, is it correct? Yes, there is pattern matching. See http://sagemath.org/doc/reference/sage/symbolic/expression.html?highlight=wildcard#sage.symbolic.expression.Expression.match or http://sagemath.org/doc/reference/sage/symbolic/ring.html?highlight=wildcard#sage.symbolic.ring.SymbolicRing.wild for example. 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 URL: http://www.sagemath.org
[sage-support] Re: fast_float() trashes worksheet namespace
On 7/24/10 2:16 PM, Simon King wrote: Hi Jason, On 24 Jul., 19:54, Jason Groutjason-s...@creativetrax.com wrote: Or it sounds like the computation probably is crashing the Sage instance with a MemoryError. After the crash, when a new Sage instance is started, nothing is defined anymore, of course, so it appears the workspace was trashed. No, it seems to go beyond that. Even when I evaluate a cell containing the number 1 or a string (so, no variable), there is no output. And it can not be the reason that there is an undefined variable: There is no output *and* no error. Nothing. Even if in a subsequent cell I use a clearly non-existing variable, there is no NameError. Then it seems like the Sage instance crashed, and so is not responding, doesn't it? That has been my experience when I've seen these symptoms---the backend Sage instance crashed and stopped responding to the server's requests. The worksheet indicates that it is busy working (by alternating / and \ appearing in the page title), but it still accepts input. That is your web browser doing those things. The backend Sage instance doing the computations isn't affecting those functions. 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 URL: http://www.sagemath.org