[sage-support] matrix log?
Does sage have built-in the analog of MatrixLog in Mathematica? I noticed that one can use logm in scipy: from scipy import linalg matrix(linalg.logm(mat)) (where mat is the matrix whose log is to be computed), but I am wondering whether there is a better way? Thank you. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Sage Upgrade Port Number?
What port does the Sage upgrade use so that IT can add a firewall rule for me to upgrade Sage? Thanks, Chris -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: interact.sagemath.org down?
Ok. Having a public cloud file seems like good solution. But interact doesn't work properly with it, where the applet should appear there is only "(interacts not available)" -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
Re: [sage-support] Re: interact.sagemath.org down?
On Tue, Oct 21, 2014 at 9:34 AM, Benedikt Magnússon wrote: > Ok. Having a public cloud file seems like good solution. > But interact doesn't work properly with it, where the applet should appear > there is only > "(interacts not available)" That's not implemented yet. -- William -- William Stein Professor of Mathematics University of Washington http://wstein.org -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: Sage Upgrade Port Number?
> What port does the Sage upgrade use so that IT can add a firewall rule for > me to upgrade Sage? > > Hi! I'm not sure what you mean; usually the easiest thing to do to upgrade Sage is either 1) download a new binary manually and just use that one, since the metadata is not in the Sage binary 2) recompile a Sage you have already built from scratch by pulling from the latest git repository Also, though I am scared to try this nowadays, 3) In theory I think "sage -upgrade" still works... I bet the answer depends slightly on this - for instance, 1) shouldn't be a firewall problem at all since you are asking for it? Anyway, I hope someone answers this because we should add it to the installation guide and download webpage - which both seem to advocate for 3) without mentioning firewalls. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
Re: [sage-support] Re: Sage Upgrade Port Number?
On Tue, Oct 21, 2014 at 10:02 AM, kcrisman wrote: > > > >> What port does the Sage upgrade use so that IT can add a firewall rule >> for me to upgrade Sage? >> >> > Hi! I'm not sure what you mean; usually the easiest thing to do to > upgrade Sage is either > 1) download a new binary manually and just use that one, since the > metadata is not in the Sage binary > I meant #sage -upgrade . The only reason I am not downloading and exploding the binary package is that it does not claim support for Yosemite. My old 6.2 is working, but I figured it stood a better chance of working correctly if I natively compile it in OS X 10.10. > 2) recompile a Sage you have already built from scratch by pulling from > the latest git repository > Also, though I am scared to try this nowadays, > Might run into the same firewall issue. > 3) In theory I think "sage -upgrade" still works... > It worked for 6.2. > > Thanks, Chris -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Sage with Yosemite?
Has anyone tried the 6.3 binary with Sage? Thanks, Chris -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
Re: [sage-support] Sage with Yosemite?
On Oct 21, 2014, at 10:58 AM, Chris Maness wrote: > Has anyone tried the 6.3 binary with Sage? > > Thanks, > Chris Just a bit-- started it up and ran the notebook. Seems to be there, but haven't tested old worksheets yet. Jim Clark -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
Re: [sage-support] Re: Sage Upgrade Port Number?
Sage doesn't compile on OSX 10.10 at the moment. See the sage-devel thread. On Tuesday, October 21, 2014 6:56:27 PM UTC+1, Chris Maness wrote: > > > > On Tue, Oct 21, 2014 at 10:02 AM, kcrisman > wrote: > >> >> >> >>> What port does the Sage upgrade use so that IT can add a firewall rule >>> for me to upgrade Sage? >>> >>> >> Hi! I'm not sure what you mean; usually the easiest thing to do to >> upgrade Sage is either >> 1) download a new binary manually and just use that one, since the >> metadata is not in the Sage binary >> > > I meant #sage -upgrade . The only reason I am not downloading and > exploding the binary package is that it does not claim support for > Yosemite. My old 6.2 is working, but I figured it stood a better chance of > working correctly if I natively compile it in OS X 10.10. > > >> 2) recompile a Sage you have already built from scratch by pulling from >> the latest git repository >> Also, though I am scared to try this nowadays, >> > > Might run into the same firewall issue. > > >> 3) In theory I think "sage -upgrade" still works... >> > > It worked for 6.2. > >> >> > Thanks, > Chris > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
Re: [sage-support] Re: Sage Upgrade Port Number?
The binary seems to be running fine for now. Chris On Oct 21, 2014 12:11 PM, "Volker Braun" wrote: > Sage doesn't compile on OSX 10.10 at the moment. See the sage-devel > thread. > > > > > On Tuesday, October 21, 2014 6:56:27 PM UTC+1, Chris Maness wrote: >> >> >> >> On Tue, Oct 21, 2014 at 10:02 AM, kcrisman wrote: >> >>> >>> >>> What port does the Sage upgrade use so that IT can add a firewall rule for me to upgrade Sage? >>> Hi! I'm not sure what you mean; usually the easiest thing to do to >>> upgrade Sage is either >>> 1) download a new binary manually and just use that one, since the >>> metadata is not in the Sage binary >>> >> >> I meant #sage -upgrade . The only reason I am not downloading and >> exploding the binary package is that it does not claim support for >> Yosemite. My old 6.2 is working, but I figured it stood a better chance of >> working correctly if I natively compile it in OS X 10.10. >> >> >>> 2) recompile a Sage you have already built from scratch by pulling from >>> the latest git repository >>> Also, though I am scared to try this nowadays, >>> >> >> Might run into the same firewall issue. >> >> >>> 3) In theory I think "sage -upgrade" still works... >>> >> >> It worked for 6.2. >> >>> >>> >> Thanks, >> Chris >> > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-support+unsubscr...@googlegroups.com. > To post to this group, send email to sage-support@googlegroups.com. > Visit this group at http://groups.google.com/group/sage-support. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
Re: [sage-support] Re: interact.sagemath.org down?
> > > I think having public cloud files, like William just enabled, plus a > curated index of really nice examples, plus maybe a wiki page of short > simple examples, is a better approach than the rather heavy-weight > interact.sagemath.org. I think the biggest thing I took from running > interact.sagemath.org is that we should do all we can to lower the > barrier between creation and sharing. I now think that the barrier of > Yes! Which is why interact.sagemath originally was pretty nice. And why sagecell.sagemath is awesome. > posting to a separate interact.sagemath.org website (and actively > maintaining it against spam) is rather high compared to just hitting a > button to publish a worksheet. > True. But there is then the barrier of having to use the cloud - which, no offense, is still ridiculously long to log in and use things on even in high bandwidth situations. It's fine for actually getting work done once you are in, but not for quick and low-barrier sharing of ideas. After all, many people are probably creating things in their *local* Sage installations and then would want to share without having to make a special public cloud thing. Along those lines, as far as I know there are some scripts to sanitize all sagenb.org published worksheets. Please someone with the know-how find a way to put as many of these, even in text-only mode, somewhere - it was SUCH a valuable resource, and I really do feel that people looking for Sage examples and help (both in research and in teaching) have been stymied by the lack of this searchable resource. You all know I would do it in a minute if I had the background but admin stuff is not something I have any experience with. But this is a special case for you all because it only has to be done once, and then is basically just a bunch of HTML files to keep served, just disable/strip out js etc. (Perhaps they could be scripted into a special cloud project that is all public, bringing more interested visitors there... just sayin'.) - kcrisman -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
Re: [sage-support] How to handle file in Sage
> > > differently) > > Thanks - I meant %runfile not %execfile. I find it hard to remember, > which is yet another reason I am against removal of the more memorable > %load that we had for years. > > > > > Agreed, but this was semi-unavoidable because of the Ipython upgrade a while back, though, right? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
Re: [sage-support] How to handle file in Sage
On Tue, Oct 21, 2014 at 5:19 PM, kcrisman wrote: >> > differently) >> >> Thanks - I meant %runfile not %execfile. I find it hard to remember, >> which is yet another reason I am against removal of the more memorable %load >> that we had for years. >> >> > >> > > Agreed, but this was semi-unavoidable because of the Ipython upgrade a while > back, though, right? It was definitely not unavoidable. -- William > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-support+unsubscr...@googlegroups.com. > To post to this group, send email to sage-support@googlegroups.com. > Visit this group at http://groups.google.com/group/sage-support. > For more options, visit https://groups.google.com/d/optout. -- William Stein Professor of Mathematics University of Washington http://wstein.org -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: matrix log?
On 2014-10-21, Rafael wrote: > Does sage have built-in the analog of MatrixLog in Mathematica? > > I noticed that one can use logm in scipy: > > from scipy import linalg > matrix(linalg.logm(mat)) Well, in Maxima there is mat_function, e.g.: load ("diag"); mat_function (log, mymatrix); For large, numerical matrices, I'm sure linalg.logm is much faster. But for small or nonnumerical matrices, maybe Maxima is useful. Hope this helps, Robert Dodier -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
Re: [sage-support] Re: interact.sagemath.org down?
On Tue, Oct 21, 2014 at 6:06 PM, William Stein wrote: > On Tue, Oct 21, 2014 at 5:18 PM, kcrisman wrote: >>> posting to a separate interact.sagemath.org website (and actively >>> maintaining it against spam) is rather high compared to just hitting a >>> button to publish a worksheet. >> >> >> True. But there is then the barrier of having to use the cloud - which, no >> offense, is still ridiculously long to log in and use things on even in high >> bandwidth situations. It's fine for actually getting work done once you are >> in, but not for quick and low-barrier sharing of ideas. > > There's no a priori reason for SMC to load much more slowly than the > Sage cell server or sagenb -- they are loading mostly the same > Javascript libraries: mathjax, codemirror, jquery, etc. OK, SMC makes > more use of codemirror, and also has term.js. But there isn't much > difference. > > Coincidentally, I was literally just optimizing the loadtime of SMC > while also upgrading to the latest Codemirror V 4.7, e.g., by > minifying all of codemirror and its modes into one file, enabling > better nginx compression, etc.For me from my *home internet* it > now typically takes about 4 seconds to load the full page, login, and > get my list (of hundreds) of projects. And this is with no caching. > With caching enabled it's under 3 seconds. > > With caching disabled loading this published worksheet (in private > mode, so no login happens) takes under 3 seconds. > > I've attached two screenshots proving this (showing the load times, > number of requests, total data transferred, etc.). Another issue that I recently fixed was that many of the webserver VM's were being swapped out by Linux when they weren't being actively used, so people visiting the site might randomly hit a slow VM, which would take minute or two to become fast. Over the weekend I eliminated all use of swap by everything in the SMC stack, which has removed this problem. William -- William Stein Professor of Mathematics University of Washington http://wstein.org -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
Re: [sage-support] Re: interact.sagemath.org down?
> > > I've attached two screenshots proving this (showing the load times, > number of requests, total data transferred, etc.). > > I'm not disputing your own results. I'm just saying that it isn't always my experience, and it depends a lot on one's bandwidth situation. Even just now while logging in was usably fast (first time ever! but likely due to your upgrades) it took about 10 seconds for an actual project to load each time. And then one has to open a worksheet, or whatever. That is good for lots and lots of use cases, but maybe not for *all* use cases. And I have spent a lot of time the past three months teaching Sage in situations where the bandwidth to Seattle I have at home right now would have been really nice to have, quite so. That's all I'm trying to say about this. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
Re: [sage-support] Re: interact.sagemath.org down?
On Oct 21, 2014 6:20 PM, "kcrisman" wrote: >> >> >> I've attached two screenshots proving this (showing the load times, >> number of requests, total data transferred, etc.). >> > > I'm not disputing your own results. I'm just saying that it isn't always my experience, and it depends a lot on one's bandwidth situation. Even just now while logging in was usably fast (first time ever! but likely due to your upgrades) it took about 10 seconds for an actual project to load each time. I've done nothing to speed up project loading which isn't what we're talking about. We're talking about published interacts. I'm only optimizing right now for loading a public path... Project load time will improve later. Anyway enormous amounts of hard work remains > And then one has to open a worksheet, or whatever. That is good for lots and lots of use cases, but maybe not for *all* use cases. And I have spent a lot of time the past three months teaching Sage in situations where the bandwidth to Seattle I have at home right now would have been really nice to have, quite so. That's all I'm trying to say about this. > > -- > You received this message because you are subscribed to the Google Groups "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. > To post to this group, send email to sage-support@googlegroups.com. > Visit this group at http://groups.google.com/group/sage-support. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.