ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 01 Dec 2017 12:49:07 +0100Linear Algebra tutorial with sage commandhttps://ask.sagemath.org/question/32295/linear-algebra-tutorial-with-sage-command/ Does anybody know a good tutorial for Linear Algebra with sage commands. I am looking for "only" Linear Algebra maybe numerical Linear Algebra with sage. Right know I am working with matlab. But i dont like it. Is there also a way to send sage code to sage math clound via terminal.
I am using sublime text editor and there is https://github.com/wuub/SublimeREPL
It run the code right inside it. Maybe sagemath ("without" the cloud) :)thethaWed, 20 Jan 2016 10:46:44 +0100https://ask.sagemath.org/question/32295/Why Sage cloud worksheets freezes or stop working (after some ten minutes) if you don't click on it?https://ask.sagemath.org/question/39873/why-sage-cloud-worksheets-freezes-or-stop-working-after-some-ten-minutes-if-you-dont-click-on-it/ Is it possible to avoid it, or at least to increase the available time?logomathFri, 01 Dec 2017 12:49:07 +0100https://ask.sagemath.org/question/39873/Is it possible to download Sage on my PC to work privately (not on the cloud)?https://ask.sagemath.org/question/39872/is-it-possible-to-download-sage-on-my-pc-to-work-privately-not-on-the-cloud/If yes, does that uses a lot of CPU resources? And how can I easily download my Sage Projects (in full) and worksheets, which are on my cloud-Sagemath?logomathFri, 01 Dec 2017 12:38:04 +0100https://ask.sagemath.org/question/39872/Is it possible to verify if cloud sagemath is using any CPU resources, burning resources on my PC?https://ask.sagemath.org/question/39871/is-it-possible-to-verify-if-cloud-sagemath-is-using-any-cpu-resources-burning-resources-on-my-pc/ Or it always runs only on the cloud servers?
logomathFri, 01 Dec 2017 12:29:49 +0100https://ask.sagemath.org/question/39871/Write sage code to find the Bezout coefficients of two polynomials b(x), c(x)https://ask.sagemath.org/question/38438/write-sage-code-to-find-the-bezout-coefficients-of-two-polynomials-bx-cx/ Write sage code to find the B´ezout coefficients of two polynomials b(x), c(x) not givenshaunarSat, 29 Jul 2017 17:28:29 +0200https://ask.sagemath.org/question/38438/How to convert worksheet to pdf file?https://ask.sagemath.org/question/36023/how-to-convert-worksheet-to-pdf-file/ I'm trying to convert a worksheet to pdf file. I printed the worksheet in a specified file as a pdf file,but the place of headers changed a little,and some addresses added to to the top of the pages, how can I fix this?
Thank you in advance.M95Thu, 15 Dec 2016 10:32:01 +0100https://ask.sagemath.org/question/36023/Logging failing after a whilehttps://ask.sagemath.org/question/33727/logging-failing-after-a-while/ Hi,
I have a program that if I run multiple times inside the cloud sage worksheet, after a while (3-4 runs) gets a strange KeyboardInterrupt error.
Do you know what it is
Here is the code to reproduce the problem:
import logging
import logging.config
import logging.handlers
import sys
# Set logging facilities
#
logger = logging.getLogger()
logger.setLevel(logging.DEBUG)
loggingStreamHandler = logging.StreamHandler(sys.stdout)
loggingStreamHandler.setFormatter(logging.Formatter('%(asctime)s - %(levelname)s --- %(message)s'))
logger.addHandler(loggingStreamHandler)
for i in range(100):
logger.info ("Ciaooooooo: %s", 1000)
logger.info ("End: %s", 1000)
----------
2016-06-09 14:06:18,765 - INFO --- Ciaooooooo: 1000
2016-06-09 14:06:18,766 - INFO --- Ciaooooooo: 1000
2016-06-09 14:06:18,767 - INFO --- Ciaooooooo: 1000
2016-06-09 14:06:18,767 - INFO --- Ciaooooooo: 1000
2016-06-09 14:06:18,768 - INFO --- Ciaooooooo: 1000
Error in lines 12-13
Traceback (most recent call last):
File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 905, in execute
exec compile(block+'\n', '', 'single') in namespace, locals
File "", line 2, in <module>
File "/projects/sage/sage-6.10/local/lib/python/logging/__init__.py", line 1165, in info
self._log(INFO, msg, args, **kwargs)
File "/projects/sage/sage-6.10/local/lib/python/logging/__init__.py", line 1284, in _log
self.handle(record)
File "/projects/sage/sage-6.10/local/lib/python/logging/__init__.py", line 1294, in handle
self.callHandlers(record)
File "/projects/sage/sage-6.10/local/lib/python/logging/__init__.py", line 1334, in callHandlers
hdlr.handle(record)
File "/projects/sage/sage-6.10/local/lib/python/logging/__init__.py", line 757, in handle
self.emit(record)
File "/projects/sage/sage-6.10/local/lib/python/logging/__init__.py", line 883, in emit
self.flush()
File "/projects/sage/sage-6.10/local/lib/python/logging/__init__.py", line 843, in flush
self.stream.flush()
File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 369, in flush
self._f(self._buf, done=done)
File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1016, in stdout
self._send_output(stdout=stdout, done=done, id=self._id, once=once)
File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 529, in _send_output
raise KeyboardInterrupt
KeyboardInterrupt
stefanuttiThu, 09 Jun 2016 16:09:02 +0200https://ask.sagemath.org/question/33727/error when perform symbolic calculation in Octave of Sagehttps://ask.sagemath.org/question/32507/error-when-perform-symbolic-calculation-in-octave-of-sage/ I have tried the Octave (matlab-like) kernel in Sagemathcloud, but when I intended to perform the symbolic calculation in Octave, something strange happened, and I can't solve it.
My code is as follows:
pkg load symbolic
syms x
f = sin(x)^2;
diff(f)
when I execute it, error happened, it said
> 'ascii' codec can't encode character u'\u22c5' in position 13: ordinal not in range(128)
How can I solve this problem?wangyanTue, 09 Feb 2016 11:44:25 +0100https://ask.sagemath.org/question/32507/collaboratehttps://ask.sagemath.org/question/32063/collaborate/ Today, I introduced my 30 calculus students to sagemath cloud. They each created an account and then project. I asked them all to list me as a collaborator. For most, this was no problem, but for 3-5 of them, what happened was:
they typed in my name. The computer "found me" and my name appeared in the space below. But when they clicked on it (i.e. to select me from the list of one that had appeared) my name disappeared from their screen. They could start over but the exact same thing happened several times in a row.
So far, my only answer to my students is to try again later. What else can could I try?
I'm asking "anonymously", because, the recover username function isn't sending me email like it should.
David Gove (no longer anonymous)dgoveTue, 05 Jan 2016 01:34:11 +0100https://ask.sagemath.org/question/32063/Embed 3rd party javascript library in worksheethttps://ask.sagemath.org/question/26949/embed-3rd-party-javascript-library-in-worksheet/ Hi
How might I embed a 3rd party javascript library in a Sage worksheet? I've tried something along the lines of:
%html
<script src="./path/to/local/javascript_file.js"></script>
...
where "./path/to/local/javascript_file.js" is a path in my project folder. However, this doesn't appear to work.
Any suggestions?
Thanks in advance,
BlairbsdzWed, 27 May 2015 15:37:24 +0200https://ask.sagemath.org/question/26949/Annoying folding behaviorhttps://ask.sagemath.org/question/30616/annoying-folding-behavior/ SageMath cloud folds my cell content sometimes. That is, it hides the code after generating the content. Sometimes, I can unfold by double-clicking, but not always. Am I missing something?
Also, whenever I evaulate a cell in the cloud, my cursor moves to the bottom of all cells. Is there a way to prevent this?TumericTJTue, 10 Nov 2015 20:38:48 +0100https://ask.sagemath.org/question/30616/Comments with SageMath Cloudhttps://ask.sagemath.org/question/30615/comments-with-sagemath-cloud/ How to comment/uncomment a block of text with SageMath cloud? Apparently, this can be done with the notebook...for now I am just using an external editor.TumericTJTue, 10 Nov 2015 20:36:20 +0100https://ask.sagemath.org/question/30615/Code stopped compiling out of nowhere for no apparent reasonhttps://ask.sagemath.org/question/30649/code-stopped-compiling-out-of-nowhere-for-no-apparent-reason/ Sage has all of a sudden stopped compiling my code. It happened seemingly out of nowhere and im getting very worried because i spent ALOT of time writing an algorithm. Basically nothing happens when i run the code the long grey line comes up with a green bar flashing and the normal output rectangle but it jsut stays in that state permanently. Nothing seems to fix the problem, i've tried going back in the history, copying and pasting to a new folder and worksheet changing the code, trying to get literally anything to compile but to no avail. Im literally dumbfounded at the moment.
EDIT: The green loading bar actually seems to be appearing at the top of the code when i try to compile. Also, I dont know if length is ever an issue with Sage Math worksheets but my code is 235 lines if that helps at all.
EDIT 2: I am using SageMathCloud via. the link on sagemath.org, my web browser is google chrome, the code is written in a SageMath Worksheet, just in case my OS is Windows 10, here is a link to the code itself [Problematic Code](http://pastebin.com/8A02NJau).lolWhoCaresThu, 12 Nov 2015 01:50:03 +0100https://ask.sagemath.org/question/30649/How to push from the cloud to github?https://ask.sagemath.org/question/30434/how-to-push-from-the-cloud-to-github/I opened a new project in the SageMath cloud, and imported a GitHub project using the "Download from web" button.
I made some changes in the files on the cloud.
In the "Terminal command..." window in the top-right, I did "git add -A", then "git commit -m ''", then "git push".
The last command generated the following error:
fatal: could not read Username for 'https://github.com': No such device or address
I found some solutions to this error, but I don't know which, if any, are appropriate to the SageMath cloud.
Is it possible to push changes made on the cloud back to GitHub?Erel Segal-HaleviTue, 03 Nov 2015 21:42:30 +0100https://ask.sagemath.org/question/30434/Installing GAP package: Permission deniedhttps://ask.sagemath.org/question/27152/installing-gap-package-permission-denied/I am trying to install a GAP package into a cloud.sagemath.com project. I have been following this tutorial
http://wiki.sagemath.org/InstallingGapPackages
When I try to wget the file (into the $SAGE_ROOT/local/gap/latest/pkg) directory, I get a permission denied error. I tried to place the tar.gz file in my home directory and unzip it from there, but I get the same mistake when unzipping. I can't use sudo because I don't know the password. Any help?gigaSlayer13189Thu, 18 Jun 2015 21:32:16 +0200https://ask.sagemath.org/question/27152/Project files not loadinghttps://ask.sagemath.org/question/26723/project-files-not-loading/ Hi,
I'm stuck on the project file screen with a loading symbol, I've tried loading on multiple computers but it's still not working. Any idea why?
ThanksJamieTue, 05 May 2015 17:03:13 +0200https://ask.sagemath.org/question/26723/"Too many output messages"https://ask.sagemath.org/question/24566/too-many-output-messages/ Hi,
I am running a program on Sage worksheet, on cloud interface.
It has too many outputs but ı need to see them.
However, Sage says
"Too many output messages (at most 256 per cell): attempting to terminate..."
What does this mean? Can't I see all of them? Or write them in an outer file or sth?algebraicallyclosedWed, 22 Oct 2014 13:43:07 +0200https://ask.sagemath.org/question/24566/IPython/Jupyter extensionshttps://ask.sagemath.org/question/26586/ipythonjupyter-extensions/I would like to be able to print code objects in a markdown cell without having to completely regenerate them in markdown code or copy/paste values. Would it be possible to install the [IPython notebook extensions](https://github.com/ipython-contrib/IPython-notebook-extensions) on the Sage Math Cloud?
I've made a public notebook [here](https://cloud.sagemath.com/projects/b8cc072a-0bd7-46df-bed6-4d857c87721b/files/Pretty%20printing.html) so that anyone can see exactly what my problem is. It's a fairly thorough description, but it boils down to wanting to print values with pretty units. I would be willing to allow others to edit the notebook to fiddle around with fixing it.wlp2Sat, 18 Apr 2015 08:29:48 +0200https://ask.sagemath.org/question/26586/Know if Sagemath is still workinghttps://ask.sagemath.org/question/26432/know-if-sagemath-is-still-working/Sometimes I have to do some works in Sagemath that takes some time, like 3 or 4 minutes, but after a time, I don't know if Sagemath let the work or is still working. Someone knows a way to know if Sagemath is working after certain time that doesn't use measuring time? MonsieurGaloisThu, 02 Apr 2015 23:30:53 +0200https://ask.sagemath.org/question/26432/CloudSage. Few projects in the same time.https://ask.sagemath.org/question/26285/cloudsage-few-projects-in-the-same-time/ If i will put longtime computations (8 hours each) on in different projects they will be doing at the same time or one after another?
And if they are doing at the same time how many of them are allowed to do? And how much RAM is admeasured for each project (approximately) if i am doing mostly multiplication of matrices, and finding their rank?FeckousMon, 23 Mar 2015 17:05:20 +0100https://ask.sagemath.org/question/26285/What does the "Math processing error" red button meanshttps://ask.sagemath.org/question/26253/what-does-the-math-processing-error-red-button-means/ I noticed that while I was running some code in a wroksheet in sagemathcloud, a button with red letters saying: "Math processing error" appeared in the toolbar.
when I hover over it, a tooltip appears saying "define symbolic variable".
If I press the button, the following is inserted in the current cell:
%var x, theta
what does this mean? I didn't get any error messages in my codefccoelhoThu, 19 Mar 2015 14:09:42 +0100https://ask.sagemath.org/question/26253/(cloud) What settings must I change to enable curl or wget?https://ask.sagemath.org/question/26128/cloud-what-settings-must-i-change-to-enable-curl-or-wget/ In Sagemath cloud I get an error 111 when I try to pull data from external urls. Is that because this is not allowed, or because I need to change a default setting, and if it's a setting -- what please?tttTue, 10 Mar 2015 04:28:36 +0100https://ask.sagemath.org/question/26128/Can't source data from web using R scripts?https://ask.sagemath.org/question/25702/cant-source-data-from-web-using-r-scripts/Hi,
I'm attempting to source dynamic data from the web (through R within sage cloud terminal, package httr). But every attempt, for any website returns in a "Failed to connect to *url* port 80: Connection refused", where URL could be really any web resource, e.g. an xml file accessible on the web
Is my session behind a firewall? Can I amend those settings then?SarangWed, 04 Feb 2015 12:31:37 +0100https://ask.sagemath.org/question/25702/why cloud.sage so many Undefined control sequences?https://ask.sagemath.org/question/24620/why-cloudsage-so-many-undefined-control-sequences/ old sagenb can do show(Qp(5)),show(QQbar()) and ,it is very beautil,but cloud.sage cannot
https://cloud.sagemath.com/projects/faaa84be-e0d1-451f-9517-cf6d911a9bde/files/2014-10-24-145338.sagewscjshFri, 24 Oct 2014 13:08:40 +0200https://ask.sagemath.org/question/24620/sage.cloud when plot a graph,mouse right button cannot copy ithttps://ask.sagemath.org/question/24592/sagecloud-when-plot-a-graphmouse-right-button-cannot-copy-it/ sage.cloud,when plot a graph,
mouse right button cannot copy,cannot save,mouse right ,cannot see the graph web location.
right button almost no use,only can link to printercjshThu, 23 Oct 2014 11:49:27 +0200https://ask.sagemath.org/question/24592/can i make a worksheet public on sagemathcloud?https://ask.sagemath.org/question/23433/can-i-make-a-worksheet-public-on-sagemathcloud/It would be great to be able to make a worksheet or a whole project world-viewable on SageMathCloud. Is this currently possible?
(Here is the precise use case I'm looking at: I am making public some Sage code that I used extensively for a paper, but I would like to go further and create a "demo" worksheet that contains that code together with some simple examples of usage. I'd love to be able to just link to the worksheet from github, so that whoever is interested can immediately try it out.)AlexGhitzaWed, 16 Jul 2014 14:10:26 +0200https://ask.sagemath.org/question/23433/Is it possible to access my old account?https://ask.sagemath.org/question/23810/is-it-possible-to-access-my-old-account/ Hi. I am new to cloud sage. I was using Sage off and on up until a year ago, and had some lengthy project files. But, I seem to have lost access to that old account. Is there anyway to recover the projects?funkyflanSun, 17 Aug 2014 04:05:01 +0200https://ask.sagemath.org/question/23810/Problems with Var in Cloud.Sagemathhttps://ask.sagemath.org/question/23640/problems-with-var-in-cloudsagemath/Hi,
got a problem defining variables in cloud.sagemath:
http://www.directupload.net/file/d/3699/bs9eya98_png.htm
I just copied the code from
http://www.sagemath.org/doc/reference/calculus/sage/calculus/calculus.html
(the very first line)
but I also tried it myself with different letters and '`´". None worked.
ToreroWed, 30 Jul 2014 18:23:23 +0200https://ask.sagemath.org/question/23640/Video for Sage Cell ---> Sage Cloud conversion?https://ask.sagemath.org/question/23519/video-for-sage-cell-sage-cloud-conversion/I was wondering if anyone has made a video to help students transition from using the Sage Cell Server (for simple tasks) to the Sage Cloud system?
I'm thinking of something very short, to give flavor and "the basics." Perhaps something 5-10 minutes long suitable for 200-level math, physics and engineering majors.Gregory BardMon, 21 Jul 2014 19:26:25 +0200https://ask.sagemath.org/question/23519/Accessing cloud via sshhttps://ask.sagemath.org/question/10624/accessing-cloud-via-ssh/Hi,
is it possible to log in to the home folder of a cloud-project via ssh?
I found [this](https://github.com/sagemath/cloud/wiki/FAQ#-question-i-created-an-ssh-key-in-my-project-how-do-i-easily-copy-it) in the FAQ of cloud.sagemath but it didn't help me very much :(
What I really would like to do is to sync a folder with some sage scripts on my PC with the cloud so I'm looking for something like:
rsync --delete -avze ssh ~/Sync/ user@cloud.sagemath.com:~/Sync/
So if ssh login is not possible also other possibilities to sync folders are welcome.
twchFri, 18 Oct 2013 09:38:48 +0200https://ask.sagemath.org/question/10624/