<?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 nosaj.io on Medium]]></title>
        <description><![CDATA[Stories by nosaj.io on Medium]]></description>
        <link>https://medium.com/@nosajio?source=rss-230f74efdaad------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*EygmySruRh7TXrNpdZb5OQ.jpeg</url>
            <title>Stories by nosaj.io on Medium</title>
            <link>https://medium.com/@nosajio?source=rss-230f74efdaad------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 01:52:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nosajio/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[How to Read More]]></title>
            <link>https://medium.com/@nosajio/how-to-read-more-a8100d4140a0?source=rss-230f74efdaad------2</link>
            <guid isPermaLink="false">https://medium.com/p/a8100d4140a0</guid>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[reading]]></category>
            <category><![CDATA[habit-building]]></category>
            <dc:creator><![CDATA[nosaj.io]]></dc:creator>
            <pubDate>Mon, 22 Jan 2018 17:00:04 GMT</pubDate>
            <atom:updated>2018-01-22T17:20:35.842Z</atom:updated>
            <content:encoded><![CDATA[<p>There’s no doubt that reading is a <a href="https://qz.com/668514/if-you-want-to-be-like-warren-buffett-and-bill-gates-adopt-their-voracious-reading-habits/">remarkable tool for personal growth and success</a>, and with <a href="http://www.pewresearch.org/fact-tank/2015/10/19/slightly-fewer-americans-are-reading-print-books-new-survey-finds/">reading on a steady decline year on year</a>, is there anything we can do to make ourselves want pick up that old dusty book? Yes, as a matter of fact there is.</p><p>Reading is like exercise. We all know we’d be better off doing more of it, but something more important always comes along at the perfect moment, like a new episode of that series you like, so we think “it’s cool, I’ll read twice as much tomorrow!”</p><p>It only takes a gust of wind to blow us off course when we commit ourselves to a large task like reading a book. Psychologists tend to think that this happens because we set our expectations are set so high and the fear of failure gets too much to handle.</p><p>On the other side of the equation is the attention economy. The attention economy has commodified your attention and competes for access to it. What would most people rather do: bask in the warm glow of a screen, or stare at a cold boring book? I’m not being facetious saying that. Tech products are being made more addicting by the day. In the attention economy the tech is winning.</p><h4>Habits that foster momentum</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gbHHg7Fq34YXCOsN.png" /></figure><p>Habits can be used to achieve distant goals.</p><p>It’s obvious that your brain likes a degree of consistency. Everyone is different in this way — some people are more spontaneous than others and dislike routine, while others hone routine like a tool. I was the former for a long time, but lately I’ve seen thebenefit of the latter.</p><p>Whether or not you respond to routine doesn’t matter much, your brain can still be coerced into forming new habits. However, the time it takes for a new habit to stick can vary from person to person. This is why it helps to stack the deck in your favour by hacking your neural circuitry.</p><h4>The Low Expectation Hack</h4><p><em>The low expectation hack is a name I’ve thought of for this because I can’t find the actual name of this technique.</em></p><p>Roughly speaking, this technique works because you’re happiest when you’re achieving things, but you can trick your brain into thinking almost anything is an achievement. You just have to set an achievable goal.</p><p>The first step is to decide on when and how often you’d like to read. The ideal time is every day or few days to make the behaviour more likely to stick.</p><p>2, set your expectations so low that it would be almost impossible to fail. For example: “I’m going to read a page per day”. By setting expectations laughably low you’re increasing the chance that you’ll show up every time. The showing up is the most important part. I repeat: showing up is the most important part!</p><p>3, Write your expectations down somewhere that you’ll see it every day, or better still set your calendar to remind you.</p><p>4, think of something that you enjoy to do like watching that TV show you like. This will be your reward that you’ll act out after you’ve finished reading. The reward completes what is known as the “habit loop” — the algorithm your brain uses to form lasting habits.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6yilHcQXiZR1EICi.png" /></figure><p>A diagram of the habit loop — the mechanism your brain uses to do things habitually.</p><h4>Why does this technique work?</h4><p>We are our own biggest hurdle when it comes to not doing what we know we should do. Our behaviour patterns are replete with an assortment of fears and anxieties that make it hard to do the things we know we should do, and make it easy to procrastinate.</p><p>When you keep your expectations very low, you won’t have any anxiety about the act of reading because you’ll know you can live up to your own expectations without any doubt. Now it’s highly likely you’ll actually pick up a book. Once the book is open in your hands the hardest part is over.</p><p>This method can seem inefficient from a distance because reading a book at one page per day could take a year or more. This would be true if it weren’t for those days when you read 10x or 20x your goal. There’s a hidden lottery in this method; some days you’ll show up with zeal and surpass your expectations. Other days you won’t feel like reading at all, so you’ll just meet your expectations.</p><h4>Use this throughout your life</h4><p>This essay is about reading but it could easily have been about almost any behaviour. The technique I laid out above is something that I’ve learned from numerous books and podcasts.</p><p><strong>Sources include:</strong> Tim ferris &amp; Tim urban podcast Power of Habit book Prof J Peterson video on habits</p><p><em>This was originally posted on my blog, where I write about the craft of making software and other things that I think people will find valuable. </em><a href="https://nosaj.io/"><em>https://nosaj.io.</em></a> <em>Go and check it out!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a8100d4140a0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simple Always Wins]]></title>
            <link>https://medium.com/@nosajio/simple-always-wins-b7736b885d9a?source=rss-230f74efdaad------2</link>
            <guid isPermaLink="false">https://medium.com/p/b7736b885d9a</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[simplicity]]></category>
            <dc:creator><![CDATA[nosaj.io]]></dc:creator>
            <pubDate>Sat, 20 Jan 2018 17:00:04 GMT</pubDate>
            <atom:updated>2018-01-22T17:23:35.722Z</atom:updated>
            <content:encoded><![CDATA[<p>In this essay I’m going to show you why simple solutions will always be the ones that rise to the top and stay there for the longest time.</p><h4>Simplicity in Mathematics</h4><p>Mathematics is a good place to start because it’s the most elegant way humans have invented to describe the universe. You’ve probably heard a mathematician or two assert that an equation is beautiful and wondered how they got there.</p><p>When Einstein invented the theory of special relativity, and what is probably the most famous equation ever, e=mc², it was expressed in the most simple form it could be in with our current knowledge.</p><p>If Einstein had expressed e=mc² in a more complicated way, then &quot;Einstein&quot; might not be the name that people remember. Instead we would remember the name of the person that came up with the more elegant solution.</p><p>I was surprised to learn that this seems to be close to what really happened with e=mc². It&#39;s clear that physicists around at the time of Einstein&#39;s discovery were converging on a theory of special relativity anyway. The second favourite for making the discovery was Austrian physicist Hasenöhrl.</p><blockquote>Did Einstein know of Hasenöhrl&#39;s work? &quot;I can&#39;t prove it, but I am reasonably certain that Einstein must have done, and just decided to do it better&quot;, says [Tony Rothman of Princeton University]. But failure to cite it was not inconsistent with the conventions of the time.<br><br>– Did Einstein discover E = mc2?, physicsworld.com</blockquote><h4>Simplicity in Writing</h4><p>Writing that takes too long to say what its trying to say is more effort and not at all enjoyable to read. Writing that uses as few words as possible–without losing its essence — is enjoyable to read.</p><p>For this reason the best writers in the world all possess the ability to transmit ideas and emotion in as little writing as possible.</p><p>There’s an old meme amongst writers that one shouldn’t be scared of writing their <a href="https://wrd.as.uky.edu/sites/default/files/1-Shitty%20First%20Drafts.pdf">“shitty first draft”</a>. The rationale being that the first draft is like fertile soil that the finished piece will emerge from.</p><p>After a first draft is finished, warts and all, the magic of editing can begin. While editing, writers rework and chop into their draft, gradually hammering it into a form that is more of a delight to consume. Editing is no easy task because, as Stephen King says, it’s the time to kill your darlings.</p><h4>Simplicity in Product Design</h4><p>Modern product design can be viewed as following a kind of darwinian process. With little to no regulation, products developed in a healthy capitalist system are formed by the pushes and pulls of what the market wants.</p><p>Smartphones are a good case study of this process in action because they’ve changed a lot in a short time. Back when the iPhone was released in 2007, it was nowhere near perfect. But it didn’t need to be perfect. It just had to be better than everything else in the areas that mattered to people.</p><p>As the years passed, each subsequent iteration of the iPhone has been pulled towards the wants and needs of the market. This will happen regardless of whether or not the “market” is aware of what it wants or needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WMt0eyyeywIt-rFQ_BsxLw.jpeg" /></figure><p>Just by observing the iPhone’s form change over time, it’s empirically clear that people desire large screens, sleek forms, and a few necessary hardware buttons.</p><p>The pursuit of simplicity is why short iteration times are becoming a trend for tech companies. The faster they can iterate, the faster they can adapt the product to the market, removing anything that isn’t absolutely necessary.</p><p>Through this iterative process, any unnecessary deviation towards complexity will usually be left unvalidated. Of course, when something isn’t validated under capitalism, it usually means operating at a loss. The incentive of the business is thus kept aligned with the incentives of the market.</p><p>As far as I’m aware, the only exception to this rule applies to monopoly products. Monopolies can afford to be more ignorant to the pull of the market because customers have no choice but to use their product.</p><p>A good example of a monopoly product growing complex through complacency is Ebay. After a certain point Ebay thought it pointless to make any changes the product because there was nothing to make them do it. They realised that if they just kept the product afloat customers would still use it. And they were right.</p><h4>Why do our brains like simplicity?</h4><p>Given that we are, for the most part, single threaded thinkers, humans are bound by the speed that we can contemplate the world. Looked at in a different way, humans need to be able to make sense of the world in the most efficient way possible.</p><p>The need for us to explain things without the hardware for it leaves us open to some rather large floors. Floors like ideological or religious possession, which short circuits the need for us to think by turning to the ideology for answers.</p><p>Evolutionarily it makes sense that humans developed a bias towards things that are easy to understand, and a bias against things that are complex or chaotic. When we interface with the world, this bias manifests as a preference for things that are just within or just outside our map of the world. Too simple and its boring; too complex and we feel uncomfortable.</p><p><em>This was originally posted on my blog, where I write about the craft of making software and other things that I think people will find valuable. </em><a href="https://nosaj.io/"><em>https://nosaj.io.</em></a> <em>Go and check it out!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b7736b885d9a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Size & Scale as Components]]></title>
            <link>https://medium.com/@nosajio/size-scale-as-components-1090fe9ec65d?source=rss-230f74efdaad------2</link>
            <guid isPermaLink="false">https://medium.com/p/1090fe9ec65d</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[web-design]]></category>
            <dc:creator><![CDATA[nosaj.io]]></dc:creator>
            <pubDate>Sat, 20 Jan 2018 07:00:06 GMT</pubDate>
            <atom:updated>2018-01-22T17:27:52.138Z</atom:updated>
            <content:encoded><![CDATA[<p>The news of modular scales first reached me in 2011. I read an A List Apart article titled <a href="http://alistapart.com/article/more-meaningful-typography">“More Meaningful Typography”</a>. Almost seven years on, I still use the modular scale in all my design work.</p><blockquote>A modular scale is a sequence of numbers that relate to one another in a meaningful way. Using the golden ratio, for example, we can produce values for a modular scale by multiplying by 1.618 to arrive at the next highest number, or dividing by 1.618 to arrive at the next number down.</blockquote><blockquote>— More Meaningful Typography by Tim Brown</blockquote><p>Visual scales are nothing new. Typographers and graphic designers have experimented with them for centuries to bring elegance and structure to their work.</p><p>Visual scales help take the guesswork out of composing layouts so that attention can be directed towards more useful things.</p><p>The modular scale has almost fallen out of use today. Some libraries, like <a href="https://www.bourbon.io/docs/latest/#modular-scale">Bourbon</a>, still come with modular scale functionality, but it’s rare to see it relied on in large projects.</p><h4>A visual guide to the modular scale</h4><p>The modular scale is to the eyes what the musical scale is to the ears. Musical and visual scales share three important similarities:</p><ul><li>They can be expressed as simple mathematical formulas.</li><li>They highlight an invisible structure of “meaningful numbers” that coincide with ratios that the human brain finds appealing.</li><li>Because of this, a user of scales can make something look or sound good without the need to understand why the scale works.</li></ul><figure><img alt="A graph of the modular scale" src="https://cdn-images-1.medium.com/max/1024/0*4FsmUdfAtASgvwpw.jpg" /></figure><p>How it looks when you graph the values of a modular scale.</p><h4>Two magic numbers</h4><p>A modular scale is comprised of two numbers:</p><figure><img alt="The modular scale formula" src="https://cdn-images-1.medium.com/max/1024/0*4IqvQt1OiSWraeiz.png" /></figure><ul><li><strong>Exponent</strong> The number that let’s you move forward and backwards along the scale.</li><li><strong>Base</strong> The most important number. It affects the amount the scale will increase by on each step.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HdAoAlH1EpFeydKj.png" /></figure><h4>A tool for working with the modular scale</h4><p>I’ve made a <a href="https://github.com/nosajio/modularscale">GitHub repository</a> containing a bunch of implementations of the modular scale in different frontend languages.</p><p>The languages supported so far are: SCSS, pure Javascript, and Styled Components. If you’d like to add more, make a pull request and I’ll make sure to merge it in.</p><p>There’s a tool for experimenting with different scales at <a href="http://www.modularscale.com/">modularscale.com</a>.</p><figure><img alt="UI made with modular scale with labels." src="https://cdn-images-1.medium.com/max/1024/0*nXkcFbge0jLBtbw6.jpg" /></figure><p>A simple layout constructed using the modular scale.</p><p>As you can see in the example above, by adjusting the scale’s exponent value it’s possible to compose a layout relying just on the modular scale for sizes and spaces, and because it’s <a href="https://www.codementor.io/joshuaaroke/dry-code-vs-wet-code-89xjwv11w">DRY</a>, any changes to the scale variables will affect the entire layout. This is the magic of the modular scale.</p><p>For examples of how to use one of the modular scale helpers in your own project, refer to the Readme or the examples over on GitHub.</p><p>If you have any questions or recommendations about the modularscale-helpers project, you can find me on <a href="https://twitter.com/__nosaj">twitter @__nosaj</a>.</p><p><em>This was originally posted on my blog, where I write about the craft of making software and other things that I think people will find valuable. </em><a href="https://nosaj.io/"><em>https://nosaj.io.</em></a> <em>Go and check it out!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1090fe9ec65d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Going Pro]]></title>
            <link>https://medium.com/@nosajio/going-pro-6b09951c3cc5?source=rss-230f74efdaad------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b09951c3cc5</guid>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[lifestyle]]></category>
            <category><![CDATA[life]]></category>
            <dc:creator><![CDATA[nosaj.io]]></dc:creator>
            <pubDate>Fri, 19 Jan 2018 20:55:44 GMT</pubDate>
            <atom:updated>2018-01-22T17:24:57.835Z</atom:updated>
            <content:encoded><![CDATA[<p>What would happen if, starting today, you lived your life as a pro?</p><p>Before you read on, let me say that this question is worth indulging in. It might reveal areas of your life that you’ve been neglecting, areas where you could be more efficient, and areas that are better left to the past.</p><h4>How does a pro live?</h4><p>In posing this question, the stereotype of a pro athlete comes to mind.</p><p>We all know the stereotype of the pro athlete. The pro athlete gets up at 4:30am, cracks four raw eggs into a glass, downs them, trains all day, protein shake, high fives, then repeats tomorrow.</p><p>The jockish image of the pro is an obvious over generalisation, but its the first thing that enters the minds of most people. In reality there are pros in every discipline because being pro is a mindset.</p><p>Indeed there are pros all around us. Pro business people, creatives, athletes, scientists, fishermen, writers. Name any field, there will be people who care enough about it to focus <em>everything</em> on it. Sometimes to a fault.</p><h4>Show up every day</h4><blockquote>Don’t expect to be motivated every day to get out there and make things happen. You won’t be. Don’t count on motivation. Count on Discipline.</blockquote><blockquote>– <a href="https://www.amazon.com/Discipline-Equals-Freedom-Field-Manual/dp/1250156947">Jocko Willink, Discipline Equals Freedom: Field Manual</a></blockquote><p>If we could extract the essence of the pro it would look something like extreme focus.</p><p>In the War of Art, Steven Pressfield’s solution to creative block is as simple as showing up every day. The premise of the book is that, by exercising discipline over yourself every day, you will eventually tune your brain to perform well at that task every day.</p><p>This isn’t that surprising when you think about it. Your brain is already structured to favour predictability. As an experiment, think about something you do at the same time every day (checking email is a good one). Then try delaying it. Do something else instead… checking your email will be all you can think about.</p><p>This is the reason Steven King writes in the morning over coffee, as he always has.</p><h4><a href="http://bigthink.com/videos/adam-alter-want-to-succeed-dont-set-goals-set-systems">Systems &gt; Goals</a></h4><p>Goals are what we tell people we’re going to do. Systems are how we actually do them.</p><p>Go ahead and set the goal to point you in the right direction. But without a system in place to move you towards it, the goal will stay out of reach forever.</p><p>A pro is already willing to get after it every day, so they can implement systems with ease.</p><p>Want to learn a new programming language? No problem, use it to make something small every day.</p><p>Want to make a successful SAAS product? Show up every day and ship features that make it indispensable to users.</p><p>Want to lose 15lb? Go running every morning and try to beat your previous record.</p><p>Want to get better at writing? Publish something on the same day every week for a year. Tell everybody you know to keep yourself accountable.</p><p>The most successful systems feature a feedback loop so that information can flow back into the system and improve it. Incidentally, this is why it’s better to compare yourself to your past self, and not to strangers on the internet.</p><h4>Help the tribe</h4><blockquote>But I need living companions who follow me because they want to follow themselves — and who want to go where I want to go.</blockquote><blockquote>– <a href="https://www.amazon.co.uk/Spake-Zarathustra-Classics-World-Literature/dp/1853267767">Friedrich Nietzsche: Thus Spoke Zarathustra</a></blockquote><p>You can’t choose the tribe, the tribe chooses you. By offering sincere advice about what you know, you’re standing in the public square waiting for people to emerge from the crowd and gravitate around you.</p><p>Most of you who are reading this will probably think “but I have nothing to offer…”. This is naive. We all have something to offer. All of us — even if you share the process of learning something new, or share a failure.</p><p>The pro will see what they are in an honest light. They see their flaws, their gaps, and where they shine, and they don’t let ego deceive them about these things. They see they’re not perfect so they’re fine with putting themselves out there.</p><blockquote>To be a successful creator you don’t need millions. You don’t need millions of dollars or millions of customers, millions of clients or millions of fans. To make a living as a craftsperson, photographer, musician, designer, author, animator, app maker, entrepreneur, or inventor you need only thousands of true fans.</blockquote><blockquote>– <a href="http://kk.org/thetechnium/1000-true-fans/">Kevin Kelly: 1,000 True Fans</a></blockquote><p>Get used to the fact that you hold within your mind information that could change people’s lives, then spread that information far and wide.</p><h4>Problems are opportunities</h4><p>No, this is not Orwellian doublethink.</p><p>I’m unsure if our attraction to problems and our ignorance to solutions is a hardwired feature of brains or a cultural phenomenon, but for whatever reason, we want to see the world through problem glasses.</p><p>Like many human behaviours, this is really dumb. If a problem has a solution and I can only see the problem, then I’m going to be a slave to that problem until somebody solves it.</p><p>The pro sees the problem but they don’t let it bog them down; the pro thinks about solutions to the problem, and if they can, they make the solution a reality.</p><p>If you’re lucky enough to be reading this in a capitalist country, the solution you think of could also make you rich.</p><h4>Why I wrote this post</h4><p>I’ve been writing this post in my head since 2016 when it occurred to me how much more productive I’d be if I had the discipline of a pro athlete.</p><p>Since before then I’ve been interested in the asymmetry between setting goals and achieving them. It’s one of the many reasons I find New Years resolutions cute. Sure, you might know what you want, but have you thought for one second how you’re going to move towards it?</p><h4>Books</h4><p>While writing this — like repressed memories — books that I read years ago came back to me. These are a few that contributed to me writing this:</p><ul><li>Essentialism</li><li>Extreme Ownership</li><li>Thus Spoke Zarathustra</li><li>Tribes</li><li>War of Art</li><li>The Startup Way</li></ul><p>There will soon be a books page on my website (I’ll be using it as a system to make me read more) where I’ll list all of these titles and more.</p><p><em>This was originally posted on my blog, where I write about the craft of making software and other things that I think people will find valuable. </em><a href="https://nosaj.io/"><em>https://nosaj.io.</em></a> <em>Go and check it out!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b09951c3cc5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Made The App That Turns YouTube Videos Into Podcasts]]></title>
            <link>https://medium.com/@nosajio/how-i-made-an-app-for-turning-youtube-videos-into-podcasts-d9b9d116d6bc?source=rss-230f74efdaad------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9b9d116d6bc</guid>
            <category><![CDATA[podcast]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[youtube]]></category>
            <category><![CDATA[makers]]></category>
            <dc:creator><![CDATA[nosaj.io]]></dc:creator>
            <pubDate>Tue, 12 Sep 2017 22:12:21 GMT</pubDate>
            <atom:updated>2018-01-19T15:21:08.096Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Om5kXN-G-csTgvKs3Zt7yQ.jpeg" /></figure><p>This is about a universal web application that I just got done with making called <a href="http://ripcast.in/">Ripcast</a>. Ripcast solves a real problem for people who enjoy listening to YouTube content, and up to now, have had to wrestle with the YouTube app to make it possible.</p><h3>The Problem</h3><p>Late one evening in April 2017, I was reflecting on how frustrating the YouTube experience makes listening to audio-only content.</p><p>That wasn’t the first time YouTube’s user experience had annoyed me. This is probably because I’m not the average YouTube consumer; my YouTube “Watch later” playlist is filled with content like lectures, talks, interviews, and other radio-type shows that I want to <em>listen to</em> and not watch. I usually like to listen to this sort of content while doing other things. If you’ve ever tried to use the YouTube app to consume content in this way (especially if you’re carrying your device in your pocket), this frustration will be all too familiar.</p><h3>Less Than Ideal YouTube App Behaviour</h3><p>The YouTube app will do things that makes passive use almost impossible:</p><ul><li>App will sense taps while the device is pocketed, causing play / pause to be activated, and sometimes a related video will magically start to play.</li><li>When the video is pocket-skipped, the YouTube app sometimes forgets playback position after navigating back to original video.</li><li>No sleep function.</li><li>No save offline (this is more problematic when using on cellular, as long videos can weigh hundreds of MB to GB).</li></ul><p>They say you should write software that will scratch your own itch. So that’s what I did. I came up with a better way to listen to the YouTube content I love: turn it into podcasts.</p><h3>The Solution</h3><p>The premise of Ripcast is simple: it’s a tool for creating and sharing podcasts made from YouTube content. For example, here is the feed for the podcast I made in the demo video below containing startup talks.</p><p><a href="http://app.ripcast.in/feeds/59970d59497ac629eb0ae1fc.xml">http://app.ripcast.in/feeds/59970d59497ac629eb0ae1fc.xml</a></p><p>You can paste that URL into your favourite podcasts app just like you normally would. When I add new content to that podcast using Ripcast, you will automatically see it show up in your podcast app!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FzZepgtPbdEI%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DzZepgtPbdEI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FzZepgtPbdEI%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/274eec49f267afe094f47254139250a2/href">https://medium.com/media/274eec49f267afe094f47254139250a2/href</a></iframe><p>For Ripcast to be worthwhile, I knew from the start that it had to be two things:</p><ol><li>⏱ Convenient: I should be able to open up the app before commuting or going for a run and add a bunch of content. After this, my podcast app should automatically see the new content without any effort from me.</li><li>⚡️ Fast: adding and removing content should not require more than one or two interactions after opening the app. After pressing ‘Add’, I’d expect that content to be ready for listening almost immediately.</li></ol><p>By writing down these two goals early, they helped to define what I should focus on while making Ripcast. Notice that the goals aren’t concerned with implementation details, but about <em>how</em> the product will work.</p><h3>Controversy</h3><p>Now, I should address this. I knew going in that this idea would be controversial, given that there is a lot of copyright restricted content and music on YouTube, and Ripcast ignores all of the guidelines right now. Google’s terms of service make it clear that accessing YouTube content through means other than ‘streaming’ through YouTube is not permitted1.</p><p>To deter users from using Ripcast for copyrighted music, I made the file processor save audio at a resolution that is low enough for music to sound awful (64kbps) but works just fine for spoken content.</p><p>I still blazed on with development because I didn’t see any ethical problems with doing so. The only loss to creators is ad revenue, but people still prefer to watch YouTube content when they can. I’ll be surprised if this little app gains such reach to even scratch the surface of YouTube ad revenue.</p><h3>The Prototype</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/0*chs1JAv09lacSwLp.png" /></figure><p>The prototype was a command line thing I hacked together in an evening.</p><p>Making software shares more with other art forms than most people realise. Take writing an essay or painting a portrait for example. Upon starting to write or paint, it’s difficult to envision the exact path one should take from the beginning to the end.</p><p>In software, to solve this, we usually make prototypes. A prototype is kind of like a sketch: it’s a quick and dirty implementation that should meet some of the main goals, but not necessarily all of them. Also like a sketch, parts of the prototype may be kept as a guide for later work.</p><p>The prototype for Ripcast was made in an evening, and was nothing more than a bunch of third party libraries that I plumbed together and ran on my MacBook. The prototype I made worked entirely on the command line. I could give it a YouTube URL and it would proceed to download the video, convert it, and then save an .mp3 to disk.</p><p>From the prototype, I wanted to learn how viable the downloading and storing of YouTube content for multiple users would be. The questions I wanted to answer were (with answers for convenience):</p><ul><li>How long will it take to download and convert a single video? about 2–3s per minute of video on my MacBook, but about 1s/minute with Linode’s 40Gbps download.</li><li>How small can I get the final output file to be? Using FFMPEG, I was able to squash files to about ½MB per minute of audio. Plenty small enough for storing cheaply.</li><li>Could the app run on the <a href="https://www.linode.com/pricing">cheapest single core Linode instance</a> money can buy? Linode instances use <a href="https://www.intel.com/content/www/us/en/products/processors/xeon/e5-processors.html">Intel E5</a> chips which run at around ~2.2Ghz per core. This was a lot slower than my MacBook Pro, but I figured Linode’s furious bandwidth would level things out (it made the process even faster).</li></ul><p>It’s worth saying that coding isn’t required for making a prototype. Pieter Levels once <a href="https://levels.io/product-hunt-hacker-news-number-one/">wrote about this</a> after he made a “crowdsourced spreadsheet as an MVP”:</p><blockquote><em>Instead of building a site first, I simply made a public Google spreadsheet to collect the first data and see if there’d be interest for this at all[…] It quickly filled up and with Twitter going crazy about just a spreadsheet list, I had just answered the hypothesis if there’d be interest for this. There was some proprietary data people put on there which I deleted (like Numbeo) and made sure it was all crowd sourced public (and open) data.</em></blockquote><p>Don’t assume you have to have a special set of skills to make good software. Making software is about improvisation and pragmatism as much as it is about coding.</p><h3>Designing The UI</h3><p>The two guiding principles I set for this project involved focussing on convenience and speed. I knew that failing to meet these two criteria would result in an objectively bad user experience.</p><h3>Planning The UI</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/0*B-G9cEHZlxfmbsN-.png" /></figure><p>Instead of wasting time labouring over pixel perfect mockups, I opened a double spread in a notebook and designed the UI with a pen. Not only is designing like this more freeing, it’s also more effective for idea generation. You want to work with a medium that allows you to try new ideas very quickly. Who cares if it looks messy at this point. All ideas come out messy at first anyway, what you do with them next is more important.</p><h3>Designing for speed</h3><p>There is an inevitable learning curve for every new piece of software we use. One job of the designer is to keep that learning curve as smooth as possible. When a user has to stop and think — or “trips” — the designer has failed. If we visualise the ideal learning curve, it would look like a smooth concave that rises quickly, while a bad curve will look more convex.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IHfk6gtObW96xgJb.png" /></figure><p>Smooth learning curves are hard to achieve because every user experience is uniquely subjective. The best we can do when designing software is to fall back on likely familiar patterns wherever possible. When the user is already familiar with some of the software, the amount of cognitive effort required for understanding it will be less. As a result, the thing will be easier to learn because the new elements are buttressed with familiar ones. This is why copying what everyone else does can be good for users.</p><h3>Making The File Processor</h3><p>In order to efficiently turn YouTube videos into audio files, I had to white some code that could handle the downloading and conversion of YouTube content. This part of the application is aptly called the file processor.</p><p>The file processor runs separately from the main app server. By dividing them up, it’s possible to have multiple instances of the file processor running as workers, and of course, multiple workers means concurrent processing. This prevents users from blocking one another when adding content at the same time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JUG7Mxs3tFSSBGRA.png" /></figure><p>The app server and processor run as separate processes</p><p>To pass data between the app server and the worker process(es) I used a <a href="https://redis.io/">Redis</a>server as a queue. This works a lot like an assembly line: the app can push data into the queue as it pleases, and a worker will only ask for the next item when one becomes available.</p><p>I tuned FFMPEG and the file processor until it was able to process a minute of YouTube content in around a second. If I add 1 hour of content to Ripcast, it will be available for me to start listening to in about 60 seconds.</p><h3>What’s Next for Ripcast?</h3><p>Well, if I don’t get my door kicked in by Google, I hope that people will find value in having more flexibility around consuming the content they enjoy.</p><p>There are lot’s of creators who receive support from their audience through Patreon <a href="https://www.nosaj.io/r/replace-patreon">or other means</a> (especially since the ad-pocalypse). Ripcast, I think, will help these creators more than hinder them because it gives audiences more flexibility in how they choose to consume content.</p><p>For the creators reliant on YouTube ad revenue, I think they will be less receptive to Ripcast, and I understand that. But I don’t expect Ripcast will ever see enough users to make a dent in ad revenue for these creators anyway.</p><h3>Ideas &amp; Suggestions</h3><p>If you have any thoughts about Ripcast, please <a href="https://twitter.com/__nosaj">tweet me</a> or email me on hi (at) nosaj (dot) io.</p><p>1: Still, this doesn’t stop people from downloading mp3’s (with <a href="http://convert2mp3.net/en/">tools</a> <a href="http://www.youtube-mp3.org/">like</a> <a href="http://www.flvto.biz/">these</a>) for their own personal use. Ripcast is a free service that automates this process further by generating a podcast feed for the converted content. As there are already a whole load of sites that let you download YouTube content, I figured I’d just go ahead with the project and see what happens.</p><p><em>This was originally posted on my blog, where I write about the craft of making software and other things that I think people will find valuable. </em><a href="https://nosaj.io./"><em>https://nosaj.io</em></a><em>. Go and check it out!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9b9d116d6bc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Run Correctly]]></title>
            <link>https://medium.com/@nosajio/how-to-run-correctly-633f9d0c0efd?source=rss-230f74efdaad------2</link>
            <guid isPermaLink="false">https://medium.com/p/633f9d0c0efd</guid>
            <category><![CDATA[running]]></category>
            <category><![CDATA[exercise]]></category>
            <category><![CDATA[running-tips]]></category>
            <dc:creator><![CDATA[nosaj.io]]></dc:creator>
            <pubDate>Mon, 11 Sep 2017 17:21:49 GMT</pubDate>
            <atom:updated>2017-09-11T17:21:49.379Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*77miAmfRuKIx6d8XJu3Seg.gif" /></figure><p>I recently got into running.</p><p>Distance running in particular is easy for most people to pick up, and has remarkable effects on the mind and body.</p><p>For an example of how running affects the mind, see the image below. The image was made by scanning the brains of a group of people before and after twenty minutes of exercise. The heat map shows the change in brain activity before and after they participated in exercise.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WGvyYuzH8nFaOvBV.png" /></figure><p>As you can tell from the image, the increase in brain activity after only 20 minutes or so of exercise is remarkable.</p><p>Scientists think this increase is related to blood circulation. An increase in blood pressure caused by cardiovascular activity pushes oxygenated blood into the brain. This might also explain the heightened sense of cognitive ability after running, and post-run <em>bliss</em>.</p><h3>Running Properly is Important</h3><p>There still seem’s to be some controversy surrounding the question of how much form matters for being a good runner, with the debate centred around how the leading foot should strike the ground.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3Ah9Ycn-O8jebs2N.png" /><figcaption>If possible, landing on the ball of the foot is better than striking on the heel or the toes.</figcaption></figure><p>The idea is that, because tendon is comprised of mostly elastin and collagen, it is better to put stress on tendon (landing front or mid foot) instead of hammering the bone (landing on the back of the foot). This is better because tendon will absorb impact energy much like a car’s suspension. In bone the stress will travel up the tibia and be absorbed by the knee joint.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Hg4uPCA53L6usbBk.png" /><figcaption>When striking heel first, stress will travel up the bone and into the knee joint.</figcaption></figure><p>Somewhere between 50% — 80% of runners incur some kind of running related injury every year. The most common injury by far is known as <a href="https://www.runnersworld.com/runners-knee">patellofemoral pain syndrome</a> (or “Runners Knee”), which occurs because of a combination of low quad strength and, as you may have guessed, landing on the heel of the foot.</p><p>Injury caused by landing on the front or middle of the foot is less common. With the main suspect being injury to the achilles tendon. The achilles tendon is attached to the heel at one end and the calf muscle at the other, and burdens the majority of the stress when landing on the front or mid foot.</p><p>The goal of running properly should allow the runner to perform at their peak while lowering the chance of injury.</p><h3>The Running Method</h3><p>I don’t recommend being too zealous in changing up your form because that’s another effective way to injure yourself. Instead, change things over time, and be conscious of how much you have to fight your bio-engineering to make changes. If your body is resistant to changing form, I recommend finding a coach who can observe you run and offer guidance.</p><p>Below is a slow motion analysis of <a href="https://en.wikipedia.org/wiki/Haile_Gebrselassie">Haile Gebrselassie’s</a> running form. Haile’s genetics combined with an intuition for form affords him the pleasure of holding 10 Olympic gold medals for endurance running. He might have the best running form in the world.</p><h3>Do not micro manage</h3><p>I’ve spent countless hours trying to perfect my running form, and the method I find to be most effective is to think less. Let me explain…</p><p>Your subconscious and nervous system is artful at playing back memorised routines with little error. It has to be for us to be able to move around while thinking about other things. But that artful grace falls apart the second the conscious mind starts to get involved. Try doing something you do every day with no thought while <em>thinking about it</em>, and mark my words, you will make more mistakes.</p><p>By thinking less, you let intuition take over and become receptive to what feels right and what feels wrong.</p><h3>Run light on your feet</h3><p>Runners like to talk about ‘ideal cadence’ as a hard an fast rule, but cadence doesn’t quite work that way (cadence is the rate at which the feet strike the ground and is measured in BPM) because it’s more about the runner’s height, speed and <em>lightness</em>.</p><p>When I run at 14kmph my cadence should be higher than when I run at 10kmph. This is because, for me to be light on my feet, I’ll have to move my legs at a faster rate when moving quickly than when I’m moving slowly.</p><p>There are a lot of <a href="https://www.theguardian.com/lifeandstyle/the-running-blog/2014/jul/31/running-technique-why-form-matters">assertions</a> from journalists that ~180bpm is the ideal cadence. This is useful to know as a guide, but to force a constant cadence regardless of speed feels more like stumbling than being light on your feet.</p><p>There is an intuitive sense that occurs when the ideal cadence is achieved. The feeling is much like the feeling that comes with singing in harmony. It’s difficult to put into words. But the feeling of ideal cadence is one of harmony between speed and momentum, and there is a distinct awareness that you are running with almost no effort. It’s an amazing feeling.</p><h3>Run tall</h3><p>Runners often find themselves encumbered with lower back problems because standing up straight, exhausted, while running for 60mins is not always easy.</p><p>The simple solution for this is to push your chest up high and keep your shoulders back. Looking ahead with the chin slightly raised is favourable because it keeps the airway fully open, making it easier to keep your breath.</p><h3>Get Out And Experiment</h3><p>The reason running is so prevalent is because its so easy to do. At a moments notice, rain or shine, put on your running shoes and away you go. Twenty minutes later you feel like you’re one step closer to being a superhero.</p><p>Ideal form might not make you faster, but it sure will make you feel better, and you’ll be less injured too.</p><p><em>This was originally posted on my blog, where I write about the craft of making software and other things that I think people will find valuable. </em><a href="https://nosaj.io./"><em>https://nosaj.io</em></a><em>. Go and check it out!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=633f9d0c0efd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Here’s How to Replace Your Patreon Page With PayPal and MailChimp]]></title>
            <link>https://medium.com/@nosajio/replace-your-patreon-page-with-paypal-and-mailchimp-27dc8d8bced3?source=rss-230f74efdaad------2</link>
            <guid isPermaLink="false">https://medium.com/p/27dc8d8bced3</guid>
            <category><![CDATA[paypal]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[content-creation]]></category>
            <category><![CDATA[patreon]]></category>
            <dc:creator><![CDATA[nosaj.io]]></dc:creator>
            <pubDate>Mon, 11 Sep 2017 16:45:02 GMT</pubDate>
            <atom:updated>2017-09-28T20:21:58.254Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PHo-6XNo-SRfenGpKoZJ0Q.jpeg" /></figure><p>About a week ago, Journalist Tim pool sent out a tweet asking if anybody could help him create a subscriber platform for donors.</p><p>This happened just after Patreon shut down the account of a journalist without prior warning, and it had a domino effect that caused many content creators to consider that Patreon might one day sever ties with them without any warning.</p><p>After looking into the work involved in hacking together a Patreon-like page that could be made and hosted with little tech know-how, it became apparent that that Patreon might be easier and cheaper to replace than I had anticipated. So, in the following rough guide I’ll show you how to make and host your own subscriber platform that will be resistant to the whims of Silicon Valley.</p><p><strong>The page we’ll make will make it possible to do the following:</strong></p><ul><li><strong>Communicate with potential supporters via text and video.</strong></li><li><strong>Receive support in the form of monthly donations and one-off payments.</strong></li><li><strong>Capture email addresses of new subscribers in MailChimp.</strong></li></ul><h3>Prerequisites</h3><p>Before we get started you’ll need a MailChimp account and a PayPal Business account to make this possible. It also helps if you understand enough HTML to make a simple webpage. <a href="https://www.paypal.com/uk/webapps/mpp/business-updates/business-account">You can open a PayPal business account here</a>, and a <a href="https://login.mailchimp.com/signup/?source=website&amp;pid=GAW">MailChimp account here</a>.</p><h4>Why PayPal</h4><p>When I started writing this guide, I was set on the idea of using Stripe to handle subscriptions and billing, as they have some nice ways of keeping everything in one place. But as the Stripe solution started to get more complicated, I decided that it wasn’t the best approach. The idea of this project is to see if I can easily replace Patreon’s core features with web services, and PayPal offer probably the simplest solution out there with their hosted button system.</p><h4>Cost</h4><p>PayPal don’t make it clear how much they charge for using hosted buttons, but it’s safe to assume that they will take their usual percentage of 2.9% from each transaction. Patreon’s transaction fee is 5%, so this method will give 2.1% back to you per transaction.</p><h3>1: Setup PayPal Subscription Tiers</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IYUuvOqtqKVjlcxF.jpg" /></figure><p>To receive payments, we’ll need to tell PayPal what to charge people when they press on the “Subscribe” button. To do this, <a href="https://www.paypal.com/buttons/select">PayPal has a form</a> that you can use to setup prices and customise how your button looks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2ZuqgBCxXBxLGzln.jpg" /></figure><p>Once your button has been configured, PayPal will generate some code that will need to be pasted into the page that we’ll make next. After configuring each button, I pasted the generated code into a empty text file for safe keeping.</p><h3>2: Making the Support Page</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*XGaHNwF6ppuAqyaf.gif" /></figure><p>I’ve put the code for this on GitHub, and hosted the example page somewhere you can play with it.</p><p><a href="http://a.nosaj.io/my-patron/index.html">Example page</a></p><p><a href="https://github.com/nosajio/my-patron">The code</a></p><p>This is the most technical part of this guide, and it isn’t all that technical, which is a good thing.</p><p>I won’t go in depth about every part of the page. Instead I’ll focus on the important stuff, like how to embed and customise the PayPal buttons, and where to put messaging aimed at potential supporters.</p><h4>Making better subscribe buttons</h4><p>So you might have noticed that PayPal’s button tool gives you hideous buttons to work with, but thankfully you also have the option to change the image to one of your own. To add your own button image, change the &lt;input type=&quot;image&quot; src=&quot;...&quot; &gt; tag&#39;s src attribute to point to the url of your button image.</p><h4>Messaging</h4><p>Patreon has a way of making supporters feel close to creators because of the informal wall-like feature that they call “Posts”. As a cheap way to replace this, I’ve put a section at the top of the page that can be used to either show a message to potential supporters, or even a video similar to YouTube channel’s.</p><h3>3: Use MailChimp as a communication channel</h3><p>One big feature that Patreon offers is the ability to communicate directly with supporters. This can be replicated easily by using MailChimp to collect email addresses of supporters. Once the supporters’ addresses are in MailChimp, emails could be sent directly to supporters.</p><p>To get supporter’s email addresses into MailChimp, PayPal has a system called Instant Payment Notification (IPN) that basically works like a webhook that sends a notification to an outside URL every time a sale is made. There&#39;s <a href="http://kb.mailchimp.com/integrations/e-commerce/use-paypal-with-mailchimp">a excellent guide</a> over on MailChimp&#39;s knowledge base that I used to get this to work. I recommend reading that guide for more information on plumbing together PayPal and MailChimp.</p><h4>Missing Features</h4><p>My intention with making this guide was to keep it very simple. I just wanted to see if my hunch was correct that Patreon’s core features could be made with other tools. I think this guide validates that this is indeed possible.</p><p>Patreon has some other cool features that could be cool to make — maybe in a more in depth guide. One of these features is the mechanism that pays creators only when they release something new, instead of paying them every month. I’m not sure if this pay-per-content feature is liked very much by creators, as I’ve only heard them complain about it in the past. Instead, the feature appears to be designed for making supporters feel like they are getting their moneys worth. The thing is I only use Patreon as a supporter, so I have to listen to creators when figuring out what is good and what is crappy about Patreon.</p><p>If you have any thoughts on features that could be cool to add to this in the future, you should tweet me <a href="https://twitter.com/__nosaj">@__nosaj</a>.</p><h3>There is Hope Beyond Patreon</h3><p>Replacing Patreon with a custom page is so easy that if I had stakes in Patreon, I’d be a little concerned. I think that Patreon offers a useful service that makes it simple for creators to receive support without worrying about running a complicated platform. But what if running a support platform could actually be easier and cheaper than using Patreon in the long term? There is a lot of potential in this — and if Patreon continue to rock the boat like they have been, we’ll no doubt see more people jump ship, and self-hosted solutions like this will no doubt become more common.</p><p><em>This was originally posted on my blog, where I write about the craft of making software and other things that I think people will find valuable. </em><a href="https://nosaj.io./"><em>https://nosaj.io</em></a><em>. Go and check it out!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27dc8d8bced3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>