C S 462-001
Lab 0: Getting Started
Skip To Content
Dashboard
  • Login
  • Dashboard
  • Calendar
  • Inbox
  • History
  • BYU Canvas Info & Help
Close
  • My Dashboard
  • C S 462-001
  • Assignments
  • Lab 0: Getting Started
2018 Winter
  • Home
  • Modules
  • Syllabus
  • Assignments
  • Collaborations
  • Class Notebook
  • Secure Exam Proctor
  • Secure Exam Proctor
  • Google Drive
  • Office 365
  • Gradescope
  • Microsoft Teams meetings
  • Lucid (Whiteboard)

Lab 0: Getting Started

  • Due Jan 13, 2018 by 11:59pm
  • Points 100
  • Submitting a text entry box or a file upload

Objective

The objective of this lab is for you to install and run the Pico Engine.

Reading and Reference

Read the following:

  • Persistent Compute Objects Links to an external site.
  • Pico Engine Quickstart Links to an external site.

You may find the following resources useful:

  • KRL Manual Links to an external site.
  • Developer Tips for the Pico Engine Links to an external site.

Prerequisites

You will need the following:

  • GitHub (or similar), AWS Account, or Web server you control for hosting rulesets
  • Node.js version 6 or greater with NPM
  • Laptop, AWS account, or other system capable of running NodeJS

Implementation Notes

  • The best way to use the KRL documentation is to search since you may not always appreciate how it's organized (or isn't).
  • People often can't get their ruleset to run because it doesn't parse. Make sure you always parse your ruleset before checking it into whatever system you're using to store it (probably GitHub).
  • If your changes don't seem to take effect, the most common cause is likely that GitHub's internal caching is returning the old ruleset even though you've checked in changes. Try waiting 5 minutes, refreshing, and trying again. Alternatively, GitLab Links to an external site. should give you fewer caching problems. (raw urls to code in private repositories will need an account access token)

Do This

  1. Install the Pico Engine on the system of your choice. (As a reminder, the installation instructions are found in the quickstart guide given above)
  2. Copy the hello_world ruleset from the Quickstart into a resource that is accessible from a URL (can be a local URL using the file: schema). 
  3. Using one of the methods in Parsing Rulesets Links to an external site., validate your ruleset. 
    1. Change the KRL so that it's not properly formatted.
    2. Reparse it and note the error. 
    3. Fix the problem.
  4. Install the ruleset at the URL you used in step (2) in your pico. 
  5. Delete the ruleset you installed above. 

Deliverables

Turn in the following:

  1. Short screencast (< 3 minutes with sound) showing your pico engine installation. 
  2. Answers to the following questions:
    1. What is the URL of your hello_world ruleset.  
    2. What happened when you parsed the improperly formatted ruleset? What error did you see?
    3. What port was your pico engine running on? 
1515913140 01/13/2018 11:59pm
Please include a description
Additional Comments:
Rating max score to > pts
Please include a rating title

Rubric

Find Rubric
Please include a title
Find a Rubric
Title
You've already rated students with this rubric. Any major changes could affect their assessment results.
 
 
 
 
 
 
 
     
Can't change a rubric once you've started using it.  
Title
Criteria Ratings Pts
This criterion is linked to a Learning Outcome Description of criterion
threshold: 5 pts
Edit criterion description Delete criterion row
5 to >0 pts Full Marks blank
0 to >0 pts No Marks blank_2
This area will be used by the assessor to leave comments related to this criterion.
pts
  / 5 pts
--
Additional Comments
This criterion is linked to a Learning Outcome Description of criterion
threshold: 5 pts
Edit criterion description Delete criterion row
5 to >0 pts Full Marks blank
0 to >0 pts No Marks blank_2
This area will be used by the assessor to leave comments related to this criterion.
pts
  / 5 pts
--
Additional Comments
Total Points: 5 out of 5