CS 373 Spring 2021 Week 9: Joseph Graham
- What did you do this past week?
This past week I worked on the backend for phase two of our internet database. A partner and I finished up populating our RDS database and writing our API endpoints for the frontend.
2. What’s in your way?
We ran into an issue where the health of our elastic beanstalk instance was going from “ok” to “severe” when deploying the backend to AWS. After many hours of looking through logs and talking to the TAs, Caitlin was able to figure out our problem, which was that we needed to allow incoming traffic to our RDS database from any IPs.
3. What will you do next week?
Next week we will finish up this phase and start planning out what we need to work on for the next phase.
4. If you read it, what did you think of the Interface Segregation Principle?
Just like the past few technical readings we had, I learned more about bad code habits to avoid, and why to avoid them. The Interface Segregation Principle states that when designing classes, you should only inherit from other classes that you know you need to use, otherwise your code will become “fat”.
5. What was your experience of comprehensions, yield, closures, and decorators? (this question will vary, week to week)
Comprehensions are still very new to me, but Professor Downing does a great job of providing many cohesive examples to make it easy to learn. Comprehensions help build concise code that gets a lot done for just 1 line. I think I prefer splitting it up into multiple lines for readability, but I’m glad I’m learning this so I can understand comprehensions when I see them in other people’s code! Yield was pretty straightforward, and I’ll definitely need some more practice to fully get closures and decorators.
6. What made you happy this week?
What made me happy this week was making steady progress through the whole week, not having to stress about finishing phase two, fixing that issue I mentioned above, and getting an extension. I’m thankful my partners have been really hard working to get our project done on time so that we hopefully aren’t working crazy hours on the last day.
7. What’s your pick-of-the-week or tip-of-the-week?
My tip-of-the-week is to go to office hours and help sessions, and don’t be afraid to reach out to the TAs! Shout out to Sung and Alvin for spending nearly 2 hours with me trying to fix our issue, and Caitlin for eventually finding it. If you get stuck, chances are a group before has already run into the same issue, and the TAs are there for that.