{"id":233,"date":"2020-12-07T03:13:22","date_gmt":"2020-12-07T03:13:22","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/?p=233"},"modified":"2020-12-07T05:16:01","modified_gmt":"2020-12-07T05:16:01","slug":"yuhan-xiaos-status-update-for-12-5","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/2020\/12\/07\/yuhan-xiaos-status-update-for-12-5\/","title":{"rendered":"Yuhan Xiao\u2019s Status Update for 12\/5"},"content":{"rendered":"<p>Over the thanksgiving I decided to keep using NoSQL instead of switching to SQL databases.\u00a0The advantage of NoSQL is that it allows room for future development, e.g. if we want to create a \u201cbig ringtone\u201d &#8211; one long ringtone consists of 2-4 (original) ringtones (because one original ringtone is confined to up to 16 notes by Create2 Open Interface), is way harder if using fixed data schema in this case. It also allows us to change directions during our course of development with its dynamic schema. Besides, we don\u2019t need any advanced filtering or querying, e.g. the most \u201cadvanced\u201d filtering is probably filtering alarms by a specific user ID to get private alarm data of a user, other than that it is usually just \u201cget all ringtones\u201d or \u201cget all alarms\u201d.<\/p>\n<p>Deliverables completed this week:<\/p>\n<ul>\n<li>continued testing communication between Pi and web app\n<ul>\n<li>implemented a <strong>logging<\/strong> feature for myself to keep track of the messages sent from web app to Pi<\/li>\n<\/ul>\n<\/li>\n<li>implemented <strong>user login<\/strong>\n<ul>\n<li>users can now only view their own private alarms, but both public and their own private ringtones<\/li>\n<\/ul>\n<\/li>\n<li>implemented <strong>alarm deletion<\/strong>\n<ul>\n<li>tested by validating the logs after manually creating and deleting alarms<\/li>\n<\/ul>\n<\/li>\n<li>implemented <strong>ringtone deletion<\/strong><\/li>\n<li><strong>deployed<\/strong> website using pm2\n<ul>\n<li><span style=\"text-decoration: underline\">alive on\u00a0http:\/\/ec2-3-129-61-132.us-east-2.compute.amazonaws.com:4000\/<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Next Week:<\/p>\n<ul>\n<li>complete final video + report<\/li>\n<li>minor UI\/UX touch-ups<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Over the thanksgiving I decided to keep using NoSQL instead of switching to SQL databases.\u00a0The advantage of NoSQL is that it allows room for future development, e.g. if we want to create a \u201cbig ringtone\u201d &#8211; one long ringtone consists of 2-4 (original) ringtones (because one original ringtone is confined to up to 16 notes &hellip; <a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/2020\/12\/07\/yuhan-xiaos-status-update-for-12-5\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Yuhan Xiao\u2019s Status Update for 12\/5&#8221;<\/span><\/a><\/p>\n","protected":false},"author":348,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,1,6],"tags":[],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/wp-json\/wp\/v2\/posts\/233"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/wp-json\/wp\/v2\/users\/348"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/wp-json\/wp\/v2\/comments?post=233"}],"version-history":[{"count":4,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/wp-json\/wp\/v2\/posts\/233\/revisions"}],"predecessor-version":[{"id":237,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/wp-json\/wp\/v2\/posts\/233\/revisions\/237"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/wp-json\/wp\/v2\/media?parent=233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/wp-json\/wp\/v2\/categories?post=233"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/wp-json\/wp\/v2\/tags?post=233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}