[sage-support] Korean characters in TinyMCE
Hi, If I write in Korean and save in the TinyMCE editor in the Sage Notebook, it appears fine. But if I "open" the cell to change the content, then the Korean characters are all gone and strange characters are shown instead. Perhaps an encoding problem. I was not sure where to ask about this problem. Should I ask to the TinyMCE site? Kwankyu --~--~-~--~~~---~--~~ 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: Why does import not work?
I would guess you have a circular import issue going on here when you try to put it in the Sage library. Unfortunately, I don't have an easy solution other than trying to be very careful about what you are importing in your files. On Mar 18, 2009, at 10:04 AM, Simon King wrote: > > Dear folks, > > I implemented "symmetric polynomial rings" and "symmetric ideals" in > two python files ``symmetric_polynomial.py`` and > ``symmetric_ideal.py``. When I attach ``symmetric_polynomial.py``, > everything works just fine (the class from the second file is imported > by the first). > > The problems start when I copy these files into sage.rings.polynomial, > and update all.py by adding the line > from sage.rings.polynomial.symmetric_polynomial import > SymmetricPolynomialRing > > After sage -br, I obtain: > ImportError Traceback (most recent call > last) > > /home/king/SAGE/devel/sage-3.2.3/local/lib/python2.5/site-packages/ > IPython/ipmaker.pyc in force_import(modname) > ... > ImportError: cannot import name PolynomialRing > Error importing ipy_profile_sage - perhaps you should run %upgrade? > WARNING: Loading of ipy_profile_sage failed. > > > The imports in symmetric_polynomial.py are: > > import sage > import sage.all > from sage.rings.polynomial.polynomial_ring_constructor import > PolynomialRing > from sage.rings.integer_ring import ZZ > from sage.structure.element import RingElement > from sage.rings.ring import CommutativeRing, Ring > from sage.rings.commutative_ring import is_CommutativeRing > from sage.structure.all import Parent, SageObject > from sage.structure.factory import UniqueFactory > from sage.rings.polynomial.infinite_polynomial import > InfinitePolynomialRing_class > from sage.misc.cachefunc import cached_method > from sage.misc.misc import prod > from sage.combinat.permutation import Permutation > import copy, operator > > Interestingly, a previous version of that file was successfully > installed into sage.rings.polynomial, and it imported: > > from sage.rings.polynomial.polynomial_ring_constructor import > PolynomialRing > from sage.rings.integer_ring import ZZ > from sage.structure.element import RingElement > from sage.rings.ring import Ring > from sage.structure.all import Parent, SageObject > from sage.structure.factory import UniqueFactory > from sage.misc.cachefunc import cached_method > import copy, operator > > Can you explain to me why it works to attach the file, while an import > by sage/rings/polynomial/all.py fails? > > Thank you very much in advance >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: "Error showing url: There was an error launching the default action command associated with this location."
On Mar 18, 3:08 pm, William Stein wrote: > Does the sage notebook still work if you directly paste > > http://localhost:8000 > > in the url of your web browser? Yes. cs --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: OS X Clickable application
Hi, On Thu, Mar 19, 2009 at 1:43 AM, Byungchul Cha wrote: > > I remember reading something about making a clickable sage application > for mac os X. Can I now do such a thing with sage 3.4? If so, where I > can find the instruction? The release tour of Sage 3.3 at http://mvngu.wordpress.com/2009/02/23/sage-33-released/ contains instruction on making a clickable Mac OS X app. See especially the instructions under the heading "Distribution" on that page. If any of the three steps listed under that heading fail for your particular OS X version, please inform me. -- Regards Minh Van Nguyen --~--~-~--~~~---~--~~ 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] OS X Clickable application
I remember reading something about making a clickable sage application for mac os X. Can I now do such a thing with sage 3.4? If so, where I can find the instruction? Thanks. --~--~-~--~~~---~--~~ 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: new cell in worksheet
Thank you. Yeah, I needed to consult the "Help" first. ^^ Kwankyu --~--~-~--~~~---~--~~ 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: using %time and friends in loops
On Wed, 18 Mar 2009 at 05:27PM -0700, kcrisman wrote: > Incidentally, Dan's original syntax does not seem to be valid in the > notebook, nor is > %time 2+2 > in a cell in one line, which means essentially one can only time a > whole cell or not at all (see > http://groups.google.com/group/sage-support/browse_thread/thread/e028015763b31c49/09d2bef404f3c2f2#09d2bef404f3c2f2). > > Also, in the command line, > sage: %time 2+2 > works but > sage: %time 2+2; %time 2+3 > does not. I discovered this same thing not long after sending my email. Also, in the notebook, %time and %timeit seem to do the same thing, but on the command line, %timeit runs multiple loops. There's definitely something weird going on with the %time* commands... Dan -- --- Dan Drake - KAIST Department of Mathematical Sciences --- http://mathsci.kaist.ac.kr/~drake signature.asc Description: Digital signature
[sage-support] Re: new cell in worksheet
Dear Kwankyu, > If I write and evaluate in a cell in a worksheet and if there are > already cells below the one which I am evaluating, then the cursor > moves into the cell just below instead of creating a new cell for next > input. Is this behavior preferable? This is annoying at least to me. One of the designers can answer for the technical reasons for this design decision, but let me tell you it is very useful when you are running through a worksheet you have already created, but changing a few things (e.g. some initial constant defined at the top)! But actually, if you click on "Help" you will see that Alt-Enter actually does what you require, while Ctrl-Enter splits the cell and evaluates both things. I didn't know either of these until I looked just now, and will definitely use them now too. Enjoy! - 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: using %time and friends in loops
Incidentally, Dan's original syntax does not seem to be valid in the notebook, nor is %time 2+2 in a cell in one line, which means essentially one can only time a whole cell or not at all (see http://groups.google.com/group/sage-support/browse_thread/thread/e028015763b31c49/09d2bef404f3c2f2#09d2bef404f3c2f2). Also, in the command line, sage: %time 2+2 works but sage: %time 2+2; %time 2+3 does not. - 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] new cell in worksheet
Hi, If I write and evaluate in a cell in a worksheet and if there are already cells below the one which I am evaluating, then the cursor moves into the cell just below instead of creating a new cell for next input. Is this behavior preferable? This is annoying at least to me. Kwankyu --~--~-~--~~~---~--~~ 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: Cannot copy on OSX
On Tue, Mar 17, 2009 at 7:49 PM, Jim Clark wrote: > > On Mar 17, 2009, at 4:57 PM, William Stein wrote: > >> >> On Tue, Mar 17, 2009 at 4:55 PM, Jim Clark >> wrote: >>> >>> On Mar 17, 2009, at 4:45 PM, William Stein wrote: >>> Thanks for the offer. But we release new sage versions every 1-2 weeks (!), and having old binaries doesn't help much William >>> >>> But the binary that you offer at sagemath.org doesn't work, >>> as the originator of this thread reported and as Michael Abshoff >>> and I >>> confirmed. >> >> In one week we will release a new version of Sage. And another new >> one a week or two later, etc. Are you going to physically deliver new >> binaries every week or two? >> > That's a good question, one I have not thought through. > > As it is, you have not been providing OSX PPC binaries with every > Sage release -- > the previous one was for version 3.2.3 last November. This was a mistake. We intend to provide binaries for every single release, but recently (and only recently) got lazy and didn't. In the future we intend to. -- William > Do you know how much demand there is for OSX PPC binaries? > > Would it help to provide new binaries at major releases, which seem > to come every month or two, > not every one to two weeks? That's a way that I would be willing to > help. > > Jim > > > > -- 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: using %time and friends in loops
Dan, This question probably belongs on the ipython list. I've cc'd this there. http://mail.scipy.org/mailman/listinfo/ipython-dev On Tue, Mar 17, 2009 at 8:55 PM, Dan Drake wrote: > Hello, > > I'm interested in doing a bunch of timing, so I'd like to put %time or > %timeit statements inside a loop. But there's a problem: if I type out > something like > > sage: for n in [1..5]: > : print 'n is %d' % n > : %time N(pi**n) > : > > I get the expected output, but if I want to change something -- say, pi > to sqrt(2), if I hit the up arrow twice and edit the lines, I get this: > > sage: for n in [1..5]: > print 'n is %d' % n > %time N(sqrt(2)**n) > > File "", line 3 > %time N(sqrt(2)**n) > ^ > SyntaxError: invalid syntax > > I know the % functions are special IPython things, but why do they work > when I type things in manually, but not when I hit the arrows to go > back? > > Dan > > -- > --- Dan Drake > - KAIST Department of Mathematical Sciences > --- http://mathsci.kaist.ac.kr/~drake > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEARECAAYFAknAcJgACgkQr4V8SljC5LqonQCg1VBr6J5Cx4idxz7zTlz+HzpX > fycAoLLzm4KhO4Fxe+2JSUnBoxBR/BMc > =jqhV > -END PGP SIGNATURE- > > -- 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: SSE4_1 errors when running sage 3.4
On Wed, Mar 18, 2009 at 3:20 PM, Johan Oudinet wrote: > > On Wed, Mar 18, 2009 at 4:20 PM, bix...@gmail.com wrote: >> >> Hi, >> >> After using version 3 for over a year, it finally occured to me I >> should upgrade. When trying to start version 3.4 I get: >> >> -- >> | Sage Version 3.4, Release Date: 2009-03-11 | >> | Type notebook() for the GUI, and license() for information. | >> -- >> >> ** >> WARNING! This Sage install was built on a machine that supports >> instructions that are not available on this computer. Sage will >> likely fail with ILLEGAL INSTRUCTION errors! The following processor >> flags were on the build machine but are not on this computer: >> >> sse4_1 >> >> Email http://groups.google.com/group/sage-support for help. >> To remove this warning and make Sage start, just delete >> /home/bixbyr/Desktop/sage-3.4-linux-Ubuntu_8.10-i686-Linux/local/ >> lib/sage-flags.txt >> ** >> >> I tried removing this file to see if sage will run correctly, it >> doesn't seem to. For a quick stress test I did >> sage: prime_pi(10^10) ... and got back >> /home/bixbyr/Desktop/sage-3.4-linux-Ubuntu_8.10-i686-Linux/local/bin/ >> sage-sage: line 197: 8689 Segmentation fault sage-ipython "$@" - >> i >> >> It returns correctly for prime_pi(10^9), so although it's possible >> that the two errors are unrelated, that seems a strange way to fail if >> the issue were related to insufficient memory. >> >> I downloaded sage-3.4-linux-Ubuntu_8.10-i686-Linux.tar.gz from the >> University of Washington mirror. I'm running ubuntu 8.10, kernel >> version 2.6.27-11-generic. I have 4gb of ram, though running a 32 bit >> kernel effectively limits me to ~3.2 gb. Since sse4 is a cpu >> instruction set (from what I understand), here it the output for cat / >> proc/cpuinfo: >> >> processor : 0 >> vendor_id : GenuineIntel >> cpu family : 6 >> model : 15 >> model name : Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz >> stepping : 11 >> cpu MHz : 1600.000 >> cache size : 4096 KB >> physical id : 0 >> siblings : 4 >> core id : 0 >> cpu cores : 4 >> apicid : 0 >> initial apicid : 0 >> fdiv_bug : no >> hlt_bug : no >> f00f_bug : no >> coma_bug : no >> fpu : yes >> fpu_exception : yes >> cpuid level : 10 >> wp : yes >> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca >> cmov >> pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm >> constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 >> ssse3 cx16 xtpr lahf_lm >> bogomips : 4799.97 >> clflush size : 64 >> power management: >> ( ... it then lists 3 more processors with the same information) >> >> Although not the newest processor, it seems like this should be recent >> enough to run sage. I also tried installing the new version on my >> laptop, another ubuntu 8.10 system this time with a core 2 duo >> processor, and got the exact same error. >> >> Any thoughts? Thanks a lot, > > Have you tried to build Sage from sources? If you also get the same > error, it will mean this is not an error related to your cpu > instruction set. > Good idea. Getting "sage-sage: line 197: 8689 Segmentation fault sage-ipython "$@" -" suggests maybe running out of RAM or something. Instruction set errors produce an "Illegal Instruction" error messages. By the way, there is new code up here (not in Sage yet!) for computing prime_pi much more quickly than the current code in Sage: http://trac.sagemath.org/sage_trac/ticket/5130 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: SSE4_1 errors when running sage 3.4
On Wed, Mar 18, 2009 at 4:20 PM, bix...@gmail.com wrote: > > Hi, > > After using version 3 for over a year, it finally occured to me I > should upgrade. When trying to start version 3.4 I get: > > -- > | Sage Version 3.4, Release Date: 2009-03-11 | > | Type notebook() for the GUI, and license() for information. | > -- > > ** > WARNING! This Sage install was built on a machine that supports > instructions that are not available on this computer. Sage will > likely fail with ILLEGAL INSTRUCTION errors! The following processor > flags were on the build machine but are not on this computer: > > sse4_1 > > Email http://groups.google.com/group/sage-support for help. > To remove this warning and make Sage start, just delete > /home/bixbyr/Desktop/sage-3.4-linux-Ubuntu_8.10-i686-Linux/local/ > lib/sage-flags.txt > ** > > I tried removing this file to see if sage will run correctly, it > doesn't seem to. For a quick stress test I did > sage: prime_pi(10^10) ... and got back > /home/bixbyr/Desktop/sage-3.4-linux-Ubuntu_8.10-i686-Linux/local/bin/ > sage-sage: line 197: 8689 Segmentation fault sage-ipython "$@" - > i > > It returns correctly for prime_pi(10^9), so although it's possible > that the two errors are unrelated, that seems a strange way to fail if > the issue were related to insufficient memory. > > I downloaded sage-3.4-linux-Ubuntu_8.10-i686-Linux.tar.gz from the > University of Washington mirror. I'm running ubuntu 8.10, kernel > version 2.6.27-11-generic. I have 4gb of ram, though running a 32 bit > kernel effectively limits me to ~3.2 gb. Since sse4 is a cpu > instruction set (from what I understand), here it the output for cat / > proc/cpuinfo: > > processor : 0 > vendor_id : GenuineIntel > cpu family : 6 > model : 15 > model name : Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz > stepping : 11 > cpu MHz : 1600.000 > cache size : 4096 KB > physical id : 0 > siblings : 4 > core id : 0 > cpu cores : 4 > apicid : 0 > initial apicid : 0 > fdiv_bug : no > hlt_bug : no > f00f_bug : no > coma_bug : no > fpu : yes > fpu_exception : yes > cpuid level : 10 > wp : yes > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca > cmov > pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm > constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 > ssse3 cx16 xtpr lahf_lm > bogomips : 4799.97 > clflush size : 64 > power management: > ( ... it then lists 3 more processors with the same information) > > Although not the newest processor, it seems like this should be recent > enough to run sage. I also tried installing the new version on my > laptop, another ubuntu 8.10 system this time with a core 2 duo > processor, and got the exact same error. > > Any thoughts? Thanks a lot, Have you tried to build Sage from sources? If you also get the same error, it will mean this is not an error related to your cpu instruction set. -- Johan --~--~-~--~~~---~--~~ 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: new cpu flag in 3.4 x86_64 binaries: sse4_1?
On Wed, Mar 18, 2009 at 3:16 PM, Johan Oudinet wrote: > > On Tue, Mar 17, 2009 at 1:20 PM, Art wrote: >> >> The sage 3.4 Linux x86_64 binaries have acquired a new sage-flags.txt, >> sse4_1. >> >> I used: >> >> sage-3.2.3-debian-64bit-intel_xeon-x86_64-Linux.tar.gz >> >> which works perfectly on an intel xeon 5160 but the update to 3.4 >> gives me the warning flag when starting sage. I think this processor >> was released in June 2006. Is it already out of date? Or is there >> something wrong with my setup. > > Yes, your processor is out of date ;) > As wikipedia mention it: http://en.wikipedia.org/wiki/SSE4 > This instruction set was released in fall 2006 (So just after you > bought your processor, sorry :) > > But, it's just a warning, and I think you can remove it by just > deleting a file and run Sage-3.4 without any problem, don't you? > > -- Could you please please delete the file listed in the warning, then from SAGE_ROOT type make check and report what happens. This should take about 1-2 hours. 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: Leading monomial or leading term of univariate polynomials
On Wed, Mar 18, 2009 at 3:24 AM, Burcin Erocal wrote: > > Hi Simon, > > On Wed, 18 Mar 2009 02:44:55 -0700 (PDT) > Simon King wrote: > >> >> Dear supporters, >> >> multivariate polynomials have attributes lc(), lm(), lt() returning >> their leading coefficent, leading monomial, or leading term. >> >> Univariate polynomials have leading_coefficient(). It is not nice that >> the method for univariate and multivariate polynomials is called >> differently. But worse is that univariate polynomials seem to not >> provide methods returning the leading monomial or leading term. >> >> Or am I mistaken? Is there an easy way to obtain them? > > > I agree that the interface of (univariate and multivariate) polynomials > should be unified. It is rather annoying to either create multivariate > polynomial objects with only one variable in your code, or write > special cases for univariate polynomials. > > I don't know if there will be any objections, but maybe you should > submit a patch fixing the situation you describe above. > > It might be a good idea to prepare a table for different polynomial > classes, and methods they support, similar to the one Jason Grout > made for the matrix classes: > > http://wiki.sagemath.org/LinearAlgebraSEP > > This would also help us define a proper API for polynomials, limiting the > number of deprecations we need to deal with later. > It would also be fun/easy to write a little script that takes as input two objects A and B, and returns the set of methods of A that are not methods of B, and also returns the methods for A that have a different call signature to the methods of B and symmetrically for A. Then doing sage: R. = QQ[]; R. = QQ[[]] sage: compare_methods(x, z) would be very interesting! Likewise for sage: compare_methods(QQ, QQ[sqrt(2)]) And we could add doctests like this to ensure that the interfaces forever stay the same: sage: len(compare_methods(foo, bar)) == 0 True Thoughts? -- 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: new cpu flag in 3.4 x86_64 binaries: sse4_1?
On Tue, Mar 17, 2009 at 1:20 PM, Art wrote: > > The sage 3.4 Linux x86_64 binaries have acquired a new sage-flags.txt, > sse4_1. > > I used: > > sage-3.2.3-debian-64bit-intel_xeon-x86_64-Linux.tar.gz > > which works perfectly on an intel xeon 5160 but the update to 3.4 > gives me the warning flag when starting sage. I think this processor > was released in June 2006. Is it already out of date? Or is there > something wrong with my setup. Yes, your processor is out of date ;) As wikipedia mention it: http://en.wikipedia.org/wiki/SSE4 This instruction set was released in fall 2006 (So just after you bought your processor, sorry :) But, it's just a warning, and I think you can remove it by just deleting a file and run Sage-3.4 without any problem, don't you? -- Johan --~--~-~--~~~---~--~~ 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: "Error showing url: There was an error launching the default action command associated with this location."
On Wed, Mar 18, 2009 at 10:18 AM, seber...@spawar.navy.mil wrote: > > I got the following error before and after upgrading to version 3.4 > when running > sage -notebook" > > "Error showing url: There was an error launching the default action > command associated with this location." > > Any idea what this can be or what I should try? > Does the sage notebook still work if you directly paste http://localhost:8000 in the url of your web browser? 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: Bug in plot?
Yes, that solved it. I don't understand what happened. After saving, quitting and doing it again, all problems were solved. Thanks. On Mar 18, 2:11 pm, "ma...@mendelu.cz" wrote: > On 18 Bře, 20:23, adrian wrote: > > > If i try to do > > plot(cos(x),(x,-3,3)) > > This command works in Internet versionwww.sagenb.org > The same for sphere() > > Maybe something hangs from previous computation? Did the restart of > worksheet not help? > > Robert > > > in sage 3.4 (through the internet version) > > it brakes with the message > > TypeError: a float is required > > > The command worked in sage 3.3 > > > Also, in the notebook > > > sphere() > > > produces nothing; but > > (sphere()).show() > > launches the jmol applet as desired. > > > I don't know if that is the desired behaviour (It wasn't like that in > > sage 3.3) --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: How to set up a macmini as a server?
On Wed, Mar 18, 2009 at 9:38 AM, Calcifer wrote: > > Hi, > > I have downloaded Sage 3.4 to my MacMini running10.5.6. > > When I write notebook(), it starts as expected in a web broswer, but > may not be accessible throu the local network. > > if I write the following, I get blank (white) pages both on the > macmini and on the other computer, ie can not access Sage through > either of the computers. Use https://... instead of http:// > notebook('local_notebook', port=8001, secure=True, address='', > open_viewer=False, accounts=True) > I found the above in one of posts, but don't really understand all of > the expression. > > My aim is to be able to access Sage from any computer and that Sage is > automatically starts up after a power failure. > > Have a nice day, > T > > > > -- 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] How to set up a macmini as a server?
Hi, I have downloaded Sage 3.4 to my MacMini running10.5.6. When I write notebook(), it starts as expected in a web broswer, but may not be accessible throu the local network. if I write the following, I get blank (white) pages both on the macmini and on the other computer, ie can not access Sage through either of the computers. notebook('local_notebook', port=8001, secure=True, address='', open_viewer=False, accounts=True) I found the above in one of posts, but don't really understand all of the expression. My aim is to be able to access Sage from any computer and that Sage is automatically starts up after a power failure. Have a nice day, T --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Problem Sage 3.4 windows XP
On Wed, Mar 18, 2009 at 1:22 PM, wrote: > > I am also having a problem running Sage 3.4 on windows XP. Vmware > starts up, but when I run the notebook command it flashes the IP Just out of curiosity, has *anybody* successfully used sage-vmware-3.4.zip? Maybe it is seriously broken? William > address and then returns to the main vmware text menu. I thought it > was a problem with my upgrade from Sage 3.2.3. So I uninstalled > vmware and redown loaded Sage 3.4 I got the same problem after a > reinstalled vmware and Sage 3.4. I was able to run WINSCP to move my > old sage files from the IP address. I just can't log on to sage from > windows explorer. > > I have reinstalled Sage 3.2.3 and it runs fine with notebook. The IP > address has changed, but I assume this is due to my reinstall of > VMware. > > I am running windows XP on a 1.4 GHz intel processor with 1 GB of > memory. Thanks Mike > > > -- 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] Problem Sage 3.4 windows XP
I am also having a problem running Sage 3.4 on windows XP. Vmware starts up, but when I run the notebook command it flashes the IP address and then returns to the main vmware text menu. I thought it was a problem with my upgrade from Sage 3.2.3. So I uninstalled vmware and redown loaded Sage 3.4 I got the same problem after a reinstalled vmware and Sage 3.4. I was able to run WINSCP to move my old sage files from the IP address. I just can't log on to sage from windows explorer. I have reinstalled Sage 3.2.3 and it runs fine with notebook. The IP address has changed, but I assume this is due to my reinstall of VMware. I am running windows XP on a 1.4 GHz intel processor with 1 GB of memory. Thanks Mike --~--~-~--~~~---~--~~ 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: Bug in plot?
On 18 Bře, 20:23, adrian wrote: > If i try to do > plot(cos(x),(x,-3,3)) This command works in Internet version www.sagenb.org The same for sphere() Maybe something hangs from previous computation? Did the restart of worksheet not help? Robert > in sage 3.4 (through the internet version) > it brakes with the message > TypeError: a float is required > > The command worked in sage 3.3 > > Also, in the notebook > > sphere() > > produces nothing; but > (sphere()).show() > launches the jmol applet as desired. > > I don't know if that is the desired behaviour (It wasn't like that in > sage 3.3) --~--~-~--~~~---~--~~ 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] Bug in plot?
If i try to do plot(cos(x),(x,-3,3)) in sage 3.4 (through the internet version) it brakes with the message TypeError: a float is required The command worked in sage 3.3 Also, in the notebook sphere() produces nothing; but (sphere()).show() launches the jmol applet as desired. I don't know if that is the desired behaviour (It wasn't like that in sage 3.3) --~--~-~--~~~---~--~~ 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] tuples of multisets
from sage 3.4 mset=[1,1,2] number_of_tuples(mset,2) 4 it doesn't count multiplicities but mset=[1,1,2] tuples(mset,2) [[1, 1], [1, 1], [2, 1], [1, 1], [1, 1], [2, 1], [1, 2], [1, 2], [2, 2]] does is this what we want? --~--~-~--~~~---~--~~ 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: Can't get the notebook to work on XP
All, I am also having a problem running Sage 3.4 on windows XP. Vmware starts up, but when I run the notebook command it flashes the IP address and then returns to the main vmware text menu. I thought it was a problem with my upgrade from Sage 3.2.3. So I uninstalled vmware and redown loaded Sage 3.4 I got the same problem after a reinstalled vmware and Sage 3.4. I am currently downloading Sage 3.2.3 gain to try and get that running again. I was able to run WINSCP to move my old sage files from the IP address. I just can't log on to sage from windows explorer. Thanks Mike On Wed, Mar 18, 2009 at 7:08 AM, Bruce Bartlett < brucehbartl...@googlemail.com> wrote: > > Hi, thanks for the great program, it's fantastic. I particularly love > the way you can share and build notebooks collabaratively on the web. > > I tried to install Sage on my local machine, but I couldn't get it to > work. I'm running XP. I installed VMware player, and downloaded the > Sage image. Everything works up to the sage login (except I noticed > there was a small error in the startup, something like"Host SMBus > controller not enabled!"). > > Then I type "notebook" and it tells me to open Firefox to a certain > local IP address. When I do that in Firefox, it takes ages, and then > just says "ERROR: the requested URL could not be retrieved. The > following error was encountered: Connection failed. The system > returned: (101) Network is unreachable." > > I am running on a university computer. Is there some kind of local > firewall problem? > > Regards, > Bruce Bartlett > > > > -- Michael R. Madison, Ph.D. (530) 346-2032 --~--~-~--~~~---~--~~ 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] "Error showing url: There was an error launching the default action command associated with this location."
I got the following error before and after upgrading to version 3.4 when running sage -notebook" "Error showing url: There was an error launching the default action command associated with this location." Any idea what this can be or what I should try? cs --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: How add text *outside* of boxes of different fonts in Sage notebooks?
> What version of sage are you using? That was it. I was on 3.1.x and when I upgraded to 3.4 it worked. cs --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Why does import not work?
Dear folks, I implemented "symmetric polynomial rings" and "symmetric ideals" in two python files ``symmetric_polynomial.py`` and ``symmetric_ideal.py``. When I attach ``symmetric_polynomial.py``, everything works just fine (the class from the second file is imported by the first). The problems start when I copy these files into sage.rings.polynomial, and update all.py by adding the line from sage.rings.polynomial.symmetric_polynomial import SymmetricPolynomialRing After sage -br, I obtain: ImportError Traceback (most recent call last) /home/king/SAGE/devel/sage-3.2.3/local/lib/python2.5/site-packages/ IPython/ipmaker.pyc in force_import(modname) ... ImportError: cannot import name PolynomialRing Error importing ipy_profile_sage - perhaps you should run %upgrade? WARNING: Loading of ipy_profile_sage failed. The imports in symmetric_polynomial.py are: import sage import sage.all from sage.rings.polynomial.polynomial_ring_constructor import PolynomialRing from sage.rings.integer_ring import ZZ from sage.structure.element import RingElement from sage.rings.ring import CommutativeRing, Ring from sage.rings.commutative_ring import is_CommutativeRing from sage.structure.all import Parent, SageObject from sage.structure.factory import UniqueFactory from sage.rings.polynomial.infinite_polynomial import InfinitePolynomialRing_class from sage.misc.cachefunc import cached_method from sage.misc.misc import prod from sage.combinat.permutation import Permutation import copy, operator Interestingly, a previous version of that file was successfully installed into sage.rings.polynomial, and it imported: from sage.rings.polynomial.polynomial_ring_constructor import PolynomialRing from sage.rings.integer_ring import ZZ from sage.structure.element import RingElement from sage.rings.ring import Ring from sage.structure.all import Parent, SageObject from sage.structure.factory import UniqueFactory from sage.misc.cachefunc import cached_method import copy, operator Can you explain to me why it works to attach the file, while an import by sage/rings/polynomial/all.py fails? Thank you very much in advance 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: pylab.axis does not work any more
Actually, it's extremely rewarding to get the solution presented on a plate hours after sending a message to support. But you're right, it is a bit frustrating to have to convert every number to the right python type. Thanks again for your help! Stan Jason Grout wrote: > Stan Schymanski wrote: > >> Of course, pylab.axis([float(0.1),float(3.5),float(0.1),float(3.5)]) >> works. Thanks a lot! >> >> Is it a longer term goal to make such type conversions automatic? >> > > > YES! > > It is pretty frustrating as it is now. I think you'd agree. > > Jason > > > > > >> Cheers, >> Stan >> >> Jason Grout wrote: >> >>> Stan Schymanski wrote: >>> >>> Hi Jason, your suggestion works, but it is not only related to integers, as I get the same error message if I use e.g. 0.1, 3.1, 0.1, 3,1 as axis ranges. How could I convert sage reals to python reals? >>> use float(0.1) >>> >>> >>> Thanks, >>> >>> Jason >>> >>> >>> >>> >>> > > > > > --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Another twistd server is running, PID 8301
William Stein a écrit : > > > Try > > notebook('local_notebook', > port=8001,secure=True,address='',open_viewer=False,accounts=True) > > Ok this works fine ! Thanks Yours t. -- - French universities are on a permanent strike! Have a look at the International Call: http://math.univ-lyon1.fr/appel - begin:vcard fn:Thierry Dumont n:Dumont;Thierry org;quoted-printable:CNRS - Universit=C3=A9 Lyon 1. / Villeurbanne France.;Institut Camille Jordan adr:;;43 Bd du 11 Novembre;Villeurbanne Cedex;F;69621;France email;internet:tdum...@math.univ-lyon1.fr title;quoted-printable:Ing=C3=A9nieur de Recherche/Research Ingineer tel;work:(33) 4 72 44 85 23 x-mozilla-html:FALSE url:http://math.univ-lyon1.fr/~tdumont version:2.1 end:vcard smime.p7s Description: S/MIME Cryptographic Signature
[sage-support] Re: Another twistd server is running, PID 8301
On Wed, Mar 18, 2009 at 8:25 AM, Thierry Dumont wrote: > William Stein a écrit : >> On Wed, Mar 18, 2009 at 5:46 AM, Thierry Dumont >> wrote: >>> Hello, >>> >>> As (maybe) you remember I starting the installation of my "university >>> wide" Sage server. >>> One idea is to launch 2 Sage servers on each machine (one machine has >>> 32Gb ram and 4x2 cores). So: I create a "sage" user, in /home/sage I >>> create two directories. >>> >>> In the first one I do: >>> sage> >> You must do >> >> notebook(dir='local_notebook', >> port=8001,secure=True,address='',open_viewer=False,accounts=True) >> > > thanks, but... it does not work (or I did not understand); the error > message is: > TypeError: notebook_twisted() got an unexpected keyword argument 'dir' > yours > t.d. Try notebook('local_notebook', port=8001,secure=True,address='',open_viewer=False,accounts=True) --~--~-~--~~~---~--~~ 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] SSE4_1 errors when running sage 3.4
Hi, After using version 3 for over a year, it finally occured to me I should upgrade. When trying to start version 3.4 I get: -- | Sage Version 3.4, Release Date: 2009-03-11 | | Type notebook() for the GUI, and license() for information.| -- ** WARNING! This Sage install was built on a machine that supports instructions that are not available on this computer. Sage will likely fail with ILLEGAL INSTRUCTION errors! The following processor flags were on the build machine but are not on this computer: sse4_1 Email http://groups.google.com/group/sage-support for help. To remove this warning and make Sage start, just delete /home/bixbyr/Desktop/sage-3.4-linux-Ubuntu_8.10-i686-Linux/local/ lib/sage-flags.txt ** I tried removing this file to see if sage will run correctly, it doesn't seem to. For a quick stress test I did sage: prime_pi(10^10) ... and got back /home/bixbyr/Desktop/sage-3.4-linux-Ubuntu_8.10-i686-Linux/local/bin/ sage-sage: line 197: 8689 Segmentation fault sage-ipython "$@" - i It returns correctly for prime_pi(10^9), so although it's possible that the two errors are unrelated, that seems a strange way to fail if the issue were related to insufficient memory. I downloaded sage-3.4-linux-Ubuntu_8.10-i686-Linux.tar.gz from the University of Washington mirror. I'm running ubuntu 8.10, kernel version 2.6.27-11-generic. I have 4gb of ram, though running a 32 bit kernel effectively limits me to ~3.2 gb. Since sse4 is a cpu instruction set (from what I understand), here it the output for cat / proc/cpuinfo: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Quad CPUQ6600 @ 2.40GHz stepping: 11 cpu MHz : 1600.000 cache size : 4096 KB physical id : 0 siblings: 4 core id : 0 cpu cores : 4 apicid : 0 initial apicid : 0 fdiv_bug: no hlt_bug : no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm bogomips: 4799.97 clflush size: 64 power management: ( ... it then lists 3 more processors with the same information) Although not the newest processor, it seems like this should be recent enough to run sage. I also tried installing the new version on my laptop, another ubuntu 8.10 system this time with a core 2 duo processor, and got the exact same error. Any thoughts? Thanks a lot, - Ryan --~--~-~--~~~---~--~~ 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: Another twistd server is running, PID 8301
William Stein a écrit : > On Wed, Mar 18, 2009 at 5:46 AM, Thierry Dumont > wrote: >> Hello, >> >> As (maybe) you remember I starting the installation of my "university >> wide" Sage server. >> One idea is to launch 2 Sage servers on each machine (one machine has >> 32Gb ram and 4x2 cores). So: I create a "sage" user, in /home/sage I >> create two directories. >> >> In the first one I do: >> sage > You must do > > notebook(dir='local_notebook', > port=8001,secure=True,address='',open_viewer=False,accounts=True) > thanks, but... it does not work (or I did not understand); the error message is: TypeError: notebook_twisted() got an unexpected keyword argument 'dir' yours t.d. > > -- - French universities are on a permanent strike! Have a look at the International Call: http://math.univ-lyon1.fr/appel - begin:vcard fn:Thierry Dumont n:Dumont;Thierry org;quoted-printable:CNRS - Universit=C3=A9 Lyon 1. / Villeurbanne France.;Institut Camille Jordan adr:;;43 Bd du 11 Novembre;Villeurbanne Cedex;F;69621;France email;internet:tdum...@math.univ-lyon1.fr title;quoted-printable:Ing=C3=A9nieur de Recherche/Research Ingineer tel;work:(33) 4 72 44 85 23 x-mozilla-html:FALSE url:http://math.univ-lyon1.fr/~tdumont version:2.1 end:vcard smime.p7s Description: S/MIME Cryptographic Signature
[sage-support] Re: Another twistd server is running, PID 8301
On Wed, Mar 18, 2009 at 5:46 AM, Thierry Dumont wrote: > > Hello, > > As (maybe) you remember I starting the installation of my "university > wide" Sage server. > One idea is to launch 2 Sage servers on each machine (one machine has > 32Gb ram and 4x2 cores). So: I create a "sage" user, in /home/sage I > create two directories. > > In the first one I do: > sage > ok... cd to the second directory; there I do: > sage > and I get: > > > Another twistd server is running, PID 8301 > > This could either be a previously started instance of your application or a > different application entirely. To start a new one, either run it in > some other > directory, or use the --pidfile and --logfile parameters to avoid clashes. > > > same problem if I change the definition of the pidfile and the logfile. > > > *But*, anyway, is it the good way to do? I remember something about > launching more than one Sage process, but cannot find this in the doc. > > Yours > t.d. > > > - > French universities are on a permanent strike! > Have a look at the International Call: > http://math.univ-lyon1.fr/appel > - > > > -- 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] Emulating Singular's imap command
Dear supporters, take two polynomial rings: sage: R1=PolynomialRing(QQ,['x2','x1']) sage: R2=PolynomialRing(QQ,['x4', 'x3', 'x1']) Assume that I have an element p of R1 that only contains x1 but not x2. I would like to be able to transform it into an element of R2 by mapping R1('x1') to R2('x2'). Since R2(p) wouldn't work (no coercion map), I see two ways: sage: f = R1.hom([1,'x1'],R2) sage: f(p) and sage: R2(str(p)) Singular provides the command 'imap' for a reasonably fast name- preserving map between rings. Is there a similar command in Sage? If not: I have the above situation rather frequently, but always with different rings (so that I can not use one homomorphism f repeatedly for many polynomials). What method would you recommend? I see that sage: timeit('f = R1.hom([1,"x1"],R2)') 625 loops, best of 3: 435 µs per loop sage: timeit('g = R2(str(R1("x1^2+2*x1")))') 625 loops, best of 3: 216 µs per loop Does this mean that using the string representation is faster than creating and using a homomorphism? Cheers, Simon --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Can't get the notebook to work on XP
Hi, thanks for the great program, it's fantastic. I particularly love the way you can share and build notebooks collabaratively on the web. I tried to install Sage on my local machine, but I couldn't get it to work. I'm running XP. I installed VMware player, and downloaded the Sage image. Everything works up to the sage login (except I noticed there was a small error in the startup, something like"Host SMBus controller not enabled!"). Then I type "notebook" and it tells me to open Firefox to a certain local IP address. When I do that in Firefox, it takes ages, and then just says "ERROR: the requested URL could not be retrieved. The following error was encountered: Connection failed. The system returned: (101) Network is unreachable." I am running on a university computer. Is there some kind of local firewall problem? Regards, Bruce Bartlett --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: jsmath bitmap fonts in sage 3.4 and solve command
ma...@mendelu.cz wrote: > On 17 Bře, 00:41, Jason Grout wrote: >> ma...@mendelu.cz wrote: >> >> Robert, for now, you can >> installhttp://sage.math.washington.edu/home/mabshoff/spkgs/jsmath-image-font... >> into sage 3.4 and it should work. The javascript code was recently >> reorganized, so that explains the problem (but doesn't explain why the > > Jason, many thanks, this works. Great! > I've opened up a ticket with the problem at http://trac.sagemath.org/sage_trac/ticket/5558 Could whoever updates the optional spkg repository please look at this? Thanks, Jason --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: pylab.axis does not work any more
Stan Schymanski wrote: > Of course, pylab.axis([float(0.1),float(3.5),float(0.1),float(3.5)]) > works. Thanks a lot! > > Is it a longer term goal to make such type conversions automatic? YES! It is pretty frustrating as it is now. I think you'd agree. Jason > > Cheers, > Stan > > Jason Grout wrote: >> Stan Schymanski wrote: >> >>> Hi Jason, >>> >>> your suggestion works, but it is not only related to integers, as I get >>> the same error message if I use e.g. 0.1, 3.1, 0.1, 3,1 as axis ranges. >>> How could I convert sage reals to python reals? >>> >> use float(0.1) >> >> >> Thanks, >> >> Jason >> >> >> >> > --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Using html between cells in a notebook
ulfarsson wrote: > Hi, > > I really like the feature of adding html between cells. > Is it only possible to do this by switching to "Edit"-mode > and manually putting in the html? > > Best, > Henning > > > > I had exactly the same issue. In Sage versions 3.3 or above you can simply double click in the html text or shift+click in the blue line and a small window editor will appear. Simply try it on the sagenb.org page (they run the 3.4 version of Sage) Regards Jose --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: jsmath bitmap fonts in sage 3.4 and solve command
On 17 Bře, 00:41, Jason Grout wrote: > ma...@mendelu.cz wrote: > > Robert, for now, you can > installhttp://sage.math.washington.edu/home/mabshoff/spkgs/jsmath-image-font... > into sage 3.4 and it should work. The javascript code was recently > reorganized, so that explains the problem (but doesn't explain why the Jason, many thanks, this works. Great! 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: Using html between cells in a notebook
> I really like the feature of adding html between cells. > Is it only possible to do this by switching to "Edit"-mode > and manually putting in the html? No. Typically, you click between cells to add a new computational cell. Shift-click between cells to add a new text cell. This adds a TinyMCE editor window that, when saved, is HTML. You can double click on a section of text to open it up in it's own editor. Mark McClure --~--~-~--~~~---~--~~ 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: pylab.axis does not work any more
Of course, pylab.axis([float(0.1),float(3.5),float(0.1),float(3.5)]) works. Thanks a lot! Is it a longer term goal to make such type conversions automatic? Cheers, Stan Jason Grout wrote: > Stan Schymanski wrote: > >> Hi Jason, >> >> your suggestion works, but it is not only related to integers, as I get >> the same error message if I use e.g. 0.1, 3.1, 0.1, 3,1 as axis ranges. >> How could I convert sage reals to python reals? >> > > use float(0.1) > > > Thanks, > > Jason > > > > > > -- 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/ _ --~--~-~--~~~---~--~~ 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] Another twistd server is running, PID 8301
Hello, As (maybe) you remember I starting the installation of my "university wide" Sage server. One idea is to launch 2 Sage servers on each machine (one machine has 32Gb ram and 4x2 cores). So: I create a "sage" user, in /home/sage I create two directories. In the first one I do: sagehttp://math.univ-lyon1.fr/appel - begin:vcard fn:Thierry Dumont n:Dumont;Thierry org;quoted-printable:CNRS - Universit=C3=A9 Lyon 1. / Villeurbanne France.;Institut Camille Jordan adr:;;43 Bd du 11 Novembre;Villeurbanne Cedex;F;69621;France email;internet:tdum...@math.univ-lyon1.fr title;quoted-printable:Ing=C3=A9nieur de Recherche/Research Ingineer tel;work:(33) 4 72 44 85 23 x-mozilla-html:FALSE url:http://math.univ-lyon1.fr/~tdumont version:2.1 end:vcard smime.p7s Description: S/MIME Cryptographic Signature
[sage-support] Using html between cells in a notebook
Hi, I really like the feature of adding html between cells. Is it only possible to do this by switching to "Edit"-mode and manually putting in the html? Best, Henning --~--~-~--~~~---~--~~ 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: bug in pynac collect_common_factors() leads to segmentation fault
Hi Alex, On Tue, 17 Mar 2009 16:01:14 -0700 (PDT) Alex Raichev wrote: > > It seems my math projects keep breaking things... Thanks for taking the time to use and test pynac. As you might have read here already, pynac is supposed to be the new backend for symbolics in Sage. It's only experimental for now, and it needs this testing really badly before it can go prime time. So please keep sending these reports. :) > -- > | Sage Version 3.4, Release Date: 2009-03-11 | > | Type notebook() for the GUI, and license() for information.| > -- > sage: var('n,x',ns=1) > (n, x) > sage: g= (n+1)/x^n - n/x^n > sage: g.collect_common_factors() > /Applications/sage/local/bin/sage-sage: line 197: 1876 Segmentation > fault sage-ipython "$@" -i I guess this is caused by the recent changes in Sage's definition of gcd for rational numbers, which in turn broke the gcd in pynac. I couldn't find a quick workaround at the moment. Making pynac use the gcd for multivariate polynomials in Sage, provided by Singular's libfactory, was already on my todo list for the next release of pynac, which should be out by next week. Thanks. Cheers, Burcin --~--~-~--~~~---~--~~ 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: Chemistry usage
I'm specifically looking for things like how to enter the coordinates of atoms so that we can build the molecule within the 3-D graphing. Also how to then use the hydrogen bond, van der Waals features that come up in the Jmol. I've started figuring out how to do some of the basic computations for solving the Schrodinger and am sure that as I come across more difficult problems that I'll run into more difficulties. On Mar 8, 9:27 am, Marshall Hampton wrote: > What sorts of computations do you do in your research? > > Sage can handle exact and numerical linear algebra problems, which > might come up in dealing with Hamiltonians in quantum. It also has > excellent support for doing group-theory calculations, which might > also arise. > > The interactive 3D graphics in Sage are done by Jmol, which is a > project created by chemists, so there is a lot of material out there > (on the Jmol wiki for example) on using it to visualize things in > chemistry. Since there are not many chemists using Sage right now (or > at least, not many developing for Sage) the integration between Sage > and Jmol could be better for chemical applications. > > There is also an optional package which adds biopython, which is very > useful for bioinformatics. > > If you are aware of python-based chemical software that could be > included in Sage we could try to make optional packages. My > impression is that chemical software tends to be closed-source or > commercial, but I don't know much about it so I hope I am wrong. > > -Marshall Hampton > > On Mar 6, 8:36 pm, Rachel Shirron wrote: > > > I was wondering what Sage can do that is particularly useful for > > chemistry. I am taking quantum right now and hoping to be able to use > > Sage to help me in class as well as for my research. --~--~-~--~~~---~--~~ 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: Leading monomial or leading term of univariate polynomials
Hi Simon, On Wed, 18 Mar 2009 02:44:55 -0700 (PDT) Simon King wrote: > > Dear supporters, > > multivariate polynomials have attributes lc(), lm(), lt() returning > their leading coefficent, leading monomial, or leading term. > > Univariate polynomials have leading_coefficient(). It is not nice that > the method for univariate and multivariate polynomials is called > differently. But worse is that univariate polynomials seem to not > provide methods returning the leading monomial or leading term. > > Or am I mistaken? Is there an easy way to obtain them? I agree that the interface of (univariate and multivariate) polynomials should be unified. It is rather annoying to either create multivariate polynomial objects with only one variable in your code, or write special cases for univariate polynomials. I don't know if there will be any objections, but maybe you should submit a patch fixing the situation you describe above. It might be a good idea to prepare a table for different polynomial classes, and methods they support, similar to the one Jason Grout made for the matrix classes: http://wiki.sagemath.org/LinearAlgebraSEP This would also help us define a proper API for polynomials, limiting the number of deprecations we need to deal with later. Cheers, Burcin --~--~-~--~~~---~--~~ 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] Leading monomial or leading term of univariate polynomials
Dear supporters, multivariate polynomials have attributes lc(), lm(), lt() returning their leading coefficent, leading monomial, or leading term. Univariate polynomials have leading_coefficient(). It is not nice that the method for univariate and multivariate polynomials is called differently. But worse is that univariate polynomials seem to not provide methods returning the leading monomial or leading term. Or am I mistaken? Is there an easy way to obtain them? Cheers, Simon --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Sage 3.4: error when installing experimental spkg surf-1.1.spkg
Hi folks, Under Sage 3.4, when installing the experimental package surf-1.1.spkg, the installation failed. The relevant full installation log file is at http://sage.math.washington.edu/home/mvngu/misc/install.log.bz2 I'm pretty sure that surf-1.1.spkg is the "latest" version of the surf experimental package, as I downloaded it from http://www.sagemath.org/packages/experimental/ Am I doing something wrong? -- Regards Minh Van Nguyen --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---