<?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: Gunnar Torfi</title>
    <description>The latest articles on DEV Community by Gunnar Torfi (@gunnarthedev).</description>
    <link>https://dev.to/gunnarthedev</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%2F556697%2F3c3b1341-1c42-4725-8f41-d3c9ce2d0a47.jpg</url>
      <title>DEV Community: Gunnar Torfi</title>
      <link>https://dev.to/gunnarthedev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gunnarthedev"/>
    <language>en</language>
    <item>
      <title>Meteor: Back from the shadows</title>
      <dc:creator>Gunnar Torfi</dc:creator>
      <pubDate>Mon, 18 Jan 2021 21:59:53 +0000</pubDate>
      <link>https://dev.to/gunnarthedev/meteor-back-from-the-shadows-1n29</link>
      <guid>https://dev.to/gunnarthedev/meteor-back-from-the-shadows-1n29</guid>
      <description>&lt;p&gt;I went from wanting to rewrite our entire app to being optimistic about the future of Meteor. Here are the main reasons why I think the future of Meteor is bright.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fullstack front-end frameworks
&lt;/h2&gt;

&lt;p&gt;Blitz is a full-stack React framework. It reminds us of simpler times when for example PHP was used to server-side render websites. It allowed us to access the database and return the markup filled with the data necessary to display it. Fast forward a few years to see single-page applications become popular, along with a separate REST or GraphQL backend project. The drawback? You'd usually have at least one developer working on the front-end and a separate team for the back-end.&lt;/p&gt;

&lt;p&gt;Blitz is built on the same principles as Meteor, but using the latest web technologies. The fact that Blitz is growing leaves me optimistic about Meteor's future.&lt;/p&gt;

&lt;h2&gt;
  
  
  Supporting the major front-end frameworks
&lt;/h2&gt;

&lt;p&gt;Blaze is Meteor's default rendering system but React, Vue, Angular, and Svelte can also be used with Meteor. In fact, we are writing everything new using React with Typescript and will eventually phase out every Blaze component while benefiting from the power of Meteor.&lt;/p&gt;

&lt;h2&gt;
  
  
  Meteor 2.0
&lt;/h2&gt;

&lt;p&gt;When React introduced Fast Refresh it shortened the feedback loop for developers, boosting the developer experience significantly. Hot Module Replacement is one of the new features introduced in Meteor's upcoming 2.0 release. For us, it decreased the rebuild time from up to 40 seconds down to 2 seconds - a 95% decrease! Tree Shaking is also coming in the 2.0 release that removes unused code at compile-time, resulting in smaller bundle sizes for the end-user.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Have you ever tried Meteor? If you tried it a long time ago, a lot has changed. I recommend you give it a spin for your next side-project.&lt;/p&gt;

&lt;p&gt;Have any questions? Hit me up on Twitter &lt;a href="https://twitter.com/gunnarthedev"&gt;🐦 gunnarthedev&lt;/a&gt;&lt;/p&gt;

</description>
      <category>meteor</category>
      <category>blitz</category>
      <category>react</category>
    </item>
    <item>
      <title>Is M1 a good choice for developers?</title>
      <dc:creator>Gunnar Torfi</dc:creator>
      <pubDate>Mon, 11 Jan 2021 11:53:19 +0000</pubDate>
      <link>https://dev.to/gunnarthedev/is-m1-a-good-choice-for-developers-3nk3</link>
      <guid>https://dev.to/gunnarthedev/is-m1-a-good-choice-for-developers-3nk3</guid>
      <description>&lt;p&gt;Being an Apple fanboy I decided to buy the new MacBook Pro M1 when my old Intel model gave up on me. I ended up with the 13" 8GB RAM version. So far it has been a smooth transition apart from a few hindrances. &lt;/p&gt;

&lt;p&gt;🖥️ &lt;strong&gt;No support for two external monitors&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That there is not support for multiple external monitors is stated on Apple's website so it shouldn't be a surprise to anyone. I've always had just one external monitor and have used the MacBook on a dock, so this won't trouble me at all. &lt;/p&gt;

&lt;p&gt;📦 &lt;strong&gt;Homebrew&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Homebrew is one of those tools that without a doubt make your life easier but isn't essential to have. There are ways to make Homebrew work on M1 based Macs, but I didn't bother going through the trouble. &lt;/p&gt;

&lt;p&gt;🐳 &lt;strong&gt;Docker&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Docker offers a beta version for M1 so I decided to download it. At first, it got stuck in the "Docker Desktop is starting" phase but after a simple quit &amp;amp; relaunch it started up nicely. So I decided to deploy a new update to our backend in our QA environment (a deployment in our Kubernetes cluster on GKE) and that's where I ran into the first serious issue. &lt;/p&gt;

&lt;p&gt;🐛 &lt;em&gt;standard_init_linux.go:211: exec user process caused “exec format error”&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I'm no expert on low-level engineering so I'm not going to pretend that I know exactly what this means but I believe it has something to do with the Docker image being built with a different architecture than the machine trying to run the image. I haven't spent time finding a workaround, so I let my colleague build the backend for me 🤷‍♂️ &lt;/p&gt;

&lt;p&gt;🕸️ &lt;strong&gt;A safety net&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Rosetta lets you run applications using the Intel architecture that eases the transition from Intel to Apple Silicon processors. To enable Rosetta for an app simply right-click the app icon → Get Info → Open using Rosetta. &lt;/p&gt;

&lt;p&gt;📈 &lt;strong&gt;Chrome vs Safari&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I noticed my computer was getting immensely slow so I opened up the Activity Monitor. There I saw Chrome was eating up so much CPU &amp;amp; Memory so I decided to open the same tabs in Safari - the difference was gigantic! I went from barely being able to type to my computer not breaking a sweat. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Everything feels more snappy on the M1 than it did on my previous Intel model that in my opinion makes up for the troubles described in this post. I'm excited about the future of the M chips and how the competitors will answer with this great innovation from Apple. &lt;/p&gt;

&lt;p&gt;Do you own a Mac with the M1 chip? How is your experience so far in terms of compatibility?&lt;/p&gt;

&lt;p&gt;Have any questions? Hit me up on Twitter &lt;a href="https://twitter.com/gunnarthedev"&gt;🐦 gunnarthedev&lt;/a&gt;&lt;/p&gt;

</description>
      <category>mac</category>
      <category>m1</category>
      <category>applesilicon</category>
      <category>apple</category>
    </item>
  </channel>
</rss>
