<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jordan Theriault on Medium]]></title>
        <description><![CDATA[Stories by Jordan Theriault on Medium]]></description>
        <link>https://medium.com/@jordantheriault?source=rss-eea4039e89e1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*LumpqaCdVd_5_zgy.jpg</url>
            <title>Stories by Jordan Theriault on Medium</title>
            <link>https://medium.com/@jordantheriault?source=rss-eea4039e89e1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 21:17:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jordantheriault/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to Test a Node (npm) Package Locally]]></title>
            <link>https://javascript.plainenglish.io/how-to-test-a-node-package-locally-8dde33e642df?source=rss-eea4039e89e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/8dde33e642df</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Jordan Theriault]]></dc:creator>
            <pubDate>Fri, 09 Apr 2021 19:15:38 GMT</pubDate>
            <atom:updated>2021-04-13T11:47:41.296Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UhREoo0axwA-zgwfAw3NIQ.png" /></figure><p>You can develop a node package locally and publish it to npm. But what if it’s a component that you’d like to test by importing into a local project? I’ll go through two methods for doing it.</p><h4>Sections:</h4><ol><li>The easy answer (npm link).</li><li>Troubleshooting the easy answer.</li><li>Uninstalling the easy answer.</li><li>The hard answer (tarball file).</li><li>Troubleshooting the hard answer.</li><li>Uninstalling the hard answer.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gi2z4Nblas1oieIs" /><figcaption>Photo by <a href="https://unsplash.com/@daniel_von_appen?utm_source=medium&amp;utm_medium=referral">Daniel von Appen</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>1. The easy answer</h4><p>Let’s say we have a package called cool-components and you wanted to change these components, but want to test them within a project called <strong>my-project</strong>.</p><ol><li>Inside cool-components, type npm link.</li><li>Inside my-project, type npm link cool-components.</li></ol><p>If the package needs building, you may need to run a build step each time you want your changes reflected.</p><h4>2. Troubleshooting the easy answer</h4><p>Symbolic links don’t always work well if you’re using something like webpack to build your package. In this case, you may need to add to your webpack configuration:</p><pre># webpack.config.js<br>module.exports = {<br>    resolve: {<br>        symlinks: false<br>    }<br>};</pre><h4>3. Uninstalling the easy answer</h4><ol><li>In cool-components, type npm unlink.</li><li>In my-project, type npm unlink cool-components.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*o94MFhxpGg_XuNl3" /><figcaption>Photo by <a href="https://unsplash.com/@brandablebox?utm_source=medium&amp;utm_medium=referral">Brandable Box</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>4. The hard answer</h4><p>When you install a node module from npm, you’re actually installing a tarball of the package. You can recreate this process with a few extra steps. Because you’re packaging the project each time, you will need to repeat this step every time you want the changes to appear, and re-install the particular package.</p><p>Let’s say you have a package called cool-components and want it inside my-project locally.</p><ol><li>Inside cool-components build your package if you are using something like webpack.</li><li>Inside cool-components type npm pack to create a tarball.</li><li>Inside my-project edit package.json and change the line where your project imports the package to the file. You can place this file anywhere on your computer.</li></ol><pre>{<br>  &quot;name&quot;: &quot;my-project&quot;,<br>  &quot;dependencies&quot;: {<br>    &quot;cool-components&quot;: &quot;file:../cool-components/cool-components.tgz&quot;<br>  }<br>}</pre><p>4. Type npm install or npm update cool-components to make sure you have the latest copy.</p><p>Alternatively, you can also type npm install cool-components.tgz.</p><h4>5. Troubleshooting the hard answer</h4><p>Sometimes, your changes may not update. This could be due to package-lock.json. Simply delete the entry for cool-components from your package-lock.json or delete the file altogether and type npm install.</p><h4>6. Uninstalling the hard answer</h4><ol><li>In my-project type npm uninstall cool-components.</li><li>In my-project ensure the line is removed in package.json.</li></ol><p>And that’s all you need to test your npm package locally! Hope this article was helpful.</p><p><em>More content at </em><a href="http://plainenglish.io/"><em>plainenglish.io</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8dde33e642df" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/how-to-test-a-node-package-locally-8dde33e642df">How to Test a Node (npm) Package Locally</a> was originally published in <a href="https://javascript.plainenglish.io/">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Gatsby vs. NextJS: Static Site Generation Shootout]]></title>
            <link>https://javascript.plainenglish.io/gatsby-vs-nextjs-static-site-generation-shootout-65198d80e1c?source=rss-eea4039e89e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/65198d80e1c</guid>
            <category><![CDATA[gatsbyjs]]></category>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[static-site-generator]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Jordan Theriault]]></dc:creator>
            <pubDate>Fri, 19 Mar 2021 14:18:18 GMT</pubDate>
            <atom:updated>2021-04-09T19:14:00.422Z</atom:updated>
            <content:encoded><![CDATA[<h3>Gatsby vs. Next.js: Static Site Generation Shootout</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*exTn0nA0-13w4Jaa" /><figcaption>Photo by <a href="https://unsplash.com/@hermez777?utm_source=medium&amp;utm_medium=referral">Hermes Rivera</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Despite the pandemic, <a href="https://nextjs.org/blog/next-9-3">2020 was a big year for Next.js</a>. They released static site generation (SSG) support, added preview mode, and even made syntactically awesome style sheets (SASS) support baked-in. Adding to its capabilities, Next.js is now the most flexible front-end framework and is a breeze to code thanks to being built on React. You get access to JSX, hooks, and a massive library of modules.</p><p>But a hard-to-answer question still plagues me: is it the best option for static site generation at its current stage? Is it worth the gamble to switch from a different platform and adopt? What does the future hold for the area of front-end development? I wanted to find out.</p><p><a href="https://www.gatsbyjs.com/"><strong>Gatsby</strong></a><strong> and </strong><a href="https://nextjs.org/"><strong>Next</strong></a><strong> are the two most exciting names in SSG right now. They’re both react-based. They both have large communities. But what one should you choose?</strong></p><h3>What is static site generation?</h3><p>The concept of static sites should be familiar to most programmers. This concept has come full-circle since the inception of simple websites hosted on a webserver. They don’t actively connect to a database and don’t have the ability to update with the latest content while the user is performing actions. All the information is loaded into the user&#39;s browser upon request. You can perform actions with the information already loaded into the browser, handle routing, hide and show information.</p><p><strong>Unlike static sites of the past, these websites can now be triggered by a hook to re-build. Each time the site re-builds, you can make a call to a content management system and fetch the relevant information to populate pages.</strong></p><p>In contrast, dynamic websites allow user interaction and can display different information based on this interaction. Dynamic websites are best for applications that involve calculations, heavy UI elements, and time to deliver data is important. Most websites we interact with in the modern era are dynamic websites. They connect to an API to fetch data, handle state, and update on the fly. Spotify for desktop is just a dynamic javascript website wrapped in <a href="https://www.electronjs.org/">electron</a>.</p><p>Dynamic websites are expensive to host and can pose a security risk due to the connected nature of it’s design. When possible, it&#39;s always a better idea to create a SSG website for simplicity, maintainability and cost. You can even take it one step further and incorporate serverless functions (lambda functions) that can handle something like a “Contact Me” form from a SSG website, without needing to create a server in order to handle this data submission.</p><h3>Similarities</h3><p>It’s impossible to escape the facts: these technologies are both javascript, react, node-based frameworks. Like a goldfish to a human, they share a shocking amount of DNA. While the paradigms do change slightly between platforms (Gatsby has a lot more “magic” involved) programming is largely the same for components.</p><p>I’m a fan of typescript, a javascript type-safe language. However, unlike Angular, both Gatsby and Next do not natively support it. In fact, while mostly possible to convert Gatsby over to typescript with little effort, you will always need to have at least gatsby-config.js in order for the application to work, though you can covert all the other Gatsby-isms into typescript using a package. Next on the other hand is able to fully convert into typescript which helps to ease my need for organization when programming.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fnpmcharts.com%2Fcompare%2Fgatsby%2Cnext%3Fminimal%3Dtrue&amp;dntp=1&amp;display_name=npmcharts&amp;url=https%3A%2F%2Fnpmcharts.com%2Fcompare%2Fgatsby%2Cnext&amp;image=https%3A%2F%2Fnpmcharts.com%2Fchart-image%2Fgatsby%2Cnext.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=npmcharts" width="700" height="500" frameborder="0" scrolling="no"><a href="https://medium.com/media/4d77aac405afbd77de3aba06c0bb6034/href">https://medium.com/media/4d77aac405afbd77de3aba06c0bb6034/href</a></iframe><p>As seen in this comparison chart, Gatsby has less than half the downloads from npm. However, I think this speaks to the fact that Next.js is more versatile and has been a popular client-side and server-side framework.</p><h3>Gatsby</h3><figure><img alt="Gatsby logo and font; white G in a purple circle beside the text “Gatsby”" src="https://cdn-images-1.medium.com/max/1024/1*-jirMKm4q7Sh_4wLf7hs7w.png" /></figure><h4>Pro</h4><p>First introduced in 2015, Gatsby has become the best way to spin up fast, resource-light websites that can be hosted statically. It comes with a great library of plugins that allow you to source data, handle images and icons, provide offline support, easily add typescript support, google analytics, and the list goes on. Simply npm install the package and add it to your gatsby-config file. Minimal effort for near-endless possibilities. Whether you are angling to create a portfolio website, blog, or e-commerce store.</p><p>In addition to this plethora of community and Gatsby-made plugins, there is a sizeable community behind Gatsby that has been focused on static site generation for a long time. Support for specific issues or supporting your headless CMS of choice is merely clicks away. This means you need to spend less up-front time interfacing with common services.</p><p>Additionally, you most platform as a service (PaaS) providers have documentation for setting up a Gatsby project. In fact, <a href="https://www.gatsbyjs.com/cloud/">Gatsby Cloud</a> is even an option for hosting your new application. Because Gatsby in production is pure static, it can be run serverless which can be significant savings on server costs.</p><h4>Con</h4><p>Gatsby is opinionated, and you better like using GraphQL. While I think GraphQL is incredible, <em>don’t tell me what to do</em>. Gatsby is built around the concept of GraphQL being the heart of the data source, and while you can add different sources like gatsby-source-rest-api, it’s deviating from the prescription.</p><p>Outside of SSG, Gatsby lacks flexibility as a platform. Because it’s purely SSG-focused, you need to determine if your website will ever use dynamic functionality. While serverless functions can bridge this gap to a degree, you better be sure of the future of your application. In order to add robust dynamic functionality, you would need to use a dated solution like using iframes.</p><h3>Next</h3><figure><img alt="Next.js logo; plain black pointy text on a white background" src="https://cdn-images-1.medium.com/max/300/0*bK3KGa0T0RqkaddF.png" /></figure><h4>Pro</h4><p>Recently SASS was made standard in the platform. While programming in plain CSS is still possible, it does mean that Next is now opinionated out of the box. I think in this case, bundling SASS is a strong move that few people would change aside from those that prefer alternative CSS pre-processors like Emotion.</p><p>Next has also recently started adding features to compete with Gatsby such as a preview mode that practically is easier to manage and runs on express. In addition, they have &lt;Image /&gt; which allows you to optimize images similar to the common “blur-up” and “svg-drawn” features. These ensure that even though some images may take longer to load, there is a suitable placeholder that will be near-instant while the full image loads.</p><p>Further, and perhaps most importantly, to get the maximum effect from Next.js, it needs to be the server that generates and serves up the static pages. While it also provides the ability to export like Gatsby’s method is, this is a strong feature that allows you to create a hybrid experience. Both static and dynamic sites can live on the same server.</p><h4>Con</h4><p>Next as a framework, in general, was introduced in 2016. Static site generation was added in 2020. By contrast, Next is in its infancy when compared to Gatsby.</p><p>While Next.js has a large community and a large number of downloads, its progress is splintered into three camps: Static site generation, client-side rendering, and what it’s best known for: server-side generation.</p><p>Perhaps the biggest con for developers starting out is cost: it simple costs more to host a server rather than hosting on a serverless model. While it’s possible to export a Next.js project so it’s fully static, you lose some of the better features it provides. Next.js simply prefers to build and serve itself. That comes at a price.</p><h3>Verdict</h3><p>Your mileage may vary, but on a project that needs to think of the future and Next is the best bet when it comes to selecting a framework that will stand the use and abuse of a fast-moving tech team. Not being as opinionated and having options when it comes to rendering, I find Next is the clear winner. Although Next’s user base is split between static site generation, client-side and server-side rendering we are seeing exciting additions to the SSG portion. With more than double the userbase I predict that Next SSG will soon be widely adopted by hosting providers, CMS providers, and tutorial websites.</p><p>While Gatsby provides a plethora of documentation, community, plugins, and support from a wide variety of providers, its less flexible nature means it has a limited audience. As much as I don’t want to compare the non-SSG features, I can’t help but see them as an asset in Next’s favour. I don’t see Gatsby going away, but I do think Next will take over as the premiere SSG framework.</p><p><strong>My caveat</strong> here is if speed and cost to develop are important to you: Gatsby has a lot more plugins and existing support to quickly get you up and running. For small and personal projects, Gatsby is a fantastic choice to very quickly build and template blogs, portfolio sites, small company vanity sites and other similar products. For a more mature product with a cross-functional team that can afford the up-front time cost, Next is the best choice.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=65198d80e1c" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/gatsby-vs-nextjs-static-site-generation-shootout-65198d80e1c">Gatsby vs. NextJS: Static Site Generation Shootout</a> was originally published in <a href="https://javascript.plainenglish.io/">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mental Health and Leadership]]></title>
            <link>https://medium.com/swlh/mental-health-and-leadership-50033e003ab2?source=rss-eea4039e89e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/50033e003ab2</guid>
            <category><![CDATA[covid19]]></category>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[software-development-team]]></category>
            <category><![CDATA[human-resources]]></category>
            <category><![CDATA[mental-health]]></category>
            <dc:creator><![CDATA[Jordan Theriault]]></dc:creator>
            <pubDate>Tue, 26 Jan 2021 22:56:13 GMT</pubDate>
            <atom:updated>2021-01-28T16:22:48.604Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9pO4PANi56mVn4CR" /><figcaption>Photo by <a href="https://unsplash.com/@jaysung?utm_source=medium&amp;utm_medium=referral">Jehyun Sung</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Mental health has been a more visible topic over the years, with a new generation focusing on the merits of a stable support system in order to curb the rampant mental health issues that society is becoming more aware of. Although it’s likely these mental health issues have always existed in our society and most poignantly to this conversation, our workplace, we are still far from the utopic future of chatting about mental health openly in our workplaces and easily accessing psychological help.</p><p><a href="https://www.cambridge.org/core/journals/the-british-journal-of-psychiatry/article/mental-health-and-wellbeing-during-the-covid19-pandemic-longitudinal-analyses-of-adults-in-the-uk-covid19-mental-health-wellbeing-study/F7321CBF45C749C788256CFE6964B00C">COVID-19 has also made us more susceptible to mental health illness and reports show that this issue is only growing</a>. Days ago as of writing this, <a href="https://www.thestar.com/news/gta/2021/01/22/the-levels-of-stress-and-anxiety-at-the-ttc-have-reached-a-breaking-point-says-union-president-after-bus-driver-jumps-onto-tracks.html">a Toronto Transit Commission employee attempted to take their own life</a> due to a mental health crisis. This is the result of a boiling point that essential workers are facing and needs to be addressed.</p><p><strong>However, for this article, I’ll be focusing on non-essential workers.</strong> These home-office workers are facing a strange juxtaposition as of late: safe at home, yet trapped at home. Work and home life meld together in a cacophony of slack and teams notifications, children crying with frustration because they are home, daily updates on death tolls and a chime of a doorbell when Amazon packages and Uber Eats are delivered without contact. <strong>What can leaders do to ease this burden, and what can employees do to ensure they find jobs that offer the best chance for their wellbeing?</strong></p><h4>Research health resources provided by your employer and community</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*j-amnJH3vvCaeHE-" /><figcaption>Photo by <a href="https://unsplash.com/@homajob?utm_source=medium&amp;utm_medium=referral">Scott Graham</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>For the healthy, benefits are rarely at the front of mind. However, it can benefit anyone to understand what’s included in their benefits package at work. When it comes to a crisis for you or a coworker, these tools are invaluable.</p><p>Does your package provide coverage at a certain percentage for psychotherapy and physiotherapy? Is there a yearly or lifetime maximum amount? Does it provide easy access to online help? Who can an employee call if they are having a crisis?</p><p>If these company-provided resources are lacking, community resources can be leaned on. Research help groups, affordable doctors, online or over the phone medical lines, and therapists can be essential to providing employees help when the company at large fails.</p><p>If your company isn’t providing adequate mental health resources start a dialogue about it.</p><h4>Have Open Dialogue About Mental Health</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bjwR7dPRiuCPbW0S" /><figcaption>Photo by <a href="https://unsplash.com/@cwmonty?utm_source=medium&amp;utm_medium=referral">Chris Montgomery</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Talk about mental health in team meetings, and keep your door open. While it’s not a leader’s job to be a therapist or psychologist, it can help your team by being present and available. Let them know you care about their mental health as well as their physical well-being. Help connect your team with the help they need and talk about resources at these meetings. While it helps to share your own struggles, it’s not required. Just knowing that you are open to talking about mental health can mean the world to someone struggling.</p><p>For employees, asking mental health to be a topic in a team meeting or lunch and learn is a great way to open up this dialogue. Consider talking with your peers and checking in. Being in a state of remote work</p><h3>Mental Health Days are Sick Days</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*owi16ZUgwZDI1m0d" /><figcaption>Photo by <a href="https://unsplash.com/@dariusbashar?utm_source=medium&amp;utm_medium=referral">Darius Bashar</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Being open with your team about how they don’t need to explain why they’re not feeling well. There is still a stigma when it comes to taking mental health days and letting your team know you have this value will encourage them to be honest with you, but in contrast, it becomes your job to be non-judgemental.</p><p>Mental health is not a barometer that impacts people equally. People have different thresholds, and understanding that something may be more impactful on others can help us better accept mental health days.</p><p>While I don’t advocate for people taking advantage of sick days, encouraging mental health days can help positively impact productivity by mitigating crises and making sure people can take a break to recharge during these times of high stress.</p><h3>Family</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_3ntGp8BZSdC-iGe" /><figcaption>Photo by <a href="https://unsplash.com/@jimmydean?utm_source=medium&amp;utm_medium=referral">Jimmy Dean</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Being productive is difficult when you are worried about a family member. Children being home, partners experiencing job loss, caring for elderly family members and more were unexpected situations that came out of quarantine.</p><p>Lieu time or flex time is a great way to deal with this situation. While someone may need to help their children get set up for school in the morning, and someone else may need to go to the grocery store at unusual times.</p><p>Allow employees the flexibility to make up for this time so they both feel productive and the ability to care for their home needs.</p><h4>Ergonomics; physical health can impact mental health</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Cvb0dkgl3l5hCBQV" /><figcaption>Photo by <a href="https://unsplash.com/@uneebo_office_design?utm_source=medium&amp;utm_medium=referral">Uneebo Office Design</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Home offices are new to a lot of the workforce. Offices are designed to cater to our unique ergonomic needs and it has always been a given. If possible, subsidize home office equipment for employees. Give suggestions on affordable home office equipment and encourage employees to carve out a workspace at home.</p><h4><strong>By reading this you’ve already taken the first step towards approaching mental health in the workplace.</strong></h4><h4>Leadership, open dialogue and understanding, and access to proper care are how we are going to minimize damage to mental health with our at-home employees. The reduction of communication, physical coworking, familial stress, and the current world events take a toll on us all. Let&#39;s talk about it.</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50033e003ab2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/mental-health-and-leadership-50033e003ab2">Mental Health and Leadership</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Software Developers Can Learn From Game Studio SuperGiant]]></title>
            <link>https://medium.com/swlh/what-software-developers-can-learn-from-game-studio-supergiant-bc2b8c67e7ca?source=rss-eea4039e89e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc2b8c67e7ca</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[gaming]]></category>
            <category><![CDATA[leadership]]></category>
            <dc:creator><![CDATA[Jordan Theriault]]></dc:creator>
            <pubDate>Tue, 29 Dec 2020 14:03:16 GMT</pubDate>
            <atom:updated>2020-12-30T21:09:22.334Z</atom:updated>
            <content:encoded><![CDATA[<p>Software, whether it’s a word processing application, a to-do list on a website, a complicated business intelligence tool or video games, all share a lot in common. We have varied disciplines coming together: developers, designers, writers, and business analysts and more that need to function together in order to achieve a goal. While the goals may differ, for example, the user experience may change between a web form application for filling out lengthy government tax returns versus a blood-pumping rouge-like video game, how we approach this process and work together is common. We can learn a lot from analyzing companies whose end-product differ from our own and investigate best-practices that can</p><figure><img alt="Supergiant games logo" src="https://cdn-images-1.medium.com/max/250/0*FrdWzL6-AnwaiW9R" /><figcaption>Copyright Supergiant Games</figcaption></figure><p>Supergiant Games are award-winning game developers, founded by a few former EA employees. Their first title Bastion was created by 7 people in 2011. <a href="https://en.wikipedia.org/wiki/Bastion_(video_game)#Awards">This game won awards in visual art, game audio, downloadable title, and more</a>. They subsequently released Transistor (2014) and Pyre (2017). As of December 2020, Supergiant’s team has grown to 16 people, and their turnover is almost non-existent over these nearly 10 years of growth. Many of the employees voice characters in addition to their normal work and in addition, many of these employees wear several hats. While in a large company people are focused on a specific task, the employees at SuperGiant take on work outside their core competency. The company took a risk with their latest game, launching it in early access and keeping track of player feedback and bugs throughout the year. Hades is a masterpiece and is a frontrunner for many game awards this year, likely to beat out many expensive AAA titles. With just a core team of 16 people.</p><p><a href="https://www.youtube.com/watch?v=JzyE9hi912c">The noclip documentary entitled “Developing Hell”</a> is a window into this game studio. I encourage you to watch the multi-part crowd-funded documentary. The success both with their staffing and ability to turn out incredible content warrants a case-study.</p><figure><img alt="Screenshot of the game hades, with dialog by main character Zagreus talking to his father Hades" src="https://cdn-images-1.medium.com/max/1024/0*djWgc5o5NlqXt98u.png" /><figcaption>Hades, Copyright Supergiant Games</figcaption></figure><h4>How can non-game developers follow this example of a company that has a great deal of success, wins awards, maintains a small team, and has little employee turnover? How can people in a company with a larger scale incorporate the ideas?</h4><p><strong>No emails on weekends and holidays.</strong> Amir Rao in the documentary mentions that the team takes breaks seriously. Despite being close to their release, he says the team is taking Thursday, Friday and the weekend off where they don’t do emails. I know a lot of people reading this will find it hard to believe. But even having access to something simple like email, where the messages are more formal than an application like slack, can take away from rest time. Modern work culture has increased our ability to stay connected, even after traditional work hours. This is both to our benefit and demise. The lines are blurring between home life and work from home life. Burn-out happens in all industries but especially affects industries where you can easily work from wherever you are. Being a stickler for a strong work-life balance can improve your team’s long-term trajectory.</p><p><strong>Having a culture of being open to saying you don’t know something.</strong> When asked if she knows how to do a specific task, Paige Carter the employee taking over primary 3D modelling tasks, Carter admits she doesn’t know how to perform the task. What I take away, is in a room with her colleagues and the owners of the company, she doesn’t fear retribution for not knowing something. This is a culture that helps people grow.</p><p><strong>User testing is key.</strong> Game developers have a big benefit of being able to watch streamers. As Rao says, they give unedited feedback and walk you through their thought process. For a more traditional business, we can achieve this with stakeholder and formal user testing. Creating an environment that you can share for feedback and deploying the latest build can be a key way of fine-tuning your applications.</p><p><strong>Iterate constantly.</strong> While it’s important to fight fires and fix important bugs within an application, iterating is important. By being comfortable with scrapping things completely or setting aside time to improve on a core system that won’t have any visible impact on the users you will create more stability for the team to grow. Being a one-and-done team or handing a product off is not indicative of a quality product or a growth/learning mindset.</p><p><strong>Set aside time to test your own application.</strong> Everyone in the studio is expected to test out the game and provide feedback on how it’s playing. While QAs are incredibly important to shipping software, they often become so accustomed to using the application things can be missed. By having a variety of the team constantly trying it out and providing feedback, this can give a much more holistic view while not taking away from the QA’s job.</p><p><strong>Encourage “creative chemistry” between disciplines.</strong> While sometimes a decision needs to be made, often making unilateral decisions about a product will alienate the rest of the team and not include other opinions. We can see this in the second installment of the noclip documentary when we sit in on a session with the core team discussing the gun weapon the character uses. The team needs to decide on the animations for the character and two opposing views present themselves. Through bringing in different disciplines and having open discussions the team settles on a very fluid animation in the final product.</p><p><strong>Planning is important, but changing plans is okay.</strong> The Hades team didn’t expect the amount of people who would play their game while in early access. However, they had planned releases for the entire year and had content planned that might just keep players coming. Instead of waiting, they decided to release the content earlier. By switching out their releases they were able to quickly pivot and deliver exactly what the users wanted to keep the game fresh.</p><p><strong>There are many more lessons to be learned from successful game studios that can be applied to the world of software and web development.</strong> While this gaming industry is rife with its own issues, in particular gender discrimination and “crunch”. Many companies, notably Naughty Dog and EA have been criticized for their poor handling of these issues. But thankfully there are many smaller studios that are paving the way for the future of development. These studios are the ones we should keep watching and celebrate. Lessons I’ve learned from Supergiant Games will be infused with how I run my front-end development team.</p><h4>Congratulations to SuperGiant for winning Indie Game of the Year for Hades.</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc2b8c67e7ca" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/what-software-developers-can-learn-from-game-studio-supergiant-bc2b8c67e7ca">What Software Developers Can Learn From Game Studio SuperGiant</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Can I Program on My Gaming Rig?]]></title>
            <link>https://medium.com/swlh/can-i-program-on-my-gaming-rig-f083a6f5cca7?source=rss-eea4039e89e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/f083a6f5cca7</guid>
            <category><![CDATA[gaming]]></category>
            <category><![CDATA[dual-boot]]></category>
            <category><![CDATA[virtualization]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[home-office]]></category>
            <dc:creator><![CDATA[Jordan Theriault]]></dc:creator>
            <pubDate>Thu, 24 Dec 2020 20:31:18 GMT</pubDate>
            <atom:updated>2020-12-26T08:51:28.721Z</atom:updated>
            <content:encoded><![CDATA[<p>Not long ago I built a gaming PC and love my gaming setup. It’s powerful and can run most modern games. I’m running an intel i7 7700k @4.2GHz with 8 cores, 32 gigs of ram, and an NVIDIA GTX 1070 video card. I have razer peripherals with a nice, clicky mechanical keyboard. I have studio monitors for audio and two 27&quot; monitors that are stacked and make me feel like I’m in Minority report or a hacker from Criminal Minds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mWCdX9kLdkdjGug5" /><figcaption>Photo by <a href="https://unsplash.com/@cbpsc1?utm_source=medium&amp;utm_medium=referral">Clint Patterson</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>On top of this likely unnecessary gaming rig, I run Windows 10. Nearly every video game is compatible with Windows so it’s required if you’re a gamer. Although software like Proton, Steamplay and Parallels have bridged huge gaps in being able to game on Unix-like based operating systems, many competitive games still require anti-cheat software that is difficult to run on a compatibility layer. A prime example is Valorant, which needs ring zero access to run its Vanguard anti-cheat.</p><p>While I’m programming at home, I wanted the ability to use my desktop despite my primary operating system being Windows. I primarily program in Javascript with NodeJS as my runtime. If you’re programming in Java or ASP.NET you should be just fine on a Windows operating system. However, it’s limiting if you want to venture into different languages and frameworks.</p><p>I have historically used Atom as my IDE along with Postman, Robomongo, Git, Docker, and a variety of other tools to aid in my dev work. All of these applications work fine on Windows. Git-bash tends to be the primary terminal I use when programming on windows. There is also a bash terminal via the Windows Subsystem for Linux. But I don’t find any of it feels right. It feels, and rightly so, like a shim that bridges the gap between windows and a Linux environment. It lacks that ease of use that comes with the native feel of OSX or a Linux distro.</p><p>Further, I often find that mixing work and play isn’t a good environment. Having a separate, programming-only environment seems to help my productivity.</p><figure><img alt="Virtualbox logo, a cube with “ORACLE” and “VirtualBox” on two of the panels" src="https://cdn-images-1.medium.com/max/140/0*VGc_GKZY3qtGxnvR.png" /><figcaption>Oracle VirtualBox</figcaption></figure><h3>Virtualbox provides a seamless way of switching between work and play but comes with trade-offs.</h3><p>Initially, I used <a href="https://www.virtualbox.org/">VirtualBox</a> to bridge this gap. Since my computer is powerful, it had few problems running a virtual machine with Ubuntu on it. For optimal performance it took some tweaking, configuring and reading some guides for how to set up the environment. This let me quickly jump between my life in Windows and Linux.</p><p>Running a VM is a resource hog. Since you are running an operating system within an operating system, it’s bound to affect performance regardless of how powerful your computer is.</p><p>Although this configuration gave me a good experience that let me seamlessly go between work and play, there were often times when the VM would struggle and freeze for seemingly no reason (except that time I may have left several hanging processes and one time I made an infinite loop by accident. Oops!).</p><p>If you have a powerful computer but lack a spare drive or want to avoid booting between operating systems, VM is a great option for you. But if you care about performance and want to carve out dedicated work space, dual-booting can be a much more effective method.</p><h3>Dual-booting can provide a dedicated work-space, have a more native and performant experience with little trade-off.</h3><p>I wanted a better experience and decided to dual-boot because it fit my needs. My copy of Windows 10 runs on an SSD that connects via SATA. This hard drive is mercifully fast at booting so it’s quick to jump to load up my computer. I decided for similar performance reasons to add an m2 SSD which provides some of the fastest boot times on the market. This isn’t necessary, but I think it’s nice to have operating systems on an SSD to make your life easier. This way, switching between operating systems is not painful. If you’re running on a limited budget, try buying a smaller SSD that can fit your operating system and essential applications and pair it with an older hard drive. When an application is running it’s mostly sitting in RAM, so a hard drive will only impact the initial accession or booting of an application.</p><p>I initially installed PopOS but I ran into difficulties with boot time. Even on an m2 SSD, it was taking minutes for the operating system to load. I decided to go with Ubuntu, a nice and stable distro that rarely gives me issues in the past. I’ve tried a lot of other distros (versions of Linux) but I have always gone running back to Ubuntu.</p><p>While dual-booting can be frustrating, with minor inconveniences like needing to select the OS you want on GRUB loader, there have been a lot of improvements to be able to game from Linux. As mentioned earlier, Proton can allow you to play many games from your Linux boot, with minor performance issues. GoG, run by the now infamous CD Projekt Red also maintains Proton and so all their games run well on the platform. While CyberPunk 2077 still has it’s issues in the best of scenarios, The Witcher 3: Wild Hunt is extremely stable.</p><h3>Choose applications that work on every platform and are stable.</h3><p>For applications, my usual mostly works. Using Snap or Ubuntu Software I installed Visual Studio Code, as I find it is an easier experience with little performance issues on OSX. Atom, my old favourite IDE, is not in the Snap store and you need to install the package from the website. I ran into some minor performance issues while trying it out. So my advice is to try out Visual Studio Code. It works on every operating system and has a better experience overall.</p><p>In stark contrast to this advice, I use and prefer Chrome which is not available on the Snap store instead of Chromium or Firefox which is the default installation. I love these two browsers, especially Firefox’s recent push for internet privacy and advocacy. However, I already have a Google profile and use Gmail. It makes it easy to synchronize tabs, bookmarks, extensions and history between all my browsers. I also created a separate Gmail account that lets me separate my subscriptions to programming services (like GCP, Github or Heroku) off my personal email. It results in less clutter and allows me to keep completely separate histories, settings and bookmarks. Bottom line, pick a browser across all your devices and stick with it for ease of switching.</p><h3>Use GitHub to store your settings</h3><p>I keep my projects in private Github repositories in order to ensure I have the latest copy on all my devices. As a developer, this should be second nature. You can also create private repositories where you can put your bash profile, handy shell scripts, and settings for your various editors. Having these setting files located on a repository makes it quick to get started on your device and easily keep these settings up to date.</p><h3>Find the configuration that works for you</h3><p>Having a gaming rig that doubles as a programming station used to be more difficult, but thankfully we have advanced quite a bit and you have options. There isn’t a need to put money into two rigs when you can spend that money upgrading your existing gaming rig to accommodate your profession. In parallel, your need to spend money on a rig for programming will no longer get in your way of affording a rig suitable for pro gaming.</p><p>I’ve gone over quite a few options and it’s really based on the need of the engineer/gamer to decide the path to take when integrating your programming and gaming.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f083a6f5cca7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/can-i-program-on-my-gaming-rig-f083a6f5cca7">Can I Program on My Gaming Rig?</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Do Software Engineers Need to Consider Ethics?]]></title>
            <link>https://medium.com/swlh/do-software-engineers-need-to-consider-ethics-683eb18f1770?source=rss-eea4039e89e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/683eb18f1770</guid>
            <category><![CDATA[ethics-in-tech]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[responsibility]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[the-social-dilemma]]></category>
            <dc:creator><![CDATA[Jordan Theriault]]></dc:creator>
            <pubDate>Fri, 16 Oct 2020 19:59:17 GMT</pubDate>
            <atom:updated>2020-10-20T22:52:15.221Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Picture of a sign with text “Right” and “Wrong” in opposing directions with arrows." src="https://cdn-images-1.medium.com/max/1024/1*tTNW2MjD3sESmvtNp3PdoA.jpeg" /></figure><p>In 2018, <a href="https://gizmodo.com/google-removes-nearly-all-mentions-of-dont-be-evil-from-1826153393">Google removed the quote “don’t be evil”</a> from their code of conduct which had been part of the code since 2000. Ethics is a moral philosophy that defines actions between good and evil. But where do software engineers fit in with ethics? What kind of ethical responsibility does the person programming software need to consider?</p><p>Law is built into the development community from a code origin standpoint. Licensing could allow modification while citing the original source. It might not allow the distribution of the software under a different name or for payment without significant changes. These clearly define what is right and what is wrong in terms of using the software for an engineer.</p><p>While we may largely follow the ethics of using this software in a “good” way as defined by these software licenses (<a href="https://en.wikipedia.org/wiki/Open_source_license_litigation">Cisco, Microsoft, and Oracle among others excluded</a>) we lack clear standards for what is “good” when it comes to the people that use it. While litigation is a very real and direct threat, the repercussions of harming someone emotionally is not. Whether an application changes your mood or has a negative effect on the user is not defined in the GNU, MIT, or other open-source licenses. Why don’t we have similar rules for how the software works when interacting with people? Should software developers be paying more attention to these kinds of ethics? How do our software and platform positively or negatively affect people? Should software engineers refuse work if it doesn’t meet our ethical standards?</p><figure><img alt="Stylized text that says: “the social dilemma”" src="https://cdn-images-1.medium.com/max/1024/1*fQwvFJCs5YqJyv2ToWDS-w.png" /><figcaption>Courtesy of Netflix</figcaption></figure><p>Netflix’s documentary <em>The Social Dilemma</em> addresses this far too common problem by bringing in important technologists to discuss the dopamine-creating and growth market targets of these social media platforms that treat you as a product. These are the ubiquitous social media companies such as Facebook, Instagram and TikTok. This series also talks about how this is not an isolated incident. Most of the applications we use for free are collecting data about us to send us advertisements and influence the way we think. In this documentary, the creator of Facebook’s like button, <a href="https://justinrosenstein.com/">Justin Rosenstein</a>, says he didn’t know the button would affect people in such a negative way. Teens value their self-worth by this button. Post popularity becomes an issue of deep self-worth that causes depression with the like button. How could he have known? The like button was intended to spread positivity. However sometimes an altruistic and “good” feature can have unforeseen reactions and consequences. Most engineers experience this to a lesser degree when they send their code to QA for testing. Those QA testers sure do know how to break things.</p><p>Algorithms that were designed to suggest new posts, pages, videos or images we might be interested in by tracking our viewing history seem incredibly convenient and an ambivalent feature. That is until this feature radicalized people to extreme views by putting them inside an echo chamber where you will never see dissenting views.</p><p>I can only speak from my own narrow experience as both a consumer and a developer. I took one class on ethics in technology in my post-secondary education. This conversation is bigger than me, but I think software engineers should think about this more and get involved in technology ethics. We are both the user and the creator. We are affected by these platforms and yet we develop them.</p><p>I’ve largely removed myself from a social media presence 5 years ago because I felt it was negatively affected my mental health. I was used to endlessly scrolling through other people’s highlight reels and found myself wondering why I wasn’t having as much fun or wasn’t as successful as the people on my feed. The mental quicksand was draining on me and I became depressed about my success and life. Even today despite having largely left social media platforms, I am still not impervious to the draw of these dopamine-inducing applications. I often find myself opening Reddit, Medium, or LinkedIn every hour to check for the latest headlines. These applications are getting more difficult to avoid. Being current is part of being in technology and I find it hard to ignore all the news that comes with the industry. I get excited about new features and technology. Every time Instagram makes a change to their UI, I’m fascinated by the changes despite not using the application. Underneath this excitement is the reality of why they make these changes and features: to influence the way people interact with the application and think. The changes are based on data from their user’s behaviour.</p><p>As developers, we need to ask ourselves where our responsibility lies in this ethics crisis. We are not all CEOs of popular social networking apps. The majority are developers that work for companies. We develop apps with minor influence and work with a large team. We do what we are told and need to meet the goals of the company and its performance. Often it’s easy to just program an application and not feel invested in its success. We are often just the hands on the keyboard, not the mind behind the design and decisions. This needs to change and we need to be more aware of the intent and influence of our applications. We need to monitor the results and try to do better for consumers. We are responsible for results, whether or not the result was intended.</p><p>Still, we can advocate for including privacy in the architecture and design of our applications. We can try to influence for less intrusive features. We can try to ensure people are taking breaks when they play our games and using our applications.</p><p>The massively multiplayer online roleplaying game (MMORPG) World of Warcraft needed to curb it’s userbase’s addiction to its game. The addiction users were facing was hitting the news and giving a lot of bad press to the game. Likely less importantly, addiction is ethically bad. They had created a game that was so enjoyable, time-consuming and vast that people were willing to ignore their responsibilities in real life and the game started negatively affecting their life. Blizzard tried to solve this by implementing a fatigue penalty for people that played the game for too long. This addition was met with a lot of criticism from their users. They changed this to incentivize taking a break from the game by giving an experience bonus when you logged off for a certain amount of time and this was met with a positive response. This addition was a positive change for the users and had ethics in mind. Other games like MapleStory included a reminder to take a break after 2 hours of gameplay, and then sent subsequent reminders hourly. By implementing strategies like this in our application design, we can create a better technology landscape.</p><figure><img alt="Screen shot of the game World of Warcraft where several characters pose with weapons." src="https://cdn-images-1.medium.com/max/1024/1*4p4tqaJCurge2sSgA0Xbww.jpeg" /><figcaption>WoW promotional image courtesy of Blizzard</figcaption></figure><p>The EU introduced 2009/136/EC, also known as the ePrivacy Directive or Cookie Law to broadly protect visitors to websites. This directive forces websites to inform users of risks, prohibit surveillance, and be notified of cookies or trackers being used. This law puts the onus on developers rather than the user to do good.</p><p>I once had a heated discussion with a former coworker about the ethics of machine learning after discussing camera AI that had difficulty recognizing black people. The algorithm certainly just found it harder due to light and aperture, right? Could it be possible that the program was designed by people that didn’t consider the differences in skin tone and facial features? I took the side that machine learning is biased because someone programs the application. There is a software engineer that is giving the machine learning algorithm the measure for success. My peer staunchly defended the inhuman nature of machine learning. These algorithms can be programmed to be as biased, or unbiased as possible. Machine learning is inherently unbiased until we give it instructions. I think we were arguing on the same side. Someone in the end does need to give the instructions. The technique is unfeeling, but the use of it is the problem. The question is: how do we ensure the people programming these applications are not including bias in the algorithm? That’s an answer we did not solve in that discussion.</p><p>We live with biases all the time. As humans we constantly make decisions. So ethics can help us guide these bias quandaries. What is going to do the most good? What is evil?</p><p>There are <a href="http://www.bbc.co.uk/ethics/introduction/">a lot of methods</a> for dissecting ethics that weigh the good and evil, positive and negative features. Technology undisputedly provides us with a lot of benefits. Social media platforms allow us to connect, communicate and be entertained. But there is also a lot of bad that occurs, intended or not, from it. Do these benefits outweigh the “evil” that these platforms are causing? While we don’t need to be experts in ethics, software engineers can make decisions in our code that are inherently “good”.</p><p>The center for humane technology (co-founder being the lead subject of the aforementioned documentary) <a href="https://www.humanetech.com/technologists">outlines the principles of humane technology</a>. This is a great place to begin thinking about these issues.</p><h4>What are the steps we can take as software engineers? Here are a few:</h4><ol><li><strong>Create an ethical guideline for your team to follow</strong> (“don’t be evil” may be too general but it’s a good starting point)</li><li><strong>Limit data collection to what is necessary and/or inform your users the intent of data collection</strong> (2009/136/EC was a great start in Europe)</li><li><strong>Include stop-gaps to influence user behaviour to be more positive</strong> (ie. the WoW rested model)</li></ol><p>The world is starting to notice ethics in technology. Mark Zuckerberg, Facebook’s CEO, went to the supreme court to answer questions about privacy and data collection. Lawmakers are crafting laws to make the privacy of users a default. We have seen social media platforms need to take a stand against extremist groups. We are aware that technology has influenced the destabilization of countries and influenced elections.</p><h4>Software engineers need to become a larger part of this conversation and we need to do better.</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=683eb18f1770" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/do-software-engineers-need-to-consider-ethics-683eb18f1770">Do Software Engineers Need to Consider Ethics?</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Trying new things and getting hurt will help you and your career]]></title>
            <link>https://jordantheriault.medium.com/trying-new-things-and-getting-hurt-will-help-you-and-your-career-efbc6e7a55a2?source=rss-eea4039e89e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/efbc6e7a55a2</guid>
            <dc:creator><![CDATA[Jordan Theriault]]></dc:creator>
            <pubDate>Thu, 01 Oct 2020 18:48:52 GMT</pubDate>
            <atom:updated>2020-10-01T18:48:52.270Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="My face with a bandage over my chin" src="https://cdn-images-1.medium.com/max/710/1*cDb9EKh7ApIo4yyrBuD_tQ.jpeg" /><figcaption>Ouch. Post-longboarding accident.</figcaption></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F902828977%26show_artwork%3Dtrue%26secret_token%3Ds-HKvGFpd6UTh&amp;display_name=SoundCloud&amp;url=https%3A%2F%2Fsoundcloud.com%2Fjordantheriault%2Fgetting-hurt-will-help-you-and-your-career%2Fs-HKvGFpd6UTh&amp;image=https%3A%2F%2Fi1.sndcdn.com%2Fartworks-l7we2bDeQ0YLgJbX-kMGQDA-t500x500.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=soundcloud" width="800" height="166" frameborder="0" scrolling="no"><a href="https://medium.com/media/844860164d8533938ab37b76abb25d34/href">https://medium.com/media/844860164d8533938ab37b76abb25d34/href</a></iframe><p>I am that person that is always unabashedly trying something new and more than frequently I’m exceedingly average at what I attempt. I’m not negging myself or trying to be humble. It’s just true.</p><p>In my home life, I’ve tried baking bread, playing in a band, singing, rock climbing, hiking, kayaking, gardening, water polo, and most recently trying to longboard. Professionally I have jumped headfirst into new frameworks, programming languages, presentations, speaking engagements, teaching an API workshop in the Caribbean, and new business-oriented roles. Most recently I started a completely new role in a new department doing vastly different work from the coding I had mostly been doing for the past 5 years. Here’s the thing though: I’m not an expert in any of these things. Rather, I’m someone that always wants to keep learning and trying something new. Some might call me a jack of all trades and master of none.</p><p>In a world where people need to pick between being a globe-trotting digital nomad and a 9–5 office worker, I think there is an alternative. Fulfillment can come from challenging yourself both in and out of your career, seeking discomfort, and setting lofty goals. The only downside to challenging yourself is that you will inevitably get hurt.</p><h3>What kind of crazy person would subject themself to so many opportunities for failure? What is the benefit of doing it? Why try something even if you know you’re going to fail? Why play a game knowing you’re going to lose?</h3><p>Take these failures as opportunities to grow and learn more. The learning curve for most skills ends up being this: the more talented you get, the more you realize how much more you have to learn. Often the ceiling is near-endless. At one point, we thought The Beatles was a revolutionary band that shook the core of society with its racey guitar riffs. Now we have some incredibly technical music that would have been unthinkable at the debut of The Beatles.</p><p>Jumping headfirst into something new is a learned skill, not a natural ability. It takes courage and self-confidence to accept that the results may not be ideal.</p><p>Failing fast is a tech mantra that attempts to mellow the feeling of failure. It tries to overcome the feeling that the results are not ideal. The reality is failure can hurt even with this mantra, and even the most well-intentioned constructive feedback can hurt too. Failing fast is a wall used to reduce this pain. In contrast, I believe that it’s precisely this pain that allows us to improve.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*J5JxspPrgkKO4zq2" /><figcaption>Photo by <a href="https://unsplash.com/@thomast_404?utm_source=medium&amp;utm_medium=referral">Thomas Tastet</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In my own career as a tech lead, I sought to carve out my spot within a company. By bringing innovative practices and new technology to the table I thought I could instantly modernize despite not having a great deal of influence. Although often brand new technology is in beta or even alpha, like <a href="https://strapi.io/">Strapi</a> was when I discovered it, there is a big potential in early adoption. I searched its docs, looked over its open-source code, and was confident it would be a fantastic option for content management at any organization. I thought that if I spent the time to socialize it and integrate it into a project I was working on, that it might stand a chance. I went in with admittedly naive intentions.</p><p>The untested nature of Strapi and the fact it was in alpha didn’t make it suitable for a production environment. No matter how small or insignificant the application was that used it, the difficulty to harden this application and validate assumptions was not worth the time or money. Proceeding down this path was a bad idea. Quite frankly, people were shocked I hadn’t realized this earlier and I got a lot of criticism for it.</p><p>While this hurt, and definitely hurt my ego, it taught me a pertinent lesson on practicality. My loft ideas of trying to be on the leading front of technology didn’t fit with the practicality of budget, time, and risk appetite. This lesson helped me shape every future decision. We had to rewrite the application to include a less-than-ideal solution that wouldn’t match the functionality Strapi provided, but I would be able to deliver it.</p><blockquote>“you can’t make an omlette without breaking a few eggs” — François de Charette</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sEXrie5-29fUZZBB" /><figcaption>Photo by <a href="https://unsplash.com/@marckleen?utm_source=medium&amp;utm_medium=referral">Marc Kleen</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In the case of my recent longboarding (very much a skateboard but with large soft wheels and an elongated deck like the name implies) adventure, getting hurt was more literal than most of my other attempts. I had a fantastic, coasting ride for the first thirty minutes. It was freeing and I thought to myself at that moment “this is such a beautiful and easy way to get around, you can even carry the board anywhere! This is the way I’m getting around from now on”. Unfortunately for me, moments later there was a small rock on the street ready to trip me up. Just in front of my house, this little rock decided to ruin my day and bring my ride to a crashing halt. A lot of blood, scraped hands, busted up knees and two stitches to my chin later I came from the experience with a sour taste. It hadn’t gone my way in the end, but I did take away a lot from the experience.</p><p><strong>Now I know:</strong></p><ol><li>Boarding is probably not for me. The risk does not equal the reward in my case.</li><li>I’m more scared of needles than falling on a longboard so the thought of future stitches does not encourage me.</li><li>What the visceral fat in my chin looks like from the open wound</li><li>Stitches need to be done a few hours after the wound occurs to prevent scarring.</li><li>If you’re thinking about stitches, you should probably get them.</li><li>I have a new respect for the difficulty of skateboarding. I know why people enjoy the rush and being able to easily carry it with them everywhere.</li></ol><p>For a 30 minute longboarding experience, I’d say that’s a lot of useful data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4kYv8Fv4Yb1Ys1Fo" /><figcaption>Photo by <a href="https://unsplash.com/@sctgrhm?utm_source=medium&amp;utm_medium=referral">Scott Graham</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Soon after my longboard mishap, I started a new role at work. After 5 years of helping to lead a programming team, I decided to get out of my comfort zone and try business-oriented work. My previous role had certainly required me to present to large audiences, executives, create slide decks and speak plenty of business talk like <em>synergize</em> and <em>blockchain</em>. However, all the work I was presenting was a direct result of my skills. It was entirely dependant on myself and the small programming team I was working with. We didn’t have anyone else to rely on to get the work done.</p><p>I was in for an uncomfortable ride.</p><p>Technology governance seemed like the furthest thing while still being within the tech industry. It would be high-level and not require any true technical knowledge. Governance is about analyzing the SOW, ensuring contractors and third-party vendors are meeting their obligations and keeping on budget and on time for upgrades and changes. It’s the near-invisible but ever-present penny-pinching role that involves a lot of extroverted qualities in a person. An equal limb in finance, technology, project management, and contracting.</p><p>From programming to leading fact-finding meetings, this was a stark contrast from sitting in front of a hot screen with headphones in listening to instrumental music and pumping out lines of code. The work is fluid and doesn’t follow convention. Although I guess it’s still in front of a hot screen.</p><p>I had a lot of early failures where I didn’t grasp the information I needed to present. Sometimes the directions I took were completely off-base as I was struggling to initially find a footing. These stumbles hurt and gave me a feeling of imposter syndrome. Presenting to a senior director and being told that I completely misunderstood the ask is a difficult conversation. But it’s precisely these failures and pain that motivated me to do better next time, and gave me the confidence to present my work next time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ADyI_RsohRv7vvOl" /><figcaption>Photo by <a href="https://unsplash.com/@jannerboy62?utm_source=medium&amp;utm_medium=referral">Nick Fewings</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The conclusion isn’t a dainty one. You will get hurt, and you need to embrace it. Make sure these injuries don’t stop you from trying something else. Don’t let fear dictate your future. I, for one, will continue to try new things, and probably end up being very average at them and/or get hurt.</p><h3>I welcome the next risk with a curious mind and a tough skin.</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=efbc6e7a55a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Amnesia Dark Descent: Game Open Source for it’s 10th Anniversary]]></title>
            <link>https://jordantheriault.medium.com/amnesia-dark-descent-game-open-source-for-its-10th-anniversary-ee0bc56059d9?source=rss-eea4039e89e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee0bc56059d9</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[gaming]]></category>
            <category><![CDATA[horror]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[game-development]]></category>
            <dc:creator><![CDATA[Jordan Theriault]]></dc:creator>
            <pubDate>Wed, 23 Sep 2020 18:28:03 GMT</pubDate>
            <atom:updated>2020-09-23T18:46:28.900Z</atom:updated>
            <content:encoded><![CDATA[<h3>Amnesia: Games Open Source for its 10th Anniversary</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*JVWvcYpVTOe-nMa1WslvVw.jpeg" /><figcaption>From AmnesiaGame.com</figcaption></figure><p>The studio Frictional Games announced, for the game’s 10 year anniversary, <a href="https://frictionalgames.com/2020-09-amnesia-is-now-open-source/">Amnesia Dark Descent and Machine For Pigs has been made open source</a> under the GPL3 license. This comes as a big surprise and delight to horror lovers and developers alike.</p><p>Open-sourcing this game will allow developers to enhance the engine to include fixes or new features. It will also likely lead to strange mods, brand new horror games, and even new game engines using this engine as reference.</p><p>As an educational tool and jumping point, Frictional Games has created a new entry point for horror developers to tinker. <a href="https://www.moddb.com/games/amnesia-the-dark-descent/mods">While this series has always been welcoming of the modding community</a>, this will take that relationship even further.</p><blockquote>Obviously, all these things are decade old and nothing new. But I think they can all be quite interesting for anyone learning gamedev, or that are just curious how Amnesia worked under the hood. — Thomas, Frictional Games</blockquote><p>The code is written in C++ and includes the editor code and all assets for the game. <a href="https://github.com/FrictionalGames">You can find the source code on Github here</a>. I haven’t programmed in C++ in some years, but this has sparked my interest in picking up the old compiler again.</p><p><strong>Some key features from the announcement:</strong></p><blockquote>Shadow mapping with soft edges.</blockquote><blockquote>Realtime visibility culling system that also works for dynamic objects.</blockquote><blockquote>Automatic render batch system of static objects.</blockquote><blockquote>Deferred shading system.</blockquote><blockquote>A full editor with lots of interesting feature that such as picking algorithms and view fitting.</blockquote><blockquote>Very simple state machine AI that still gives rise to fairly interesting and intelligent agents.</blockquote><blockquote>Fairly advanced system for physics sounds.</blockquote><blockquote>Physics based interaction system.</blockquote><blockquote>Own sound system implemented using OpenAL</blockquote><blockquote>Lots of other basic rendering and gameplay tech all implemented in an a coherent engine structure</blockquote><p>While this news is exciting and will no doubt lead to great new horror content, I can’t wait for the next Frictional Games release Amnesia: Rebirth coming October 20th.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee0bc56059d9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Investing in your home office is investing in yourself]]></title>
            <link>https://jordantheriault.medium.com/investing-in-your-home-office-is-investing-in-yourself-1459f548cb3c?source=rss-eea4039e89e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/1459f548cb3c</guid>
            <category><![CDATA[ergonomics]]></category>
            <category><![CDATA[workspace]]></category>
            <category><![CDATA[wfh]]></category>
            <category><![CDATA[work-from-home]]></category>
            <category><![CDATA[home-office]]></category>
            <dc:creator><![CDATA[Jordan Theriault]]></dc:creator>
            <pubDate>Wed, 23 Sep 2020 00:33:22 GMT</pubDate>
            <atom:updated>2020-09-23T00:33:22.769Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Me awkwardly sitting at my well-used home office" src="https://cdn-images-1.medium.com/max/1024/1*c4a5VzUW70vASUm2GxeUvA.jpeg" /><figcaption>Me awkwardly sitting in my well-used home office</figcaption></figure><p><strong>Casual clothing, non-existent commute from the bedroom to the living room. I’ve been largely working from home for the past 6 years. Ive learned a lot about setting up my home office to be both affordable and functional. It might not be instagram ready, but it’s versatile and comfortable.</strong></p><p>We’ve all been thrust into a new reality of working from home and we might not be ready for it. People on my video calls have run the gamut of home office setups. From working on a stack of books, the kitchen table, the bed, the couch, outside on a lawn chair there is a common theme. Most of us aren’t investing in our home office. Despite spending 8+ hours sitting in one place, many people are taking themselves for granted.</p><p>I’m here to tell you that you’re worth it. You’re valued. More specifically, your back, wrists, knees, and neck are valued. By investing in a proper home office setup, you’re investing in your wellbeing. That’s good for your physical health, mental health and your wallet.</p><p>Whether or not COVID-19 keeps us in quarantine, working from home more often is here to stay. Whereas before managers didn’t believe their employees could work from home here is the workforce at large, proving it can be done.</p><p><em>Will your work give a stipend? Like Google’s $1,000 per employee they recently set aside for home offices?</em></p><p>The reality for most people is a resounding no, and you shouldn’t wait to find out. Begin investing in a few key pieces of home office equipment now and you will be investing in your well-being. Corporate offices are, despite appearances, not haphazardly put together. They are carefully thought out for ergonomics. Chair type, desk height, monitor arms, mouse type. They are all intended to help by giving employees a baseline ergonomic experience.</p><h3>Find the right space</h3><p>Before you buy anything, finding the right space is key. Often a clean, quiet space can help you focus. It’s not always easy finding these types of spaces in our new reality. But finding an unused closet that is deep enough, corner of the basement, or rejigging the dining room can all become good workspaces. It’s okay if the space doesn’t work at first. Keep moving until you find a space that does.</p><p>Use your measuring tape to figure out how big of a desk you can fit. Phone apps can help you measure the level of noise in a room (Sound Meter, Decibel X) so you can find the quietest part of your home.</p><h3>A solid desk</h3><p>Simple but critical. Your desk doesn’t need to be an expensive component. Even with sit/stand desks, you can spend a reasonable amount. IKEA and PrimeCables offer affordable options for quality electric lift tables for $500.</p><p>If sit/stand desks aren’t your speed, having a nice, large surface with a proper height is key. Sit in your office chair and measure a foot from your lap. This isn’t an exact measurement but I find it this is a good guideline. This height allows your arms to rest comfortably on your desk when you are typing. Ikea offers a wide range of tabletops and legs that are very configurable to get a perfect sitting height. The ALEX drawer unit also provides a great stand for a tabletop and provides ample storage to keep your workspace clean.</p><p>The key to finding a good table is height and size. Make sure it fits your leg height and wrist position. It’s better to have unused desk space over wanting more.</p><h3>Chair with lumbar support</h3><p>While sitting at this new workspace, a chair is important in protecting your health. In my first office job, I sat in an old, torn up, outdated chair. A few months into my job, I lost feeling in the front of my leg until my toes. I couldn’t even feel the shoe on my foot. Thankfully with physiotherapy, a better chair, and proper posture the injury healed and I gained feeling in my leg.</p><p>I have since bought a high-quality gaming chair. These look great and have a high level of comfort. However, from anecdotal evidence, I find they are not a good purchase. Instead, spending money on a quality chair that is designed for functionality over style is a better purchase.</p><p>Don’t make my mistake. This is where you should spend the most of your money. The autonomous ErgoChair 2 is a great example of a medium budget, or a high budget would be a Herman-Miller Aeron. These are examples of chairs you would find in most professional offices. Mesh allows breathability, and the chair functions allow customizations for your body.</p><h3>Quality mouse and keyboard</h3><p>This is admittedly where I fall short most of the time. Due to convenience I truly think the trackpad on a MacBook is an excellent tool that I used most of the time while programming. With that said, carpal tunnel is no joke. Trying to find a mouse and keyboard that won’t injure your wrists can take time.</p><p>If you’re using an apple magic keyboard or mouse, go ahead and put that in storage. They are designed for aesthetics and not ergonomics. Favour functionality over form.</p><p>There are a few types of keyboards and mice that can help you mitigate or assist with wrist and hand pain.</p><ol><li>Thumb trackball mouse: These allow you to use your thumb instead of the wrist to move the mouse around.</li><li>Ergonomic keyboard: These keyboards allow you to change the angle your wists are when typing.</li><li>Keyboard wrist pads: These sit just in front of your keyboard to reduce fatigue on your wrists when typing.</li><li>Mouse pad with wrist support: These put a pad under your wrist when using your mouse.</li><li>Desk pad: adds a layer of cushioning to the desk surface</li><li>Oversize mousepad: Increases range of motion by providing a larger area for mouse travel</li><li>Weight-adjustable mouse: Can allow you to dial in the weight of the mouse making it easier to handle.</li></ol><h3>Comfortable headset or microphone and speakers</h3><p>Teams and Slack both have fantastic exclusionary audio. That means you don’t need to don a sweaty headset to do your phone calls. Most of the time, people will not be able to hear themself through your speakers. These applications do the heavy lifting for you by reducing ambient noise and cancelling out the audio from other people on the call. If your space allows it a microphone (a dynamic microphone opposed to a cardioid will be better for talking, and reduce ambient noise) on a boom mount (Rhode PSA-1) and speakers (any will do, but studio monitors offer superior sound) are a great way to keep up with your meetings. This will help your hearing, and an adjustable microphone stand will allow you to sit in the most comfortable position and bring the microphone to you.</p><p>If your home office doesn’t allow it, headsets meant for gaming are a great alternative for comfort. Many come with a built-in microphone that comes right in front of your mouth and is adjustable such as Turtle Beach. Avoid open-ear headphones if you need to block out noise. Some also come with active noise cancelling which utilizes white noise and microphones to eliminate the noise around you. Bose is currently the leader in this technology.</p><h3>Quality Webcam</h3><p>It’s a good idea to try and get face time with your coworkers. This helps develop stronger bonds and allows you to convey emotion better than just a phone call or message on Slack alone. Cameras are now built into laptops, tablets, and phones but they typically lack high quality.</p><p>If your work computer doesn’t have a camera or your video looks grainy, I recommend picking up something small, high quality, and portable like the Logitech c920.</p><p>A ring light can also help your camera setup. These can be found on amazon or camera websites and are typically used by streamers and vloggers. They are a ring of LED lights that can put constant soft light on your face. This will make sure your face is visible. (ex. Neewer ring light)</p><p>The key to a good picture is having more light in front of you than behind or beside you. If you find your face is washed out by light, you may need to cover a nearby window or move your sitting position.</p><h3>External Monitor</h3><p>This is a key difference I have heard from employees in just about every job. When you’re used to working on external monitors, being relegated to your work laptop’s screen can drastically affect your ability to work efficiently.</p><p>Unless your work is in the arts, you can spreadsheet on just about any sub-$100 monitor. Many now come with articulating stands that allow you to switch between portrait and landscape modes and raise or lower the monitor.</p><p>If you or someone you know has an old monitor lying around, you can purchase a very cheap cable that will convert whatever input it needs to one that is suitable for your computer. If it lacks a good monitor stand, those can also be purchased for under $80 and will allow you to set your monitor to the perfect position.</p><p>A proper monitor position should be just below eye level for the main monitor so you are slightly looking down. If you have multiple monitors, set the primary monitor directly in front of your sightline.</p><h3>Extras</h3><ul><li>Acoustic Panelling: allow you to dampen and reduce sound. These can be purchased ($$$) or built ($).</li><li>Chair mat: Can reduce the wear on your floor and silence your chair movement.</li><li>Lumbar pillow: Can improve the lumbar support on an existing chair.</li><li>Portable green screen: Zoom and other video conferencing software now have virtual backgrounds. A collapsible green screen can be put directly behind you to hide your surroundings and give you the appearance of being in a clean office setting.</li><li>Audio interface: Useful if you pick up a microphone that uses XLR connectors. (ex. Scarlett 2i2)</li></ul><h3>Bottom Line</h3><p>Even if you can only do one of these improvements to your office setup, you are benefitting your long-term health.</p><p>Not everyone can afford a new home office setup right away but putting money away each paycheque to improve your home office can be a great way to slowly get there.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1459f548cb3c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Quickly Build A Virtual Drinking Game During Quarantine]]></title>
            <link>https://medium.com/swlh/how-to-quickly-build-a-virtual-drinking-game-during-quarantine-b3a0efe1f8f2?source=rss-eea4039e89e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/b3a0efe1f8f2</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[drinking-games]]></category>
            <category><![CDATA[quarantine]]></category>
            <category><![CDATA[iterative-development]]></category>
            <category><![CDATA[rapid-prototyping]]></category>
            <dc:creator><![CDATA[Jordan Theriault]]></dc:creator>
            <pubDate>Wed, 10 Jun 2020 16:36:14 GMT</pubDate>
            <atom:updated>2020-06-11T21:11:20.556Z</atom:updated>
            <content:encoded><![CDATA[<p>Every good story starts with a wild night, and this one is no different. My former coworkers and I get together frequently online for socials. We loved working together and still try to see each other as much as we can over glasses of wine and cold beer. In lieu of trashy Toronto bars (which in fairness we seek out, RIP Croc Rock), we have been meeting virtually now for several months and have been discovering creative ways of playing games and spending our time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/921/1*l8ClRjH6nhxLi4-BLnA-Ww.png" /><figcaption>Lears Cup</figcaption></figure><h4>So what leads to a 1:00 AM requirement documentation session?</h4><p>On a particular night after endless games of Jackbox (a not-necessarily-drinking video game where people can play together remotely), we shifted and tried some online drinking games to kick up the notch. We tried <a href="https://drunkpirate.co.uk/">DrunkPirate</a>, <a href="https://www.drinkvirtually.com/">Drink Virtually</a>, and <a href="https://apps.apple.com/us/app/picolo-drinking-game/id1001473964">Picolo</a> among others.</p><p>The problem was, we weren’t satisfied with the features and rule sets of the games.</p><ol><li><em>What if someone needs to use the toilet and misses a turn?</em></li><li><em>How do you remember who’s turn it is easily?</em></li><li><em>Why can’t I add/remove players at will when someone goes to bed for the night?</em></li><li><em>You can’t remotely do a lot of rules in these games like switching a piece of clothing.</em></li><li><em>Why is this game so plain and unappealing?</em></li><li><em>We keep repeating the same 50 cards.</em></li></ol><p>These questions build the requirements, and playing all these online drinking games was our initial requirements gathering. By using <a href="http://sheets.google.com/">Google Sheets</a> we started drafting our concept, requirements, and card rules. We decided we would recreate the classic drinking game Kings, and make sure it was easy to play virtually. We wanted to get it done fast so we can start enjoying it.</p><p><em>Product Vision Statement: “For long quarantined friends to have social drinks seamlessly”</em></p><h4>Organize Your Thoughts</h4><p>We started off by organizing our ideas into two categories. Features, and King&#39;s rules. We listed every single idea from the first session and everything we could think of for the game once we sobered up. This gave us an unruly list but we’ll deal with that next. By categorizing these concepts into their own cells in Sheets, we could all collaborate quickly with our ideas asynchronously. During the day ideas slowly began to appear on the sheet, like wonderful, nerdy magic.</p><figure><img alt="Google Sheet Requirements Document" src="https://cdn-images-1.medium.com/max/622/1*jRIs406gU7U3cqAXtu9LpQ.png" /><figcaption>Google Sheet Requirements Document</figcaption></figure><h4>What is the Minimum Viable Product?</h4><p>Minimum viable product (or MVP). That’s the key to launching a product in a reasonable time-frame. You will always have a long laundry list of features. But at the core, you need to ask yourself an important question. What truly belongs in the first iteration of an application? What can be cut? How do I start playing this with friends ASAP?</p><p>We <strong>started by determining what was technologically viable</strong> <strong>given our time constraints</strong>. For example, multiple users connecting to the same URL and flipping their own cards was complicated to do and didn’t add value to the game since our users would likely already be on a platform that allows screen sharing. Then, we looked at what features were core to the concept. <strong>What does this application need to function</strong>? Next, we decided on what features would have the <strong>most impact on our users</strong>.</p><h4>User Stories and Atomize</h4><p>Now you can create user stories. There are so many right ways to do this that are prescribed by some amazing agile books you should definitely read. We however broke all the rules. You could write a beautiful user story like so:</p><p><em>As a user, I want to be able to remove players so that going to bed doesn’t disrupt everyone else’s game.</em></p><p>Or you could just be generic and quick because it’s a small app, and nobody is perfect when they’re doing a side project. Aim for what will be descriptive enough to get the job done if you’re short on time.</p><figure><img alt="Trello Kanban Board" src="https://cdn-images-1.medium.com/max/1024/1*T3hi8VNXUc8h5GW8osyzdA.png" /><figcaption>Trello Kanban Board</figcaption></figure><h4>Develop and Design</h4><p>Yes, development and design can’t be done in parallel. The code should be flexible enough to handle design iteration. While the designer was creating wireframes, we began developing the application’s key features such as the rule display, card flipping, local storage, and players.</p><p>Design paralysis is a real thing, and often the nuance of design can get in the way of good programming. By separating these two concepts, it’s easier to forge forward.</p><p>We are primarily javascript web developers so we selected <a href="https://reactjs.org/">React</a> as our front-end framework. We’ve programmed many apps using <a href="http://angular.io/">Angular</a>, but we like the combined view and controller that JSX brings to the table. We began with the base project <a href="https://github.com/facebook/create-react-app">create-react-app</a>. This allowed us to hit the ground running.</p><p>Since <a href="http://github.com/">Github</a> allows private repos for free, we also used that. Git is a critical tool for collaborating with other developers.</p><p>Soon into developing the app, we realized there was a need for storing the game state. What if someone accidentally closed the browser? What if they want to resume the session later? We swiftly added <a href="https://redux.js.org/">Redux</a> to handle states.</p><p>We knew we wanted some minimal transitions but didn’t want bloat. We stuck to using CSS animations to make them quick to render. Redux states trigger these animations.</p><p>At this point, the application was shaping up, but separately. Neither was perfect. But once combined, the game took a beautiful shape.</p><p>For design working quickly is key. Using <a href="http://sketch.com/">Sketch</a> for rapid wireframing, <a href="https://www.adobe.com/ca/products/illustrator.html">Illustrator</a> for icons, logos and illustrations, and <a href="http://invisionapp.com/">InVision</a> for presenting the designs so developers can easily see the exact pixels of the designs is incredible.</p><h4>Test and Iterate</h4><p><em>“Will this game get people drunk too fast?” — An actual question we asked</em></p><p>We needed to discover what works and what doesn’t. The fastest way to do this was to invite as many former coworkers as we could to help give us feedback. This gave us a wide range of people to test with and we received the most valuable feedback the first time we played.</p><p>In every case, we encouraged people to give us brutal feedback. We actually came across an interesting revelation: <em>friends don’t want to hurt your feelings and will not give overly specific advice</em>. <strong>Peers are brutally honest</strong>. Use that work network to build your bug backlog. Nothing is ever perfect on the first iteration.</p><p>Over the course of two weeks, the app was done, over the course of the next two weeks, we tweaked the app. By the end, we reached our MVP.</p><p><a href="https://learscup.com/">The result is Lear’s Cup, and you can play it here, it’s free.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b3a0efe1f8f2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/how-to-quickly-build-a-virtual-drinking-game-during-quarantine-b3a0efe1f8f2">How To Quickly Build A Virtual Drinking Game During Quarantine</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>