CS373 Fall 2020: Daniel Gao

Blog 2

What did you do this past week?

This past week I played around with the Collatz problem on Hackerrank. I was able to get my code passing tests 1 and 2 using some simple caching and mathematical optimizations. However, my code has yet to pass test 3 without timing out.

What’s in your way?

As previously stated, I am still looking for a way to speed up my code so that it passes all the tests on Hackerrank. Once I get that finished, I will move on to the next parts of the project(writing tests, documentation, etc).

What will you do next week?

Next week I will work to finish the Collatz project, as I still have quite a bit to do before I can submit. I also have a couple of interviews in the week ahead so I am planning to be quite busy.

What was your experience of assertions, unit tests, and coverage? (this question will vary, week to week)

Before coming into CS373, I had a little exposure to using assertions, unit tests, and coverage in one of my past internships two summers ago. Because of that, I am a bit rusty on those topics and this class will serve as a good way to relearn some of these important skills. This will also be my first time doing anything related to testing in Python, so I am pretty excited about that.

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

This year has been a little more stressful for me, as it is time for me to start looking for full-time positions. However, I am hoping that taking only 4 classes this semester will lighten up the load for me, and having a return offer that I can fall back on is always good as well.

What made you happy this week?

Looking at my calendar this weekend and seeing Labor Day made me quite happy. I think the day off could not have come at a better time.

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

I found this video on Kafka streams is quite interesting.

https://www.youtube.com/watch?v=Hlb-Ss3q3as

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store