CS373 Spring 2021: Blog#3

Xuefei Zhao
3 min readFeb 6, 2021

--

  1. What did you do this past week?
    I worked on the first project, Collatz, this past week. I implemented the collatz_solve function, added some test cases, and optimized the code. I used the tricks we talked about in class to obtain a better algorithm, and I introduced meta cache and lazy cache to achieve a better time efficiency. As a result, I passed all 3 HackRank tests.
  2. What’s in your way?
    My first round of midterm is coming in a week, so I need to get ready for them. This means I need to better manage my time now.
  3. What will you do next week?
    I already finished everything about Collatz, so next week will be a chill week for me. I will start working on the next project if it is released.
  4. If you read it, what did you think of the Continuous Integration?
    I think Continuous Integration is a wonderful tool for software developers to collaborate on a large project. When using Continuous Integration with a version control tool, software developers can better organize their work and ensures the correctness of the latest version.
  5. What was your experience of Collatz?
    Collatz is different from the projects of my previous classes. The object of my previous projects was trying to realize some features, and the test cases were always provided. Most of the time the difficulties come from the algorithm or the use of data structures. Collatz, on the other hand, requires a fairly easy algorithm. In fact, the algorithm is given, and optimization methods are covered in the lectures, so it didn’t take me much time to think about how to solve the problem. However, Collatz focuses more on the workflow of developing a feature on a project. I spend most of the time writing unit tests, generating acceptance tests, and running pipelines. In conclusion, Collatz is a very interesting project, and I learned a lot from it.
  6. What was your experience of exceptions?
    I had some experience with Javascript’s “try … catch” when I was developing a mobile app using React Native last year. Most of the time it was simply interpreting error messages from some API, but I never understand how they actually work. After Friday’s lecture, I have a much better understanding of exceptions, and I realized some of my earlier misuses.
  7. What made you happy this week?
    I finished Collatz!
  8. What’s your pick-of-the-week or tip-of-the-week?
    I read about this article that predicts software development trends in 2021, and I found it very interesting. It talks about Covid-19’s impact on software development, 5G, cloud services, and AI. One thing I found surprising is that it says docker will be supplanted by Kubernetes, which is also a containerization technology product.

--

--

Xuefei Zhao
Xuefei Zhao

No responses yet