Re: [sage-support] Re: SAGE and .NET interoperability.
On Fri, Jan 8, 2010 at 10:59, kcrisman wrote: >> no, it doesn't give you *any* reasonable figures, at all! >> In fact, I am sure lots of people (a vast majority) are running Cygwin >> (or Mingw - a clone of Cygwin) apps on their Windows boxes without >> even realising this. Cygwin works quietly behind the scenes here. >> > > That is very interesting. When you say "a vast majority", can you > give an example of a specific application people are using? One example I know about: R for windows is compiled using mingwin, but can be used without having mingwin installed. (It installs cygwin1.dll or something, b ut most people know nothing about that). Most people could care less about which compiler is used to compile the program they use! Kjetil That > could be good to know about. > > Also, from earlier in the discussion it sounded like it was possible > to make Sage-Cygwin be a one-step download, e.g. > > 1. Download sage-cygwin.msi > 2. Double click and click through an install process > 3. Click the icon for sage-cygwin and begin using Sage > > If that is possible, that would be fantastic. Up to now my > understanding was that one first had to download Cygwin and install/ > configure it, then download the Sage install and hope that it > cooperated with Cygwin on one's computer. > > - 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 > URL: http://www.sagemath.org > > -- "... an entire human genome would fit on a music CD." --- www.thinkgene.com -- 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: notebook in sage
On Tue, Dec 22, 2009 at 23:22, Tim Joseph Dumol wrote: > Hey, > > On Wed, Dec 23, 2009 at 3:57 AM, Kjetil Halvorsen > wrote: >> >> Responding myself ... while the notebook is very nice, something is >> strange. I give the command >> search_doc("trigonometry") >> and up comes some links to help files. Then i click on one of them, and >> the file comes up, BUT IT TAKES a very long time --- much longer than >> loading >> link on the web! that is strange since localhost is a link on the same >> machine... >> >> Kjetil > > `search_doc` takes a long time because it is an unindexed search, so it has > to scan all the files in the source directory. It will take much less time > if it were indexed, but no one has done the job yet. It is not search_doc itself which takes so long time. I have a fast machine and that one is only a few seconds. But when I click on one of the files shown, then opening it in the browser takes an unreasonable long time. Kjetil > >> >> On Tue, Dec 22, 2009 at 13:53, Kjetil Halvorsen >> wrote: >> > Hola! >> > >> > Long ago I complaines that on my ubuntu 9.04 & sage 4.0 >> > installation the notebook interface did'nt work. Now I have upgraded >> > to ububtu 9.10 and sage 4.2, and everything works out of the box. >> > >> > Thanks! >> > >> > Kjetil >> > >> > >> > -- >> > "... an entire human genome would fit on a music CD." >> > >> > --- www.thinkgene.com >> > >> >> >> >> -- >> "... an entire human genome would fit on a music CD." >> >> --- www.thinkgene.com >> >> -- >> 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 > > > > -- > Tim Joseph Dumol > http://timdumol.com > > -- > 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 > -- "... an entire human genome would fit on a music CD." --- www.thinkgene.com -- 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] converting between expressions in different forms
Hola! I am still learning sage, and find the documentation usefull, but some questions I can't find the answer there... When I have got an expression xontaining exponentials, and I can recognice the elements of the exponential form for sin, cos, etc, how can I get that automatically in trigonometric form? Or the other way around? Kjetil -- "... an entire human genome would fit on a music CD." --- www.thinkgene.com -- 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: notebook in sage
Responding myself ... while the notebook is very nice, something is strange. I give the command search_doc("trigonometry") and up comes some links to help files. Then i click on one of them, and the file comes up, BUT IT TAKES a very long time --- much longer than loading link on the web! that is strange since localhost is a link on the same machine... Kjetil On Tue, Dec 22, 2009 at 13:53, Kjetil Halvorsen wrote: > Hola! > > Long ago I complaines that on my ubuntu 9.04 & sage 4.0 > installation the notebook interface did'nt work. Now I have upgraded > to ububtu 9.10 and sage 4.2, and everything works out of the box. > > Thanks! > > Kjetil > > > -- > "... an entire human genome would fit on a music CD." > > --- www.thinkgene.com > -- "... an entire human genome would fit on a music CD." --- www.thinkgene.com -- 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] notebook in sage
Hola! Long ago I complaines that on my ubuntu 9.04 & sage 4.0 installation the notebook interface did'nt work. Now I have upgaraded to ububtu 9.10 and sage 4.2, and everything works out of the box. Thanks! Kjetil -- "... an entire human genome would fit on a music CD." --- www.thinkgene.com -- 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] matrix exponential and logarith in sage?
subject says it all!! Kjetil -- "... an entire human genome would fit on a music CD." --- www.thinkgene.com -- 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: compiling sage 4.2 fom source on ubuntu karmic 9.10
On Sat, Oct 31, 2009 at 15:00, William Stein wrote: > > On Sat, Oct 31, 2009 at 6:50 AM, Minh Nguyen wrote: >> >> Hi Kjetil, >> >> On Sun, Nov 1, 2009 at 12:41 AM, Kjetil Halvorsen >> wrote: >> >> >> >>> What does this mean? >> >> It means you have successfully compiled Sage from source and now you >> have a working local installation of Sage. As for the doctest >> failures, you might want to provide a link to the full test log and >> we'll see what we could do to resolve the doctest failures. We'd be >> interested to know what the failures are. > > > sage -t "devel/sage/sage/server/notebook/cell.py" > > is harmless since that code is no longer used. > > The other failure in free_module.py -- you should post it. OK. Here is the relevant part of test.log: sage -t "devel/sage/sage/modules/free_module.py" ** File "/home/kjetil/sage-4.2/devel/sage/sage/modules/free_module.py", line 2496: sage: W = M.submodule([x*B[0], 2*B[1]- x*B[2]]); W Exception raised: Traceback (most recent call last): File "/home/kjetil/sage-4.2/local/bin/ncadoctest.py", line 1231, in run_one_test self.run_one_example(test, example, filename, compileflags) File "/home/kjetil/sage-4.2/local/bin/sagedoctest.py", line 38, in run_one_example OrigDocTestRunner.run_one_example(self, test, example, filename, compileflags) File "/home/kjetil/sage-4.2/local/bin/ncadoctest.py", line 1172, in run_one_example compileflags, 1) in test.globs File "", line 1, in W = M.submodule([x*B[Integer(0)], Integer(2)*B[Integer(1)]- x*B[Integer(2)]]); W###line 2496: sage: W = M.submodule([x*B[0], 2*B[1]- x*B[2]]); W File "/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/modules/free_module.py", line 2508, in submodule V = self.span(gens, check=check, already_echelonized=already_echelonized) File "/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/modules/free_module.py", line 2424, in span self.ambient_module(), gens, check=check, already_echelonized=already_echelonized) File "/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/modules/free_module.py", line 5428, in __init__ echelonize=True, already_echelonized=already_echelonized) File "/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/modules/free_module.py", line 4531, in __init__ basis = self._echelonized_basis(ambient, basis) File "/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/modules/free_module.py", line 4644, in _echelonized_basis d = self._denominator(basis) File "/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/modules/free_module.py", line 4752, in _denominator d = sage.rings.integer.Integer(B[0].denominator()) File "free_module_element.pyx", line 958, in sage.modules.free_module_element.FreeModuleElement.denominator (sage/modules/free_module_element.c:8227) File "/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/rings/polynomial/polynomial_singular_interface.py", line 343, in lcm return lcm_func(self, singular, have_ring) File "/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/rings/polynomial/polynomial_singular_interface.py", line 451, in lcm_func lcm = self._singular_(have_ring=have_ring).lcm(right._singular_(have_ring=have_ring)) File "/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/rings/polynomial/polynomial_singular_interface.py", line 339, in _singular_ return _singular_func(self, singular, have_ring) File "/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/rings/polynomial/polynomial_singular_interface.py", line 383, in _singular_func self.parent()._singular_(singular).set_ring() #this is expensive File "/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/rings/polynomial/polynomial_singular_interface.py", line 196, in _singular_ return self._singular_init_(singular) File "/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/rings/polynomial/polynomial_singular_interface.py", line 241, in _singular_init_ self.__singular = singular.ring(self.characteristic(), _vars, order=order, check=False) File "/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/interfaces/singular.py", line 899, in ring R = self('%s,%s,%s'%(char, vars, order), 'ring') File "/home/kjetil/sage-4.2/local/lib/python/site-packages/sage/interfaces/singular.py", line 662, in __call__ return SingularElem
[sage-support] compiling sage 4.2 fom source on ubuntu karmic 9.10
I just compiled sage 4.2 from source as detailed in the title, using gcc 4.4.1 and friends. Running the tests I got: The following tests failed: sage -t "devel/sage/sage/modules/free_module.py" sage -t "devel/sage/sage/server/notebook/cell.py" Total time for all tests: 7142.5 seconds Please see /home/kjetil/.sage//tmp/test.log for the complete log from this test. What does this mean? Kjetil -- "... an entire human genome would fit on a music CD." --- www.thinkgene.com --~--~-~--~~~---~--~~ 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] Lie Theory
Hola! ¿Is there something in Sage for Lie groups and algebras? Kjetil -- "... an entire human genome would fit on a music CD." --- www.thinkgene.com --~--~-~--~~~---~--~~ 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: trouble with solve()
On Fri, Jun 26, 2009 at 07:11, Stan Schymanski wrote: > > Update: > In maxima, I simply have to answer 'no' to the question whether n is an > integer and I obtain the solution. How can I pass the 'no' to maxima > through sage?? > Try to use assume() befotre the call to maxima? > Stan > > Stan Schymanski wrote: >> Dear all, >> >> How can I get sage to solve a simple equation such as the one below? >> >> -- >> | Sage Version 4.0.2, Release Date: 2009-06-18 | >> | Type notebook() for the GUI, and license() for information. | >> -- >> sage: var('x y n') >> (x, y, n) >> sage: solve(y == x^n,x) >> --- >> TypeError Traceback (most recent call >> last) >> [...] >> TypeError: Computation failed since Maxima requested additional >> constraints (try the command 'assume(>0)' before integral or limit >> evaluation, for example): >> Is n an integer? >> >> MMA solves similar equation using inverse functions and spits out a >> warning, no matter whether n is an integer or not. I thought that >> Maxima would do the same as stated in the docu. >> >> Here is an excerpt from the Maxima 5_15 docu: >> >> "Let E be the expression and X be the variable. If E is linear in X >> then it is trivially solved for X. Otherwise if E is of the form A*X^N >> + B then the result is (-B/A)^1/N) times the N'th roots of unity." >> >> Is this a problem with the sage->maxima interface? I also wanted to >> try Sympy as suggested in another post, but Sympy does not seem to be >> included in the new version of sage any more. Am I misunderstanding >> something? >> >> Thanks for your help! >> >> Stan >> >> > >> > > -- > > > Stan Schymanski > Scientist > Max Planck Institute for Biogeochemistry > Postfach 10 01 64 > D-07701 Jena > > Phone: +49.3641.576264 > Fax: +49.3641.577274 > WWW: http://www.bgc-jena.mpg.de/~sschym > > Biospheric Theory and Modelling Group > http://www.bgc-jena.mpg.de/bgc-theory/ > _ > > > > > -- "... an entire human genome would fit on a music CD." --- www.thinkgene.com --~--~-~--~~~---~--~~ 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: notebook dont function
All of this is very good, thank you all, but it does'nt help my sage to run in the notebook interface. I have a working internet connection and Firefox is not in offline mode. I tried witnh Seamonkey too, no luck there either. So does anybody have any idea whar I can do under ubuntu 9.04 to get this to work? Kjetil On Thu, May 21, 2009 at 21:06, Minh Nguyen wrote: > > On Fri, May 22, 2009 at 12:58 AM, Kjetil Halvorsen > wrote: > > > >>> Can you try installing Sage 3.4.2 from source and then run the notebook >>> again? >> >> Did so. Same , exact, problem. Is there some alternative interfaces to >> run sage? > > In Firefox under the menu "File", there's an option called "Work > offline". If there's a check mark or ticket next to it, then uncheck > it. Then try the notebook again. If you still want to use the > notebook, you can try one of the many publicly available at > > http://www.sagenb.org/ > http://sage.milnix.org/ > http://sagenb.kaist.ac.kr/ > > But again the command line interface is usually very reliable from my > experience. > >> Kjetil > > -- > Regards > Minh Van Nguyen > > > > -- "Mathematics is not the rigid and rigidity-producing schema that the layman thinks it is; rather, in it we find ourselves at that meeting point of constraint and freedom that is the very essence of human nature." - Hermann Weyl --~--~-~--~~~---~--~~ 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: notebook dont function
On Wed, May 20, 2009 at 22:31, Minh Nguyen wrote: > > Hi Kjetil, > > On Wed, May 20, 2009 at 11:54 PM, Kjetil Halvorsen > wrote: > > Hola! > > > > I installed sage 3.4.1 from source on ubuntu 9.04 GNU linux. > > To start sage I do: > > > > kje...@familien:~/sage-3.4.1$ ./sage > > -- > > | Sage Version 3.4.1, Release Date: 2009-04-21 | > > | Type notebook() for the GUI, and license() for information.| > > -- > > notebooksage: notebook() > > The notebook files are stored in: /home/kjetil/.sage//sage_notebook > > ** > > ** > > * Open your web browser to http://localhost:8000 * > > ** > > ** > > 2009-05-20 19:43:52-0400 [-] Log opened. > > 2009-05-20 19:43:52-0400 [-] twistd 8.1.0 > > (/home/kjetil/sage-3.4.1/local/bin/python 2.5.2) starting up > > 2009-05-20 19:43:52-0400 [-] reactor class: > 'twisted.internet.selectreactor.SelectReactor'> > > 2009-05-20 19:43:52-0400 [-] twisted.web2.channel.http.HTTPFactory > starting > > on 8000 > > 2009-05-20 19:43:52-0400 [-] Starting factory > > > > > > In firefox a new tab is opening, with this message: > > > > Failed to Connect > > > > Firefox can't establish a connection to the server at localhost:8000. > > > > > --- What can I do? > > Can you try installing Sage 3.4.2 from source and then run the notebook > again? Did so. Same , exact, problem. Is there some alternative interfaces to run sage? Kjetil > > > -- > Regards > Minh Van Nguyen > > > > -- "Mathematics is not the rigid and rigidity-producing schema that the layman thinks it is; rather, in it we find ourselves at that meeting point of constraint and freedom that is the very essence of human nature." - Hermann Weyl --~--~-~--~~~---~--~~ 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: notebook dont function
On Thu, May 21, 2009 at 14:37, Bruce Cohen wrote: > > I believe the problem is Firefox and not Sage. I run Ubuntu 8.04 and > can only use Sage notebooks on Firefox when I have a working internet > connection. When I use Opera (http://www.opera.com/) as the web > browser, I am fine whether on the net or not. > > -Bruce Thanks. For me it doesn't work when I have an internet connection. Will try what happens without. Kjetil --~--~-~--~~~---~--~~ 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: notebook dont function
SEE below. On Wed, May 20, 2009 at 22:34, mabshoff < michael.absh...@mathematik.uni-dortmund.de> wrote: > > > > On May 20, 7:31 pm, Minh Nguyen wrote: > > Hi Kjetil, > > > > > > --- What can I do? > > > > Can you try installing Sage 3.4.2 from source and then run the notebook > again? > > This has very likely nothing to do with the build from source, etc, > but most likely is due to local proxy settings or a firewall > interfering. > Maybe. (I also run all the tests, and no problems were reported). This is my private laptop. network setting and so on are deafult from ubuntu setup, with absolutely minimum changes if any. ¿Do the notebook access internet at all, is there any possibility that the university's firewall can interfere? If this is a problem with my local ubuntu settings, what cai i do??? (apart from downloading sage 3.4.2, which I am doing)? Kjetil > > > -- > > Regards > > Minh Van Nguyen > > Cheers, > > Michael > > > -- "Mathematics is not the rigid and rigidity-producing schema that the layman thinks it is; rather, in it we find ourselves at that meeting point of constraint and freedom that is the very essence of human nature." - Hermann Weyl --~--~-~--~~~---~--~~ 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] notebook dont function
Hola! I installed sage 3.4.1 from source on ubuntu 9.04 GNU linux. To start sage I do: kje...@familien:~/sage-3.4.1$ ./sage -- | Sage Version 3.4.1, Release Date: 2009-04-21 | | Type notebook() for the GUI, and license() for information.| -- notebooksage: notebook() The notebook files are stored in: /home/kjetil/.sage//sage_notebook ** ** * Open your web browser to http://localhost:8000 * ** ** 2009-05-20 19:43:52-0400 [-] Log opened. 2009-05-20 19:43:52-0400 [-] twistd 8.1.0 (/home/kjetil/sage-3.4.1/local/bin/python 2.5.2) starting up 2009-05-20 19:43:52-0400 [-] reactor class: 2009-05-20 19:43:52-0400 [-] twisted.web2.channel.http.HTTPFactory starting on 8000 2009-05-20 19:43:52-0400 [-] Starting factory In firefox a new tab is opening, with this message: Failed to Connect Firefox can't establish a connection to the server at localhost:8000. Though the site seems valid, the browser was unable to establish a connection. * Could the site be temporarily unavailable? Try again later. * Are you unable to browse other sites? Check the computer's network connection. * Is your computer or network protected by a firewall or proxy? Incorrect settings can interfere with Web browsing. --- What can I do? Kjetil -- "Mathematics is not the rigid and rigidity-producing schema that the layman thinks it is; rather, in it we find ourselves at that meeting point of constraint and freedom that is the very essence of human nature." - Hermann Weyl --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---