Skip to content

Instantly share code, notes, and snippets.

@jelaniwoods
Last active June 21, 2022 21:53
Show Gist options
  • Save jelaniwoods/07242851aeb94bc2a739b7d3ea241bf9 to your computer and use it in GitHub Desktop.
Save jelaniwoods/07242851aeb94bc2a739b7d3ea241bf9 to your computer and use it in GitHub Desktop.
  • Go through the 1-N or N-N exercise with them.

  • Go through the HTML recap slides with them — only until slide #19.

  • Start them on the Linkinbio project (they can work independently, you and Osha can answer questions): https://canvas.uchicago.edu/courses/41147/assignments/466764

  • They can start on the Ruby readings whenever they are done with Linkinbio.

  • At some point, emphasize that they need to open repls to play with the Ruby examples.

  • break 7:30~

1-N, N-N exercises

  • last week we talked about the two main parts of relational db design
  • we designed msm and photogram, then had these exercises to practice identifying them
  • in groups, meet up and finish these exercises then we'll go over them
  • 5-10 minutes

Answers

  • (are these in slides)
  • For this one, get a show of hands: 1-n or n-n why?/why not?

Wrapup

Hopefully with these examples, it's starting to become a little clearer how to identify and differentiate between these kinds of relationships. We'll have more practice as the quarter continues

HTML & CSS recap

  • slides
  • repl.it is a smaller, more lightweight coding environment than gitpod. works well for basic HTML files, but not so good for full Ruby on Rails applications.

Linkinbio project

motivation

  • a lot of times social media bios only allow one link
  • sites like linktree and carrd
  • so to practice HTML, CSS, and deploying applications, you all are going build your own custom linktree

To get started:

  • launch the assignment
  • bin/server
  • but index.html, type hello world

After lab

  • Start on the homework for next week — the Ruby readings.
  • This upcoming week is the hardest week of the quarter for many students, since learning your first general-purpose programming language is a whole new way of thinking. Please start early and use Piazza and office hours liberally to talk through things!
  • Make sure you are clicking on every "Open in Repl.it" link and playing around with the examples.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment