CS371p Fall 2021: Xuefei Zhao

Xuefei Zhao
2 min readSep 12, 2021

--

  1. What did you do this past week?
    This past week is a bit short. I spent most of my doing assignments for my classes. As for this class, I implemented a simple solution for Collatz and optimized the solution. As a result, I passed all 3 HackerRank tests.
  2. What’s in your way?
    This semester I’m taking 5 classes with 2 grad-level CS classes. In addition, I moved off-campus, and it takes me a long time to commute. As my course workload started to increase this week, I’ve been having a hard time managing my time.
  3. What will you do next week?
    I have multiple projects due next week. I plan to finish the Collatz workflow and submit Collatz as soon as possible so I can start working on my other projects.
  4. If you read it, what did you think of the Paper #3: Continuos Integration?
    I used continuous integration a lot in my last semester’s SWE project as well as my internship project the past summer, and I totally understand why the author is recommending continuous integration to people. Before I learned about continuous integration, I thought my life was good. I ran all the tests before I push my code and my team members can often catch my mistakes. However, once I get to use continuous integration, I can’t live without it. It makes my life so much easier to not worry about the workflow because they are all automatically done for me when I push my code. Therefore I can completely focus on developing features and debugging.
  5. What was your experience of IsPrime and Collatz optimizations?
    IsPrime was an easy exercise, and it’s fun to work through this problem with people during class. I’ve done Collatz optimization last semester in python, but I’m not very familiar with C++, so I had struggled with the data structures a bit. Also, it’s good to review the testing workflow and the different types of cache.
  6. What made you happy this week?
    I found the CS labs are open now, so I have a place to work on my assignments.
  7. What’s your pick-of-the-week or tip-of-the-week?
    If you use VSCode with Git, definitely try using the GitLens extension. It shows which lines are changed from the last commit. If you expand the lines, you can view the difference between the last commit and current code and easily revert your changes. Also, if you are working with a group, GitLens can also tell you who modified the lines in which commit.

--

--

Xuefei Zhao
Xuefei Zhao

No responses yet