Skip to content

mikeizbicki/cmc-csci040

Repository files navigation

CSCI040: Computing for the Web Introduction to Hacking

Important links:

  1. What Hackers get Paid

  2. Tech employers illegally collude to reduce salaries

About the Instructor

Name Mike Izbicki (call me Mike)
Email mizbicki@cmc.edu
Office Adams 216
Office Hours See Issue #235
Zoom See Issue #237
Webpage https://izbicki.me
Research Machine Learning (see izbicki.me/research.html for some past projects)

Fun facts:

  1. grew up in San Clemente (~1 hr south of Claremont)
  2. 7 years in the navy
    1. nuclear submarine officer, personally converted >10g of uranium into pure energy
    2. worked at National Security Agency (NSA)
    3. left Navy as a conscientious objector
  3. phd/postdoc at UC Riverside
  4. taught in DPRK (i.e. North Korea)

About the Course

General Information:

  1. There are no prerequisites for this course.

  2. This course fulfills the math general ed requirements for CMC students.

    But, most students find it much harder than taking MATH030 (Calculus I). If you haven't taken calculus, then you will likely have to put in about twice the amount of work on this class than you would to take calculus and get the same grade.

  3. This course is similar to CS5 at Harvey Mudd or CS51 at Pomona (and many of the other intro CS courses at the Claremont Colleges).

    1. If you have already taken either of those courses, then you cannot take this course.

    2. If you are majoring in computer science at either of those schools, then you cannot take this course.

    3. This course is designed for CMC's

      1. data science major,
      2. data science sequence,
      3. and computer science sequence.
    4. This course is more practical than the Mudd/Pomona courses.

      Lots of the cool applications in the Pomona/Mudd CS curriculum are "reserved" for their upper division class, but I've included them directly in this intro course.

    5. This course is especially designed to connect computer science to non-STEM subjects like

      1. economics,
      2. government,
      3. literature, and
      4. history.
  4. This course cannot be taken CR/NC.

Primary Learning Objectives:

  1. Automate boring tasks <-- this is a hacker's primary goal
  2. Create static and dynamic web pages
  3. Understand the basics of many programming languages:
    1. HTML
    2. CSS
    3. JavaScript
    4. Markdown
    5. Jinja
    6. SQL
    7. and Python <-- this is the main focus of the course
  4. Understand the basics of procedural, functional, and object oriented programming

Secondary Learning Objectives:

  1. Introduction to hacker culture and open source software

  2. Understand basic:

    1. internet infrastructure
    2. common programming jargon
      1. "front end" versus "back end" development
      2. test driven development
    3. accessible development
      1. allow blind people to use webpages
      2. allow non-English speaking / non-Americans to use your software
    4. web security
      1. technical details (you will learn to commit fraud in this class... but obviously you shouldn't!)
      2. social implications
      3. government policy
      4. legal issues
    5. search engine optimization
  3. Use real-world programming tools

    1. Python libraries actually in use at FAANG companies
    2. GitHub (which is different than git, something we'll learn in the follow-on class CS46)

Textbook:

There is nothing to buy for this class. All of our references are free as in beer. Some of them are also free as in speech.

  1. Shay Howe's Learn to Code HTML & CSS.
  2. Al Sweigart's Automate the Boring Stuff with Python.
  3. Lots of other online resources as provided in the weekly schedule.

Grades:

category points/assignment approximate percentage
labs (weekly) 2-5pts 20%
quizzes (weekly) 5pts 40%
projects (every 2-3 weeks) 5-20pts 40%

This will be a low-stress but very challenging class.

  1. The course is low-stress because you have full control over what your grade will be.

    1. No midterm/final exam. Weekly quizzes ensure you don't fall behind on material, and if you bomb a quiz it's not a big deal.

      1. You can retake 1 quiz in this class without any penalty if you don't like your grade for any reason. You must do the retake within 1 week of the original quiz date.

        The first two quizzes can be retaken without any penalty.

      2. Quizzes will be open note, and you will have "unlimited" time.

      3. Final project due during finals week.

    2. Most weekly labs are automatically graded by Python. Keep working on them until you get 100%.

    3. Projects have TONs of extra credit opportunities. In the past, I've had students end the course with a 150%, and I've had other students choose not to complete certain projects because they would get an A without completing them.

  2. The material is intrinsically very hard.

    1. That's why CS/DS majors get paid so much money... there's not many people willing to work hard enough to master these concepts.

    2. That's why we have an extra lab session each week (and so 50% more in-person instruction time). Also take advantage of office hours and the QCL.

      NOTE: One point corresponds to approximately 1 hour of work for the average student to earn an A on the assignment. There will be approximately 200 points in the class, or roughly 12.5 points/week. Historically, some students need to spend 20+ hours per week to earn an A/A-.

  3. The projects are designed to be fun, real-world projects:

    Project Difficulty Due date will be no earlier than
    0 Building a Webpage Easy Sunday, 11 Sep
    1 Markdown compiler Hard Sunday, 02 Oct
    2 Data visualization Medium Sunday, 09 Oct
    3 Scraping ebay Medium Sunday, 23 Oct
    4 Reddit propaganda bot Hard Sunday, 06 Nov
    5 Twitter clone Hard Sunday, 11 Dec

Your final grade will be computed according to the following table, with one caveat.

If your grade satisfies then you earn
95 ≤ grade A
90 ≤ grade < 95 A-
87 ≤ grade < 90 B+
83 ≤ grade < 87 B
80 ≤ grade < 83 B-
77 ≤ grade < 80 C+
73 ≤ grade < 77 C
70 ≤ grade < 73 C-
67 ≤ grade < 70 D+
63 ≤ grade < 67 D
60 ≤ grade < 63 D-
60 > grade F

CAVEAT: In order to earn an A/A- in the class, you must also complete one of the following tasks.

  1. Watch the following shows/movies about hacking:

    1. Season 1 of Mr. Robot (available of Amazon Prime). This is the most accurate portrayal of hacking in any movie, see for example this article and this article.

    2. War Games (available on Amazon Prime). This is a classic hacker movie and was quite realistic for what hacking looked like when the movie was released (1983).

    3. CitizenFour (available for free from the Internet Archive). This is a documentary about Edward Snowden and the hacking that the NSA does. There's also a live-action movie called Snowden that you could also choose to watch.

    4. Zero Days - Security Leaks for Sale (available for free on youtube)

  2. Read Harry Potter and the Methods of Rationality. This is a fanfic written by Eliezer Yudkowsky, who is a famous AI safety researcher. The premise is that Harry Potter's parents were both wizards and scientists, and the story introduces a lot of concepts important for AI safety and the philosophy of data science.

    NOTE: This is a LONG reading (roughly the equivalent of 2-3 books). Watching the shows/movies is the most efficient option time-wise.

See Issue #260 for instructions on how to get credit for completing these readings / viewings.

Late Work Policy:

You lose 20% on labs/projects for each day late. It is still typically better to submit a correct assignment late than an incorrect one on time.

If you collaborate with other students or visit the QCL for help with an assignment, you get an automatic 2 day extension on any lab or project.

Collaboration Policy:

You are encouraged to discuss all labs and projects with other students, subject to the following constraints:

  1. you must be the person typing in all code for your assignments, and
  2. you must not copy another student's code.

You may use any online resources you like as references.

Basically, I'm trusting you all to be adults. You are ultimately responsible for ensuring you learn the material! So do what will help you learn best.

WARNING: All material in this class is cumulative. If you work "too closely" with another student on an assignment, you won't understand how to complete subsequent assignments, and you will quickly fall behind. You should view collaboration as a way to improve your understanding, not as a way to do less work.

Accommodations for Disabilities

I've tried to design the course to be as accessible as possible for people with disabilities. (We'll talk a bit about how to design accessible software in class too!) If you need any further accommodations, please ask.

I want you to succeed and I'll make every effort to ensure that you can.

About

Computing for the Web

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published