<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Nathan Boolean Trujillo on Medium]]></title>
        <description><![CDATA[Stories by Nathan Boolean Trujillo on Medium]]></description>
        <link>https://medium.com/@boolean?source=rss-648f99f14829------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*mzUneUEGVh_gDSsa.</url>
            <title>Stories by Nathan Boolean Trujillo on Medium</title>
            <link>https://medium.com/@boolean?source=rss-648f99f14829------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 05:10:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@boolean/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[SWC: Super fast JavaScript transpiler, written in Rust]]></title>
            <link>https://medium.com/@boolean/swc-super-fast-javascript-transpiler-written-in-rust-f8f436195cb8?source=rss-648f99f14829------2</link>
            <guid isPermaLink="false">https://medium.com/p/f8f436195cb8</guid>
            <category><![CDATA[babel]]></category>
            <category><![CDATA[babeljs]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[swc]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Nathan Boolean Trujillo]]></dc:creator>
            <pubDate>Sun, 10 Mar 2019 02:02:24 GMT</pubDate>
            <atom:updated>2019-03-10T02:03:11.514Z</atom:updated>
            <content:encoded><![CDATA[<p>SWC: Super fast JavaScript transpiler, written in Rust</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*x5DHT0gSivD4g5fh.png" /><figcaption>SWC: Make the web (development) faster.</figcaption></figure><p>Programs written in Rust are usually pretty fast. Firefox recently wrote their CSS renderer in Rust and got substantial speed improvements.</p><p><a href="https://hacks.mozilla.org/2017/08/inside-a-super-fast-css-engine-quantum-css-aka-stylo/">https://hacks.mozilla.org/2017/08/inside-a-super-fast-css-engine-quantum-css-aka-stylo/</a></p><p>Why not bring some of that speed to the slowest part of web development?</p><p>Enter SWC: Transpile JavaScript in Rust.</p><p>The performance of Rust vs. a javascript transpilation speaks for itself:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IeBFAe-g3R8Q1YpEFXPqdA.png" /></figure><p>You want the speed, but don’t know how to get started?</p><p>Here is a little snippet to get you going using create-react-app:</p><pre>n 11 ## swc requires node 6, 8, 10 or 11<br>yarn global add create-react-app --save<br>create-react-app my-app;<br>cd my-app;<br>echo y | yarn eject;<br>yarn add @swc/core swc-loader --save<br>curl https://gist.githubusercontent.com/bo01ean/532c33e20c0c79c5b6d1541fa3c9c4e9/raw/b63d0026237fc81b090e3625233f1d2f4e73c68c/webpack.config.js -o config/webpack.config.js<br>yarn start </pre><p>Have fun :)</p><ul><li><a href="https://github.com/swc-project/swc">GitHub - swc-project/swc: swc is a super-fast compiler written in rust; producing widely-supported javascript from modern standards and typescript.</a></li><li><a href="https://swc-project.github.io/docs/installation">Installation · swc</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f8f436195cb8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hydrogen: Add Jupyter functionality to Atom, the hackable text editor]]></title>
            <link>https://medium.com/@boolean/hydrogen-add-jupyter-functionality-to-atom-the-hackable-text-editor-8f84b305eda0?source=rss-648f99f14829------2</link>
            <guid isPermaLink="false">https://medium.com/p/8f84b305eda0</guid>
            <category><![CDATA[coursera]]></category>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[hydrogen]]></category>
            <category><![CDATA[atom-text-editor]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Nathan Boolean Trujillo]]></dc:creator>
            <pubDate>Wed, 03 May 2017 22:07:33 GMT</pubDate>
            <atom:updated>2018-07-31T17:53:51.364Z</atom:updated>
            <content:encoded><![CDATA[<h4>on macOS</h4><p>Lately I have been taking A<a href="https://en.wikipedia.org/wiki/Andrew_Ng">ndrew Ng</a>’s <a href="https://www.coursera.org/learn/machine-learning/home/welcome">Machine learning</a> class in <a href="https://www.coursera.org/">Coursera</a>.</p><p>All of the code examples use <a href="https://www.gnu.org/software/octave/download.html">Octave</a> and / or <a href="https://www.mathworks.com/">Matlab</a> ($$).</p><p>I think it is awesome that Octave is completely compatible with most of Matlab’s syntax…</p><p>However:</p><p>The Octave code editor offerings are pretty sparse (lame).</p><p>I find myself constantly switching from the Octave-cli, Octave itself as a REPL or simply editing in Atom, and running in Octave.</p><p>Today, with <a href="https://blog.nteract.io/hydrogen-interactive-computing-in-atom-89d291bcc4dd">Hydrogen</a>, that all changes!</p><p>Hydrogen is way to interface to Jupyter kernels from Atom, so you can do pretty much anything Jupyter can do:</p><p>From <a href="https://atom.io/packages/hydrogen">https://atom.io/packages/hydrogen</a>:</p><blockquote>Hydrogen was inspired by Bret Victor’s ideas about the power of instantaneous feedback and the design of <a href="http://lighttable.com/">Light Table</a>. Running code inline and in real time is a more natural way to develop. By bringing the interactive style of Light Table to the rock-solid usability of Atom, Hydrogen makes it easy to write code the way you want to.</blockquote><blockquote>You also may be interested in our latest project — <a href="https://github.com/nteract/nteract">nteract</a> — a desktop application that wraps up the best of the web based Jupyter notebook.</blockquote><h3>Let’s Install</h3><pre>## macOS Install homebrew</pre><pre>/usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&quot;</pre><pre>brew update &amp;&amp; brew upgrade<br>brew install octave</pre><pre>## Install Python3 / Jupyter<br>brew install python3<br>pip3 install jupyter -U</pre><pre>## Install Python Interpreter (to run Python in Atom)<br>pip3 install ipykernel --upgrade<br>python3 -m ipykernel install --user</pre><pre>## Install octave kernel<br>pip3 install octave_kernel</pre><pre>## Install Atom IDE<br>brew cask install atom</pre><pre>## Install matlab/octave<br>apm install language-matlab<br>apm install hydrogen</pre><p>I can now edit and run Octave/Matlab code, seamlessly within my editor:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fl0IypailIMqB8gIec%2Ftwitter%2Fiframe&amp;src_secure=1&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fmachine-learning-hydrogen-atom-editor-l0IypailIMqB8gIec&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fl0IypailIMqB8gIec%2Fgiphy.gif&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="478" frameborder="0" scrolling="no"><a href="https://medium.com/media/a703111af06de75ec2c6b7d63cbd9915/href">https://medium.com/media/a703111af06de75ec2c6b7d63cbd9915/href</a></iframe><h3>Installing on Windows</h3><p>Installing with Chocolatey is not too hard:</p><p>Install Atom: <a href="http://blog.atom.io/2014/12/10/a-windows-installer-and-updater.html">http://blog.atom.io/2014/12/10/a-windows-installer-and-updater.html</a></p><p>Set APM to be on PATH: <a href="https://github.com/atom/apm/issues/547">https://github.com/atom/apm/issues/547</a></p><p>Install Chocolatey: <a href="https://chocolatey.org/install">https://chocolatey.org/install</a></p><p>Install Python Jupyter (w/Chocolatey): <a href="https://ianchanning.wordpress.com/2016/03/25/jupyter-on-windows-with-chocolatey/">https://ianchanning.wordpress.com/2016/03/25/jupyter-on-windows-with-chocolatey/</a></p><p>Install Atom packages and the Octave kernel:</p><pre>## Install Octave kernel<br>pip install octave_kernel<br>python -m octave_kernel.install</pre><pre>## Install matlab/octave<br>apm install language-matlab<br>apm install hydrogen</pre><h3>Boom.</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8f84b305eda0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installing CUDA 8 / Torch on Ubuntu 16.XX]]></title>
            <link>https://medium.com/@boolean/installing-cuda-8-torch-on-ubuntu-16-04-1975e4acd73f?source=rss-648f99f14829------2</link>
            <guid isPermaLink="false">https://medium.com/p/1975e4acd73f</guid>
            <category><![CDATA[cuda]]></category>
            <category><![CDATA[mls]]></category>
            <category><![CDATA[torch]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Nathan Boolean Trujillo]]></dc:creator>
            <pubDate>Mon, 12 Sep 2016 22:17:47 GMT</pubDate>
            <atom:updated>2017-02-15T23:47:51.894Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>“Many hours have been spent trying to complete this task. I now share it with you.”</blockquote><h3>Update:</h3><p>I’ve updated my script to just use whatever NVIDIA is using for their sources:</p><pre># Install on your machine</pre><pre>git clone https://github.com/bo01ean/cudabuntorch /tmp/cudabuntorch<br>cd /tmp/cudabuntorch<br>sudo ./install.sh </pre><pre># Test build with Docker:</pre><pre>git clone https://github.com/bo01ean/cudabuntorch /tmp/cudabuntorch<br>cd /tmp/cudabuntorch<br>sudo ./dockergo.sh</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1975e4acd73f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>