Course Schedule

1

Introduction and a dash of *nix

Lecture

Slides: remark(down) · pdf

Lecture Recordings: Google Drive

Lecture Survey

Syllabus week! Today we will look at what this course is and how it's organized and then jump right into talking about one of my favorite things: command lines.

  • Introduction
  • Course overview
  • Intro to *nix
  • What is a command line?
  • Why a command line?
  • Live command line demo

Basic

Due Fri, Feb 12 at 11:59 pm: pdf

  • Getting access to Unix(-like) command line
  • Getting access to the course server
  • Some light reading

Advanced

2

GITing started

Lecture

Slides: remark(down) · pdf

Lecture Recordings: Google Drive

Lecture Survey

Today we'll be taking a bit of a detour and looking at the basics of version control and Git

  • Recap of Lec 1
  • What is version control?
  • Basic Git flow
  • Git branches
  • A taste of Git remotes

Basic

Due Fri, Feb 19 at 11:59 pm: pdf

  • Connecting to the course server
  • Setting up an existing code base
  • Making and merging topic/feature branches
  • Setting up a remote

Advanced

Due Fri, Feb 19 at 11:59 pm: pdf

  • Recovering data with Git

Supplemental: Virtual Machines and Ubuntu

Lecture

Lecture Recordings: Google Drive

Lecture Survey

A supplementary lecture about virtual machines and Ubuntu

  • Glance at computer systems
  • What is an OS?
  • What is a VM?
  • Virtualization software
  • Installing Ubuntu feat. VirtualBox
  • Installing VirtualBox Guest Additions
  • Setting up VirtualBox shared folders
  • Installing Ubuntu feat. QEMU

Basic

Advanced

3

Unix and You

Lecture

Slides: remark(down) · pdf

Lecture Recordings: Google Drive

Lecture Survey

Today we'll be looking at Unix and its workings and how they tie into Bash and other shells.

  • What is Unix?
  • How does Unix work?
  • Interacting with Unix via Shells
  • Bash

Basic

Due Fri, Feb 26 at 11:59 pm: pdf

  • Redirection
  • Pipelines
  • Variables
  • Expansion

Advanced

Due Mon, Mar 08 at 11:59 pm: pdf

  • Small testing framework
  • Writing a minimal shell

4

Review and Regular Expressions

Lecture

Slides: remark(down) · pdf

Lecture Recordings: Google Drive

Lecture Survey

Today we'll be reviewing and working through some examples and using Bash and then go into regular expressions.

  • Reviewing Bash
  • Regular expressions

Basic

Due Wed, Mar 10 at 11:59 pm: pdf

  • Regexes with grep
  • Regexes with sed

Advanced

Due Wed, Mar 10 at 11:59 pm: pdf

  • Pig Latin conversion with sed

5

Git Gud

Lecture

Slides: remark(down) · pdf

Lecture Recordings: Google Drive

Lecture Survey

Today we'll be reviewing and working through some examples and using Bash and then go into regular expressions.

  • Rewriting history
  • Stashing
  • Remotes
  • Workflows
  • Merge conflicts

Basic

Due Fri, Mar 12 at 11:59 pm: pdf

  • Changing remotes
  • Dealing with a merge conflict
  • Cleaning up by rebasing

Advanced

Due Fri, Mar 12 at 11:59 pm: pdf

  • Git hooks

6

Text Editors

Lecture

Slides: remark(down) · pdf

Lecture Recordings: Google Drive

Lecture Survey

Today we'll be looking at text editor history and look at more "advanced" text editor features, featuring Vim

  • Text editor history
  • vim

Basic

Due Wed, Mar 17 at 11:59 pm: pdf

  • Getting familiar with terminal editors

Advanced

Due Wed, Mar 17 at 11:59 pm: pdf

  • Extending editors

7

Build Systems

Lecture

Slides: remark(down) · pdf

Lecture Recordings: Google Drive

Lecture Survey

Today we'll be looking at how code gets built and the tools that help them out

  • Building programs
  • Build systems
  • Make

Basic

Due Wed, Mar 31 at 11:59 pm: pdf

  • Basic Makefile
  • Makefile phonies
  • Makefile dependencies
  • Variables and reuse

Advanced

Due Wed, Mar 31 at 11:59 pm: pdf

  • More Make
  • CMake

8

Python

Lecture

Slides: remark(down) · pdf

Lecture Recordings: Google Drive

Lecture Survey

Today we'll be taking a look at this fancy Python thing

  • Higher level scripting
  • What is Python?
  • Python extras

Basic

Due Mon, Apr 05 at 11:59 pm: pdf

  • Getting settled with Python

Advanced

Due Mon, Apr 05 at 11:59 pm: pdf

  • MATLAB alternative
  • Your own path

9

Debugging

Lecture

Slides: remark(down) · pdf

Lecture Recordings: Google Drive

Lecture Survey

We'll be looking at methods for debugging C/C++ programs

  • printf
  • Logging
  • GDB
  • Valgrind

Basic

Due Mon, Apr 12 at 11:59 pm: pdf

  • Using GDB to debug a C/C++ program
  • Using Valgrind to check for memory errors

Advanced

Due Mon, Apr 12 at 11:59 pm: pdf

  • Debugging a running process
  • Your debugging process
  • Pretty printing

Cancelled

Lecture

Lecture Survey

Enjoy a week off!

Basic

Due Wed, Apr 14 at 11:59 pm: pdf

  • How's it going?

Advanced

Due Wed, Apr 14 at 11:59 pm: pdf

  • Lecture PDF downloader

10

Libraries

Lecture

Slides: remark(down) · pdf

Lecture Recordings: Google Drive

Lecture Survey

We'll be looking into the idea of libraries, how to use them, and how to create them. This lecture will be in the context of C and C++, but the general idea can apply to other languages as well.

  • What are libraries?
  • Using existing libraries
  • Creating your own

Basic

Due Wed, Apr 21 at 11:59 pm: pdf

  • Linking against libraries
  • Creating libraries

Advanced

Due Wed, Apr 21 at 11:59 pm: pdf

  • Runtime library linking

11

Testing

Lecture

Slides: remark(down) · pdf

Lecture Recordings: Google Drive

Lecture Survey

We'll be taking a dip into testing software

  • What is and why testing?
  • Kinds of testing
  • Unit testing
  • Test-driven development
  • Live TTD demo

Basic

Advanced

12

Staff lectures and conclusion

Lecture

Slides: remark(down) · pdf · Arav's · Sowgandhi's

Lecture Recordings: Google Drive

Lecture Survey

We'll hand the floor over to our IAs to give some small lectures

  • Staff lectures

Basic

Advanced