[sage-support] Mercurial problems in 3.1.2
Hi, all, I'm on Mac OS X, 10.5.4 (dual quad xeon), and when I run sage -hg commit, I get this dyld: Symbol not found: __cg_png_create_info_struct Referenced from: /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/ImageIO Expected in: /SandBox/Justin/sb/sage-3.1.2/local/lib//libPng.dylib transaction abort! rollback completed abort: edit failed: emacs killed by signal 5 Running emacs by itself works, but I get the same as above if I first run . sage-env in the same window. I haven't figured out exactly what the error is yet (the symbol lodging the compaint doesn't appear in either library), but this is odd: There are symlinks libpng.dylib - libpng12.dylib - libpng12.0.22.0.dylib libpng12.0.dylib - libpng12.0.22.0.dylib and this: $ otool -L libpng12.0.22.0.dylib libpng12.0.22.0.dylib: /SandBox/Justin/sb/sage-3.1.2/local/lib/libpng12.0.dylib (compatibility version 23.0.0, current version 23.0.0) /SandBox/Justin/sb/sage-3.1.2/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.1) which to me makes libpng12.0.22.0.dylib dependent on libpng12.0.22.0.dylib!! My head hurts. Anyone seen this? Justin -- Justin C. Walker, Curmudgeon-At-Large, Director Institute for the Enhancement of the Director's Income The path of least resistance: it's not just for electricity any more. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Mercurial problems in 3.1.2
On Sep 21, 11:27 pm, Justin C. Walker [EMAIL PROTECTED] wrote: Hi, all, I'm on Mac OS X, 10.5.4 (dual quad xeon), and when I run sage -hg commit, I get this SNIP Anyone seen this? This is the same crap issue you hit when building 3.1.2.rc-something, i.e. emacs is linked against Apple's libnpng while launching it from hg causes it to pick up out linpng. Results in *boom*. You can work around this by writing an emacs script in SAGE_LOCAL/bin that sets DYLD_LIBRARY_PATH to the old DYLD_LIBRARY_PATH and then launches emacs. Is someone can find out where Apple has its modifications to libpng this issue can be resolved. Justin Cheers, Michael -- Justin C. Walker, Curmudgeon-At-Large, Director Institute for the Enhancement of the Director's Income The path of least resistance: it's not just for electricity any more. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Mercurial problems in 3.1.2
On Sep 21, 2008, at 23:35 , mabshoff wrote: On Sep 21, 11:27 pm, Justin C. Walker [EMAIL PROTECTED] wrote: [snip] Anyone seen this? This is the same crap issue you hit when building 3.1.2.rc-something, i.e. emacs is linked against Apple's libnpng while launching it from hg causes it to pick up out linpng. Results in *boom*. You can work around this by writing an emacs script in SAGE_LOCAL/bin that sets DYLD_LIBRARY_PATH to the old DYLD_LIBRARY_PATH and then launches emacs. Is someone can find out where Apple has its modifications to libpng this issue can be resolved. Hard to say where they keep it, but they (Apple) appear to be using 1.2.24, while we (Sage) appear to be using 1.2.22 (assuming these are version numbers). Might that be the cause? I'll see if I can find out where the source is; if Apple made changes, they should be available (ether directly from Apple, or from upstream - assuming the license requires this, of course. Does it?). It's bedtime for me; early class field theory tomorrow. Thanks for the response. Justin -- Justin C. Walker, Curmudgeon-at-Large () The ASCII Ribbon Campaign /\ Help Cure HTML Email --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: question on using integral() in sage. Fourier transform of unit step function.
On Sep 21, 10:34 pm, Nasser Abbasi [EMAIL PROTECTED] wrote: Let me rewrite what I wrote in last post again, since it did not format well. I think it is still not clear, so I wrote it in latex via SW, here it is again as screen image and PDF file http://12000.org/tmp/092108/eq.gif http://12000.org/tmp/092108/eq.pdf I hope this is more clear. Nasser --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Sage Days 10: October 10-15, Nancy, France
Hi all, this is a reminder that Sage Days 10 (SD10) is fast approaching! It is still possible to register until October 3. See http://wiki.sagemath.org/days10, where you can see the scientific program, with the titles and abstracts of the invited and contributed talks. After SD6 in Bristol last year, SD10 will be the 2nd Sage Days in Europe, and a unique opportunity to discuss with the Sage developers. Two extra special events are planned for SD10: * on October 11, there will be a sage-combinat session: The purpose of the *-Combinat project is to provide an extensible toolbox for computer exploration in algebraic combinatorics, and foster code sharing between researchers in this area. We will present the history, features, and design of MuPAD-Combinat, and discuss the timeline, difficulties, but also great technical and community opportunities that arise from the ongoing port as Sage-Combinat. * on October 14, Robert Bradshaw will give a plenary demonstration of Sage. If you have any questions, feel free to email me or any of the other organizers! On behalf of the organizing committee, Paul Zimmermann PS: I take the opportunity to advertize a workshop on integer factoring that will take place just before SD10 in Nancy: cado.gforge.inria.fr/workshop/. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Suggestions for the notebook
(2) Thanks that sounds good. I'm not sure how to use #auto though, where do I put this option? Cheers, Maike On Sep 5, 6:12 pm, Marshall Hampton [EMAIL PROTECTED] wrote: Hi, There is a wiki page for notebook suggestions, but I don't think its been used much lately:http://wiki.sagemath.org/Notebook_suggestions Your suggestion (1) is good, that would be nice. Probably wouldn't be too hard to do. (2) I think is problematic - the way I often use the notebook, I wouldn't want all cells evaluated. You can use the #auto option to auto-evaluate. Cheers, M. Hampton On Sep 5, 8:18 am, Maike [EMAIL PROTECTED] wrote: Hello, I'm not sure if this mailing list is the right place for suggestions (sorry to all for the extra spam, if there is a better way, please let me know), but here are two ideas for one of the next versions of the notebook: 1. Printing: At the moment the Print link prints all source code and output. It would be nice to be able to print just the code or just the output. 2. When I open an existing worksheet, not all cells are evaluated. Especially ones that start with %hide or %latex don't show the output until I choose Evaluate All from the Actions...-menu. It would be nice to have ALL cells evaluated automatically when starting up a worksheet. Great work so far, I'm really impressed with how quickly Sage is developing! Maike --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Suggestions for the notebook
Hi Maike, On Mon, Sep 22, 2008 at 3:04 AM, Maike [EMAIL PROTECTED] wrote: (2) Thanks that sounds good. I'm not sure how to use #auto though, where do I put this option? You put %auto as the first line of the cell that you want to auto-evaluate. --Mike --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: question on using integral() in sage. Fourier transform of unit step function.
you can indirectly get ./sage --- | SAGE Version 3.1.1 ... | Type notebook() ... -- sage: var('a b t x') (a, b, t, x) sage: assume(b0) sage: expr(x)=integral(exp(-2*I*pi*(a+I*b)*t),t,0,x) sage: factor(limit(expr(x),x=infinity)) -1*I/(2*pi*(I*b+a)) --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: question on using integral() in sage. Fourier transform of unit step function.
(where is my my last post ?) you can indirectly get : ./sage -- | SAGE Version 3.1.1 ... | Type notebook() -- sage: var('a b t x') (a, b, t, x) sage: assume(b0) sage: expr(x)=integral(exp(-2*I*pi*(a+I*b)*t),t,0,x) sage: factor(limit(expr(x),x=infinity) -1*I/(2*pi*(I*b+a)) --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Suggestions for the notebook
Hmmm, I get NameError: name 'auto' is not defined. I'm using version 3.1.1, should that support %auto? Thanks! Maike On Sep 22, 12:06 pm, Mike Hansen [EMAIL PROTECTED] wrote: Hi Maike, On Mon, Sep 22, 2008 at 3:04 AM, Maike [EMAIL PROTECTED] wrote: (2) Thanks that sounds good. I'm not sure how to use #auto though, where do I put this option? You put %auto as the first line of the cell that you want to auto-evaluate. --Mike --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] problems with install path
L.S., When updating to Sage 3.1.2 I run into the following problem: Am using a Mac G4 dual core, OSX 10.4.11. Used a previous version of Sage without apparent problems. Updating to 3.1.2 however was not without hickups: copying Sage with the finder resulted in error messages that duplicate names were not allowed. Removing all visible traces of Sage from /Applications and then installing with Terminal (sudo cp -R -P /Volumes/sage-3.1.2-osx10.4- ppc-PowerMacintosh-Darwin/ . inside the Applications folder) appeared to work fine. Starting Sage however resulted in the following: /Users/arnoldcd /Applications/sage ; /Applications/sage/sage -- | SAGE Version 3.1.2, Release Date: 2008-09-19 | | Type notebook() for the GUI, and license() for information.| -- The SAGE install tree may have moved. Regenerating Python.pyo and .pyc files that hardcode the install PATH (please wait at most a few minutes)... Please do not interrupt this. Traceback (most recent call last): File /Applications/sage/local/bin/sage-location, line 71, in module update_library_files(R) File /Applications/sage/local/bin/sage-location, line 39, in update_library_files open(LIB + F,'w').write(H) IOError: [Errno 13] Permission denied: '/Applications/sage/local/lib/ libfplll.la' sage: Typing notebook() gives me a list of previous notebooks; when I open one, type a new line and ask to evaluate nothing happens. The error message at startup never occurred before. What am I doing wrong? Regards, arnold --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] sage -wiki not starting
Hi, I would guess this might be related to ticket #1870. If I try to run sage -wiki or wiki() I get an error. $ sage -- | SAGE Version 3.1.2, Release Date: 2008-09-16 | | Type notebook() for the GUI, and license() for information.| -- sage: wiki() ** ** * Open your web browser to http://localhost:9000 * ** ** Removing stale pidfile /home/adamwebb/tmp/sage_wiki/twistd.pid 2008-09-22 14:03:18+0200 [-] Log opened. 2008-09-22 14:03:18+0200 [-] twistd 8.1.0 (/home/adamwebb/local/sage/ local/bin/python 2.5.2) starting up 2008-09-22 14:03:18+0200 [-] reactor class: class 'twisted.internet.selectreactor.SelectReactor' 2008-09-22 14:03:18+0200 [-] MoinMoin.server.twistedmoin.MoinSite starting on 9000 2008-09-22 14:03:18+0200 [-] Starting factory MoinMoin.server.twistedmoin.MoinSite instance at 0x8f4572c 2008-09-22 14:03:18+0200 [-] Traceback (most recent call last): 2008-09-22 14:03:18+0200 [-] File /home/adamwebb/local/sage/local/ bin/twistd, line 21, in module 2008-09-22 14:03:18+0200 [-] run() 2008-09-22 14:03:18+0200 [-] File /home/adamwebb/local/sage/local/ lib/python2.5/site-packages/twisted/scripts/twistd.py, line 27, in run 2008-09-22 14:03:18+0200 [-] app.run(runApp, ServerOptions) 2008-09-22 14:03:18+0200 [-] File /home/adamwebb/local/sage/local/ lib/python2.5/site-packages/twisted/application/app.py, line 614, in run 2008-09-22 14:03:18+0200 [-] runApp(config) 2008-09-22 14:03:18+0200 [-] File /home/adamwebb/local/sage/local/ lib/python2.5/site-packages/twisted/scripts/twistd.py, line 23, in runApp 2008-09-22 14:03:18+0200 [-] _SomeApplicationRunner(config).run() 2008-09-22 14:03:18+0200 [-] File /home/adamwebb/local/sage/local/ lib/python2.5/site-packages/twisted/application/app.py, line 337, in run 2008-09-22 14:03:18+0200 [-] self.postApplication() 2008-09-22 14:03:18+0200 [-] File /home/adamwebb/local/sage/local/ lib/python2.5/site-packages/twisted/scripts/_twistd_unix.py, line 207, in postApplication 2008-09-22 14:03:18+0200 [-] self.startApplication(self.application) 2008-09-22 14:03:18+0200 [-] File /home/adamwebb/local/sage/local/ lib/python2.5/site-packages/twisted/scripts/_twistd_unix.py, line 309, in startApplication 2008-09-22 14:03:18+0200 [-] self.shedPrivileges(self.config['euid'], uid, gid) 2008-09-22 14:03:18+0200 [-] File /home/adamwebb/local/sage/local/ lib/python2.5/site-packages/twisted/scripts/_twistd_unix.py, line 281, in shedPrivileges 2008-09-22 14:03:18+0200 [-] switchUID(uid, gid, euid) 2008-09-22 14:03:18+0200 [-] File /home/adamwebb/local/sage/local/ lib/python2.5/site-packages/twisted/python/util.py, line 664, in switchUID 2008-09-22 14:03:18+0200 [-] initgroups(uid, gid) 2008-09-22 14:03:18+0200 [-] File /home/adamwebb/local/sage/local/ lib/python2.5/site-packages/twisted/python/util.py, line 641, in initgroups 2008-09-22 14:03:18+0200 [-] _setgroups_until_success(l) 2008-09-22 14:03:18+0200 [-] File /home/adamwebb/local/sage/local/ lib/python2.5/site-packages/twisted/python/util.py, line 587, in _setgroups_until_success 2008-09-22 14:03:18+0200 [-] setgroups(l) 2008-09-22 14:03:18+0200 [-] OSError: [Errno 1] Operation not permitted True sage: This is on 32-bit Scientific Linux 5.1. I used the wiki with 3.1 so this is recent. cheers, Adam --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: question on using integral() in sage. Fourier transform of unit step function.
David Joyner wrote: sage: assume(x0) sage: integral( cos(2 * pi * x * t), t , 0 , Infinity) ind What is ind? I guess this is coming from Maxima, where ind = indeterminate. Btw und = undefined if ever you run across that, and don't forget inf = positive real infinity, minf = negative real infinity, infinity = complex infinity. best Robert Dodier --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: problems with install path
On Sep 22, 5:38 am, arnold [EMAIL PROTECTED] wrote: L.S. Hi, When updating to Sage 3.1.2 I run into the following problem: Am using a Mac G4 dual core, OSX 10.4.11. Used a previous version of Sage without apparent problems. Updating to 3.1.2 however was not without hickups: copying Sage with the finder resulted in error messages that duplicate names were not allowed. Removing all visible traces of Sage from /Applications and then installing with Terminal (sudo cp -R -P /Volumes/sage-3.1.2-osx10.4- ppc-PowerMacintosh-Darwin/ . inside the Applications folder) appeared to work fine. Starting Sage however resulted in the following: /Users/arnoldcd /Applications/sage ; /Applications/sage/sage -- | SAGE Version 3.1.2, Release Date: 2008-09-19 | | Type notebook() for the GUI, and license() for information. | -- The SAGE install tree may have moved. Regenerating Python.pyo and .pyc files that hardcode the install PATH (please wait at most a few minutes)... Please do not interrupt this. Traceback (most recent call last): File /Applications/sage/local/bin/sage-location, line 71, in module update_library_files(R) File /Applications/sage/local/bin/sage-location, line 39, in update_library_files open(LIB + F,'w').write(H) IOError: [Errno 13] Permission denied: '/Applications/sage/local/lib/ libfplll.la' Since you installed via sudo you do not own the Sage files. If you start sage once under sudo this will likely fix those issues. sage: Typing notebook() gives me a list of previous notebooks; when I open one, type a new line and ask to evaluate nothing happens. The error message at startup never occurred before. What am I doing wrong? Regards, arnold Cheers, Michael --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Suggestions for the notebook
On 9/22/08, Maike [EMAIL PROTECTED] wrote: Hmmm, I get NameError: name 'auto' is not defined. I'm using version 3.1.1, should that support %auto? Use #auto, not %auto Thanks! Maike On Sep 22, 12:06 pm, Mike Hansen [EMAIL PROTECTED] wrote: Hi Maike, On Mon, Sep 22, 2008 at 3:04 AM, Maike [EMAIL PROTECTED] wrote: (2) Thanks that sounds good. I'm not sure how to use #auto though, where do I put this option? You put %auto as the first line of the cell that you want to auto-evaluate. --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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: sage -wiki not starting
It works for me: sage: wiki() ** * * * Open your web browser tohttp://localhost:9000* * * ** 2008-09-22 09:30:32-0700 [-] Log opened. 2008-09-22 09:30:32-0700 [-] twistd 8.1.0 (//scratch/mabshoff/release- cycle/sage-3.1.3.alpha1/local/bin/python 2.5.2) starting up 2008-09-22 09:30:32-0700 [-] reactor class: class 'twisted.internet.selectreactor.SelectReactor' 2008-09-22 09:30:32-0700 [-] MoinMoin.server.twistedmoin.MoinSite starting on 9000 2008-09-22 09:30:32-0700 [-] Starting factory MoinMoin.server.twistedmoin.MoinSite instance at 0x2b944c8f7830 2008-09-22 09:30:32-0700 [-] set uid/gid 1090/1090 ^^^ This is some sort of permission error. Are you running SELinux or something like that? I don't so but I was upgraded from SDL 5 to 5.1 and something may have changed. I am not the administrator so it is possible that something like selinux has been added or policy changed without telling me. I would guess that you are probably right and I will ask the administrator. Cheers, Adam --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] problem with server 2
Is server 2 currently down? I have troubles in running sage there this morning. my username there is pong --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Adding text/formatting to worksheets in the notebook
On Mon, Sep 22, 2008 at 11:05 AM, D. Monarres [EMAIL PROTECTED] wrote: I want to produce a worksheet tutorial for SAGE usage on our campus and was wondering how I could add static text around the notebook cells like is done in the live tutorial . Do I just edit as plain text and add formatting there? Yes, that's what you do right now. Use html markup as for a normal web page. You can also use $$'s for math markup. William --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: problem with server 2
On Mon, Sep 22, 2008 at 11:36 AM, pong [EMAIL PROTECTED] wrote: Is server 2 currently down? I have troubles in running sage there this morning. Thanks for letting me know. The server directory is suddenly out of disk space, so the server can't work. So I've deleted a bunch of files, so now the server works again. I did some poking around, and it looks like when the doc browser is run it isn't cleaning up after itself, which is wasting some disk space. Anyway, there is now 10GB free. William --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: problem with server 2
William, Thanks for the reply. And I understand that could happen. Well, it looks like the content of one of my worksheets is gone. In my case, that's really no big deal. But I hope other people who have more substantial worksheets in that server won't encounter the same problem. On Sep 22, 11:51 am, William Stein [EMAIL PROTECTED] wrote: On Mon, Sep 22, 2008 at 11:36 AM, pong [EMAIL PROTECTED] wrote: Is server 2 currently down? I have troubles in running sage there this morning. Thanks for letting me know. The server directory is suddenly out of disk space, so the server can't work. So I've deleted a bunch of files, so now the server works again. I did some poking around, and it looks like when the doc browser is run it isn't cleaning up after itself, which is wasting some disk space. Anyway, there is now 10GB free. William --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: problem with server 2
On Mon, Sep 22, 2008 at 12:01 PM, pong [EMAIL PROTECTED] wrote: William, Thanks for the reply. And I understand that could happen. Well, it looks like the content of one of my worksheets is gone. In my case, that's really no big deal. But I hope other people who have more substantial worksheets in that server won't encounter the same problem. Weird. There should be no data loss at all, except for data that was never written in the first place. William --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: problem with server 2
I had the content earlier this morning. But couldn't run sage on it. I might accidentally click the discard and quit button. But if I'm not mistaken, usually the old content will still be there. I think (and hope) this is an isolated case. On Sep 22, 12:02 pm, William Stein [EMAIL PROTECTED] wrote: On Mon, Sep 22, 2008 at 12:01 PM, pong [EMAIL PROTECTED] wrote: William, Thanks for the reply. And I understand that could happen. Well, it looks like the content of one of my worksheets is gone. In my case, that's really no big deal. But I hope other people who have more substantial worksheets in that server won't encounter the same problem. Weird. There should be no data loss at all, except for data that was never written in the first place. William --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Seg fault with determinant calculation
On Sep 15, 10:26 am, Martin Albrecht [EMAIL PROTECTED] wrote: On Monday 15 September 2008, phil wrote: I've been pushing the limits of determinant calculation over multivariate polynomial rings. I can calculate determinants of matrices up to 9x9 of the form [[x_0_0, x_0_1],[x_1_0, x_1_1]] (each element is a single unique variable). When I get to 10x10 is runs for a while the crashes with: Unhandled SIGSEGV: A segmentation fault occured in SAGE. This probably occured because a *compiled* component of SAGE has a bug in it (typically accessing invalid memory) or is not properly wrapped with _sig_on, _sig_off. You might want to run SAGE under gdb with 'sage -gdb' to debug this. SAGE will now terminate (sorry). I'll try to reproduce the crash and see what I can do about it. You could help by running sage -gdb (if you have gdb installed) and send me the backtrace off list. Thanks. The original machine I was using was needed for other things. So, I ran it on sage 3.1.2rc4 on sage.math.washington.edu and it completed successfully after 169446 seconds. So, the problem was specific to the setup I was using or it was fixed in 3.1.2rc4. The scaling of the problem seems worse than it should be though. The 9x9 problem takes 40 seconds while the 10x0 problem takes 4236 times longer. That's worse than O(n!) let along O(n^3). If your curious, the test problem is at http://sage.math.washington.edu/home/fongpwf/sage_work/determinant_10_poly.sage Phil --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Seg fault with determinant calculation
On Sep 22, 4:23 pm, phil [EMAIL PROTECTED] wrote: On Sep 15, 10:26 am, Martin Albrecht [EMAIL PROTECTED] wrote: SNIP I'll try to reproduce the crash and see what I can do about it. You could help by running sage -gdb (if you have gdb installed) and send me the backtrace off list. Thanks. The original machine I was using was needed for other things. So, I ran it on sage 3.1.2rc4 on sage.math.washington.edu and it completed successfully after 169446 seconds. So, the problem was specific to the setup I was using or it was fixed in 3.1.2rc4. The scaling of the problem seems worse than it should be though. The 9x9 problem takes 40 seconds while the 10x0 problem takes 4236 times longer. That's worse than O(n!) let along O(n^3). If your curious, the test problem is athttp://sage.math.washington.edu/home/fongpwf/sage_work/determinant_10... It would be worth it to check foe either memory leaks or something else fishy going on here via valgrind. Let me poke around to see if I can find anything either in Sage or in libSingular. Phil Cheers, Michael --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] long arithmetic
Using Sage I solved a long list of equations and put the solutions (s) in a list; e.g.: sage: for j in range(52,54,1): q = slst[j] j=q[0]; k=(q[1]); s=(q[2]) (q,j,k,s) : ([52, 30, 2081203288L], 52, 30, 2081203288L) ([53, 53, 17903198518682712L], 53, 53, 17903198518682712L) Now I want to plug j and s into the list of y equations so that I can do further calculations involving i. But Sage appears to be getting hung on the s being long: sage: for j in range(52,54,1): q = slst[j] j=q[0]; k=(q[1]); s=(q[2]) y = 2*(2**k)*i + s (j,k,s,y) : ... ... TypeError: unsupported operand parent(s) for '+': 'Symbolic Ring' and 'type 'long'' When I take the s out of the equation for y it's OK: sage: for j in range(52,54,1): q = slst[j] j=q[0]; k=(q[1]); s=(q[2]) y = 2*(2**k)*i (j,k,s,y) : (52, 30, 2081203288L, 2147483648*i) (53, 53, 17903198518682712L, 18014398509481984*i) FWIW: sage: type(j), type(k), type(s), type(y), type(i) (type 'int', type 'int', type 'long', class 'sage.calculus.calculus.SymbolicArithmetic', class 'sage.calculus.calculus.SymbolicVariable') None of the tricks I tried have convinced Sage and y that s is OK. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Sage editor
I run Sage on my Mac rather than on the web. I often bring up the previous command and edit it then rerun it. The editor is very tedious in that the only way I have figured out how to move the cursor around in the text is one character at a time using the left and right arrow keys and the back-space-delete key. Given a several-line for-loop to edit this can be frustrating. Am I missing something obvious to everyone else? Is this a feature of the Mac rather than Sage? A less-than-satisfactory work-around is to copy/paste to a programmer's editor, do the change, then copy/paste back to Sage. Which leads me to another and related question. Are the editing capabilities of Sage when used with cells (as described in some of the Sage ref's) on a web server significantly better? If so would I be well advised to install web server software on my Mac and use Sage that way? (I don't have 24x7 fast web access...) Is that installation process complicated? Bob Wonderly PS So far you support people have done just fine answering this old programmer but Sage newbie's questions. Thanks. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Sage editor
On Mon, Sep 22, 2008 at 6:00 PM, Bob Wonderly [EMAIL PROTECTED] wrote: I run Sage on my Mac rather than on the web. I often bring up the previous command and edit it then rerun it. The editor is very tedious in that the only way I have figured out how to move the cursor around in the text is one character at a time using the left and right arrow keys and the back-space-delete key. Given a several-line for-loop to edit this can be frustrating. Are you using the command line? I can't tell. I.e., do you see sage: and type in commands? Am I missing something obvious to everyone else? Is this a feature of the Mac rather than Sage? A less-than-satisfactory work-around is to copy/paste to a programmer's editor, do the change, then copy/paste back to Sage. Which leads me to another and related question. Are the editing capabilities of Sage when used with cells (as described in some of the Sage ref's) on a web server significantly better? If so would I be well advised to install web server software on my Mac and use Sage that way? (I don't have 24x7 fast web access...) This will allow you to use the notebook, which I think is significantly easier to use for me than the command line. Is that installation process complicated? It's easy. Just type sage: notebook() and you're up in running in seconds. PS So far you support people have done just fine answering this old programmer but Sage newbie's questions. Thanks. Regarding your long question in the other thread, you might try typing SR(s) to explicitly coerce s from a long to a symbolic ring element. William --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: long arithmetic
On Mon, Sep 22, 2008 at 6:04 PM, Jason Grout [EMAIL PROTECTED] wrote: Bob Wonderly wrote: Using Sage I solved a long list of equations and put the solutions (s) in a list; e.g.: sage: for j in range(52,54,1): q = slst[j] j=q[0]; k=(q[1]); s=(q[2]) (q,j,k,s) .: ([52, 30, 2081203288L], 52, 30, 2081203288L) ([53, 53, 17903198518682712L], 53, 53, 17903198518682712L) Now I want to plug j and s into the list of y equations so that I can do further calculations involving i. But Sage appears to be getting hung on the s being long: sage: for j in range(52,54,1): q = slst[j] j=q[0]; k=(q[1]); s=(q[2]) y = 2*(2**k)*i + s (j,k,s,y) .: TypeError: unsupported operand parent(s) for '+': 'Symbolic Ring' and 'type 'long'' When I take the s out of the equation for y it's OK: sage: for j in range(52,54,1): q = slst[j] j=q[0]; k=(q[1]); s=(q[2]) y = 2*(2**k)*i (j,k,s,y) .: (52, 30, 2081203288L, 2147483648*i) (53, 53, 17903198518682712L, 18014398509481984*i) FWIW: sage: type(j), type(k), type(s), type(y), type(i) (type 'int', type 'int', type 'long', class 'sage.calculus.calculus.SymbolicArithmetic', class 'sage.calculus.calculus.SymbolicVariable') None of the tricks I tried have convinced Sage and y that s is OK. Can you try converting s to an element that Sage knows by saying: y = 2*(2**k)*i + Integer(s) That said, I reproduced your error with just: sage: var(b)+long(2) This is a bug, so I've added it to trac: http://trac.sagemath.org/sage_trac/ticket/4171 William --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Sage editor
Bob Wonderly wrote: I run Sage on my Mac rather than on the web. I often bring up the previous command and edit it then rerun it. The editor is very tedious in that the only way I have figured out how to move the cursor around in the text is one character at a time using the left and right arrow keys and the back-space-delete key. Given a several-line for-loop to edit this can be frustrating. Am I missing something obvious to everyone else? Is this a feature of the Mac rather than Sage? Sage uses GNU readline to implement the shortcuts on the command line. Some documentation about the keyboard shortcuts is here: http://tiswww.case.edu/php/chet/readline/rluserman.html A less-than-satisfactory work-around is to copy/paste to a programmer's editor, do the change, then copy/paste back to Sage. Which leads me to another and related question. Are the editing capabilities of Sage when used with cells (as described in some of the Sage ref's) on a web server significantly better? If so would I be well advised to install web server software on my Mac and use Sage that way? (I don't have 24x7 fast web access...) Is that installation process complicated? You don't need to install a webserver. Sage comes with one. You can try it out by just typing sage: notebook() which will start the web server that sage comes with and open up your browser to the right page. Sage also comes with a wiki and other web software besides the notebook. Bob Wonderly PS So far you support people have done just fine answering this old programmer but Sage newbie's questions. Thanks. Welcome to the community! Thanks, Jason --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: long arithmetic
On Sep 22, 2008, at 6:09 PM, William Stein wrote: On Mon, Sep 22, 2008 at 6:04 PM, Jason Grout [EMAIL PROTECTED] wrote: Bob Wonderly wrote: Using Sage I solved a long list of equations and put the solutions (s) in a list; e.g.: sage: for j in range(52,54,1): q = slst[j] j=q[0]; k=(q[1]); s=(q[2]) (q,j,k,s) .: ([52, 30, 2081203288L], 52, 30, 2081203288L) ([53, 53, 17903198518682712L], 53, 53, 17903198518682712L) Now I want to plug j and s into the list of y equations so that I can do further calculations involving i. But Sage appears to be getting hung on the s being long: sage: for j in range(52,54,1): q = slst[j] j=q[0]; k=(q[1]); s=(q[2]) y = 2*(2**k)*i + s (j,k,s,y) .: TypeError: unsupported operand parent(s) for '+': 'Symbolic Ring' and 'type 'long'' When I take the s out of the equation for y it's OK: sage: for j in range(52,54,1): q = slst[j] j=q[0]; k=(q[1]); s=(q[2]) y = 2*(2**k)*i (j,k,s,y) .: (52, 30, 2081203288L, 2147483648*i) (53, 53, 17903198518682712L, 18014398509481984*i) FWIW: sage: type(j), type(k), type(s), type(y), type(i) (type 'int', type 'int', type 'long', class 'sage.calculus.calculus.SymbolicArithmetic', class 'sage.calculus.calculus.SymbolicVariable') None of the tricks I tried have convinced Sage and y that s is OK. Can you try converting s to an element that Sage knows by saying: y = 2*(2**k)*i + Integer(s) That said, I reproduced your error with just: sage: var(b)+long(2) This is a bug, so I've added it to trac: http://trac.sagemath.org/sage_trac/ticket/4171 ... just after I added the ticket here: http://trac.sagemath.org/ sage_trac/ticket/4170 - Robert --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Sage editor
On 23/09/2008, at 11:00 AM, Bob Wonderly wrote: I run Sage on my Mac rather than on the web. I often bring up the previous command and edit it then rerun it. The editor is very tedious in that the only way I have figured out how to move the cursor around in the text is one character at a time using the left and right arrow keys and the back-space-delete key. Given a several-line for-loop to edit this can be frustrating. Mmmm... at the command line, ctrl-a and ctrl-e take you to the start and end of the line. In many OS X applications, ctrl-option-b jumps back by a word (roughly standard readline behaviour) but as far as I can tell, nothing like this works in sage's command line (which is a shame.) D --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Sage editor
William Stein wrote: Regarding your long question in the other thread, you might try typing SR(s) to explicitly coerce s from a long to a symbolic ring element. That doesn't work, which might be a bug: sage: SR(long(2)) --- TypeError Traceback (most recent call last) /home/grout/sage/devel/sage-main/sage/plot/ipython console in module() /home/grout/downloads/sage-3.1.2/local/lib/python2.5/site-packages/sage/calculus/calculus.py in __call__(self, x) /home/grout/downloads/sage-3.1.2/local/lib/python2.5/site-packages/sage/calculus/calculus.py in _coerce_impl(self, x) TypeError: cannot coerce type 'type 'long'' into a SymbolicExpression. Thanks, Jason --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: long arithmetic
On Mon, Sep 22, 2008 at 6:12 PM, Robert Bradshaw [EMAIL PROTECTED] wrote: On Sep 22, 2008, at 6:09 PM, William Stein wrote: On Mon, Sep 22, 2008 at 6:04 PM, Jason Grout [EMAIL PROTECTED] wrote: Bob Wonderly wrote: Using Sage I solved a long list of equations and put the solutions (s) in a list; e.g.: sage: for j in range(52,54,1): q = slst[j] j=q[0]; k=(q[1]); s=(q[2]) (q,j,k,s) .: ([52, 30, 2081203288L], 52, 30, 2081203288L) ([53, 53, 17903198518682712L], 53, 53, 17903198518682712L) Now I want to plug j and s into the list of y equations so that I can do further calculations involving i. But Sage appears to be getting hung on the s being long: sage: for j in range(52,54,1): q = slst[j] j=q[0]; k=(q[1]); s=(q[2]) y = 2*(2**k)*i + s (j,k,s,y) .: TypeError: unsupported operand parent(s) for '+': 'Symbolic Ring' and 'type 'long'' When I take the s out of the equation for y it's OK: sage: for j in range(52,54,1): q = slst[j] j=q[0]; k=(q[1]); s=(q[2]) y = 2*(2**k)*i (j,k,s,y) .: (52, 30, 2081203288L, 2147483648*i) (53, 53, 17903198518682712L, 18014398509481984*i) FWIW: sage: type(j), type(k), type(s), type(y), type(i) (type 'int', type 'int', type 'long', class 'sage.calculus.calculus.SymbolicArithmetic', class 'sage.calculus.calculus.SymbolicVariable') None of the tricks I tried have convinced Sage and y that s is OK. Can you try converting s to an element that Sage knows by saying: y = 2*(2**k)*i + Integer(s) That said, I reproduced your error with just: sage: var(b)+long(2) This is a bug, so I've added it to trac: http://trac.sagemath.org/sage_trac/ticket/4171 ... just after I added the ticket here: http://trac.sagemath.org/ sage_trac/ticket/4170 What's the rule about whose is a dupe then? I posted on sage-support first, but you hit new ticket first.I'll let you have the ticket; please mark mine a dupe. William --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: long arithmetic
On Sep 22, 6:17 pm, William Stein [EMAIL PROTECTED] wrote: On Mon, Sep 22, 2008 at 6:12 PM, Robert Bradshaw SNIP This is a bug, so I've added it to trac: http://trac.sagemath.org/sage_trac/ticket/4171 ... just after I added the ticket here:http://trac.sagemath.org/ sage_trac/ticket/4170 What's the rule about whose is a dupe then? I posted on sage-support first, but you hit new ticket first. I'll let you have the ticket; please mark mine a dupe. William Well, my personal rule is this: * ticket with a patch closes other tickets as dupe * no patches: earlier ticket stays open *unless* the later ticket has a much better description In this case Robert's ticket with patch (that I am currently doctesting and likely to merge in 10 minutes) wins :) Cheers, Michael --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Sage editor
David Philp wrote: On 23/09/2008, at 11:00 AM, Bob Wonderly wrote: I run Sage on my Mac rather than on the web. I often bring up the previous command and edit it then rerun it. The editor is very tedious in that the only way I have figured out how to move the cursor around in the text is one character at a time using the left and right arrow keys and the back-space-delete key. Given a several-line for-loop to edit this can be frustrating. Mmmm... at the command line, ctrl-a and ctrl-e take you to the start and end of the line. In many OS X applications, ctrl-option-b jumps back by a word (roughly standard readline behaviour) but as far as I can tell, nothing like this works in sage's command line (which is a shame.) What is the meta key in OS X? For me, pressing escape (my meta key) and then b takes me back a word. Does option-b take you back? Jason --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: long arithmetic
On Sep 22, 2008, at 6:17 PM, William Stein wrote: On Mon, Sep 22, 2008 at 6:12 PM, Robert Bradshaw [EMAIL PROTECTED] wrote: On Sep 22, 2008, at 6:09 PM, William Stein wrote: On Mon, Sep 22, 2008 at 6:04 PM, Jason Grout [EMAIL PROTECTED] wrote: Bob Wonderly wrote: Using Sage I solved a long list of equations and put the solutions (s) in a list; e.g.: sage: for j in range(52,54,1): q = slst[j] j=q[0]; k=(q[1]); s=(q[2]) (q,j,k,s) .: ([52, 30, 2081203288L], 52, 30, 2081203288L) ([53, 53, 17903198518682712L], 53, 53, 17903198518682712L) Now I want to plug j and s into the list of y equations so that I can do further calculations involving i. But Sage appears to be getting hung on the s being long: sage: for j in range(52,54,1): q = slst[j] j=q[0]; k=(q[1]); s=(q[2]) y = 2*(2**k)*i + s (j,k,s,y) .: TypeError: unsupported operand parent(s) for '+': 'Symbolic Ring' and 'type 'long'' When I take the s out of the equation for y it's OK: sage: for j in range(52,54,1): q = slst[j] j=q[0]; k=(q[1]); s=(q[2]) y = 2*(2**k)*i (j,k,s,y) .: (52, 30, 2081203288L, 2147483648*i) (53, 53, 17903198518682712L, 18014398509481984*i) FWIW: sage: type(j), type(k), type(s), type(y), type(i) (type 'int', type 'int', type 'long', class 'sage.calculus.calculus.SymbolicArithmetic', class 'sage.calculus.calculus.SymbolicVariable') None of the tricks I tried have convinced Sage and y that s is OK. Can you try converting s to an element that Sage knows by saying: y = 2*(2**k)*i + Integer(s) That said, I reproduced your error with just: sage: var(b)+long(2) This is a bug, so I've added it to trac: http://trac.sagemath.org/sage_trac/ticket/4171 ... just after I added the ticket here: http://trac.sagemath.org/ sage_trac/ticket/4170 What's the rule about whose is a dupe then? I posted on sage-support first, but you hit new ticket first.I'll let you have the ticket; please mark mine a dupe. Yeah, I paused long enough to write a patch. I guess this is a good kind of problem to have :). - Robert --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Sage editor
On 23/09/2008, at 11:19 AM, Jason Grout wrote: David Philp wrote: On 23/09/2008, at 11:00 AM, Bob Wonderly wrote: I run Sage on my Mac rather than on the web. I often bring up the previous command and edit it then rerun it. The editor is very tedious in that the only way I have figured out how to move the cursor around in the text is one character at a time using the left and right arrow keys and the back-space-delete key. Given a several-line for-loop to edit this can be frustrating. Mmmm... at the command line, ctrl-a and ctrl-e take you to the start and end of the line. In many OS X applications, ctrl-option-b jumps back by a word (roughly standard readline behaviour) but as far as I can tell, nothing like this works in sage's command line (which is a shame.) What is the meta key in OS X? For me, pressing escape (my meta key) and then b takes me back a word. Does option-b take you back? Interesting. This looks like a bug at some level. Option-b inserts the integral character (∫), i.e. great S (I think that's what it's meant to be). That's standard OS X behaviour, gets you all sorts of fun characters and accents (π, ß, ∑, µ, ö) Ctrl-option-b takes me back a character, as does ctrl-b. I'm guessing that GNU readline uses ctrl-option as meta on OS X, and that it is not correctly configured in Sage's readline. D == David J Philp Postdoctoral Fellow National Centre for Epidemiology and Population Health Building 62, cnr Mills Rd Eggleston Rd The Australian National University Canberra ACT 0200 Australia T: +61 2 6125 8260 F: +61 2 6125 0740 M: 0423 535 397 W: http://nceph.anu.edu.au/ CRICOS Provider #00120C --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Sage editor
David Philp wrote: On 23/09/2008, at 11:19 AM, Jason Grout wrote: David Philp wrote: On 23/09/2008, at 11:00 AM, Bob Wonderly wrote: I run Sage on my Mac rather than on the web. I often bring up the previous command and edit it then rerun it. The editor is very tedious in that the only way I have figured out how to move the cursor around in the text is one character at a time using the left and right arrow keys and the back-space-delete key. Given a several-line for-loop to edit this can be frustrating. Mmmm... at the command line, ctrl-a and ctrl-e take you to the start and end of the line. In many OS X applications, ctrl-option-b jumps back by a word (roughly standard readline behaviour) but as far as I can tell, nothing like this works in sage's command line (which is a shame.) What is the meta key in OS X? For me, pressing escape (my meta key) and then b takes me back a word. Does option-b take you back? Interesting. This looks like a bug at some level. Option-b inserts the integral character (∫), i.e. great S (I think that's what it's meant to be). That's standard OS X behaviour, gets you all sorts of fun characters and accents (π, ß, ∑, µ, ö) Ctrl-option-b takes me back a character, as does ctrl-b. I'm guessing that GNU readline uses ctrl-option as meta on OS X, and that it is not correctly configured in Sage's readline. Or maybe it's ignoring the option and just giving you ctrl-b. I'd experiment to find the meta key if you'd just ship me a mac :). I'd even try to figure out how to configure the meta key to be whatever you wanted. Jason --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: long arithmetic
William Stein wrote: What's the rule about whose is a dupe then? I posted on sage-support first, but you hit new ticket first.I'll let you have the ticket; please mark mine a dupe. Hehe...I believe it's the Code talks rule. Robert has a patch up already :). Jason --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Sage editor
On Sep 22, 2008, at 18:19 , Jason Grout wrote: David Philp wrote: On 23/09/2008, at 11:00 AM, Bob Wonderly wrote: I run Sage on my Mac rather than on the web. I often bring up the previous command and edit it then rerun it. The editor is very tedious in that the only way I have figured out how to move the cursor around in the text is one character at a time using the left and right arrow keys and the back-space-delete key. Given a several-line for-loop to edit this can be frustrating. Mmmm... at the command line, ctrl-a and ctrl-e take you to the start and end of the line. In many OS X applications, ctrl-option-b jumps back by a word (roughly standard readline behaviour) but as far as I can tell, nothing like this works in sage's command line (which is a shame.) What is the meta key in OS X? For me, pressing escape (my meta key) and then b takes me back a word. Does option-b take you back? Get Info on a window will get you to the 'inspector'; click the settings tab, and double-click the window style you are using. The Keyboard tab in the resulting panel has a option as meta check-box. Justin (Intuitive, right?) -- Justin C. Walker, Curmudgeon at Large Director Institute for the Enhancement of the Director's income --- -- They said it couldn't be done, but sometimes, it doesn't work out that way. - Casey Stengel -- --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Sage editor
Oops. Forgot one thing... On Sep 22, 2008, at 20:18 , Justin C. Walker wrote: On Sep 22, 2008, at 18:19 , Jason Grout wrote: [snip] What is the meta key in OS X? For me, pressing escape (my meta key) and then b takes me back a word. Does option-b take you back? Get Info on a window will get you to the 'inspector'; click the settings tab, and double-click the window style you are using. The Keyboard tab in the resulting panel has a option as meta check-box. I should add that this is the approach on 10.5. For earlier releases, check for settings or Get Info in the menus, and that should lead you to a similar choice for option as meta. I don't recall when this capability was added, but I think it predates the earliest Mac OS X release we support. Justin -- Justin C. Walker, Curmudgeon-At-Large Institute for the Absorption of Federal Funds If you're not confused, You're not paying attention --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Mercurial problems in 3.1.2
On Sep 21, 2008, at 23:35 , mabshoff wrote: On Sep 21, 11:27 pm, Justin C. Walker [EMAIL PROTECTED] wrote: This is the same crap issue you hit when building 3.1.2.rc-something, i.e. emacs is linked against Apple's libnpng while launching it from hg causes it to pick up out linpng. Results in *boom*. You can work around this by writing an emacs script in SAGE_LOCAL/bin that sets DYLD_LIBRARY_PATH to the old DYLD_LIBRARY_PATH and then launches emacs. Well, that worked. I actually used SAGE_ORIG_{LD,DYLD}_LIBRARY_PATH to get it to work in all the cases I tried (and had to check the $XXX_SET variables as well). Thanks for the work-around. Is someone can find out where Apple has its modifications to libpng this issue can be resolved. I'll guess that it's a difference between versions (1.2.22 vs. 1.2.24), but I can't find old source on the libpng site, and it doesn't show up on the Darwin site (which I infer means that they did not change anything). I'll poke further, but if anyone has a better idea, speak up! Justin -- Justin C. Walker, Curmudgeon at Large Institute for the Absorption of Federal Funds --- My wife 'n kids 'n dogs are gone, I can't get Jesus on the phone, But Ol' Milwaukee's Best is my best friend. --- --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Mercurial problems in 3.1.2
On Sep 22, 8:41 pm, Justin C. Walker [EMAIL PROTECTED] wrote: On Sep 21, 2008, at 23:35 , mabshoff wrote: Hi Justin, On Sep 21, 11:27 pm, Justin C. Walker [EMAIL PROTECTED] wrote: This is the same crap issue you hit when building 3.1.2.rc-something, i.e. emacs is linked against Apple's libnpng while launching it from hg causes it to pick up out linpng. Results in *boom*. You can work around this by writing an emacs script in SAGE_LOCAL/bin that sets DYLD_LIBRARY_PATH to the old DYLD_LIBRARY_PATH and then launches emacs. Well, that worked. I actually used SAGE_ORIG_{LD,DYLD}_LIBRARY_PATH to get it to work in all the cases I tried (and had to check the $XXX_SET variables as well). Thanks for the work-around. No problem, good that it works for you. Is someone can find out where Apple has its modifications to libpng this issue can be resolved. I'll guess that it's a difference between versions (1.2.22 vs. 1.2.24), but I can't find old source on the libpng site, and it doesn't show up on the Darwin site (which I infer means that they did not change anything). I'll poke further, but if anyone has a better idea, speak up! I am playing with libpng-1.2.32 since that is the latest release and also has a boatload of security updates since the lowly 1.2.22 that we ship. Hopefully this will resolve the symbol missing issues. I am testing 3.1.3.alpha0 on OSX 10.5 to see if I can hit any of those problems. Justin Cheers, Michael -- Justin C. Walker, Curmudgeon at Large Institute for the Absorption of Federal Funds --- My wife 'n kids 'n dogs are gone, I can't get Jesus on the phone, But Ol' Milwaukee's Best is my best friend. --- --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Mercurial problems in 3.1.2
On Sep 22, 2008, at 21:33 , mabshoff wrote: On Sep 22, 8:41 pm, Justin C. Walker [EMAIL PROTECTED] wrote: On Sep 21, 2008, at 23:35 , mabshoff wrote: [snip] I'll guess that it's a difference between versions (1.2.22 vs. 1.2.24), but I can't find old source on the libpng site, and it doesn't show up on the Darwin site (which I infer means that they did not change anything). I'll poke further, but if anyone has a better idea, speak up! I am playing with libpng-1.2.32 since that is the latest release and also has a boatload of security updates since the lowly 1.2.22 that we ship. Hopefully this will resolve the symbol missing issues. I am testing 3.1.3.alpha0 on OSX 10.5 to see if I can hit any of those problems. Is 1.2.32 in alpha0? As well as the md5 and numpy fixes (for parallel building)? Justin -- Justin C. Walker, Curmudgeon-At-Large Institute for the Absorption of Federal Funds Men are from Earth. Women are from Earth. Deal with it. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Mercurial problems in 3.1.2
On Sep 22, 10:16 pm, Justin C. Walker [EMAIL PROTECTED] wrote: On Sep 22, 2008, at 21:33 , mabshoff wrote: [snip] Hi Justin, I am playing with libpng-1.2.32 since that is the latest release and also has a boatload of security updates since the lowly 1.2.22 that we ship. Hopefully this will resolve the symbol missing issues. I am testing 3.1.3.alpha0 on OSX 10.5 to see if I can hit any of those problems. Is 1.2.32 in alpha0? As well as the md5 and numpy fixes (for parallel building)? Nope, none of those fixes is in alpha0, but I hope that at least some of them will make it into alpha1, due out late tomorrow. I still don't see how parallel make impacts numpy, so if you could send me the portion of the blown up numpy build with parallel make I could attempt to figure out what is wrong. Justin Cheers, Michael -- Justin C. Walker, Curmudgeon-At-Large Institute for the Absorption of Federal Funds Men are from Earth. Women are from Earth. Deal with it. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: problems with install path
Hi, Thanks a lot, that solves it. arnold On Sep 22, 6:27 pm, mabshoff [EMAIL PROTECTED] dortmund.de wrote: On Sep 22, 5:38 am, arnold [EMAIL PROTECTED] wrote: L.S. Hi, When updating to Sage 3.1.2 I run into the following problem: Am using a Mac G4 dual core, OSX 10.4.11. Used a previous version of Sage without apparent problems. Updating to 3.1.2 however was not without hickups: copying Sage with the finder resulted in error messages that duplicate names were not allowed. Removing all visible traces of Sage from /Applications and then installing with Terminal (sudo cp -R -P /Volumes/sage-3.1.2-osx10.4- ppc-PowerMacintosh-Darwin/ . inside the Applications folder) appeared to work fine. Starting Sage however resulted in the following: /Users/arnoldcd /Applications/sage ; /Applications/sage/sage -- | SAGE Version 3.1.2, Release Date: 2008-09-19 | | Type notebook() for the GUI, and license() for information. | -- The SAGE install tree may have moved. Regenerating Python.pyo and .pyc files that hardcode the install PATH (please wait at most a few minutes)... Please do not interrupt this. Traceback (most recent call last): File /Applications/sage/local/bin/sage-location, line 71, in module update_library_files(R) File /Applications/sage/local/bin/sage-location, line 39, in update_library_files open(LIB + F,'w').write(H) IOError: [Errno 13] Permission denied: '/Applications/sage/local/lib/ libfplll.la' Since you installed via sudo you do not own the Sage files. If you start sage once under sudo this will likely fix those issues. sage: Typing notebook() gives me a list of previous notebooks; when I open one, type a new line and ask to evaluate nothing happens. The error message at startup never occurred before. What am I doing wrong? Regards, arnold Cheers, Michael --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---