<?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 Chris Quinn on Medium]]></title>
        <description><![CDATA[Stories by Chris Quinn on Medium]]></description>
        <link>https://medium.com/@chrisquinnr?source=rss-3af40dc58e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*6UMCZtZBcfUk0nO6jggY8A.jpeg</url>
            <title>Stories by Chris Quinn on Medium</title>
            <link>https://medium.com/@chrisquinnr?source=rss-3af40dc58e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 02:57:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@chrisquinnr/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[Continuous Integration & Meteor]]></title>
            <link>https://medium.com/salted-bytes/continuous-integration-meteor-7acac66c9381?source=rss-3af40dc58e------2</link>
            <guid isPermaLink="false">https://medium.com/p/7acac66c9381</guid>
            <category><![CDATA[meteor]]></category>
            <category><![CDATA[continuous-integration]]></category>
            <dc:creator><![CDATA[Chris Quinn]]></dc:creator>
            <pubDate>Mon, 18 Mar 2019 08:42:39 GMT</pubDate>
            <atom:updated>2019-03-18T08:42:39.980Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gt6L5RKwtTrJchbrC3zw3w.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/8yCmQODY2SY?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Hello I’m Nik</a> on <a href="https://unsplash.com/search/photos/rocket?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Whilst it’s true the the Meteor Development Group have moved their focus to GraphQL &amp; Apollo, the <a href="https://www.meteor.com/">Meteor</a> project remains active and has an avid user base. I’ve been using Meteor in production environments for over four years now and I’m still a fan.</p><p>One of my goals has always been to reach development nirvana with Meteor’s rapid, flexible stack underpinned by solid testing and bulletproof deployment methodologies. The <a href="https://github.com/chrisquinnr/meteor-ci">Meteor CI Starter Kit</a> is my attempt at doing exactly that.</p><p>Consider this basic maxim:</p><ol><li>Write clear, consistent code</li><li>Define <a href="https://medium.com/javascript-scene/what-every-unit-test-needs-f6cd34d9836d">RITE</a> tests</li><li>Automate deploys, ship early &amp; often</li></ol><p>We can achieve each of these three steps using the starter kit:</p><ol><li><a href="https://eslint.org/">ESLint</a> (and lesserly, <a href="https://www.npmjs.com/package/js-beautify">JSBeautify</a>) help us write clear, consistent code</li><li><a href="https://mochajs.org/">Mocha</a> and <a href="https://www.chaijs.com/">Chai</a> help us write our unit tests</li><li><a href="https://circleci.com/">Circle CI</a> and <a href="https://www.heroku.com/">Heroku</a> get our code built &amp; and shipped effortlessly</li></ol><h4>Technologies &amp; platforms</h4><p>There are many, many ways to achieve what we’ve described here. Some will be easier to configure, but suffer from vendor lock-in. Some will be more flexible, but require you to dig deeper into their configuration. This guide should hopefully give you the confidence to approach your own integrations &amp; architectures, even if you don’t end up using the tech we’re using here.</p><p>There are a lot of steps, and quite a few accounts to set up, but most can use your GitHub account and none require credit cards.</p><p>Lastly, code linting is highly addictive, maddening and completely subjective. Don’t take the eslint rules in here as gospel, pls.</p><h3>Guide</h3><p>With Meteor installed, simply download the <a href="https://github.com/chrisquinnr/meteor-ci">starter kit</a>, run &amp; enjoy some great Meteor-flavoured ESLint rules with pre-commit linting hooks to stop you pushing badly-formatted code.</p><p>Test your code using meteor npm run test and watch</p><p>Naturally, to hook this into your CI runner of choice and destination production environment, you&#39;re going to have to configure a couple of things. Let’s take things from the top, assuming no prior usage of Meteor:</p><h4>Install &amp; Run</h4><ol><li>curl <a href="https://install.meteor.com/">https://install.meteor.com/</a> | sh</li><li>Download the starter kit <a href="https://github.com/chrisquinnr/meteor-ci/archive/master.zip">https://github.com/chrisquinnr/meteor-ci/archive/master.zip</a></li><li>cd meteor-ci-master &amp;&amp; meteor</li></ol><p>So far, so good. We have the starter kit running. I’ll delve into to the kit’s configuration in another article, for now, let’s skip straight onto the benefits.</p><h4>Pre-commit linting with ESLint</h4><p>4. Pick a file and remove a semi-colon. If you try to commit this ‘broken’ code, the project will stop you, by using a pre-commit hook which runs eslint before allowing the commit through.</p><p>5. Put the semi-colon back and instead make a small edit to the file, like adding a comment. Try committing this ‘correct’ change and you’ll see it goes through as normal.</p><h4>Unit testing</h4><p>6. In another terminal, run meteor npm test</p><p>7. Check out the output of the Meteor-supplied unit tests on our basic Links collection.</p><p>I’ll cover tests in another article, but for now, let’s acknowledge that we’ve got passing tests configured in our project.</p><h4>Create a Git repo</h4><p>8. Create a public repo for your starter kit (<a href="https://github.com/new">https://github.com/new</a>)</p><p>9. In the starter kit project root: git remote add origin &lt;repository url&gt;</p><p>10. Push the project to your new repo: git push -u origin master</p><h4>Connect to Circle CI</h4><p>11. Create a Circle CI account: <a href="https://circleci.com/signup/">https://circleci.com/signup/</a></p><p>12. Connect it to your Github account</p><p>13. Define a CircleCI project with your project <a href="https://circleci.com/add-projects/gh/">by adding it</a> (it will build straight away, don’t worry if it fails)</p><p>We covered quite a lot of different steps here, but hopefully nothing too crazy. If all went to plan, CircleCI will immediately build the contents of your new repo and fail. Yes, fail. We need to hook up a couple of extra options before everything will run smoothly.</p><h4>Circle CI config</h4><p>In the starter kit, you’ll see a large and intimidating circle.yml file — don’t worry, I’ve made sure this is pretty bulletproof, as of Meteor 1.8 and CircleCI 2.0. All we need to understand at this point is that the file has two jobs, build and deploy. Notice that in the deploy job, we’ve simply referenced a Heroku origin path, with some environment variables as placeholders.</p><h4>Deploying with Heroku</h4><p>You can hook up any particular hosting provider you like to Circle CI, but I’ll use Heroku for demonstration purposes now and potentially add other platform guides at a later date.</p><p>14. Sign up for a Heroku account (<a href="https://signup.heroku.com/">https://signup.heroku.com/</a>)</p><p>15. Connect your Heroku account to your GitHub repo</p><p>Usually, this step is as simple as creating a new app in Heroku and then connecting the app to Github:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pK2iz71qsbWeIQcx4ozDug.png" /><figcaption>After choosing your app name, select Github under ‘deployment method’</figcaption></figure><p>16. Select your repo — once connected, you’ll be able to select ‘Enable automatic deploys’ and be sure to tick the option to wait for CI to pass.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CGnHtHshg8-qS4PEskuHLA.png" /></figure><p>17. Grab your Heroku API key and app name and add them as environment variables in Circle CI</p><h4>Setting up the Meteor App in Heroku</h4><p>18. To build your app, Heroku needs a couple of configurations variables added.</p><p><strong><em>Buildpack</em></strong><br>search for meteor-horse (no, really) and add this buildpack to the Heroku app.</p><p><strong><em>MongoDB</em></strong><br>Grab a free Atlas database (<a href="https://www.mongodb.com/cloud/atlas">https://www.mongodb.com/cloud/atlas</a>) and follow the prompts to spin up a new cluster (takes a few minutes). Find the connection options for your cluster and select the short SRV string.</p><p>Paste this SRV string into your Heroku app’s config vars: https://dashboard.heroku.com/apps/&lt;your-app&gt;/settings), with a key of MONGO_URL .</p><h4>Finish &amp; Test</h4><p>19. Trigger a new build &amp; deploy by pushing a new commit.</p><p>19. Profit???</p><h4>Summary</h4><p>At this point, we’ve connected our starter kit to Circle CI and Heroku. When we push a commit to master, CircleCi will</p><ul><li>build, lint &amp; run our application</li><li>run our defined tests</li><li>push the build to Heroku, thereby deploy our application</li></ul><p>Which, as I bet you’ve noticed, follows our basic maxims defined above quite nicely:</p><ol><li>Write clear, consistent code</li><li>Define RITE tests</li><li>Automate deploys, ship early &amp; often</li></ol><h3>Next steps</h3><p>I think this starter kit is a great way for developers to start using CI — the tech is approachable and clear, it’s easy to get from zero to deployed and the tooling we’ve used is more or less interchangeable. Want to swap Circle CI for Jenkins? Maybe your company already has a mandatory .eslintrc file you need to use, or maybe you’re deploying to AWS rather than Heroku. In all these cases, you can fork or edit the starter kit to meet your needs (or abandon it &amp; create your own).</p><p>If you have an interesting fork or flavour of the kit, send a PR on Github or hit me up at chris@saltedbytes.rocks. Feedback on this guide is welcome too.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7acac66c9381" width="1" height="1" alt=""><hr><p><a href="https://medium.com/salted-bytes/continuous-integration-meteor-7acac66c9381">Continuous Integration &amp; Meteor</a> was originally published in <a href="https://medium.com/salted-bytes">Salted Bytes</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[All the things I want to learn & do in 2019]]></title>
            <link>https://medium.com/salted-bytes/all-the-things-i-want-to-learn-do-in-2019-5fbc1c6a2568?source=rss-3af40dc58e------2</link>
            <guid isPermaLink="false">https://medium.com/p/5fbc1c6a2568</guid>
            <category><![CDATA[learning-and-development]]></category>
            <category><![CDATA[continuous-integration]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Chris Quinn]]></dc:creator>
            <pubDate>Thu, 03 Jan 2019 22:14:06 GMT</pubDate>
            <atom:updated>2019-01-03T22:14:06.629Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*unOpP83dlvhHy5MlQjg1Uw.jpeg" /></figure><p>After reading <a href="https://medium.com/salted-bytes/10-things-i-want-to-learn-in-2019-d18150f12c0b">Jame’s thoughts on what he wanted to learn in 2019</a>, I thought I’d shamelessly copy him.</p><p>In our <a href="http://zero-index.co.uk/">Zero Index</a> days James &amp; I discussed <a href="http://zero-index.co.uk/podcast/episode-1">“What makes a good a developer?”</a>. We agreed good developers shared one key trait — an aptitude for, and enjoyment of, learning. Here follows a list of things I want to learn &amp; do in 2019, from purely technical to very much not.</p><h3>1. Serverless deep dive</h3><p>I’ve previously written on why <a href="https://www.codementor.io/chrisquinn299/serverless-do-more-nclf7ere5">serverless technologies are a good thing</a>. In 2019 the <a href="https://serverless.com/">Serverless</a> (capital S) platform has matured and I’d like to upskill to take advantage of the vendor-agnostic approach the framework allows for.</p><h3>2. Embracing GitLab &amp; going all-in on Continuous Delivery</h3><p>GitHub has had several significant outages over recent months, and Bitbucket’s reliability is famously patchy. Relying on third party hosted servers for your VCS, especially when we use such systems as an integral part of our CI/CD processes, is not ideal. I’d like to investigate <a href="https://about.gitlab.com/">GitLab</a> as a sustainable self-hosted replacement for CI/CD workflows.</p><h3>3. Good web typography</h3><p>I believe typography on the web is shamefully neglected, even with the plethora of good systems available to bootstrap projects. In 2019 I’d like to learn how to employ graceful &amp; responsive type systems to aid accessibility and improve user interfaces at a granular level.</p><h3>4. The future of PWAs</h3><p>PWAs are my bag, but what’s next? Resilient web experiences are super sweet, and I’m keeping an eye on some sexy new APIs that will let best-in-class web apps leverage interesting new interactivity and all-in user experiences. I’m keenly following several major PWA protagonists on Twitter (<a href="https://twitter.com/chrisquinnr">check my follows</a>) and hope to stay on curve with the latest PWA goodies.</p><h3>5. Highly effective habits of remote working</h3><p>I’m relocating to Spain soon, having gone freelance in September last year, and will be remote working for several companies around the world. I think remote working is the future, but I don’t have all the answers yet. In 2019, I’d like to to chronicle my own experiences with remote working and see if I was right.</p><h3>6. Find balance</h3><p>2018 was by any measure one of the worst years of my life. It’s hard to write, but events in my personal life left a devastating wake which I’m still trying to come to terms with. It’s not hard to connect the fallout from this with my plans in #5 above.</p><p>I’m hoping that in 2019, I can use my skills and experience to help further meaningful projects around the world, but not at the expense of my mental health. I’ve recalibrated my work/life balance to put family first and I’m looking forward to continuing this into 2019.</p><h3>Summary</h3><p>So that turned out to be only 6 things (you win James), but I’m confident I can make great progress on my goals throughout the year.</p><p>2019 will be a year of change for me and I’m excited to see what challenges and experiences lie ahead.</p><p>What will you be learning in 2019?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5fbc1c6a2568" width="1" height="1" alt=""><hr><p><a href="https://medium.com/salted-bytes/all-the-things-i-want-to-learn-do-in-2019-5fbc1c6a2568">All the things I want to learn &amp; do in 2019</a> was originally published in <a href="https://medium.com/salted-bytes">Salted Bytes</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[NoCoffee, the vision impairment simulator you should be using]]></title>
            <link>https://medium.com/@chrisquinnr/nocoffee-the-vision-impairment-simulator-you-should-be-using-f81992c1effc?source=rss-3af40dc58e------2</link>
            <guid isPermaLink="false">https://medium.com/p/f81992c1effc</guid>
            <category><![CDATA[healthcare]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[accessibility]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Chris Quinn]]></dc:creator>
            <pubDate>Mon, 09 Oct 2017 20:49:43 GMT</pubDate>
            <atom:updated>2017-10-09T20:49:43.602Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2XX6eNj40ard_w2ss2z7rA.png" /></figure><p>It’s a few days till <strong>World Sight Day 2017 </strong>(12 October), when the <a href="https://www.iapb.org/">International Agency for the Prevention of Blindness</a> will update their <a href="http://atlas.iapb.org/">Vision Atlas</a> with new data from the Vision Loss Action Group.</p><p>From the <a href="http://www.thelancet.com/journals/langlo/article/PIIS2214-109X(17)30293-0/fulltext">open access paper</a>, we learn that globally, of the 7.33 billion people alive in 2015:</p><ul><li>an estimated 36 million were blind, an increase of 17.6% from 1990</li><li>circa 216 million people had moderate to severe impairments</li><li>circa 188 million had a mild impairment</li></ul><blockquote>Source: <a href="http://www.thelancet.com/journals/langlo/article/PIIS2214-109X(17)30293-0/fulltext">http://www.thelancet.com/journals/langlo/article/PIIS2214-109X(17)30293-0/fulltext</a></blockquote><p>Population growth &amp; ageing populations the primary cause of the increase in vision impairment.</p><p>As web developers in 2017, armed with this information, what should we do? How can we cater to visually impaired users? Or rather, how can we at least architect our sites so we’re not making our content impenetrable?</p><p>Sometimes, knowing what tools you have available makes the difference. One tool for developers I’d like to talk about here is NoCoffee, but do shout out in the comments if you’d like to showcase another.</p><h3>NoCoffee</h3><p><a href="https://chrome.google.com/webstore/detail/nocoffee/jjeeggmbnhckmgdhmgdckeigabjfbddl">https://chrome.google.com/webstore/detail/nocoffee/jjeeggmbnhckmgdhmgdckeigabjfbddl</a></p><p>The number one reason for writing this article, NoCoffee is an awesome extension from Aaron Leventhal deserving of a much higher profile.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x47ViCyym6y7XlB8fRrFsA.png" /></figure><p>The Chrome extension allows you to layer simulations of visual impairments over any web page, as well as adjusting the intensity of different conditions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SI_k-qKpPBd1-XdF6qL25w.png" /><figcaption>BBC News with NoCoffee’s Protanopia filter</figcaption></figure><p>Being aware of how differently colour can be interpreted can drastically change your assumptions.</p><p>Imagine trying to use Trello (which I love using), which can heavily rely on colour-tagging different cards — or literally any web application using Bootstrap’s standard buttons.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9_AkAs-Gu3jgSCC89QGr8Q.png" /><figcaption>Bootstrap’s standard button stylings</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6b0eYhOQP6i9lp7jBkG0fQ.png" /><figcaption>Bootstrap’s standard buttons with NoCoffee’s Protanopia filter</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C0PkBg1ZlWSiegTIhsdE8A.png" /><figcaption>Bootstrap’s standard buttons with NoCoffee’s Achromatopsia filter</figcaption></figure><p>Being mindful of how users with visual impairments may be viewing sites could &amp; should inform the way we architect our web projects.</p><p><a href="http://www.colourblindawareness.org/colour-blindness/types-of-colour-blindness/">Types of Colour Blindness</a></p><p>NoCoffee has more options for simulating blur, contrast loss, cataracts and other conditions, beyond colour filters, but it’s important to note that these simulation layers are just that — simulations. They’re not medically or scientifically audited, by the author’s own admission; but NoCoffee is a fantastic first step towards widening awareness of the myriad visual impairments your website’s users may have.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f81992c1effc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>