1. What did you do this past week?
This past week, I attended lectures as usual and learned operators and the reduce()
function in Python. Also, I have been busy with our team working on phase I of the large website project. Because of the past storm, we couldn’t really get together as a team until Saturday of this week where we finished the project proposal on natural disaster education and prevention. We got together again today to set up an URL from NameCheap
and made issues so that we are clear on what to do next week in order to finish up phase I.
2. What’s in your way?
I am very worried about this reactive website, especially since Dr. Downing claims that there’s an intentional disconnect from the lecture material and the tool chains we are supposed to implement in order to deploy and manage our site properly. That is, we are required to utilize bootstrap
as a CSS framework to deploy our website, AWS
or GoogleCloud
as manage our back-end data, and PostMan
to create a RESTful API so that our website can dynamically pull data from the back-end database. I have never used any of these tools and in general have very little experience dealing with front-end design in general, so I imagine it would be a tenuous process trying to master these over the course of the next few months. That, combined with the various exams coming next week, will sure prove a challenge that I need to preserve through.
3. What will you do next week?
Next week, hopefully me and my team will finish up phase I of the website, namely getting a static website deployed with hard coded data as well as a RESTful API designed and ready for implementation.
4. If you read it, what did you think of the Single Responsibility Principle?
The Single Responsibility Principle was one of the most concise yet powerful chapter that I have ever read. The article measured 6 pages in total, including large graphics, whole pages dedicated to introduction and bibliography, and an one-sentence thesis summary that serve as the ultimate takeaway. As the name suggests, the SRP states that classes should be designed with one responsibility in mind, and hence that responsibility should be the sole basis of change. The paper then went on to explain the more nuanced detail of quantifying just what a responsibility is (ie. responsibilities are valid only if they are practical and used) and reinforcing the principle with examples that highlight the dangers of a violated SRP. Throughout its short exposition, every bit of detail was focused with strictly no tangents and overall was an enjoyable read to keep in mind for future OOP tasks.
5. What was your experience of IDB1 and reduce? (this question will vary, week to week)
I have relatively few experience of IDB1 in that I have never implemented my own database before, but I have built a website (albeit using well established templates) of which this blog is currently hosted on. Albeit, everything on this website so far is static and thus do not pull data anywhere yet. Nevertheless, I have dealt with reduce()
before, particular in the R
language. In R
, reduce()
is often seen as a corollary to apply()
in that both methods ‘apply’ some function over the members of an iterable data structure, but they differ in that reduce()
outputs a single return value, whereas apply()
returns a data structure of input type with the same length. That is, apply()
really ‘transforms’ each element in the input with the parameter function, whereas reduce()
does as its name suggests, ‘reducing’ all elements in the input into one, using the parameter function.
6. How did you fare in the storm?
The storm was both a curve and a blessing. My house went without electricity the night of the storm, and without water the next morning. We had to pack some stuff and go live with a relative who magically didn’t lose power or water at all during the storm period (perhaps due to their proximity to a hospital) until this Monday. When we got back, there was a burst pipe. However, things took a turn for the better when we found out one of our kind neighbors had shut the water off for us in advance, so our house didn’t get flooded.
7. What made you happy this week?
The storm pushed all deadlines by a week, and I was able to just relax and take some personal time given times of no electricity.
8. What’s your pick-of-the-week or tip-of-the-week?
My tip-of-the-week would be to check out the scikit-learn
module in Python
. For anyone interested in Data Science, this package will contain essentially all that you will need for machine learning, including robust implementations of models such as RandomForest, NaiveBayes, kNN, SVM, just to name a few.