General

Can I have more than one partner?

No. You may work with only one partner on labs and MPs unless otherwise noted.

How does the PNG coordinate system work?

The upper left corner is (0, 0). A PNG with width == 3, height == 4 has coordinates:

+--------+--------+--------+
|        |        |        |
| (0, 0) | (1, 0) | (2, 0) |
|        |        |        |
+--------+--------+--------+
|        |        |        |
| (0, 1) | (1, 1) | (2, 1) |
|        |        |        |
+--------+--------+--------+
|        |        |        |
| (0, 2) | (1, 2) | (2, 2) |
|        |        |        |
+--------+--------+--------+
|        |        |        |
| (0, 3) | (1, 3) | (2, 3) |
|        |        |        |
+--------+--------+--------+

How do you run ASAN/Valgrind on a Mac?

Unfortunately, Valgrind doesn’t support newer Macs. For ASAN, Apple doesn’t provide a version of Clang that is ASAN-enabled. You can try compiling it yourself, but how to do that is out of the scope of this page.

HW 0

Can I work on HW 0 with a partner?

Feel free to discuss high-level concepts. The work you turn in must be your own, however.

How do I find the post number on Piazza?

Two ways:

  1. Hover over the dropdown in the post list; your post number is at the top:

  2. The post number is visible at the end of the of URL of the post page.

    https://piazza.com/...?cid=1291
                               ^^^^ this is the post number.
    

lab_intro

Is lab_intro for a grade?

No; either it won’t count at all, or everyone will get full points.