Using Juliabox with MTH229

Juliabox.com is a web service that host julia sessions for you to use. You only need a gmail account to logon.

Using this service with MTH229 allows you to work on your projects in the lab, on campus, and at home, as the projects are stored in the cloud. This can be really useful, but requires a few steps to get up and running:

Step 1 – go to juliabox.com

When at this screen log on by clicking on "sign in via Google":

Click on the 'sign in via Google'

Step 2 – set up some external package.

External packages give some useful functionality. There are a few that we will use (Plots, Roots, SymPy, ...) but all are installed and loaded by the MTH229 package. This is done by issuing the following command:

length(Base.LOAD_CACHE_PATH) >= 3 && splice!(Base.LOAD_CACHE_PATH, 3)
Pkg.clone("https://github.com/mth229/MTH229.jl")

To do that: click on the "Console tab", then type the command julia followed by the enter key. Finally, enter the command as shown:

Installing the MTH229 package. It can take some time, but this is only done once

Once done, then enter the command

using MTH229

This will be slow, as many things will be "compiled." This makes those things load much faster every other time.

Step 3 Copy the project files

Now click on the "Sync" tab.

We can copy the project files all at once through this interface. Under "Git repositories" type:

https://github.com/mth229/229-projects

then click the + icon. It should look like this aftwards:

After syncing the files

That's about it.

Step 4 Using a project

Finally, click on the Jupyter tab and then the 229-proj link. This should show 10 projects for you to work on during the semester.

To open a project just click on it. This will open a new browser tab with the project to work on. This screen shot shows the project that opens when the calculator.ipynb link is clicked.

The project on using Julia as a calculator

The "Cell" menu shows a "Run all" item. Select this to have every cell in the notebook execute in sequence. This will set up your project for your work.