[sage-support] False versus Unknown
On social media: sage: False or Unknown Unknown sage: Unknown or False False sage: False and Unknown False sage: Unknown and False Unknown It does seems somewhat inconsistent... -- 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] %runfile DeprecationWarning
On 2015-11-23 15:08, steven roumajon wrote: Running %runfile with quotes around the filename launches a DeprecationWarning. Yes, because it's deprecated. You're supposed to type %runfile filename/without/quotes -- 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: Behavior modulo float
On Tuesday, November 24, 2015 at 7:39:53 AM UTC-8, steven roumajon wrote: > > Hi, > > For obscure reasons, I tried modulo with floats with sage. > I had an unexpected result. > > In sage: > sage: 0.257%0.5 > -0.243 > > Tried under python: > >>> 0.257%0.5 > 0.257 > The sage behaviour follows mpfr_remainder (which it uses); see http://www.mpfr.org/mpfr-current/mpfr.html#Integer-Related-Functions . It looks like the Python floats (which don't use mpfr) use something corresponding to mpfr_fmod. The behaviour is properly documented (although perhaps relatively difficult to find). Try sage: a=1.0 sage: a.__mod__? -- 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: Behavior modulo float
> The sage behaviour follows mpfr_remainder (which it uses); Is it wise to *not* follow python for something like that? Nathann -- 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 hide output when opening a sagemath worksheet
On Tue, 17 Nov 2015, Gabriel Cardona wrote: I am sorry but cannot find that setting... where is the Action menu? Sorry, on SageNB. I.e. not in cloud version(?) of Sage GUI, I guess. -- Jori Mäntysalo
[sage-support] Re: Can I run sagemathcloud on my own institutional cloud / cloud host?
On Tuesday, November 24, 2015 at 12:12:13 PM UTC+1, Tony Hirst wrote: > > ... and I was wondering how labour/knowledge/developer intensive it is > likely to be setting up and running SageMathCloud on an institutional > cloud, or via commercial cloud hosting (Google Cloud, or AWS), assuming > that such a thing is possible using https://github.com/sagemathinc/smc ? > All the code necessary to run SMC is in github. Said that, from my experience, it is extremely complex given you have to manage several machines at once, takes you a lot of time to learn how the system behaves (e.g. you need to setup your own instrumentation system, otherwise you are working in the blind, to accommodate for the usage patterns) and you also need to learn some internals of the system in order to keep up with the development updates. Also, it depends a bit on the general service level you want to provide. From my experience, institutional cloud systems lack some of the key features of GCE or AWS. This makes it even harder to quickly recover from issues, for example because you do not have disk snapshots for easy rollback, etc. So, assuming you have extensive knowledge in maintaining a Linux system, some Python/node.js/database knowledge and general site ops experience, it might amount to 20h/week. -- harald -- 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] Fwd: [sage-release] Bug in limit?
On Tuesday, 24 November 2015 11:12:13 UTC, Sergey Kirpichev wrote: > > On Monday, November 23, 2015 at 10:38:39 PM UTC+3, Ondrej Certik wrote: >> >> Note that William's result has one more zero in the answer... Which >> one is correct? >> > > Maxima's, of course. btw, sympy's answer is same: > In [3]: limit(S(2)/5*((S(3)/4)**m - 1)*(a0 - 100) + > S(1)/5*(3*(S(3)/4)**m + 2)*a0, m, oo) > Out[3]: 40 > > I suspect just a typo in the William's reply. > yes, it was a typo - as confirmed by William: https://groups.google.com/d/msg/sage-support/rAkql0-A6cM/u4QxjVsXCAAJ It seems that for some reason you haven't got the latest messages on this, or they were not cross-posted as widely as some others. -- 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] Can I run sagemathcloud on my own institutional cloud / cloud host?
Hi I'm exploring various options for making Jupyter notebooks available to distance education students on a new university course, as well as exploring their use for a data analysis MOOC, and I was wondering how labour/knowledge/developer intensive it is likely to be setting up and running SageMathCloud on an institutional cloud, or via commercial cloud hosting (Google Cloud, or AWS), assuming that such a thing is possible using https://github.com/sagemathinc/smc ? Is there any documentation / guidance anywhere on how to go about this, or docs that give me enough of a clue so that I can learn enough to be able to start to pitch it to my faculty IT folk?! tony -- 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 hide output when opening a sagemath worksheet
I am sorry but cannot find that setting... where is the Action menu? On Tuesday, November 17, 2015 at 4:13:35 PM UTC+1, jori.ma...@uta.fi wrote: > > On Tue, 17 Nov 2015, Gabriel Cardona wrote: > > > I evaluate it and hide the output, but when I open the worksheet again > the > > '2' is not hidden (I want my students to open the worksheet and evaluate > the > > expression themselves). > > Can you just use Action / Delete All Output? > > -- > Jori Mäntysalo > -- 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] Fwd: [sage-release] Bug in limit?
On Monday, November 23, 2015 at 10:38:39 PM UTC+3, Ondrej Certik wrote: > > Note that William's result has one more zero in the answer... Which > one is correct? > Maxima's, of course. btw, sympy's answer is same: In [3]: limit(S(2)/5*((S(3)/4)**m - 1)*(a0 - 100) + S(1)/5*(3*(S(3)/4)**m + 2)*a0, m, oo) Out[3]: 40 I suspect just a typo in the William's reply. -- 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] Fwd: [sage-release] Bug in limit?
On Monday, November 23, 2015 at 3:43:02 AM UTC+3, William wrote: > > This definitely looks like a bug. In the meantime, a workaround is to > use sympy: > This is not a maxima bug: Maxima 5.34.1 http://maxima.sourceforge.net using Lisp GNU Common Lisp (GCL) GCL 2.6.12 (a.k.a. GCL) Distributed under the GNU Public License. See the file COPYING. Dedicated to the memory of William Schelter. The function bug_report() provides bug reporting information. (%i1) limit(2/5*((3/4)^m - 1)*(a0 - 100) + 1/5*(3*(3/4)^m + 2)*a0, m, inf); (%o1) 40 or git version: Maxima branch_5_37_base_186_gfa7cd4a http://maxima.sourceforge.net using Lisp CLISP 2.49 (2010-07-07) Distributed under the GNU Public License. See the file COPYING. Dedicated to the memory of William Schelter. The function bug_report() provides bug reporting information. (%i1) limit(2/5*((3/4)^m - 1)*(a0 - 100) + 1/5*(3*(3/4)^m + 2)*a0, m, inf); (%o1) 40 In fact, limit algorithm implementation in sympy is known to be broken. (Hopefuly, this is fixed there: https://github.com/skirpichev/omg/, but this is not sympy.) At some point, presumably sympy will be uniformly better than maxima? > I think that as ex-dev of sympy I have good reasons to believe that it's not the case.. Maxima community has less 1st year college students but much more knowlegeable people. -- 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] https://sage.mat.uam.es/upload_worksheet
Help me please! I cannot upload this worksheet. -- 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] %runfile DeprecationWarning
I think I have found unnatural behavior with the %runfile sage: %runfile "./main.sage" /usr/local/sage/src/bin/sage-ipython:1: DeprecationWarning: using unevaluated expressions as argument to load() is dangerous and deprecated See http://trac.sagemath.org/17654 for details. #!/usr/bin/env python sage: %runfile ./main.sage sage: Running %runfile with quotes around the filename launches a DeprecationWarning. -- 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] Fwd: [sage-release] Bug in limit?
On Tuesday, 24 November 2015 11:12:13 UTC, Sergey Kirpichev wrote: > > > On Monday, November 23, 2015 at 3:43:02 AM UTC+3, William wrote: >> >> This definitely looks like a bug. In the meantime, a workaround is to >> use sympy: >> > > > This is not a maxima bug: > > Maxima 5.34.1 http://maxima.sourceforge.net > using Lisp GNU Common Lisp (GCL) GCL 2.6.12 (a.k.a. GCL) > Distributed under the GNU Public License. See the file COPYING. > Dedicated to the memory of William Schelter. > The function bug_report() provides bug reporting information. > (%i1) limit(2/5*((3/4)^m - 1)*(a0 - 100) + 1/5*(3*(3/4)^m + 2)*a0, m, > inf); > (%o1) 40 > If you first set domain to complex (and this is the setting Sage uses to call maxima), you get the same error as from Sage. See https://groups.google.com/d/msg/sage-support/rAkql0-A6cM/8zPsNUsYCAAJ > > or git version: > Maxima branch_5_37_base_186_gfa7cd4a http://maxima.sourceforge.net > using Lisp CLISP 2.49 (2010-07-07) > Distributed under the GNU Public License. See the file COPYING. > Dedicated to the memory of William Schelter. > The function bug_report() provides bug reporting information. > (%i1) limit(2/5*((3/4)^m - 1)*(a0 - 100) + 1/5*(3*(3/4)^m + 2)*a0, m, > inf); > (%o1) 40 > > In fact, limit algorithm implementation in sympy is known to be > broken. (Hopefuly, this is fixed there: > https://github.com/skirpichev/omg/, but this is not sympy.) > > At some point, presumably sympy will be uniformly better than maxima? >> > > I think that as ex-dev of sympy I have good reasons to believe that > it's not the case.. Maxima community has less 1st year college students > but > much more knowlegeable people. > -- 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] Fwd: [sage-release] Bug in limit?
On Tue, Nov 24, 2015 at 04:12:52AM -0800, Dima Pasechnik wrote: >If you first set domain to complex (and this is the setting Sage uses to >call maxima), you get the same error as from Sage. I have seen this post. My messages arrive too late due to moderation, so they a little dated. Sorry for that. -- 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] Behavior modulo float
Hi, For obscure reasons, I tried modulo with floats with sage. I had an unexpected result. In sage: sage: 0.257%0.5 -0.243 Tried under python: >>> 0.257%0.5 0.257 -- 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.