<?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: Nia McCash</title>
    <description>The latest articles on DEV Community by Nia McCash (@niamccash).</description>
    <link>https://dev.to/niamccash</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%2F448255%2F6c5a1e5c-47a0-4b42-9209-77a5a1f899f5.jpg</url>
      <title>DEV Community: Nia McCash</title>
      <link>https://dev.to/niamccash</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/niamccash"/>
    <language>en</language>
    <item>
      <title>Do as I Say, not as I Do</title>
      <dc:creator>Nia McCash</dc:creator>
      <pubDate>Tue, 05 Jan 2021 17:25:14 +0000</pubDate>
      <link>https://dev.to/niamccash/do-as-i-say-not-as-i-do-4jj2</link>
      <guid>https://dev.to/niamccash/do-as-i-say-not-as-i-do-4jj2</guid>
      <description>&lt;p&gt;One fallacy I've learned recently as a senior developer is that I can always advise others to do as I have done.&lt;/p&gt;

&lt;p&gt;That is a myth because it does NOT always lead to success!&lt;/p&gt;

&lt;p&gt;When faced with a decision, my natural tendency is to go with what's worked for me in the past. But, when advising others I have to remember that what's worked for me may not work for someone else. &lt;/p&gt;

&lt;p&gt;As a senior developer, I can take more risks with my work. If I mess up, I have earned enough credit, trust, and goodwill with my coworkers/management that they know my mistake is not a reflection of shoddy workmanship or unprofessionalism. It's not because I don't care about my work or my team or the organization. There is less room for bad assumptions. But the same can't always be said for someone else, particularly if it's someone junior or perhaps new to the organization.&lt;/p&gt;

&lt;p&gt;Sometimes, there is a valid reason to say: &lt;em&gt;Do as I say, not as I do&lt;/em&gt;.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>What Multiple Choice Tests Taught Me About Time Management</title>
      <dc:creator>Nia McCash</dc:creator>
      <pubDate>Mon, 23 Nov 2020 17:34:56 +0000</pubDate>
      <link>https://dev.to/niamccash/what-multiple-choice-tests-taught-me-about-time-management-5hcf</link>
      <guid>https://dev.to/niamccash/what-multiple-choice-tests-taught-me-about-time-management-5hcf</guid>
      <description>&lt;p&gt;[Photo by &lt;a href="https://unsplash.com/@craftedbygc"&gt;Green Chameleon&lt;/a&gt; on Unsplash]&lt;/p&gt;

&lt;p&gt;In my 2nd year at university, I took a mandatory course called “&lt;em&gt;Principles of Programming Languages&lt;/em&gt;” in which I was taught functional programming languages (like Lisp and ML). As part of this course, the professor gave us an impossible midterm. It was all multiple choice questions, but there were far more questions than could be completed in the 1 hour time limit. &lt;/p&gt;

&lt;p&gt;The students didn’t know this at the time. The class average for the test was abysmal. Some of the students who usually got top grades received poor grades on that test. I did surprisingly well. &lt;/p&gt;

&lt;p&gt;After the test was graded, the professor explained that he purposefully added a lot of questions for the allotted time frame. He wanted us to learn better test-taking strategies, which includes not getting stuck for too long on a question that you aren’t sure of. The class groaned and complained, of course. We weren’t supposed to be tested on our ability to take a test.  We were supposed to be tested on our knowledge of Lisp and ML. &lt;/p&gt;

&lt;p&gt;To be honest, I don’t remember if the professor ended up adjusting the marks, but I did learn something unexpected. &lt;/p&gt;

&lt;p&gt;I did well on the test because I knew the optimal strategy for taking a multiple choice exam - don’t get stuck wasting your time on a question you are unsure of. When stuck on a question, I answer with my best guess, make a note of the question number, and move on. I come back to these questions at the end of the test, if I have time. &lt;/p&gt;

&lt;p&gt;Prior to that particular test, I hadn’t really thought about this strategy. It was just something that made sense to me, something I did by default. My professor and his impossible test made me realize that I had a strategy for multiple choice tests and it was one that works well!&lt;/p&gt;

&lt;p&gt;Today, I know I learned a number of things from that experience including: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The importance of having a plan before setting out to complete a task, especially more complex ones - knowing the best strategy to take for a multiple choice can result in an improved grade.&lt;/li&gt;
&lt;li&gt;Don’t lose sight of the big picture - it’s not as important to work out the one question that I’m stuck on, as it is to complete the test successfully. &lt;/li&gt;
&lt;li&gt;The importance of self-awareness/self-reflection - I now know how my approach to a multiple choice exam type situation and can mindfully choose to continue with my strategy. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;15+ years later...&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I run into a similar situation in the work place. Instead of a multiple choice test, we had a number automated tests to run and only a short period of time in which to complete all test runs.  &lt;/p&gt;

&lt;p&gt;We were preparing for a major upgrade and we were not always very disciplined with updating our automated tests. So, we needed to run them prior to the upgrade to see if any fail, so we could note that any tests which fail prior to the upgrade are likely not failures that are caused by the upgrade. &lt;/p&gt;

&lt;p&gt;There were 3 possible reasons for a test to fail: &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;We forgot to update the test when we updated a feature.&lt;/li&gt;
&lt;li&gt;A timing issue - unfortunately some tests would fail due to a timing issue and would usually pass if run again. &lt;/li&gt;
&lt;li&gt;A feature is genuinely broken, even prior to the upgrade. &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;(If you’re cringing at how broken/immature our development and testing processes are - I hear you, but stay with me. That’s not the point of this particular story...)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Our junior developer had one day to run all the tests and to determine which of the 3 reasons each failing test fell under. If the test failed because we forgot to update it, then we could quickly update the test. If the test failed due to a timing issue, then we would need to run the test again. If the test failed due to a genuinely broken feature, then we would need to make a note of it.  &lt;/p&gt;

&lt;p&gt;The problem was that with each failing test, the junior developer had to troubleshoot to determine which of the 3 types of failures he had in order to take appropriate actions.  When I checked in with him a little past halfway through the work day to see how he was progressing, he had completed less than half of the tests. Rather than letting me know he was behind schedule, he brought to my attention one of the failing test, presumably the one he was currently looking at to get my help with diagnosing it. &lt;/p&gt;

&lt;p&gt;It seemed to me that he had gotten stuck in the multiple choice test trap and was not going to be able to complete all the tests before the end of the day. I asked him to focus on running all of the tests at least once first. The testing framework was such that each failure would have some information as to why the test had failed. In a pinch, senior developers can usually discern from these logs which of the 3 reasons caused the test to fail.  &lt;/p&gt;

&lt;p&gt;Having been given an important task, and being eager to learn and to work, our junior developer dove right into the task without first planning - figuring out what his strategy would be. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;In our professional and personal lives...&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Many of us have more tasks than there are hours in the day. While the multiple choice test situation is not a perfect analogy for everything in life, and I’m not suggesting that you can skip the unsure or difficult parts of life and come back to it later, I still think it’s important to be self-aware (to know what your defaults are and whether or not they need improvement),, to not lose sight of the big picture, and often, it’s helpful to have a plan. &lt;/p&gt;

&lt;p&gt;Turns out... the ability to plan, to be able to see the big picture, and to be self-aware are a kind of professional super power.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Handy Git Commands for Working with Git/GitHub - Learned via Hacktoberfest</title>
      <dc:creator>Nia McCash</dc:creator>
      <pubDate>Thu, 15 Oct 2020 18:43:07 +0000</pubDate>
      <link>https://dev.to/niamccash/handy-git-commands-for-working-with-git-github-learned-via-hacktoberfest-3hb8</link>
      <guid>https://dev.to/niamccash/handy-git-commands-for-working-with-git-github-learned-via-hacktoberfest-3hb8</guid>
      <description>&lt;p&gt;Here are 2 handy git commands I learned, thanks to Hacktoberfest 2020, and am bookmarking for myself via this post. Perhaps these will also be helpful to some of you.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://stackoverflow.com/questions/4220416/can-i-specify-multiple-users-for-myself-in-gitconfig"&gt;How to configure an individual repository to use a specific user/email address&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;For example, you may want to do this if you are working on a corporate laptop or on a computer where the global configurations are for your company's account, and you want to use a personal account for your Hacktoberfest participation.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://stackoverflow.com/questions/7244321/how-do-i-update-a-github-forked-repository"&gt;How to update a forked GitHub repository&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;If you forked a repository (repo), made some changes, submitted your pull request (PR), had your PR accepted and merged (congratulations!🎉), then your forked repo may now be out-of-date. If you want to continue to contribute to the same project over time, you will want to update your forked copy of the repo.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>When Work-Life Balance Goes Out the Window</title>
      <dc:creator>Nia McCash</dc:creator>
      <pubDate>Fri, 07 Aug 2020 00:05:17 +0000</pubDate>
      <link>https://dev.to/niamccash/when-work-life-balance-goes-out-the-window-2ean</link>
      <guid>https://dev.to/niamccash/when-work-life-balance-goes-out-the-window-2ean</guid>
      <description>&lt;p&gt;&lt;strong&gt;Work-Life Balance While Working from Home&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Earlier this year, many people went into quarantine, abruptly transitioning to working from home. For me it started in mid-March. &lt;/p&gt;

&lt;p&gt;In working from home, especially to those of us new to it, there was a danger that the lines between work and life blurred. It became even more important to have boundaries in order to have balance. I started to notice (perhaps because I was paying more attention to them) more articles and comments about work-life balance and preventing burnout on my Twitter feed. &lt;/p&gt;

&lt;p&gt;Since I landed a more senior role last year and especially since the lockdown, I had been articles and advice on leadership, many of which encouraged people to model work-life balance behaviours for their team&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;by taking their lunch breaks, &lt;/li&gt;
&lt;li&gt;taking vacation and time off, &lt;/li&gt;
&lt;li&gt;allowing kids to show up in video conference meetings. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These felt even more important and emphasized with so many folks suddenly working from home. &lt;/p&gt;

&lt;p&gt;So, for a while, I tried to follow the advice, to model good work-life balance for my team. I encouraged my colleagues to wrap up their work at the end of the work day and take their evenings off as they would have if they had been working in the office. I avoided booking meetings during the lunch hours. I refrained from sending emails after hours as much as possible.&lt;/p&gt;

&lt;p&gt;For the rare occasion that I did send after-hours emails, I added a new line to my regular email signature which said &lt;em&gt;“My working hours may not be your working hours. Please do not feel obligated to reply outside of your normal work schedule”&lt;/em&gt; -- full credit to Chloe Condon for the idea&lt;br&gt;
&lt;/p&gt;
&lt;blockquote class="ltag__twitter-tweet"&gt;
      &lt;div class="ltag__twitter-tweet__media ltag__twitter-tweet__media__video-wrapper"&gt;
        &lt;div class="ltag__twitter-tweet__media--video-preview"&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Rsa6-hf7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://pbs.twimg.com/tweet_video_thumb/EB3n1MVUcAAHj0n.jpg" alt="unknown tweet media content"&gt;
          &lt;img src="/assets/play-butt.svg" class="ltag__twitter-tweet__play-butt" alt="Play butt"&gt;
        &lt;/div&gt;
        &lt;div class="ltag__twitter-tweet__video"&gt;
          
            
          
        &lt;/div&gt;
      &lt;/div&gt;

  &lt;div class="ltag__twitter-tweet__main"&gt;
    &lt;div class="ltag__twitter-tweet__header"&gt;
      &lt;img class="ltag__twitter-tweet__profile-image" src="https://res.cloudinary.com/practicaldev/image/fetch/s--Vap4lmIb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://pbs.twimg.com/profile_images/1275623059664199680/YEZDVgqW_normal.jpg" alt="Chloe Condon 🎀 profile image"&gt;
      &lt;div class="ltag__twitter-tweet__full-name"&gt;
        Chloe Condon 🎀
      &lt;/div&gt;
      &lt;div class="ltag__twitter-tweet__username"&gt;
        &lt;a class="mentioned-user" href="https://dev.to/chloecondon"&gt;@chloecondon&lt;/a&gt;

      &lt;/div&gt;
      &lt;div class="ltag__twitter-tweet__twitter-logo"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ir1kO05j--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-f95605061196010f91e64806688390eb1a4dbc9e913682e043eb8b1e06ca484f.svg" alt="twitter logo"&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="ltag__twitter-tweet__body"&gt;
      Took inspo from some folks at &lt;a href="https://twitter.com/Microsoft"&gt;@Microsoft&lt;/a&gt; &amp;amp; added "My working hours may not be your working hours. Please do not feel obligated to reply outside of your normal work schedule." to my email signature &amp;amp; now I feel like less of a bad person when I send a late-night email. 🙌 
    &lt;/div&gt;
    &lt;div class="ltag__twitter-tweet__date"&gt;
      18:10 PM - 13 Aug 2019
    &lt;/div&gt;


    &lt;div class="ltag__twitter-tweet__actions"&gt;
      &lt;a href="https://twitter.com/intent/tweet?in_reply_to=1161339185896144897" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fFnoeFxk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-reply-action-238fe0a37991706a6880ed13941c3efd6b371e4aefe288fe8e0db85250708bc4.svg" alt="Twitter reply action"&gt;
      &lt;/a&gt;
      &lt;a href="https://twitter.com/intent/retweet?tweet_id=1161339185896144897" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--k6dcrOn8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-retweet-action-632c83532a4e7de573c5c08dbb090ee18b348b13e2793175fea914827bc42046.svg" alt="Twitter retweet action"&gt;
      &lt;/a&gt;
      &lt;a href="https://twitter.com/intent/like?tweet_id=1161339185896144897" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--SRQc9lOp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-like-action-1ea89f4b87c7d37465b0eb78d51fcb7fe6c03a089805d7ea014ba71365be5171.svg" alt="Twitter like action"&gt;
      &lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/blockquote&gt;


&lt;p&gt;For a while, I was doing well. Then, the second half of July hit. &lt;/p&gt;

&lt;p&gt;Working at a higher education institution, the demands of the September start of the new academic term started to rush in, demands which became greater and more pressing given the unpredictable pandemic. The delicate work-life balance that I’d crafted and meticulously modeled started to fall apart. &lt;/p&gt;

&lt;p&gt;Coincidentally, at the same time that my work load started to increase drastically, I came across &lt;a href="https://hbr.org/2019/03/how-to-get-through-an-extremely-busy-time-at-work"&gt;this Harvard Business Review article&lt;/a&gt; - parts of which resonated with me.  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I learned that it is ok to have my work-life balance thrown out of whack, at least temporarily.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The article starts:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;You’re an accountant deep in tax season, a junior doctor in residency, or an entrepreneur juggling a startup and an actual baby. Many of us go through seasons of life when we have very little personal time.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;It reminded me that my crazy work load is seasonal and temporary.&lt;/p&gt;

&lt;p&gt;The article continues:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;While this kind of overwork is not ideal, there are undoubtedly situations in which it becomes a necessity or makes personal sense… At times like this, when having full weekend off seems like a distant dream, advice on the importance of maintaining work-life balance, reducing the stress, and getting enough sleep can feel like a slap in the face.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I read that and realized that it wasn’t healthy for me to give myself a hard time for not maintaining the ‘ideal’ work-life balance. &lt;/p&gt;

&lt;p&gt;I shouldn’t feel bad for working the extra hours that I’ve had to put in. I shouldn’t take the continuous feed of work-life balance posts on social media as a criticism or scolding on my life. That kind of thinking wasn’t helping.&lt;/p&gt;

&lt;p&gt;I am fortunate enough to be in a position where I have a job that I really like.  So following another Twitter advice, I reframed my thinking.&lt;/p&gt;


&lt;blockquote class="ltag__twitter-tweet"&gt;
      &lt;div class="ltag__twitter-tweet__media"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--FaaeJ0Kr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://pbs.twimg.com/media/D1vGst3UwAAjPrP.jpg" alt="unknown tweet media content"&gt;
      &lt;/div&gt;

  &lt;div class="ltag__twitter-tweet__main"&gt;
    &lt;div class="ltag__twitter-tweet__header"&gt;
      &lt;img class="ltag__twitter-tweet__profile-image" src="https://res.cloudinary.com/practicaldev/image/fetch/s--5DJZTuKy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://pbs.twimg.com/profile_images/1156306897927938050/XTqbtTFG_normal.jpg" alt="pat wadors profile image"&gt;
      &lt;div class="ltag__twitter-tweet__full-name"&gt;
        pat wadors
      &lt;/div&gt;
      &lt;div class="ltag__twitter-tweet__username"&gt;
        @wadors
      &lt;/div&gt;
      &lt;div class="ltag__twitter-tweet__twitter-logo"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ir1kO05j--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-f95605061196010f91e64806688390eb1a4dbc9e913682e043eb8b1e06ca484f.svg" alt="twitter logo"&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="ltag__twitter-tweet__body"&gt;
      I get to! &lt;a href="https://twitter.com/hashtag/findingtheopportunity"&gt;#findingtheopportunity&lt;/a&gt; 
    &lt;/div&gt;
    &lt;div class="ltag__twitter-tweet__date"&gt;
      23:20 PM - 15 Mar 2019
    &lt;/div&gt;


    &lt;div class="ltag__twitter-tweet__actions"&gt;
      &lt;a href="https://twitter.com/intent/tweet?in_reply_to=1106696607766970368" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fFnoeFxk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-reply-action-238fe0a37991706a6880ed13941c3efd6b371e4aefe288fe8e0db85250708bc4.svg" alt="Twitter reply action"&gt;
      &lt;/a&gt;
      &lt;a href="https://twitter.com/intent/retweet?tweet_id=1106696607766970368" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--k6dcrOn8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-retweet-action-632c83532a4e7de573c5c08dbb090ee18b348b13e2793175fea914827bc42046.svg" alt="Twitter retweet action"&gt;
      &lt;/a&gt;
      &lt;a href="https://twitter.com/intent/like?tweet_id=1106696607766970368" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--SRQc9lOp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-like-action-1ea89f4b87c7d37465b0eb78d51fcb7fe6c03a089805d7ea014ba71365be5171.svg" alt="Twitter like action"&gt;
      &lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/blockquote&gt;


&lt;p&gt;I &lt;strong&gt;&lt;em&gt;get&lt;/em&gt;&lt;/strong&gt; to be busy. And it’s ok because I can handle it. And it will be temporary.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
