<?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>Forem: Thomas Hewitt</title>
    <description>The latest articles on Forem by Thomas Hewitt (@thomaswebdevboy).</description>
    <link>https://forem.com/thomaswebdevboy</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%2F209577%2F9f38240f-e074-4f6a-acfc-1a438ab1f993.png</url>
      <title>Forem: Thomas Hewitt</title>
      <link>https://forem.com/thomaswebdevboy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/thomaswebdevboy"/>
    <language>en</language>
    <item>
      <title>Why losing your motivation is okay.</title>
      <dc:creator>Thomas Hewitt</dc:creator>
      <pubDate>Fri, 23 Aug 2019 13:27:02 +0000</pubDate>
      <link>https://forem.com/thomaswebdevboy/why-losing-your-motivation-is-okay-1hn6</link>
      <guid>https://forem.com/thomaswebdevboy/why-losing-your-motivation-is-okay-1hn6</guid>
      <description>&lt;p&gt;To be honest, I fully intended to write a different post today. &lt;/p&gt;

&lt;p&gt;I wanted to write about my journey becoming a web developer. I was planning on doing it over a couple of posts over a couple of weeks and then going into my journey since becoming a fully fledged developer. &lt;/p&gt;

&lt;p&gt;I'm not writing that post today ...&lt;/p&gt;

&lt;p&gt;I'm writing a different post.&lt;/p&gt;

&lt;p&gt;This is that post ...&lt;/p&gt;

&lt;p&gt;Simple sentences.&lt;/p&gt;

&lt;p&gt;The thing is, I've been working hard almost every day for the past 18 months. I've got up. I've studied. I've gone to work, coded, studied some more and then gone home and studied some more after that.&lt;/p&gt;

&lt;p&gt;That's in addition to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;learning Turkish&lt;/li&gt;
&lt;li&gt;going to the gym&lt;/li&gt;
&lt;li&gt;making sure my wife knows I'm still alive&lt;/li&gt;
&lt;li&gt;socialising&lt;/li&gt;
&lt;li&gt;eating&lt;/li&gt;
&lt;li&gt;sleeping&lt;/li&gt;
&lt;li&gt;doing things for the sake of my own sanity&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Problem I'm having over the last two weeks is ... I don't want to do it right now.&lt;/p&gt;

&lt;p&gt;And I know that's wrong because every single YouTube/ Instagram/ Facebook/ My Space (editor's note ... I'm old) influencer is telling me that I should be getting up 45 minutes after I fall asleep, completing my workouts whilst I shower and living off of crackers so I can invest the money I would've spent surviving in a self managed stock exchange portfolio.&lt;/p&gt;

&lt;p&gt;Right now, I don't want to do that. &lt;/p&gt;

&lt;p&gt;I want to chill out on my sofa and do none of those things.&lt;/p&gt;

&lt;p&gt;But that's okay ...&lt;/p&gt;

&lt;p&gt;I know from my own experience that after a little while of next to no motivation to do anything, I'll wake up to an epiphany. Suddenly I'll want to do nothing but work my absolute ass off.&lt;/p&gt;

&lt;p&gt;It's those moments of heightened motivation that I find myself making leaps and bounds. I'll look back after a couple of weeks and things will have clicked into place. I'll have improved massively.&lt;/p&gt;

&lt;p&gt;Point here is, don't become demotivated by your lack of motivation. Your mind is telling you to chill out and take it easy. Just make sure that you do take stock, ask yourself if your goals are still the same and if the answer is yes, allow yourself to recover from the tedium of life. &lt;/p&gt;

&lt;p&gt;TLDR: chill the f*** out man. &lt;/p&gt;

</description>
      <category>codenewbie</category>
      <category>beginners</category>
      <category>mentalhealth</category>
    </item>
    <item>
      <title>Email Campaigns. When almost 90% of the web is made up of images, why are emails still so different? (hint: blame Viagra)</title>
      <dc:creator>Thomas Hewitt</dc:creator>
      <pubDate>Fri, 16 Aug 2019 11:58:03 +0000</pubDate>
      <link>https://forem.com/thomaswebdevboy/email-campaigns-when-almost-90-of-the-web-is-made-up-of-images-why-are-emails-still-so-different-hint-blame-viagra-106d</link>
      <guid>https://forem.com/thomaswebdevboy/email-campaigns-when-almost-90-of-the-web-is-made-up-of-images-why-are-emails-still-so-different-hint-blame-viagra-106d</guid>
      <description>&lt;p&gt;There are a so many different facets to being a web developer in the workplace today. Some will be solely responsible for taking the concepts and mind farts of designers and turning them into something real, whilst others will incorporate a lot of that design process into their own personal workflow. Others may find that as part of their role as a developer, they need to wear a few different hats, including SEO specialist and email campaign wizard. &lt;/p&gt;

&lt;p&gt;In the spirit of inclusiveness, knowing that so many people think of so many different things when it comes to having an idea of what we as developers do, I thought I'd spend some time talking about something that might not have occurred to a few of us ... email. Also for those of you who make it to the end, I've included a picture of a horse.&lt;/p&gt;

&lt;p&gt;When sending email campaigns there are a few things that we need to consider: &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Will it display on the viewer’s email client?&lt;/li&gt;
&lt;li&gt; Will the text/ image ratio mean that it gets blocked as spam?&lt;/li&gt;
&lt;li&gt; Is the customer able to see the point of the email? &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;b&gt;Will it display on the viewer’s email client?&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Chances are, probably not. Generally speaking, the most used business email client is Outlook (editor's note: This is an observation based on customer data taken from various sources within my current workplace. Also a guess) which by default will block any and all image content that is attached to an email. This is then further compounded by the fact that it applies its own alt text to the email stating ‘Right-click or tap and hold here to download pictures. To help protect your privacy, Outlook prevented automatic download of this picture from the Internet.’&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--BT45DJCm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://pbs.twimg.com/media/B-JakRUCYAA6YsQ%3Fformat%3Dpng%26name%3Dsmall" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--BT45DJCm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://pbs.twimg.com/media/B-JakRUCYAA6YsQ%3Fformat%3Dpng%26name%3Dsmall" alt="Do not adjust your television, the (lack of) picture you're seeing is correct"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It’s not entirely bad news though as there is some support for images as default in webmail clients such as Gmail (because why wouldn't you let Google have more of your information?), which is by far one of the most used webmail applications at the moment (unless the viewer has altered their setting to not display images that is).&lt;/p&gt;

&lt;p&gt;Whilst mobile devices are largely happy with images (and by happy I mean they will load images as part of their normal day to day function. I do not speak for the emotional condition of all mobile cellular devices), heavy image based emails will normally be too dense to render quickly enough for viewers to maintain their interest. As with webpages, according to a study completed by google, if a page takes more than 3 seconds to load, you’re likely to lose 70% of the potential customers (Google/SOASTA Research. 2017).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Vcf9LW8G--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://www.thinkwithgoogle.com/_qs/images/OQZFX9y9tTcwDKOUs-mb3h04cms%3D/189/width-1200/mobile-page-speed-new-industry-benchmarks-01-21.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Vcf9LW8G--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://www.thinkwithgoogle.com/_qs/images/OQZFX9y9tTcwDKOUs-mb3h04cms%3D/189/width-1200/mobile-page-speed-new-industry-benchmarks-01-21.png" alt="Google mobile data"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Will the text/ image ratio mean that it gets blocked as spam?&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;You can thank the early days of the internet and those good old Viagra spam emails for this one. &lt;/p&gt;

&lt;p&gt;Generally email spam filters will assess images to determine how much of them are made up of text. As a general rule of thumb, mailchimp (&lt;a href="https://mailchimp.com/help/common-html-mistakes/"&gt;https://mailchimp.com/help/common-html-mistakes/&lt;/a&gt;) recommends an 80/ 20 split of text to images in a campaign in order for the email not to get shafted to the spam box.&lt;/p&gt;

&lt;p&gt;Facebook (hashtag not promoting, stop listening to me Mark. It's getting weird) actually has a nice little tool that anyone can use to determine whether or not their image is likely to be regarded as ‘spammy’ on their pages. This can also apply to email spam filters so therefore if the result is anything other than ‘Ok’ chances are it’s not going to get anywhere near the primary mailbox.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Is the customer able to see the point of the email?&lt;/b&gt; &lt;/p&gt;

&lt;p&gt;Probably not …&lt;/p&gt;

&lt;p&gt;However, with an 80/20 text to image approach: &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--2kXEJ2db--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://d31v04zdn5vmni.cloudfront.net/blog/wp-content/uploads/2014/05/alt-text-v2.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--2kXEJ2db--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://d31v04zdn5vmni.cloudfront.net/blog/wp-content/uploads/2014/05/alt-text-v2.jpg" alt="80 20 approach"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Using a combination of styled alt tags, bullet proof buttons and text, this email is able to grab attention without relying on imagery. Should the customer choose, they could then download the images and experience the email in its entirety.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Further Reading&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.pinpointe.com/blog/text-based-vs-image-based-emails-which-does-better"&gt;https://www.pinpointe.com/blog/text-based-vs-image-based-emails-which-does-better&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.towermarketing.net/blog/html-email-best-practices/"&gt;https://www.towermarketing.net/blog/html-email-best-practices/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://litmus.com/blog/why-you-shouldnt-send-image-only-emails"&gt;https://litmus.com/blog/why-you-shouldnt-send-image-only-emails&lt;/a&gt;&lt;br&gt;
&lt;a href="https://organicweb.com.au/marketing/text-image-spam-mailchimp/"&gt;https://organicweb.com.au/marketing/text-image-spam-mailchimp/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;i&gt;I should point out that a lot of the things I've said here are dependent on whether or not you're a fan of the original Power Rangers&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;&lt;i&gt;I should also point out that sometimes I just type things and leave them in to give the impression that I'm wittier than I am&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--PT48zGMm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://postmediathestarphoenix2.files.wordpress.com/2019/03/sable-horse-research-20190321-1.jpg%3Fquality%3D80%26strip%3Dall%26w%3D371%26h%3D277%26crop%3D1" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--PT48zGMm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://postmediathestarphoenix2.files.wordpress.com/2019/03/sable-horse-research-20190321-1.jpg%3Fquality%3D80%26strip%3Dall%26w%3D371%26h%3D277%26crop%3D1" alt="aforementioned horse image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As promised.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>marketing</category>
      <category>email</category>
      <category>seo</category>
    </item>
    <item>
      <title>How long should it take to land your first dev job???</title>
      <dc:creator>Thomas Hewitt</dc:creator>
      <pubDate>Fri, 09 Aug 2019 12:10:21 +0000</pubDate>
      <link>https://forem.com/thomaswebdevboy/how-long-should-it-take-to-land-your-first-dev-job-4ee</link>
      <guid>https://forem.com/thomaswebdevboy/how-long-should-it-take-to-land-your-first-dev-job-4ee</guid>
      <description>&lt;p&gt;For newbies this is going to be the biggest question after 'what language should I learn first?'&lt;/p&gt;

&lt;p&gt;Unfortunately, like that first question, there's no easy answer. &lt;/p&gt;

&lt;p&gt;The internet is awash with people bragging about how they were able to secure a job after three and a half hours working with freecodecamp.org (other code learning resources are available), however what you need to consider is:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What is the situation that person is in?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;ie. are they living with the same responsibilities that you are? Do they have the kids and the full time job that you might be having to juggle whilst also trying to change your life?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Are they some kind of sorcerer? &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These people exist. I've seen the Harry Potter documentaries. If you've not seen them, they're a documentary series about a young boy from England that shouts a lot and also does magic. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What is their background? &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Some people will go in to code as a platform from another technical background, whilst others will be coming to it with fresh eyes for the first time. Code isn't easy. It's definitely something that anyone can do with enough hard work and patience, but nobody is ever going to tell you that it's an easy thing to do.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Do you need to validate yourself against someone else's achievements?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No, you don't. Stop doing that. Yes Karen, even you. Stop it.&lt;/p&gt;

&lt;p&gt;So ultimately, you shouldn't be paying attention to what other people are doing. But that still hasn't helped answer the question ...&lt;/p&gt;

&lt;p&gt;Next it comes down to where you live, what opportunities are around you and how far you're willing to go to seek these opportunities out.&lt;/p&gt;

&lt;p&gt;Some people may find that there are lots of communities around them to help them network and to enhance their knowledge whilst others may find themselves in a much more remote or rural setting where the support isn't nearly as strong.&lt;/p&gt;

&lt;p&gt;The point is, it's never going to be a hard rule. I have some opinions which I'll share but that doesn't mean that they'll work for you, same goes for anyone else that claims to be an authority on the subject (editor's note: I don't claim to be an authority on the subject).&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Set a target early on as a benchmark. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This could be something like, building a professional looking, responsive website. Once you achieve that target, you'll be ready to begin building a portfolio and applying for jobs.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You're never going to be 'ready.'&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If I didn't already have a job I'd probably be sitting at home thinking, 'they won't want me yet.' The question of whether or not I will one day get there wouldn't be an issue. My problem would be that I'm not willing to look at what I can offer, only what I can't. Counter this thought process by punching yourself in the face and applying for jobs anyway. Trust me, that experience will teach you so much (editor's note: don't punch yourself in the face, perhaps a stern talking to might work instead?).&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Keep coding.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Literally don't stop. Even if you get the job, keep coding and learning. So much of this industry stems from innovation and in my experience the newbies are the people who've learned about the latest practices and can open the eyes of some of the jaded veterans. Almost everyone in this industry gets excited by something new but we can't know everything all the time so keep going and try to learn as much as you can.&lt;/p&gt;

&lt;p&gt;I hope this helps someone. Even if it doesn't. I got to feel really cool by typing super fast for half an hour or so.&lt;/p&gt;

&lt;p&gt;How long did it take me??? About 9 months.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>codenewbie</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
