<?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: Simon</title>
    <description>The latest articles on DEV Community by Simon (@simonlegg).</description>
    <link>https://dev.to/simonlegg</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%2F3046%2Fwa-AqCnZ.jpg</url>
      <title>DEV Community: Simon</title>
      <link>https://dev.to/simonlegg</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/simonlegg"/>
    <language>en</language>
    <item>
      <title>What being on the sun taught me about becoming a better tech lead.</title>
      <dc:creator>Simon</dc:creator>
      <pubDate>Thu, 20 Feb 2020 14:09:05 +0000</pubDate>
      <link>https://dev.to/simonlegg/what-being-on-the-sun-taught-me-about-becoming-a-better-tech-lead-4833</link>
      <guid>https://dev.to/simonlegg/what-being-on-the-sun-taught-me-about-becoming-a-better-tech-lead-4833</guid>
      <description>&lt;p&gt;I’m really bright. &lt;/p&gt;

&lt;p&gt;🍻&lt;/p&gt;

&lt;p&gt;&lt;a href="https://twitter.com/simonleggsays/status/1230220815469338625"&gt;&lt;em&gt;sorry&lt;/em&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Perfection Is the Enemy of the Good</title>
      <dc:creator>Simon</dc:creator>
      <pubDate>Wed, 22 Jan 2020 11:18:32 +0000</pubDate>
      <link>https://dev.to/simonlegg/perfection-is-the-enemy-of-the-good-10m6</link>
      <guid>https://dev.to/simonlegg/perfection-is-the-enemy-of-the-good-10m6</guid>
      <description>&lt;p&gt;&lt;em&gt;Cover photo by &lt;a href="https://unsplash.com/@hoxmark?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;Jonathan Hoxmark&lt;/a&gt; on &lt;a href="https://unsplash.com/s/photos/perfect?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;Unsplash&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Just over a year ago &lt;a href="https://twitter.com/dan_abramov"&gt;Dan Abramov&lt;/a&gt; wrote &lt;a href="https://overreacted.io/things-i-dont-know-as-of-2018/"&gt;an excellent post&lt;/a&gt; about all the things he didn’t know and, along with many others, I thought it was incredible. Seeing such high profile person in our industry being so open about this stuff was incredibly refreshing. Unbeknownst to him I had submitted a couple of conference proposals a few months before that, where the aim was essentially the same: “I’m a developer, here are the things I don’t know.” I like that. I always liked hearing from more senior people that they were mere mortals, they were just regular people who know some things and don’t know other things. I’ve always tried to be very open about when I don’t know things, and as I became more senior and more influential in the company I felt it was important to show others that it’s fine. I tended to be the person who would interrupt a meeting (politely) to ask for clarification.&lt;/p&gt;

&lt;p&gt;Only yesterday one of my friends reminded me of the time when we both happened to be going to an Elm meetup in London full of very experienced and very clever &lt;a href="https://www.freecodecamp.org/news/an-introduction-to-the-basic-principles-of-functional-programming-a2c2a15c84/"&gt;Functional Programming&lt;/a&gt; people and every now and then put my hand up and say &lt;em&gt;“Sorry, I didn’t understand what you meant when you said xyz a second ago”&lt;/em&gt; and they would explain it differently and others got involved and it turned into a really great discussion about Elm and FP, everyone was so helpful. When we left my friend said to me, &lt;em&gt;“How do you do that? Just ask questions like that?”&lt;/em&gt; I think I was a little taken aback at the time, I went there to learn something and if I hadn’t I wouldn’t have learnt anything.&lt;/p&gt;

&lt;p&gt;I’m employed as a “senior” developer, I’ve been a JavaScript developer for coming up for 5 years now and although I’m definitely not the best JS developer around I like to think I’m reasonably competent. So when my sister approached me towards the end of last year to build something for her, I thought &lt;em&gt;“Yeah. I’m not currently flexing my JavaScript muscles in my new job. I’d like to get stuck into a bit of code, and most importantly, I like the idea. So yes.”&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The project was essentially a &lt;a href="https://www.codecademy.com/articles/what-is-crud"&gt;CRUD app&lt;/a&gt;, something that, 3 months ago, I almost would’ve argued was the bread and butter of what professional web developers should be able to do. I sort of learnt how to do it with &lt;a href="https://rubyonrails.org/"&gt;Ruby on Rails&lt;/a&gt; when I was learning web development in a bootcamp. At the time I remember thinking I was almost unstoppable after learning it for a week (so some kudos to the people behind Rails). So here I was, a web developer of ~4 years, and I was lost! &lt;/p&gt;

&lt;p&gt;I didn’t know what to do. I kind of knew I needed a database at some point but where to start?! I don’t really know about databases, apart from a couple of weeks wrangling &lt;a href="https://www.postgresql.org/"&gt;Postgres&lt;/a&gt; at work and another week back in the bootcamp, I just don’t work with them (Fun sidenote: a production database at my last job is, to my knowledge, still called &lt;em&gt;”simon-test.”&lt;/em&gt; In fact even naming that database was probably one of those weeks. Seriously! I don’t know about databases!) I had all these feelings of inadequacy, I &lt;em&gt;should&lt;/em&gt; know about databases, how am I “senior” and I don’t know this? I lightheartedly &lt;a href="https://twitter.com/simonleggsays/status/1196480645234597890"&gt;tweeted about this&lt;/a&gt; and over the course of about 3 hours and ~70 tweets &lt;a href="https://twitter.com/seldo"&gt;Laurie Voss&lt;/a&gt; gave me an &lt;a href="https://twitter.com/seldo/status/1196530055184171008"&gt;impromptu database crash course&lt;/a&gt;. This was great, I learnt so much and he probably won’t ever know how grateful I am for his help (unless he reads this). I would also urge everyone to go and read it all.&lt;/p&gt;

&lt;p&gt;I came out of this knowing a little bit more but I couldn’t shake this nagging feeling of all of the other things I needed to do: Authentication, Performance, Accessibility, Progressive Enhancement. I take a lot of pride in my work, I hate cutting corners and I want to do a good job, I think every site should be secure, fast, accessible, and resilient. To me that’s the bare &lt;strong&gt;minimum&lt;/strong&gt;. And because of all these things, I just found myself getting lost in this world of tech that I’ve often taken for granted. I’ve always had the help and support of ~200 other engineers in my company tackling some of those things. I was trying to run before I could walk; I was learning about &lt;a href="https://www.docker.com/"&gt;Docker&lt;/a&gt;, about &lt;a href="https://en.wikipedia.org/wiki/Session_ID"&gt;session tokens&lt;/a&gt; and &lt;a href="https://jwt.io/introduction/"&gt;JWTs&lt;/a&gt;, I was going to have this amazing &lt;a href="https://serverless.com/"&gt;serverless&lt;/a&gt; architecture that’ll cost me pennies just in case this thing explodes overnight and I end up with thousands or millions (or thousands of millions) of users. I was spending time trying to work out what the most &lt;a href="https://twitter.com/simonleggsays/status/1208762896911675392"&gt;optimal deployment strategy should be&lt;/a&gt; so I could just focus on the features! &lt;/p&gt;

&lt;p&gt;Eventually it just hit me, “I can’t do this.” I was devastated. This sudden realisation that I can’t do the thing that I would expect was the bare minimum for a lot of developers. That’s not to mention that I had promised my sister; I felt awful!&lt;br&gt;
Since starting my new job I’ve been having pretty major imposter syndrome at the moment and this was simply the nadir, in fact it was one of the reasons why I wanted to do it. I knew JavaScript and so I wanted to write it to prove to myself that I do actually know some things, I needed a win (to tell you the truth, I &lt;em&gt;still&lt;/em&gt; do). One day, overwhelmed by this realisation, I actually just sat on my sofa and cried. I was in such an awful place thinking about this failure that had happened when a failure was the last thing I needed. I phoned up my friend because I needed to talk to someone, and they told me everything that I rationally knew; keep it simple, “why do you need a database? put it in a spreadsheet”, “this thing is for you and your sister. Why do you need user auth right now?”. And they’re absolutely right! I knew it as soon as they were telling me. And do you know what my sister and I have right now because of it? Nothing. Because to me, it needed to be “perfect.”&lt;/p&gt;

&lt;p&gt;Or at least almost perfect. Who knows, if I get back to it maybe I’ll name the database &lt;em&gt;“simon-test.”&lt;/em&gt;&lt;/p&gt;

</description>
      <category>career</category>
      <category>webdev</category>
      <category>impostorsyndrome</category>
    </item>
    <item>
      <title>What would I use Rust for?</title>
      <dc:creator>Simon</dc:creator>
      <pubDate>Mon, 30 Dec 2019 15:58:08 +0000</pubDate>
      <link>https://dev.to/simonlegg/what-would-i-use-rust-for-1g8l</link>
      <guid>https://dev.to/simonlegg/what-would-i-use-rust-for-1g8l</guid>
      <description>&lt;p&gt;What is &lt;a href="https://www.rust-lang.org/"&gt;Rust&lt;/a&gt; good for? (Assume essentially no knowledge of “low level” languages like C)&lt;/p&gt;

</description>
      <category>explainlikeimfive</category>
      <category>help</category>
    </item>
    <item>
      <title>How would you deploy parts of a monorepo in CI?</title>
      <dc:creator>Simon</dc:creator>
      <pubDate>Sun, 22 Dec 2019 15:27:16 +0000</pubDate>
      <link>https://dev.to/simonlegg/how-would-you-deploy-parts-of-a-monorepo-in-ci-ld1</link>
      <guid>https://dev.to/simonlegg/how-would-you-deploy-parts-of-a-monorepo-in-ci-ld1</guid>
      <description>&lt;p&gt;With a monorepo with this kind of structure&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.
├── api
│   └── index.js
└── web
    ├── index.html
    ├── main.css
    └── main.js
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Assuming you changed the &lt;code&gt;web/index.html&lt;/code&gt; and &lt;code&gt;web/main.css&lt;/code&gt; files, in CI, how would you deploy only the &lt;code&gt;web&lt;/code&gt; directory?&lt;/p&gt;

&lt;p&gt;Vice versa if you only changed &lt;code&gt;api/index.js&lt;/code&gt; only deploy the api, not the frontend.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>discuss</category>
    </item>
  </channel>
</rss>
