CS371p Spring 2022: Week 10

Kaustub Navalady
3 min readApr 4, 2022

What did you do this past week?

This past week, I mostly worked on writing an HTTP proxy with tunneling in my Networks class. I also worked on a pretty long syntax assignment, drawing various X-bar trees and theta-grids. I also continued to work on my speech experiment regarding Hindi for my other linguistics class. I finished “All of us are dead”, and it was meh. I’ll probably re-watch some Westworld or Black mirror with my roommates later.

What’s in your way?

This week is pretty busy in all my classes other than OOP, so I will need to work on those assignments. My phone screen also cracked this week after dropping it, so I can’t use the top third of my screen, but we’ll have to make do for now.

What will you do next week?

I will try to get started and make some progress on the Darwin project in OOP. In my data mining class, I will need to work on the clustering assignment as well as the final project, which is analyzing a speed-dating dataset. I will also work on the buffer bloat lab in Networks and all the other assignments in my two linguistics classes. The course schedule will come out this week, so I will probably look at classes for next semester as well.

What did you think of Paper 10, “Why getter and setter methods are evil”?

It was an interesting read after having been taught otherwise in introductory classes. I can see how adding accessor methods essentially reveals private implementation details of a particular class, making it quite inflexible to change if used by a user.

What was your experience of std::vector, std::deque, std::list, and std::stack?

I had not learned about the various STL containers before, so this weeks lectures were super useful. It was nice to see how the various containers had their pros and cons for adding/removing from the front/back and indexing. It was also cool to see how the vector, deque, and list were used to implement container adapters like the stack. Learning about the implementation details of the deque was probably the most interesting, as I have not seen that array of arrays implementation before.

What made you happy this week?

My friend group had a bake-off this week and it was super fun. My team made molten lava cake, with vanilla ice cream, a caramel drizzle, and a chocolate shell on top, and the other team made a coconut cream cake. The whole experience was a blast, and we got to eat each other’s delicious dishes. My totally unbiased opinion is that we won.

What’s your pick-of-the-week or tip-of-the-week?

My tip-of-the-week to use Anki, which is a SRS (spaced-repetition software) where you can make really powerful flashcards. Essentially, the Anki algorithm (which you can tune) shows you flash cards right about when you are expected to forget them, and reviewing them then really solidifies your recall of the concept. It’s super useful for memorization/concept heavy disciplines and language learning.

https://apps.ankiweb.net/

--

--