Class 15: Threads and Concurrency

Here are Robbie’s slides from Class 15: [PDF] [PPTX]; Counter code example: [PDF]

Posted in Classes | Comments Off

PS5 Partners

Here are the partners for PS5:

Blanton, James	         jb7bq	Kalish, Michael
Borja, Joseph	         jjb4wa	Oh, Uyn	                Noh, Brian
Brown, Jeremy	         jpb4s	Hearn, Charles
Chen, Jiamin	         jc2kk	Sparkman, Elisabeth	Sun, Yixin
Dewey-Vogt, Michael 	 mkd5m	Lopez, Erik
Dilorenzo, Jonathan	 jd9hz	Featherston, Joseph
Dollhopf, Niklaus        nmd3ey	Marion, John
Featherston, Joseph	 jef5ez	Dilorenzo, Jonathan
Hearn, Charles	         cmh3eg	Brown, Jeremy
Herder, Samuel 	         srh5ne	Wallace, Alexander
Kalish, Michael	         mk8af	Blanton, James
Lopez, Erik              ejl3tf	Dewey-Vogt, Michael
Marion, John	         jjm6p	Dollhopf, Niklaus
Noh, Brian               bkn3yh	Oh, Uyn	Borja, Joseph
Oh, Uyn	                 uho6r	Noh, Brian	Borja, Joseph
Sparkman, Elisabeth	 egs5u	Sun, Yixin	Chen, Jiamin
Sun, Yixin	         ys3kz	Sparkman, Elisabeth	Chen, Jiamin
Wallace, Alexander	 aww8rj	Herder, Samuel

Remember that each team is expected to be prepared to present their design for question 7 in class on Tuesday.

Posted in Announcements | Comments Off

Help Hours Wednesday

This Wednesday (today), I’m going to be in the Stacks for help hours from 2-3:30 as usual, but please come find me in Olsson 226 (come straight in) during the evening help hours: 5-6:30.

Posted in Announcements | Comments Off

Office hours this week

I won’t be able to hold my usual office hours this Thursday, but will have office hours tomorrow (Wednesday, noon-1pm). If you can’t make it then, please email me to arrange another time.

Posted in Announcements | Comments Off

Problem Set 5: Distributed Simulations

Problem Set 5 is here.

There are several upcoming deadlines for PS5:

  • Thursday, 14 October, 11:59pm: team requests (students who do not submit valid team requests by this time will be assigned to teams)
  • Tuesday, 19 October, 3:30pm: design reviews (be prepared to present your design in class)
  • Tuesday, 26 October, 3:30pm: ps5 due
Posted in Announcements | Comments Off

Turning in PS4

Since I understand it may be difficult to get to (or get into) Olsson Hall on today and Monday, you can turn in PS4 electronically instead of dropping off a paper copy. To submit it electronically, you should generate a single PDF file that I can print out that contains all your answers for PS4 (including the relevant code you wrote). (If you prefer to turn in a paper copy that is fine, but I’m not sure how open Olsson hall will be tomorrow.)

Posted in Announcements | Comments Off

No office hours Monday

I won’t hold my normal office hours Monday because of “Fall Break”, but I will be available earlier in the day by appointment.

Posted in Announcements | Comments Off

Class 14: Array Subtyping

Class 14 slides: [PDF] [PPTX]

Substitution principle example: [PDF]

Posted in Classes | Comments Off

Class 13: Behavioral Subtyping

Here are the slides from class 13: [PDF] [PPTX]

I will also clarify the “Social Network” movie challenge question I mentioned at the beginning of class today. There are at least three scenes in the movie that have some technical computing content:

  • The scene where Mark describes the algorithms used to acquire the pictures for “Facemash” and the ELO-based ranking algorithm they use.
  • The scene where Mark walks out of Matt Welsh’s Operating Systems course, answering a question on the way out.
  • The scene where Mark “interviews” candidates for internships.

The second one of these suggests the most obvious challenge question: explain the question and answer Mark gives, and what assumptions not visible in the scene are necessary for Mark’s answer to be correct. This definitely involves topics not covered in cs2220, so would require some outside learning about operating systems. (For Matt Welsh’s take of Mark Zuckerberg’s performance in his course, see How I almost killed Facebook from his blog.)

The other two suggest less obvious challenge questions (especially the third one, and I don’t want to encourage any programming under the influence!), and Aaron Sorkin’s dialogue in the movie moves really quickly, so for these you would have to both define and answer your own interesting challenge question.

There are a lot of inaccuracies and distortions in the movie, but its also a lot of fun and very well done.

Posted in Announcements, Classes | Comments Off

No office hours Monday

I’m out of town Monday so will not be able to hold my usual office hours. I will be available after class Tuesday and later in the week.

Posted in Announcements | Comments Off