Is there any plans to make Sage more useful to beginners? To give two
examples from different levels:
1*(2+
This gives "SyntaxError: invalid syntax" and explanation is "... exec
compile(u'open("___code___.py","w").write("# -*- coding: utf-8 ..." ---
what is beginner supposed to do with this?
Well those paths look suspicious (probably because you changed them). The
paths should be `sage --root` + "/local/share/emacs" and `sage --root` +
"/sage" respectively. Really, all I can say is copy what appears in the output
of
sage -f https://bitbucket.org/gvol/sage-mode/downloads/sage_mod
Hi!
On 2013-06-04, Sam math wrote:
> How do I do this for a multivariate polynomial? It says O(.) is not defined...
>
> R. = PolynomialRing(QQ)
>
> f = x^3*y^3 + x^2 * y^4 + x*y + x + y + 1
>
> How can I chop this polynomial up to a certain degree of x and y? I.e. I want
> to keep up until the s
I have a multivariate polynomial and want to keep only up to a certain degree.
I already know how to do this for the univariate case.
For 1 variable, I'd do:
R. = PolynomialRing(QQ)
f = x^4 + x^2 + x^3 + x + 1
f = f + O(x^3)
print f
#output would be 1 + x + x^2... which is what I want.
How
--
(add-to-list 'load-path "/Applications/sage/to/sage/local/share/emacs")
(require 'sage "sage")
(setq sage-command "/Applications/sage/to/sage/sage")
--
The above is my .emacs file. I changed the path several times but none of
them works.
On Sunday, June 2, 2013 9:54:27 PM UTC-7, Ivan
sage.env will use gethostname() if there is no HOSTNAME set. Which is the
case here.
IMHO we should just print a warning that the hostname is illegal if its a
rare problem on OSX, and hopefully fixed in newer versions. Its not only
Sage that is broken by it, for example if you search the intern
Volker Braun wrote:
I'm against dicking around with HOSTNAME just in case it might be
invalid. This just leads to a maintenance nightmare where every script
that uses HOSTNAME needs to perform the same sanitation.
Well, depends on where it breaks (and why).
We have Python scripts that (should)
I'm against dicking around with HOSTNAME just in case it might be invalid.
This just leads to a maintenance nightmare where every script that uses
HOSTNAME needs to perform the same sanitation. For starters, you just broke
the sage cleaner again.
--
You received this message because you are
Volker Braun wrote:
On Monday, June 3, 2013 8:47:17 AM UTC+1, leif wrote:
Worth a ticket?
Not sure; Apparently OSX does escape illegal characters usually, though
clearly some people get bitten by this. Might be dependent on whether
the name was entered during installation / upgraded from p
On Monday, June 3, 2013 8:47:17 AM UTC+1, leif wrote:
> Worth a ticket?
>
Not sure; Apparently OSX does escape illegal characters usually, though
clearly some people get bitten by this. Might be dependent on whether the
name was entered during installation / upgraded from previous versions.
Volker Braun wrote:
socket.gethostname() returns illegal hostname, thats great. Apple, what
the heck!
ROFL.
I first thought the apostrophe may come from the path of the Sage
installation.
Worth a ticket?
-leif
--
() The ASCII Ribbon Campaign
/\ Help Cure HTML E-Mail
--
You received th
11 matches
Mail list logo