Posts

SU-CS107 OCT272023

Last edited: August 8, 2025

Key Sequence

Notation

New Concepts

Important Results / Claims

Questions

Interesting Factoids

SU-CS107 SEP272023

Last edited: August 8, 2025

Core Themes of CS107

how and why of 107:

  • how is program data represented in the hardware
  • how does the heap work and how is it implemented
  • how does a computer know how run code
  • how does an executable map onto computer systems
  • why is my program doing one thing when I expect it to do something else

“why is this broken system behaving the way it does?”

Core Goals of CS107

fluency

  • pointers and memory, and how to make use of them
  • an executable’s address space + runtime behavior

competency

  • the translation of C to and from assembly
  • implement programs with limits of computer arithmetic
  • identify bottlenecks and improve runtime performance
  • navigate Unix
  • ethical frameworks to design and implement software

exposure

computer architecture

SU-CS107 SEP292023

Last edited: August 8, 2025

New Concepts

Important Results / Claims

SU-CS109 DEC012023

Last edited: August 8, 2025

Key Sequence

Notation

New Concepts

Important Results / Claims

Questions

Interesting Factoids

  • logistic regression is a linear classifier
  • Naive Bayes is a linear classier: there is literally no interaction between input features

SU-CS109 DEC042023

Last edited: August 8, 2025

Diffusion Models

We can consider a model between random noise and trees.

For every step, we sample Gaussian noise and add it to the image. The original approach adds Gaussian to the pixels, and nowadays people replace the pixel.

Usually, there is a few thousand steps of noising.

Why is it that we can’t have a one-step policy from noise to pictures? Because of a physics result that says the stability of diffusion becomes intractable at too large steps.