CSC151.02 2016S, Class 34: Turtle Graphics
==========================================

_Overview_

* Preliminaries.
    * Admin.
    * Upcoming Work.
    * Extra Credit.
    * Questions.
* Lab 1
* Lab 2

Preliminaries
-------------

### Admin

* Continue partners.
* More food-like substances!
* I'm going to try not to talk today so that you have more time for the two
  labs.

### Reminders

* Office hours this week 
    * See http://rebelsky.youcanbook.me.
    * Ask me about other available times.
* Tutor hours
    * Sunday, 3-5 p.m.
    * Sunday-Thursday, 7-10 p.m.
* Weekly review sessions:
    * Wednesday at 8pm in the CS Commons with Evan.
    * Thursday 10 am review session with Sam.
    * Thursday at 8pm in the CS Commons with Alex.

### Upcoming Work:

* Reading for Wednesday: 
    * [Iteration](../readings/iteration-reading.html)
* Lab Writeup for Local Recursive Procedure Bindings: Exercise 4b
    * Send email titled __CSC 151 Lab Writeup 33 (Your Names)__
    * Do not include the underscores.
    * Send to <CSC151-02-grader@grinnell.edu>
    * Due before class on Friday.
* Lab Writeup on Turtle Graphics: Exercises 3n, 4i
    * Send email titled __CSC 151 Lab Writeup 34 (Your Names)__
    * Do not include the underscores.
    * Send to <CSC151-02-grader@grinnell.edu>
    * Due before class on Wednesday.
* Exam 3 to be distributed tomorrow!  (Available today, but no prologue,
  code code file, no epilogue, and too many typos that I may still correct.)
* Quiz on Friday.

### Extra Credit

* Send your reports to <rebelsky@grinnell.edu> with subject 
  "CSC 151 Extra Credit".  (Do not include the quotation marks.)
* Send opportunities to me before class with subject
  "CSC 151 EXTRA CREDIT OPPORTUNITY!"

#### Academic / Artistic

* Cafe Ta'amon on April 6 at 6pm, in JRC 101 (I think).
* Cinderella on April 6 at 7pm, somewhere in Bucksbaum (I think).
* Roxane Gay Convocation on Thursday (11 a.m., JRC 101).

#### Peer

* Post-break ExCo on British Politics Wednesdays at 8:00 in JRC 203.
  Starts this week (I think).  Just show up; you don't need to sign up.
* Meet with your Class Ambassador (aka clambassador) all day Tuesday JRC 
  by dhall.  If you can't find him/her/zir/them, try again later.
* Fun Japanese Spring Festival Friday at 7pm.  Origami and food!

#### Miscellaneous

* *Candlelight Vigil in Solidarity with all those affected by the recent 
  acts of terror around the world.  Today at 8 PM in the JRC Lobby.*
* Pioneer weekend.
* Scarlet and Give Back Day Thursday (I will fund your donation of $5 if
  you find that to be an economic burden)
* Host a prospective student.

#### Regular Peer 

* Social Dance Workshop Tuesdays 7:00-8:00 in Bucksbaum Dance Studio
* Pun club Saturdays at 4pm in Younker 
* Electronic Potpourri on KDIC Fridays at Five 
* Space Odyssey KDIC Fridays at Six
* Bollywood, Fridays, 7:30-8:30, Younker
* Effective Altruism club, 2:30-3:30 Sundays in JRC 226.

#### Misc

#### Far in the Future

* Lords of the Flies, April.
* Adaptation of Rushdie's East West.  Early May.

### Questions

_How does Misc. extra credit work?_

> I apply it to either Academic or Peer, depending on which you have
  not yet maxed out.

_What were the writeups for class 31 and 32?_

> I don't think there were any.

_Does diet dew still taste good after eight bottles in two days?_

> I'm not sure it ever tasted good, but it certainly is no longer
  appealing.

Lab 1: Local Bindings
---------------------

Writeup for Class 33: Exercise 4b

Some sample inputs

    > (tally-brights (map color->irgb (list "white" "black" "white" "white")))
    > (tally-brights null)
    > (tally-brights (map color->irgb (list "black" "white" "black" "white" "black")))
    > (tally-brights (map color->irgb (list "black" "black" "black" "black" "black")))
    > (tally-brights (map color->irgb (list "white" "white" "white" "white" "white")))

Improved

    > (define white (color->irgb "white"))
    > (define black (color->irgb "black"))
    > (tally-brights (list white white black white black))


Lab 2: Turtle Graphics
----------------------

Writeup for Class 34: 3n, 4i


