CS371p Spring 2021 Week 11: Nathan Hoang

Nathan Hoang
2 min readApr 12, 2021
  1. What did you do this past week?
    This past week I spent a lot of time working on projects, in addition to attending classes as usual. I’m currently finishing up my concurrency project, implementing the two-phase commit protocol in Rust. I also started and finished the Darwin project this past weekend. It took me a while to come up with a good class design for Darwin, but afterwards I found the project to be pretty smooth. I was also stuck for a while because my third test case was timing out, but I realized I was using a normal set instead of a hash set to keep track of creatures that had already moved inside a turn.
    I didn’t have too much free time this week, but I did manage to get outside a couple times to play tennis.
  2. What’s in your way?
    Not too much, I’ve been extremely busy with schoolwork these past few weeks, but the semester is wrapping up and outside of studying for finals I’m pretty in the clear.
  3. What will you do next week?
    Next week I will be working on finishing up my concurrency project. Although I’m done with the code, I still need to finish the report, and come up with a project proposal for my final project. I’m getting a little behind on my network security and concurrency lectures, so I’m going to watch those as well. Hopefully if I have time, I’ll head to Austin and play tennis with friends.
  4. If you read it, what did you think of the Why getter and setter methods are evil?
    I thought it was pretty good, but I’m still confused on the UI part of the paper. The author suggested that classes should “draw themselves”, but I don’t understand how it is possible to cleanly separate the UI and the business logic in this case.
  5. What was your experience of vector, move constructor, move assignment, and allocator? (this question will vary, week to week)
    I didn’t know that move constructor and move assignment existed before, so I feel like I learned a lot this week. I thought the hackerrank this week was pretty enjoyable. We were given a lot of time so it wasn’t too stressful.
  6. What made you happy this week?
    My mom cooked crawfish this week and I love crawfish.
  7. What’s your pick-of-the-week or tip-of-the-week?
    There’s a linux command called “head” that prints out the front of a file. It’s useful for peeking into large files. The “tail” command has the same function, but for the back of a file.

--

--

Nathan Hoang

I’m a junior studying computer science at UT Austin. Follow me for updates on my software engineering class.