CS373 Fall 2021 Week 3: Darshan Bhatta

What did you do this past week?

This week I worked on finishing up the Collatz lab. I made good progress last week and this week I just had to do some more optimizations in order to pass the last Hackerrank test case. After that, I just had to do some housekeeping stuff for the project like generating the Git log, linting the code, etc.

What’s in your way?

Nothing is in my way at the moment, I finished up the lab so I am just waiting for the next project we will be working on.

What will you do next week?

I will be relaxing and looking forward to the next lab and reading the next paper for this class.

If you read it, what did you think of Paper #3: Continuous Integration?

I thought it was informational. In the past, I have implemented CI/CD pipelines and think they are very useful to improve developer productivity.

What was your experience of IsPrime and Collatz optimizations? (this question will vary, week to week)

The IsPrime problem we did in the class went pretty well. It was nice to discuss with a group the problem and implement it. I learned about optimization by checking prime numbers where you can skip the even numbers that I didn’t think about in the past. The Collatz optimizations we discussed in class were pretty useful to me. I already knew about the idea of having an eager and lazy cache but did not know about the optimization where we could reduce the max cycle range. Reducing the max cycle range was the key for me to be able to pass the last Hackerrank test.

What made you happy this week?

I was happy that I got to finish the project with all the test cases passing. I also was able to finish up all my other homework for my other classes before the weekend. So it feels good to have a nice weekend to relax.

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

My pick-of-the-week is Locust a tool/library that lets you load test API routes easily. It is very useful when you want to stress-test your API and make sure that it is able to handle the load you are expecting. It has a GUI that runs on your localhost (or can be hosted in the cloud) and a python interface so you can write those load tests and have them run in CI as well so it is very easy to get started with it.