<?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: David Satime Wallin</title>
    <description>The latest articles on Forem by David Satime Wallin (@satimewallin).</description>
    <link>https://forem.com/satimewallin</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%2F89187%2F25c64ace-17c7-4284-99e2-9f3562183666.jpg</url>
      <title>Forem: David Satime Wallin</title>
      <link>https://forem.com/satimewallin</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/satimewallin"/>
    <language>en</language>
    <item>
      <title>New just for new</title>
      <dc:creator>David Satime Wallin</dc:creator>
      <pubDate>Mon, 06 Aug 2018 10:07:14 +0000</pubDate>
      <link>https://forem.com/satimewallin/new-just-for-new-4l19</link>
      <guid>https://forem.com/satimewallin/new-just-for-new-4l19</guid>
      <description>&lt;p&gt;We all know that both software and hardware is innovated daily (if not hourly) these days. If you used node 10.1 yesterday it's time for 10.8 today. Those who don't use Docker and Kubernetes and so on are viewed as ancient relics. As a frontend developer you need to keep track of react, redux, respond, gulp, grunt, bower, yarn, etc, etc, etc.&lt;/p&gt;

&lt;p&gt;New frameworks are released daily. For javascript there's even a website called "Days since last javascript framework" ( &lt;a href="https://dayssincelastjavascriptframework.com/"&gt;https://dayssincelastjavascriptframework.com/&lt;/a&gt; ) that is always single digit - and most often at 0.&lt;/p&gt;

&lt;p&gt;New languages are released daily. Only the past few weeks we've all seen Hacker news -posts about Joy-lang, Markdeep-lang, Pole-lang, Kitten-lang and so on.&lt;/p&gt;

&lt;p&gt;You probably think this ranting cranky old (32 yrs) man is tired of keeping up - but thats not really the point. I love IT partly because of the innovations happening constantly. I love IT because everyone can make their thing and get a wide spread when releasing it.&lt;/p&gt;

&lt;p&gt;There are two things about it all that annoys me though;&lt;/p&gt;

&lt;p&gt;1) People seem to put some kind of prestige in the freshness of knowledge. If you're blogging about the framework that was released 15 minutes ago you're apparently awesome.&lt;/p&gt;

&lt;p&gt;What about really learning something? No matter how quickly you learn things you cannot be really good at it after a few weeks. Use the new framework in a few customer projects, refactor it a few times over a longer period of time, then you can start to claim real knowledge in it and then I'd love to read your blog post.&lt;/p&gt;

&lt;p&gt;What happened to "the right tool for the right problem"? The latest language or deployment tool cannot possibly be the right tool for every single problem. Docker for example cannot be the best choice for every deployment or hosting situation - even if Docker is a great tool.&lt;/p&gt;

&lt;p&gt;2) People tend to learn a framework and claim to know the language. This, yet again, is shown clearly when it comes to Javascript. I've seen plenty of frontend developers who claim to know Javascript when what they really know is React and JQuery. They know frameworks and tools written in a language, they don't know the language.&lt;/p&gt;

&lt;p&gt;Another great example is backend developers that constantly argue the greatness of using an ORM. Why not learn SQL?! SQL is simple yet powerful. Unlike an ORM you can actually optimize an SQL query using your knowledge. When using an ORM you can simply call the functions that someone else wrote based on their knowledge of SQL - and you have close to no idea of what's actually happening.&lt;/p&gt;




&lt;p&gt;I expect being shot down plenty of times for my above ranting but that's all part of the game and I'm looking forward to it.&lt;/p&gt;

&lt;p&gt;EOF!&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>software</category>
      <category>innovation</category>
      <category>rant</category>
    </item>
    <item>
      <title>Go -mess with flatpak+vscode</title>
      <dc:creator>David Satime Wallin</dc:creator>
      <pubDate>Sun, 05 Aug 2018 19:29:18 +0000</pubDate>
      <link>https://forem.com/satimewallin/go--mess-with-flatpakvscode-ja6</link>
      <guid>https://forem.com/satimewallin/go--mess-with-flatpakvscode-ja6</guid>
      <description>&lt;p&gt;Made a fresh fedora 28 install on my macbook pro today (yes I'm an osx hater) and decided to install vscode (me too went from emacs to vscode) through flatpak - which I had yet to try out.&lt;/p&gt;

&lt;p&gt;Now the basic install of vscode is a one-liner. Simply do &lt;code&gt;flatpak install flathub com.visualstudio.code&lt;/code&gt; and you're done. The trouble arose when I installed the go extension.&lt;/p&gt;

&lt;p&gt;Normally this is a one-step-thing as well but this time I couldn't get the darn thing to find the go binary. I use fish as my shell and started to suspect it did not find the environment variables correctly (since vscode initiates an sh-shell of its own). So, perhaps noob-ishly, I started setting my PATH, GOPATH and GOROOT in .bash_profile as well. This actually made a difference. I could now see the correct path in the vscode terminal. The strange thing was that, ever if the path was correct, the binary could not be found when I tried to run it from inside vscode.&lt;/p&gt;

&lt;p&gt;My investigation continued. I quite soon realized that it was my lacking knowledge of flatpak that made me stumble. Since my GOROOT was pointing at &lt;code&gt;/usr/lib/golang&lt;/code&gt; (yes i normally use GVM but couldn't be bothered today) and flatpak is sandboxed it could not find the content of GOROOT.&lt;/p&gt;

&lt;p&gt;Thus, the simple solution was (if perhaps not the best) to&lt;/p&gt;

&lt;p&gt;1) download the Go linux binaries&lt;/p&gt;

&lt;p&gt;2) unpacking them into &lt;code&gt;$HOME/go&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;3) adding this to &lt;code&gt;$HOME/.bash_profile&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;PATH=$HOME/src/go/bin:$HOME/go/bin:$PATH
export PATH
GOROOT=$HOME/go
export GOROOT
GOPATH=$HOME/src/go
export GOPATH
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;4) and then adding this to my vscode settings.json&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    "terminal.integrated.shellArgs.linux": ["-l"],
    "terminal.integrated.shell.linux": "/bin/bash",
    "go.gopath": "/home/dsw/src/go",
    "go.goroot": "/home/dsw/go",
    "go.inferGopath": true,
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;So, call me a newb but it's solved. Would gladly hear of any alternative ways of solving it or perhaps similar flatpak-stories.&lt;/p&gt;

&lt;p&gt;EOF!&lt;/p&gt;

</description>
      <category>go</category>
      <category>vscode</category>
      <category>flatpak</category>
      <category>fedora</category>
    </item>
  </channel>
</rss>
