SlideShare una empresa de Scribd logo
1 de 32
cs4414 Fall 2013
University of Virginia
David Evans
Plan for Today
• Correct course vacation policy
• My teaching philosophy + overview of class
(i.e., what you missed the first day)
• Comments on Surveys, PS1
• PS2 Demo (Purnam & Weilin)
• PS2 Code Overview
12 September 2013 University of Virginia cs4414 1
Daniel Lewin
14 May 1970 –
11 September 2001
12 September 2013 University of Virginia cs4414 3
0
1
½
Consistent
Distributed
Hashing
Akamai
Headquarters, Cambrid
ge, MA
(until a few years ago)
If you use any of these, your packets arrive
faster because of Danny’s algorithms.
“High-quality images and
video became powerful assets
in building the Victoria’s Secret
brand.” (Akamai Inc.’s case
study [2000])
Updated (Non-US-Centric)
Course Vacation Policy
12 September 2013 University of Virginia cs4414 6
birth parentage marriage
UVa coach
+ Your Own Countries
12 September 2013 University of Virginia cs4414 7
To cheer up any
Mexicans, you
could still get a
vacation day on
Nov 21!
Teaching
Philosophy
12 September 2013 University of Virginia cs4414 8
“I always felt, I was at Stanford, the world’s best university, and I was a great
teacher,” he [Sebastian Thrun] said. “Having done this, I can’t teach at Stanford
again. It’s impossible. I feel like there’s a red pill and a blue pill, and you can take
the blue pill and go back to the classroom and lecture your 20 students. But I’ve
taken the red pill. And I’ve seen wonderland.”
* * *
Not long ago, on a rainy Saturday morning, Professor Dave Evans and I hung out in
bed while he tried to explain recursive functions (for the fourth time) and I worked
on my homework. Or rather, I hung out in bed, and Evans, a computer science
professor at the University of Virginia, hung out on my laptop screen, where I
could—click—pause him midsentence and pour myself another cup of coffee.
What is my goal for lectures?
Convey some complex technical ideas
Teach you what you need to know to do
the projects
Avoid being fired
Keep most of you awake for 75 minutes
Get you to laugh at dumb jokes
12 September 2013 University of Virginia cs4414 9
Convey some complex technical ideas
Teach you what you need to know to do
the projects
Avoid being fired
Keep most of you awake for 75 minutes
Get you to laugh at dumb jokes
What is my goal for lectures?
12 September 2013 University of Virginia cs4414 10
Lectures are a horrible medium for learning complex ideas.
Better to read wikipedia.
The point of the projects is to teach you things I want you to
learn in the class (mostly by suggesting things you should
learn on your own).
You probably should be getting more sleep!
Monty Python is funnier (unless you are Kevin Redmon)
I have tenure already
My Real Goal for Lectures
12 September 2013 University of Virginia cs4414 11
Provide context/meaning/inspiration
for the things you have or will later
learn on your own.
Take advantage of huge opportunity to
convey my values to (semi-)captive
impressionable young people.
My Insidious Goal for Lectures
(Academic) Goal of the Class
12 September 2013 University of Virginia cs4414 12
Improve our
understanding of how
computers work.
Why bother?
1. Better understanding of how computers work
make you a better programmer which will help
you build something cool, succeed in grad
school, or get a more interesting job.
2. Better understanding of how computers work
(and why) is intellectually, culturally, and
scientifically interesting.
12 September 2013 University of Virginia cs4414 13
If these reasons don’t apply for you and you are only in this class
because there is a bureaucratic requirement that you take it so
some Dean will hand you a nice bit of paper in front of your
parents, you should meet with me to figure out an alternative.
12 September 2013 University of Virginia cs4414 14
What Mr. Jefferson Wants
“We wish to establish in the upper
country of Virginia, and more
centrally for the State, a University
on a plan so broad and liberal and
modern, as to be worth
patronizing with the public
support, and be a temptation to
the youth of other States to come
and drink of the cup of knowledge
and fraternize with us.”
TJ’s letter to Joseph Priestly, 1800
No Majors
No Degrees
No President
15
:
Thomas Jefferson enrolled in the College of William
and Mary on March 25, 1760, at the age of 16…
By the time he came to Williamsburg, the young
scholar was proficient in the classics and able to
read Greek and Latin authors in the original… He
was instructed in natural philosophy
(physics, metaphysics, and mathematics) and
moral philosophy (rhetoric, logic, and ethics). A
keen and diligent student, he displayed an avid
curiosity in all fields and, according to family
tradition, he frequently studied fifteen hours a
day.
Note: this does not mean he wants you to be lazy:
http://www.wm.edu/about/history/tjcollege/tjcollegelife/
What do you think my goals are
in designing assignments?
12 September 2013 University of Virginia cs4414 16
12 September 2013 University of Virginia cs4414 17
Instead of whinging about how
bad the Rust documentation for
strings is….
12 September 2013 University of Virginia cs4414 18
Be happy! You can be
the first to write one!
12 September 2013 University of Virginia cs4414 1912 September 2013 University of Virginia cs4414 19
From: torv...@klaava.Helsinki.FI (Linus Benedict Torvalds)
Subject: What would you like to see most in minix?
Summary: small poll for my new operating system
Date: 25 Aug 91 20:57:08 GMT
Hello everybody out there using minix -
I'm doing a (free) operating system (just a hobby, won't be big and
professional like gnu) for 386(486) AT clones. This has been brewing
since april, and is starting to get ready. …
Remember Class 3?
Its not always about being
best. Sometimes being
first counts for a lot!
12 September 2013 University of Virginia cs4414 20
101K page views in 6 months * 4:53/view = 493 460 minutes
http://www.cs.virginia.edu/evans/cs216/guides/x86.html
12 September 2013 University of Virginia cs4414 21
12 September 2013 University of Virginia cs4414 22
/cs4414-fall2013/
12 September 2013 University of Virginia cs4414 23
Belgium
Date: Thu, 12 Sep 2013 09:35:16 +0200 [3:30am this morning our time]
From: Jordi Boggiano <email hidden@....be>
To: evans@cs.virginia.edu
Heya,
It came to someone's attention that you seemed to encourage people to
write new docs for rust in your http://www.cs.virginia.edu/~evans/cs4414/
course. We figured someone should let you know that an effort is under way
for rust 0.8, so that nobody wastes time on it. The current preview can be
seen on my site at http://seld.be/rustdoc/ - it's targetting master and we
can’t really build it for 0.7 due to language changes, but hopefully within a
few weeks it will land as the new official doc for upcoming version. Better
search is coming and a few final additions are still needed.
Cheers
--
Jordi Boggiano
@seldaek - http://nelm.io/jordi
12 September 2013 University of Virginia cs4414 24
The Problem Sets
are Suggestions
If you have a better
idea, convince me, and you
should do that instead.
Plan for Projects
PS1: zhttpto web server
PS2: shell (learn about processes)
PS3: zhtta web server (learn about memory
management, network protocols, performance)
PS4: something like DropBox (file
systems, I/O, security)
12 September 2013 University of Virginia cs4414 25
zepto = 10-21
zetta = 10+21
(Note: The actual relative difficulty is less than 1042.)
12 September 2013 University of Virginia cs4414 26
This generation of students got into
“UVa” by doing exactly and
precisely what teacher wants. If
teacher is vague about what he
wants, they work a lot harder to
figure out what they want and
whether or not it is good. The
vaguer the directions, the more
likely the opportunity for
serendipity to happen. It drives
them nuts!
Harvard Professor John Stilgoe
(on "60 Minutes", 4 January 2004)
PS5: anything
you want
(no concrete
suggestion)
How much time
should I need to
spend on grading
this semester?
12 September 2013 University of Virginia cs4414 27
Note: I mean just “grading” for the point of being
able to assign appropriate grades to students. This
doesn’t include time giving substantive “feedback”.
Course Honor Policy
12 September 2013 University of Virginia cs4414 28
5 people got it more wrong by omission (left out important
things you should do)! If you are one of them and you want to
stay in the class, read the syllabus more carefully and resubmit
to correct your answer.
Course Honor Policy
12 September 2013 University of Virginia cs4414 29
3 people got it more wrong by addition. Those people
definitely need to provide high quality donuts for the
TAs! (This is encouraged for everyone, but optional if
you didn’t check it as part of the honor policy.)
Plan for Projects
PS1: zhttpto web server
PS2: gash (learn about processes)
PS3: zhtta web server (learn about memory
management, network protocols, performance)
PS4: something like DropBox (file
systems, I/O, security)
12 September 2013 University of Virginia cs4414 30
PS2 Demo:
gash (“Good Auld Shell”)
Charge
PS2 is much longer
and harder than PS1.
Don’t wait until next
week to get started!
12 September 2013 University of Virginia cs4414 31
In true Danny form, he fought back
against the terrorists in an effort to
defend the stewardesses and the
cockpit. To this day, those of us who
knew him well can’t figure out how
only five terrorists managed to
overpower him. During his short
life, Danny made extraordinary
contributions to the internet and to
computer science through his work in
algorithms and complexity theory.
The impact of his work will be felt
throughout the hi-tech industry for
many years to come.
Tom Leighton
(full speech linked from class notes)

Más contenido relacionado

Similar a She Sells C Shells (by the Rust Shore)

Self assessment 1agosto 2014
Self assessment 1agosto 2014Self assessment 1agosto 2014
Self assessment 1agosto 2014
aurelia garcia
 
Ut teaching symposium project based learning and technology 2012
Ut teaching symposium project based learning and technology 2012Ut teaching symposium project based learning and technology 2012
Ut teaching symposium project based learning and technology 2012
David Harms
 
Programming on a_shoestring_1 (1)
Programming on a_shoestring_1 (1)Programming on a_shoestring_1 (1)
Programming on a_shoestring_1 (1)
mskoczylas
 
Welcome To The Computer Lab
Welcome To The Computer LabWelcome To The Computer Lab
Welcome To The Computer Lab
D Jarrell
 
Disarmingly Forthright MSCS Advice
Disarmingly Forthright MSCS AdviceDisarmingly Forthright MSCS Advice
Disarmingly Forthright MSCS Advice
André Peric Tavares
 
Oct2013 slideshow
Oct2013 slideshowOct2013 slideshow
Oct2013 slideshow
Steve Stone
 

Similar a She Sells C Shells (by the Rust Shore) (20)

Self assessment 1agosto 2014
Self assessment 1agosto 2014Self assessment 1agosto 2014
Self assessment 1agosto 2014
 
Can technology change education? #ITEC13
Can technology change education? #ITEC13Can technology change education? #ITEC13
Can technology change education? #ITEC13
 
Ut teaching symposium project based learning and technology 2012
Ut teaching symposium project based learning and technology 2012Ut teaching symposium project based learning and technology 2012
Ut teaching symposium project based learning and technology 2012
 
Programming on a_shoestring_1 (1)
Programming on a_shoestring_1 (1)Programming on a_shoestring_1 (1)
Programming on a_shoestring_1 (1)
 
Programming on a_shoestring_1
Programming on a_shoestring_1Programming on a_shoestring_1
Programming on a_shoestring_1
 
How I survived teaching my first online course (and actually enjoyed it!)
How I survived teaching my first online course (and actually enjoyed it!)How I survived teaching my first online course (and actually enjoyed it!)
How I survived teaching my first online course (and actually enjoyed it!)
 
Morgan uw mse900 2020 040-25 v2.0
Morgan uw mse900 2020 040-25 v2.0Morgan uw mse900 2020 040-25 v2.0
Morgan uw mse900 2020 040-25 v2.0
 
A Reflection on my time as a grad
A Reflection on my time as a gradA Reflection on my time as a grad
A Reflection on my time as a grad
 
How To Talk With Techies
How To Talk With TechiesHow To Talk With Techies
How To Talk With Techies
 
Q2 t overview for training instructors
Q2 t overview for training instructorsQ2 t overview for training instructors
Q2 t overview for training instructors
 
Future Ready in 365 Days
Future Ready in 365 DaysFuture Ready in 365 Days
Future Ready in 365 Days
 
STEM Innovation in Education
STEM Innovation in EducationSTEM Innovation in Education
STEM Innovation in Education
 
Software Surrounds You
Software Surrounds YouSoftware Surrounds You
Software Surrounds You
 
Welcome To The Computer Lab
Welcome To The Computer LabWelcome To The Computer Lab
Welcome To The Computer Lab
 
NetGenEd Project 2013 - Multimedia Awards
NetGenEd Project 2013 - Multimedia AwardsNetGenEd Project 2013 - Multimedia Awards
NetGenEd Project 2013 - Multimedia Awards
 
The Learning Organization - MoDev
The Learning Organization - MoDevThe Learning Organization - MoDev
The Learning Organization - MoDev
 
SLMOOC14: Using Second Life in the K-12 Classroom
SLMOOC14: Using Second Life in the K-12 ClassroomSLMOOC14: Using Second Life in the K-12 Classroom
SLMOOC14: Using Second Life in the K-12 Classroom
 
Disarmingly Forthright MSCS Advice
Disarmingly Forthright MSCS AdviceDisarmingly Forthright MSCS Advice
Disarmingly Forthright MSCS Advice
 
Oct2013 slideshow
Oct2013 slideshowOct2013 slideshow
Oct2013 slideshow
 
Becoming a Data Scientist: Advice From My Podcast Guests
Becoming a Data Scientist: Advice From My Podcast GuestsBecoming a Data Scientist: Advice From My Podcast Guests
Becoming a Data Scientist: Advice From My Podcast Guests
 

Más de David Evans

Más de David Evans (20)

Cryptocurrency Jeopardy!
Cryptocurrency Jeopardy!Cryptocurrency Jeopardy!
Cryptocurrency Jeopardy!
 
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for Cypherpunks
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for CypherpunksTrick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for Cypherpunks
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for Cypherpunks
 
Hidden Services, Zero Knowledge
Hidden Services, Zero KnowledgeHidden Services, Zero Knowledge
Hidden Services, Zero Knowledge
 
Anonymity in Bitcoin
Anonymity in BitcoinAnonymity in Bitcoin
Anonymity in Bitcoin
 
Midterm Confirmations
Midterm ConfirmationsMidterm Confirmations
Midterm Confirmations
 
Scripting Transactions
Scripting TransactionsScripting Transactions
Scripting Transactions
 
How to Live in Paradise
How to Live in ParadiseHow to Live in Paradise
How to Live in Paradise
 
Bitcoin Script
Bitcoin ScriptBitcoin Script
Bitcoin Script
 
Mining Economics
Mining EconomicsMining Economics
Mining Economics
 
Mining
MiningMining
Mining
 
The Blockchain
The BlockchainThe Blockchain
The Blockchain
 
Becoming More Paranoid
Becoming More ParanoidBecoming More Paranoid
Becoming More Paranoid
 
Asymmetric Key Signatures
Asymmetric Key SignaturesAsymmetric Key Signatures
Asymmetric Key Signatures
 
Introduction to Cryptography
Introduction to CryptographyIntroduction to Cryptography
Introduction to Cryptography
 
Class 1: What is Money?
Class 1: What is Money?Class 1: What is Money?
Class 1: What is Money?
 
Multi-Party Computation for the Masses
Multi-Party Computation for the MassesMulti-Party Computation for the Masses
Multi-Party Computation for the Masses
 
Proof of Reserve
Proof of ReserveProof of Reserve
Proof of Reserve
 
Silk Road
Silk RoadSilk Road
Silk Road
 
Blooming Sidechains!
Blooming Sidechains!Blooming Sidechains!
Blooming Sidechains!
 
Useful Proofs of Work, Permacoin
Useful Proofs of Work, PermacoinUseful Proofs of Work, Permacoin
Useful Proofs of Work, Permacoin
 

Último

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
SanaAli374401
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Último (20)

Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 

She Sells C Shells (by the Rust Shore)

  • 1. cs4414 Fall 2013 University of Virginia David Evans
  • 2. Plan for Today • Correct course vacation policy • My teaching philosophy + overview of class (i.e., what you missed the first day) • Comments on Surveys, PS1 • PS2 Demo (Purnam & Weilin) • PS2 Code Overview 12 September 2013 University of Virginia cs4414 1
  • 3. Daniel Lewin 14 May 1970 – 11 September 2001
  • 4. 12 September 2013 University of Virginia cs4414 3 0 1 ½ Consistent Distributed Hashing
  • 6. (until a few years ago) If you use any of these, your packets arrive faster because of Danny’s algorithms. “High-quality images and video became powerful assets in building the Victoria’s Secret brand.” (Akamai Inc.’s case study [2000])
  • 7. Updated (Non-US-Centric) Course Vacation Policy 12 September 2013 University of Virginia cs4414 6 birth parentage marriage UVa coach
  • 8. + Your Own Countries 12 September 2013 University of Virginia cs4414 7 To cheer up any Mexicans, you could still get a vacation day on Nov 21!
  • 9. Teaching Philosophy 12 September 2013 University of Virginia cs4414 8 “I always felt, I was at Stanford, the world’s best university, and I was a great teacher,” he [Sebastian Thrun] said. “Having done this, I can’t teach at Stanford again. It’s impossible. I feel like there’s a red pill and a blue pill, and you can take the blue pill and go back to the classroom and lecture your 20 students. But I’ve taken the red pill. And I’ve seen wonderland.” * * * Not long ago, on a rainy Saturday morning, Professor Dave Evans and I hung out in bed while he tried to explain recursive functions (for the fourth time) and I worked on my homework. Or rather, I hung out in bed, and Evans, a computer science professor at the University of Virginia, hung out on my laptop screen, where I could—click—pause him midsentence and pour myself another cup of coffee.
  • 10. What is my goal for lectures? Convey some complex technical ideas Teach you what you need to know to do the projects Avoid being fired Keep most of you awake for 75 minutes Get you to laugh at dumb jokes 12 September 2013 University of Virginia cs4414 9
  • 11. Convey some complex technical ideas Teach you what you need to know to do the projects Avoid being fired Keep most of you awake for 75 minutes Get you to laugh at dumb jokes What is my goal for lectures? 12 September 2013 University of Virginia cs4414 10 Lectures are a horrible medium for learning complex ideas. Better to read wikipedia. The point of the projects is to teach you things I want you to learn in the class (mostly by suggesting things you should learn on your own). You probably should be getting more sleep! Monty Python is funnier (unless you are Kevin Redmon) I have tenure already
  • 12. My Real Goal for Lectures 12 September 2013 University of Virginia cs4414 11 Provide context/meaning/inspiration for the things you have or will later learn on your own. Take advantage of huge opportunity to convey my values to (semi-)captive impressionable young people. My Insidious Goal for Lectures
  • 13. (Academic) Goal of the Class 12 September 2013 University of Virginia cs4414 12 Improve our understanding of how computers work.
  • 14. Why bother? 1. Better understanding of how computers work make you a better programmer which will help you build something cool, succeed in grad school, or get a more interesting job. 2. Better understanding of how computers work (and why) is intellectually, culturally, and scientifically interesting. 12 September 2013 University of Virginia cs4414 13 If these reasons don’t apply for you and you are only in this class because there is a bureaucratic requirement that you take it so some Dean will hand you a nice bit of paper in front of your parents, you should meet with me to figure out an alternative.
  • 15. 12 September 2013 University of Virginia cs4414 14 What Mr. Jefferson Wants “We wish to establish in the upper country of Virginia, and more centrally for the State, a University on a plan so broad and liberal and modern, as to be worth patronizing with the public support, and be a temptation to the youth of other States to come and drink of the cup of knowledge and fraternize with us.” TJ’s letter to Joseph Priestly, 1800 No Majors No Degrees No President
  • 16. 15 : Thomas Jefferson enrolled in the College of William and Mary on March 25, 1760, at the age of 16… By the time he came to Williamsburg, the young scholar was proficient in the classics and able to read Greek and Latin authors in the original… He was instructed in natural philosophy (physics, metaphysics, and mathematics) and moral philosophy (rhetoric, logic, and ethics). A keen and diligent student, he displayed an avid curiosity in all fields and, according to family tradition, he frequently studied fifteen hours a day. Note: this does not mean he wants you to be lazy: http://www.wm.edu/about/history/tjcollege/tjcollegelife/
  • 17. What do you think my goals are in designing assignments? 12 September 2013 University of Virginia cs4414 16
  • 18. 12 September 2013 University of Virginia cs4414 17 Instead of whinging about how bad the Rust documentation for strings is….
  • 19. 12 September 2013 University of Virginia cs4414 18 Be happy! You can be the first to write one!
  • 20. 12 September 2013 University of Virginia cs4414 1912 September 2013 University of Virginia cs4414 19 From: torv...@klaava.Helsinki.FI (Linus Benedict Torvalds) Subject: What would you like to see most in minix? Summary: small poll for my new operating system Date: 25 Aug 91 20:57:08 GMT Hello everybody out there using minix - I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones. This has been brewing since april, and is starting to get ready. … Remember Class 3? Its not always about being best. Sometimes being first counts for a lot!
  • 21. 12 September 2013 University of Virginia cs4414 20 101K page views in 6 months * 4:53/view = 493 460 minutes http://www.cs.virginia.edu/evans/cs216/guides/x86.html
  • 22. 12 September 2013 University of Virginia cs4414 21
  • 23. 12 September 2013 University of Virginia cs4414 22 /cs4414-fall2013/
  • 24. 12 September 2013 University of Virginia cs4414 23 Belgium Date: Thu, 12 Sep 2013 09:35:16 +0200 [3:30am this morning our time] From: Jordi Boggiano <email hidden@....be> To: evans@cs.virginia.edu Heya, It came to someone's attention that you seemed to encourage people to write new docs for rust in your http://www.cs.virginia.edu/~evans/cs4414/ course. We figured someone should let you know that an effort is under way for rust 0.8, so that nobody wastes time on it. The current preview can be seen on my site at http://seld.be/rustdoc/ - it's targetting master and we can’t really build it for 0.7 due to language changes, but hopefully within a few weeks it will land as the new official doc for upcoming version. Better search is coming and a few final additions are still needed. Cheers -- Jordi Boggiano @seldaek - http://nelm.io/jordi
  • 25. 12 September 2013 University of Virginia cs4414 24 The Problem Sets are Suggestions If you have a better idea, convince me, and you should do that instead.
  • 26. Plan for Projects PS1: zhttpto web server PS2: shell (learn about processes) PS3: zhtta web server (learn about memory management, network protocols, performance) PS4: something like DropBox (file systems, I/O, security) 12 September 2013 University of Virginia cs4414 25 zepto = 10-21 zetta = 10+21 (Note: The actual relative difficulty is less than 1042.)
  • 27. 12 September 2013 University of Virginia cs4414 26 This generation of students got into “UVa” by doing exactly and precisely what teacher wants. If teacher is vague about what he wants, they work a lot harder to figure out what they want and whether or not it is good. The vaguer the directions, the more likely the opportunity for serendipity to happen. It drives them nuts! Harvard Professor John Stilgoe (on "60 Minutes", 4 January 2004) PS5: anything you want (no concrete suggestion)
  • 28. How much time should I need to spend on grading this semester? 12 September 2013 University of Virginia cs4414 27 Note: I mean just “grading” for the point of being able to assign appropriate grades to students. This doesn’t include time giving substantive “feedback”.
  • 29. Course Honor Policy 12 September 2013 University of Virginia cs4414 28 5 people got it more wrong by omission (left out important things you should do)! If you are one of them and you want to stay in the class, read the syllabus more carefully and resubmit to correct your answer.
  • 30. Course Honor Policy 12 September 2013 University of Virginia cs4414 29 3 people got it more wrong by addition. Those people definitely need to provide high quality donuts for the TAs! (This is encouraged for everyone, but optional if you didn’t check it as part of the honor policy.)
  • 31. Plan for Projects PS1: zhttpto web server PS2: gash (learn about processes) PS3: zhtta web server (learn about memory management, network protocols, performance) PS4: something like DropBox (file systems, I/O, security) 12 September 2013 University of Virginia cs4414 30 PS2 Demo: gash (“Good Auld Shell”)
  • 32. Charge PS2 is much longer and harder than PS1. Don’t wait until next week to get started! 12 September 2013 University of Virginia cs4414 31 In true Danny form, he fought back against the terrorists in an effort to defend the stewardesses and the cockpit. To this day, those of us who knew him well can’t figure out how only five terrorists managed to overpower him. During his short life, Danny made extraordinary contributions to the internet and to computer science through his work in algorithms and complexity theory. The impact of his work will be felt throughout the hi-tech industry for many years to come. Tom Leighton (full speech linked from class notes)