summaryrefslogtreecommitdiff
path: root/docs/ta/vg151_funny_shit.md
blob: e30df010977c5ff58ffac1db1535fde7e3c65d30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# VG151 — Funny Shit

Being a TA is mostly pain, but occasionally you get comedy as a side
effect: newbie questions that make no sense, hilarious program behavior,
creative approaches to a problem, you name it. Every time I see one, I'll
post it here.

All screenshots and conversations are anonymized. If you see yourself in
this blogpost, please don't take it personally. These funny stories are
TAs' primary source of amusement. Please let us have them. Oh, and the
"shit" in this post's title is by no means derogatory.

If you feel extremely uncomfortable with any entry below, please send
email to `<fkfd at fkfd dot me>`.

## 2022-09-13, Lab 0

![They are adding an SSH key but the key they entered is "ssh-keygen -t
ed25519 -C example@example.com"](img/vg151_funny_shit/ssh-keygen.png)

This is a reenactment of a screenshot they sent me to troubleshoot.

## 2022-09-15, group chat

Someone asked if the compiler they need to install was VSCode. One TA
corrected them that VSCode is an IDE. Another TA corrected that TA because
VSCode is technically a text editor, and Visual Studio is an example of an
IDE.

_slow down we'll be getting there_

## 2022-09-22, TA group chat

One of our TAs decided to get a Moss account. The
[website](http://theory.stanford.edu/~aiken/moss/) says:

![](img/vg151_funny_shit/moss_example.png)

<details>
<summary>Transcript</summary>
<p>To obtain a Moss account, send a mail message to moss@moss.stanford.edu.
The body of the message should appear exactly as follows:</p>
<p>registeruser<br/>
mail <i>username@domain</i></p>
<p>where the last bit in italics is your email address.</p>
</details>

Well, here my colleague goes (reenactment):

![](img/vg151_funny_shit/moss_reenactment.png)

<details>
<summary>Transcript</summary>
To: "moss@moss.stanford.edu"<br/>
Subject: Moss Register<br/>
registeruser<br/>
mail <i>their.email@sjtu.edu.cn</i>
</details>

Minutes passed and no reply. Another TA told them they should compose in
plaintext and that italics were unnecessary. Stanford lied; turns out the
message _doesn't_ "appear exactly as follows" after all.

## 2022-09-24, Gitea

![User with Jiang Zemin avatar closed a PR](img/vg151_funny_shit/jiang_avi.png)

AH, nothing like seeing a user on gitea with a pfp of a distinguished
alumnus of ours.

## 2022-09-25, DM

Paraphrased:

> Will you teach us how to finish the project step by step?

My reply was:

> of course

and 10 seconds later:

> not

## 2022-09-27, Lab 2

![Zoom chatbox. Message reads "TA I needed to go for a nuclear acid
test"](img/vg151_funny_shit/nuclear_acid.png)

P… pretty sure it's called a nucleic acid test? \*Ground rumbles\* \*Hears
the word "Chernobyl" in the distance\*

## 2022-09-27, teaching team channel

One student reached out to ask this question (paraphrased):

> Can I use other languages than MATLAB for project 1?

Their rationale is, they thought the project description document we
handed them didn't specify which language (spoiler: it did), so they
assumed they could use any.

Well _in theory_ you could write the project in Python with matplotlib. Or
in C/C++ with OpenGL. But… better not talk about it.

(See followup below)

## 2022-09-30, Gitea

On 16:54 it came to my attention while `git pull`ing all the students'
homework repos that one branch was 108.26MiB in size. When uncompressed,
it grew to 831.3MiB. It should not be larger than 1MiB.

I smell fuckup fumes from a distance away. Upon close examination, they
pushed their project code, which should have been strictly kept personal.
Worse, there are two versions. Worse, neither is in Matlab, but in C++.
Worse, one of them is built on Qt. Worse, they were written with Visual
Studio. Worse, they pushed all the vsidx, vcxproj, ipch and all kinds of
crap.

Manuel predicted that students will do all sorts of stupid things, going
as far as considering git lfs. Real conversation:

> TA: will lfs be used in this course?

> Manuel: it should not but we never know what they will push by mistake…

Murphy's law worked. Apart from this VS atrocity, students were pushing:

- tarballs / zip files they should be submitting to the OJ
- batch file automating tar
- pdf
- symlinks to the pdf
- a CC BY 4.0 International license

## 2022-10-01 to 2022-10-02, Canvas (and everywhere else)

Right past midnight, as the calendar flips to 2022-10-01, I began grading
all freshmen's homework 1 with a Python script inherited from past TAs.
The script got a few hiccups, because:

- I misconfigured the # number of OJ test cases
- OJ server constantly crashes
- Students' first name on Gitea is capitalized but not on Canvas
- Off-by-one bug produces non-existent group, hgroup-00

It took me more than an hour to fix them. At 01:47, I finally released
freshmen's first homework grade. It was disastrous. By tradition we gave
them one day to fix mistakes they've made, and the next midnight I re-ran
the script. Signs of improvement are showing, but there still remains four
groups who got a full deduction (-2.5).

Naturally, my inbox was flooded with complaints and questions (around 25),
especially from these four groups. When I woke up, I decided to
investigate.

- Group A: Named their README file `README .md`
- Group B: Named their README file `README(ex1).md`
- Group C: Pushed to master but forgot to release
- Group D: Not enough teammates to approve PR

Considering A and B made understandable freshman mistakes, C had
a technical problem as explained by team member, and D actually did
contact us beforehand, I negotiated a partial refund with Manuel.

## 2022-10-08, JOJ

While a fellow TA was developing a JOJ integration plugin for VSCode, they
discovered that they could submit Python code to a Matlab exercise, and,
better yet, pass all test cases by mimicking the "MATLAB is selecting
SOFTWARE OPENGL rendering" splash text.

They said it only works if the file is named `foo.py` and uploaded via
handcrafted HTTP POST requests, not the website.

The maintainer of JOJ claims, allegedly, that they had zero fucking idea
about it.

## 2022-10-11, Mattermost

We have an integration that posts all PRs from Gitea to MM. However, there
are two problems with text rendering:

- HTML is not unescaped inside `<code>`
- Emoticons are converted to emoji, even when it shouldn't be one

Enjoy whatever this is:

![](img/vg151_funny_shit/mm_emoticon.png)

<details markdown="1">
<summary>Transcript</summary>
FOCS Gitea (BOT) 20:16

\[ENGR151-22/hgroup-REDACTED\] Pull request opened: #14 h3-REDACTED by REDACTED

 #14 h3-REDACTED

# Homework ❤\>

This part is only for indivudal submission. Delete it for the group submission.
Replace all elements between `&lt; &gt;` by appropriate values. To tick a box
change `- [ ]` into `- [x]`.

## Overview

Exercises completed: <1,2,3,4,5,6>
</details>