CS371g Summer 2020: Yuhan Zheng

What did you do this past week?

I spent a significant amount of time working on the Netflix Project with my partner. At first, we both had trouble understanding how Boost Serialization worked and got stuck on loading in a bin file for a lot longer than we expected. Eventually, I loaded in the bin files successfully after re-downloading the docker image, but I am still puzzled as to why we got the std::bad_alloc exception when the actual error was the incompatibility between two versions of Boost. Also, since both of us did not have much experience coding in C++, we spent some time reading C++ Reference as we ran into syntax errors and unfamiliar library functions.

What’s in your way?

The first exam is next week, so I will go over the class notes and HackerRank exercises to prepare for the exam. Other than that, I need to get a clearer understanding of some C++ materials like the kinds of operations that different C++ types support and the use of some C++ keywords.

What will you do next week?

I plan to spend the first two days preparing for the upcoming exam. Along with that, I will get more practice with coding in C++, so I can spend less time trying to figure out the right coding syntax when taking the exam and working on later projects for this class.

What was your experience of RMSE, lambdas, function objects, Boost serialization, and iterators?

I found RMSE an easy concept to understand and implement for the last project. I have not worked with lambdas and function objects, and I still feel that I do not understand them fully. Thus, I will spend some time studying these concepts before the exam. Boost Serialization was hard to understand at first, but after using it for the last project, I am pretty comfortable with it now. The actual differences among iterators for individual data types are something that I have been really confused about, but the lecture last week helped to clear out most of my confusion.

How are you doing and holding up? What’s been most helpful for you in terms of support at this time?

I am doing well. I have been picking up some old hobbies that I used to enjoy doing at home since now I can’t go outside that much.

What made you happy this week?

I finally had the time (and motivation) to gather all my art supplies and start oil painting again! After entering college, I never gave myself enough time to just sit in front of a canvas and start a new piece of painting. Art has always been one of my biggest passions, so I am excited to pick it up again.

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

I tried pair programming for the Netflix project, and I found that a valuable experience. I am used to coding by myself, so I was doubtful whether working with a partner would improve the efficiency of completing this project. However, now I do think that working in pairs can be great since discussions between the partners can lead to more optimized solutions, and trivial bugs can be caught by the other person before time is wasted on running the entire program. Therefore, I would recommend other people to try it out, especially since it is likely that you will be coding with a group of people when you start working in the industry.