## Welcome back to SageMathCloud™!

Not working? Email us at help@sagemath.com immediately!

### SageMathCloud™ collaborative computational mathematics

#### SageMath, IPython, LaTeX, and terminals in your browser

With support by the National Science Foundation (awards 1161226, 1147802, 1020378 1015114) and Google.
There was an error loading your account settings from the database (try again). The information below may be out of date.
Account
First name
Last name

Email
Terminal (settings applied to newly opened terminals after saving)
Font size (px)
Font family
Color scheme
Editor (settings applied to newly opened files after saving)
Default compute system
Autosave seconds
Font size (px)
Indent spaces
Font family
Theme (previews)
Bindings

#### Hints

• Multiple cursors: control+click in several places to create multiple cursors (command+click on Mac)
Keyboard
Next file tab
⌃]
control+]
Previous file tab
⌃[
control+[
Smaller text
⌃<
control+<
Bigger text
⌃>
control+>
Go to line
⌃L or ⌘l
control+L or command+L
Fold/unfold selected code
⌃Q
control+Q
Shift selected text right
tab
Shift selected text left
⇧⇥
shift+tab
Split view in any editor
⌃I or ⌘I
control+I or command+I
Autoindent selection
⌃'
control+'
Simple autocomplete (any language)
⌃␣
control+space
Sage worksheet autocomplete
tab
Split cell in Sage worksheet
⌃; or ⌘;
control+; or command+;
Sage Worksheet evaluate key

Other
Sort files by default by

Secret Account Creation Token: users must know this to create an account
Github

Dropbox

### Usage

• people are connected right now actively modifying projects. Users modified projects in the last day and projects in the last week.
• accounts and projects.
• SMC is running on 19 computers at University of Washington and 25 virtual machines at Google Compute Engine.
• Being used by about 50 courses right now...
• More usage data...

### Create an account

#### Technical Notes

• If you want to associate multiple accounts to the same email address, e.g., to sagemath@gmail.com, instead use sagemath+1@gmail.com, sagemath+2@gmail.com, etc. These accounts will be treated differently, but all email notifications, password resets, etc., will go to sagemath@gmail.com. There's no reason you should need to do this.
• You may create as many accounts as you want for free, but there is no reason you should need to.
• The only requirement on your password is that it not be "Very weak" according to the password strength checker. However, please use a strong password, especially when you start using the SageMathCloud frequently.
• Only the hash of your password is stored by the server, which uses 1000 iterations of the sha-512 hash function, with a salt length of 32. This makes it much more difficult for a hacker to brute-force your password, even if they have the database of password hashes, since every guess takes much more work to make.

#### Technical Notes

• Changing your first or last name at any time is pretty harmless, since it only changes the name other people see when collaborating with you on projects.
• The primary purpose of providing an email address is that you can use it to reset your password when you forget it.

### Get a bunch of examples

To easily copy our collection of examples into a project, just click "+New", paste in this link
https://github.com/sagemath/cloud-examples.git
and click "From Web". In a few seconds you'll find a directory
sage-cloud-templates
in your project, full of examples.

#### Technical Notes

• The collection of examples is a Github repository, which we regularly update. In a terminal in the sage-cloud-templates directory, you can type
git pull
to get the latest changes and examples (you may have to type "git commit -a" first, if you have made changes). You can also see what's new in the Github repository.

### Watch a March 2015 talk about all of the main features of SageMathCloud

William Stein (lead developer of SageMathCloud) gave the following one-hour talk in March 2015 at the UW eScience Institute:

### $x^2$ Using $\LaTeX$

$\LaTeX$ is a system for creating professional quality documents, with excellent support for typesetting mathematical formulas like $J_\alpha(x) = \sum\limits_{m=0}^\infty \frac{(-1)^m}{m! \, \Gamma(m + \alpha + 1)}{\left({\frac{x}{2}}\right)}^{2 m + \alpha}$. There are two main ways to use latex in the SageMathCloud:

1. In chats or in worksheet cells that start with %html or %md, enclose mathematical formulas in single or double dollar signs and they will be typeset (using MathJax) when you submit them. In addition to dollar signs, you can use the other standard latex equation wrappers \­[ \] and \­( \). In worksheets, if f is some object, you can type show(f) to see f nicely typeset using the latex generated by latex(f). In a worksheet, type typeset_mode(True) to show the nicely typeset version of objects by default. You may also use MathJax in Markdown cells in IPython notebooks.

2. You can edit a full LaTeX document by creating or uploading a file with an extension of .tex, then opening it. The tex file appears on the left, and there is a preview of the compiled version on the right, which is updated whenever you save the file (ctrl+s). By clicking , you can split the tex editor so that you can see two parts of the file at once. You can also use inverse and forward search to easily move back and forth between the tex file and the preview. In addition the preview, there is an error and warning log with buttons to jump to the corresponding issue in the tex file or preview. There's also a button to show or download the final high-quality PDF. In addition, you can see the output of running pdflatex, bibtex, and use SageTex (which should "just work"), make any of those programs re-run, and customize the latex build command. If necessary, you can do extremely sophisticated processing of tex files in a Terminal ( New --> Terminal).

### Use R in SageMath worksheets

In a project, click New then the "Sage" button. In the worksheet that appears, type

%default_mode r
then press shift+enter. For the reset of the worksheet, type normal R commands, followed by shift+enter. Plotting should just work as usual in R. See these example worksheets.

### Use IPython notebooks

In a project, click New then the "IPython" button, or just open an ipynb file. The notebook will be opened using IPython's html-based client, with support for embedded graphics. To support the collaborative nature of the SageMathCloud, we've enhanced the IPython notebook with realtime sync, so if you open the same notebook on multiple computers (or if multiple people open the same notebook), they will stay in sync. Also, if you want to use the Sage preparser, type %load_ext sage into a notebook cell.

#### Technical Notes

• You can also run a normal version of the IPython notebook server (no sync, not integrated into cloud) using the ipython-notebook command in a terminal. You'll get a url that looks like https://cloud.sagemath.com/1234601d-9fbc-4e4e-b7ab-c10a79e34d3b/port/11769/; any collaborator on your project can securly use the IPython notebook server by visiting this link, but nobody else can (not even other users on localhost on the same virtual machine!).

### Projects

restoring... stored
Showing only files that contain ''.

# Settings and configuration

DANGER (hover with mouse)
Title and description
##### Description
Collaborators

Collaborators can modify anything in this project, except snapshots. They can add other collaborators, but can't remove the owner.
Project server
##### Project id
loading…
##### SSH into your project (you must add a public key to ~/.ssh/authorized_keys)

Not working? Immediately email us at help@sagemath.com, and include the following URL: Also, consider donating to the SageMathCloud Support Fund.
Project usage and quotas
Upgrade this project to get extra features, including full network access. You are using ... out of ... premium projects. Upgrade your plan for more premium projects. This is a premium project. You can downgrade it if you want.
Billing is not yet implemented. In the meantime, email help@sagemath.com if you need us to raise a quota for free. Include the following URL in your email: and consider donating to the SageMathCloud Support Fund.
Location moving...
Disk usage:
/scratch disk usage:
CPU cores:
RAM:
Timeout:
(loading...) hours of inactivity until project automatically stops (increase by moving to non-free data center)
CPU share:
External network access:
Sage worksheet server
Restart this Sage Worksheet server.
Existing worksheet sessions are unaffected; restart this server if you customize \$HOME/bin/sage, so that restarted worksheets will use the new version of Sage.
Hide or delete project
Hide this project, so it does not show up in your default project listing. This only impacts you, not your collaborators, and you can easily unhide it.

Unhide this project, so it shows up in your default project listing.

Delete this project for everyone. You can undo this.
Undelete this project for everyone.
Project configuration

/
()
()
Opened this project. Opened
():

# Settings

### Opening...

Done    Deleted

Custom Order
Due / Done
Changed

none
completed








### Contents




### Options

Enter an email address (or several separated by commas) to invite a student who does not have an account.

Only showing students that contain .
Add new students to this course by entering their email address (or name) in the box above to the right and clicking the button.

Edit the title and description of the course in settings.
Choose folder that contains assignment:
Only showing assignments that contain .
Create a folder using New (upper left) that contains materials for an assignment. Then search for that folder in the box above to the right.

• # Explore Sage Projects

Billing is not yet implemented.
Nonfree Projects
Credit Cards
Payment History
····
/
No name provided
Title:
Plan:
()
Period:
to
Started:
No description