- 2022–present: Lecturer in EECS at UC Berkeley
- 2021–2022: MS in Electrical Engineering and Computer Science, UC Berkeley
- Advisors: Nicholas Weaver and Dan Garcia
- Research focus: Computer science education
- 2017–2021: BA in Computer Science, BA in Data Science, UC Berkeley
Contact
If you have a question about one of the classes I’m teaching, please use the course emails instead. These are checked by me, the co-instructors, and head TAs, so you’ll get an answer more quickly if you use them.
- CS 61B: cs61b@
- CS 61C: cs61c@
- CS 161: cs161-staff@
- CS 168: cs168@
- CS 188: cs188@
Personal email, only if it’s not related to the courses above: peyrin@
Note: peyrin@eecs. forwards to peyrin@ so emailing either one is equivalent.
(Add berkeley.edu to the end of each email)
Letters of Recommendation
Read over this page if you need a letter of recommendation from me.
Availability
Teaching
Teaching ratings available here.
CS 61B Data Structures |
CS 61C Machine Structures |
CS 161 Computer Security |
CS 168 Internet/Networking |
CS 188 Artificial Intelligence |
|
---|---|---|---|---|---|
Fall 2024 | Co-instructor (with Justin Yokota) |
Co-instructor (with Dan Garcia) |
Co-instructor (with Rob Shakir & Sylvia Ratnasamy) |
||
Spring 2024 | Co-instructor (with Justin Yokota) |
Co-instructor (with Raluca Popa) |
|||
Fall 2023 | Co-instructor (with Justin Yokota) |
Instructor | Co-instructor (with Igor Mordatch) |
||
Spring 2023 | Co-instructor (with Raluca Popa) |
Co-instructor (with Stuart Russell) |
|||
Fall 2022 | Instructor | Co-instructor (with Igor Mordatch) |
|||
Summer 2022 | Co-instructor (with Caroline Liu & Justin Yokota) |
Co-instructor (with Fuzail Shakir) |
|||
Spring 2022 | Head GSI | ||||
Fall 2021 |
GSI | GSI | |||
Summer 2021 | Co-instructor (with Nicholas Ngai) |
||||
Spring 2021 | Head UGSI | ||||
Fall 2020 | Head UGSI | ||||
Summer 2020 |
Co-instructor (with Ryan Lehmkuhl) |
||||
Spring 2020 | UGSI | ||||
Fall 2019 | UGSI | ||||
Summer 2019 | Tutor | UGSI |
UGSI (Undergraduate Student Instructor) and GSI (Graduate Student Instructor) are Berkeley-specific terms for TAs.
- Spring 2019
- EE 16B (Designing Information Devices and Systems II)
- Reader (grading, writing lecture notes)
- Fall 2018
- EE 16A (Designing Information Devices and Systems I)
- Lab assistant
- Spring 2018
- CS 61A (Structure and Interpretation of Computer Programs)
- Academic intern (lab assistant, office hours)
Classes I didn’t officially teach, but unofficially helped with (e.g. proofread exams, covered office hours and/or lectures, helped train and mentor TAs):
- Summer 2024: CS 161 (Computer Security)
- Spring 2024: CS 188 (Artificial Intelligence)
- Summer 2023: CS 161 (Computer Security)
- Spring 2023: CS 302 (Designing Computer Science Education)
- Fall 2022 & Spring 2023: Codebreaking at Cal
- Fall 2022 & Spring 2023: CS 61C (Machine Structures)
- Spring 2022: CS 161 (Computer Security)
Writing
Sometimes I write about teaching-related things at CS 161’s pedagogy blog. (Sorry it’s dormant. I’ve been more focused on course-specific projects lately.)
Projects
Not a comprehensive list. Most of my work is contributing miscellaneous parts of courses, but here are some relatively standalone things I made.
- 2024: CS 168 lecture slide redesign.
- 2024: Introduction to the Internet: Architecture and Protocols, the CS 168 course textbook.
- 2023: New CS 188 machine learning lectures. See Lectures 23–25.
- 2022: New course website template.
- 2022: Developing Accessible and Equitable Remote Exams at Scale During the COVID-19 Pandemic. Masters’ thesis.
- 2022: New CS 61C project, co-developed with the other TAs.
- 2021: CS 61C project spec rewrites.
- 2021: CS 161 lecture slide redesign, with a focus on improved accessibility.
- 2021: Computer Security, the CS 161 course textbook.
- 2020: CS 161 Exam Archive, fully annotated solutions for over 30 past exams.
- 2020: CS 161 problem set rewrite to support online learning.