A brief introduction to those who didn’t take this course: C0 and C1 lang, languages developed at CMU for education purposes. Contracts are the top language feature, which was used in this course to prove the safety and correctness of the code. Safety proof and correctness proof are the most painful part of this course, and also the part you will probably lose points on during tests. The difference between C0 and C1 is that void pointers can be used in C1 so we can write generic functions. Actually, this is my first time using generic pointers, instead of generic types.
So far these have covered half of the content. The next part is transitioning to the C Programming Language and data structures. In fact, starting from C1, we have been implementing generic hash map dictionaries and doing amortize analysis on unbounded arrays (vectors in cpp). Binary search and AVL trees, undirected graphs, and binary heaps are the easiest parts in this course imo. Perhaps it is becuz of reading the Competitive Programmer’s Handbook.
To sum up, we learnt:
This course is quite hardcore tbh. We had 12 written for 10 pages each and 10 programming homework. A typical coding assignment takes 2 hours to finish and 4 more hours to debug. Everyone should have the same fear to debug your code, especially when you firmly believe that you coded it right… That being said, if you are not familiar with ssh, unix system, vscode, vim, coding styles, gdb (optional, for debugging in the C part), and some other well-known programming concepts, you may have a hard time catching up with the assignments and labs, and it might be much harder to get a good score in this course.
But it was a great chance for me to explore C, such a low-level system programming language. I realized how much syntactic sugar other high-level programming languages have provided to us, and in comparison to Cpp, C is even lower leveled. Manually memory management, null pointer dereferences, void pointer castings, integer type convertings, self-implemented data structures… All the ‘guns’ that you may fire and shoot on your feet.
This course taught some basic concepts in pure mathematics, which are the fundamental components that build the entire world of math. You will learn how to prove many EXTREMELY intuitive propositions (like 1 + 1 equals 2, and set A union set B equals set A union set B without set A) using basic components of math in this course.
To sum up, we learnt:
The textbook (An Infinite Descent into Pure Mathematics) is really well-written. Reading it and solving practice problems were the most helpful things for understanding the concepts and preparing for the exams. (Else to add on, I found two bugs in the textbook and reported them to the author :3)
If you find this course hard, it’s pretty normal. Just calm down, read the definitions, and try to build connections between them. Actually, sitting there reading the textbook helped me pass the first midterm.
But there are also things I am confused about: homework should be a place where you can explore different solutions and make mistakes. However, this semester, there were only 6 hw each consisting of 4 problems, and they count as 25% of our GPA. What this means is that to get an A, you nearly have to get ALL OF THEM CORRECT.
I got A’s on both courses!!! I thought I was gonna fail on concepts!
day -1 at cmu pic.twitter.com/ZJUQGpJ3bR
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) June 22, 2024
day 0 (opening day) at cmu pic.twitter.com/flp2bqtvev
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) June 23, 2024
day 1 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) June 24, 2024
”trust your instincts. if you notice something that doesn’t feel right, it probably isn’t” pic.twitter.com/A9qNBw6m8C
day 2 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) June 25, 2024
first lecture today let’s doooo it pic.twitter.com/ToCny4NNQf
day 3 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) June 26, 2024
finished the first 2 hw
went to the gym for the first time
got to know that there in fact is a badminton team. going to their training tomorrow yaaaay pic.twitter.com/q7ETa3pQKO
day 4 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) June 27, 2024
My tennis racket arrived yayy
Played badminton and tennis today yayy
p2 is taco but with a large portion of cheese and cabbages pic.twitter.com/jiiY7jqL9W
day 5 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) June 28, 2024
nothing special today
except got pissed of by someone and this smelly Mediterranean salad
oh i haven’t finish my hw yet 😱 pic.twitter.com/bEY9EQSAvB
shit mediterranean food got my stomach ache 😡😡😡
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) June 28, 2024
I doubt the smelly cheese is not fresh to eat https://t.co/3lGpOlXGYn
Cupcakes for pride month event woohoo
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) June 29, 2024
Still way too sweet for me to enjoy, though pic.twitter.com/lxjLRTJ43D
day 6 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) June 29, 2024
first weekend here is coming
let’s finished the laundry first pic.twitter.com/xBpbw8QGdz
day 7 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) June 30, 2024
buttewefly on my umbrewella~
spent 20 usd on dinner
also, dreamlike sunset sight uwu pic.twitter.com/jLp1QsZYpa
day 8 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 1, 2024
weekend ends 💤💤💤
day 9 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 2, 2024
ice cream sundae cone at smash d but they ran out of cones
So, a bowl of sundae!
Also my tennis balls have arrived pic.twitter.com/gQiXAuFB0J
day 10 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 3, 2024
HWHWHWHWHWHWHW 📝 pic.twitter.com/L9nkJ6yEyJ
🍌 + 🦢 = ? pic.twitter.com/1RcmWBlc0n
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 3, 2024
day 11 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 4, 2024
went to a nearby asian (Korean) shop
finished math hw and played tennis
bugs are everywhere (つд⊂)
booked a TOEFL test, hope higher score will be granted here…
also starting tomorrow, I HAD TO WORK ON AP SEMINAR again!!! I hate I’m not a real college student. pic.twitter.com/CfcVeLJgcR
Celebration fireworks in the rain pic.twitter.com/vT7O0lOm56
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 5, 2024
day 12 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 5, 2024
Independence Day holiday, nothing except hw
there were firework show at night but it rained
fortunately i checked the forecast. slippers and a umbrella kept me dry pic.twitter.com/fBNFzBv07z
day 13 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 6, 2024
the first activity of the crochet club!!! crochet is kinda interesting
Btw, some fireflies showed up on my way back to dorm pic.twitter.com/2RzM6QU5O1
handed in the programming hw just on time
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 7, 2024
I forgot the ddl is 11 pm but not 12 😭 pic.twitter.com/viXjmaOxQJ
day 14 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 7, 2024
why the gym is closed today 😭😭😭
i had to run around the playground…
Two weeks have passed… How time flies pic.twitter.com/3hcLs4tALv
HELP! I’M TRAPPED BEHIND THE BLACKBOARD! pic.twitter.com/aIz8kAMMFv
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 7, 2024
day 15 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 8, 2024
eat out today
Chinese food but too much salt
Next week we’ve got mid term 1 😭 pic.twitter.com/TLQeD3Iihs
day 16 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 9, 2024
Fire drill was trigger for test during lunch time, my food 😭
finally gym today (i cant read miles bruhhh)
my hairs are getting longer and longer, i miss my broken hairdryer :(
THEY HAVE SKITTLES GUMMIES WTF pic.twitter.com/7mmQlyLiv0
just now during the mid-term 1, there’s a girl looks really alike ubel…
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 9, 2024
she’s got green hairs and her eye expression is especially similar, except that she wore a green camisole, not a black one pic.twitter.com/GKg3KH9j6u
Lost my card :(
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 9, 2024
Bruhhh dropped it on the hallway
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 9, 2024
Someone found it and handed to the clerk 🙏🏻
Thank u soooooo much https://t.co/T4o8Q3izNY
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 9, 2024
task complete letsss sleeeeeep pic.twitter.com/cE6Kd0d0rw
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 10, 2024
day 17 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 10, 2024
midterm1 today~ hopefully id get a good score
first try at au bon pain, free Ocha and coffee! The avocado sandwich was really tasty!
Rigorous GPA tells why “we should collect all of our points”. I went to the office hour just to get my 0.55 out of 13 points back 😭 pic.twitter.com/J10pL8JxPS
our math prof said that “it (mid term 1) is much easier than what I have thought”, and “they (problems) are not complicated”, “anyone without psycho disorders should pass after been careful in classes”
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 10, 2024
day 18 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 11, 2024
robotics info session. a brand new bachelor major, in school of computer science tho. maybe this gonna be the choice 🤔
MIDTERM SCORE IS RELEASED. They are so fast grading the exam… High score tho!!!
Badminton for 3 hrs, made a few friends (?) pic.twitter.com/obCX5KIFb6
tasty vectors yumyum pic.twitter.com/5rRd1hpnpj
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 12, 2024
day 19 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 12, 2024
review pure math till midnight 📖
day 20 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 13, 2024
midterm of math finished today, but im like the sisyphus, right after the exam comes the cs hw, and follows by a programming hw.
things never stop, Iill never reach the end
beside is that the badminton reservation didn’t went well and couldn’t play it :( pic.twitter.com/Erg09W149J
wtffff 有人在 lounge 里看 eng-translated 中文都市电视剧??
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 14, 2024
day 21 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 14, 2024
can believe it’s already weekend
they held a frisbee club
played 3 games and many mini games but the sun was scorching
super regret for not using the sunscreen TAT
eat out for dinner
the ramen was great
the tokoyaki was not very authentic
and expensive mochi 9$😭 pic.twitter.com/VZDAlZ7lwz
a cup of foam (pepsi zero sugar pic.twitter.com/j56Rig6Eef
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 14, 2024
day 22 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 15, 2024
holy I discussed what logically equivalent, double biconditional implication, and tautologies are for the whole day
those concepts are soooo annoying
also to my dear prof, who don’t u teach us those things 😭
I ought adjust my sleeping schedule 💤
day 23 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 16, 2024
first breakfast at tepper. spent 4 extra dollars to buy a cup of coffee…
math midterm released, not bad… but still need 95% on final to secure an A…
deluxe burger and fountain drink, the best combo with the gym! pic.twitter.com/OgEk6UrwJR
297 insertions after sitting there for the whole afternoon…
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 16, 2024
the end for today’s coding 💤💤💤 pic.twitter.com/DFSBxfJcsT
day 24 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 17, 2024
coded till my brain not functioning today
only a week passed the last exam and we have another one next Tuesday???????
played tennis but didn’t have fun cuz no enough courts
agenda tomorrow gonna be tight…
while debugging my hw:
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 17, 2024
em it’s hard to know which (vscode file) tab is active using this theme. let me contribute to the theme
…
but what’s the name of this element…
…
…
half an hour passed and I pulled the request, while the bug was still there (>д<)
minutes before the storm pic.twitter.com/7jyzVoSXTo
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 17, 2024
day 25 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 18, 2024
- [x] lecture & lab: 900-130
- [x] lunch: undefined
- [x] math OH: 200-530 (WEH 8220)
- [x] blender club: 620-720 (CFA 318)
- [x] badminton: 500-900
not a proficient day at all, so much work undone…
and now im wasting my time staying up late…
DDL EVERYDAY pic.twitter.com/7lZ0Fpft5F
day 26 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 19, 2024
homework and problem session whole today
midterm 2 next week!!!
concepts in the after-class reading materials are driving me crazy
u’d better get some exercise tomorrow
day 27 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 20, 2024
crochet club today~ we learnt how to do “magic circle” & “granny square”. super interesting to fabric topologically equivalent yarns by hand~
pizza party at late night. I had dinner really late and I also ate a piece of pizza. rn too full to have a sound sleep… pic.twitter.com/lMBv6p064x
died several times becuz of NULL pointer dereference pic.twitter.com/CxLvICrVCW
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 21, 2024
day 28 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 21, 2024
now playing:
a hole opened up in my heart (deleted) on my shoe — by yorushika
gymmmmmmmm, homeworkkkkkkkk and chinese restaurant
the portionwas just right and we finished up them all, but my credit card was crying T…T pic.twitter.com/Vj0IjlgFHh
day 29 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 22, 2024
scotty self defense program, so woke up at 8am 😱 kinda useful self defense skills
inf amount of hw today, but this cream pasta made my day! pic.twitter.com/vctrgXPiH8
day 30 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 23, 2024
how could i leave my laptop at the classroom after lab…?? shame on me…
the whole afternoon was raining, drizzling to be exactly, which is the perfect mood for sleeping, but couldn’t do i. tomorrow is the midterm 2 and i reviewed till midnight once again. pic.twitter.com/GZkiVBC2VF
midterm 2 😭😭😭
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 23, 2024
🙏🙏🙏🙏🙏🙏
day 31 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 24, 2024
midterm 2 today
played tennis in the afternoon under the sweltering sun. made a new friend, tho! Also, i played way better than before. Now i have more topspin on the ball!
still got plenty of school work to do…
oh, and a month has passed pic.twitter.com/mTf9Nv2Bjq
now playing: shikanokonokonokokoshitantan pic.twitter.com/1Jxnb9dvpz
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 24, 2024
day 32 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 25, 2024
I SAT THERE WHOLE DAY DEBUGGING MY GOD DAMN CODE
I was planning to go to the gym, but those tiny bugs ruined my day.
plenty of school work to do… pic.twitter.com/6S7yuzC6cT
day 33 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 26, 2024
quaso for breakfast~ and noodles for lunch.
gym in the afternoon and a sound sleep at night 💤
got 86% in the midterm 2,,, I’ll correct the mistakes tomorrow…
also, I should catch up with the math course asap aughhhh pic.twitter.com/OCOpnIACE3
day 34 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 27, 2024
spent half of the day learning linear algebra for this solution, painful but joyful. How awfully I wish I could have learnt linalg.
A FULL BOWL OF ICE CREAM
I will def be somehow punished for this amount of sugar intake… Going to the gym tomorrow is a must. pic.twitter.com/XAUivNNh3r
day 35 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 28, 2024
less than a week until the final 😱
the longest banana I’ve eaten here
went to an 新し sushi restaurant called “Atarashi”. tasty beef bowl but really bad sushi…
besides I was translating cpp into c the whole day!!! there’s the mem leak and no vector for c… pic.twitter.com/TXgJcn7475
math hw 2h speedrun
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 29, 2024
day 36 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 29, 2024
HWHWHWHWHWHWHW
who knows that sense of relief after seeing “NO LEAKS ARE POSSIBLE”
handed in math hw just a minute before the ddl…
a total of 1670 words, u sure u r writing math hw??
(actually I failed the 2h speedrun pic.twitter.com/CHTouryQBA
day 37 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 30, 2024
this “protein wrap” got me sick this morning…
gonna be super busy this week…
mocha flavored grass roll~
just a normal sunset here pic.twitter.com/Jc0MA6G0CK
眼睛疼。。。 pic.twitter.com/fm1wNJBQ2H
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 31, 2024
day 38 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) July 31, 2024
found a rat at the cafe
i’d rather kill myself than catching up those ddls
prep exam tomorrow plz
be more productive tomorrow plz pic.twitter.com/StrNWAMfr6
day 39 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) August 1, 2024
2 days until the end!!
do more practice problems tomorrow plz!
(someone spilled their fries, pretty good snacks for seagulls :o pic.twitter.com/Z3jDdfbREy
day 40 at cmu
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) August 2, 2024
headache and dizzy…
goodnight, final exam. pic.twitter.com/40uCiqeQUU
rainy days are more suitable for sleeping rather than exams pic.twitter.com/qpUqw7D85A
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) August 2, 2024
day 41 at cmu, the end!
— Aromia ≡/ᐠ. ˍ .ᐟ\≡ (@arom1a) August 3, 2024
final exams, and the outlet of goodbye.
Memories were gathered, friends were made, and knowledge was gained…
I cherish every moment I spent here on campus, with love and gratitude towards the professors, TAs, and RAs.
More to be expressed elsewhere… pic.twitter.com/a4030beFLY
Thanks to all professors, teaching assistants, residential assistants, and faculties. It was you who made this pre-college program experience pleasant and wonderful! How awfully I wish I could participate in the program and sit on the lower level of GHC debugging my code in the cafe once again!