<?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: Blake Campbell</title>
    <description>The latest articles on DEV Community by Blake Campbell (@blaketweeted).</description>
    <link>https://dev.to/blaketweeted</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%2F524%2F9d916aa7-8a83-4b87-ad9f-5fcf77cdc178.png</url>
      <title>DEV Community: Blake Campbell</title>
      <link>https://dev.to/blaketweeted</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/blaketweeted"/>
    <language>en</language>
    <item>
      <title>Tracing vs Transformation for developers</title>
      <dc:creator>Blake Campbell</dc:creator>
      <pubDate>Tue, 01 Feb 2022 21:09:51 +0000</pubDate>
      <link>https://dev.to/blaketweeted/tracing-vs-transformation-for-developers-4bp8</link>
      <guid>https://dev.to/blaketweeted/tracing-vs-transformation-for-developers-4bp8</guid>
      <description>&lt;p&gt;With millions of tutorials, Twitter threads, and clones of projects, there's a clear distinction between &lt;strong&gt;tracing&lt;/strong&gt; and &lt;strong&gt;transformation&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Tracing
&lt;/h2&gt;

&lt;p&gt;Tracing has its time and place. If you are examining how an application was built, understanding syntax, and so on. Wordle, Flappy Bird, and Todo List clones have value for beginners.&lt;/p&gt;

&lt;p&gt;Revenue in this space is sparse and scrappy, but some clones have gotten traction and made tons of money. &lt;/p&gt;

&lt;p&gt;Is it right to monetize it? In my opinion: Not really, but I'm not a cop.&lt;/p&gt;




&lt;h2&gt;
  
  
  Transformation
&lt;/h2&gt;

&lt;p&gt;Transformation is a substantial difference, like AskJeeves vs. Google or Facebook vs. MySpace. Transformation falls into two phases: Minor or Major.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Minor&lt;/strong&gt; transformation is more than slight tweaks or coloring outside the lines. Adding six letters to the Wordle game instead of 5 is more like tracing. Making it a PWA is more a transformation, in my opinion. Learning is more abundant than purely Tracing. Tutorials should encourage this, expanding the idea past the end. It's small and meaningful changes. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Major&lt;/strong&gt; Transformation is much more complex—AskJeeves vs. Google or Facebook vs. MySpace. The idea is the same but a constant refinement of critical points. It's easy to see some inspiration, but the list of differences is vast and expanding. &lt;/p&gt;




&lt;h2&gt;
  
  
  Closing
&lt;/h2&gt;

&lt;p&gt;There will always be those tracing others' projects and making cash or getting clout. It's part of the process now. Tracing isn't going to make a lasting product or great developers. It's mostly laziness or lack of creativity. &lt;/p&gt;

&lt;p&gt;Lasting products or ideas either fit into Major Transformation or Creation. Creation is much more challenging.&lt;/p&gt;

&lt;p&gt;Suppose you're interested in reading more about Creation. I highly recommend the book Zero to One. &lt;/p&gt;




&lt;p&gt;I'll leave you with two questions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Is this Tracing or a Transformation? &lt;/li&gt;
&lt;li&gt;Does it matter if it's Open-Source?
&lt;a href="https://uses.tech/"&gt;Uses Tech the Original&lt;/a&gt; vs &lt;a href="https://tech-blogs.dev/"&gt;Tech Blogs, Launched on Product Hunt&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--MVkthcId--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lxcmstpb8beaa677cf14.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--MVkthcId--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lxcmstpb8beaa677cf14.jpeg" alt="Uses.tech design vs tech-blogs.dev" width="880" height="991"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Sorry for The Office memes, but it's a really good show.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>motivation</category>
    </item>
    <item>
      <title>How to make teams more productive (WDS #3)</title>
      <dc:creator>Blake Campbell</dc:creator>
      <pubDate>Fri, 11 Jun 2021 15:35:54 +0000</pubDate>
      <link>https://dev.to/blaketweeted/how-to-make-teams-more-productive-wds-3-4aco</link>
      <guid>https://dev.to/blaketweeted/how-to-make-teams-more-productive-wds-3-4aco</guid>
      <description>&lt;p&gt;Disclaimer this is 100% satire. For fun on a Friday (Web Dev Satire #3)&lt;/p&gt;

&lt;h2&gt;
  
  
  Everyone wants to be more productive
&lt;/h2&gt;




&lt;p&gt;Managers might try to block off time to focus on coding or keep you out of meetings. This is the worst way to have a productive team. &lt;/p&gt;

&lt;p&gt;Here's an outline for any manager trying to squeeze some more code out of developers.&lt;/p&gt;




&lt;h2&gt;
  
  
  Outline
&lt;/h2&gt;




&lt;h3&gt;
  
  
  More Meetings
&lt;/h3&gt;

&lt;p&gt;I'm not just talking about more meetings, though that is part of it. We want meetings with no clear goal and scattered no more than two hours apart. This ensures that developers are hyper-focused for that two-hour gap. &lt;/p&gt;

&lt;p&gt;The less clear the meeting is, the better. Developers are natural problem solvers. Help them work out those muscles with practice. Title your sessions vaguely "Afternoon Debug" or "Productive Morning meeting."&lt;/p&gt;




&lt;h3&gt;
  
  
  Code fast
&lt;/h3&gt;

&lt;p&gt;This is what we are after, a short, sweet code. It makes sense that we need short-sweet time to accomplish our goals. Why write tests or dig into details of the code? Developers don't make mistakes.&lt;/p&gt;




&lt;h3&gt;
  
  
  Switch Systems Slowly and often
&lt;/h3&gt;

&lt;p&gt;Change is good as long as it's drawn out. If you're using Slack, switch to Microsoft Teams. Make sure you don't do this all at once. It should be a month or two processes where developers need to respond to messages in both at any given time.&lt;/p&gt;

&lt;p&gt;While doing this, transfer other internal systems. Shock and awe your developers with the amount of unnecessary change.&lt;/p&gt;




&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhjy84c00lqj3kjzh2dp9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhjy84c00lqj3kjzh2dp9.png" alt="Screen Shot 2021-06-11 at 11.21.06 AM"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This is the ideal workday. You make not like it, but this is peak performance.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In case it isn't clear by now, this is satire! Happy Friday, and keep coding! :)&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Sublime Text 4 is here, can it convert you? (Snack Pack #6)</title>
      <dc:creator>Blake Campbell</dc:creator>
      <pubDate>Fri, 21 May 2021 15:42:21 +0000</pubDate>
      <link>https://dev.to/blaketweeted/sublime-text-4-is-here-can-it-convert-you-snack-pack-6-53p0</link>
      <guid>https://dev.to/blaketweeted/sublime-text-4-is-here-can-it-convert-you-snack-pack-6-53p0</guid>
      <description>&lt;h1&gt;
  
  
  It hasn't converted me.
&lt;/h1&gt;




&lt;h2&gt;
  
  
  Benefits Large files and memory
&lt;/h2&gt;

&lt;p&gt;VSCode is without a doubt a fantastic experience when you get your workflow set up. VSCode also is a memory hog in comparison to Sublime Text 4. &lt;/p&gt;

&lt;p&gt;&lt;em&gt;Not an extensive test&lt;/em&gt;. &lt;/p&gt;

&lt;p&gt;My VSCode has extensions running vs. a clean install of Sublime Text 4. The same project and tabs are open in each editor.&lt;/p&gt;

&lt;p&gt;The difference in memory is vast. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8v367ir84c17y2idr86x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8v367ir84c17y2idr86x.png" alt="Screen Shot 2021-05-21 at 11.19.49 AM"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdscg6lqgzivbozbu137c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdscg6lqgzivbozbu137c.png" alt="Screen Shot 2021-05-21 at 11.20.29 AM"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This doesn't bug me. My laptop has plenty of memory to use. If your workstation is limited, it's worth the mention. VSCode also has many more things I use, from the git integration to a snippet library I've written. Again not a fair comparison for memory usage.&lt;/p&gt;




&lt;h2&gt;
  
  
  My history with Text editors
&lt;/h2&gt;

&lt;p&gt;Sublime Text 2 -&amp;gt; Atom -&amp;gt; VSCode&lt;/p&gt;

&lt;p&gt;Starting with Sublime then moving to Atom. Atom was my favorite for years with the extensions. I even bought the coffee mug.&lt;/p&gt;

&lt;p&gt;After arriving at VSCode, I don't think I'm changing anytime soon. There are too many tools and plugins that make my job easier. There are a million articles about the extension marketplace and making your own.&lt;/p&gt;




&lt;h3&gt;
  
  
  When would I switch full-time?
&lt;/h3&gt;

&lt;p&gt;Honestly, if Sublime Text integrated with VSCode's marketplace, that'd be the only thing to get me to switch. I'm not even sure if that's possible, but my entire flow has been built around VSCode. &lt;/p&gt;

&lt;p&gt;Even then, I need to buy a license. &lt;/p&gt;

&lt;p&gt;What do you think about the new version of Sublime Text? Is it worth the download?&lt;/p&gt;




&lt;p&gt;My snack pack reads are intended for a quick read without any fluff and provide actionable items.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>productivity</category>
    </item>
    <item>
      <title>The truth about Open Source Developers. (WDS #2)</title>
      <dc:creator>Blake Campbell</dc:creator>
      <pubDate>Fri, 14 May 2021 15:49:52 +0000</pubDate>
      <link>https://dev.to/blaketweeted/the-truth-about-open-source-developers-wds-2-2bb9</link>
      <guid>https://dev.to/blaketweeted/the-truth-about-open-source-developers-wds-2-2bb9</guid>
      <description>&lt;p&gt;Disclaimer this is 100% satire. For fun on a Friday (Web Dev Satire #2)&lt;/p&gt;




&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx1j1aw6e99t2b4g0xacx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx1j1aw6e99t2b4g0xacx.png" alt="Screen Shot 2021-05-14 at 11.07.55 AM"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  Open Source developers make a lot
&lt;/h1&gt;

&lt;p&gt;As you can see from this chart, I didn't exaggerate that open-source developers make way more than FAANG Developers. This might be the single driving factor in deciding to make a project open-source.&lt;/p&gt;

&lt;p&gt;It's the fastest and most secure way to grab the bag and start buying houses like it's Monopoly. Anyone who tells you Open-source developers don't make this much, well, those are paid actors. &lt;/p&gt;




&lt;h1&gt;
  
  
  OS developers love vague issues
&lt;/h1&gt;

&lt;p&gt;One of the best ways to support OS is making vague issues that don't relate to the project. Got to keep those developers on their toes. Sometimes they get lonely. Remind them that you care, just not enough to duplicate the issue or provide any practical information. If you include a version number, you've gone too far. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe4jc5yponpgxtenr3znr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe4jc5yponpgxtenr3znr.png" alt="Screen Shot 2021-05-14 at 11.19.24 AM"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  Complain and add nothing on an open issue
&lt;/h1&gt;

&lt;p&gt;If you do find a valid issue on Github, complain. Dog-pile on it as much as you can. &lt;/p&gt;

&lt;p&gt;Here are some phrases the OS developers love:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"This is stupid, why does it work this way?"&lt;/li&gt;
&lt;li&gt;"Same"&lt;/li&gt;
&lt;li&gt;"The docs are useless"&lt;/li&gt;
&lt;li&gt;"Can you fix this today?"&lt;/li&gt;
&lt;li&gt;"Help." (That's the entire comment)&lt;/li&gt;
&lt;/ul&gt;




&lt;h1&gt;
  
  
  Rant about GitHub activity
&lt;/h1&gt;

&lt;p&gt;Why are you making a billion dollars a year when you only commit a few times? Who cares about raising money so you can keep the project alive, I want my free project now! &lt;/p&gt;




&lt;h1&gt;
  
  
  Star the project and keep moving, even if you work at a Fortune 500 company
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5dl0qsgq23bhfpkp2otz.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5dl0qsgq23bhfpkp2otz.jpeg" alt="EPXUU1RXUAEdbjj"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Source: &lt;a href="https://twitter.com/DavidKPiano" rel="noopener noreferrer"&gt;David K Piano&lt;/a&gt; go give him a follow on Twitter. This picture is too good not to include.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Bonus points if you can get your company to send a box of chocolates or a few stickers to that project the company depends on. The margins are so razor-thin for F500 companies that a box of chocolates might be a stretch. &lt;/p&gt;







&lt;p&gt;In case it isn't clear by now, this is satire! Web Dev has gotten so full of uninformed opinions, I thought I'd poke some fun. To all Open-source developers, you're great. The community wouldn't be the same without you! Happy Friday!&lt;/p&gt;

&lt;p&gt;Some of my favorite OS Developers. Thank you!&lt;br&gt;
&lt;a href="https://twitter.com/left_pad" rel="noopener noreferrer"&gt;Henry at BabelJS&lt;/a&gt;&lt;br&gt;
&lt;a href="https://twitter.com/youyuxi" rel="noopener noreferrer"&gt;Evan You of VueJS&lt;/a&gt;&lt;br&gt;
&lt;a href="https://twitter.com/Akryum" rel="noopener noreferrer"&gt;Guillaume Chau of VueJS&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs1m71xz5fzmhype617i0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs1m71xz5fzmhype617i0.png" alt="c7b8113247fecd83bd9b5ed5bd3f34d5"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Real of open source developers&lt;/em&gt;&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>webdev</category>
      <category>javascript</category>
    </item>
    <item>
      <title>5 Reasons Tailwind might not be the right choice. (WDS #1)</title>
      <dc:creator>Blake Campbell</dc:creator>
      <pubDate>Fri, 07 May 2021 15:47:33 +0000</pubDate>
      <link>https://dev.to/blaketweeted/5-reasons-tailwind-might-not-be-the-right-choice-wds-1-26hc</link>
      <guid>https://dev.to/blaketweeted/5-reasons-tailwind-might-not-be-the-right-choice-wds-1-26hc</guid>
      <description>&lt;p&gt;&lt;em&gt;Disclaimer this is 100% satire. For fun on a Friday (Web Dev Satire #1)&lt;/em&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  1) The license is too controlling
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbrvprqg1kddu4vs9ub2v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbrvprqg1kddu4vs9ub2v.png" alt="Screen Shot 2021-05-07 at 11.16.35 AM"&gt;&lt;/a&gt;&lt;br&gt;
  The fact I have to sign a blood contract to use Tailwind is baffling. I'm hoping this is fixed in a future release. Until then, I'm trying to skate by, but Adam Wathan keeps calling me.&lt;/p&gt;




&lt;h1&gt;
  
  
  2) Readability
&lt;/h1&gt;

&lt;p&gt;My vision is pretty good with my glasses, but Tailwind's docs' most recent update recommends not looking at your code. Instead, you need to feel your code through your fingertips. I keep trying, but every time I look up, my code is a mess. It's not my fault. It's Tailwinds.&lt;/p&gt;




&lt;h1&gt;
  
  
  3) Not enough Support
&lt;/h1&gt;

&lt;p&gt;The TailwindUI team is not putting out enough content. Components for React &amp;amp; Vue. What about components for AngularJS 1.X? Not to mention it doesn't support currently support Netscape browser, the largest browser of 1996. There are no plans to support Netscape in the future. It's disappointing.&lt;/p&gt;




&lt;h1&gt;
  
  
  4) Tailwind is forcing me to use it
&lt;/h1&gt;

&lt;p&gt;Despite how much I &lt;strong&gt;hate&lt;/strong&gt; Tailwind. I have to use it; there are no alternatives out there. If only there was some way I could use some other sort of styling. I'd name it CSS, Cascading Style Sheets; it would be revolutionary. Alas, there is nothing else I can use. &lt;/p&gt;




&lt;h1&gt;
  
  
  5) There aren't enough articles bashing Tailwind.
&lt;/h1&gt;

&lt;p&gt;Every article I see about Tailwind is by people who completely understand it and love it. Where are all the naysayers? Its clear Tailwind is brainwashing developers. They won't get me and my tinfoil hat anytime soon.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;In case it isn't clear by now, this is satire! Web Dev has gotten so full of uninformed opinions, I thought I'd poke some fun. To the Tailwind team, you're great. To the people who hate Tailwind, cool. Happy Friday!&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>css</category>
      <category>tailwindcss</category>
    </item>
    <item>
      <title>Clean up my git (Snack Pack #5)</title>
      <dc:creator>Blake Campbell</dc:creator>
      <pubDate>Tue, 04 May 2021 14:43:54 +0000</pubDate>
      <link>https://dev.to/blaketweeted/clean-up-my-git-snack-pack-5-1f7n</link>
      <guid>https://dev.to/blaketweeted/clean-up-my-git-snack-pack-5-1f7n</guid>
      <description>&lt;h1&gt;
  
  
  Git Repo maintenance
&lt;/h1&gt;

&lt;p&gt;If you've been working on any repo for an extended amount of time, you may have saved a million branches that have already been merged. It is time to clean all those old ones out. &lt;/p&gt;




&lt;p&gt;The commands we'll be using.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Removes references from branches that are no longer on the origin
git remote prune origin
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Note this next part will depend on your main branch's name. If you haven't yet, then you should rename &lt;code&gt;master&lt;/code&gt; to &lt;code&gt;main&lt;/code&gt;. See below for how to.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Lists all the branches that have been merged into main and remove them
git branch --merged main | grep -v '^[ *]*main$' | xargs git branch -d
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Wrap it all up.
&lt;/h2&gt;

&lt;p&gt;The last step is relatively easy. Combine it into your &lt;code&gt;.zshrc&lt;/code&gt; or &lt;code&gt;.bashrc&lt;/code&gt;. I'm sure there's a Windows and Linux equivalent, but I'm using macOS.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;alias cleanUpMyGit="git remote prune origin ; git branch --merged master | grep -v '^[ *]*master$' | xargs git branch -d"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Go ahead and restart your terminal, then try it out in a repo directory.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ cleanUpMyGit
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Afterward, you should see a list of the branches removed by the command. Happy Coding!&lt;/p&gt;




&lt;p&gt;References: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.git-tower.com/learn/git/faq/git-rename-master-to-main/"&gt;https://www.git-tower.com/learn/git/faq/git-rename-master-to-main/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/github/renaming"&gt;https://github.com/github/renaming&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;My snack pack reads are intended for a quick read without any fluff and provide actionable items.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>github</category>
      <category>git</category>
    </item>
    <item>
      <title>Are Default Params in JavaScript bad? (Snack pack #4)</title>
      <dc:creator>Blake Campbell</dc:creator>
      <pubDate>Sun, 11 Apr 2021 01:52:58 +0000</pubDate>
      <link>https://dev.to/blaketweeted/are-default-params-in-javascript-bad-snack-pack-4-g9</link>
      <guid>https://dev.to/blaketweeted/are-default-params-in-javascript-bad-snack-pack-4-g9</guid>
      <description>&lt;h1&gt;
  
  
  Not if it's still passed
&lt;/h1&gt;

&lt;p&gt;Take this example:&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fljcsshc6kr9q2fy1164o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fljcsshc6kr9q2fy1164o.png" alt="carbon"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I wrote this function well over two years ago. It just pops up a notification if the user makes a CRUD call. (Create, Read, Update Delete). The function only takes two defined parameters a message and a notification. &lt;/p&gt;

&lt;p&gt;The notification parameter is a boolean.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;notification = true // notify user by a pop-up
notification = false // inline-notification by form button, or in a defined space
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;p&gt;Looking back at this function, it could be much better. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Instead of a notification boolean, it can be notification style as a string. &lt;/li&gt;
&lt;li&gt;Call with the second parameter everywhere&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Back to the question: &lt;strong&gt;Default Params in JS bad?&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;I think so if I'm not explicitly calling with all the params of a function. &lt;strong&gt;It's okay to have a fallback, but don't depend on it!&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;It's leaves technical debt. &lt;/li&gt;
&lt;li&gt;How is another developer supposed to know what parameters are passed if they only see a partial picture? &lt;/li&gt;
&lt;li&gt;My boolean parameter is bad in this case.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  How I refactored this function:
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffhir0fjvc94eo9na9av9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffhir0fjvc94eo9na9av9.png" alt="carbon (2)"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;My snack pack reads are intended for a quick read without any fluff or BS.&lt;/p&gt;

&lt;p&gt;Feedback is always welcome.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>codequality</category>
      <category>refactorit</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Overlooked design, blank states. (Snack Pack #3)</title>
      <dc:creator>Blake Campbell</dc:creator>
      <pubDate>Sun, 28 Mar 2021 02:20:36 +0000</pubDate>
      <link>https://dev.to/blaketweeted/overlooked-design-blank-states-snack-pack-3-1fhl</link>
      <guid>https://dev.to/blaketweeted/overlooked-design-blank-states-snack-pack-3-1fhl</guid>
      <description>&lt;h1&gt;
  
  
  State not found
&lt;/h1&gt;

&lt;p&gt;Often as developers, we know how our application functions and moves. My grandmother won't know why &lt;strong&gt;&lt;em&gt;"her phone is broken"&lt;/em&gt;&lt;/strong&gt; without some help. Design it for her.&lt;/p&gt;




&lt;h2&gt;
  
  
  Most users aren't as technical as you.
&lt;/h2&gt;

&lt;p&gt;Design shouldn't need an explanation, it should be simple.  If the app doesn't give users feedback, it isn't working. &lt;/p&gt;

&lt;p&gt;What's the difference between a search with no results and an error? How will your user know the difference?&lt;/p&gt;

&lt;p&gt;A "&lt;strong&gt;perceived bug&lt;/strong&gt;" is a bug, it's just a design bug.&lt;/p&gt;




&lt;h2&gt;
  
  
  Examples of blank states
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;User searches for something that doesn't exist. &lt;/li&gt;
&lt;li&gt;User has an empty table without content.&lt;/li&gt;
&lt;li&gt;Placeholders or labels aren't clear or they are hidden while input is focused.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are all frustrating points for a user. &lt;/p&gt;




&lt;h2&gt;
  
  
  Visual blank state example
&lt;/h2&gt;

&lt;p&gt;Spotify:&lt;br&gt;
Imagine searching for a song and Spotify gives you a blank screen with no feedback on what happened.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0Sipw74h--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sobtqi0adzktf7vqtsjz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0Sipw74h--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sobtqi0adzktf7vqtsjz.png" alt="Screen Shot 2021-03-27 at 9.51.58 PM"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  Always give users feedback
&lt;/h3&gt;




&lt;h2&gt;
  
  
  Additional Resources
&lt;/h2&gt;

&lt;p&gt;I highly recommend Refactoring UI. I'm not the best designer, but this book has helped me a lot in how I think about UI/UX.&lt;/p&gt;

&lt;p&gt;Refactoring UI: &lt;a href="https://refactoringui.com/"&gt;https://refactoringui.com/&lt;/a&gt;&lt;br&gt;
Here's an article describing more about blank states: &lt;a href="https://www.innertrends.com/blog/blank-state-examples"&gt;https://www.innertrends.com/blog/blank-state-examples&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Closing
&lt;/h2&gt;

&lt;p&gt;Go and make better blank states!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My snack pack reads are intended for a quick read without any fluff, BS, or needless clickbait.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;What is your favorite blank state? &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Facebook's animated cards while loading&lt;/li&gt;
&lt;li&gt;Twitter's "What's happening?" text area for blank tweets&lt;/li&gt;
&lt;li&gt;Is there a really good one I'm missing?&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>webdev</category>
      <category>design</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Questions make you a better developer (Snack Pack #2)</title>
      <dc:creator>Blake Campbell</dc:creator>
      <pubDate>Sun, 07 Mar 2021 23:29:51 +0000</pubDate>
      <link>https://dev.to/blaketweeted/questions-make-you-a-better-developer-snack-pack-2-4lho</link>
      <guid>https://dev.to/blaketweeted/questions-make-you-a-better-developer-snack-pack-2-4lho</guid>
      <description>&lt;p&gt;&lt;em&gt;Photo is of Phipps in Pittsburgh, PA&lt;/em&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Ask better questions
&lt;/h1&gt;




&lt;p&gt;&lt;strong&gt;What makes a good question?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Questions are complex and strange. A bad question won't get you much, a short incomplete answer maybe. A great question can get you a lot further.&lt;/p&gt;

&lt;p&gt;Great questions will have &lt;strong&gt;at least one of three things.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Specificity, but not too much.&lt;/li&gt;
&lt;li&gt;Phrasing, go in with a better mentality.&lt;/li&gt;
&lt;li&gt;Curiosity, ask questions that can be hard.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Specificity
&lt;/h3&gt;

&lt;p&gt;It's easy to see how vague questions have issues. Breaking down larger questions is part of being a developer.&lt;/p&gt;

&lt;p&gt;EX: Googling something&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;How do I code a giant project? // It's too vague, break it down
How do I add to an array in JavaScript? // Much better, actionable
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  Phrasing
&lt;/h3&gt;

&lt;p&gt;The phrasing might be the most important of this list, you should always look to communicate clearly.&lt;/p&gt;

&lt;p&gt;EX: When looking at a project's old code&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Why would you code it like this? // Negative phrasing 
How can this code be improved? // Better phrasing
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  Curiosity
&lt;/h3&gt;

&lt;p&gt;Finally, curiosity will bring it all together. These will be questions mostly for yourself. It's hard to have bad questions here, you will still learn. &lt;/p&gt;

&lt;p&gt;EX: When asking questions to yourself&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;How do I become a developer? // Good
How do I become a better developer? // Good
How do I make an existing project a PWA? // Also good
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;









&lt;p&gt;Good luck with whatever you're working on and ask better questions!&lt;/p&gt;

&lt;p&gt;&lt;em&gt;My snack pack reads are intended for a quick read without any fluff or BS.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Feedback is always welcome.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>discuss</category>
    </item>
    <item>
      <title>Better readme in 5 minutes. (Snack Pack #1)</title>
      <dc:creator>Blake Campbell</dc:creator>
      <pubDate>Sun, 28 Feb 2021 23:51:26 +0000</pubDate>
      <link>https://dev.to/blaketweeted/better-readme-in-5-minutes-snack-pack-1-2o4m</link>
      <guid>https://dev.to/blaketweeted/better-readme-in-5-minutes-snack-pack-1-2o4m</guid>
      <description>&lt;h1&gt;
  
  
  Documentation is an easy win
&lt;/h1&gt;

&lt;p&gt;Readmes are often overlooked, abandoned, or forgotten entirely. Don't let a pour readme sour a good project.&lt;/p&gt;

&lt;p&gt;A good readme is easy. First off this is just a starting point, there's always room to improve a readme. Here's how I start all my projects.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;- Project Details 
  - Who is the project for? 
  - What does it do?
- Set up
  - How can I get someone up and running on this project? 
- Tech behind the project.
  - What frameworks/technologies are we using?
- Architecture 
  - How is the folder structure laid out? Just big picture stuff
- Testing / Formatting
  - Do you have formatting or testing and how is it enforced?
- FAQs
  - What's confusing about this project and why?
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  My template for new Readmes:
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://gist.github.com/BlakeCampbells/58b72751eae87f6891d0fc357298e299"&gt;https://gist.github.com/BlakeCampbells/58b72751eae87f6891d0fc357298e299&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Additional Resources
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://gist.github.com/PurpleBooth/109311bb0361f32d87a2"&gt;https://gist.github.com/PurpleBooth/109311bb0361f32d87a2&lt;/a&gt;&lt;br&gt;
&lt;a href="https://github.com/RichardLitt/standard-readme"&gt;https://github.com/RichardLitt/standard-readme&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;My snack pack reads are intended for a quick read without any fluff or BS.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Feedback is always welcome. &lt;/p&gt;

</description>
      <category>webdev</category>
      <category>writing</category>
    </item>
    <item>
      <title>Readme for a Productive 2021</title>
      <dc:creator>Blake Campbell</dc:creator>
      <pubDate>Tue, 29 Dec 2020 01:09:56 +0000</pubDate>
      <link>https://dev.to/blaketweeted/readme-for-a-productive-2021-8nd</link>
      <guid>https://dev.to/blaketweeted/readme-for-a-productive-2021-8nd</guid>
      <description>&lt;p&gt;I recently wrote in a #devdiscuss about motivation&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Take days off, don't burn out
Have a project you enjoy
Learn on your own
Ask for help if you need it
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I should expand on it quite a bit. For reference, I've been a Remote Developer since 2014. It's lonely and frustrating, staying productive can be tough. These are just my general observations to try to help.&lt;/p&gt;




&lt;h2&gt;
  
  
  Prep Work, pick a theme (optional)
&lt;/h2&gt;

&lt;p&gt;Start by picking a yearly theme instead of a goal. &lt;/p&gt;

&lt;p&gt;For References: &lt;a href="https://www.youtube.com/watch?v=NVGuFdX5guE"&gt;Yearly Themes explained by CGP Grey&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Example: I want to save $X amount this year, changes to the year of Finance. It's less a pass or fails like specific goals and more of a did you improve.&lt;/p&gt;

&lt;p&gt;My theme for 2021 is The Year of Refinement, some things that apply to my theme are less time on social media, more time writing posts, becoming more active. All those things become encapsulated in my theme. &lt;/p&gt;

&lt;p&gt;Having a theme to focus on makes it easier to review the progress over the year. &lt;/p&gt;




&lt;h1&gt;
  
  
  Into the mandatory
&lt;/h1&gt;




&lt;h2&gt;
  
  
  Organize
&lt;/h2&gt;

&lt;p&gt;If you have a home office, clean it. Those old downloads that have been on your computer for 2 years, remove them. I'm no Marie Kondo, but a neat workspace is a big relief. Begin 2021 on a "clean" slate, you never know what's going to happen.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Does this bring me joy?&lt;/code&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Schedule off time
&lt;/h2&gt;

&lt;p&gt;Don't fall into the trap of always busy is always good. Take time off for yourself when you need to. Reduce eye strain and get a hobby away from the computer if you want. &lt;/p&gt;

&lt;p&gt;Taking breaks increases productivity: &lt;a href="https://www.work-fit.com/blog/how-effective-breaks-at-work-increase-productivity#:~:text=Taking%20breaks%20at%20work%20does,the%20last%20hour%20or%20so."&gt;Source&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Your Project and learning
&lt;/h2&gt;

&lt;p&gt;Having a project that is uniquely yours is healthy. You get to decide what it is, what you want it to do. Design, code, build. As a developer, not much of a designer it's nice to have tools out there like &lt;a href="https://tailwindcss.com/"&gt;Tailwind&lt;/a&gt;. Learning will always be part of the web, embrace it. &lt;/p&gt;

&lt;p&gt;A few years ago I needed to learn AngularJS 1.X, I joke about it now, but it made learning VueJS a few months later easy for a side project. If you have good fundamentals you'll adapt better in the future.&lt;/p&gt;




&lt;h2&gt;
  
  
  Asking for Help and Feedback
&lt;/h2&gt;

&lt;p&gt;Spinning your wheels and getting frustrated is a spot every developer has been in. Don't be ashamed of it. I've been lucky enough to work with amazing people who will take time and talk through a problem. There are discords/slack channels/StackOverflow and of course DevTo. &lt;/p&gt;

&lt;p&gt;You can get feedback, but don't ask without trying first.&lt;/p&gt;

&lt;p&gt;Please leave me feedback on how I can improve these posts moving forward.&lt;/p&gt;




&lt;p&gt;Up next: Tools and resources for 2021&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>remote</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
