CS 371p Week of 22 Feb - 28 Feb
1. What did you do this past week?
This past week my partner and I worked on the Voting project and managed to pass the HackerRank test cases. I also worked on wrapping up my Networks project with my partner and finally after four weeks of working on it, turned it in on Canvas. I am currently preparing for my Algorithms exam tomorrow.
2. What's in your way?
Right now I have a lot of pre-class exercises I have to complete for Networks, along with Perusall readings that still need to be done for that class. My partner and I for this class also need to finish wrapping up our project submission by generating documentation and running other people's acceptance tests.
3. What will you do next week?
This upcoming week I will be taking my first Algorithms exam. I will also be starting on my new project for Networks, which has to do with HTTP proxies. My partner and I also need to finish the Voting project and turn it in on Canvas. This upcoming weekend I might also drive back to Austin to visit.
4. What did you think of Single Responsibility Principle?
I thought it was interesting to take breaking classes down one step further into individual responsibilities. In my head I'm used to thinking of classes as something that can handle a multitude of tasks, but breaking down the classes further can be useful to make sure you don't have complications later down the line. The modem example was interesting since I just did a Networks project that deals with establishing connections across a network and then doing a bunch of tasks, so I wonder how I could have applied the Single Responsibility Principle to that project.
5. What was your experience with Voting and consts?
My experience with Voting is more clear now that we walked through an example in class from the quiz. As for constants, I was only used to seeing them refer to final ints or chars, and the idea of constant pointers was very new to me, but I understand how they can be useful now.
6. How did you fare in the storm?
I was lucky enough to have WiFi the whole duration of the storm since I was staying with my boyfriend in West Campus and for some reason the power and internet did not cut out for his apartment complex. Our water supply got shut off at some point, but only for a few hours. Walking around campus in the snow was an experience I won't soon forget.
7. What made you happy this week?
Getting to work on Voting with my partner was really fun! I'm lucky to have a partner like him.
8. What's your pick of the week or tip of the week?
My pick of the week is event loops. Event loops make it so that in a normally multi-threaded program, instead of creating new threads to handle certain tasks, you can create an event loop that can call a callback function once an event occurs. The downside is that event loops can be slower than a multi-threaded program since tasks don't run concurrently, but you can save more memory space.
Comments
Post a Comment