<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Connor Gladwin</title>
    <description>The latest articles on DEV Community by Connor Gladwin (@connorgladwin).</description>
    <link>https://dev.to/connorgladwin</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F229452%2F62c87eaa-4228-48ec-a6d2-2dcd379fa7c3.jpeg</url>
      <title>DEV Community: Connor Gladwin</title>
      <link>https://dev.to/connorgladwin</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/connorgladwin"/>
    <language>en</language>
    <item>
      <title>Programmatic Problem Solving</title>
      <dc:creator>Connor Gladwin</dc:creator>
      <pubDate>Thu, 11 Mar 2021 21:00:12 +0000</pubDate>
      <link>https://dev.to/connorgladwin/programmatic-problem-solving-9am</link>
      <guid>https://dev.to/connorgladwin/programmatic-problem-solving-9am</guid>
      <description>&lt;p&gt;The art of solving problems using code, at its core, isn't about the code. A popular quote states that programming is "90% problem solving and 10% writing code". &lt;/p&gt;

&lt;p&gt;Though most of us, especially when starting to learn how to code, don't really think of the problem solving aspect of it. I'll admit that for the longest time I too would just jump into a new project, with no pre-planning and the mindset of "we'll figure it out along the way." This, I believe, is born from excitement, the rush of starting something new, it's the fun bit. &lt;/p&gt;

&lt;p&gt;I still do this from time to time, either when I'm really excited about a project, or when I'm writing something just to keep my basic knowledge sharp. The latter being the one that needs the pre-planning the most. &lt;/p&gt;

&lt;p&gt;But when you take a step back, we are solving problems, no matter what you're making. You are both making the puzzle and solving it.&lt;/p&gt;

&lt;p&gt;A concept that I've come to know and understand as a fundamental part of my process is the preplanning. However you may do it, it will make whatever you're doing far easier, whether it be scribbling down a drawing of your website layout before you begin creating the webpage or drawing up a complex flowchart detailing how each component of your app will interact with each other, it will give you some direction and allow you to account for future components that will be added. Now I'm not saying detail your entire solution here, though it's always good to keep a few ideas noted as inspiration.&lt;/p&gt;

&lt;p&gt;How I go about this is, I have a notion.so document that contains everything my app will need to do. from here, whenever I create a new file, I will add all the components and functions needed for that file, like so:&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;// fetch user input from form and store in session&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;I use these like headers. Taking the examples above, creating a function that will add the user input information into session storage will go beneath that comment. It allows me to separate the code and focus on that one thing, its also handy for finding that piece of code when you need to fix it. You can also pseudocode here for added planning, its something that most of us have learned when we started out but rarely use. Next I determine what are my inputs, outputs and variables, as this lays down what I'll be working with. Then I hop in and start writing.&lt;/p&gt;

&lt;p&gt;You're going to be problem solving whether you like it or not, if it's for a client, your job or just for yourself. So give yourself the best advantage: clear direction and a better understanding of where you're going with the code and what it needs to accomplish.&lt;/p&gt;

&lt;p&gt;Unfortunately, in the real world, the problems you'll be tasked with solving won't be clearly laid out, so I hope what you've read here helps with the problem you're trying to solve. &lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;/p&gt;

&lt;p&gt;If you'd like to read more of my writing, you can check out some of my other articles on dev.to, if you'd like to read more of my ramblings and thoughts or just stay up to date you can follow me on twitter @khasmodan, I also stream myself solving different coding tasks over on twitch - &lt;a href="https://www.twitch.tv/khasmodan"&gt;here&lt;/a&gt; - every Tuesday and Thursday at 7pm (SAST).&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>programming</category>
    </item>
    <item>
      <title>The Immediacy of Web Development - Hot Reloading</title>
      <dc:creator>Connor Gladwin</dc:creator>
      <pubDate>Fri, 05 Mar 2021 07:04:08 +0000</pubDate>
      <link>https://dev.to/connorgladwin/the-immediacy-of-web-development-hot-reloading-k52</link>
      <guid>https://dev.to/connorgladwin/the-immediacy-of-web-development-hot-reloading-k52</guid>
      <description>&lt;p&gt;When I had moved over to web development after finishing my bootcamp in software development (Python &amp;amp; Java), I was amazed that you could get immediate feedback on what you had just done. No need to wait for your app to compile and run, and in a few cases, you could intentionally break your website if needed. Along with this you're also given a whole host of developer tools right out of the box. &lt;/p&gt;

&lt;p&gt;After a short while I found this immediacy a boon for my development, with very little thought you were able to see the result of your work. Though this wasn't enough for me, I didn't want to click outside of my editor to see the changes happen. &lt;/p&gt;

&lt;p&gt;After a bit of research I came across a buzzword from many of the podcasts I have listened to: &lt;em&gt;hot reloading&lt;/em&gt;. Now this just sounds cool. It conjures the image of your lightning fast key strokes flying straight to your browser, still glowing red hot when it gets there. &lt;/p&gt;

&lt;p&gt;That analogy aside, hot reloading is an awesome tool. This works well with single page apps, and it definitely helps when you're learning website design or single page static websites, though you may run into some issues if you're building a bigger, more complex app. &lt;/p&gt;

&lt;p&gt;In the past, &lt;strong&gt;grunt&lt;/strong&gt; and &lt;strong&gt;gulp&lt;/strong&gt; were the go to tools for this, but I haven't used them because I was introduced to Parcel.js first, and that's what I've used ever since.&lt;/p&gt;

&lt;h3&gt;
  
  
  How to make it happen:
&lt;/h3&gt;

&lt;p&gt;First off you'll need to download and install Node.js, as this is a node package. &lt;/p&gt;

&lt;p&gt;Secondly you will have to create a folder which is going to house your project. (You can do all of this in your file explorer)&lt;/p&gt;

&lt;p&gt;Next you will need to open your preferred terminal (I use Hyper terminal which can be found here: &lt;a href="https://hyper.is/"&gt;https://hyper.is/&lt;/a&gt;) and navigate to the folder that you've just created. &lt;/p&gt;

&lt;p&gt;Once in the folder, use the following console command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm init &lt;span class="nt"&gt;-y&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;What this will do is create a package.json file in your folder.&lt;/p&gt;

&lt;p&gt;And once that's run its course, run the following:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm i parcel-bundler
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will install the parcel.js package to your folder. &lt;/p&gt;

&lt;p&gt;From here you will need to open your package.json in your favorite text editor, and modify it slightly so that you can get the hot reloading rolling. &lt;/p&gt;

&lt;p&gt;Your package.json should look something like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Test"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;//&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;the&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;folder&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;name&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"1.0.0"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"description"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"main"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"index.js"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;//&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;you'll&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;need&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;to&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;change&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;this&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;but&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;well&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;leave&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;it&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;as&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;is&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;for&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;now&lt;/span&gt;&lt;span class="w"&gt; 
  &lt;/span&gt;&lt;span class="nl"&gt;"scripts"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"build"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"parcel index.html"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;//&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;the&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;command&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;you'll&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;need&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;to&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;run&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;in&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;your&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;terminal&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"test"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"echo &lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s2"&gt;Error: no test specified&lt;/span&gt;&lt;span class="se"&gt;\"&lt;/span&gt;&lt;span class="s2"&gt; &amp;amp;&amp;amp; exit 1"&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"keywords"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[],&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"author"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"license"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"ISC"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A few notes on the code above: &lt;/p&gt;

&lt;p&gt;First off, the name will be the folder name that you have initialized your package.json file in. &lt;/p&gt;

&lt;p&gt;Secondly, the &lt;em&gt;main&lt;/em&gt; will be the JavaScript file that your npm packages are looking at, not necessarily what parcel will be watching. &lt;/p&gt;

&lt;p&gt;And thirdly, your build command will have to have the file name that you are wanting parcel to watch, if it doesn't, none of this will work. &lt;/p&gt;

&lt;p&gt;Once this is done, you can create your index.html. The last step is to hop back into your terminal  and run the following command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm run build
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will run the parcel server on your localhost (most likely localhost:1234), where you will be able to view the page. The page will also update every time you save.&lt;/p&gt;

&lt;p&gt;Another option, though I do take exception to this as it is editor specific, is LiveServer for VSCode. It works very similarly to parcel without having to go through the process of installing a package. &lt;/p&gt;

&lt;p&gt;Thanks for reading! I hope this little guide helps! &lt;/p&gt;

&lt;p&gt;You can follow me over on twitter at @Khasmodan to see my ramblings and stay up to date with my posts.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>webdev</category>
      <category>node</category>
    </item>
    <item>
      <title>Dealing with Rejection as a Self-Taught Dev</title>
      <dc:creator>Connor Gladwin</dc:creator>
      <pubDate>Thu, 25 Feb 2021 06:02:21 +0000</pubDate>
      <link>https://dev.to/connorgladwin/dealing-with-rejection-as-a-self-taught-dev-7l9</link>
      <guid>https://dev.to/connorgladwin/dealing-with-rejection-as-a-self-taught-dev-7l9</guid>
      <description>&lt;p&gt;The field of software and web development is one of the few in which a person can join, and even thrive with only self-taught knowledge. There is no shortage of success stories to prove that this is true. But even though there are these success stories, the sad reality is that there are far more where failure is a constant.&lt;/p&gt;

&lt;p&gt;When asking those that have succeeded how they did it, the most common thread is that it's a numbers game, throw enough at the wall and something is bound to stick, another is that they were able to get the ear of a dev or hiring manager at a certain company and that was their way of getting their foot in the door. I'm not trying to dismiss these, or deny that they are viable ways of getting into the industry, but they are far harder than they're made out to be. &lt;/p&gt;

&lt;p&gt;For most who are in a position similar to mine, rejection is a common occurrence. We've played the numbers game, we've spoken to recruiters and other devs, but the prevailing answer at the end of the day is this: "You don't have the level of experience that we're looking for."&lt;/p&gt;

&lt;p&gt;This line of reasoning becomes a vicious circle of "I don't have enough experience to get a job but I need experience to get a job but I don't have enough experience to get a job etc...". And so, the rejection continues. This rejection comes in another form, which is no answer whatsoever, you send through your CV in eloquent and well thought out email and after weeks of waiting nothing comes back. This, in my opinion, is the worst.&lt;/p&gt;

&lt;p&gt;The rejection hurts. The resulting headspace is one of a deep demotivation and reconsideration whether all of the time and effort you've sunk into learning this new craft was worth it. If you're worth it. &lt;/p&gt;

&lt;p&gt;I can only speak for myself here, but I have applied for, through the most popular job search platforms available to me, over 100 jobs, and I have managed to get two positive responses: a phone screen and a tech interview. Both unsuccessful because I was too too junior. &lt;/p&gt;

&lt;p&gt;The way I personally handle these feelings, and motivate myself to keep going is this, a single sentence: "I'm better than this". In the grand scheme of things this is just a tiny blip on the timeline that is my career, and I will overcome it. I remind myself of the success stories, and of my love of creating things, because no matter what, I still sit down and write code and keep learning whenever I have the time to. And you should too. &lt;/p&gt;

&lt;p&gt;Another way to keep yourself up is to learn something new, find a new technology that excites you and build something. You can even go as far as starting to contribute to an open source project. Even if its something that the market isn't looking for in a candidate, do it for yourself.&lt;/p&gt;

&lt;p&gt;Never stop looking for opportunities, because you only lose if you stop playing the game. &lt;/p&gt;

</description>
      <category>career</category>
      <category>motivation</category>
    </item>
    <item>
      <title>Python and the Art of Laziness</title>
      <dc:creator>Connor Gladwin</dc:creator>
      <pubDate>Mon, 15 Feb 2021 19:58:20 +0000</pubDate>
      <link>https://dev.to/connorgladwin/python-and-the-art-of-laziness-31hi</link>
      <guid>https://dev.to/connorgladwin/python-and-the-art-of-laziness-31hi</guid>
      <description>&lt;p&gt;I'd read somewhere that developers are lazy. It's an old joke passed around, most likely stemming from a quote often miscredited to Bill Gates: "&lt;em&gt;I will always choose a lazy person to do a difficult job because a lazy person will find an easy way to do it.&lt;/em&gt;"&lt;/p&gt;

&lt;p&gt;Now this may be true for some, but when I rediscovered my love for coding I dismissed this, I wasn't going to be lazy, I was going to be a productive dev, a 10x. I'm now just over a year into my journey, having learned python through a bootcamp, and I'm currently teaching myself JavaScript. I have been on this journey for a whole year, rarely taking a day off, and all I can say is that it makes you lazy. And thus was the impetus for this piece. &lt;/p&gt;

&lt;p&gt;The real catalyst for the subject was when I found myself opening the four apps I use most when writing code, namely VS Code, GitHub Desktop, Chrome Canary and Hyper Terminal. &lt;/p&gt;

&lt;p&gt;Now I understand that it's just four apps, it's really not that difficult, yet I still huffed and rolled my eyes whenever I had to do it. The thought had then occurred to me: "There must be an easier way to do this", and this was the seed. It was small, I could've shrugged it off and continued the way I had for the past months, but I gave it a bit of heed and thus the result was what I've called my DevStart. &lt;/p&gt;

&lt;p&gt;The more I thought about it, the more excited I got, I could finally put what I'd learned to good use, to build something that I could use to solve a problem I was having in my daily routine. &lt;/p&gt;

&lt;p&gt;When starting I knew I would have to access the &lt;em&gt;os&lt;/em&gt; using python, with &lt;em&gt;import os&lt;/em&gt; first step was done. Next I knew that there was a way to open files using python, but I didn't know how to open a program, and after a bit of digging I found some rather verbose and overcomplicated ways of doing it, importing a whole host of modules to get this done. I did try one or two, but they never worked, throwing error after error. This lead me to what I do whenever I run into an issue with my JS, and something that I've taken to be something like a mantra... "Just go look at the docs".&lt;/p&gt;

&lt;p&gt;After a lot of searching and punching keywords that were relevant to my goal into the search bar I came across the function &lt;em&gt;os.startFile(),&lt;/em&gt; into which you plug the path to your apps exe. The code ended up looking like this (paths removed):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;os&lt;/span&gt;

&lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;startFile&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;VS&lt;/span&gt; &lt;span class="n"&gt;Code&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;startFile&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;Hyper&lt;/span&gt; &lt;span class="n"&gt;Terminal&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;startFile&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;GitHub&lt;/span&gt; &lt;span class="n"&gt;Desktop&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;startFile&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;Chrome&lt;/span&gt; &lt;span class="n"&gt;Canary&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I typed all this out, and upon running the file it worked smoothly. Great! Job done! Not quite. I didn't want to have to open one program, only to have it open another three, my aim was to make this as easy as possible. And making it as easy as possible meant making my new little script work like an executable. &lt;/p&gt;

&lt;p&gt;To do this I created a batch file, which looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="s2"&gt;"C:&lt;/span&gt;&lt;span class="se"&gt;\U&lt;/span&gt;&lt;span class="s2"&gt;sers&lt;/span&gt;&lt;span class="se"&gt;\C&lt;/span&gt;&lt;span class="s2"&gt;onnor&lt;/span&gt;&lt;span class="se"&gt;\A&lt;/span&gt;&lt;span class="s2"&gt;ppData&lt;/span&gt;&lt;span class="se"&gt;\L&lt;/span&gt;&lt;span class="s2"&gt;ocal&lt;/span&gt;&lt;span class="se"&gt;\P&lt;/span&gt;&lt;span class="s2"&gt;rograms&lt;/span&gt;&lt;span class="se"&gt;\P&lt;/span&gt;&lt;span class="s2"&gt;ython&lt;/span&gt;&lt;span class="se"&gt;\P&lt;/span&gt;&lt;span class="s2"&gt;ython37-32&lt;/span&gt;&lt;span class="se"&gt;\p&lt;/span&gt;&lt;span class="s2"&gt;ython.exe"&lt;/span&gt; 
&lt;span class="s2"&gt;"C:&lt;/span&gt;&lt;span class="se"&gt;\C&lt;/span&gt;&lt;span class="s2"&gt;ode&lt;/span&gt;&lt;span class="se"&gt;\d&lt;/span&gt;&lt;span class="s2"&gt;ev-start&lt;/span&gt;&lt;span class="se"&gt;\d&lt;/span&gt;&lt;span class="s2"&gt;ev-start.py"&lt;/span&gt;
pause
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Creating the batch file was relatively easy, create a new file in your editor and save it as a .bat file. Now what this does is starts IDLE, which then runs the python script and presto, we have four apps open. &lt;/p&gt;

&lt;p&gt;I do understand that I spent probably ten times the amount of time automating a process that takes me about 30 seconds, but I'm not going lie and say I wasn't impressed with myself. It was shortly after I had gotten it to work, while I was showing it off to a friend, that the quote drifted into my mind, I now understood the core of it. It's less about being lazy, and more about being efficient, finding a way to remove the small tasks that aren't helping you be productive, or minimizing unproductive behavior. I've tried to implement this into the way I work, "how do I get the job done, to the best of my ability, using minimal effort". What this has done is develop a better problem solving mindset.  &lt;/p&gt;

&lt;p&gt;I hope you enjoyed my delve into "laziness", you might even find that you're able to use my script to your own advantage.&lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;/p&gt;

</description>
      <category>python</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
