CS373 Spring 2021: Week 7

What did you do this past week?

This past week I have been working on finishing Phase 1 of our Software Engineering project. I worked on setting up the website on Amazon Web Services, developing the home page, and helping finish up the About page.

What’s in your way?

Now that Phase 1 of our project is complete, we have resolved the problems we faced for that part. So, now we can move onto Phase 2. Since we haven’t started, we don’t have anything blocking us yet.

What will you do next week?

Next week, I have an exam in another class, but after my exam, I will work with my team on starting Phase 2.

If you read it, what did you think of the Open-Closed Principle?

Similar to last week's reading about SRP, I think the Open-Closed Principle is good to follow to avoid having to deal with changing code that already works. My understanding is that you should design your modules to be able to extend changes in requirements (design to be reused), but the working code should not have to be modified to account for new requirements.

What was your experience of iterators and reduce2? (this question will vary, week to week)

This past week in class, I learned that if an object is iterable that means it must have the __iter__ function defined. As opposed to using a for loop to iterate through a list, you can call the iter function on a list, and then call next on that iterator. I also learned that in Python, when you call the iter() function on an iterator, you get back that iterator:

foo = iter(my_list)

bar = iter(foo) # after this, bar is foo

In regards to the reduce2 function, it made sense to work through the Hackerrank question, and using the default parameter value to allow for more functionality. We did have to remember to guard against more variability in what the user passes into the function.

What made you happy this week?

This week was pretty busy with assignments and projects, but I got to escape my work and breathe some fresh air at Zilker and enjoy the beautiful weather outside. I also was happy that my women’s IM volleyball team won our game even though we were one player down. Oh, and the best part of the week was finally getting our hosting to work on AWS at like 9:50 pm.

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

My tip-of-the-week is to always double-check your URLs. When we were trying to deploy our website, we tried opening up the IP address that our EC2 instance was supposed to be deployed at using a link provided by AWS. What I didn’t know is that the link defaulted to opening the IP address with HTTPS but our site at that step was not set up to run on HTTPS. Once we discovered this we changed the URL to be HTTP, everything worked, and we were able to continue with deployment.



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
Jyoti Luu

Jyoti Luu

I am a senior at The University of Texas at Austin studying Computer Science. I am interested in Full Stack Development in web and mobile applications.