Warning! You are being recorded (and transcribed) (provided the technology is working correctly).
Approximate overview
Scholarly
Cultural
Peer
Wellness
Misc
How do I know which LAs to do and which to skip?
You should know from your quizzes (or, in the future, your LAs).
You can see that on Gradescope.
Sam hopes to distribute a list to you by Monday.
Can I submit a mini-project more than once?
Yup. That’s one of the goals of having an autograder. That way, you get advice before the graders see it and can therefore catch errors (or see what Sam is looking for).
Submit early and often!
What’s the difference between evening tutors and mentor sessions?
Mentor sessions are focused “class-like” situations run by the people who work directly on this class (Maddy and Mai).
Evening tutors are here to answer questions (on any intro class), so are a bit less familiar with the class in particular. And their main goal is reactive (answer question) rather than proactive (guide your learning).
How do I add a description to an image?
Almost all of the basic image-creation procedures (including
solid-polygonandimage-subtract) have an optional parameter for a description of the image. You should generate that description.
For example, here are two versions of
solid-isosceles-triangle.
(define sit-a (lambda (width height color) (solid-polygon (list (pt (/ width 2) 0) (pt width height) (pt 0 height)) color)))
(define sit-b (lambda (width height color) (solid-polygon (list (pt (/ width 2) 0) (pt width height) (pt 0 height)) color (string-append "a " (number->string width) "-by-" (number->string height) " " (describe-color color) " isosceles triangle"))))
I used redescribe to add a description to an image. Now all the tests fail.
Whoops. I’ll see if I can get
redescribeto function better.
Maybe you can use the ideas above instead of
redescribe.
When you use width and height for outlined triangles, are those the
inner width/height or the outer width/height?
The inner width and height.
I wasn’t sure how to remove the blue component of an RGB color.
(define remove-blue (lambda (color) (rgb (rgb-red color) (rgb-green color) 0 (rgb-alpha color))))
Why and when do you use “color-name->rgb” function?
When we’re working with names (e.g., “blue”) and want to do more computational things (like making them darker).
Can you please explain this part
;;; (color-merge-red-green c) -> color?
;;; c : color?
;;; Make both the red and green components closer to the average of the
;;; two components.
(define color-merge-red-green
(lambda (c)
(rgb (quotient (+ (color-red c) (color-red c) (color-green c)) 3)
(quotient (+ (color-red c) (color-green c) (color-green c)) 3)
(color-blue c))))
This makes the red component more like the green component and vice versa.
I hear that your favorite color is plaid. How do you make plaid?
Um … it’s a trade secret that I am not permitted to reveal.
; SAM SAID WE SHOULD STOP HERE
Things we learned