Calico Cloud

From IPRE Wiki
Jump to: navigation, search

Calico Cloud℠ is a series of connected network services integrated across Calico. The functions described below require Calico version 2.3.5 or greater. You can download Calico from the Calico Download page.

Calico Cloud℠ is now in beta for instructors (and their beta-testing students). Cloud data (including passwords and file contents) are currently not very secure. You should not use a private password, nor should you put sensitive data into Calico Cloud℠.

There are two levels of beta accounts:

  • as a student account
  • as a instructor account (comes with an associated institution and course keyword. Allows others to become beta-testing students).

If you are interested in testing Calico Cloud℠, please send a message to dblank@cs.brynmawr.edu.

Register

Before you can log into Calico Cloud℠, you will need to register. To register, you will need a course keyword. The keyword will associate your username with a particular course.

If you have a course keyword, select menu -> File -> Register... and enter the information. If you do not have a course keyword, then you will need to get one from your instructor. If you do not have an instructor with a course keyword, you can request a course keyword as part of the Calico Cloud℠ beta program (see above).

CalicoRegister.gif

Login

After you have registered (see above) then you can log into Calico Cloud℠. After logging in, the Chat tab will automatically show on the far right of your screen.

CalicoChat.gif

Peer-to-Peer Scripts

Students can write programs (in most any Calico language) that appear to communicate directly from Calico to Calico. This can allow students to write multi-player games, and other interactive programs.

Once you have logged in, then you will have a calico.connect. Sending data to another user is as easy as:

# Python example:
calico.SendData("username", "Hello World")
for data in calico.ReceiveData():
    print("from:", data[0], "message:", data[1])

In this example, "username" is the login name of the user. You can send yourself data as well by using your own username. The data will not be received if the user is not logged in.

You can also send chat messages programmatically:

# Python example:
calico.SendMessage("username", "Hello World")

That will appear in the user's chat output, if they are logged in. No message will be sent (or ever seen) if they are not logged in at the time the message is sent.

Files

Using Calico Cloud℠, you can save and open files from the cloud.

NOTE: files stored in the Cloud are currently not very private. In fact, you can access every file stored in the cloud via the web, if you know its name.

The file options are found under the menu -> File -> Cloud option:

  • Open...
  • Save...
  • Sync from Cloud
  • Sync to Cloud

Before using any Cloud operations, you should login:

  • menu -> File -> Login
  • enter your Username and Password (your password will show as dots)
  • click on "Ok"

When you put a file into Calico Cloud℠, it is also available via the Myweb interface (described below), if you know the filename. For example, a script saved as Test.py is available as:

http://myro.roboteducation.org/myweb/data/username/Test.py

NOTE: Currently, Calico Cloud℠ does not support folders in the cloud.

Open

After login, you can then open a file that has previously been saved to the cloud:

  • menu -> File -> Cloud -> Open...
  • select filename from pulldown list, or type it in

After opening a file, note that filenames in the tab are surrounded by curly-braces to indicate that they are in the Cloud.

CalicoCloudFileOpen.gif

Once a file is in the cloud, it will save locally, and also attempt to save into the cloud. If it fails (for example if you lose your internet connection) a warning will be printed in the output window.

Save

After login, you can then save an opened file to the cloud:

  • open a new or previously exisiting file
  • menu -> File -> Cloud -> Save...

Cloud files are also mirrored in a local subdirectory.

Sync from Cloud

Sync from Cloud is used to copy all of the files in the Cloud to local storage. This is useful if you would like to work off-line, or would otherwise like to have a local copy of all of your cloud scripts.

First, login, and then select Sync from Cloud. This will make a local copy of all of the scripts that you have in Calico Cloud℠.

Sync to Cloud

Sync to Cloud is used to copy all of the local cloud files to the Cloud.

This is useful if you have been working with your cloud scripts off-line scripts. When back on-line, Sync to Cloud.

Chat

Use the integrated Chat service to talk with your professor, teachers assistants, or fellow students. Login, and then begin to chat.

There are some special commands when typing in the chat window:

* @USER MESSAGE
* /join CONF
* /list
* /create CONF
* /help

Any other text is sent as a message to everyone in the current conference room.

NOTE: the options are under development

Web

Integrated webpages. Grouped by institution, class, and student. Students can learn a bit about HTML with the Calico-integrated website.

Users can make available images from their robot, and files that they have saved to Calico Cloud℠ (see above under File).

CalicoMyWeb.gif

Robot

Save images taken from the robot directly to your webpage.

  • under development - need to hook up old Myro API to save images over new XMPP connection

Collaboration

Work in real time with other users, over the web, or directly inside Calico. See Calico Collaborate for more information.

  • under development - Calico ships with a version working under Linux.