Giter Club home page Giter Club logo

lab-notebooks-original's Introduction

CMSI 1010 Computer Programming & Laboratory, Fall 2022

Lab Notebook Original Files

Hi! This repository stores “original” versions of our course’s lab notebooks. There’s a learning curve for working with them and creating your own copies; the following instructions seek to get you acquainted with this workflow.

Preparation

Google Colaboratory (or just Google Colab for short) is our course’s chosen mechanism for running Python Jupyter notebooks. Notebooks provide a way to learn about and interact with Python code, without worrying about the operational details involved with computer programming. (you’ll get enough of those in the other assignments!)

In order to work with the notebooks that we will share with you, you will need the following:

  1. A Google account to follow these instructions successfully (you don’t need to tell us what it is—your Google Drive will serve as your workspace)
  2. A GitHub account
  3. Your lab-notebooks repository for the course—click on this link to set it up: https://classroom.github.com/a/lxEHqdps

Important: Make sure to activate popup windows for colab.research.google.com—it needs those to occasionally ask your permission to access GitHub

Workflow

Overview

The notebooks that we provide are “final copies” that can’t be modified—that way you can get back to them fresh at any time.

  • To make changes to them, you will make a copy of the notebook in Google Drive
  • To submit your notebook, place a copy of your worked-on notebook in the 1010-lab-notebooks repository on GitHub
  • You may copy your notebook to GitHub as frequently as you like

Details

  1. Click on our shared notebook link to open it in Colab
  2. From the Colab menu, choose File > Save a copy in Drive to create your own private copy of the notebook
  3. Work on your copy of the notebook as needed
  4. When you are ready to submit the notebook, first choose Edit > Clear all outputs to reset all of the notebook’s code blocks
  5. Choose File > Save a copy in GitHub to create your submitted copy of the notebook
  6. Make sure to set your LMU-CMSI-1010/lab-notebooks-YOURID Repository as the destination of the file to save
  7. Choose main as the Branch into which to save
  8. Provide a Commit message—describe what’s different in your version of the notebook

You may repeat the last four steps as frequently as needed in case you want to revise your GitHub copy. Do your work on the Google Drive copy but submit as needed to GitHub.

Every time you save a copy to GitHub, you will add a commit to that file. This way, you can follow how the content of your notebook evolves over time, accompanied by your own description of what you changed.

Here’s an example:

image

When running our notebooks, Colab may warn you that the code isn’t safe:

image

For the notebooks that we share with you, go ahead and click on Run anyway. We won’t share any harmful notebooks with you 🤗

For all other notebooks that you might try from the Internet, it’s a good habit to verify that the source/author of the notebook can be relied upon. And that’s why Colab checks with you first!

The Notebooks!

Click on these links to open them in Colab. Remember, you can’t modify these original versions. Instead, follow the workflow listed above to create a copy for yourself on Google Drive. When you’re ready to submit it, choose Edit > Clear all outputs from the Colab menu then choose File > Save a copy in GitHub to submit it to GitHub.

Labs

Class Companions

Note: These links are not the same as clicking on the filenames in GitHub—they have additional information that actually open these notebook files in Google Colaboratory.

You can actually synthesize these links manually in case you don’t have access to this page—see the “Loading Public Notebooks Directly from GitHub” section in Using Google Colab with GitHub for those instructions.

Useful Links

Google Colab has a host of links (delivered as notebooks themselves) that can help familiarize you with the environment:

lab-notebooks-original's People

Contributors

delayaz avatar mkorpusik avatar cee8 avatar farzindar avatar gamernerd-i avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.