CDOT

Posts imported from my old blog which I maintained during my 8 month co-op at CDOT at Seneca College.

CDOT - Time Zones Are Fun

Tags: CDOT

April 20, 2017

Comments

Today had a stressful start. I was planning on continuing to update our documentation to reflect our latest features, when our industry partner noticed that our data we collected had some huge discrepancies with the data from their Google Analytics (GA). After hours of troubleshooting, we determined it was not only a problem with GA and Rutilus not being in the same time zone (their GA is configured for PST, Rutilus is configured for UTC, no time zone at all), but the "date picker" GUI component we grabbed for our Dashboard tool was itself using a time zone.

CDOT - Features Done, Wrapping Up Documentation

Tags: CDOT

April 17, 2017

Comments

Over the last week, we completed a few more query types for our Dashboard tool. We were able to complete almost all the last minute requests for new queries we got from our industry partner. Unfortunately, one custom query would have been too complex for the time remaining. We're down to one week left, and it's just me, since my team mate has finished. Because he did most of the coding the past few months, while I focused on documentation and other similar efforts, it's difficult for me to implement something from scratch without his help. The custom query in

CDOT - Unit testing streamlined and documented, new landing page for project website

Tags: CDOT

April 07, 2017

Comments

By now, the end of the week, we've accomplished a lot to help polish what we created. We streamlined the unit testing by wrapping any commands needed to run them into "npm test". This helps a lot because some unit tests are in Mocha, a unit testing framework for Node.js, and some are pure Node.js, because they involve more complex logic where it wasn't clear to us right away how to use Mocha to do them. Project contributors can run "npm test" for any of our modules and it will automatically execute all unit

CDOT - New Database Schema, New Queries, Documentation Finished, Marketing the Project

Tags: CDOT

April 05, 2017

Comments

I apologize to anyone who follows this blog for the lack of updates. I had technical problems posting on WordPress but it seems to be working now. A lot has been done in the last few weeks. There are a few highlights of our work that I think are worth talking about. New Database Schema Previously, we were storing the information we collected in multiple "collections". MongoDB collections are very similar in concept to SQL tables. They're a logical way of separating documents that have clearly different roles. We had collections for: Hits - when someone visits a

CDOT - New Documentation Framework, Deleting My System Root, and Becoming One with JavaScript

Tags: CDOT

March 14, 2017

Comments

It's been a busy few days recently. There are a few things worth talking about. New Documentation Framework The first is that I've decided to switch gears in terms of how to present the documentation for Rutilus. Previously, we were using a custom solution by using React to make a Single Page Application (SPA) for the documentation. React makes doing UIs easier which is nice, and SPAs provide good performance, so these were pluses. This was probably better than just writing HTML and CSS by hand. However, when you roll your own solution, it's often hard to cover every base

CDOT - Studying for the Exam

Tags: CDOT

March 09, 2017

Comments

I may not be in class this semester, but it sure does feel like I'm studying for an exam. That's what doing the documentation feels like. It reminds me of reviewing the little details you learn over the semester to make sure you understand them and how they relate to the other details. I thought doing documentation would be a matter of writing a few blurbs explaining what we made and how it works. But most of the time has been consulting the source code and my team mate to remind myself how a feature works. And I finish the


Matt Welke

Software developer, open-source enthusiast, ramen lover