Categories
CapstoneWeekly

Stray Birds

“Let life be beautiful like summer flowers and death like autumn leaves” (Rabindranath Tagore).

Before talking about the Capstone Project process this week, I want to share a little trick I found, using n&(n-1)==0 to check if n is either zero or the exact power of two. If this logical statement is equal to true, then n is 0 or the exact power of two, otherwise, it is not. And the principle of this is very interesting and simple. All the power of two can be represented in the form 1000……0000. If you subtract one from it, you will get 111……1111. Here we are going to use AND gate, the primary knowledge from any Electrical Engineer course. After AND these two binary numbers, you will get 0000……0000. Magically, the value which is not the exact power of two will give you a non-zero result after these operations.

For this week, sadly our team member Jarrod disappeared again in the second sprint meeting. After responding to our instructor, he has been moved out of our team. In the meeting, to help us better implement our web application this week, the Project owner provided two main function prototypes. These prototypes are simply implemented by HTML and JS code, which provides great instruction for the next development. It allows the sudden situation of attrition without delaying the schedule. We also started communication with the other team under the same project to prepare the integration of the two teams. The reassignment of the tasks of the departing team members and the addition of new integration tasks necessitated the need to rearrange the Kanban task boards.

After finishing weekly work, I found that it’s been four years since the last time I spent the New Year with my family. I am still studying abroad like a stray bird, which reminds me of a poem. I put it at the beginning of this blog to encourage myself.

Categories
CapstoneWeekly

Rest and Flask

After winter break, it’s time to go back to our Capstone blog! During this tough time, there are no friends gatherings, no travel, no delicious restaurants, but I have a clear understanding of the basic information of the Flask web framework during this break. Although I cannot say that I understand all aspects of Flask, I believe I have enough knowledge to find a solution when I encounter a problem.

Flask tutorial is a very novice-oriented Flask tutorial, and now I am very familiar with the application of view functions and templates after going through it. This makes the code refactoring of the project I am taking over now very handy. At the same time, I am also trying to communicate with my team members to ensure they have enough knowledge about Flask to complete this project.

In terms of data visualization, group members and I are using Plotly technology to implement this user story, but currently, we have encountered a problem. When trying to represent multiple dashboards on a single webpage, we found that we can only represent one. Now we are looking for more in-depth Plotly literature to expand our skill pool.

There are three main tasks I should complete by the end of next week:

  1. Refactoring code (especially HTML code) makes our code more concise and readable.
  2. Find a way to represent the data via multiple dashboards on the same webpage by using Plotly.
  3. Make sure everyone is learning the knowledge that contributes to this project.