<?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: Benjamin Harris</title>
    <description>The latest articles on DEV Community by Benjamin Harris (@bharris).</description>
    <link>https://dev.to/bharris</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%2F41056%2F49933ec1-6107-43e8-99f3-bf22319254eb.jpeg</url>
      <title>DEV Community: Benjamin Harris</title>
      <link>https://dev.to/bharris</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bharris"/>
    <language>en</language>
    <item>
      <title>phoenix</title>
      <dc:creator>Benjamin Harris</dc:creator>
      <pubDate>Mon, 26 Feb 2018 16:57:10 +0000</pubDate>
      <link>https://dev.to/bharris/phoenix--303</link>
      <guid>https://dev.to/bharris/phoenix--303</guid>
      <description>&lt;p&gt;inspired by &lt;a href="http://oods.net"&gt;oodsnet&lt;/a&gt;, (and my pull request to add &lt;a href="https://github.com/exezin/oodsnet/pull/5"&gt;darkmode&lt;/a&gt;), i started to create my own tilde.team fork (now &lt;a href="https://forum.tilde.team/"&gt;forum.tilde.team&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;the first step was to switch out the css to the &lt;a href="https://tilde.team/css/"&gt;tilde.team standard&lt;/a&gt; and update the classes for bootstrap. once i got it going and integrated with the tilde.team linux auth service, i asked other tildeans for input and suggestions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/~micaiah/"&gt;~micaiah&lt;/a&gt; was interested in helping, but also wanted to learn a new language and/or framework, so we decided to start over, recreating the entire forum with &lt;a href="http://phoenixframework.org"&gt;elixir/phoenix&lt;/a&gt;. we'd discussed elixir previously, but never had a convincing use case to force us to learn it.&lt;/p&gt;

&lt;p&gt;the project is live, with the source code on &lt;a href="https://github.com/tilde-team/forum"&gt;github&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;the thing that i'm most impressed with is the speed of the erlang runtime :D&lt;/p&gt;

&lt;p&gt;check out these response times. sub-millisecond!?!?!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rfGx1VTI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://tilde.zone/photos/phx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rfGx1VTI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://tilde.zone/photos/phx.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;give it a look, and &lt;a href="https://tilde.team/signup"&gt;join the tilde.team&lt;/a&gt; if you want to come hang out!&lt;/p&gt;

&lt;p&gt;Tags: &lt;a href="//tag_internet.html"&gt;internet&lt;/a&gt;, &lt;a href="//tag_dev.html"&gt;dev&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://twitter.com/intent/tweet?url=https://tilde.team/~ben/blog/phoenix.html&amp;amp;text=&amp;lt;Type%20your%20comment%20here%20but%20please%20leave%20the%20URL%20so%20that%20other%20people%20can%20follow%20the%20comments&amp;gt;&amp;amp;via=nebsirrah"&gt;Comments? Tweet&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>webassembly</title>
      <dc:creator>Benjamin Harris</dc:creator>
      <pubDate>Wed, 17 Jan 2018 18:09:13 +0000</pubDate>
      <link>https://dev.to/bharris/webassembly--472a</link>
      <guid>https://dev.to/bharris/webassembly--472a</guid>
      <description>&lt;p&gt;according to &lt;a href="https://hacks.mozilla.org/2018/01/making-webassembly-even-faster-firefoxs-new-streaming-and-tiering-compiler/" rel="noopener noreferrer"&gt;this post&lt;/a&gt; on the mozilla blog, we will be able to compile wasm as it streams into the browser in much the same way that images are decoded. this is a huge game changer from the current paradigm of loading javascript completely before being able to parse and compile it.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;JavaScript code is much more expensive, byte for byte, than an image, because of the time spent parsing and compiling it.  &lt;/p&gt;

&lt;p&gt;It's possible to parse and compile wasm as fast as it comes over the network, which makes it much more like an image than JavaScript code.  &lt;/p&gt;

&lt;p&gt;Game changer!&lt;/p&gt;

&lt;p&gt;— Yehuda Katz (&lt;a class="mentioned-user" href="https://dev.to/wycats"&gt;@wycats&lt;/a&gt;) &lt;a href="https://twitter.com/wycats/status/942908325775077376?ref_src=twsrc%5Etfw" rel="noopener noreferrer"&gt;December 19, 2017&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;this will make &lt;a href="https://github.com/WebAssembly/design/blob/master/UseCases.md" rel="noopener noreferrer"&gt;so many things&lt;/a&gt; possible in the browser that never were before!&lt;/p&gt;

&lt;p&gt;i decided to follow this &lt;a href="http://webassembly.org/getting-started/developers-guide/" rel="noopener noreferrer"&gt;tutorial&lt;/a&gt; and ended up with &lt;a href="https://tilde.team/~ben/wasm/hello.html" rel="noopener noreferrer"&gt;this&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;i don't know what to do next. any ideas?&lt;/p&gt;

&lt;p&gt;Tags: &lt;a href="//tag_wasm.html"&gt;wasm&lt;/a&gt;, &lt;a href="//tag_dev.html"&gt;dev&lt;/a&gt;, &lt;a href="//tag_internet.html"&gt;internet&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://twitter.com/intent/tweet?url=https://tilde.team/~ben/blog/webassembly.html&amp;amp;text=&amp;lt;Type%20your%20comment%20here%20but%20please%20leave%20the%20URL%20so%20that%20other%20people%20can%20follow%20the%20comments&amp;gt;&amp;amp;via=nebsirrah" rel="noopener noreferrer"&gt;Comments? Tweet&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>git remotes with ssh aliases</title>
      <dc:creator>Benjamin Harris</dc:creator>
      <pubDate>Fri, 12 Jan 2018 18:30:26 +0000</pubDate>
      <link>https://dev.to/bharris/git-remotes-with-ssh-aliases--3jno</link>
      <guid>https://dev.to/bharris/git-remotes-with-ssh-aliases--3jno</guid>
      <description>&lt;p&gt;did you know that &lt;code&gt;~/.ssh/config&lt;/code&gt; aliases work for git remotes??&lt;/p&gt;

&lt;p&gt;~/.ssh/config&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Host gh 
HostName github.com 
User git 
IdentityFile ~/.ssh/gh\_key
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;you can now use &lt;code&gt;gh:username/repo&lt;/code&gt; as the remote in place of &lt;code&gt;git@github.com:username/repo&lt;/code&gt;, which is much shorter and easier to type many times!&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git clone gh:benharri/learngit&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;there are many other use cases for the &lt;code&gt;ssh_config&lt;/code&gt; file. for example, here is my config for the tilde machine for easy ssh connections.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Host tilde 
HostName tilde.team 
User ben
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;then use &lt;code&gt;ssh tilde&lt;/code&gt; to start a new ssh session. this also works with &lt;code&gt;scp&lt;/code&gt;: try something like this &lt;code&gt;scp file.txt tilde:workspace/.&lt;/code&gt; in place of &lt;code&gt;scp file.txt ben@tilde.team:workspace/.&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;the ssh_config file is super useful. check &lt;code&gt;man ssh_config&lt;/code&gt; for a full list of options!&lt;/p&gt;

&lt;p&gt;Tags: &lt;a href="//tag_git.html"&gt;git&lt;/a&gt;, &lt;a href="//tag_ssh.html"&gt;ssh&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://twitter.com/intent/tweet?url=https://tilde.team/~ben/blog/git-remotes-with-ssh-aliases.html&amp;amp;text=&amp;lt;Type%20your%20comment%20here%20but%20please%20leave%20the%20URL%20so%20that%20other%20people%20can%20follow%20the%20comments&amp;gt;&amp;amp;via=nebsirrah"&gt;Comments? Tweet&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
