CS373 Spring 2022: Cole Weinman — Week 8

Cole Weinman
3 min readMar 13, 2022

What did you do this week?

This week I worked on collecting company data for the IDB project. I wrote an endpoint on our backend that collected the data using a couple APIs and then added them to our SQL database. I also set up the backend on Google Cloud for our project. I also returned home on Thursday for spring break. In my other classes, I worked on homework and my project proposal for my classical mythology project.

What’s in your way?

For the IDB project, I had a lot of trouble finding good data for companies to add to our database. It took a lot of merging between different APIs to get enough data. Also since I left for home earlier I did not have a lot of time this week to complete several assignments so I will be stuck doing some of them over spring break which is unfortunate.

What will you do next week?

During spring break I will finish the backend for the IDB project and make significant progress on the front-end. I want to make the front-end able to query from the backend by the end of the break. The week following break I will wrap up the IDB project by writing tests and studying for the exams I have in my other classes.

What did you think of Paper #8: Interface Segregation Principle?

The Interface Segregation Principle makes a lot of sense to me for keeping different functions as separate interfaces. In my mind it connects to the single responsibility principle in that different tasks should be broken up. Using multi inheritance seems like a simple concept to grasp and I think this is the solution I would most typically use in these situations.

What was your experience of comprehensions and yield?

I had not seen comprehensions before and I thought they were very useful in creating eager and lazy generators quickly. I had seen yield before in another programming language and so I had already been familiar with them. I have yet to use generator-type functions in a project but I’ve always wanted to.

What made you happy this week?

Coming home to my family and dog made me very happy at the end of this week. I’m excited about the break and to be able to spend time with my family and friends at home. I also am seeing Dua Lipa on Sunday which I’m very excited about.

What is your tip-of-the-week?

Recently I’ve been very distracted by social media and other apps on my phone. I highly recommend using built-in tools to limit screen time for certain apps so that you can focus more on what is important. I set a limit on the social media apps on my phone and so I have reduced my screen time by a lot which has given me more time to complete more meaningful tasks. You can use Screen Time on iOS and App timer on Android to do this.