[{"data":1,"prerenderedAt":227},["ShallowReactive",2],{"post-2019-06-01-hackathon-10-free-your-mind":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"published":10,"summary":11,"draft":6,"image":12,"categories":13,"tags":16,"showAuthor":6,"authors":18,"showAuthorsBadges":6,"body":20,"_type":221,"_id":222,"_source":223,"_file":224,"_stem":225,"_extension":226},"/posts/2019-06-01-hackathon-10-free-your-mind","posts",false,"","[Hackathon #10] - Free Your Mind, with Code Nation and EMIS Health","This is the first hackathon I will be attending after becoming a co-founder of INEVITABLE. It was a great opportunity to discuss and develop an idea prior to the event, which is not something I usually get to do.","2019-06-01T23:00:00-00:00","Coming Soon","/2019-06-01-hackathon-10-free-your-mind.png",[14,15],"Technology","Hackathon",[17],"Watson",[19],"sean",{"type":21,"children":22,"toc":211},"root",[23,42,49,54,77,82,87,92,98,103,108,113,120,125,130,135,142,147,152,158,163,168,174,179,202],{"type":24,"tag":25,"props":26,"children":27},"element","p",{},[28,31,40],{"type":29,"value":30},"text","This is the first hackathon I will be attending after becoming a co-founder of ",{"type":24,"tag":32,"props":33,"children":37},"a",{"href":34,"rel":35},"https://twitter.com/weareinevitable",[36],"nofollow",[38],{"type":29,"value":39},"INEVITABLE",{"type":29,"value":41},". It was a great opportunity to discuss and develop an idea prior to the event, which is not something I usually get to do.",{"type":24,"tag":43,"props":44,"children":46},"h2",{"id":45},"initial-idea",[47],{"type":29,"value":48},"Initial Idea",{"type":24,"tag":25,"props":50,"children":51},{},[52],{"type":29,"value":53},"My initial idea was to create a platform for monitoring users' social media feeds to predict patterns and perform sentiment analysis. Given the time constraints of the one-day hackathon, it seemed like a reasonable project, even if I ended up working alone.",{"type":24,"tag":25,"props":55,"children":56},{},[57,59,66,68,75],{"type":29,"value":58},"The idea expanded when my co-founder, ",{"type":24,"tag":32,"props":60,"children":63},{"href":61,"rel":62},"https://twitter.com/Ben_Grubert",[36],[64],{"type":29,"value":65},"Ben",{"type":29,"value":67},", pointed out that one of the signs of suicide could be detected through this platform. According to a clinical article on ",{"type":24,"tag":32,"props":69,"children":72},{"href":70,"rel":71},"https://my.clevelandclinic.org/health/articles/11352-recognizing-suicidal-behavior",[36],[73],{"type":29,"value":74},"Recognizing Suicidal Behavior",{"type":29,"value":76},", sudden calmness after a period of depression or moodiness can indicate a person's decision to end their life.",{"type":24,"tag":25,"props":78,"children":79},{},[80],{"type":29,"value":81},"Ben also highlighted two other factors that could predict issues: water usage (how much a person drinks and showers/bathes) and electricity usage (indicating a person's circadian rhythm). Disruptions in these routines can be strong indicators of problems.",{"type":24,"tag":25,"props":83,"children":84},{},[85],{"type":29,"value":86},"This led me to envision a platform that leverages smart meters and social media to help caregivers detect issues and intervene at different stages before they escalate.",{"type":24,"tag":25,"props":88,"children":89},{},[90],{"type":29,"value":91},"The last discussion before the hackathon was about naming this platform. Ben came up with the idea of \"Caroline,\" which is an abbreviation of \"Carer Online.\"",{"type":24,"tag":43,"props":93,"children":95},{"id":94},"the-hackathon-day",[96],{"type":29,"value":97},"The Hackathon Day",{"type":24,"tag":25,"props":99,"children":100},{},[101],{"type":29,"value":102},"After some pleasantries and pastries, it was time for team building. Many participants came with pre-formed teams and had assigned tables. Those of us who came alone were initially grouped together into one large team of nine. However, I felt it would be more manageable to split into smaller teams.",{"type":24,"tag":25,"props":104,"children":105},{},[106],{"type":29,"value":107},"Unfortunately, the organizers then asked us to refine our ideas and share individual pitches within our groups. With nine people at the table, there were multiple ideas and a lot of \"this could be part of that\" discussions.",{"type":24,"tag":25,"props":109,"children":110},{},[111],{"type":29,"value":112},"To address this, I suggested that we either focus on a particular piece of technology, like an Echo Dot, and find a problem to solve, or we home in on a specific issue and develop a solution around it. I reiterated my idea, which left me with one other developer on my team, Kevin Thomas, who had experience with the Watson API.",{"type":24,"tag":114,"props":115,"children":117},"h3",{"id":116},"development",[118],{"type":29,"value":119},"Development",{"type":24,"tag":25,"props":121,"children":122},{},[123],{"type":29,"value":124},"Once we formed our team of two, we divided the tasks. I took on the front-end development to create a visually appealing user interface. Kevin built the necessary endpoints for me to retrieve data from Twitter and perform additional analysis on the text.",{"type":24,"tag":25,"props":126,"children":127},{},[128],{"type":29,"value":129},"After some time, I had a user interface that I was satisfied with, and I was successfully pulling Twitter data through a NodeJS server hosted on Heroku, using the Twit package. As we approached the pizza break, I decided to take a short coffee break before continuing.",{"type":24,"tag":25,"props":131,"children":132},{},[133],{"type":29,"value":134},"While having coffee, Kevin and I discussed the possibility of integrating a Watson chatbot that would send direct messages on Twitter or other connected social networks when it detected \"sudden calmness.\" This intervention mechanism would be especially useful during late-night hours when issues may arise while people are sleeping.",{"type":24,"tag":136,"props":137,"children":139},"h4",{"id":138},"spot-prize",[140],{"type":29,"value":141},"Spot Prize",{"type":24,"tag":25,"props":143,"children":144},{},[145],{"type":29,"value":146},"Shortly after pizza time, as I was reviewing the Swagger documentation Kevin had prepared, a spot prize was announced. This prize was given at a random time for a particular reason.",{"type":24,"tag":25,"props":148,"children":149},{},[150],{"type":29,"value":151},"To our surprise, it turned out that the spot prize was awarded to our team for our pizza handling techniques. We received a pair of Raspberry Pi 3 Model B+ as our reward.",{"type":24,"tag":114,"props":153,"children":155},{"id":154},"last-hour-of-development",[156],{"type":29,"value":157},"Last Hour of Development",{"type":24,"tag":25,"props":159,"children":160},{},[161],{"type":29,"value":162},"With only one hour left, I focused on integrating the API endpoints Kevin had created into the front-end using jQuery Ajax calls. Initially, I encountered an issue due to an oversight on my part.",{"type":24,"tag":25,"props":164,"children":165},{},[166],{"type":29,"value":167},"Fortunately, in the last 5-10 minutes, I managed to retrieve the data in JSON format, although it wasn't formatted as intended for the demo. I made a mental note to format it properly later.",{"type":24,"tag":43,"props":169,"children":171},{"id":170},"demo-time",[172],{"type":29,"value":173},"Demo Time",{"type":24,"tag":25,"props":175,"children":176},{},[177],{"type":29,"value":178},"Our development time came to an end, and it was time for the demos. Since there were several teams, it took a while, and we nearly exceeded the allocated time. Unfortunately, I had been so engrossed in development that I didn't have a proper slideshow prepared, covering specific use cases, the business case, and relevant statistics. It was definitely not one of my best pitches.",{"type":24,"tag":25,"props":180,"children":181},{},[182,184,191,193,200],{"type":29,"value":183},"Regrettably, we didn't rank in the top three, but we had fun throughout the event, especially after receiving the spot prize. I made modifications to the front-end ",{"type":24,"tag":32,"props":185,"children":188},{"href":186,"rel":187},"https://inevitable-team.github.io/caroline/",[36],[189],{"type":29,"value":190},"demo",{"type":29,"value":192},", ensuring the additional information from Kevin was formatted as originally intended. I also made the same repository public on ",{"type":24,"tag":32,"props":194,"children":197},{"href":195,"rel":196},"https://github.com/inevitable-team/caroline/",[36],[198],{"type":29,"value":199},"GitHub",{"type":29,"value":201},".",{"type":24,"tag":25,"props":203,"children":204},{},[205],{"type":24,"tag":206,"props":207,"children":210},"img",{"alt":208,"src":209},"Analysis","https://i.imgur.com/AGyGJ5O.jpg",[],{"title":7,"searchDepth":212,"depth":212,"links":213},2,[214,215,220],{"id":45,"depth":212,"text":48},{"id":94,"depth":212,"text":97,"children":216},[217,219],{"id":116,"depth":218,"text":119},3,{"id":154,"depth":218,"text":157},{"id":170,"depth":212,"text":173},"markdown","content:posts:2019-06-01-hackathon-10-free-your-mind.md","content","posts/2019-06-01-hackathon-10-free-your-mind.md","posts/2019-06-01-hackathon-10-free-your-mind","md",1779024903025]