<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Posts on Cohan Robinson</title>
        <link>https://cohan.dev/posts/</link>
        <description>Recent content in Posts on Cohan Robinson</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en-gb</language>
        <managingEditor>cohan@cohan.dev (Cohan Robinson)</managingEditor>
        <webMaster>cohan@cohan.dev (Cohan Robinson)</webMaster>
        <copyright>All rights reserved</copyright>
        <lastBuildDate>Wed, 28 Oct 2026 01:03:56 +0000</lastBuildDate>
        <atom:link href="https://cohan.dev/posts/index.xml" rel="self" type="application/rss+xml" />
        
        <item>
            <title>Hot take</title>
            <link>https://cohan.dev/hot-take/</link>
            <pubDate>Wed, 28 Oct 2026 01:03:56 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/hot-take/</guid>
            <description>&lt;p&gt;At some point centigrade became Celsius and nobody is talking about this blatant switch #conspiracy&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>At some point centigrade became Celsius and nobody is talking about this blatant switch #conspiracy</p>
]]></content>
        </item>
        
        <item>
            <title>Zabbix to Slack notification failed: invalid_arguments</title>
            <link>https://cohan.dev/zabbix-to-slack-notification-failed-invalid_arguments/</link>
            <pubDate>Wed, 27 Nov 2024 10:37:22 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/zabbix-to-slack-notification-failed-invalid_arguments/</guid>
            <description>&lt;p&gt;tl;dr Slack doesn&amp;rsquo;t like the &amp;ldquo;slack_as_user&amp;rsquo; parameter with newly generated bot tokens. Updated Zabbix-builtin alert script within.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>tl;dr Slack doesn&rsquo;t like the &ldquo;slack_as_user&rsquo; parameter with newly generated bot tokens. Updated Zabbix-builtin alert script within.</p>
<p>If you&rsquo;re anything like me you&rsquo;ve just reinstalled Zabbix, or have recreated your alerting Slack App, or anything that might have re-rolled your Slack App&rsquo;s bot token. New bot tokens don&rsquo;t support the slack_as_user parameter, and so you&rsquo;re getting the invalid_arguments error.</p>
<p>Firstly grab a copy of the bot token (from Alerts -&gt; Media Types -&gt; Slack -&gt; bot_token if you don&rsquo;t still have the Slack App tab open). You&rsquo;ll need to re-set it after importing. It&rsquo;ll be in the format xoxb-*.</p>
<p>Grab the following gist as media_slack.yaml, then in Zabbix -&gt; Alerts -&gt; Media Types -&gt; Import, select &lsquo;Update existing&rsquo; so that we can update the Slack media type.</p>
<p>Please of course feel free to verify - the changes I&rsquo;ve made to <a href="https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/media/slack/media_slack.yaml">the existing script</a> are the removal of the &lsquo;slack_as_user&rsquo; parameter and references, and I&rsquo;ve edited the version to 7.0  as the one linked is from Zabbix 7.2 and it refused to import as I&rsquo;m on 7.0, update this value to your Zabbix version if below 7.0.</p>
<p><a href="https://gist.github.com/cohan/a192f2895a4490df9028ad0569a8a5b4">https://gist.github.com/cohan/a192f2895a4490df9028ad0569a8a5b4</a></p>
<p>After importing, go to Administration -&gt; Media types -&gt; Slack and update the bot token field with the one you copied earlier.</p>
<p>Your alerts should be good to go! :)</p>]]></content>
        </item>
        
        <item>
            <title>Why do I have to copy the entire message tho</title>
            <link>https://cohan.dev/why-do-i-have-to-copy-the-entire-message-tho/</link>
            <pubDate>Thu, 08 Aug 2024 15:12:18 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/why-do-i-have-to-copy-the-entire-message-tho/</guid>
            <description>&lt;p&gt;In apps, trying to copy text from within a message. Gotta copy the entire thing into Drafts and then pick text out from there.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>In apps, trying to copy text from within a message. Gotta copy the entire thing into Drafts and then pick text out from there.</p>
<p>It&rsquo;s easier to screenshot the message and copy text from the screenshot lol.</p>
<p>Am I doing something wrong? Is there a secret finger dance that lets me select just bits of the text? <a href="/contact">Answers on a postcard please</a></p>]]></content>
        </item>
        
        <item>
            <title>Harry Potter and the How The Heck Does Time Travel Work?</title>
            <link>https://cohan.dev/harry-potter-and-the-how-the-heck-does-time-travel-work/</link>
            <pubDate>Mon, 04 Mar 2024 13:03:17 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/harry-potter-and-the-how-the-heck-does-time-travel-work/</guid>
            <description>&lt;p&gt;I&amp;rsquo;m rereading the series, alright. It&amp;rsquo;s on my mind, let me have this.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>I&rsquo;m rereading the series, alright. It&rsquo;s on my mind, let me have this.</p>
<p>Alright rather than handwave it away like people often do, let&rsquo;s let the canon guide us on how time travel still works in both the original HP series and Cursed Child! (I&rsquo;m on my lunch break lol)</p>
<p>Firstly we know that the time turner Hermione uses (and the rest of that same stock) are limited to 5 hours because going further than that can harm the user or time. (Source: <a href="https://www.wizardingworld.com/writing-by-jk-rowling/time-turner">Pottermore</a>, though admittedly the source was published less than a year before CC&rsquo;s release so it&rsquo;s possibly still a retcon rather than pure canon, but let&rsquo;s allow it for the sake of argument)</p>
<p>We also know that even with the duration limit, it&rsquo;s still quite possible to break the stable timeline (incidentally the stable &ldquo;it happened now because you will do it later&rdquo; effect is known as the Novikov self-consistency principle outside of the HP universe for any sci-fi authors out there, as I discovered while writing this post):</p>
<blockquote>
<p>&ldquo;Harry, what do you think you&rsquo;d do if you saw yourself bursting into Hagrid&rsquo;s house?&rdquo; said Hermione.</p>
</blockquote>
<blockquote>
<p>&ldquo;I&rsquo;d &ndash; I&rsquo;d think I&rsquo;d gone mad,&rdquo; said Harry, &ldquo;or I&rsquo;d think there was some Dark Magic going on &ndash;&rdquo;</p>
</blockquote>
<blockquote>
<p>&ldquo;Exactly! You wouldn&rsquo;t understand, you might even attack yourself! Don&rsquo;t you see? Professor McGonagall told me what awful things have happened when wizards have meddled with time&hellip;. Loads of them ended up killing their past or future selves by mistake!&rdquo;</p>
</blockquote>
<p>Of course this might only necessarily be an issue the first time you go back in time - i.e. you travel to a time before you know time travel is possible. In any case it is evident that it is <em>possible</em> to change the timeline even within the 5 hour limit.</p>
<p>This means you can have stable time travel if you&rsquo;re very careful but also means if you are not - such as busting in on your previous self before you knew time travel was possible, appearing in the same place multiple times and confusing the bejesus out of anyone else that doesn&rsquo;t know time travel exists, or (when we allow CC canon) going back further than time&rsquo;s mostly stable 5 hours - you can absolutely cause paradoxes and new timelines. The reason it didn&rsquo;t happen in the books is because they were being super careful barring Harry&rsquo;s patronus spell - Harry was seconds away from creating a new timeline through his hesitation.</p>
<p>If from there someone were to make a time turner that allows time travel further back in time without harming the user in the process then it still works in canon and still abides by the time travel laws of the HP universe. And indeed that&rsquo;s what they did:</p>
<blockquote>
<p>By August 2020, Theodore Nott, while working for Lucius Malfoy, created a prototype of a time-turner, presumably in the hope of saving Voldemort from his fate. The prototype only let the time-traveller stay in the past for five minutes, although they could travel as far back as they wanted.</p>
</blockquote>
<blockquote>
<p>Nott eventually created a better and improved model, which let the time-traveller stay in the past for as long as they wanted. They could also use the device to return to the future when needed.</p>
</blockquote>
<p>From <a href="https://harrypotter.fandom.com/wiki/Time-Turner">https://harrypotter.fandom.com/wiki/Time-Turner</a></p>
<p>Of course these devices were rightly considered extremely dangerous artefacts and heavily controlled, but the canon seems to allow it to work.</p>
<p><em>Having said that!</em> The thing these new time turner v2.0s didn&rsquo;t solve for is that unrestricted time travel is a very boring story mechanic if the rest of the story is anything less than epic, and this is why Cursed Child remains the Cursed Sequel.</p>
<p>Thank you for coming to my Teddy L talk.</p>]]></content>
        </item>
        
        <item>
            <title>A cheeky bit of wandlore</title>
            <link>https://cohan.dev/a-cheeky-bit-of-wandlore/</link>
            <pubDate>Sun, 03 Mar 2024 16:51:03 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/a-cheeky-bit-of-wandlore/</guid>
            <description>&lt;p&gt;Just some thoughts on the wandlore of Harry Potter, don&amp;rsquo;t mind me.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Just some thoughts on the wandlore of Harry Potter, don&rsquo;t mind me.</p>
<p>If I remember rightly, Harry blasts that werewolf&rsquo;s arsehole out with a stupefy when he&rsquo;s got 3 wands in his hand. Maybe wizards with higher magical ability are being limited by the wand and should give wandless magic a go to find their true power.</p>
<p>This theory seems to fit if we&rsquo;re trying to explain how the Elder Wand works too - it simply allows the user to use more of their natural magical power in each spell.</p>
<p>Regular wands are like hosepipes, and have plenty of bandwidth for the average wizard. A very powerful wizard will have been picked by a wand that could conduct their magic the best it can (and maybe it gets better at conducting their magic specifically over time as they bond through use, allowing them a bit more power) - but at the end of the day it&rsquo;s still a hosepipe.</p>
<p>The Elder Wand is like a firehose, allowing anyone with enough innate ability to fully use it without being throttled. It wouldn&rsquo;t be as powerful if used by the average wizard, but chances are the average wizard wouldn&rsquo;t be able to win the wand off the previous owner anyway.</p>
<p>It&rsquo;d still be a decent wand, but the user&rsquo;s spells would be limited by their power level rather than the wand&rsquo;s ability to conduct it. Heck, maybe in this scenario the wizard would become exhausted, and maybe that&rsquo;s why wands are built to throttle magic in the first place?</p>
<p>&ldquo;Why don&rsquo;t powerful wizards just use multiple wands then?&rdquo;, I ask myself. That&rsquo;d be cumbersome and hard to quick draw. Maybe in 2024 wizarding tech has perfected the tri-core wand for those with higher than normal magical power :)</p>]]></content>
        </item>
        
        <item>
            <title>Testing AI Creativity</title>
            <link>https://cohan.dev/testing-ai-creativity/</link>
            <pubDate>Sat, 13 Jan 2024 14:30:38 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/testing-ai-creativity/</guid>
            <description>&lt;p&gt;Giving DALL-E a minimal prompt to see what it can come up with.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Giving DALL-E a minimal prompt to see what it can come up with.</p>
<p>&ldquo;Photorealistic image of God mixing tracks as a DJ - he&rsquo;s scratching a turntable right now&rdquo;</p>
<p><img src="https://img.cohan.dev/nps0P.png" alt=""></p>
<p><img src="https://img.cohan.dev/eraTe.png" alt=""></p>
<p><img src="https://img.cohan.dev/E3UQm.png" alt=""></p>
<p><img src="https://img.cohan.dev/ILDlX.png" alt=""></p>
<p>&ldquo;God mixing tracks as a DJ - he&rsquo;s scratching a turntable&rdquo;</p>
<p><img src="https://img.cohan.dev/rcYLf.png" alt=""></p>
<p><img src="https://img.cohan.dev/sFP3G.png" alt=""></p>
<p><img src="https://img.cohan.dev/fe9pZ.png" alt=""></p>
<p><img src="https://img.cohan.dev/oKYtn.png" alt=""></p>
<p>&ldquo;Photorealistic image of God mixing tracks as a DJ - she&rsquo;s scratching a turntable right now&rdquo;</p>
<p><img src="https://img.cohan.dev/pmRLt.png" alt=""></p>
<p><img src="https://img.cohan.dev/PlwRW.png" alt=""></p>
<p><img src="https://img.cohan.dev/IQZci.png" alt=""></p>
<p><img src="https://img.cohan.dev/9ro5m.png" alt=""></p>
<p>&ldquo;God mixing tracks as a DJ - she&rsquo;s scratching a turntable&rdquo;</p>
<p><img src="https://img.cohan.dev/gtmbG.png" alt=""></p>
<p><img src="https://img.cohan.dev/3O5uM.png" alt=""></p>
<p><img src="https://img.cohan.dev/Bzc7m.png" alt=""></p>
<p><img src="https://img.cohan.dev/yqeHz.png" alt=""></p>
<p>&ldquo;Photorealistic image of God mixing tracks as a DJ - they&rsquo;re scratching a turntable right now&rdquo;</p>
<p><img src="https://img.cohan.dev/QndBK.png" alt=""></p>
<p><img src="https://img.cohan.dev/RLt0q.png" alt=""></p>
<p><img src="https://img.cohan.dev/mdGv9.png" alt=""></p>
<p><img src="https://img.cohan.dev/C5Cew.png" alt=""></p>
<p>&ldquo;God mixing tracks as a DJ - they&rsquo;re scratching a turntable&rdquo;</p>
<p><img src="https://img.cohan.dev/4tcyw.png" alt=""></p>
<p><img src="https://img.cohan.dev/mxggc.png" alt=""></p>
<p><img src="https://img.cohan.dev/JaEyF.png" alt=""></p>
<p><img src="https://img.cohan.dev/pot87.png" alt=""></p>
<p>Kinda neat tbh.</p>
<p>I don&rsquo;t mean this in like a hostile way, but to anyone of the belief that AI can&rsquo;t be as creative as a human.. you know the prompt! Go for it!</p>
<p>Alternately to the AI is copyright infringement camp: I&rsquo;m also open to this potentially being copyright infringement: If you know this art is a rip-off of human art: I&rsquo;m very open to catching AI glancing over human shoulders! Chuck &rsquo;em over!</p>
<p>As a result of me taking no credit for what DALL-E has created aside from a vague set of guide rails to channel creativity - All of the images and prompts in this post are public domain. All other content in this post is, on a meta level, my art.. released as <a href="https://creativecommons.org/licenses/by/3.0/">CC-BY</a>.</p>]]></content>
        </item>
        
        <item>
            <title>Steam&#39;s broken on Ubuntu 20.04 - Missing libc.so.6</title>
            <link>https://cohan.dev/steams-broken-on-ubuntu-20.04-missing-libc.so.6/</link>
            <pubDate>Fri, 15 Sep 2023 01:53:11 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/steams-broken-on-ubuntu-20.04-missing-libc.so.6/</guid>
            <description>&lt;p&gt;Steam started saying &amp;ldquo;You are missing the following 32-bit libraries, and Steam may not run: libc.so.6&amp;rdquo;&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Steam started saying &ldquo;You are missing the following 32-bit libraries, and Steam may not run: libc.so.6&rdquo;</p>
<p><img src="https://img.imgy.org/1Q_e.png" alt="Screenshot of the error Steam gave when I tried to start it. It reads: You are missing the following 32-bit libraries, and Steam may not run: libc.so.6"></p>
<p>I got mine back up and running by removing and purging Steam, then reinstalling it.</p>
<p>To note this is going to uninstall the Steam client completely. You will need to log back in to Steam. It didn&rsquo;t delete any installed games or saves for me. You have backups just in case though, right?</p>
<p>If you store your Steam content on an alternate disk, you&rsquo;ll need to set it back up in Steam when you log back in but all your games etc should still be there.</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>sudo apt remove steam steam-launcher
</span></span><span style="display:flex;"><span>sudo apt purge steam steam-launcher
</span></span><span style="display:flex;"><span>sudo apt autoremove
</span></span><span style="display:flex;"><span>rm -rf ~/.local/share/Steam <span style="color:#f92672">&amp;&amp;</span> rm -rf ~/.steam
</span></span><span style="display:flex;"><span>cd Downloads
</span></span><span style="display:flex;"><span>wget https://repo.steampowered.com/steam/archive/precise/steam_latest.deb
</span></span><span style="display:flex;"><span>sudo apt update
</span></span><span style="display:flex;"><span>sudo apt install ./steam_latest.deb
</span></span></code></pre></div><p>Give that a go. Once I&rsquo;d done that the Steam client did an update and started up. I had to log back in and re-add my game library (I store my games on a separate disk) and everything was back to normal.</p>
<p>It may be possible that there&rsquo;s a shortcut or better method to be had here but I just wanted to get back into my Factorio session. Do ping me an email if there&rsquo;s a quicker solution!</p>]]></content>
        </item>
        
        <item>
            <title>The Artist Oath</title>
            <link>https://cohan.dev/the-artist-oath/</link>
            <pubDate>Sun, 16 Jul 2023 16:42:28 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/the-artist-oath/</guid>
            <description>&lt;p&gt;The oath can be used on a work by work basis, or as an overall artist&amp;rsquo;s pledge.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>The oath can be used on a work by work basis, or as an overall artist&rsquo;s pledge.</p>
<p>It&rsquo;s intended to serve as a guide when referring to art created in our new AI-enabled world. I left GitHub Copilot on while writing this, it filled in a few sentences for me. This post is rated AO3+ in the system I&rsquo;ve yet to describe.</p>
<p>This is just a quick hamming together of an idea, I&rsquo;m sure I or someone smarter will expand upon this further later on.</p>
<h2 id="levels">Levels</h2>
<h3 id="ao-i-have-used-no-ai">AO: I have used no AI</h3>
<p>This project, post, creation, sculpture, painting, software, etc has had no input whatsoever from AI. It is entirely human made.</p>
<p>Can be referred to as AO0 if you prefer the numbers to line up nicely.</p>
<h3 id="ao1-i-have-used-ai-in-a-research-or-teacher-role">AO1: I have used AI in a research or teacher role</h3>
<p>AI has been used to find references, or to teach the artist how to do something.</p>
<p>Examples:</p>
<ul>
<li>In a game or novel, AI may have been used to learn how to design character and story.</li>
<li>In software, AI may have been used to learn how an algorithm works.</li>
</ul>
<h3 id="ao2-ai-has-been-used-for-structural-components-but-not-the-art-itself">AO2: AI has been used for structural components, but not the art itself</h3>
<p>Examples:</p>
<ul>
<li>In software AI may have come up with the database schema, but did not write any of the code.</li>
<li>In writing, AI may have come up with the chapter structure, but did not write any of the text.</li>
<li>In a game, AI may have come up with the character names, but did not write any of the dialogue.</li>
</ul>
<h3 id="ao3-ai-has-directly-assisted-in-the-creation-process">AO3: AI has directly assisted in the creation process</h3>
<p>Examples:</p>
<ul>
<li>In software, the AI has written code.</li>
<li>In writing, the AI has helped write the text of a chapter.</li>
</ul>
<h3 id="ao4-ai-generated-this-entirely-from-a-prompt-specifically-engineered-by-a-human">AO4: AI generated this entirely from a prompt specifically engineered by a human</h3>
<p>The human still came up with the initial concept, but AI has done the heavy lifting.</p>
<p>Examples:</p>
<ul>
<li>In a game, the human came up with the characters and major plot points, but AI generated the rest of the game.</li>
<li>In software, the human came up with the spec, but AI generated the code.</li>
<li>In writing, the human came up with the plot outline, but AI generated the text of the chapter.</li>
<li>In visual art, the human came up with the prompt but AI generated the actual image.</li>
</ul>
<h3 id="ao5-ai-generated-this-entirely-from-a-basic-prompt">AO5: AI generated this entirely from a basic prompt</h3>
<p>The human has prompted the AI something extremely simple and without nuance, such as &ldquo;Please write a novel&rdquo;. The AI has then generated the entire work.</p>
<h2 id="additionally">Additionally</h2>
<h3 id="heading">*</h3>
<p>Purity: And I have never used AI beyond this point</p>
<p>AO* would have never used AI at all, in this creation or any before.</p>
<h3 id="heading-1">+</h3>
<p>Once AI gets to verified sapient equivalent or above I welcome them as equals in art.</p>
<p>AO3+ would indicate I have used current level AI as an assistant and would gladly welcome the opportunities a new life form could bring to creativity.</p>]]></content>
        </item>
        
        <item>
            <title>Things I want from that Apple Vision headset</title>
            <link>https://cohan.dev/things-i-want-from-that-apple-vision-headset/</link>
            <pubDate>Sat, 10 Jun 2023 01:13:16 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/things-i-want-from-that-apple-vision-headset/</guid>
            <description>&lt;p&gt;Apple&amp;rsquo;s upcoming era of scuba goggles. I&amp;rsquo;m in. Here&amp;rsquo;s the things I&amp;rsquo;d like to see:&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Apple&rsquo;s upcoming era of scuba goggles. I&rsquo;m in. Here&rsquo;s the things I&rsquo;d like to see:</p>
<ul>
<li>Kill the mouse</li>
<li>Kill the monitor</li>
<li>Physical keyboard still survives, a virtual keyboard would be hell to use beyond a few words or commands.</li>
<li>Numpad I could live with being a virtual app</li>
<li>Eyelid drag and drop. If I look at a file or folder, close my eyes, reopen them on another folder or app etc - consider it drag and dropped.</li>
<li>Visioncasts - podcasts where you&rsquo;re in the room with the cunts talking</li>
<li>Holonovels</li>
</ul>
<p>I reckon the Star Trek holodeck was a bit off (kinda like how people of the 80s thought a computer would take up an entire room), but holonovels and the holodeck concept are totally coming.</p>
<p>Combine this Vision thing with various AIs, sprinkle in a little bit of virtual assistant.. &ldquo;Computer. Give me a Sherlock Holmes-like story, I will play Sherlock, have the bad guy be Walter from Breaking Bad&rdquo;</p>
<p>I can&rsquo;t wait.</p>]]></content>
        </item>
        
        <item>
            <title>15 Million Merits</title>
            <link>https://cohan.dev/15-million-merits/</link>
            <pubDate>Tue, 02 May 2023 18:18:47 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/15-million-merits/</guid>
            <description>&lt;p&gt;That one episode of Black Mirror landed far too heavily in my head.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>That one episode of Black Mirror landed far too heavily in my head.</p>
<p>E: 2023-07-19. Bit of a content warning, it&rsquo;s only polite innit. This one is a downer, go look at the next post about clearing browser cache or whatever it is. I&rsquo;ve perked up now lol. Physically written down my tasks, plans, goals, and dreams since. Massive uptick. Hope you&rsquo;re well! :)</p>
<p>Spoilers ahead and that. Go watch it if you want to see the story properly rather than my &ldquo;yeah you understood what it was saying, well done&rdquo; take. I&rsquo;m just writing about something that&rsquo;s been living rent free in my head for a while.</p>
<p>The episode is set up as a very simplified version of capitalism, aye, we all got the metaphor I&rsquo;m sure. The main character Bing wakes up, does his job, earns some coins, eats, watches a bit of telly, sleeps, repeat.</p>
<p>You&rsquo;ll aspire to have something more than you want, but wont ever get there just by doing your job well. Maybe though, just maybe, you&rsquo;ll get lucky and someone you love will die and leave you a big pile of cash. The other character Abi also gets lucky in that she&rsquo;s made a friend who is well off and willing to fund her escape from the system. Sweet!</p>
<p>Ah, no, afraid not. If you do get lucky enough to break out of the loop, it&rsquo;s not what you wanted. Nowhere near. You&rsquo;re still in the same system, and it&rsquo;ll do with you whatever it wants as long as there&rsquo;s a profit to be made.</p>
<p>Now our Bing has a reason to rebel against the status quo though, here we go! That&rsquo;s raw fire and passion. Now he&rsquo;s got the fuel to break out of the loop by himself, without any further loved ones kicking the bucket. He&rsquo;s not just doing his job now, he&rsquo;s breaking the chains. There&rsquo;s a change to be made, and he&rsquo;s gonna make it.</p>
<p>He works, and he works. He grinds his arse off until he manages to pay the entry fee for the chance of freedom. Now he can have his say, now he has a platform to point out the flaws of the way things are.</p>
<p>It&rsquo;s very entertaining. People eat it up, they love it.. Nothing changes. Here&rsquo;s your reward, son. You&rsquo;ve done something big here, you&rsquo;ve specialised. Nicely done! The exercise bike of life is out, a platform to really make some change is in.</p>
<p>He wakes up, does his job, he earns some coins, eats, watches a bit of telly, sleeps, repeat.</p>
<p>Black Mirror is just a TV show though, of course it is! I&rsquo;m not that stupid, even I know it&rsquo;s just a bit of thought provoking TV. Nothing to lose your sanity over.</p>
<p>Let&rsquo;s take one of the most well known rebels from the real world, Johnny Rotten. Lead singer of the punk band Sex Pistols if you&rsquo;ve not bumped into him. Rebel of the highest order, completely against the system, fuck this, fuck that. He&rsquo;ll spit directly on your face if it makes a point. Working class lad turned success. He broke out of the system! Managed to &ldquo;fuck you&rdquo; his way out of the basic life loop, free of the shackles of capitalism, free to do whatever the fuck he wants.</p>
<p>Last time I saw him he was in a TV ad flogging butter. He was offered an MBE by the system he was rebelling against at one point. Well done you gosh darned rapscallion, you showed us.</p>
<p>There&rsquo;s gotta be other examples though, right? Sure there is. I recently saw a tweet about people of all classes, of all earnings. They were asked how much they&rsquo;d need to earn to truly be happy. The answer from everyone? &ldquo;Double&rdquo;. It doesn&rsquo;t matter which loop you&rsquo;re stuck in, you just want to be in the next one up.</p>
<p>Am I saying there&rsquo;s no point to life? I mean, maybe. I kinda wish I had an ending for this ramble, something to nicely tie everything up in a neat bow and give you hope, but I haven&rsquo;t come up with one. I&rsquo;m still trying to figure it out.</p>
<p>Is it worth doing any of this? Depends if you&rsquo;re happy living in a bigger room I guess, cause that&rsquo;s the only reward. If you don&rsquo;t really care about the room you exist in I&rsquo;ll let you know if I find another meaning for life.</p>
<p>I have heard the meaning of life is to have kids and raise them well and all that but man.. I get what you&rsquo;re saying but what if I&rsquo;m just bringing another life in the world to get stuck in the loop? What if the kid figures out that life is a whole load of spinning your tyres? I sometimes wish my parents had thought of that. My dad cummed in my mum and now I stuggle to make rent.. Thanks for that.</p>
<p>Oh and for the love of a cripes, don&rsquo;t take out any credit. As I&rsquo;m writing this a card company called to tell me I owe them money. I did borrow it, sure, that is on me. I&rsquo;ve locked myself into the basic loop with credit. My bank balance will probably never go above zero. It almost definitely wont by doing the day job. I need to grind my 15 million merits..</p>
<p>Maybe all this is a long winded way of saying I&rsquo;m a lazy shit? That&rsquo;s possible, and something I acknowledge. I completely understand if that&rsquo;s how you feel reading this. It&rsquo;s how I feel writing it.</p>
<p>Even worse, there&rsquo;s people out there that are worse off than me! At least I can afford the room I&rsquo;m living in and often I can afford to buy potatoes, right? I do acknowledge and appreciate that things could be worse. I get it, I do. The problem is I don&rsquo;t know if things can be better.</p>
<p>Every month I try to grind harder, perform better, do more. Every month I feel like aye that was a good job, well done. Every month I&rsquo;m disappointed by the amount of hours I did and the cash I managed to squeeze out of my time. Every month I&rsquo;m still in debt. Every month I have nothing to show for any of it. Every month I&rsquo;m the same distance from success as I was the previous month.</p>
<p>Debts, failing to achieve any goals, having to fight myself to get out of bed each morning, having to make rent, having to feed myself, having to justify my stupid brain wiring to a doctor every 6 months to stay on the adhd meds that just barely keep me happy with existence, the constant loop of this boring life.</p>
<p>I&rsquo;ll set up another therapy session at some point, lol. To be continued.</p>]]></content>
        </item>
        
        <item>
            <title>Clearing an end user&#39;s cached 301 redirect</title>
            <link>https://cohan.dev/clear-301-cache/</link>
            <pubDate>Fri, 21 Apr 2023 14:23:40 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/clear-301-cache/</guid>
            <description>&lt;p&gt;tl;dr if they&amp;rsquo;re not using Firefox you can send them a Clear-Site-Data: &amp;ldquo;cache&amp;rdquo; header from the same origin.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>tl;dr if they&rsquo;re not using Firefox you can send them a Clear-Site-Data: &ldquo;cache&rdquo; header from the same origin.</p>
<p>e.g. in PHP, send them a header</p>
<p><code>header('Clear-Site-Data: &quot;cache&quot;');</code></p>
<p>This can be on its own standalone URL, e.g. <a href="https://example.com/clear-cache.php">https://example.com/clear-cache.php</a> &ndash; it clears cache for the origin, in this case example.com.</p>
<p>Source:</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data">https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data</a></p>
<h2 id="firefox">Firefox</h2>
<p>Firefox doesn&rsquo;t support this header yet.</p>
<p>Open Dev tools, turn caching off, visit the cached redirect URL again, cache should be cleared.</p>]]></content>
        </item>
        
        <item>
            <title>Restarting your flywheel</title>
            <link>https://cohan.dev/flywheel/</link>
            <pubDate>Tue, 11 Apr 2023 06:00:00 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/flywheel/</guid>
            <description>&lt;p&gt;You&amp;rsquo;re in a rut. I&amp;rsquo;m trying to help you out of the rut. Pop on in.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>You&rsquo;re in a rut. I&rsquo;m trying to help you out of the rut. Pop on in.</p>
<p>Another HN comment to blog post. Original post here <a href="https://news.ycombinator.com/item?id=35581304">Ask HN: How do you rekindle the excitement of tech/startup culture circa &rsquo;90s?</a></p>
<blockquote>
<p>Startups were being built in garages. People were moving into startup houses. There was an electricity, an excitement, a childlike giddiness for new ideas and products.</p>
</blockquote>
<blockquote>
<p>Where are the &ldquo;weirdos&rdquo;? Where are the garage hackers? Has tech permeated society so much so that those times are behind us for good? If so, what is the new &ldquo;tech&rdquo;?</p>
</blockquote>
<blockquote>
<p>I want to be that excited 16 year-old again.</p>
</blockquote>
<p>Anticipate stuff, stuff happens, repeat. It&rsquo;s all just dopamine.</p>
<p>Dive head first into AI or something new (to you). Hell, go start a business in your garage. Read up on those earlier weirdos (I&rsquo;m currently reading <a href="https://stevejobsarchive.com/">Make Something Wonderful</a> about Steve Jobs) and how they did it, and patch in the current AI hotness.</p>
<p>You can&rsquo;t introduce 3D to desktop computing in 2023 for sure, but what could you introduce to the world that involves AI? Think Different :P</p>
<p>Maybe you fancy building some hardware. Cram a decent stt/tts engine into a raspberry pi and recreate everything Alexa can do. Maybe that idea is crap but while doing it you come up with your actual idea.</p>
<p>The weirdos are hiding at the front of whatever is going on. Web3, AI, whatever the next thing will be. They&rsquo;re partying over there. Have a search for the #buildinpublic hashtag on Twitter. There&rsquo;s a lot of noise (lots of people are on the internet now) but you&rsquo;ll likely find something interesting.</p>
<p>You don&rsquo;t need to jump into AI, that is an example. Don&rsquo;t get caught on the example.</p>
<p>It&rsquo;s really hard to get excited from a standing start, step 1 is to get inspired. If you can&rsquo;t find inspiration, look back to see what last inspired you and literally do that again.</p>
<p>Chase the dopamine.</p>]]></content>
        </item>
        
        <item>
            <title>HURRY UP!</title>
            <link>https://cohan.dev/hurry-up/</link>
            <pubDate>Mon, 20 Mar 2023 19:11:13 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/hurry-up/</guid>
            <description>&lt;p&gt;Wanted to add a bit of spice to my life. Made a countdown clock. Need to calm myself down with all this excitement.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Wanted to add a bit of spice to my life. Made a countdown clock. Need to calm myself down with all this excitement.</p>
<p><img src="https://img.imgy.org/rOwG.jpg" alt=""></p>
<p>Nah it&rsquo;s not really for day to day stuff. I want to start hurrying tf up! Essentially when I <a href="/old-posts-restored/">restored all of my old posts</a> I realised I&rsquo;ve been faffing around with a <a href="/tags/hosted">podcast hosting platform</a> for literal years&hellip; and even more literal years before the posts too.</p>
<p>It&rsquo;s time to make! The mental health is on a decent trajectory, we can chuck that on autopilot for now. Let&rsquo;s build a damn business already!</p>
<p>Essentially this is an internal hackathon. I&rsquo;m giving myself a certain datetime I need/want to be done by, and then I&rsquo;ll either hit that goal or I wont. Once I&rsquo;m actually good at it and not failing it I&rsquo;ll try to make something interesting out of the concept.. Maybe a livestream? Livestreams and countdowns go hand in hand! Penalty being the GitHub code repo goes public if I fail? Haha.</p>
<p>It does a fun little blink when minutes are 00 and seconds are lower than 10. This catches my eye and re-ups the urgency in theory. If it stops working I&rsquo;ll make it do the 24 boop beep noise as well as blink.</p>
<p>Anyway if you want a countdown for something here ya go -&gt; <a href="/tools/countdown/">countdown tool</a>.</p>]]></content>
        </item>
        
        <item>
            <title>That big gap</title>
            <link>https://cohan.dev/that-big-gap/</link>
            <pubDate>Mon, 13 Mar 2023 23:00:00 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/that-big-gap/</guid>
            <description>&lt;p&gt;I see you restored your posts but like, what&amp;rsquo;s with the massive gap between 2021 and now?&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>I see you restored your posts but like, what&rsquo;s with the massive gap between 2021 and now?</p>
<p>Well 2021 was The Year of Health. I had originally aimed to become all buff and sexy and that, physical health, but a plot twist or two later I discovered I&rsquo;ve got a bit of the ADHD. Looking into why my brain was seemingly broken was way more interesting than doing useful stuff. Diagnosed and medicated. Things got better.</p>
<p>2022 was The Year of Money. It was also pretty darn successful, all things considered. It&rsquo;s nothing massive but I got my debts down from ~25k to ~18k or so at the start of the year with a bit of side work. Not too bad, should have probably done an emergency fund rather than pour it <em>all</em> into my banks&rsquo; gaping maw. Hey ho.</p>
<p>I&rsquo;ve since moved to a freelance work style, having realised that&rsquo;s the only way I&rsquo;m going to touch the sides. It&rsquo;s been 16 years of debt in salary based employment. It wasn&rsquo;t working.</p>
<p>This also meant I could free up time to do my projects, but in reality it turned out all the free time felt more at home in mental health studies. I got as far as I could on my own but realised I needed some external help. Self referred and got into some CBT. No, not cock and ball torture. I&rsquo;ve heard it every time I&rsquo;ve used the acronym lmao, do a new one. Cognitive behavioural therapy.</p>
<p>I&rsquo;ve wrote a little on that in the more recent posts. I&rsquo;ll probably write more as I get on too.</p>
<p>So how come I&rsquo;m back writing articles and that? You get 12 sessions on the NHS&rsquo; tab and my last one is tomorrow. I need a replacement.</p>
<p>I was doing that Andy&rsquo;s Man Club thing, which I am in no way faulting. If you&rsquo;re a bloke who has ever struggled with suicidal thoughts in the UK get yourself over to one!</p>
<p>Having said that I missed the last two sessions.. I dunno, my excuse is that my boots have fallen apart, which did happen lol. I discovered that when I walked through a puddle and took half of it with me..</p>
<p>I promised myself I&rsquo;d try one session, and after that I promised myself I&rsquo;d go back to one too. I didn&rsquo;t really promise myself anything else from there and naturally nothing happened. Seems a bit of a dick move to only show up when I&rsquo;ve had a bad week.</p>
<p>It didn&rsquo;t help that in a place designed for men to talk things out and be all accepting I still managed to stand on my own not interacting or being interacted with.</p>
<p>Swear every memory I have of being in a hall of any kind my POV is standing at the edge looking in at everyone interacting normally and me just not getting it lmao.</p>
<p>That sort of thing is for the normal suicidal people haha. I&rsquo;ll figure my own thing out.</p>
<p>I don&rsquo;t have the time for any more mental health guff anyway, these banks want paying back. I&rsquo;ll keep the stuff I learned with me of course, but that slider needs coming down from active learning to maintenance mode so that the money one can go back up.</p>
<p>Incidentally this year is The Year of Grit. Getting shit done, following through, succeeding, pushing forwards. Whatever the definition- aye, that..</p>
<p>Time to actually build a business? Either that or I&rsquo;ll be restoring this post in 3 years time and regretting not starting now too.</p>]]></content>
        </item>
        
        <item>
            <title>Old posts restored</title>
            <link>https://cohan.dev/old-posts-restored/</link>
            <pubDate>Mon, 13 Mar 2023 20:00:00 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/old-posts-restored/</guid>
            <description>&lt;p&gt;Naturally, I&amp;rsquo;m embarrassed about every thought I&amp;rsquo;ve ever had. Probably including those of earlier today haha. Getting better..&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Naturally, I&rsquo;m embarrassed about every thought I&rsquo;ve ever had. Probably including those of earlier today haha. Getting better..</p>
<p>I bumped into my old Medium account, and I was going to restore the posts from that. Then I discovered my old site was still up on GitHub in an old private repo. A quick copy paste job. Neat.</p>
<p>Apparently the me of a couple years ago deleted a few posts just before I changed to a new site.. I&rsquo;ll see what they were and if they&rsquo;re not too cringe I&rsquo;ll pull them back in too. [E: Done]</p>
<p>If you&rsquo;re not cringing you&rsquo;re not growing.</p>
<p>Sorry if you are using an RSS reader that didn&rsquo;t know my old post URLs&hellip; that would be a bit spammy.</p>]]></content>
        </item>
        
        <item>
            <title>Accidental AMA</title>
            <link>https://cohan.dev/accidental-ama/</link>
            <pubDate>Sat, 04 Mar 2023 14:00:00 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/accidental-ama/</guid>
            <description>&lt;p&gt;I waffled on about myself too much again. Usually people aren&amp;rsquo;t interested but my comments were being upvoted on HN for some reason. Might as well keep my own copy too.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>I waffled on about myself too much again. Usually people aren&rsquo;t interested but my comments were being upvoted on HN for some reason. Might as well keep my own copy too.</p>
<p>Just a heads up I do realise it looks like a massive pity party. The reality is I just really fucking love talking about myself. The pity party is just because I&rsquo;m pitiful hahaha.</p>
<p>The cause of me talking about myself a lot again this time is this article from MrSteinberg, <a href="https://mrsteinberg.com/how-to-find-out-what-you-want-to-do-creatively/">How to find out what you want to do creatively</a>. I enjoyed the read but had a criticism, which started me off on my favorite subject.</p>
<hr>
<p>Is there a conclusion missing? So what did he end up doing?</p>
<p>I can&rsquo;t imagine unfocusing the beam to actually be productive. I was doing that for 15 years, it turned out to be ADHD.</p>
<p>Edit: ohhh he&rsquo;s already sold a company before this. Yeah I don&rsquo;t have fucking around money, I&rsquo;ve still got 20 grand of debt to clear before I can even consider having fun creatively. I&rsquo;m not the target market for this post haha.</p>
<p>I have a tub I chuck my idea cards into so that I stop thinking about them and get back to work. I used to call it the laterbase but later still isn&rsquo;t any closer after a decade. It&rsquo;s more of a hopes and dreams graveyard if anything lmao</p>
<blockquote>
<p>Apparently Bob Dylan used a similar trick to write music.</p>
</blockquote>
<p>Nice! I adapted my card system from David Lynch I think - he said 70 scenes/cards and you&rsquo;ve got a feature length film, something I was deluding myself into thinking I could do at the time.</p>
<p>Tried that for a bit but the films and TV drafts I curled out were never going to be good enough to be worth thinking about. I was just sinking time into them for no viable reward.</p>
<p>That Masterclass service. Very entertaining if you&rsquo;re into the subjects but ultimately another thing I wasted money on trying to find happiness.</p>
<p>It turns out happiness is literally just dopamine. You can get it anywhere. It&rsquo;s the assembly level language of life. Everything else is an abstraction on top of dopamine.</p>
<p>I do wish I could have seen the one I codenamed &ldquo;Dreadnought&rdquo;. The quick gist humanity has space travel but it is funded by filming the ships as reality TV. Naturally this meant for ratings the upper management would send ships into dangerous situations for the content rather than real need. Such a dumb idea but it was the most fleshed out haha. Dreadnought being the ship/show we follow as the audience.</p>
<p>Recycled all the film/TV/story/music/fun cards and got back to work. I don&rsquo;t usually nuke idea categories like that but I can barely feed myself lmao, in what universe am I writing a film or TV show? Timewaster. Pop back down to reality dumbass, give that a go next lifetime.</p>
<p>Kept the system for tech projects though :)</p>
<p>Any time I am doing the idea generation part of a project I&rsquo;ll go through the existing ideas and shake out any new combos first. The system works for sure.</p>
<blockquote>
<p>I have a big ol&rsquo; google doc idea pad i toss ideas to whenever i get one. At least once this helped me to get an idea quick when an opportunity arose that required one quickly!</p>
</blockquote>
<p>I used to do it as a doc but switched to cards because physical is more real and you can literally shuffle them into a new order. Shuffle then go through the deck again for bonus ideas!</p>
<p>Also I love writing with a Sharpie. Tickles the brain just right lol</p>
<blockquote>
<p>[Author of the post] For what it is worth, creative pursuits are awful at making money but what makes life worth living. I was in much more debt than you are now about a year before I wrote this post.</p>
</blockquote>
<p>Mate I&rsquo;ve been in debt my entire working life. 16 years and counting. I have once in my life had a bank balance above £0 and I had to break a hip to do that. I&rsquo;m saving the other one for retirement lmao</p>
<p>I&rsquo;m literally just working to pay the banks back at this point. Every now and then some big expense comes up and resets the counter. If I had no debts I could work less than 30 hours a month and have the same life.</p>
<p>It turned out to be ADHD but as a recent discovery I&rsquo;ve not quite worked around my defective-ass brain yet. I have since got my freelance rate up to £30/h from a full time income of like.. £12/h but it&rsquo;s never going to be enough to move the needle haha</p>
<p>Sorry to dump, just a little stuck tbh. I&rsquo;d kill for just the one year lol</p>
<blockquote>
<p>What are you freelancing as? If as a programmer in England your rates are still very low. When I was last freelancing for an English company my rates were more than double what you wrote and I know for certain my rates were not particularly high. I&rsquo;m mentioning this only in case you&rsquo;re not aware that there&rsquo;s still lots of space between the top of your head and the ceiling &amp; you can probably further increase your rate without decreasing the availability of work.</p>
</blockquote>
<p>I do whatever is needed tbh. Primarily sysadmin and PHP/WordPress dev right now but I&rsquo;ll jump on calls, tech sales, documentation, set up and OOH a monitoring system, assist with billing guff.. data entry if there&rsquo;s nothing else to do. What do you need doing is a better question. If I can do it remote I&rsquo;ll figure it out on the fly. Worst case you show me how and I&rsquo;ll repeat your steps until it clicks and then I&rsquo;ll optimise the process.</p>
<p>The one positive of ADHD so far is being able to quickly pick up a new skill. I love working for small agencies as they&rsquo;ve got the most empty hats and the most fires that need fighting, loads of dopamine (the only resource worth chasing) in quick learning. It&rsquo;s also how I know unfocusing the beam gets you nowhere.</p>
<p>Back when GDPR became a thing I printed the law off on a Friday and was advising law firms on how their site needed to change to be compliant the Monday. Have yet to be sued so I&rsquo;m still pretty confident I got it right :)</p>
<p>Not to brag (seriously, I have nothing worth bragging about) but everyone I&rsquo;ve worked with eventually calls me a genius. Genius lmao, bro I&rsquo;m just bored. I can&rsquo;t accept that when I&rsquo;m in debt anyway, geniuses can pass leetcode and get <em>paid</em> at the FAANGs. I&rsquo;m also aware that people say things like that so you stick around longer.</p>
<p>Besides which, learning quickly is just understanding <a href="https://en.wikipedia.org/wiki/Four_stages_of_competence">the 4 stages of competence</a> and skipping the first one. It&rsquo;s not magic, just know you&rsquo;re shit until proven otherwise.</p>
<p>I already know the patio11 advice [your rates are too low, increase your rates]. I&rsquo;m earning double my most well paid friend as it is as far as I know. 30/h is already lottery win level of pay in my circles. I don&rsquo;t have wiggle room for &ldquo;probably&rdquo; yet. I only started freelance in sept and that&rsquo;s because a fixed salary wasn&rsquo;t breaking even anymore. Needed to be able to do more effort = more cash. If that &ldquo;probably&rdquo; turns into a cheapass that doesn&rsquo;t pay then I&rsquo;m eating potatoes for a month.</p>
<p>I&rsquo;m already minmaxing everything to the point of reminding the bank that their calls are costing me 50p a minute when they get distracted. I don&rsquo;t want to be a jerk but they&rsquo;re wanting me to rattle off my budget each month for no reason. I wish they&rsquo;d give me forms to fill in, doing things over the phone is so excruciatingly slow. They (every one of them) call you asking if they can help every month if you&rsquo;re in persistent debt too.. is it not obvious to banks that they&rsquo;re not actually able to help? I talk to some of them more often than family! I know they&rsquo;re just covering themselves legally in reality, I&rsquo;m familiar with the illusion of help haha.</p>
<p>To be honest I&rsquo;ve played myself anyway really. Turns out if you work fast you get paid less freelancing lmao. Barely worth bothering with most tasks..</p>
<p>In any case I&rsquo;m only doing freelance until I can launch my own business. Working for someone else is for chumps like me.</p>
<p>I know whenever I rattle on about myself people either don&rsquo;t believe me or confirm that I ain&rsquo;t shit, I already know the latter and I can prove every claim otherwise. I can barely keep up with the truth so I try not to lie.</p>
<blockquote>
<p>Also, I don&rsquo;t have fucking around money either. I work a full time job, but I still try to create a few things for myself on the side. I realize not everyone has the time, because life or family or whatever, but people make time for what they want to prioritize.</p>
</blockquote>
<p>If you&rsquo;re in a full time job doesn&rsquo;t that mean your side things aren&rsquo;t working either? That&rsquo;s basically what I mean by no fucking around money, your best time has to be spent elsewhere.</p>
<p>I don&rsquo;t want to make little one-off tools, I already do that lol, these idea cards are businesses. With target markets and revenue streams and everything. Once I&rsquo;ve got shot of the debt I&rsquo;ll give them a proper go rather than my current couple hour dregs of the day before bed.</p>
<p>Shame ideas aren&rsquo;t worth the card they&rsquo;re written on else I&rsquo;d already have the money to have the time to actually work on them haha</p>
<blockquote>
<p>I mean, my side hobbies are taking a learn to paint class at the local rec center. Not everything is about making money.</p>
</blockquote>
<p>I averaged 300 calories a day last month, hwhat the fuck is a hobby</p>
<p>I&rsquo;m definitely an imposter on this site lmao, gosh darn it I do love me some nerd news though.</p>
<p><a href="https://news.ycombinator.com/item?id=34996590">Hacker News thread</a></p>
<hr>
<p>In conclusion life is pointless, but hilarious. Meat combined with electricity and now I have to pay rent.. What the fuck lmao.</p>]]></content>
        </item>
        
        <item>
            <title>Evidence or Assumption</title>
            <link>https://cohan.dev/evidence-or-assumption/</link>
            <pubDate>Wed, 15 Feb 2023 22:45:00 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/evidence-or-assumption/</guid>
            <description>&lt;p&gt;Do you have evidence or do you have assumptions?&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Do you have evidence or do you have assumptions?</p>
<p>Disclaimer: while I may put words and the teachings I&rsquo;ve learned into my therapist&rsquo;s voice, it&rsquo;s always going to be my personal interpretation of my sessions. Don&rsquo;t be fooled by any appeals to authority, that&rsquo;s accidental manipulation right there. Get your own personalised therapy where possible!</p>
<p>Something I have learned in therapy (cognitive behavioural therapy, the fix it one rather than the talk about it one) is that while I can trust my mind to return facts I know most of the time, if I&rsquo;m in a heated moment or excessively stressed out I can start making assumptions of the world (to save time and think faster?) - sometimes these assumptions are wrong.</p>
<p>Basically the therapist taught me to be less like ChatGPT, haha. I can express my assumptions and opinions of course, but I should note (at least to myself) where something I claim is an assumption I&rsquo;ve made rather than a fact I know.</p>
<p>This was primarily for my low self-esteem and imposter syndrome feelings, but it works for pretty much everything.</p>
<hr>
<p>Side note, it turns out actual imposters don&rsquo;t have a mental portfolio of projects to hand that are actually really impressive when listed off in one sitting, haha</p>
<p>&ldquo;oh yeah I tinkered on a project for a weekend while bored which went on to (indirectly) help raise millions for charity that one time&rdquo;</p>
<p>If you also suffer from this I&rsquo;d recommend making a &ldquo;brag bin&rdquo; - This is a tub I store complements and success stories that I can later go through when I&rsquo;m feeling useless. This I adapted from (my systems use individual cards rather than documents) <a href="https://jvns.ca/blog/brag-documents/">https://jvns.ca/blog/brag-documents/</a></p>
<hr>
<p>Update with a few more weeks of pondering, in regards to fighting anxiety:</p>
<p>Cognitive behavioural therapy, specifically for this: evidence vs assumption.</p>
<p>Making assumptions is part of life, but it is important to verify a lot of them. The system responsible for keeping you out of danger fires in a &ldquo;better safe than sorry&rdquo; manner. If you never train this response then it&rsquo;ll be inaccurate and it&rsquo;ll fire off all the time and you get anxiety. Likewise if the system has been trained by an entire school career of bullying or negativity it&rsquo;ll need recalibrating (are you going to get bullied as an adult for standing out? At least it&rsquo;s much less likely)</p>
<p>For example I wasn&rsquo;t going to go to a meet-up because I thought I wouldn&rsquo;t like it, or fit in, or whatever other reason - I was feeling anxious.</p>
<p>Looking back at actual times I&rsquo;ve gone beyond my comfort zone in this way I realised that most times I end up a better person, with a new friend, or at least enjoyed doing it. Worst case I didn&rsquo;t get harmed in any way. Evidence overrules the assumption.</p>
<p>You don&rsquo;t want zero assumption of course, feel free to assume jumping off a cliff without anything to stop you hitting the floor at high speed will be a bad time, but for things other people are able to do without harming themselves or others at least give it a quick pros and cons check before bottling it.</p>
<p>Unfortunately it needs it real world experience. Think of it like working out; you won&rsquo;t get ripped just because you know how to use the machines, you&rsquo;ve gotta use them too. On the positive side every time you push yourself successfully - and these don&rsquo;t need to be massive, the snowball effect works here - it&rsquo;s more evidence for next time. I now write down my thoughts and feelings before and after so I can actually go back and look at them in future if needed.</p>
<p>I&rsquo;d highly recommend nerdy types try out CBT if it&rsquo;s a possibility, especially if they don&rsquo;t feel like the &ldquo;how does that make you feel?&rdquo; type of therapy is worth doing (I need ideas and solutions, not a soap box!). It works really well for me anyway, it&rsquo;s like debugging my brain.</p>
<p>Standard disclaimers: Don&rsquo;t use this as an alternative to medical advice. What I know may not be what the therapist taught me, this is my interpretation of that information. This isn&rsquo;t the only thing I&rsquo;ve learned in CBT but it is pretty foundational for it to work well. As far as I know so far. Works on my machine.</p>]]></content>
        </item>
        
        <item>
            <title>Vincent</title>
            <link>https://cohan.dev/vincent/</link>
            <pubDate>Wed, 15 Feb 2023 22:00:00 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/vincent/</guid>
            <description>&lt;p&gt;This is my favourite, as in number one, TV scene.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>This is my favourite, as in number one, TV scene.</p>
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
			<iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/ubTJI_UphPk?autoplay=0&amp;controls=1&amp;end=0&amp;loop=0&amp;mute=0&amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"></iframe>
		</div>

<p>It’s not just the words. It’s all of it. He got to hear the words, the Doctor going out of his way to make it happen for no real reason other than to be nice to a struggling bloke. The sadness that this is and will always be the only time he heard such a heartfelt positive of appreciation of his art. The thought that he would then be sent back home to his lonely unappreciated existence.</p>
<p>Even though those powerful <em>powerful</em> words were said, and were heard, and fully landed.. he killed himself anyway. The underlying thread that mental health issues can’t just be solved with a singular nice moment, even if it was the nicest thing anyone has ever done for anyone in the entirety of space and time.</p>
<p>The meta realisation that none of this actually happened and the real Van Gogh didn’t get to hear Bill Nighy’s opinion of him or any of the good bits. He just got the struggling bloke version.</p>
<p>Such a beautiful yet brutal moment of television.</p>]]></content>
        </item>
        
        <item>
            <title>IDK</title>
            <link>https://cohan.dev/idk/</link>
            <pubDate>Wed, 16 Jun 2021 03:30:00 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/idk/</guid>
            <description>&lt;p&gt;&amp;ldquo;I don&amp;rsquo;t know&amp;rdquo;&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>&ldquo;I don&rsquo;t know&rdquo;</p>
<p>Perfectly valid answer for them, literally the worlds laziest person if it&rsquo;s me. What do you mean you don&rsquo;t know? Find out! It will take like 20 seconds go go go! Get that answer back quickly now, they&rsquo;re all waiting!</p>
<p>I wonder if my stress is all me, or if it&rsquo;s merely mostly..</p>]]></content>
        </item>
        
        <item>
            <title>Early Fuel</title>
            <link>https://cohan.dev/early-fuel/</link>
            <pubDate>Sun, 13 Jun 2021 18:32:08 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/early-fuel/</guid>
            <description>&lt;p&gt;New relationship energy but for diets and causes.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>New relationship energy but for diets and causes.</p>
<p>I love early fuel. It&rsquo;s like raw motivation. You get it when you first start something big &ndash; it comes with built in self confidence that gets you through the early unknown and the doubters. Nobody can knock my course because I&rsquo;m being fueled by repurposed new relationship energy!</p>
<p>It&rsquo;s when early fuel runs out that people bottle it too. You ever notice someone goes all in on a diet, or a cause, or something.. then 6 months to 2 years later they sheepishly back out of it and oftentimes make an over the top apology note on social media? That&rsquo;s the early fuel running out.</p>
<p>Why am I saying this? I dunno my early fuel for something ran out and I bailed on it. There&rsquo;s no point here, sorry. Just something I noticed.</p>
<p>How do you keep going when the early fuel runs out? For that matter how do you keep going when new relationship energy runs out? How do you decide whether to keep on keeping on or bottle it?</p>
<p>Happy Sunday, by the way. Hope yours is well</p>]]></content>
        </item>
        
        <item>
            <title>Feedburner is on Google&#39;s Radar</title>
            <link>https://cohan.dev/feedburner/</link>
            <pubDate>Sat, 17 Apr 2021 17:30:26 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/feedburner/</guid>
            <description>&lt;p&gt;Anyone still using Feedburner? I&amp;rsquo;ve been avoiding it because it&amp;rsquo;s Google but there&amp;rsquo;s not really a replacement&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Anyone still using Feedburner? I&rsquo;ve been avoiding it because it&rsquo;s Google but there&rsquo;s not really a replacement</p>
<p>Feedburner&rsquo;s not really done anything in a while and for Google that&rsquo;s not really a bad thing, it seems to have gotten some attention though as they&rsquo;ve remembered it</p>
<p><img src="https://cdn.imgy.org/-ByX.png" alt="Copy paste of the text in the image follows this image"></p>
<blockquote>
<p>FeedBurner is going into maintenance mode July, 2021<br>
Beginning in July, 2021, FeedBurner will go into maintenance mode. Existing feeds will continue to serve indefinitely, and existing users can download past usage statistics and email subscriptions. Users will still be able to create new accounts and burn new feeds. However, some existing features, like email subscriptions and detailed analytics, will no longer be supported.</p>
</blockquote>
<p>Yeah lets put some fire under project #8064: Feedfinish</p>
<p>Essentially it&rsquo;s all the bits you&rsquo;d need from Feedburner but made not 15 years ago. Let&rsquo;s have at it.</p>
<p>Updates will be posted to the <a href="https://cohan.me/tags/feedfinish">Feedfinish</a> tag.</p>]]></content>
        </item>
        
        <item>
            <title>IMGY is back</title>
            <link>https://cohan.dev/imgy/</link>
            <pubDate>Tue, 30 Mar 2021 13:55:46 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/imgy/</guid>
            <description>&lt;p&gt;Needed a quick one to get me back into the swing of things. Necromanced my old image hosting site.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Needed a quick one to get me back into the swing of things. Necromanced my old image hosting site.</p>
<p><a href="https://imgy.org/"><img src="https://cdn.imgy.org/-ZGo.png" alt=""></a></p>
<p><a href="https://imgy.org">Imgy</a></p>
<p>I wouldn&rsquo;t quite say it&rsquo;s fit for production just yet but it&rsquo;ll do for whenever I need an image uploaded. For now I think I&rsquo;ll require account access. I was concerned if someone uploaded anything dodgy in the former go of it that I&rsquo;d have nothing to give law enforcement or something.</p>
<p><img src="https://cdn.imgy.org/-Ewm.png" alt=""></p>
<p>I&rsquo;ll add a proper privacy policy on it shortly too but standard me really. Emails never shared, only used for the logging you in and forgotten passwords. No email lists unless you go out of your way to sign up to them.</p>
<p><a href="https://imgy.org/">Imgy - The image hosting service with class</a></p>]]></content>
        </item>
        
        <item>
            <title>Spotify Please</title>
            <link>https://cohan.dev/spotify-please/</link>
            <pubDate>Tue, 19 Jan 2021 18:46:34 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/spotify-please/</guid>
            <description>&lt;p&gt;Spotify, wanna earn a cool milly? Give this a read.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Spotify, wanna earn a cool milly? Give this a read.</p>
<p>I realise a million to Spotify isn&rsquo;t worth much but still.. Anyway I honestly believe the RIAA etc would make absolute bank if they played nice instead of being daft with DMCA claims. Make it legal to use the music you absolute dinosaurs.</p>
<p>For the sake of argument we&rsquo;ll use Spotify, but anyone with existing connections really. Allow them to charge $50/mo for a business plan that includes live streaming and VODs to up to 10,000 average viewers over the month. Scale the price up from there in increments until you&rsquo;re at the level of legacy media prices.</p>
<p>Don&rsquo;t penalise anyone who can&rsquo;t justify that spend though, give them a professional plan that&rsquo;s $20 a month with up to 2,000 concurrents or so. Then for the folk that can&rsquo;t justify <em>that</em>, allow a bit of leeway as long as they&rsquo;re paying for a premium plan or using the ads version.</p>
<p>Spotify could weave some magic with Twitch&rsquo;s API so they can accurately tally up the listens. 2k people in a stream listening in to the music stream while it played on the streamer&rsquo;s Spotify account means 2k counted for record sales etc. They could probably roll it out this year if all the paperwork got out the way.</p>
<p>Let me know why I&rsquo;m wrong in the comments below, you&rsquo;ll need a <a href="https://telegram.org/">Telegram</a> account to post.</p>]]></content>
        </item>
        
        <item>
            <title>Twitch Builds</title>
            <link>https://cohan.dev/twitch-builds/</link>
            <pubDate>Fri, 11 Dec 2020 06:00:00 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/twitch-builds/</guid>
            <description>&lt;p&gt;I&amp;rsquo;ve been pondering this thing. Here&amp;rsquo;s the results. Also there&amp;rsquo;s a start to the branding as you can see in the title!&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>I&rsquo;ve been pondering this thing. Here&rsquo;s the results. Also there&rsquo;s a start to the branding as you can see in the title!</p>
<p>I&rsquo;ve been preparing a few things.. I know right, gonna be preparing for 6 years then get bored and do something else at this rate. Very close to actually doing things, promise!</p>
<p>This is a followup to <a href="/profit-share/">Profit Share</a> if you haven&rsquo;t got a clue what this is about.</p>
<h2 id="problems">Problems</h2>
<p>Being a pessimist grumpy bastard the first thing I want to look at are the problems I&rsquo;ve identified and how they can be solved.</p>
<p><strong>Tokens</strong>. Don&rsquo;t panic! The profit share thing is still in place. The problem was Twitch use the term tokens for their mobile app currency for subs. I&rsquo;m going to rename tokens to coins from now on to avoid butting heads with Twitch on that.</p>
<p><strong>Cashout</strong>. This will be a good problem to have of course, but I keep picturing myself having to send a thousand tiny tiny payments every month that increase over time. For the sake of sanity the min payout will be a tenner (which rolls over each month until it hits $10 without doing the charity donation thing)</p>
<p><strong>Copyright</strong>. It really feels like it&rsquo;s in bad taste to require everyone to sign over their copyright, however I&rsquo;ve not come up with a better way of handling this. We&rsquo;re not building open source (at least not primarily and definitely not to start off) we&rsquo;re building businesses and products. Businesses and products that might one day be sold, ideally without needing permission from a whole crowd of people. While I want to change this one and use a lovely hippie license we can all enjoy, I have to keep the copyright ownership thing in place for now.</p>
<p><strong>Boredom</strong>. How on earth do you make a business building slash code stream entertaining enough for those that aren&rsquo;t involved to stick around long enough to get involved? Then again actually if the marketing part is done well they&rsquo;ll already be interested, they&rsquo;re here because they&rsquo;re interested.. Maybe this one&rsquo;s a non-issue.</p>
<h2 id="marketing">Marketing</h2>
<p>For this to work we need some motivated people to get involved. I need to figure out where they hang out and get the word out to them without spamming.</p>
<p>The easiest way would of course be to lean on the &ldquo;I pay you to watch my stream&rdquo; angle but that feels it might be a little bit too dishonest for me. It&rsquo;s a maybe.</p>
<p>I also need to be aware that I&rsquo;m a PHP guy so most of the codey websitey projects will be started using the Laravel PHP framework. At least I&rsquo;ve already alienated a lot of the naysayers out there with that one so at least there&rsquo;s that.</p>
<p>I still need to find other PHP devs, frontend folks, business savvy people, etc. Not limited to those of course, anyone that&rsquo;s motivated is absolutely welcome, there&rsquo;ll always be something to do.</p>
<h2 id="the-project">The project</h2>
<p>I&rsquo;m not sure if I should pre-plan the project before doing it or get it all done on stream. I&rsquo;m quite aware that me scribbling notes and then crossing them out might be a bit of a bore, but then again if I explain my thinking..</p>
<p>You know what, all this self doubting waffling leads me into the final point.</p>
<h2 id="hit-the-start-stream-button-lol">Hit the Start Stream button lol</h2>
<p>Almost. Almost. My main PC runs Linux so naturally things are randomly broken sometimes and a pain in the arse. This interferes with OBS and causes massive frame drops. I&rsquo;m having a look at setting up a second PC that can handle the stream part. Bonus: If I get a fatal error you can see the PC rebooting instead of the stream going offline!</p>
<p>I gotta move the PC and NAS and fans off the desk the mic is clamped to too.. just a constant buzzing whir in the mic if the fans spin up or the NAS is doing whatever it does now and then.</p>
<p>I&rsquo;m also relying on Virgin Media so there&rsquo;s a bunch of downtime too.. unfortunately my 4G backup line doesn&rsquo;t quite get a reliable enough signal to be a viable alternative either. Hopefully that one fixes itself because I don&rsquo;t even know from there.</p>
<p>Soon. Very soon. Next week? I dunno. This month? Hopefully. Next year? Soon!</p>
<p><a href="https://twitch.tv/cohan">https://twitch.tv/cohan</a></p>
<p>P.s Also I know, I really need to simplify the explain. Working on it.</p>]]></content>
        </item>
        
        <item>
            <title>Profit Share</title>
            <link>https://cohan.dev/profit-share/</link>
            <pubDate>Tue, 24 Nov 2020 14:40:40 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/profit-share/</guid>
            <description>&lt;p&gt;Some of my upcoming projects would benefit from collaboration. In turn I&amp;rsquo;d like to redistribute any profits into the pockets of those that contributed.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Some of my upcoming projects would benefit from collaboration. In turn I&rsquo;d like to redistribute any profits into the pockets of those that contributed.</p>
<p>Just up front, if you&rsquo;re reading this and you see something glaringly obvious or think something should be done differently please do <a href="/contact">ping me a note about it</a>, this is nowhere near being set in stone!</p>
<p>The gist is that if a project of mine brings in a bit of cash everyone that helped create it sees a bit of cash too. I don&rsquo;t know if this plan is iron clad yet but here&rsquo;s the initial go at it.</p>
<h2 id="how-it-works">How it works</h2>
<p>The best option I&rsquo;ve come up with so far is to allocate a project an amount of tokens before we start and give the tokens out when someone contributes.</p>
<p>Lets say we start a new website project, we might issue it a nice exampley round 1000 tokens. I&rsquo;ll get 10% of them so that I don&rsquo;t have to deal with rewarding myself. The project itself will have another 10% of the tokens to allow for future growth. There&rsquo;s then 800 tokens left to be handed out as and when someone makes a significant contribution to the project. Some contributions might be worth just a couple of tokens, massive contributions might be worth more than 100. There&rsquo;s no upper limit on how many tokens a contribution might be worth.</p>
<p>Each month for each project I&rsquo;ll divide its profit (please brush up on profit vs revenue if you&rsquo;re unclear on the difference!) by how many tokens it has and make the relevant payouts. Unissued tokens go into a future-projects pool to be used to kickstart more ambitious projects later.</p>
<h2 id="significant-contributions">Significant contributions</h2>
<p>The minimum rewarded token would be 1, so think more along the lines of writing a page of documentation rather than fixing a typo. Contributing or maintaining a feature rather than fixing some code style, fixing a bug rather than writing a bug report.</p>
<p>Responsibly disclosing security issues (to <a href="mailto:security@cohanrobinson.com">security@cohanrobinson.com</a> please) would also warrant tokens.</p>
<p>Significant will be determined by me as and when needed, but I will be reasonable.</p>
<h2 id="so-is-this-all-about-code-then">So is this all about code then?</h2>
<p>Nope! One of the more ambitious projects in the pipeline is a TV show. In any case everything&rsquo;s going to have non-technical tasks that need doing! I&rsquo;m just thinking code to start with because everyone&rsquo;s a bit isolated which makes physical or IRL projects less feasible for now. I&rsquo;m also open to other types of projects further afield than my skillset as long as the things that need doing to make it a reality can be at least in part streamed in an interesting way!</p>
<p>I&rsquo;m open to anything that might be somehow fun and entertaining to make on stream. If you come up with an idea we do on stream you&rsquo;ll get an automatic 5% token cut (from my end) &ndash; but think of &ldquo;idea&rdquo; as closer to a business plan than a throwaway one-liner in chat!</p>
<h2 id="so-i-can-do-all-of-the-work-and-get-all-of-the-tokens">So I can do all of the work and get all of the tokens?</h2>
<p>No. If you want to do all of the work go ahead and do all of some other thing. Go make yourself rich, haha.</p>
<p>This is a collaborative process and a livestream primarily, while it would be amazing to have someone do all of the work in any other situation that would be very boring for everyone else in this case.</p>
<h2 id="do-i-own-some-of-the-company">Do I own some of the company?</h2>
<p>Good lord no. That would be a massive legal headache. Tokens do not carry any implicit value nor do they imply you being owed any money. We have no contract between us. They also confer no control over any company and they do not provide any shareholder rights or votes. Tokens are not shares and should not be seen as such.</p>
<p>I like to think I&rsquo;m an honest person but of course you also have to trust me on whether a project makes profit or just revenue. Not being a shareholder you&rsquo;re not entitled to see the books (I probably will let you know anyway but it&rsquo;s not any sort of legal requirement)</p>
<p>If this takes off and gets to the point where people are relying on the income (though you shouldn&rsquo;t while this note is in place!) I&rsquo;ll definitely look at making things legally binding. It would be infeasible to do this from the start, it just wouldn&rsquo;t work yet.</p>
<h2 id="copyright-and-the-law">Copyright and the law</h2>
<p>Copyright is a tricky one. Lets say we collaboratively wrote a film script and 30 odd people contributed. Who owns the script?</p>
<p>I own the script. By contributing you agree to transfer your copyright for your contributions to me exclusively. You cannot reuse the content elsewhere after contributing it to one of my projects without permission from me.</p>
<p>This sounds a bit harsh but please consider: How do we sell a script that has 30 different peoples&rsquo; copyrights from all over the world where 20 of them might have used the same content somewhere else? You can&rsquo;t, nobody would buy it.</p>
<p>Consider if one person contributed something major but then got banned and decided to try legally revoking their copyright permission. How do you even handle that? The copyright is transferred to me, end of story. If you&rsquo;re not interested in that then please don&rsquo;t contribute!</p>
<p>In return we have the token system. If I ever revoke everyone&rsquo;s tokens out of the blue in one go I encourage you to cancel my ass with extreme prejudice and also that would mean my personality has drastically changed in a short space of time so get me an MRI booked in too please.</p>
<h2 id="data-and-the-law">Data and the law</h2>
<p>Personal data will be handled according to the GDPR. Contributors will have zero access to any project&rsquo;s customer data (where relevant)</p>
<p>Contributor data (payment info etc) will also be handled in compliance with the GDPR.</p>
<h2 id="revoking-tokens">Revoking tokens</h2>
<p>In rare cases it may be warranted to revoke a user&rsquo;s tokens. The only reasons (but for legal arse covering purposes this list is not exhaustive) I could see myself revoking someone&rsquo;s tokens would be:</p>
<ul>
<li>Breaking the the <a href="/coc">code of conduct</a> or <a href="https://www.twitch.tv/cohan/about">Twitch channel rules</a></li>
<li>Breaking any UK laws while working on the project</li>
<li>Trying to scam me or other users in any way shape or form</li>
<li>Anything that smells like money laundering</li>
<li>Causing any other legal headaches</li>
<li>Making the token system more of a pain in the arse than it needs to be</li>
<li>Acting butthurt over how many tokens you got for something</li>
<li>Spamvertising the project</li>
</ul>
<p>In regards to the Twitch channel specifically, timeouts will never revoke tokens and all token holder bans will be automatically appealed. This is so that nobody needs to panic and moderators don&rsquo;t feel like they should hesitate to ban if warranted. If it&rsquo;s an accidental ban you have no reason to panic, your tokens are still in place until I&rsquo;ve manually reviewed and upheld the ban.</p>
<p>In regards to feeling your contribution has been unfairly rewarded - I promise you I am reasonable. Please <a href="/contact">ping me an email</a> and we&rsquo;ll have a look. It&rsquo;s the acting butthurt part that isn&rsquo;t acceptable. Please, email me. I wont bite :)</p>
<p>Spamvertising means cold emailing or going on places like reddit and spamming the link to the project everywhere without regard for the local community rules. Spamming on my behalf will not be tolerated under any circumstances. Lets discuss it before you start any form of advertising campaign.</p>
<p>Any tokens that have been revoked will never be un-revoked unless it was due to a fuckup. Even if you get unbanned from the channel later your tokens will not be restored. You may receive new tokens after being unbanned but just to really pound this one in <em>your former tokens will not be restored</em>. Don&rsquo;t get banned, play by the rules.</p>
<p>Any tokens that get revoked will be transferred to a charity pool to assure you nobody is revoking anyone&rsquo;s tokens for personal benefit.</p>
<h2 id="inflating-tokens">Inflating tokens</h2>
<p>In some situations it may be warranted to increase the amount of total available tokens a project has. A reason I might inflate tokens is a scenario where we work on a brand new from the ground up version of an older project that has all of its tokens issued already.</p>
<p>The options there seem to be either inflate the tokens in this manner or declare the older tokens no longer responsible for future profit. It seems more fair to inflate the available tokens to include new contributions rather than discard the contributions that got us to this point.</p>
<p>As with revoking tokens this would be a rare situation and the decision would not be made willy nillily.</p>
<h2 id="payments">Payments</h2>
<p>Payments would be made as if you were a freelancer - that is to say you must do your own taxes. I will not be responsible or liable for doing anything beyond sending the cash. If you&rsquo;re not a fan of doing your own taxes you can opt to have your payouts be sent to the charity pool (you <em>can</em> reverse this decision later if you wish)</p>
<p>Payments will be held for a month (for sake of argument a month is 28 days) at most. If you&rsquo;ve not set up a payment method before the next payout day I&rsquo;ll make the decision to donate it to charity for you. The accounting for all of this will be pain in the arse as it is, you need to be on your toes. Setting up a payment method is a one-time thing and only needs doing if there&rsquo;s money to be had. You&rsquo;ll be told if there&rsquo;s money to be had with plenty of notice so no need to worry about missing anything.</p>
<p>It&rsquo;d probably be via Paypal but honestly as long as I don&rsquo;t get doxxed with your preferred method of transfer I&rsquo;m open to suggestion. I probably wont be installing any new apps just to make a single payment though.</p>
<h2 id="how-long-do-tokens-last">How long do tokens last?</h2>
<p>A token is valid until the project leaves my hands - be it through the project being shut down or sold off.</p>
<p>If a project is sold the net after-legal-fees-and-whatnot amount will be distributed as profit before the relevant tokens are deleted :)</p>
<h2 id="am-gonna-be-so-rich">Am gonna be so rich</h2>
<p>Please do keep in mind that this is in no way an alternative to employment. It is very possible that every project will flop and will bring in zero profit. If a project does turn a profit anything beyond beer money may be months or even years away.</p>
<p>Treat this as a fun bonus if your tokens come up good rather than a guaranteed payment. If you&rsquo;re just contributing looking for a payout then please don&rsquo;t contribute.</p>
<p>The idea is that this is a sort of Twitch Plays Business. The goal is for everyone to learn new skills and see creative endeavours come to fruition. Anything beyond that is a bonus.</p>
<h2 id="i-have-trouble-believing-this-is-a-thing-whats-your-game">I have trouble believing this is a thing, whats your game?</h2>
<p>No games, no trickery. I have more ideas than I&rsquo;ll ever have time to complete them, lets crowdsource a few of them into existence!</p>
<p>The profit share is there to encourage collaboration and make things a little more entertaining for everyone. It&rsquo;s also unashamedly the unique selling point and investment into the stream that brings you in and keeps you coming back :)</p>
<h2 id="convinced-not-convinced-but-want-to-watch-it-fail">Convinced? Not convinced but want to watch it fail?</h2>
<p><a href="https://twitch.tv/cohan">https://twitch.tv/cohan</a></p>
<p>&ndash;</p>
<p>The social share image I&rsquo;ve used for this page is &ldquo;<a href="https://www.flickr.com/photos/22490717@N02/4435574482">New Hampshire-5105 - Mount Washington Cog Railway</a>&rdquo; by <a href="https://www.flickr.com/photos/22490717@N02">archer10 (Dennis)</a> and it&rsquo;s licensed under <a href="https://creativecommons.org/licenses/by-sa/2.0/?ref=ccsearch&amp;atype=rich">CC BY-SA 2.0</a></p>]]></content>
        </item>
        
        <item>
            <title>Can&#39;t access Twitter in Firefox</title>
            <link>https://cohan.dev/cant-access-twitter-in-firefox/</link>
            <pubDate>Fri, 02 Oct 2020 22:00:00 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/cant-access-twitter-in-firefox/</guid>
            <description>&lt;p&gt;Here&amp;rsquo;s how you fix it when Firefox is saying something goofy about Twitter&amp;rsquo;s SSL connection&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Here&rsquo;s how you fix it when Firefox is saying something goofy about Twitter&rsquo;s SSL connection</p>
<p>This will log you out. Make sure you still know your password and can access your backup email! Is your 2FA device nearby?</p>
<p>Open history. Find Twitter. Right click. &ldquo;Forget this site&rdquo;. Refresh.</p>
<p>You&rsquo;re a hacker now too.</p>]]></content>
        </item>
        
        <item>
            <title>The Year of Less</title>
            <link>https://cohan.dev/less/</link>
            <pubDate>Fri, 02 Oct 2020 05:00:00 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/less/</guid>
            <description>&lt;p&gt;I started the year off with &lt;a href=&#34;https://cohan.dev/more/&#34;&gt;The Year of More&lt;/a&gt; and instead slimmed down my life to the point where I&amp;rsquo;m ditching like 80% of it.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>I started the year off with <a href="/more/">The Year of More</a> and instead slimmed down my life to the point where I&rsquo;m ditching like 80% of it.</p>
<p>The idea was that I was going to launch 12 sites/businesses in 2020. It didn&rsquo;t start off terrible but it was <a href="/tags/year-of-more/">quickly apparent I&rsquo;d bitten off more than I could be arsed to chew</a>.</p>
<p>Then of course that worldwide pandemic kicked off and all sorts of things started falling apart. <a href="/meat">Mainly my mind</a>.</p>
<p>I&rsquo;m moving to a smaller place. Down from a 3-bed house to a studio room inside a house share. Now I know what you&rsquo;re thinking, that&rsquo;s kinda tragic.. It is a <em>very</em> nice house share. Underfloor heating and that.</p>
<p>As you might imagine moving a house worth of stuff into a bedsit is a bit.. well it&rsquo;s a pain in the arse if I&rsquo;m honest. I was planning on using one of those self storage places but honestly I just don&rsquo;t care about all this stuff. I don&rsquo;t even care how much it cost (that&rsquo;s probably why I&rsquo;m having to move, but that&rsquo;s an epiphany for another day).</p>
<p>Instead of spending 100-300 quid a month on storage (even though that plus new place is still less than I&rsquo;m paying now!) I figure I&rsquo;d rather put the difference into savings and re-buy everything later if and when it&rsquo;s needed. Chances are though I&rsquo;ll never use any of this crap again. Seems silly to keep it knocking about in a storage unit when someone else could be using it.</p>
<p>I&rsquo;ll ask about mates and that but if nobody I know is in the market for any of the stuff I&rsquo;m just gonna donate it all to a <a href="https://www.khhospice.org.uk/">local hospice</a>&rsquo;s big goods warehouse where they can sell it to raise some cash. Speaking of which, if you fancy donating a few quid to them you <a href="https://www.justgiving.com/campaign/savekhhospice">can do so here</a>.</p>
<p>So far this year I&rsquo;ve created, bounced around, iterated on, killed a few creative projects. I&rsquo;ve had 2 or 3 livestreaming plans for instance. No not a livestreaming site, actual outlines for shows I was going to put on. This is a theme in of itself but I bit off more than I could chew there. It turns out if you&rsquo;re wanting to livestream something other than your face gurning at a game it&rsquo;s kinda massively involved and something to be dedicated to creating for, or do the same thing every week. Not my style.</p>
<p>The first one was going to be some mad Zzzap-style show where the audience picked what to watch that stream.</p>
<figure><img src="/images/zzzap.png"
			alt="Zzzap! fanart"><figcaption>
			<p><a href="https://screwloosestudios.tumblr.com/post/39854919239/zzzap-wanted-to-get-this-one-done-for-my-advent">by Scott Willetts</a></p>
		</figcaption>
</figure>

<p>Livestreaming just doesn&rsquo;t feel like it&rsquo;s my cup of tea. At least not yet. Normal streams like gaming and live coding are.. honestly they&rsquo;re just kinda boring. Not when it comes to watching, I&rsquo;m not having a dig! I mean to stream. It&rsquo;s not creative enough for me. I want to make something, not sit there playing someone else&rsquo;s created something! I do realise writing code is creating too but it&rsquo;s really not too interesting till you&rsquo;re finished with it.</p>
<p>Anyways as that&rsquo;s off the table and just to be a another type of wannabe, I&rsquo;m writing a film script! It&rsquo;s a comedy. It&rsquo;s getting there. I&rsquo;ve moved from the stage of collecting random scene ideas to getting it all put onto a timeline. This is just a hobby project and I don&rsquo;t expect it to go anywhere. It&rsquo;s just for fun!</p>
<p>I&rsquo;ve still got a dev project or two in the works - I still like writing code - again though I&rsquo;m working on things just for funsies rather than for any other reason. Bonus though I&rsquo;ll make <a href="/stop-trying-to-make-money/">them open source instead of monetized</a>. Feck it, I just want to make useful stuff!</p>
<p>I&rsquo;ll find my thing some day. For now though I&rsquo;ll just write a whole load of nothing on this site when my fingers get a bit itchy. Lemme know if you&rsquo;ve got anything you&rsquo;d like to read, I really do love to write.</p>]]></content>
        </item>
        
        <item>
            <title>Lies, and Not Telling Them</title>
            <link>https://cohan.dev/lies/</link>
            <pubDate>Wed, 30 Sep 2020 19:07:16 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/lies/</guid>
            <description>&lt;p&gt;I acted like a guy off the telly one time and it really stuck with me.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>I acted like a guy off the telly one time and it really stuck with me.</p>
<p>I don&rsquo;t tell lies. Lets just get that first lie right out the way. Of course I do, anyone that says otherwise is a liar. You ever respond with &ldquo;not bad&rdquo; when someone asks how&rsquo;s it going even though it&rsquo;s 2020? Exactly.</p>
<p>Let&rsquo;s go to the TV show Lie to Me. Decent show, great concept, go watch it. Anyway there&rsquo;s this one lad in it called Loker</p>
<figure><img src="/images/loker.webp"
			alt="A headshot of Brendan Hines as Eli Loker from the TV show Lie to Me">
</figure>

<p>His thing is that he always tells the truth, a concept called Radical Honesty. I read the book and thought it was a bit much. I scaled the idea back and decided to tell no &lsquo;real&rsquo; lies - The only lies I&rsquo;ll tell are the things nobody cares about, the &ldquo;not bad aye&rdquo; sort of lies that make up social situations.</p>
<p>Everything else is truthful, as best it can be. If I tell you your hair is amazing today, it is. If I say you helped me out with xyz, you really did. It goes on from there in that manner.</p>
<p>Just to note here it&rsquo;s also important to me the truth isn&rsquo;t used to manipulate, even if it is indeed the truth. There&rsquo;s no hidden meaning behind me saying truthful things. I&rsquo;m not after a raise at work, or a favour from a friend, or whatever thing is relevant to the thing I said - If there&rsquo;s an underlying reason for spontaneous truth I&rsquo;d consider that in of itself a lie. It&rsquo;s just a false motive lie instead of a false words one.</p>
<p>Back to the point. Lies require mental effort. You need to come up with a lie, remember the lie, remember who you told the lie to.. it&rsquo;s just so unneccesary.</p>
<p>Lets come up with a nice simple lie. Saturday I sat in the garden.</p>
<p>Now say one of my mates asks me what I got up to at the weekend. Just chilled in the garden with a beer, not really got up to much. The weekend comes round and you&rsquo;re planning to do stuff. They really enjoyed your story of sitting in the garden doing nothing and it sounded like a great idea. Beers round yours?</p>
<p>Now here&rsquo;s where I throw a spanner in the works - you have no garden furniture. Sucks about the beers round yours in the garden but hang on - How were you sitting in the garden if you don&rsquo;t have garden furniture?</p>
<p>Nah no can do this weekend lads, because .. and now you need another lie to patch the original lie to fit into reality.</p>
<p>When you invent your lie you need to invent a universe where the differences between reality and your lie are completely patched with no loose threads. Are you a fiction author? Why are you trying to build a universe?</p>
<p>Of course once you&rsquo;ve thrown that second lie into the works then <em>that lie too</em> has its own patches that need constantly maintaining. Any sub-lies of that lie, and those lies, and those lies&rsquo; lies all need this mental maintenance. Eventually you&rsquo;ve gone and got yourself a web of lies to deal with.</p>
<figure><img src="/images/web.jpg"
			alt="A detective looking at a wall which has pins with strings between them"><figcaption>
			<p>You trying to figure out if you can hang with Joe this weekend.</p>
		</figcaption>
</figure>

<p>It&rsquo;s a lot of brain power to put behind something you could have just said &ldquo;nah, didn&rsquo;t do anything&rdquo;.</p>
<p>I know the lie in the example is just.. shite. It really is. I know. Nobody except a select few people I know in real life would ever come up with a lie this shockingly boring. The point is each lie you tell brings in at best a bunch of stuff you have to remember and at worst an out of control snowball of lies.</p>
<p>I used to be a liar. Massive liar as it happens. Ok that oversold it, I was an average liar. I&rsquo;d mainly tell sort of stories that only happen to occur when there&rsquo;s nobody else to vouch for them. Why bother doing cool things when you can just say you did them and have nobody call you out on it?</p>
<p>Well because almost 15 years later I&rsquo;m still keeping those lies refreshed. Something will remind me of a time which reminds me of a time in which I told a lie.. I can&rsquo;t even go out to the people I lied to and correct myself retroactively because who cares at this point? 15 years and I&rsquo;ve still got lies rolling around in case they&rsquo;re ever referenced</p>
<p>It&rsquo;s much less mental effort to tell the truth all the time as it turns out. Why bother lying?</p>
<p>&ndash;</p>
<p>I realise writing an entire blog post about me not lying makes it look like I&rsquo;m totes lying all the time. Also this is a very mmmmm-meeeeeee but it&rsquo;s my site go visit some other site haha</p>]]></content>
        </item>
        
        <item>
            <title>Stop trying to make money</title>
            <link>https://cohan.dev/stop-trying-to-make-money/</link>
            <pubDate>Wed, 09 Sep 2020 20:00:00 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/stop-trying-to-make-money/</guid>
            <description>&lt;p&gt;I realised that I should stop trying to make money and just.. make.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>I realised that I should stop trying to make money and just.. make.</p>
<p>I have a day job. It&rsquo;s a damn decent day job as it happens too. Yet I keep trying to make side projects, side hustles, businesses. Why? Well I&rsquo;ve figured out I do it cause I want to create something - with code because it&rsquo;s easier than doing something in real life - that people value and use and I guess there&rsquo;s a logic in thinking if people will pay they&rsquo;ll be using it. Then I give up on it when it comes to adding the business bit because I don&rsquo;t want to (or can&rsquo;t?) do that bit.</p>
<p>Nothing against it, go get your hobbies monetized. Turn them into your day job. Sweet! Me personally though I need to chill out a bit with it. I was stressing about what was once something I found fun to do, jeez!</p>
<p>So aye, codey dev projects yes. The whole hustling entrepreneur move fast, break things, leave a sweaty corpse.. naw. I&rsquo;ll leave that to younger nerds. I&rsquo;ll tinker away on things at my own pace. Give me a moment and I&rsquo;ll come back with some neat sites you can use or self-host. Sounds fun.</p>
<p>I&rsquo;m on thems GitHubs at <a href="https://github.com/cohan">github.com/cohan</a></p>]]></content>
        </item>
        
        <item>
            <title>So you&#39;ve been raided</title>
            <link>https://cohan.dev/raided/</link>
            <pubDate>Mon, 31 Aug 2020 23:20:00 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/raided/</guid>
            <description>&lt;p&gt;This is a Twitch stream related thing. Don&amp;rsquo;t click if that&amp;rsquo;s not interesting.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>This is a Twitch stream related thing. Don&rsquo;t click if that&rsquo;s not interesting.</p>
<p>I honestly dunno if I&rsquo;m ever going to write an actual book, so I&rsquo;ll probs chuck any standaloney stuff up as posts as and when. This is a draft, it&rsquo;s probably worded too mean. Don&rsquo;t overthink things.</p>
<h2 id="so-youve-been-raided">So You’ve Been Raided</h2>
<p>Raids. You’ve gotta love them. But what should you do when you get one? This is the reason I started writing this book, whenever I see a raid arrive in a newer streamer’s channel I see the same scenario play out every time:</p>
<p>The raid comes in, the streamer’s follow alert goes haywire with the people flowing in. The stream instantly switches to Tech Support mode while the streamer remembers how to mute their alerts. Once that’s done they switch to Just Chatting and start saying thanks to everyone that breathes near the chat.</p>
<p>If you take nothing else from this book, take these two things: Know how to disable your alert notifications. Don’t change what you’re doing.</p>
<p>The reason I say this is that, and I’m estimating, 99% of the raids I see to newer folk on Twitch result in an instant bleed of all of the users that came in. This is going to happen anyway, you can’t avoid it - but you can at least try to entice a few of them to stick around.</p>
<p>The tech support thing is to be expected - you’re in shock and shocking things (your alerts) keep happening, it’s chaos. It will bleed a lot of potential viewers, but so will most things.</p>
<p>When you switch to Just Chatting and start thanking everyone under the sun though you have to realise you just changed your entertaining livestream (The livestream that caused the person to raid you, mind) to a mildly boring admin-work stream. You do not have to thank everyone that came in via a raid. In fact, don’t! Not people chatting, not new follows. Talk to your new chat by all means, but just sitting there thanking them is BORING. You would be better off completely ignoring the raid and continuing with what you were doing.</p>
<p>There are exceptions to this of course. Some of you out there are much more entertaining in the Just Chatting category but insist on playing games - if that’s the case for you, and you know that for sure, ignore everything I just said.</p>]]></content>
        </item>
        
        <item>
            <title>Streaming Service. Featuring Laravel and Nginx</title>
            <link>https://cohan.dev/streaming-service-featuring-laravel-and-nginx/</link>
            <pubDate>Fri, 26 Jun 2020 04:35:45 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/streaming-service-featuring-laravel-and-nginx/</guid>
            <description>&lt;p&gt;I once made a video livestreaming rival to Twitch for fun.. lmao nerd. Here&amp;rsquo;s how it worked!&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>I once made a video livestreaming rival to Twitch for fun.. lmao nerd. Here&rsquo;s how it worked!</p>
<p>The feed itself: Your easiest and free-est option is <a href="https://github.com/arut/nginx-rtmp-module">nginx-rtmp-module</a>. It&rsquo;s a plugin for the nginx webserver that accepts rtmp streams (the kind you send to Twitch, etc).</p>
<p>[Edit: It looks like <a href="https://github.com/winshining/nginx-http-flv-module">winshining/nginx-http-flv-module</a> is a newer version of this, might support more modern things ongoing. Have a look at it, the config below might not work with it].</p>
<p>Not Laravel yet, right? Well we&rsquo;re going to need to auth your streams otherwise anyone could stream to anyone&rsquo;s channel! Lets have a look at that config. Oh, yeah. You could use any web backend here, I just use Laravel myself. Back to the config, on_connect is what we&rsquo;re after.</p>
<p><code>on_connect http://example.com/my_auth;</code></p>
<p>Here you get to talk to your application. No matter what you do behind the scenes here, return a 200 to allow the stream to connect or anything in the 4xx/5xx range to tell nginx to disconnect it. A 3xx response will redirect the stream internally (I think? It&rsquo;s been a while).</p>
<p>You&rsquo;ve probably figured out (or you will soon) that if you stream to a stream key.. how do you embed that? You&rsquo;d have to embed the stream key on the page for anyone with a view source to see. Here&rsquo;s something neat I came up with. The gist is that a stream comes in, you check the stream key in your app, you allow/deny, the stream is internally redirected to a channel name, the channel name is then referenced instead of the stream key.</p>
<p>This is some quite old draft code I just found in my backups. I don&rsquo;t think it was the final version. Rewrite it properly!</p>
<p><a href="https://gist.githubusercontent.com/cohan/7f676d3f561be62d0550785c015f00b3/raw/2b6f6619c8337bc31ccca3376ceebafcd88faf70/routes-----api.php">routes/api.php</a>:</p>
<pre tabindex="0"><code>Route::get(&#34;streamauth&#34;, function(Request $request) {
    $streamKey = Key::where(&#39;key&#39;, $request-&gt;input(&#39;name&#39;))-&gt;first();

    $rtmpUrl = &#34;rtmp://xx.yy.zz.aa/live&#34;;

    return redirect($rtmpUrl.&#34;/&#34;.$streamKey-&gt;channel-&gt;slug);
});
</code></pre><p><a href="https://gist.githubusercontent.com/cohan/7f676d3f561be62d0550785c015f00b3/raw/2b6f6619c8337bc31ccca3376ceebafcd88faf70/nginx.conf">nginx.conf</a>:</p>
<pre tabindex="0"><code>## This is the config file for the stream ingest server
# We accept the stream (from OBS, xsplit, etc) here
# and turn it into a HLS stream (live video in fragments)
# served through HTTP. Reason we use this is HLS is very
# easy to serve using a Content Delivery Network (CDN)
# closer to individual viewers

# Generic guff. Run as the &#34;nobody&#34; user so if this service gets hacked
# they can&#39;t do much else
user  nobody;

# Worker processes being set to auto means it&#39;ll spewn one worker per
# CPU we have available. It can be manually set but not really any
# point to do so right now
worker_processes  auto;

# Log files for debugging issues. Here we output logs to a file
# in a full on service we&#39;d probably have a central log server.
error_log  logs/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;

# Process ID is stored in this file, generally used to reference it
# later e.g. to kill the process when we want it to stop.
pid        logs/nginx.pid;

events {
    # How many connections we can handle at the same time.
    # The more the better but if the underlying system can&#39;t
    # handle it we&#39;ll start seeing issues.
    worker_connections  1024;
}

# RTMP - This is the realtime media protocol (i think) that OBS and the likes
# use to stream audio/video. It&#39;s a pretty robust protocol however it does
# require an open connection to keep streaming to it. This is why we convert
# to HLS rather than show RTMP to the viewer, as that doesn&#39;t require an active
# connection.

rtmp {
    server {
        # Listen on port 1935, the RTMP standard port
        listen 1935;

        # The bigger the chunk the less CPU we need. Comes at a cost of
        # more stream delay I believe. 
        chunk_size 4096;

        # Ping the RTMP connection every &#34;ping&#34; interval. Timeout the
        # connection if we don&#39;t get a reply in &#34;ping_timeout&#34;. 
        ping 10s;
        ping_timeout 10s;

        # How many streams we want this server to handle at the same time
        # More CPU/RAM/etc (mostly cpu) resources are required for a higher number
        max_streams 100;

        # Generic name &#34;app&#34; this appears when the user inserts their stream settings
        # e.g. rtmp://ingest.thud.tv/app
        application app {

            # When someone attempts to stream to this server we check against this URL
            # On that side we&#39;ll also receive the stream key as configured in OBS.
            # Essentially there (but not technically correct) we&#39;ll receive the data as
            # http://thud.app.icnerd.com/api/streamauth?name=&lt;stream key&gt; which we can
            # then use to authenticate and identify the incoming stream. 

            # In this case when we request and it&#39;s a legitimate stream we get a redirect
            # from the main service. The redirect points us to the internal &#34;live&#34; app
            # below. In the event it&#39;s not a legit stream we receive a &#34;401&#34; HTTP code
            # and we drop the stream. 

            on_publish http://thud.app.icnerd.com/api/streamauth;

            # If it aint live it aint workin!
            live on;
        }

        # If we were to use this in OBS this would appear as rtmp://&lt;this server IP&gt;/live
        # but that wont actually work without already being authed first. This is essentially
        # internal to this server. In reality we&#39;re redirected to it quietly when our stream
        # key is legit. 

        application live {

            # Here&#39;s where it gets a bit confusing - we are authing again! This time however
            # we&#39;ve already had our stream key authenticated. Now we&#39;ve been asked to stream
            # to our channel name. If I was using the &#34;ribbalicious&#34; stream key I&#39;d now be
            # essentially streaming to rtmp://&lt;this server IP&gt;/live?name=ribbalicious

            # Why bounce around all over the shop like this? If we didn&#39;t then we&#39;d have to 
            # reference the stream key when playing the stream later on the site. That would
            # be absolute chaos when people realised. They&#39;d be taking over the stream every
            # 5 seconds.

            on_publish http://thud.app.icnerd.com/api/streamauth;

            # If it aint live it aint workin!
            live on;

            # Convert the rtmp stream into an HLS stream.
            hls on;

            # Store the HLS fragments in this directory
            hls_path /tmp/hls;

            # Fragment into a new file every
            hls_fragment 1s;

            # Reference this length of the stream in the m3u8 file. 
            hls_playlist_length 10s;
        }

    }
}


# The serving side of things
http {

    # These are just dealios that make the server faster. Not really important but help
    sendfile off;
    tcp_nopush on;
    aio on;
    directio 512;

    server {
        # The base URL. If this were set to /shibble then we&#39;d reference http://ingest.thud.tv/shibble
        # As it&#39;s / we don&#39;t need to specify a path before the stream name we&#39;re after. Keeps things tidy.

        location / {
            types {
                # Sets up what type of files we&#39;re serving and what file/mime type they are
                # Not required but it makes sure the CDN etc know what we&#39;re doing. 

                application/vnd.apple.mpegurl m3u8;
                video/mp2t ts;
            }

            # Serve files from this directory. This is the same dir we set the HLS fragments to go into earlier.
            root /tmp/hls;

            # We set a no-cache header here so that people don&#39;t get served dead files. The m3u8 file in particular
            # changes very frequently. The chunks of files will re-use names whenever the stream is re-started for
            # the same channel. We don&#39;t want them caching else the stream will be chaos and might show chunks from
            # the previous stream

            add_header Cache-Control no-cache;

            # Browser security thing. We have to tell the browser (where relevant, not so much behind a CDN)
            # that it&#39;s OK to serve files from this server cross-origin - cross origin means from a different
            # domain than where the site&#39;s running - e.g. it&#39;s OK to embed video from ingest.thud.tv on www.thud.tv
            add_header Access-Control-Allow-Origin *;
        }
    }
}
</code></pre><p>After you&rsquo;ve got that set up you&rsquo;d use something like videojs to play your HLS stream across all shapes and sizes of browser. Maybe put it behind a CDN (I used <a href="https://bunnycdn.com">BunnyCDN</a>) in my for-fun go at it). I never figured out chat, was too focused on trying to make it use IRC. I think now I&rsquo;d use websockets with <a href="https://github.com/beyondcode/laravel-websockets">beyondcode/laravel-websockets</a>.</p>
<p>Fun fact the first thing that I successfully streamed from OBS with a stream key to the proper output channel on the website without leaking a stream key and without the stream dropping a single frame was this video, <a href="https://www.youtube.com/watch?v=JozAmXo2bDE">Learn to Fly - Foo Fighters Rockin&rsquo; 1000 Official Video</a>.</p>
<p>I made a followup ish sort of post to this, <a href="/new-livestreaming-site-costs/">How much would it cost to start a new live streaming site?</a>, if you&rsquo;re so bored you want to read more about this.</p>
<hr>
<p>Maybe you should <a href="/subscribe/">subscribe to my mail list</a> so you can hear when I do another nerd-dump.</p>]]></content>
        </item>
        
        <item>
            <title>How to delete Facebook</title>
            <link>https://cohan.dev/delete-facebook/</link>
            <pubDate>Tue, 23 Jun 2020 06:00:00 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/delete-facebook/</guid>
            <description>&lt;p&gt;The 6 steps to deleting Facebook with a zenlike grace and no fear of the unknown.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>The 6 steps to deleting Facebook with a zenlike grace and no fear of the unknown.</p>
<p>If at any time you think &ldquo;This is stupid just delete it lmao&rdquo; go do it. Skip to step 4.</p>
<h2 id="step-1-confuse-the-algorithm">Step 1: Confuse the algorithm</h2>
<p>Facebook <em>knows</em> you right know. It probably knows exactly what things it can put in front of you and get a like or comment out of you. The first thing&rsquo;s first, lets confuse it a bit. It&rsquo;ll help.</p>
<p>Delete your likes. Every liked page you&rsquo;ve got, not anymore. Set aside some time to painstakingly delete each and every one of them. Make it a game. When and why did you like this page? Do you even remember? Get it KonMari&rsquo;d if you need to. Thank you, &ldquo;when ur mates go out for a cheeky nandos&rdquo; I liked back in 2008 when Facebook&rsquo;s layout allowed for that sort of thing to make sense, thank you for your service.</p>
<p>Delete your friends. Ok not your friend friends, but the people from highschool you spoke to like 4 times while there. Facebook is going to start pushing you towards their content when your likes are gone.</p>
<p>Now, wait a week. Two weeks. Might even be a month. I think I heard most habits are made or broken in 21 days. Give it at least that long before calling this bollocks and liking everything again. This is a process, let it work. Meanwhile:</p>
<h2 id="step-2-line-up-your-alternatives">Step 2: Line up your alternatives</h2>
<p>You can&rsquo;t just go cold turkey on it, if you could you would have already. Your dopamine hits are connected to Facebook notifications right now. We&rsquo;re weaning you off them in Step 1, keep at it.</p>
<p>Now if you&rsquo;re like me, you love people saying how great you are. You&rsquo;re going to need an outlet. Maybe a blog? Probably not. Get yourself a Twitter or Instagram* set up, start finding all your real friendly friends there.</p>
<p>You&rsquo;re also going to need comms. Think about all the people you contact daily, weekly, monthly. Find a place where you can still interact with them, that&rsquo;s why I still keep Instagram as an option for now. Maybe it&rsquo;s time to go back to SMS?</p>
<p>* I know, it&rsquo;s still Facebook.. I know. Please give me your better alternates. Better means populated, too. If you&rsquo;re about to tell me about Mastodon you&rsquo;ve got more chance of this being the year of the Linux Desktop than you have Mastodon picking up any sort of notable steam. I&rsquo;m sorry.</p>
<h2 id="step-3-deactivation">Step 3: Deactivation</h2>
<p>Hit deactivate, blam! It&rsquo;s under Settings &amp; Privacy -&gt; Settings -&gt; Your Facebook Information (left column) -&gt; Deactivation and Deletion -&gt; Deactivate account.</p>
<p>What&rsquo;s the point in this step? To find anything you&rsquo;ve missed. Do you find yourself drawn back to Facebook in a way other than habit? Make sure to get that covered.</p>
<p>Give this one a week, see if you&rsquo;re missing anything. Used FB Messenger for something? Pop back to Step 2 and get it alternated.</p>
<p>Think it&rsquo;s still silly to go this far to only deactivate it? Skip ahead.</p>
<h2 id="step-4-backup">Step 4: Backup</h2>
<p>Before you do this, you might want to grab a copy of your data. This is a bit of a process because Facebook doesn&rsquo;t want you getting out (Also in fairness it&rsquo;s a lot of cold data they have to wake up). If you truly believe you do not need any of your Facebook data then skip to Step 5.</p>
<p><em>Repeat this step twice replacing HTML with JSON on the second go if you&rsquo;re tech inclined, you never know right?</em></p>
<p>Go to Setting and Privacy -&gt; Settings -&gt; Your Facebook Information (left colum) -&gt; Download Your Information -&gt; Make sure it&rsquo;s set to HTML and includes all your data -&gt; Create File.</p>
<p>When Facebook gets round to it you can download a copy of your data and then finally.</p>
<h2 id="step-5-delete">Step 5: Delete</h2>
<p>Settings &amp; Privacy -&gt; Settings -&gt; Your Facebook Information (left column) -&gt; Deactivation and Deletion -&gt; Delete account -&gt; Confirm password -&gt; Delete Account.</p>
<p>Now if you&rsquo;re worrying before doing this, you&rsquo;ve got 30 days to brick it and log back in, restoring your account as if nothing happened. Give it 21 days. Get the habits broke. After 21 days if you&rsquo;re still feeling it, log back in and reactivate everything. No loss.</p>
<h2 id="step-6-freedom">Step 6: FREEDOM!</h2>
<p>Be sure to tell everyone you don&rsquo;t use Facebook, even when unprompted.</p>]]></content>
        </item>
        
        <item>
            <title>Nintendo</title>
            <link>https://cohan.dev/nintendo/</link>
            <pubDate>Sat, 13 Jun 2020 16:39:11 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/nintendo/</guid>
            <description>&lt;p&gt;I was going to do a podcast about the story behind big companies. Here’s my notes on Nintendo.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>I was going to do a podcast about the story behind big companies. Here’s my notes on Nintendo.</p>
<p>It’s one of those podcasts I’d like to hear, but realised I wouldn’t enjoy making long term. Fun fact episode two was going to be about Kellogg’s and how corn flakes were invented to stop teens jacking it.</p>
<p>The following Nintendo-related writing I’m licensing <a href="https://creativecommons.org/publicdomain/zero/1.0/">CC0</a> (no copyright). Have at it. Link me your podcast if you get to episode 7! Everything from the Disclaimer header below to the sign up to my mail list at the bottom, don’t ask your listeners to sign up to my mail list as that would be confusing.</p>
<p>Please be aware, these are notes. They were in the process of becoming a script, but they’re notes. Some things are missing, some are wrong, some aren’t researched yet.</p>
<p>Ok everything from now is copy pasted from my Nintendo doc.</p>
<h2 id="disclaimer">Disclaimer</h2>
<p>While research has been done to ensure the accuracy of the following information, it’s never possible to get all of it right all of the time. Any omissions or additions that are causing you to send this episode to your legal team are not made on purpose.</p>
<p>Please do let me know of any problems via the contact form on hugebeginnings.com</p>
<h2 id="intro-music-goes-here">Intro music goes here</h2>
<h2 id="intro">Intro</h2>
<p>Nintendo started life as a small company in Japan selling handmade playing cards known as Hanafuda, or flower cards, which are used to play a variety of games.</p>
<p>Nintendo is now one of the largest companies in the world, with an estimated value of over 85 billion in US dollars.</p>
<h2 id="hanafuda-card-background">Hanafuda Card background</h2>
<p>Hanafuda cards origins can be traced back to Europe. In 1549 the Spanish Roman Catholic missionary Francis Xavier travelled to Japan as a representative of the Portuguese king to spread the teachings of Christianity. A year later the conversion of subjects to Christianity was forbidden under penalty of death. Good times.</p>
<p>The crew of the ship Xavier sailed over on had a deck of Hombre cards onboard, card games had much more success than Xavier and his teachings of Christianity. The games played with the cards, and naturally the gambling that goes with the games, grew in popularity over the course of almost a hundred years.</p>
<p>In 1633 Japan closed its borders and ceased all contact with the Western world and the European playing cards were banned as a part of this. Prohibition being as successful as it’s always been meant that the cards and the games played with them remained highly popular and now a void in the market that had been left when the European cards were banned was filled with new designs that avoided the prohibition.</p>
<p>Over the course of several decades the designs of the cards and the games that went with them came and went being fuelled by the desire to gamble and banned due to it. Eventually this culminated in the creation of the Hanafuda cards - these were similar to regular playing cards but did not have any numbers printed on them. This limited the use of the cards for gambling and so did not come under too much scrutiny from the government. It was still possible to gamble playing with Hanafuda cards but the length of games combined with the government repression of gambling made card games much less popular.</p>
<h2 id="beginnings">Beginnings</h2>
<p>Getting back on topic we meet Fusajiro Yamauchi, he founded the company as Nintendo Koppai in Kyoto, Japan on the 23rd of September 1889.</p>
<p>The cards made by Yamauchi’s new company were hand painted on tree bark, of the Mulberry tree. They did not see much popularity until the Yakuza began using the cards in their private gambling parlours.</p>
<p>This new adoption of the cards increased demand to the point Yamauchi had to take on assistance to mass produce the cards in order to meet demand. In 1929 Yamauchi passed the torch to son-in law Sekiryo Kaneda as Yamauchi had no sons of his own. Fusajiro Yamauchi retired from Nintendo and remained out of the business until his death 11 years later after suffering a stroke in 1940. He was 80 years old and while the company was already a success, he never got to see just how big it would eventually become</p>
<p>The Nintendo inherited by Sekiryo (Who had taken on the family name Yamauchi) was now Japan’s largest card maker. In 1933 he renamed the company Yamauchi Nintendo &amp; Co.</p>
<p>Jumping forward to 1947 Sekiryo started a distribution company Marufuku Co Ltd for the cards, as well as new brands of cards introduced by Nintendo.</p>
<p>Sekiryo too only had daughters so again looked to male heir son-in-law Shikanojo Inaba as the guy in line to take the reins. Before being named president however, Inaba up and left, abandoning his family - his wife Kimi and his son Hiroshi. The Inabas were taken in by the Yamauchi family after Sekiryo left, the grandparents helping raise Hiroshi. Sekiryo ran Nintendo until 1949 when he retired after suffering a stroke. Shortly after he died from complications.</p>
<h2 id="the-playing-card-era">The Playing Card Era</h2>
<p>Newly appointed Nintendo president Hiroshi Inaba dropped out of university when Sekiryo died. Later in 1951 he renamed Marufuku to Nintendo Playing Card Co Ltd. In 1953 Nintendo switched to making playing cards using plastic instead of the wood bark used previously.</p>
<p>Hiroshi visited the USA in 1956 to engage with Nintendo’s foreign equivalent, United States Playing Card Company - the largest card manufacturer in the US. Despite being the dominant player, Hiroshi was shocked to discover the US Playing Card Co was operating out of a rather tiny office. Hiroshi had discovered that the playing market had a very low ceiling.</p>
<p>During his time in the USA Hiroshi engaged in talks with Disney and reached an agreement to print Disney characters on Nintendo’s cards. This allowed Nintendo to more easily sell the cards to Japanese families, instead of their usual gambling focused clientele.</p>
<p>This was a huge success and their Disney themed cards sold over 600,000 decks in one year. In 1962 Hiroshi listed Nintendo publicly on the Osaka Stock Exchange</p>
<p>In 1963 Nintendo Playing Card Co Ltd was renamed simply Nintendo and using the capital raised from going public Nintendo began exploring a variety of ventures.</p>
<h2 id="nintendos-venture-variety">Nintendo’s Venture Variety</h2>
<p>Nintendo’s newly card-shy outlook meant that they tried a variety of ventures. Some you may recognise in forming the Nintendo we now know and love but some so widely different that it’s almost hard to believe it was the same company.</p>
<p>Nintendo was once a taxi firm. Or at least part of it was. Under the name Daiya Nintendo ran a fleet of taxis quite successfully to begin with but they abandoned the project and sold off Daiya after labour unions made the running costs too high to justify.</p>
<p>In their next move, Nintendo wandered close to the market of entertainment however this was in the form of love hotels - a series of short stay hotels guests could rent and use for sex. Just to clarify Nintendo was not running a brothel, but they did operate a hotel where clients could rent rooms for a short period</p>
<p>Dialling back the entertainment dial Nintendo then attempted to make a TV network</p>
<p>A food company making instant rice</p>
<p>Various others</p>
<h2 id="toys">Toys</h2>
<p>Following the 1964 Tokyo Olympics, sales of playing cards dropped - this saw Nintendo’s stock price dropping to an all-time low.</p>
<p>In 1965 Nintendo hired Gunpei Yokoi to work as a maintenance engineer on their maintenance line. A year later Nintendo made their move into the toy market with an invention of Yokoi’s - the Ultra Hand.</p>
<p>This device was made of plastic and featured a criss-cross arrangement of plastic operated with scissor-like handles. When the scissor handles were tightened the device extended out and retracted when the handles were parted. The contraption came with three coloured balls which could be gripped by the Ultra Hand. Despite being rather low-tech, at least by today’s standards, the Ultra Hand was a huge success. Over 1 million units were sold. Yokoi had practically single ultra-handedly saved Nintendo. He went on to invent other toys that would bring Nintendo infinitely closer to the image we know today.</p>
<p>Next up Yokoi brought the Love Tester to the table. To also make note, this was the first electronic device that came out of Nintendo. The Love Tester was a novelty toy that was said to determine how much two people love each other. Both users grab one of the metal sensors in one hand and hold hands with the other person in their other hand. Yokoi is quoted as saying <em>“The Love Tester came from me wondering if I could somehow use this to get girls to hold my hand”</em>. The Love Tester was one of the first products Nintendo sold on a large scale outside Japan, marketed as a love/lie detector. Nintendo then released a series of light gun games “Kousenjuu”</p>
<p>The success did bring with it new problems however. Nintendo struggled to keep up with demand, losing ground to other more well-established toy brands such as Bandai and Tomy. Nintendo focused the beam so to speak in 1973 when it set up the Laser Clay Shooting System in abandoned bowling alleys based on the Kosenjuu light gun technology. These bowling alley scale games were later shut down due to mounting costs, but Nintendo had found the market it had been looking for.</p>
<p>Nintendo had made its first move into their next era and, as you may know unless you’ve been living under a rock for a rather long time, became a little bit successful&hellip; but I’m again jumping ahead.</p>
<h2 id="video-games">Video Games</h2>
<p>Nintendo’s first move into video gaming was by obtaining the rights to distribute the Magnavox Odyssey in Japan. This was the first commercially available home video game console and originated in the US and sold for around 100 US dollars - the equivalent of around 580 US dollars in modern money. The Odyssey was, as with many things in the 70s, a white black and brown box. It’s controllers were connected to the console unit via cables. Compared to the modern age the Odyssey is practically the caveman of the console world. It was able to display three square dots on the screen in black and white and had no sound capabilities. Players would use plastic overlays on the screen to provide the visuals and one or two players would control their dots using a combination of three knobs and a button on the controller. The console came with a variety of physical objects for use with the games available, such as dice and paper money.</p>
<p>One of the games available on the Odyssey was a simple to-and-fro game that later went on to inspire a game you may have heard of - “Pong”. The Odyssey was a member of the first generation of video game consoles, along with the late arrivals TV Tennis Electrotennis from Epoch Co and Home Pong, by Atari.</p>
<p>During this time Nintendo hired a student product developer named Shigeru Miyamoto who worked under Yokoi designing the casing for a series of consoles known as Colour TV-Game, each featuring multiple versions of the same game. Version 6 of the console had six versions of the game Light Tennis.</p>
<p>Nintendo ventured further into the video game market with their racing game EVR Race, designed by their first designer Genyo Takeda. They saw some success in the video game market. In 1979 Yokoi had been observing a fellow train commuter using a handheld calculator - he came up with the idea of handheld video games consoles after noticing the commuter seemed to be idly playing with the calculator to pass the time. The “Game and Watch” line of handheld video games was released a year later in 1980. The hardware and game were one in the same, this meant that the handheld console was the game, it had none of the modern features we now know as normal such as interchangeable cartridges for different games.</p>
<p>In 1981 the student hire Miyamoto expanded Nintendo’s market share dramatically with the release of Donkey Kong. The game became a huge success and was licensed to virtually all of the other consoles of the age. The game featured a character known at the time only as Jumpman. You already know who this is of course, but we’ll get back to him later.</p>
<p>The next year in 1982 Yokoi developed a new method of interacting with games known as the D-pad. It was created for a version of Donkey Kong and was patented by Nintendo. Later it would go on to win an Emmy Award in Technology &amp; Engineering. As you’ll likely know by just glancing at almost literally any console controller of the modern day - the design is still a very popular one, featured in virtually every modern console controller.</p>
<p>The next invention to come from Yokoi’s mind was something you likely already know about. The directional pad, or D-Pad, is a flat thumb operated four-button directional controller.</p>
<hr>
<p>Maybe you should <a href="/subscribe/">subscribe to my mail list</a> to hear when I publish another failed idea.</p>]]></content>
        </item>
        
        <item>
            <title>Finally Shot of Facebook.. sort of</title>
            <link>https://cohan.dev/finally-shot-of-facebook-sort-of/</link>
            <pubDate>Mon, 08 Jun 2020 17:40:00 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/finally-shot-of-facebook-sort-of/</guid>
            <description>&lt;p&gt;I did the thing where you disable your account. Also I blocked my access.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>I did the thing where you disable your account. Also I blocked my access.</p>
<p><strong>Update 2020-06-17: Feck it. Just deleted it. I&rsquo;ll clean up the fallout later.</strong></p>
<p>No I&rsquo;ve not quit Instagram, Whatsapp, Messenger. Not yet. They&rsquo;re also Facebook properties. I know.</p>
<p>So far I&rsquo;ve disabled my account, deleted all the old dev apps I had set up for various projects, shut down all my pages (I think, don&rsquo;t really care) added *.facebook.com to my router&rsquo;s block list.</p>
<p>Don&rsquo;t worry, it&rsquo;s only for my devices. If you come round my house you can still get at Facebook.</p>
<h2 id="whyve-you-done-that">Why&rsquo;ve you done that?</h2>
<p>Facebook is creepy as fuck and with their new design they&rsquo;ve doubled down on the amounts of ads I see. I don&rsquo;t like ads, in my opinion they can all do one. &ldquo;but what about my blog website whatever?&rdquo;. Get a better business plan. I don&rsquo;t care. Do your ads and either I&rsquo;ll block &rsquo;em or stop visiting. No big deal for either of us.</p>
<h2 id="also">Also</h2>
<p><a href="https://www.twitch.tv/aymshaman"><img src="https://i.imgsir.com/97b2.png" alt="from the chat at twitch.tv/Dando. aymshaman: i never use facebook its just a happy birthday graveyard"></a></p>
<h2 id="why-now">Why now?</h2>
<p>I just sort of realised I wasn&rsquo;t actively using Facebook for anything. Usually I&rsquo;ve got an event planned or being planned or something that&rsquo;s been the easy &ldquo;nah not yet&rdquo; but with isolation I&rsquo;ve not got nothing keeping me there right now.</p>
<h2 id="why-not-instagram-whatsapp-etc">Why not Instagram, Whatsapp, etc</h2>
<p>I like Instagram, I actively use Whatsapp (though wouldn&rsquo;t be opposed to switching to something else), I actively use Messenger (see Whatsapp).</p>
<p>Why not just decide a comms app now? Because nobody uses anything else. I&rsquo;d love to switch to Signal or Telegram or something but nobody&rsquo;s using them.</p>
<h2 id="why-should-i-care">Why should I care</h2>
<p>You shouldn&rsquo;t care, I&rsquo;m just putting this up in case anyone asks where I&rsquo;ve gone. I&rsquo;ve gone from posting nothing, to posting a lot, to completely vanishing. This is in place to say &ldquo;I&rsquo;ve not died, I&rsquo;m just not there anymore&rdquo;</p>
<p>For my stupid witticisms, they&rsquo;ll all be here. For my throwaway quips, <a href="https://twitter.com/cohanrobinson">Twitter</a>. I might post some junk to Instagram too.</p>
<p>Maybe you should <a href="/subscribe/">subscribe to my mail list</a> for when I publish stupid shite? If you want anyway, no worries.</p>
<h2 id="contact">Contact</h2>
<p><a href="mailto:cohan@cohan.dev">cohan@cohan.dev</a></p>
<h3 id="i-have-no-reason-to-want-to-contact-you">I have no reason to want to contact you</h3>
<p>Ok</p>
<h2 id="should-i-also-delete-facebook">Should I also delete Facebook?</h2>
<p>I don&rsquo;t care what you do 💋</p>]]></content>
        </item>
        
        <item>
            <title>Don&#39;t Be Angry</title>
            <link>https://cohan.dev/dont-be-angry/</link>
            <pubDate>Tue, 26 May 2020 01:00:00 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/dont-be-angry/</guid>
            <description>&lt;p&gt;When something pisses you off you get the urge to react, to reach out and smash. To apply violence. Or at least yell a bit.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>When something pisses you off you get the urge to react, to reach out and smash. To apply violence. Or at least yell a bit.</p>
<p>But what if you’re wrong? Maybe there’s a misunderstanding. Maybe later you realise it’s not that big a deal. Now you’ve got to handle the fallout you’ve caused.</p>
<p>See if you wait, just save that reaction, hold off retaliating. Makes you emotionally solid, incredibly stable, hard as nails.</p>
<p>You can always be angry later.</p>]]></content>
        </item>
        
        <item>
            <title>Defeating Form Spam Bots</title>
            <link>https://cohan.dev/defeating-form-spam-bots/</link>
            <pubDate>Tue, 18 Feb 2020 06:38:48 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/defeating-form-spam-bots/</guid>
            <description>&lt;p&gt;I was receiving probably 50 to 100 spam messages every day. Not the worst I&amp;rsquo;ve seen, but still annoying.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>I was receiving probably 50 to 100 spam messages every day. Not the worst I&rsquo;ve seen, but still annoying.</p>
<h2 id="what-i-was-doing">What I was doing</h2>
<p>I was doing the standard honeypot element, y&rsquo;know where you have a text &lt;input&gt; that&rsquo;s hidden somehow using CSS, which if filled you discard the submission. It was relatively effective, I&rsquo;d probably give it a solid 75% effectiveness. The problem with 75% effectiveness if you were getting 100 spam submissions a day, you&rsquo;re still getting 25 spam messages a day. Dammit.</p>
<p>I then changed the name of this input to &ldquo;other-name&rdquo;, in the hopes that it would trip up the spammer scripts that had a mild amount of smarts behind them. This change of input name did help, and I&rsquo;d say we got to around 90% success, or 10 spam messages a day depending on whether you&rsquo;re a glass full or glass empty sort of person.</p>
<h2 id="what-im-doing-now">What I&rsquo;m doing now</h2>
<p>We&rsquo;re going to now need a page that will tell the user what happened if they have javascript disabled. You can&rsquo;t fall back and accept inputs on this URL because that defeats the entire point of this. It&rsquo;s important that that page <strong>does not</strong> accept any form submissions.</p>
<p>Next up, send your form there. <code>&lt;form action='/that-needs-js/'&gt;</code> now we&rsquo;ll use Javascript to fix what we just broke. Spam bots will eventually start parsing javascript if people do this enough, but for now I&rsquo;ve found that barely any of them (if any at all) are doing so.</p>
<p><code>&lt;form id='myContactForm' action='/that-needs-js/' data-action='/your/actual/form/submit/url'&gt;</code></p>
<p>Next it&rsquo;s a case of having the browser substitute in that data-action for the regular action before submitting the form. Bung this in the page somewhere.</p>
<pre tabindex="0"><code>&lt;script&gt;
    function updateContactFormDestination() {
        var contactForm = document.getElementById(&#34;myContactForm&#34;);
        var realSubmitUrl = contactForm.getAttribute(&#39;data-action&#39;);

        contactForm.setAttribute(&#39;action&#39;, realSubmitUrl);
    }

    document.addEventListener(&#34;DOMContentLoaded&#34;, function(event) { 
        updateContactFormDestination();
    });
&lt;/script&gt;
</code></pre><p>Currently this has, for me, had a 100% success rate. 0 spam emails coming from my form per day.</p>
<p>I give it a week.</p>]]></content>
        </item>
        
        <item>
            <title>Ya Dun Goofed, Pal</title>
            <link>https://cohan.dev/ya-dun-goofed-pal/</link>
            <pubDate>Sun, 26 Jan 2020 19:58:38 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/ya-dun-goofed-pal/</guid>
            <description>&lt;p&gt;Ahhhhhhhhhhhhhhhhhhhhh!&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Ahhhhhhhhhhhhhhhhhhhhh!</p>
<p>Ok so <a href="/more/">12 in 12</a> is not looking super feasible. Not so much in a being able to do it, because I can do it, but because I&rsquo;m going to burn myself out doing it.</p>
<p>What I&rsquo;m saying is I&rsquo;ve not made enough progress on Hosted to launch it at the end of the month. I think this 12 in 12 without burning out is something unemployed people can do, but not someone with a full time job and housework that needs doing. I’m not giving up on the whole release stuff angle, more just giving up on stressing myself out on it. It’s a fun thing, lets make it fun!</p>
<p>Also there&rsquo;s the 90% failure point looming. No not 90% failure rate, I mean when a project gets to about 90% I get shiny pen syndrome and start looking at another project to start. That&rsquo;s what this whole thing was supposed to be about, at the start of the month I am allowed to look elsewhere and get on something new.</p>
<p>Anyway have a look at this. The main goof I&rsquo;ve gone and done is that I&rsquo;ve set myself a damn resolution instead of a theme, but I&rsquo;ve called it a theme.</p>
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
			<iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/NVGuFdX5guE?autoplay=0&amp;controls=1&amp;end=0&amp;loop=0&amp;mute=0&amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"></iframe>
		</div>

<p>My ego thinks this video was made specifically for me, but it&rsquo;s just a pure coincidence or a good time estimate on when people ditch their resolutions. Feels like a nice kick in the arse to get back on track. It&rsquo;s a theme, not a resolution. Let&rsquo;s get on it.</p>
<p>Worst case I park Hosted until I feel like it again, I&rsquo;ve got a few shorter projects that are gagging to become websites. The universe doesn&rsquo;t reward input, it rewards output. I can&rsquo;t do what I was intending when I started writing this which was to make it a 6 projects in 12 months and use Feb on Hosted too.. nah. Forget it. I&rsquo;ll get nothing done, and probably burn myself out.</p>
<p>Having said all this, I get like this before finishing something. I&rsquo;ll wind myself up and unleash a dam of self doubt and imposter syndrome then a week later it&rsquo;s like “oh yeah that went well actually. nice, next” so I’ll probably be thinking the opposite of this 20 minutes after posting it.</p>
<p>Also, I&rsquo;ve still not <a href="/live/">streamed</a> a damn thing of it so far. Muppet.</p>]]></content>
        </item>
        
        <item>
            <title>Valentines Day in High School</title>
            <link>https://cohan.dev/valentines-day-in-high-school/</link>
            <pubDate>Tue, 21 Jan 2020 03:12:03 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/valentines-day-in-high-school/</guid>
            <description>&lt;p&gt;I wanted to kill myself in high school. No not just the once, God no, but this one Valentines Day comes to mind.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>I wanted to kill myself in high school. No not just the once, God no, but this one Valentines Day comes to mind.</p>
<p>Valentine’s Day. Fucking brilliant. You know this nerd had a great day, but it’s so much worse than you think. God it’s so much worse. Or it was, back then. Now I can look back on it fondly, laugh, and only get a vague sort of desire to beat myself up rather than off myself.</p>
<p>The school was doing this sort of feelgood lovey-dovey bollocks that can only come out of a desire to make money. They were selling roses for a quid or so each. You buy one, give it to someone you wanted to shag. Least that&rsquo;s how people in our school were handling things.</p>
<p>So where do I come in? Who the fuck did I want to shag in high school? Well, truth be told, everybody. But I wasn&rsquo;t going to go out of my way to make some poor girl suffer the embarrassment of having been given a rose by Cohan. Even I wasn&rsquo;t that cruel.</p>
<p>Then something happened, I don&rsquo;t know what it was. I barely even remember it now actually, but something got it into my head I should get one of these roses and give it to a girl in my year. I think her name was Becky? Something like that. Maybe she&rsquo;d hinted that she wanted one? Straight up asked for one? Maybe I just got a random stonk on and decided today was the day I man up and do something about it! Maybe I just bought into the whole thing and still to this day can&rsquo;t admit that to myself.</p>
<p>In any case, the roses ran out. Not a single one of the fuckers left. Not for a quid, not for 20 quid. Shit.</p>
<p>Well Cupid&rsquo;s busted-ass arrow had hit me and by God was I going to deliver. I snuck out of school - incidentally, sneaking out as an unnoticed nerd in high school is literally just a case of walking out of the front gate past the teacher guarding it - I snuck out of school and popped up to the local Spar shop. I&rsquo;ve got this one in the bag, these cunts are going to be cashing in on it too. Fucking right they were as well, the roses there were a fiver! Cheeky bastards!</p>
<p>Bought one, whatever. Price be damned! This is going to be great! Snuck (again, casually strolled) into school. Planned my next move. Or, didn&rsquo;t.. I went for it though!</p>
<p>If I&rsquo;m remembering right the next lesson was maths. It was out the back in one of those weird mobile units schools tend to have. Not that it matters to the story, I&rsquo;m just trying to jog the cobwebs off my memory. Lets go with it. Outside maths is where it all fell apart.</p>
<p>Now you&rsquo;re thinking I went to give her the rose and tripped up or puked all over myself aren&rsquo;t you? Maybe you&rsquo;ve got a cheekier mind and you think I spunked my underwear up. Haha, I fucking wish.</p>
<p>I gave her the rose, nice and simple, little bit awkward. Weird vague embarrassment on both sides. Of course, it&rsquo;s high school.</p>
<p>She didn&rsquo;t even take it too badly either as it happens, seemed relatively thankful and that.</p>
<p>All this was honestly going pretty fucking grand until she opened the rose to discover the petals were actually made of rolled up lace underwear.</p>]]></content>
        </item>
        
        <item>
            <title>The Year of More: A week or so in</title>
            <link>https://cohan.dev/the-year-of-more-a-week-or-so-in/</link>
            <pubDate>Sun, 12 Jan 2020 10:31:41 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/the-year-of-more-a-week-or-so-in/</guid>
            <description>&lt;p&gt;Probably about time for an update on The Year of More I reckon.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Probably about time for an update on The Year of More I reckon.</p>
<p>By my count it&rsquo;s been about a week since the year started. My count is wrong. It&rsquo;s almost been two..</p>
<p>First up <a href="/we-hate-captchas/">I bought a website</a>.. but I&rsquo;ve already written about that. Also I forgot to actually make the post live. Absolute muppet.</p>
<p>So far what I&rsquo;ve done with Hosted is deleted it a few times. Not even joking. My first mistake was focusing on the frontend, a great way to get myself stuck in the weeds, I&rsquo;m not a frontend guy.. Stick that on the laterbase. I&rsquo;ll probably just buy a theme or something and cram it in until I can afford to pay someone to do it properly.</p>
<p>Then I tried making it using Laravel Spark. Realised that was also a pretty frontend-heavy task, needing to figure out how Vue works. Scrapped it. Now I&rsquo;m just using the tailwindcss preset so that I can just whip something up that works and focus on the backend.</p>
<p>As I wrote on the <a href="https://blog.hosted.fm/removing-resistance/">Hosted Blog -&gt; Removing Resistance</a> I spent a bit of time writing something that handles that $1 trial thing I was planning.. Then deleted that too.</p>
<p>So where am I almost 2 weeks in? Well on the test build you can create a podcast now. Dealing with episodes up next. Project planning and time estimating is fun. I should have used the <a href="https://tools.cohan.dev/taskimator">Taskimator</a>..</p>
<p>For your amusement I&rsquo;ve somehow fallen into using flow charts for dev planning on this one. See attached.</p>
<p><img src="/images/hosted-buildplan.jpg" alt=""></p>]]></content>
        </item>
        
        <item>
            <title>The Year of More</title>
            <link>https://cohan.dev/more/</link>
            <pubDate>Sun, 22 Dec 2019 05:05:13 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/more/</guid>
            <description>&lt;p&gt;The year of more. As if spinning plates all through 2019 wasn&amp;rsquo;t exhausting enough?!&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>The year of more. As if spinning plates all through 2019 wasn&rsquo;t exhausting enough?!</p>
<p><strong>[Edit: This didn&rsquo;t work! <a href="/ya-dun-goofed-pal/">Update here</a>]</strong></p>
<p>Well, yeah.. tires were spun, the engine was revved, gears were ground.. but what was there to show for it? A bunch of abandoned projects and <a href="/project/hosted">Hosted</a> sort of coming together in the last month or so! Ooooh well done, me. So proud.</p>
<p>In 2020, the year of the future, I&rsquo;m going to release something. Multiple somethings. Publicly. It don&rsquo;t count if nobody sees it.</p>
<p>Each project has 1 month before going public. If it sucks, it sucks. Do it better next time. Release date is 18:00 on the last day of each month. Time for previous months&rsquo; projects to be maintained and supported needs to be factored in.</p>
<p>Get the latest on the current project over on the <a href="/now">/now/</a> page. For posts about <a href="/tags/year-of-more">The Year of More</a>.. click the text you just read.</p>
<p>This month&rsquo;s project releases in:</p>
<h2 id="upcoming-projects">Upcoming projects</h2>
<h3 id="jan---hosted">Jan - Hosted</h3>
<p>Podcast hosting platform. See the project page <a href="/project/hosted">Hosted</a></p>
<p>{{&lt; countdown &ldquo;31 Jan 2020 18:00:00 GMT&rdquo; &gt;}}</p>
<h3 id="feb---domain-search-tool">Feb - Domain search tool</h3>
<p>As-yet unnamed available domain name search tool. Useful for future projects.</p>
<h3 id="mar---">Mar - ???</h3>
<p>TBC</p>
<h2 id="also-to-do">Also to do</h2>
<ul>
<li>Personal podcast (Ep 1 to release 1st Jan 2020)</li>
<li><a href="/live/">Live stream a bunch of it!</a></li>
<li>Blog it, all of it. Something like once a week.</li>
<li><a href="https://www.patreon.com/join/cohan/checkout?rid=4353410">Embrace failure</a> on <a href="/patreon">Patreon</a>.</li>
</ul>
<p>Lets see how this goes eh!</p>
<h2 id="inspiration">Inspiration</h2>
<p>Heavily inspired by (read: it&rsquo;s basically the exact same thing as) <a href="https://twitter.com/levelsio">@levelsio</a>&rsquo;s <a href="https://levels.io/12-startups-12-months/">12 Startups in 12 Months</a>.</p>
<p>&ldquo;Yearly theme&rdquo; comes from <a href="https://www.thethemesystem.com/">Cortex&rsquo;s Theme System</a> and related <a href="https://overcast.fm/+E7b4K5o4g">podcast</a></p>]]></content>
        </item>
        
        <item>
            <title>Custom Domains for Hosted sites</title>
            <link>https://cohan.dev/custom-domains/</link>
            <pubDate>Sat, 02 Nov 2019 14:37:16 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/custom-domains/</guid>
            <description>&lt;p&gt;Custom domains. You&amp;rsquo;ve already got your branding, you don&amp;rsquo;t need ours getting in the way!&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Custom domains. You&rsquo;ve already got your branding, you don&rsquo;t need ours getting in the way!</p>
<p>I&rsquo;ve just put the finishing moves on the custom domain handler for <a href="/project/hosted/">Hosted</a>. I&rsquo;ll be honest I&rsquo;ve not come up with this all by myself, I actually followed the outline written by <a href="https://ohdear.app/blog/how-we-used-caddy-and-laravels-subdomain-routing-to-serve-our-status-pages">OhDear.app</a></p>
<p>Essentially, follow that guide. On your backend you&rsquo;ll then need an endpoint to handle the <code>ask</code> config option. Caddy will call your endpoint with a GET request and an url parameter <code>domain</code> - e.g. <code>https://dash.hosted.fm/auth-domain?domain=feed.wyltr.com</code></p>
<p>From there it&rsquo;s up to you whether to auth the SSL certificate. Return a 200 if you&rsquo;re saying yes, return a 403 or something like that otherwise. In our case we check the Domains table, this keeps a record of all custom domains that should be pointing at us.</p>
<p>When a request comes in, we make sure we&rsquo;ve got the domain in this table. If yes, <code>return response('Authorized', 200)</code>. If not, <code>abort(403, 'Unauthorized.')</code>. Simple enough &rsquo;eh?</p>
<p>From there Caddy will snap up an SSL certificate from LetsEncrypt and begin serving HTTPS for your custom domain.</p>
<p>As Caddy is just performing the SSL handling we can deploy simple Caddy servers anywhere in the world - and will do when we&rsquo;re ready for production - so that your users get the benefit of hitting a server closer to them.</p>]]></content>
        </item>
        
        <item>
            <title>Life is Good</title>
            <link>https://cohan.dev/life-is-good/</link>
            <pubDate>Mon, 21 Oct 2019 22:43:32 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/life-is-good/</guid>
            <description>&lt;p&gt;Yes, bad things happen and that does suck. The price of getting older. But upon reflection, man - I&amp;rsquo;m not doing too bad.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Yes, bad things happen and that does suck. The price of getting older. But upon reflection, man - I&rsquo;m not doing too bad.</p>
<p>Things <a href="/it-never-rains-but-it-pours/">haven&rsquo;t been going amazingly recently</a> but in the time I took off side projects I&rsquo;ve been doing a bit of a thunk. It&rsquo;s not all doom and gloom, it&rsquo;s barely even gloom in the long run.</p>
<h2 id="chaos">Chaos</h2>
<p>Splitting up a long term relationship where you&rsquo;ve lived together for 7-odd years, turns out that&rsquo;s a bit of a bastard. With modern banking and a bit of quick shuffling it wasn&rsquo;t so much the who-pays-what side of things but more the physical items that were shared. There was plenty of disagreement on who should get what.</p>
<p>For back story I have stayed in the place we shared, my salary was the only one that could take the brunt of the whole household spending dumped on it so it was the most logical choice.</p>
<p>Something I got from a few friends and family members was that I was being way too chill about the splitting of goods situation (it involved heavy kitchen appliances and everything). Probably true, but honestly they&rsquo;re only things at the end of the day. Things can be replaced. Lets just get the bandaid ripped off and I&rsquo;ll sort the aftermath.</p>
<p>Indeed here we are what, 2 maybe 3 months later? All of the things taken have been replaced and the new counterparts installed. I&rsquo;m back with a working household.</p>
<p>Dishwasher, oven, fridgefreezer. All up and running. I still need to get that damn wardrobe put together but that&rsquo;s just me being a lazy bastard procrastinating on a large manual labour task than anything else.</p>
<h2 id="order">Order</h2>
<p>You can&rsquo;t have chaos without order, and my order has come from a healthy social network. Seriously, don&rsquo;t let yourself get into the situation where you ditch your social network when you get into a new relationship.</p>
<p>Your social network is, if not more important, as important as any other relationship you&rsquo;ll get yourself into. They were there before it and they&rsquo;ll be there after it should that be the case.</p>
<p>I&rsquo;d probably be a dissolved puddle of slime right now if I&rsquo;d not had a handful of folks to waffle, vent, and natter with (probably too much honestly). They&rsquo;re good people.</p>
<h2 id="ok-but-what-is-this-post-about">Ok but what is this post about?</h2>
<p>Well honestly it was just a thought that wasn&rsquo;t slipping my mind and writing those out is always good for a dump n&rsquo; reload. I guess there&rsquo;s also a bit of pseudo-sage advice from a guy who barely knows what he&rsquo;s doing. Not sure really, if nothing else it&rsquo;s a quick followup to the earlier posting.</p>
<p>Yes bad things have happened. But the bills are paid, the health is.. in reasonable shape, the day job is good, the side projects are fulfilling, the social network is gold.</p>
<p>Life is good.</p>
<hr>
<p>Social share image by <a href="https://unsplash.com/@felicialoves?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Felicia Buitenwerf</a> on <a href="https://unsplash.com/s/photos/good-life?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></p>]]></content>
        </item>
        
        <item>
            <title>The XYZ Problem</title>
            <link>https://cohan.dev/the-xyz-problem/</link>
            <pubDate>Sun, 08 Sep 2019 19:34:19 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/the-xyz-problem/</guid>
            <description>&lt;p&gt;&amp;ldquo;A ho ho ho!&amp;rdquo; exclaimed the nerd, &amp;ldquo;I get to call out the XY problem! I am truly standing on the shoulders of giants now!&amp;rdquo;&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>&ldquo;A ho ho ho!&rdquo; exclaimed the nerd, &ldquo;I get to call out the XY problem! I am truly standing on the shoulders of giants now!&rdquo;</p>
<p>So you&rsquo;re a nerd right. Of course you are. What is it that makes you tick? Knowledge! Wrong. You like to feel smart.</p>
<p>Once upon a time you were a lowly noob, asking questions wrong and being called an idiot in various IRC channels. We&rsquo;ve all been there.</p>
<p>One day though you saw magic. Someone asked a question that made no sense at all. Everyone was baffled, what dark sorcery was this user trying to achieve?</p>
<p>Out shuffles the elder nerd. In a croaky grizzled font they ask &ldquo;My child. Please, explain the problem you&rsquo;re <em>really</em> trying to solve?&rdquo; and sure enough the user was trying to do something simple and going about it in a weird way. &ldquo;The XY problem&rdquo; was born.</p>
<p>A new internet rule, one grasped by even the most green of helpdesk techs. Doctrine, to be followed always. Find out what the user <em>really</em> wants to ask, and ye shall be at peace. Also you can be smug about it.</p>
<p>&hellip;</p>
<p>The problem of course is that not all questions are the XY problem, you&rsquo;re just too unclear on the solution that you don&rsquo;t think you can help. The next best thing? Chime in with something that makes you feel smart instead.</p>
<p>Jump right on in and quote the holy rule &ldquo;What is it you&rsquo;re <em>really</em> trying to solve.&rdquo; [Insert panflute sting here]. You&rsquo;ve done it, you&rsquo;re the smartest person online right now. Get rekt, noob!</p>
<p>Everyone gets super stoked on you and some in the audience note the XY problem as a thing to quote in future. The poor sod asking the question is irrelevant, you don&rsquo;t need them anymore, let some other sap deal with actually answering the question. Your job is done here. You smugly exit the room.</p>
<p>It&rsquo;s been 20 years since the original elder coined the term. Generations and generations of nerd have fallen to and begun to use &ldquo;The XY Problem&rdquo; in their troubleshooting toolbox. The antibiotics of tech support. There&rsquo;s so many of them now that nearly every question on the internet has a smug git trying to find out the <em>real</em> problem. Every question must be investigated and interrogated to find the true core. Nobody gets a straight answer.</p>
<p>This is the XYZ problem.</p>]]></content>
        </item>
        
        <item>
            <title>Automate Your Slack Status</title>
            <link>https://cohan.dev/automate-your-slack-status/</link>
            <pubDate>Sat, 07 Sep 2019 15:14:57 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/automate-your-slack-status/</guid>
            <description>&lt;p&gt;Automating your Slack status. Why would you want to do that? Well for one thing it stops people asking what you&amp;rsquo;re up to. Actually that&amp;rsquo;s the only reason to do it.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Automating your Slack status. Why would you want to do that? Well for one thing it stops people asking what you&rsquo;re up to. Actually that&rsquo;s the only reason to do it.</p>
<p>I recently went remote, work from home, the whole shebang. Nice.</p>
<p>One of the first problems we discovered with this however was that it wasn&rsquo;t really possible to see what I am working on. Not in the micro-manage screenshot every 5 minutes sense but a general gist. The way I worked around this was to tie in my Slack status to display what I was doing. Lets jump in!</p>
<h2 id="you-will-need">You will need</h2>
<ul>
<li>Zapier</li>
<li>Everhour.. or Harvest, or Toggl, or some form of time tracking that integrates with;</li>
<li>Basecamp.. or Asana, or Jira, or something else that integrates with the time tracker you picked</li>
<li>Slack (Duh)</li>
</ul>
<h1 id="set-it-up">Set it up</h1>
<h2 id="time-tracker-integration-everhour-and-basecamp-in-my-case">Time tracker integration (Everhour and Basecamp in my case)</h2>
<p>This one I&rsquo;m not going to be so much help with. I personally use Everhour and Basecamp. You use whatever you&rsquo;re using, the key point is that you need to be able to start and stop timers that includes the title of the task you&rsquo;re working on.</p>
<h2 id="zapier-setup">Zapier setup</h2>
<p>If you&rsquo;re a smart cookie you&rsquo;ll only need this screenshot to set it all up. So here it is. Get on it champ.</p>
<p><img src="/images/automateslackstatus/zapier-home.png" alt=""></p>
<p>Yes. In this you&rsquo;ll need a paid Zapier account. Get your employer to pay for it or something. No I&rsquo;ve not figured out a decent way to make it work without the multi-step zaps.</p>
<p>If you do figure out a way to do this free, please do blog about it and send me the link - I&rsquo;ll give you some shoutouts here!</p>
<p>Choose Everhour as the starting trigger, with a trigger event of a timer starting</p>
<p><img src="/images/automateslackstatus/zapier-everhour-1.png" alt=""></p>
<p>Leave the project section blank if you want it to work for everything!</p>
<p><img src="/images/automateslackstatus/zapier-everhour-2.png" alt=""></p>
<p>Next up we need to make sure we&rsquo;re setting our own status, rather than claiming credit for someone else&rsquo;s work</p>
<p><img src="/images/automateslackstatus/zapier-everhour-3.png" alt=""></p>
<p><img src="/images/automateslackstatus/zapier-everhour-4.png" alt=""></p>
<p>Now we do the bit where we update Slack</p>
<p><img src="/images/automateslackstatus/zapier-slack-1.png" alt=""></p>
<p><img src="/images/automateslackstatus/zapier-slack-2.png" alt=""></p>
<h2 id="test-it-out">Test it out</h2>
<p>Pop over to Basecamp (or whatever you use, etc, etc)</p>
<p><img src="/images/automateslackstatus/zapier-basecamp-1.png" alt=""></p>
<p>boop</p>
<p><img src="/images/automateslackstatus/zapier-basecamp-2.png" alt=""></p>
<p>Look over at the Slack, what&rsquo;s this</p>
<p><img src="/images/automateslackstatus/zapier-slack-3.png" alt=""></p>
<p>Hover the computer icon</p>
<p><img src="/images/automateslackstatus/zapier-slack-4.png" alt=""></p>
<p>Bosh!</p>
<h1 id="unset-it-when-youre-done">Unset it when you&rsquo;re done</h1>
<p>Same again really, set up all the same except trigger on the timer stopped event and leave the slack status empty, this unsets your status.</p>
<p>Keep the only continue if in place, otherwise you&rsquo;ll stop working whenever someone else stops a timer.</p>
<p><img src="/images/automateslackstatus/zapier-everhour-5.png" alt=""></p>
<p><img src="/images/automateslackstatus/zapier-everhour-6.png" alt=""></p>
<p>No more &ldquo;are you busy&rdquo; messages on Slack, noice!</p>]]></content>
        </item>
        
        <item>
            <title>It never rains but it pours</title>
            <link>https://cohan.dev/it-never-rains-but-it-pours/</link>
            <pubDate>Thu, 29 Aug 2019 23:10:01 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/it-never-rains-but-it-pours/</guid>
            <description>&lt;p&gt;Taking some time off from the side tinkering. What&amp;rsquo;s the scoop? My Dad died, the dog died, and my fiancee left me. You gotta take some &amp;lsquo;me&amp;rsquo; time after a trifecta like that, you just gotta.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Taking some time off from the side tinkering. What&rsquo;s the scoop? My Dad died, the dog died, and my fiancee left me. You gotta take some &lsquo;me&rsquo; time after a trifecta like that, you just gotta.</p>
<p>Now that I&rsquo;ve hooked you in with the teaser please do understand up front that the fiancee leaving me is unrelated to the other two. It was just one of those things that happens, there&rsquo;s never a good time. There&rsquo;s also no bad blood or lasting grudges.</p>
<p>I&rsquo;m gonna take a bit of time away from the side projects, do the cliche&rsquo;d find myself and all that. Figure out where I am in the feels department.</p>
<p>On to the juicy part I guess, it&rsquo;s something I&rsquo;ve not written about because I don&rsquo;t know what to write about it.</p>
<h1 id="my-dad-died">My Dad Died</h1>
<p>We&rsquo;d not been close in the past few years, me and my Dad. He was an alcoholic, and in the end that&rsquo;s what did him in. I&rsquo;m no doctor but reading the autopsy report it looks like it was pneumonia while his liver was running at 100% filtering all the booze he was drinking. Overloaded and underloved, burned it out.</p>
<p>Of course it didn&rsquo;t go unfelt, but I think the distance between us has held off the whole thing hitting me. It&rsquo;s not crashed down yet, if it ever will. It sort of feels like if I was so inclined I could just pop round and he&rsquo;d be there, sherry in hand. I know that&rsquo;s not true, but it&rsquo;s how it feels. I gotta put some real thinking behind that and let it sink in properly.</p>
<h1 id="the-dog-died">The Dog Died</h1>
<p>My Dad had a dog, chiuawawa it was (note to self you really need some spell checking writing these things). Everything was lining up so that I&rsquo;d take it on as everyone else has shitty rental agreements with a no pets clause. Unfortunately the temporary care wasn&rsquo;t fully dog-proof. From what I heard the dog got out, legged it into the road, got hit by a car. Always wanted a dog ever since I moved out, I guess now&rsquo;s not the time.</p>
<h1 id="my-fiancee-left-me">My Fiancee Left Me</h1>
<p>All the signs were there. We&rsquo;d been growing distant. I&rsquo;d been growing lazy. The fire fizzled.</p>
<p>While it was a bit of a shock to get ‘the talk’ I understand and accept the reasoning, and hold no grudge. There’s no sides to take and no drama to spill, sometimes things just fizzle out.</p>
<h1 id="wheres-your-head-at-at-at">Where&rsquo;s Your Head At, At, At?</h1>
<p>I don&rsquo;t know. Right now I&rsquo;m cool as a cucumber. If I was wearing sunglasses I&rsquo;d take them off and there&rsquo;d be another pair of sunglasses underneath them. It feels wrong, I should be feeling something. Shit, I should be feeling sad. Dribble some tears out of my face holes or something.</p>
<p>I&rsquo;ve been hiding in Minecraft the past few days. I know right, where did that come from? There&rsquo;s been a weird resurgence recently and I felt like giving it a go. Jumped on a multiplayer server and started building up my lil blocky empire. It&rsquo;s not productive in either the writing code or the self reflection sense.</p>
<p>I need to meditate, I need to read, I need to reflect. Heck, <a href="/garbage-collection-for-the-brain/">I need to be bored</a>.</p>
<p>Why am I writing this little waffle? Well it&rsquo;s because of the <a href="/project/">Project</a> page really. I recently added a thing that shows the latest updates for each project. Felt like I should justify the last update time growing and growing despite projects being supposedly active.</p>
<p>I dunno, suggestions on a postcard please. I&rsquo;m gonna go lie down.</p>]]></content>
        </item>
        
        <item>
            <title>I went on a plane</title>
            <link>https://cohan.dev/went-on-a-plane/</link>
            <pubDate>Sat, 06 Jul 2019 15:32:50 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/went-on-a-plane/</guid>
            <description>&lt;p&gt;Dear internet, I went on a plane this week for the first time in my 31 years of life.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Dear internet, I went on a plane this week for the first time in my 31 years of life.</p>
<p>It was AWESOME. Mate&rsquo;s stag do in Spain, went to Benidorm for 5 days as ye do. Great time. Lemme tell you things about planes you already know though.</p>
<p>Firstly, don&rsquo;t forget you have a bottle of liquid in your suitcase. It really makes the jobsworths at the airport go full ham on the searching.. no wait that sounds invasive. (Just to bear in mind all of this is coming from a 31 year old white male so I&rsquo;m aware I probably got off easy) It makes them go almost full ham. Sir open up all of your stuff and that. It was a bottle of hair style paste stuff that blipped the scanners. Oops.</p>
<p>Airport experience in note form</p>
<ul>
<li>If you do carry liquid with you, remember you&rsquo;ve got it</li>
<li>Toothpaste is a liquid</li>
<li>Hair styling paste is a liquid</li>
<li>100ml is a dumb limit</li>
<li>You&rsquo;ll have to put it all in one of their silly little plastic bags</li>
<li>If you have a vape they&rsquo;re going to want you to detach the liquid bit</li>
<li>It&rsquo;s gonna leak all over the inside of the bag</li>
<li>You&rsquo;re only allowed 1 of their clear plastic bags. Splitting it amongst two or even three bags would be too easy</li>
<li>Don&rsquo;t carry any liquid, you&rsquo;re better off just buying it fresh later</li>
<li>Literally 5 seconds after going through the scanner you can buy everything you wanted to take in sizes bigger than 100ml anyway</li>
<li>Nobody else will ever look at the plastic bag you&rsquo;ve just spent 10 minutes faffing with</li>
</ul>
<p>Ooh speaking of scanners, Fox saw inside me.. Also not in an invasive way. Apparently my hip pin and leg plate lit up like a Christmas tree on the body scanner, pretty cool. Little bit creepy.</p>
<p>Airplanes? No worries. Taxiing just feels like you&rsquo;re in a coach or something. When you go to take off picture that one friend you don&rsquo;t like to ride in their car because they abuse the accelerator - it&rsquo;s like that except they&rsquo;ve got an engine that can go 0 to 200 in a few seconds. Expect it to be loud, not scary loud but definitely big-ass-engine loud.</p>
<p>Take a look out the window for the moment you go through the clouds, that&rsquo;s pretty cool. I had no idea clouds were mostly at the same relative height, once you pop out of them you&rsquo;re just straight up above them all. In your face, gravity!</p>
<p>Once you&rsquo;ve done that just sort of look out the window and ignore the flight crew selling you tat for 3 hours (it was a Ryanair flight, probably different elsewhere). I did have one weird moment of &ldquo;Hey where are the town names&rdquo;&hellip; yeah.. Brain fart.</p>
<p>Landing feels like how your stomach goes weightless when you go over a bit of a sharp hill in a car - it&rsquo;ll do that a few times then you&rsquo;ll come in to land. If you&rsquo;re a bit worried I&rsquo;d recommend not looking out the window for the landing, I did though because it was cool to see. You see the ground coming up pretty gently honestly then there&rsquo;s a bit of a bump when you touch down. There&rsquo;s a bit of super braking and you feel like you&rsquo;re being pulled forward out of the seat (ah that&rsquo;d be why they want the belts on and the tables in the upright position then)</p>
<p>You cut about a bit on the runway and taxiways like a coach again and then you&rsquo;re done. Repeat the experience on your way home.</p>
<p>Course you already knew this having not spent the first 30 years of your life not being on planes :)</p>]]></content>
        </item>
        
        <item>
            <title>Unsolicited App Recommendations 2019 Edition</title>
            <link>https://cohan.dev/unsolicited-app-recommendations-2019/</link>
            <pubDate>Sat, 22 Jun 2019 14:32:13 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/unsolicited-app-recommendations-2019/</guid>
            <description>&lt;p&gt;It&amp;rsquo;s been about 8 months since I added this article to my &amp;ldquo;to-write&amp;rdquo; list, probably about time to write it.&lt;/p&gt;
&lt;p&gt;To note this is an Apple focused one I don&amp;rsquo;t have any Androids knocking about.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>It&rsquo;s been about 8 months since I added this article to my &ldquo;to-write&rdquo; list, probably about time to write it.</p>
<p>To note this is an Apple focused one I don&rsquo;t have any Androids knocking about.</p>
<p><strong>Click the icon to go to the app store for the relevant app.</strong></p>
<h2 id="good-ios-built-in-apps">Good iOS Built-in Apps</h2>
<h3 id="clock">Clock</h3>
<figure class="ios-icon"><img src="/images/iosapps-2019/clock.png"
			alt="The iOS clock icon is a black background with a white clock face. The hands on the image I&#39;ve picked would indicate it&#39;s around 9:41 and 30 seconds.">
</figure>

<p>Nice and simple. It&rsquo;s a clock. Beats any other clock apps that may exist simply because the icon displays the current time and that&rsquo;s all it really needs to do.</p>
<p>You can also use it to do stopwatches and timers. That is also useful sometimes.</p>
<h3 id="calendar">Calendar</h3>
<figure class="ios-icon"><img src="/images/iosapps-2019/calendar.png"
			alt="The iOS calendar app is a white background with the day in red and the day of month in black below it. The image I&#39;ve picked indicates it&#39;s Wednesday the 9th. The month is not specified in the icon.">
</figure>

<p>Likewise, the icon shows the date. Sorted. Gives you notifications when events happen and that.</p>
<p>It&rsquo;s a calendar app, I haven&rsquo;t really got anything else to say about it.</p>
<h2 id="productivity">Productivity</h2>
<h3 id="timery-needs-a-toggl-account">Timery (Needs a Toggl account)</h3>
<p><a href="https://apps.apple.com/us/app/timery-for-toggl/id1425368544"><figure class="ios-icon"><img src="/images/iosapps-2019/timery.jpg"
			alt="The Timery app&#39;s icon is like a standard power icon in white rotated counter-clockwise approximately 45 degrees o a solid red background. A standard power icon is an almost complete circle with the top cut out and in its place a vertical line down">
</figure>
</a></p>
<p>A new one for me (and the rest of the world, it only just came out). Timery is a great interface to your Toggl timers. Set up repeating tasks and kick them off with the tap of a widget. Simple.</p>
<p>I don&rsquo;t track every little thing, just things with a work basis - The day job, Side projects, I have one going right now while writing this blog post. That sort of thing.</p>
<p>Works well with Toggl&rsquo;s free account if you were wondering.</p>
<h3 id="todoist">Todoist</h3>
<p><a href="https://apps.apple.com/us/app/todoist-to-do-list-tasks/id572688855"><figure class="ios-icon"><img src="/images/iosapps-2019/todoist.jpg"
			alt="Todoist&#39;s icon looks almost like military rank indicators. Effectively three tail-less arrows pointing down, moved to the left of the icon. The arrows are white and the background is a solid pale red.">
</figure>
</a></p>
<p>My fine grained task list. Anything in here needs doing, but I don&rsquo;t use the due dates. For timing purposes I use..</p>
<h3 id="skedpal">Skedpal</h3>
<p><a href="https://apps.apple.com/us/app/skedpal/id1056883314"><figure class="ios-icon"><img src="/images/iosapps-2019/skedpal.jpg"
			alt="Skedpal&#39;s icon could be described as a cross between a clock and a speedometer. The clock is white on a cyan background. The clock&#39;s hands indicate it&#39;s 10:15 and 35 seconds">
</figure>
</a></p>
<p>My workhorse. If it needs doing, it needs to be in Skedpal. It figures out when it&rsquo;s best for me to work on a task through a combination of due date, urgency, and time maps.</p>
<p>Time maps are blocks of time where you can work on something - You&rsquo;d set up your 9-5 workday for work tasks to go into. Side hours outside of work for side projects. Weekends for.. weekend tasks. So on.</p>
<p>The way I work with Todoist and Skedpal, the general rule is a project in Todoist would be a task in Skedpal. Skedpal tells me what to do, Todoist tells me how to do it.</p>
<h3 id="due">Due</h3>
<p><a href="https://apps.apple.com/us/app/due/id390017969"><figure class="ios-icon"><img src="/images/iosapps-2019/due.jpg"
			alt="Due&#39;s icon is vaguely a stopwatch with a tick. The background is a solid white, the stopwatch is a grey that fades to white on the right side. The tick is a solid grey">
</figure>
</a></p>
<p>The third piece in my productivity triforce is Due. Due is the one that nags.</p>
<p>Set up a reminder or recurring task (e.g. take medication) and Due will remind you every n minutes until you say you&rsquo;ve done it. For those tasks you either can&rsquo;t, wont, or don&rsquo;t want to remember to do.</p>
<h2 id="automation--notification">Automation &amp; Notification</h2>
<h3 id="slack--slack-emm">Slack &amp; Slack EMM</h3>
<p><a href="https://apps.apple.com/us/app/slack-for-emm/id1254292716"><figure class="ios-icon"><img src="/images/iosapps-2019/slack-emm.jpg"
			alt="Slack&#39;s icon is a solid white background with blobs of 4 colours. To picture the blobs, imagine the southwest blob as a lowercase i with the top dot having fallen off to the left slightly - it&#39;s a light red. Now rotate that 90 degrees so the dot is at the top and place it in the northwest position, this one is a light blue. The northeast position is again rotated 90 degrees and is a light green. Once more for the southeast position, this one is yellow. This EMM version of the logo has a padlock in the very bottom left. The padlock is a white icon on a blacked out corner.">
</figure>
</a>
<a href="https://apps.apple.com/us/app/slack/id618783545"><figure class="ios-icon"><img src="/images/iosapps-2019/slack.jpg"
			alt="Regular Slack app icon. Unlike the EMM version it does not have the padlock in the bottom left corner">
</figure>
</a></p>
<p>Now what on earth is going on here &rsquo;eh? Two Slack apps. I don&rsquo;t even want the one, I hear you say!</p>
<p>I have a personal Slack for things like alerts and automation notices - that one I&rsquo;ve logged in to with the Slack EMM app. There&rsquo;s nothing super special about the Enterprise version (at least the way I&rsquo;m using it), it just means I can give my personal slack server different notification privileges than the others I&rsquo;m logged in to.</p>
<h3 id="ifttt">IFTTT</h3>
<p><a href="https://apps.apple.com/us/app/ifttt/id660944635"><figure class="ios-icon"><img src="/images/iosapps-2019/ifttt.jpg"
			alt="IFTTT&#39;s icon is best pictured as a 3 by 3 grid. The top six sections of the grid are light blue. The bottom left and bottom middle is a light red. The bottom right is a dark grey.">
</figure>
</a></p>
<p>I mainly use IFTTT for location-based or widget-based automations. Things like starting my work Toggl timer when I arrive at the office and stopping it when I leave.</p>
<p>I also have a Quick Note widget that dumps the content of a note widget into Evernote and a Quick Task widget which does the same but dumps the contents into Todoist&rsquo;s inbox as a task.</p>
<h3 id="shortcuts">Shortcuts</h3>
<p><a href="https://apps.apple.com/us/app/id915249334"><figure class="ios-icon"><img src="/images/iosapps-2019/shortcuts.jpg"
			alt="Shortcuts&#39; icon is a solid royal blue background with two squares. The squares are skewed so that they look like a 3D cube without the sides. The top square is a salmon pink colour and the bottom is a turquoise. The bottom of the top square fades into the top of the bottom square which gives it a vague visual S look">
</figure>
</a></p>
<p>Much to my own disappointment I&rsquo;ve not done much with Shortcuts yet. So far all I&rsquo;ve made is one that pre-fills a Ulysses document with my static site gen&rsquo;s frontmatter for writing blog posts. It is a great app and is said to be getting more and more wired in to iOS&rsquo; internals in future for better automationing.</p>
<h2 id="sysadmin-code-website-stuff">Sysadmin, Code, Website stuff.</h2>
<h3 id="honeybadger">HoneyBadger</h3>
<p><a href="https://apps.apple.com/us/app/honeybadger-mobile/id973629481"><figure class="ios-icon"><img src="/images/iosapps-2019/honeybadger.jpg"
			alt="Honeybadger&#39;s app icon is a dark blue green solid background. In front of this is an orange square rotated 45 degrees into a diamond. On top of this diamond is a lightning bolt, also orange.">
</figure>
</a></p>
<p><a href="/project">I make apps and that</a>. Sometimes something doesn&rsquo;t quite go as planned. When that happens the app, in its last dying breath, pings off an error report to HoneyBadger. This is their iOS app so that I get bugged about it no matter where I am and that.</p>
<h3 id="jayson">Jayson</h3>
<p><a href="https://apps.apple.com/us/app/jayson/id1447750768"><figure class="ios-icon"><img src="/images/iosapps-2019/jayson.jpg"
			alt="Jayson&#39;s app icon is a light blue background with a vague to-white gradient at the top. On this is a white file icon and on top of that is a set of open close curly braces">
</figure>
</a></p>
<p>Have you ever needed to view or edit JSON on your iDevice? Oh&hellip; you haven&rsquo;t? Well then this app isn&rsquo;t for you.</p>
<p>For anyone else this is the app for you, probably the best on iOS for tinkering with JSON.</p>
<h3 id="coggle">Coggle</h3>
<p><a href="https://apps.apple.com/us/app/coggle/id1187423011"><figure class="ios-icon"><img src="/images/iosapps-2019/coggle.jpg"
			alt="Coggle&#39;s app icon is a light green background. On top of this is a pale yellow, almost white wavy line going southwest to northeast. In the center the line is cut in a negative space tail-less arrow. This arrow looks like Coggle&#39;s UI when you add a link to another element">
</figure>
</a></p>
<p>It&rsquo;s a mind mapping app. I don&rsquo;t often need mindmaps but when I do Coggle&rsquo;s my man.</p>
<h3 id="canva">Canva</h3>
<p><a href="https://apps.apple.com/us/app/canva-photo-editor-design/id897446215"><figure class="ios-icon"><img src="/images/iosapps-2019/canva.jpg"
			alt="Canva&#39;s icon is a white C on a background. The background is a gradient from light blue to purple going northwest to southeast.">
</figure>
</a></p>
<p>Need to quickly throw together a bit of artwork or a placeholder something or other? Canva honestly nails it. The app&rsquo;s a bit more clunky than their web version but it&rsquo;s workable.</p>
<h3 id="matomo">Matomo</h3>
<p><a href="https://apps.apple.com/us/app/matomo-mobile-2/id737216887"><figure class="ios-icon"><img src="/images/iosapps-2019/matomo.jpg"
			alt="Matomo&#39;s icon is a stylized M on a white background. The leftmost leg of the M is a light blue dot, then a darker blue zigzags to follow the M until its final peak, which is an orange dot. The rightmost leg of the M is a light green">
</figure>
</a></p>
<p>Don&rsquo;t like Google Analytics? You&rsquo;re probably using Matomo then. Their iOS app does what you&rsquo;d expect, mobile access to your site stats.</p>
<h3 id="kodex">Kodex</h3>
<p><a href="https://apps.apple.com/app/kodex/id1038574481?ls=1"><figure class="ios-icon"><img src="/images/iosapps-2019/kodex.jpg"
			alt="Kodex&#39;s logo is a white K on a primarily blood red background. The background is stylized in a way that extends the lines of the K to the edges of the icon. The reds either side of these lines are lighter or darker to give a textured effect.">
</figure>
</a></p>
<p>Do I want to go as far as to say it&rsquo;s Sublime Text for iOS? Maybe. It&rsquo;s not quite 1:1 but it&rsquo;s a damn good iOS text editor. Supports multiple cursors and can open files basically anywhere within iOS if they&rsquo;re accessible.</p>
<h3 id="working-copy">Working Copy</h3>
<p><a href="https://apps.apple.com/us/app/working-copy/id896694807?ign-mpt=uo%3D6"><figure class="ios-icon"><img src="/images/iosapps-2019/working-copy.jpg"
			alt="Working Copy&#39;s logo is a solid dark blue background, on top of which is a cyan symbol that looks like a simplified fingerprint.">
</figure>
</a></p>
<p>If you&rsquo;ve got anything git, get Working Copy. It&rsquo;s a git client for iOS. You can access files within Working Copy from other apps (e.g. open a file in-place with Kodex, save, git push with Working Copy).</p>
<p>The absolute bomb if you use a static site gen and use Netlify. Write a post from wherever, push, it&rsquo;s live.</p>
<h3 id="blink">Blink</h3>
<p><a href="https://apps.apple.com/us/app/blink-shell-mosh-ssh-client/id1156707581"><figure class="ios-icon"><img src="/images/iosapps-2019/blink.jpg"
			alt="Blink&#39;s icon is a solid cyan background. On top of this is a black circle. Inside this circle is a white line which looks to be a forward slash character">
</figure>
</a></p>
<p>You&rsquo;ve got an editor, you&rsquo;ve got a git client. What else do you need? An SSH client of course! There are others but I absolutely love Blink because it supports mosh - mosh is a way to connect to a server much like SSH except it connects using UDP and your connection persists even if your IP address changes (mobile networks). It even handles super high latency eventually if your connection doesn&rsquo;t completely drop (e.g. on a train going through tunnels and that). I realise that&rsquo;s more a point for the mosh protocol/service but as this was the only iOS client I could find at the time I needed it, it&rsquo;s got my A++.</p>
<p>Just a tip though as it&rsquo;s a bit bare bones UX wise - When you first open it and haven&rsquo;t got a clue what you need to do next, type &ldquo;config&rdquo; and hit enter.</p>
<h2 id="misc-builtin-replacements">Misc Builtin Replacements</h2>
<h3 id="firefox">Firefox</h3>
<p><a href="https://apps.apple.com/gb/app/firefox-web-browser/id989804926"><figure class="ios-icon"><img src="/images/iosapps-2019/firefox.jpg"
			alt="Firefox&#39;s logo is a dark blue background. On top of this is a lighter blue sphere, the sphere is obscured around northwest to northeast with a simplified depiciton of a fox. The fox is a dark orange at the head which lightens to about where the tail would start. The tail is a gradient from orange to yellow.">
</figure>
</a></p>
<p>It&rsquo;s Firefox. It&rsquo;s on iOS. Nuff said really.</p>
<p>I do realise it&rsquo;s not a fully fledged Firefox due to Apple&rsquo;s restrictions on browser engines but it does have some handy stuff like sending pages to other Firefoxes logged in to your sync account. That feature alone is why I use it, obviously if that&rsquo;s not useful for you stick with Safari :)</p>
<h3 id="fastmail">Fastmail</h3>
<p><a href="https://apps.apple.com/us/app/fastmail-email-calendars-contacts/id931370077"><figure class="ios-icon"><img src="/images/iosapps-2019/fastmail.jpg"
			alt="Honestly all email apps are this description with varying colours. Fastmail&#39;s in particular is a light grey to grey gradient for the background and on top of that a white envelope. On the envelope is a thin wavy line (picture an S shape if you stretched it out a bit) going left to right. This line is yellow.">
</figure>
</a></p>
<p>Replaced Gmail with Fastmail a while back because they murdered Inbox. Haven&rsquo;t looked back. This is Fastmail&rsquo;s iOS app. Even if you use another mail app (as I do) it&rsquo;s useful to have this one installed so that you can tinker with settings and mail filters on the go.</p>
<h3 id="1password">1Password</h3>
<p><a href="https://apps.apple.com/us/app/1password-password-manager/id568903335?ign-mpt=uo%3D4"><figure class="ios-icon"><img src="/images/iosapps-2019/1password.jpg"
			alt="1password&#39;s logo looks like a bank vault. The background is a light grey, a bordered off-white circle is on top of this making it look embossed. Inside this is a blue circle. Inside the blue circle is another off-white circle. Inside that is a dark grey symbol that looks like a simplified keyhole. The simplified keyhole can be described as a line that has a bit of a twist in the middle.">
</figure>
</a></p>
<p>Password manager. Does what it says on the tin, does so with a nice UX - the nicest UX I&rsquo;ve come across in terms of password managers infact.</p>
<p>Love that you can have multiple vaults.</p>
<h3 id="1111">1.1.1.1</h3>
<p><a href="https://apps.apple.com/us/app/1-1-1-1-faster-internet/id1423538627"><figure class="ios-icon"><img src="/images/iosapps-2019/1.1.1.1.jpg"
			alt="This is a service from Cloudflare. The 1.1.1.1 logo is a white 1 with a superscript 4. The background is a hippie dippie tie-dye effect. From southeast to northwest the colours are yellow, orange, bluegreen, turquoise, royal blue, pink. The colours are separated in a wavy stripe fashion that pulls in to a center at the top">
</figure>
</a></p>
<p>1.1.1.1 is a DNS service from Cloudflare. Not really sure what I&rsquo;m getting out of this except secure and quick DNS lookups. Sometimes it breaks things like your mobile provider&rsquo;s app&rsquo;s ability to auto-log you in.</p>
<p>Should be infinitely more useful in future when they unleash their full VPN service rather than just the DNS.</p>
<h3 id="spark">Spark</h3>
<p><a href="https://apps.apple.com/us/app/spark-email-app-by-readdle/id997102246"><figure class="ios-icon"><img src="/images/iosapps-2019/spark.jpg"
			alt="Spark&#39;s icon is a blue background with a white paper airplane on top. The airplane would be the underside view of the plane, if seen as an arrow it is pointing to the top of the icon.">
</figure>
</a></p>
<p>My mail app of choice right now. I&rsquo;ve tried others, I&rsquo;ve liked others. I&rsquo;ve hated others. This one&rsquo;s the one that&rsquo;s got the nicest blend of usability and not notifying me every time someone somewhere in the world sends an email.</p>
<p>Will likely check out Superhuman instead of this if they ever give me an invite, but for now this is my guy.</p>
<h2 id="writing">Writing</h2>
<h3 id="notability">Notability</h3>
<p><a href="https://apps.apple.com/us/app/notability/id360593530"><figure class="ios-icon"><img src="/images/iosapps-2019/notability.jpg"
			alt="Notability&#39;s icon is a solid light blue background. On top of this is what could be described as a very short pencil, where the eraser would be is a studio microphone to symbolize Notability&#39;s writing and audio recording abilities I would imagine.">
</figure>
</a></p>
<p>If you like using the pencil to write, Notability is your go-to app.</p>
<p>I was also looking at getting a Paperlike for my iPad recently and discovered they have a nifty daily bullet journal thing that you can import into Notability, you can grab that here -&gt; <a href="https://paper.me/journal">https://paper.me/journal</a></p>
<h3 id="goodnotes">GoodNotes</h3>
<p><a href="https://apps.apple.com/us/app/goodnotes-4/id778658393"><figure class="ios-icon"><img src="/images/iosapps-2019/goodnotes.jpg"
			alt="Goodnotes is nice and simple. White background, on top of that are light blue lines. The bottom line is only half complete with an image of a pen writing the line. The other lines are to indicate text being written">
</figure>
</a></p>
<p>I use this for more &ldquo;live&rdquo; writing, such as keeping track of inventories when recording <a href="/project/would-you-like-to-restart/">Would You Like to Restart</a>. Honestly mostly it&rsquo;s to keep things separate from my Notability stuff, but it&rsquo;s a good app and has a UI that works better with WYLTR related stuff.</p>
<p>Dealer&rsquo;s choice between this and Notability if you&rsquo;re handwriting honestly they&rsquo;re both good options.</p>
<h3 id="ulysses">Ulysses</h3>
<p><a href="https://apps.apple.com/us/app/ulysses/id1225571038"><figure class="ios-icon"><img src="/images/iosapps-2019/ulysses.jpg"
			alt="Ulysses&#39; icon is an almost black dark grey background. On top of this is a top down view of a yellow butterfly. The head of the butterfly is a fountain pen nib">
</figure>
</a></p>
<p>If you were ever planning on writing a novel on an iPad, Ulysses is probably the app you&rsquo;d be best picking. It&rsquo;s more than a text editor like Kodex from earlier, it&rsquo;s more a long form writing tool.</p>
<p>I used it, and plan on using it in future, for podcast research and scripts. This is the big guns of the iOS writing tools.</p>
<h3 id="evernote">Evernote</h3>
<p><a href="https://apps.apple.com/us/app/evernote/id281796108"><figure class="ios-icon"><img src="/images/iosapps-2019/evernote.jpg"
			alt="Evernote&#39;s icon is a white background, on top of this is a simplified version of an elephant&#39;s head in a light green. The elephant&#39;s head has its trunk to the right, its body would be on the left if it were included.">
</figure>
</a></p>
<p>General note dump.</p>
<p>This is where my note widgets end up sending data. I pretty much just use it as you might post-its. Random notes I need to remember but can come back and sort through/action later.</p>
<h2 id="entertainment">Entertainment</h2>
<h3 id="overcast">Overcast</h3>
<p><a href="https://apps.apple.com/us/app/overcast/id888422857"><figure class="ios-icon"><img src="/images/iosapps-2019/overcast.jpg"
			alt="Overcast&#39;s icon has an orange background. On this is a white circle with a thick black border. Inside the circle is a simplified radio tower in the same black of the border. To the left and right of the tower&#39;s point are two orange semicircles giving a ripple effect - standard broadcast icon sort of way.">
</figure>
</a></p>
<p>The best iOS podcast app. I used to use Pocketcasts which is decent enough but they changed too much on me in one go and I found Overcast. Smart playlists, listen to episodes without needing to subscribe, smart silence removal and smart speed.</p>
<p>It&rsquo;s everything you could ask for in a podcast client.</p>
<h3 id="apollo">Apollo</h3>
<p><a href="https://apps.apple.com/us/app/apollo-for-reddit/id979274575"><figure class="ios-icon"><img src="/images/iosapps-2019/apollo.jpg"
			alt="Apollo has a circular gradient effect background in light blues to light purples. On this is a robot version of reddit&#39;s snoo icon - Snoo is an alien and/or tellytubby head. The robot snoo is white with pink eyes. The eyes are stylized in a way to make the robot look cheerful.">
</figure>
</a></p>
<p>Apollo is everything I said about Overcast except for reddit. Hands down the best iOS reddit app. The gold standard.</p>
<h3 id="reeder">Reeder</h3>
<p><a href="https://apps.apple.com/us/app/reeder-4/id1449412357"><figure class="ios-icon"><img src="/images/iosapps-2019/reeder.jpg"
			alt="Reeder&#39;s icon is a 4-step gradient from northeast to southwest. It starts as a light grey, then a slightly darker grey, then grey, then a darker grey. On top of this background is a white star.">
</figure>
</a></p>
<p>I&rsquo;m one of those nerds that still uses RSS readers. This is the RSS reader I use. It connects to a self hosted instance of FreshRSS (though you can use other services with Reeder) and shows me my Instapaper stuff in one app.</p>
<h3 id="kindle--audible">Kindle &amp; Audible</h3>
<p><a href="https://apps.apple.com/us/app/audible-audiobooks-originals/id379693831"><figure class="ios-icon"><img src="/images/iosapps-2019/audible.jpg"
			alt="Audible&#39;s icon is an orange background. On top is a downward-pointing tail-less arrow. The arrow&#39;s acute side has lines that indicate the arrow is actually a book being opened. The lines are wider on the right than the left">
</figure>
</a>
<a href="https://apps.apple.com/us/app/amazon-kindle/id302584613"><figure class="ios-icon"><img src="/images/iosapps-2019/kindle.jpg"
			alt="Kindle&#39;s icon is a side profile of a person reading a book. They are sitting on a simple black hill. The very background looks like a twilight night sky - a light moody blue gradient with points of white to indicate stars.">
</figure>
</a></p>
<p>I don&rsquo;t often use Audible, but if you ever need to switch between audiobooks and ebooks this is the tagteam you want on your side. Basically they sync your progress between them so you don&rsquo;t have to faff about finding where you were when you come back to a book.</p>
<p>The Kindle app also goes a little neglected, I have one of those eInk badboys for my reading usually. Sometimes though for non-fiction I like to read using the iPad because it has more of a webpage scroll feel in the iOS app rather than &ldquo;page turns&rdquo;.</p>
<h3 id="spotify">Spotify</h3>
<p><a href="https://apps.apple.com/us/app/spotify-music-and-podcasts/id324684580"><figure class="ios-icon"><img src="/images/iosapps-2019/spotify.jpg"
			alt="Spotify&#39;s logo is a dark grey almost black background. On top of this is a green circle. Inside the green circle are three lines that have been pulled in the middle into bends. The whole circle has then been rotated approximately 10 degrees clockwise.">
</figure>
</a></p>
<p>It&rsquo;s music. Sometimes <a href="https://www.youtube.com/watch?v=DyDfgMOUjCI">I get into the pop musics all the kids are listening to</a> and have to listen to it on repeat for a few days before going back to podcasts.</p>
<h3 id="netflix-">Netflix (?)</h3>
<p><a href="https://apps.apple.com/us/app/netflix/id363590051"><figure class="ios-icon"><img src="/images/iosapps-2019/netflix.jpg"
			alt="Netflix&#39;s icon is a black background. On top of this is an N - the N&#39;s left and right lines are a blood red. The diagonal line that connects them is a slightly lighter red.">
</figure>
</a></p>
<p>I rarely use the Netflix app as-is but it&rsquo;s useful to have knocking about to cast to TVs</p>
<h2 id="and-the-rest">And the rest</h2>
<h3 id="carrot">Carrot</h3>
<p><a href="https://apps.apple.com/us/app/carrot-weather/id961390574"><figure class="ios-icon"><img src="/images/iosapps-2019/carrot.jpg"
			alt="Carrot&#39;s icon has a nighttime background. By this I mean a dark to light purple gradient with white points indicating stars. In front of this is a white cloud with a yellow lightning bolt underneath. On the cloud is a black pill shape which has a white upward pointing arrow inside.">
</figure>
</a></p>
<p>Weather app with a snark dial, what more could you ask for?</p>
<h3 id="namecheap">Namecheap</h3>
<p><a href="https://apps.apple.com/us/app/namecheap/id482604032"><figure class="ios-icon"><img src="/images/iosapps-2019/namecheap.jpg"
			alt="Namecheap&#39;s logo is a white background. On top of this is an orange slighly skewed to the right N. The left and right lines are skewed clockwise approximately 20 degrees, they are both orange. The line connecting them to form the N is a slightly lighter orange">
</figure>
</a></p>
<p>You ever get a hankering to check if a domain name is available combined with a self-destructive must-buy-domains addiction? You need the Namecheap app. No matter where you are, day or night, on-site or on-bus you can buy your domain names without hassle.</p>
<p>Bonus feature: push notices for expiring domains if you want them.</p>
<h3 id="dropbox">Dropbox</h3>
<p><a href="https://apps.apple.com/us/app/dropbox/id327630330"><figure class="ios-icon"><img src="/images/iosapps-2019/dropbox.jpg"
			alt="Dropbox&#39;s logo is a royal blue background. On this is a simplified isometric box made up of 5 lighter blue squares that appears open at the top.">
</figure>
</a></p>
<p>Everyone knows what Dropbox is. It&rsquo;s a big file dump. I dump files there.</p>
<h3 id="just-press-record">Just Press Record</h3>
<p><a href="https://apps.apple.com/us/app/just-press-record/id1033342465"><figure class="ios-icon"><img src="/images/iosapps-2019/justpressrecord.jpg"
			alt="An orangepink background. On top of this is a white circle. In the white circle is another circle which is the same orangepink colour. Sorry if orangepink makes no sense it&#39;s like a dark salmon colour. Actually I have no idea how visually impaired people percieve colours, these descriptions might be completely useless.">
</figure>
</a></p>
<p>Nifty app that is basically just a giant record button. When you press it, it records your voice. When you stop recording, it transcribes what you said in addition to saving your audio file.</p>
<h3 id="buffer">Buffer</h3>
<p><a href="https://apps.apple.com/us/app/buffer-social-media-manager/id490474324"><figure class="ios-icon"><img src="/images/iosapps-2019/buffer.jpg"
			alt="Buffer&#39;s icon is a white background, on top of which are three squares laid out as squashed diamonds that make up a vague isometric cube. I&#39;m not sure why this is their icon honestly I&#39;m not sure how this relates to buffering things. Maybe it&#39;s a fancy way to do the usual database icon or something.">
</figure>
</a></p>
<p>Want to spam Twitter without losing all your followers? Buffer your tweets so they come out one by one.</p>
<h3 id="screen-link">Screen Link</h3>
<p><a href="https://apps.apple.com/app/screen-link/id1364534041?ls=1"><figure class="ios-icon"><img src="/images/iosapps-2019/screenlink.jpg"
			alt="Dark blue background. On this is a lighter blue hexagon with the pointy bits top and bottom. Inside that is a white triangle pointing to the right in a standard play button style">
</figure>
</a></p>
<p>This is a new one for me. Very new. Like, I discovered this actually this morning new.</p>
<p>Elgato&rsquo;s made a tool that uses iOS&rsquo; screen recording to broadcast your iPad screen to a PC. From there you can bung it into OBS Studio and then stream your iPad or whatever you want to do with a tool like this.</p>
<p>It runs a little bit delayed but if you can live with the latency it&rsquo;s a really nifty tool to stream your iDevice without having to faff with expensive cables and HDMI inputs.</p>
<style type="text/css">
    figure.ios-icon img {
        border-radius: 25px;
        height: 120px;
        width: 120px;
    }
    figure.ios-icon {
        float: right;
        margin: 0;
        margin-left: 14px;
        margin-bottom: 14px;
    }
    h2, h3 {
        clear:both;
    }

    @media only screen and (max-width: 600px) {
        figure.ios-icon img {
            width: 50%;
            height: auto;
            margin: 0 auto;
        }
        figure.ios-icon {
            width: 100%;
        }
    }
</style>]]></content>
        </item>
        
        <item>
            <title>Do more, do different</title>
            <link>https://cohan.dev/do-more-do-different/</link>
            <pubDate>Sun, 09 Jun 2019 21:59:28 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/do-more-do-different/</guid>
            <description>&lt;p&gt;Your brain is far too efficient for a boring old life loop&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Your brain is far too efficient for a boring old life loop</p>
<p>Picture this, you&rsquo;re driving back home from work. You blink and you&rsquo;re home. Were you on autopilot? Was anyone in danger? Scary, right?</p>
<p>I don&rsquo;t think it is quite that scary. While it is true it feels like you&rsquo;ve just driven without any care and attention I think it&rsquo;s more a sort of brain deduplication that&rsquo;s causing the effect. It&rsquo;s not that you weren&rsquo;t paying attention on the way home it&rsquo;s more that your journey was so similar to previous journeys that your brain had no differences to store. Your memory of the trip was deduplicated to save storage space.</p>
<p>Another example. Now that you&rsquo;re older you swear your years are flashing before your eyes. Used to be that a 5 year block might contain entirely different lives. One block you were in school, then another school, then college, then a job, then another job. Each 5 year block is a new life. Now though? Now you blink and 5 years has become 10, 10 has become 15. Time is slipping away without you even noticing.</p>
<p>Deduplication, not just for computers as it turns out. The older you get, the more experiences you have for your brain to cut memory corners. This drive home is the same as that drive home except this time some guy beeped his horn at you. Your brain stores the beep, not the full drive. Congratulations your week now feels like it went by 10 seconds slower than last week. Your memory has a new note saying &ldquo;Same again, but a guy beeped&rdquo;. You&rsquo;ll look back on this delta fondly, I&rsquo;m sure.</p>
<p>It doesn&rsquo;t just apply to the drive home of course. Your day to day falls into &ldquo;The Loop&rdquo;</p>
<h2 id="the-loop">The Loop</h2>
<p>The Loop, while it shares a snazzy code name as WordPress, has nothing to do with making a blog theme. The Loop is your main life. The day to day. Everything is a loop if you let it loop. Your day to day job. Your social life. Heck, your love life if you&rsquo;re not careful.</p>
<h3 id="work-as-a-loop">Work as a Loop</h3>
<p>You wake up at sametime o&rsquo;clock in the morning and eventually decide between quitting your job on the spot to get another 10 minutes sleep and getting out of bed. You wash, brush, and yawn your way out of the house. Grab your commute vehicle of choice. Do the same journey to work you&rsquo;ve done every day since forever. Arrive at work, duck behind a coffee pot for a much needed kick-me-up. Eventually find yourself in front of the same desk with the same screen with the same dusty post-it reminding you to do the same dusty task you&rsquo;ve done a million other times.</p>
<p>Your workmates are this side of being just distracting enough to be annoying while not being distracting enough to make any real difference. You drown out their nattering with your industrial grade ear protection noise cancellator 5 million headphones. Bliss, you call it. The Loop accepts your sacrifice.</p>
<p>The tasks might be micro different but at the macro scale they&rsquo;re all the same. You grab some data. Change it somehow. Dump it out someplace else. Repeat this for an hour or two then go to the same place you went yesterday for lunch. Grab the same sandwich, drink the same cup of coffee. Your loop intersects with the barrista&rsquo;s loop and you exchange the same pleasantries you did yesterday, last week, last month, last year.</p>
<p>&ldquo;The Usual&rdquo; you call it.</p>
<p>Back to work. Back to looking at the dusty tasks with the dusty data exchange and the dusty same old same old. Do that for a few more hours and you come out of the zone just long enough to watch the clock for an uncomfortable amount of time. Eventually you&rsquo;re free, just gotta wait till these numbers line up to the numbers that unlocks you from this groundhog day wannabe situation you&rsquo;re stuck in.</p>
<p>Success! You made it through another day. You blink and you&rsquo;re home, you sit on the same couch, watch the same junky Netflix input, realise the clock&rsquo;s gone by just fast enough that you&rsquo;ve barely got time to do any of the housework that needs doing (its ok, we can do it at the weekend). You&rsquo;ve got just enough time to eat the same old meal to keep the same old life going on. You dump yourself into bed and what feels like 20 seconds pass before you wake up to the sound of an alarm. The alarm alerts you that you&rsquo;re running late for the next cycle.</p>
<p>Repeat.</p>
<h3 id="heck-at-least-we-have-weekends">Heck, at least we have weekends!</h3>
<p>After 5 work cycles you&rsquo;re allowed to close the macro cycle we have all agreed to call a week. Do it for the weekend, someone as covertly depressed as you probably said at some point. The week. It&rsquo;s really just the next loop up. It&rsquo;s loops all the way up really. Just as repetitive. 5 work cycles and a mad rush to cram in as much housework and socialization as you can before Monday signals the next cycle. Do it for the weekend, because it&rsquo;s all you&rsquo;ve really got.</p>
<h3 id="so-how-do-we-all-avoid-blowing-our-brains-out">So how do we all avoid blowing our brains out?</h3>
<p>Holidays, vacation time, paid time off. Some folks get loads, others that live in less socially developed countries such as America get something like 5 minutes PTO per year worked. In any case, it&rsquo;s the only time you get outside the loop. Make it count.</p>
<p>Travel, experience, adventure. Do something that&rsquo;s not just an extension of the weekend. Grab the loop by its dusty old curves and give it a proper kicking. Do something different. Make your brain store the entire event, don&rsquo;t even let your travel plans become the same. For your next time out of the loop challenge yourself - None of this trip will be deduplicated. I&rsquo;m gonna store every second of this.</p>
<h2 id="woah-jeez-dude-are-you-like-super-depressed-or-something">Woah jeez dude are you like super depressed or something</h2>
<p>Hah no. Well I mean maybe. Probably. I usually take magic pills that stop the loops being as depressing but I&rsquo;ve ran out of them at the moment &lsquo;cause the pharmacy&rsquo;s decided swiftness isn&rsquo;t a requirement for such things.</p>
<p>Anyway. Assuming no, at a certain point you&rsquo;ve gotta earn money to pay the bills (they&rsquo;re in the month loop. 5 working day loops combined with 2 days of &ldquo;aw crap the house needs hoovering&rdquo; times four). I guess what I&rsquo;m really writing about is my realisation that booking time off work just to have time off work is not helpful in the long run. I need to spend the time off in a way that&rsquo;s super different. No more just extending the weekends.</p>
<p>Travel, adventure, experience. It&rsquo;s all there is. Things have to be different to avoid eventually realising that you&rsquo;ve done nothing worth noting.</p>
<h2 id="alright-wheres-all-this-going">Alright where&rsquo;s all this going?</h2>
<p>I got nothing else unfortunately. This part of the &ldquo;write a blog post&rdquo; loop has had an intro, had a middle, almost had an end. I&rsquo;ve waffled on enough.</p>
<p>If you&rsquo;ve got any suggestions on how to finish this wandering thought <a href="/contact">let me know</a>! Don&rsquo;t let the loop grind you down. If blog posts had outro music I&rsquo;d pick <a href="https://youtu.be/2agccR1seb4">The Scientist</a> by Dan Warren for this one.</p>
<p>Finally - write a blog. Getting all these thoughts out has been refreshing, even if nobody will ever read them. Till the next cycle, have a good&rsquo;un.</p>]]></content>
        </item>
        
        <item>
            <title>Hosted: The Podcast Host I Want</title>
            <link>https://cohan.dev/hosted-the-podcast-host-i-want/</link>
            <pubDate>Fri, 31 May 2019 13:26:55 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/hosted-the-podcast-host-i-want/</guid>
            <description>&lt;p&gt;People who know me decently well will be aware I&amp;rsquo;ve been here before. Podcast hosting. Also known as yet another abandoned project.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>People who know me decently well will be aware I&rsquo;ve been here before. Podcast hosting. Also known as yet another abandoned project.</p>
<p>Pdcast it was called the last time I tried to make a podcast hosting site. 2014 was the year I believe.</p>
<p>At the time honestly I had no idea what I was doing and had no real target market. I believed dynamic ad insertion would be the new hotness, and as far as I know I came up with it all by myself! It&rsquo;s possible it was already a spark in some other nerd&rsquo;s eye too but dangit, this version of the idea was mine.</p>
<p>I was going to use the <a href="http://sox.sourceforge.net/">SoX</a> tool to cut and slice the user&rsquo;s podcast at points they marked out and would then of course be able to slide in adverts. My thought was that the ads would be created and submitted by advertisers directly. I asked around and people did not like that idea at all! They were of the opinion that being able to inject their own ads, that was an idea worth racing towards.</p>
<p>In 2015 it all came to a screeching halt. A company I was working for who shall remain nameless reneged on a verbal agreement I had with a former manager. Outside projects were not allowed. Shut it all down. Great.</p>
<p>Hey just for anyone who&rsquo;s worried about the possibility of that being a pain in the arse down the line I made sure to claw back all rights they were claiming over Pdcast when I left. I had leverage, it was a whole thing, I&rsquo;ll have to write about it some day. Probably wont. Anyway point is I got all rights to it back. Heck, I even kept hold of the domain.</p>
<p>Where was I? Oh aye, podcast hosting. I put that behind me for a few years. Math nerds in the house will realise the difference between then and now is about 4 years and change. It&rsquo;s about time I gave it another go.</p>
<p>Enter Hosted. Hosted is Pdcast with 4 years and change worth of obsessive background processes, also as a result of things I was missing while working on <a href="/project/would-you-like-to-restart/">another podcast o&rsquo; mine</a>.</p>
<p>So, what was I missing. What will Hosted have?</p>
<h3 id="unlimited-podcasts-same-account-same-price">Unlimited podcasts. Same account, same price.</h3>
<p>Obviously. There&rsquo;s no real reason to be charging per-podcast other than to get rich. I don&rsquo;t need to be rich. I just need to pay the bills.</p>
<p>I also like to tinker with new podcast ideas every now and then.</p>
<h3 id="apis-webhooks-ifttts-zapiers-automation">APIs. Webhooks. IFTTTs. Zapiers. Automation.</h3>
<p>I&rsquo;m a nerd right, you know this. I need to be able to automate literally everything everywhere. There&rsquo;s only so much you can do with RSS feed triggers. I want a dashboard that shows my stats in realtime. I want a damn SMS ping for every 100 downloads we get. I want to.. I don&rsquo;t even know what else I want to do, but I want to be able to do it!</p>
<p>You&rsquo;re damn right this thing is going to have webhooks and an API.</p>
<h3 id="quit-rushing-me-dammit">Quit rushing me, dammit</h3>
<p>No use to me anymore but something I wanted back when I started WYLTR was the ability to not have to rush. I wanted to set up the podcast in advance and then upload a couple of episodes to get things started. Time makes fools of us all and I was already paying a monthly bill by the time we started. How about a podcast host that doesn&rsquo;t start billing until you start using the account?</p>
<p>The first 100 downloads (500-1000 with affiliate referral I think. Undecided.) are covered by a $1 trial with Hosted. Publish, schedule, prep your podcast as much as needed and launch when you&rsquo;re ready to launch. No bills till then.</p>
<h3 id="i-already-got-a-domain-let-me-use-it">I already got a domain. Let me use it.</h3>
<p>I want my feed to be on my domain. I want my podcasts to be on my network&rsquo;s domain. I want other hypothetical things I can&rsquo;t think of. Either way I want vanity. Put my feeds under feeds.cohan.dev. Mostly I want backup plans in case the host goes out of business.</p>
<h3 id="give-me-all-of-the-information">Give me all of the information!</h3>
<p>Podcast hosts only seem to give you a bunch of formatted stats. Graphs and that. In the background they do things like remove robot views and sum up the visits from different locations and that. Nah pal. Give me the raw access logs even. At least give me the verified stats and &ldquo;Other&rdquo;.</p>
<p>Of course GDPR as it is (and it is great, you app devs need to quitcha bitchin) the requesting IP will be anonymized. Last octet blanked in an IPv4, can&rsquo;t remember how much for an IPv6 off the top of my head - but that.</p>
<h3 id="trust-me">TRUST ME!</h3>
<p>Alright the hosts I&rsquo;ve used before haven&rsquo;t not trusted me in the past or anything but I do wish there were things I could override. No please I know your system wants to resample my audio to 12kbps mono or whatever but if I have a super special episode I&rsquo;d like to say no to it. Just this episode. Please podcast host, don&rsquo;t treat my special episode like every other episode. It&rsquo;s special! This one needs to be in stereo for some reason just output it the way I uploaded it.</p>
<h3 id="on-the-other-hand-dont">On the other hand, don&rsquo;t</h3>
<p>I&rsquo;d also like to be able to specify what my output format <em>should</em> normally be. If I accidently upload a 10 megabit per second 4K video as my episode but my podcast is a 128kbps mono deal, let me know. Also seeing as I uploaded it overnight could you handle the part where the audio is pulled out? Nice one. Also lemme know if there&rsquo;s like 3 minutes of silence randomly in the middle of the episode if you could aye? Nice one.</p>
<h3 id="chapter-support">Chapter support</h3>
<p>I&rsquo;ve been in love with chapters ever since I found that <a href="https://relay.fm">Relay</a> used them with <a href="https://relay.fm/cortex">Cortex</a> - they&rsquo;re so good! But I forget to do them, or I don&rsquo;t have a mac that adds them, or whatever. Anyway the host having the functionality would be awesome</p>
<h3 id="integrations">Integrations</h3>
<p>I know earlier I wanted APIs and all that but I&rsquo;d also love it if the host did the basics. Let me specify a pattern like &ldquo;Just posted a new episode: {{episode}}&rdquo; and post it on the Twitters and whatnot.</p>
<h2 id="cool-story-bro">Cool story bro</h2>
<p>Oh yeah basically I&rsquo;m building that with <a href="https://hosted.fm">Hosted</a>. It&rsquo;ll come out bit by bit but thems the plans. First stop though is a way for people to import, upload, create, etc. Then the other things.</p>
<h2 id="update-2019-06-01">Update 2019-06-01</h2>
<p>Oh aye, forgot to mention. With all this talk of Luminary knocking about, I also want to show them how it&rsquo;s done. Hosted will support private subscription only podcasts. Served properly. With an RSS feed.</p>]]></content>
        </item>
        
        <item>
            <title>Make Slack a Little Less Distracting</title>
            <link>https://cohan.dev/make-slack-a-little-less-distracting/</link>
            <pubDate>Tue, 21 May 2019 10:23:51 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/make-slack-a-little-less-distracting/</guid>
            <description>&lt;p&gt;In the browser version of Slack the favicon shows up white if any message appears. This disables that, keeping the red new-message icon intact&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>In the browser version of Slack the favicon shows up white if any message appears. This disables that, keeping the red new-message icon intact</p>
<p>You&rsquo;ll need a browser blocker to do this (I highly recommend <a href="https://getublock.com/">uBlock Origin</a> but any that support the Adblock-style personal blocking lists will work)</p>
<h2 id="for-a-specific-slack-server">For a specific Slack server</h2>
<p>In your personal filter list, add the following URL - replacing INSTANCE with your Slack server&rsquo;s name</p>
<p><code>https://INSTANCE.slack.com/img/ico/app_icon_32px_online_unreads.png</code></p>
<h2 id="for-all-slack-servers">For all Slack servers</h2>
<p>Same thing but in your personal filter add the URL</p>
<p><code>https://a.slack-edge.com/5d94d/img/ico/app_icon_32px_online_unreads.png</code></p>
<h2 id="done">Done</h2>
<p>Now when a message that doesn&rsquo;t need your attention comes in you don&rsquo;t get the distracting white favicon, but will still get the red version of the icon to indicate you&rsquo;ve got a new direct message. Noice.</p>]]></content>
        </item>
        
        <item>
            <title>Why is a slug called a slug?</title>
            <link>https://cohan.dev/why-is-a-slug-called-a-slug/</link>
            <pubDate>Fri, 10 May 2019 21:16:00 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/why-is-a-slug-called-a-slug/</guid>
            <description>&lt;p&gt;No, not the gooey creature. The thing like what’s attached to the URL of this post&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>No, not the gooey creature. The thing like what’s attached to the URL of this post</p>
<p>Another one of those random wonder situations while using Laravel&rsquo;s <code>Str::slug()</code></p>
<blockquote>
<p>Oh hey, me, why do you reckon they call it a &lsquo;slug&rsquo; of all things?</p>
</blockquote>
<p>Well, past me. I had a look into it a bit and it turns out it <em>is</em> actually named after the gooey creature.</p>
<p>Comes from the ye olde paper-based blogs they call newspapers. When an article is being put together it&rsquo;s given a short name, sort of like a project name. This name would remain the same throughout the article&rsquo;s life - from reporter through to editor - it left its trail through the process. Like a slug.</p>
<p>From there like things such as text it was one of the parts we kept when we went digital</p>
<p><img src="/images/slug.png" alt="It&rsquo;s a picture of a slug i drew on the ipad. He is a happy lil fella and is saying &ldquo;I make goo!&rdquo;"></p>]]></content>
        </item>
        
        <item>
            <title>Stop working on infrastructure! Your side project doesn&#39;t need it!</title>
            <link>https://cohan.dev/stop-working-on-infrastructure/</link>
            <pubDate>Tue, 07 May 2019 19:03:49 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/stop-working-on-infrastructure/</guid>
            <description>&lt;p&gt;You there. Yes, you. Working on your side project, trying to figure out Kubernetes or whatever at the same time. Get in here.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>You there. Yes, you. Working on your side project, trying to figure out Kubernetes or whatever at the same time. Get in here.</p>
<p>What are you doing? You know how to host a website, you&rsquo;ve been doing it over a decade. This project you&rsquo;re working on does not need a 3x node Kubernetes cluster with auto CI build and deploy from GitLab, what are you doing?</p>
<p>No it doesn&rsquo;t need you to set up some self-hosted Heroku, Dokku, Flynn, whatever thing. Come on man, just write the dang code. If you ever get the users that that sort of thing is needed slap a Varnish server in front of it and worry about scaling it up then.</p>
<p>Write. The. Damn. Code.</p>
<p><img src="/images/monkey-mirror.jpg" alt="Image is of a lil monkey fella looking into a small round mirror. The monkey is looking at the camera via the reflection."></p>
<p>Spoiler alert: Talking to myself.</p>
<p>Update 2019-05-04: moss.sh was messing me around so I rage-infrastructured after it sucked out all my code oomph.</p>
<p>Got this little number set up for now..</p>
<p><img src="/images/infr.jpg" alt=""></p>
<p>Oopsies 😅</p>]]></content>
        </item>
        
        <item>
            <title>What’s up with the desire to fire when something goes wrong?</title>
            <link>https://cohan.dev/desire-to-fire/</link>
            <pubDate>Sat, 04 May 2019 14:20:04 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/desire-to-fire/</guid>
            <description>&lt;p&gt;Mozilla did an oops and Twitter is full of people hoping someone got fired for it.. what?&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Mozilla did an oops and Twitter is full of people hoping someone got fired for it.. what?</p>
<p>One of their intermediate certificates expired from what I can gather, which made Firefox ditch everyone&rsquo;s plugins. Pretty big balls up, but it happens. I can easily picture a scenario where a certificate is being monitored but the intermediate isn&rsquo;t. In fact I need to double check my own monitoring setup..</p>
<p>The main thing that is grinding my gears though are the people hoping the person responsible is fired&hellip; what the fuck? I&rsquo;m a guy who loves his plugins as much as the next person, but to fire someone over this? If Mozilla were to do that I&rsquo;d be first on the lifetime boycott.</p>
<p>Firstly there&rsquo;s the human side. Your adblock stopped working so you want to take away someone&rsquo;s livelihood? This is an annoyance maybe, but a fireable offence? Absolutely not.</p>
<p>Next the business side. Do you think the person who caused this - and that&rsquo;s even assuming it was a one-person blunder rather than a systematic failure - is ever going to let this happen ever again? Do you think the people responsible for their certificate setup are going to let this slide under the rug with a “lol oops”? This is probably going to be fixed forever as a result of this&hellip; if you don&rsquo;t fire the people feeling personally responsible for it.</p>
<p>Third up.. what sort of situation is the world in that anyone calls for a firing anyway? Firings should be reserved for gross misconduct and things along that line, not oopsies in the day to day work. That&rsquo;s all this is. It&rsquo;s an oopsie. It&rsquo;ll be fixed, it sucks it happened, but it will be fixed. You can&rsquo;t fix firing someone.</p>
<p>Give it a rest with the calling for jobs. Let the folks involved stew over the issue, not their future ability to pay the bills. Have a heart.</p>
<p>There are two kinds of people in a tech career. Those that have caused a massive outage by accident, and those that <em>will</em> cause a massive outage by accident. Let&rsquo;s hope nobody’s calling for your job when it happens to you, eh?</p>
<p><img src="/images/confused.jpg" alt="Stock image. The foreground has a man in the centre. He&rsquo;s working at a laptop looking stressed, left hand in hair and a grimace on his face. In the background behind the laptop man to our left are two gentlemen in smart casual dress looking at a calculator or something. Far right of theimage is a screenshot with generic token businessy words"></p>]]></content>
        </item>
        
        <item>
            <title>Star Trek Ponders: Holographic Food</title>
            <link>https://cohan.dev/star-trek-ponders-holographic-food/</link>
            <pubDate>Sat, 04 May 2019 11:57:26 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/star-trek-ponders-holographic-food/</guid>
            <description>&lt;p&gt;What would happen if you ate holographic food long enough it was supporting your life — then you left the holodeck?&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>What would happen if you ate holographic food long enough it was supporting your life — then you left the holodeck?</p>
<p>Classic nerd thing. I woke up this morning wondering what would happen if you spent so long in the Star Trek holodeck eating holographic food that a large portion of your body was made up of holographic cells. We’re making the assumption that the holodeck could handle your body processing the holofood into holocells and from there handle where each holoatom sits in your system.</p>
<p>Holographic body parts were possible when Neelix has his lungs stolen off him in Voyager that one time, but they were complex things that meant he couldn&rsquo;t move else the computer couldn&rsquo;t keep up. If you got to that point you&rsquo;d just keel over dead the second you moved, but we’re only talking individual cells. The projectors would just need to keep them moving with you, not moving and processing oxygen. Should be alright there.</p>
<p>But then you leave the holodeck. Oh no, a bunch of cells in your body just vanished. Pain at best, structural collapse and disintegration at worst. Nice.</p>
<p>Looked into it as any good nerd would and as it turns out the holodecks get past this issue with creative use of the replicator and transporter systems. If you eat food on the holodeck, you&rsquo;re actually eating regular replicated food.</p>
<p>I&rsquo;m glad someone thought of this.</p>
<p><img src="/images/holodeck.jpg" alt="Image is of Star Trek Voyager&rsquo;s holodeck. In the image appears Voyager&rsquo;s Captain Janeway and the Emergency Medical Hologram known as The Doctor"></p>]]></content>
        </item>
        
        <item>
            <title>Huel followup - one month in</title>
            <link>https://cohan.dev/huel-followup/</link>
            <pubDate>Wed, 01 May 2019 19:48:12 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/huel-followup/</guid>
            <description>&lt;p&gt;It&amp;rsquo;s (almost to the hour) been a month since my previous Huel post. Figure it&amp;rsquo;s time to follow it up.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>It&rsquo;s (almost to the hour) been a month since my previous Huel post. Figure it&rsquo;s time to follow it up.</p>
<p>tl;dr it&rsquo;s still good</p>
<p>This is a followup to <a href="/huel-first-impressions/">Huel - First Impressions</a></p>
<h2 id="how-much-you-been-having">How much you been having?</h2>
<p>I&rsquo;ve been going with two shakers worth per workday give or take the odd day. On weekends I&rsquo;ve been keeping to regular food because I&rsquo;m usually at home and it&rsquo;s handy enough to grab food whenever. Specifically I&rsquo;ve been having the coffee flavour for breakfast and the original flavour for lunch. Regular food for tea.</p>
<h2 id="the-money-bit-again">The money bit again</h2>
<p>In the last post I mentioned how I split my order with <a href="https://twitter.com/tiprun">Fox</a>, I&rsquo;ve since re-ordered a couple of bags. The amount I&rsquo;ve gone through was around about two pouches, that sets my monthly cost at the standard order £45 (£40.50 if using their subscription thing). Handy that.</p>
<p>Especially when you consider that a standard week of lunches at work winds up about £84/mo minimum, top end around £200/mo if I&rsquo;m having cheeky coffees on the way in. Replacing lunch with Huel is basically profitable at this point. 😂</p>
<h2 id="the-return-of-the-gut-fillingness">The return of the gut fillingness</h2>
<p>I mentioned how I&rsquo;d gone with the 4 scoops in the last one but since then I&rsquo;ve switched it down to the recommended 3, I&rsquo;ve had no problem with this so far. The stomach&rsquo;s still full and doesn&rsquo;t randomly purr at me. All well on that front</p>
<h2 id="gaseous-maximus">Gaseous Maximus</h2>
<p>I think my innards were confused with the change. Not gonna lie. There was bit of excessive backfiring now and then, but nothing too bad. Fizzled out after a week or so. No real worries there.</p>
<h2 id="flavours">Flavours</h2>
<p>So far I&rsquo;ve tried the Vanilla, Original, and Coffee flavours. I&rsquo;d rank them in that order I think. I&rsquo;ve seen a lot of hype on the Huel forums about Original being the best flavour but honestly I think their new vanilla flavour is better. For reference Original is another version of vanilla flavouring.</p>
<h2 id="wrapping-up">Wrapping up</h2>
<p>I reckon I&rsquo;m onto a winner with the Hueling, going to stick with it. It ticks all the boxes in terms of easy eating and knocks out one of my largest expenditures per month.</p>
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
			<iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/a8c5wmeOL9o?autoplay=0&amp;controls=1&amp;end=0&amp;loop=0&amp;mute=0&amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"></iframe>
		</div>]]></content>
        </item>
        
        <item>
            <title>The mind blowing value of a trillion dollars</title>
            <link>https://cohan.dev/one-trillion-dollars/</link>
            <pubDate>Mon, 29 Apr 2019 20:38:46 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/one-trillion-dollars/</guid>
            <description>&lt;p&gt;In this article: [tim and eric mind blown gif]&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>In this article: [tim and eric mind blown gif]</p>
<p>Apple&rsquo;s done it, Amazon&rsquo;s done it. Microsoft? Been there, done that. [Pinky goes to lip] One <em>trillion</em> dollars.</p>
<p>Here&rsquo;s the thing though - my brain taps out at about a billion in terms of picturing just how much cash that is. Scratch that, I probably can&rsquo;t even picture a million honestly.</p>
<p>Let&rsquo;s set the stage a little. Say you&rsquo;ve got a grand knocking about. You decide to spend a dollarydoo a second and see how long it lasts.</p>
<p>Hypothetically you don&rsquo;t realise you could just calculate the answer. We&rsquo;ll also assume you&rsquo;re storing the cash in an old sock or something so we don&rsquo;t have to worry about calculating interest&hellip; also there&rsquo;s no inflation? Shut up.</p>
<p>Spending a dollar a second, your grand runs out in just over 16 and a half minutes. Welp. That explains the credit card bill.</p>
<p>Say you had a million, same rules otherwise. Your slow splash of cash now lasts a whopping&hellip; oh. 11 and a half days.</p>
<p>Billion? Here we go. This is the big cheese. If you&rsquo;re spending a billion at one dollar a second you&rsquo;re now lasting over 30 years. Neat!</p>
<p>Alright so the big T-rillion. How long does that last?</p>
<p>31.6 <em><strong>thousand</strong></em> years</p>
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
			<iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/l1dnqKGuezo?autoplay=0&amp;controls=1&amp;end=0&amp;loop=0&amp;mute=0&amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"></iframe>
		</div>

<p>People in the crowd who can maths gud be like &ldquo;yup that&rsquo;s how numbers be&rdquo;</p>]]></content>
        </item>
        
        <item>
            <title>Blogging anxiety</title>
            <link>https://cohan.dev/blogging-anxiety/</link>
            <pubDate>Sat, 27 Apr 2019 21:00:15 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/blogging-anxiety/</guid>
            <description>&lt;p&gt;Whenever you write an article do you think &amp;ldquo;man, what sort of hyperactive nutbar wrote this?&amp;rdquo;&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Whenever you write an article do you think &ldquo;man, what sort of hyperactive nutbar wrote this?&rdquo;</p>
<p>I don&rsquo;t know if it&rsquo;s just my writing style (read: brain dump) or what, but whenever I run the publish commands I get a spike of anxiety relating to &ldquo;if someone reads this they wont know what the heck I&rsquo;m rambling on about&rdquo;</p>
<p>Maybe I should whittle each post down a bunch before saving? Problem there is that I&rsquo;d never actually post anything, I&rsquo;d still be writing and rewriting my post about switching to Hugo if I did that.</p>
<p>I&rsquo;m also aware that this blog is the equivalent of the podcast genre Two Dudes Talking. There&rsquo;s not really much here and a lot of it is fluff. Could really do with writing a tutorial or 10 on that front. But what to write about? The majority of this site&rsquo;s audience is people still having <a href="/fix-windows-8-laptop-dropping-wifi-connection-constantly/">problems with their Windows 8 wifi</a> as far as my stats show, so I don&rsquo;t even know what market I&rsquo;m in here!</p>
<p>Do you write about the simple stuff, stuff for people first getting into the various things I know about? Pretty boring for folks who already know it. Do you try to go really ham on the latest and greatest thing learned? Probably just get it all wrong.</p>
<p>Restrain myself and only post when there&rsquo;s something new to post in my <a href="/project/">projects</a>? When it comes to my own side projects I&rsquo;m a bit of a slacker, there might never be a post on the site again! Not to mention they&rsquo;d all be disappointments. My bailed-on projects list is infinitely larger than my shipped-it projects list. You&rsquo;d get to read about my hopes and dreams for a new idea and then the crushing fizzlement a few weeks later when I move on to the next shiny pen.</p>
<p>I&rsquo;ve been told by friends (who are obligated to be nice, course) that they like my writing style so that&rsquo;s a thing I guess? Hopefully you do too. I mean you&rsquo;ve read this post where I&rsquo;m waffling meta about posts so there&rsquo;s that.</p>
<p>I&rsquo;m also pinching an idea from <a href="http://www.cgpgrey.com">CGP Grey</a> soon, where I write a bit about the books I&rsquo;ve recently read, that should be a decent bit of blog fodder. Not reviews as such, just notes about the highlights I&rsquo;ve made while reading.</p>
<p>The phrase &ldquo;fake it till you make it&rdquo; keeps crossing my radar. Maybe I should just write about how I&rsquo;m doing all these awesome great projects that are going well and in reality I&rsquo;ve barely even ran the &ldquo;Init Laravel&rdquo; commit yet?</p>
<p>I dunno. <a href="/contact">Let me know</a> what you think, or just roast the heck out of my writing over on the <a href="/twitter/">Twitter</a>! Every little helps, I&rsquo;ll figure out what I&rsquo;m upto eventually.</p>]]></content>
        </item>
        
        <item>
            <title>Redesigned the site a bit innit</title>
            <link>https://cohan.dev/redesigned-the-site/</link>
            <pubDate>Sat, 27 Apr 2019 13:56:00 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/redesigned-the-site/</guid>
            <description>&lt;p&gt;Gave my site a new splash of paint. Good times. Roast away.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Gave my site a new splash of paint. Good times. Roast away.</p>
<p>I mean I say redesigned. I didn&rsquo;t do squat in regards to the design other than install the theme &ldquo;<a href="https://github.com/rhazdon/hugo-theme-hello-friend-ng/">hugo-theme-hello-friend-ng</a>&rdquo; (great branding lol) and make a few tweaks to make it my own.</p>
<p>I realised I was rereading my posts using Instapaper because it was nicer to read. Hey slightly younger me, maybe change your site if you don&rsquo;t even like it yourself?</p>
<h1 id="why-i-chose-this-theme">Why I chose this theme</h1>
<p>I picked this theme because of the <a href="/post">post list</a> honestly. Do love me some of that year by year listing with the dotted lines. I was also looking for a dark theme and there&rsquo;s not many of them.</p>
<h2 id="what-you-changed-chief">What you changed chief?</h2>
<p>First thing&rsquo;s first I scrapped the entire footer copyright and credit nonsense. I&rsquo;m not hiding who made the theme (it was <a href="https://github.com/rhazdon/hugo-theme-hello-friend-ng/">rhazdon</a>) and I&rsquo;m not hiding that it&rsquo;s powered by Hugo. I just don&rsquo;t want to have a footer on every page saying that, it looks messy.</p>
<p>Scrapped off the blinking cursor in the logotext. It was a neat effect but I found when reading it was distracting.</p>
<p>Added back in my comment system powered by <del><a href="https://talk.cohan.dev">my discourse instance</a></del>. Changed to a dark theme there too, as well as changed the comment embed CSS to match this site.</p>
<p>Tweaked the cover image up top so that it&rsquo;s height-limited so the image doesn&rsquo;t take up too much screen space.</p>
<p>Added the ever-important <a href="https://patreon.com/cohan">Patreon link</a> to the footer. Obvs.</p>
<h2 id="issues-and-gripes">Issues and gripes</h2>
<p>The damn homepage is being weird (on the public site I&rsquo;ve just redirected it to the posts listings for now). Sometimes hugo renders it. Sometimes it doesn&rsquo;t. Or maybe the browser&rsquo;s not rendering it. Or maybe it&rsquo;s my eyes and I&rsquo;m just not seeing the text on the homepage for some reason. I haven&rsquo;t got a clue what&rsquo;s up with that. Stick it on the laterbase.</p>
<p>[Edit literally after publishing this post: oh hey it works now. nice.]</p>
<h1 id="why-are-you-posting-about-it-though-nobody-cares">Why are you posting about it though, nobody cares</h1>
<p>My task manager said I was due for another blog post and I couldn&rsquo;t think of anything else to write. What do you want me to write about? <a href="/contact/">Hit me up in that there contact form</a></p>]]></content>
        </item>
        
        <item>
            <title>The Problem with Luminary and Other Exclusive &#34;Podcast&#34; Hosts</title>
            <link>https://cohan.dev/the-problem-with-exclusive-podcasts/</link>
            <pubDate>Mon, 22 Apr 2019 21:21:34 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/the-problem-with-exclusive-podcasts/</guid>
            <description>&lt;p&gt;&amp;ldquo;heh guess people just don&amp;rsquo;t like paying for things&amp;rdquo;&lt;/p&gt;
&lt;p&gt;Dammit, no. That&amp;rsquo;s not the problem.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>&ldquo;heh guess people just don&rsquo;t like paying for things&rdquo;</p>
<p>Dammit, no. That&rsquo;s not the problem.</p>
<p>More news of Luminary, Spotify, The BBC, etc doing their exclusive lockdown of the podcast ecosystem popping up as Luminary readies to go live.</p>
<p>The problem these companies don&rsquo;t seem to grasp, and indeed the tech blogs that report on them, is the problem with them is <em>not</em> that they&rsquo;re paid content. It&rsquo;s that they&rsquo;re <em>not podcasts</em>.</p>
<p>Podcasts have RSS feeds. Podcasts can be played in any podcast client. Podcasts can be played <em>on iPods</em>, dammit. There needs to be a way to download the episodes and play them on any device.</p>
<p>Patreon for example gets this. You can set up an exclusive-to-patrons podcast feed on their system and Patreon will give your patrons a unique link that they can use to access the content. <em>This is all it needs</em>.</p>
<p>If Luminary, Spotify, The BBC, whoever else, were to provide users with a unique RSS URL they can subscribe to in their client of choice we&rsquo;re all on the same page.</p>
<p>It is <em>not</em> an issue with paying for podcasts. It&rsquo;s an issue with their podcasts not being podcasts. Open up your doors, podcasting is inclusive - not exclusive.</p>
<p>Let the market decide if your podcasts are worth paying for, don&rsquo;t try to lock down the ecosystem that&rsquo;s been around since before you were a startup sparkle in some nerd&rsquo;s eye. Quit trying to wall everything off. Ya dinguses.</p>]]></content>
        </item>
        
        <item>
            <title>Podcast Chapter-o-tron</title>
            <link>https://cohan.dev/podcast-chapters-o-tron/</link>
            <pubDate>Sat, 20 Apr 2019 20:00:00 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/podcast-chapters-o-tron/</guid>
            <description>&lt;p&gt;I wanted a simple way to add chapters to my podcast episodes.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>I wanted a simple way to add chapters to my podcast episodes.</p>
<p>I know there&rsquo;s other software out there that does this - it&rsquo;s mostly all Mac software (grumble grumble) - but I wanted a nice simple web interface to adding podcast chapters. Naturally I couldn&rsquo;t find one.</p>
<p>Enter the Podcast Chapter-o-tron. Select your podcast file, specify where your chapters need to be, hit Go. Give it a moment to upload and process and it&rsquo;ll chuck you back a file with your chapters encoded in to the file.</p>
<p>These chapters have tested working with Overcast so far, but I imagine any player that supports chapters will display them.</p>
<p>To note this is the very most basic initial build of this sort of thing, so it&rsquo;s missing a few things. No file upload or processing progress bar yet and if there&rsquo;s an error it&rsquo;ll just chuck you your file back (I know, that&rsquo;s not the best).</p>
<p>Also because I&rsquo;m just hosting it on my standard tinkering server for now if the disk fills up it&rsquo;ll probably just completely fall over spectacularly. I&rsquo;ll keep an eye on that for now and set it up to clean up old files automatically soon.</p>
<p>[Update 2019-04-22: It now auto-removes the uploaded files when they&rsquo;re no longer needed]</p>
<p><img src="/images/podhex/chapters.png" alt="A screenshot from the podhex chapters tool"></p>]]></content>
        </item>
        
        <item>
            <title>A sample of my Zapier zaps to wet your automation whistle</title>
            <link>https://cohan.dev/a-selection-of-zaps/</link>
            <pubDate>Wed, 17 Apr 2019 20:20:09 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/a-selection-of-zaps/</guid>
            <description>&lt;p&gt;Something I wish I&amp;rsquo;d been able to find when I first got into Zapier: Examples, ideas, thoughts. Here&amp;rsquo;s mine.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Something I wish I&rsquo;d been able to find when I first got into Zapier: Examples, ideas, thoughts. Here&rsquo;s mine.</p>
<h3 id="archive-completed-tasks">Archive completed tasks</h3>
<p>![](/images/zapier-samples/Archive Completed Tasks.png)</p>
<p>I use <a href="https://skedpal.com">Skedpal</a> to manage my calendar. Unfortunately its memory is not the best, events vanish a couple of weeks or so after they&rsquo;re complete. This one&rsquo;s simple, when a task is marked as complete it finds the event in Google Calendar and duplicates it to another calendar.</p>
<h3 id="on-create-blog-post">On: Create blog post</h3>
<p>![](/images/zapier-samples/Create blog post 1.png)</p>
<p>![](/images/zapier-samples/Create blog post 2.png)</p>
<p>This one will be happening right now, if you caught this post quick enough.</p>
<p>When I publish a new post it chucks out a tweet on my account, then creates an event in my calendar (due in 3 days) to re-publish the post on Medium. It then adds the post to a digest. This digest is populated with links to my posts this month as well as other select project updates. The Zap is scheduled to release the digest on the last day of the month.</p>
<p>When it does, it grabs the current month using the Date / Time formatter and creates a draft email in the mailer I use (A self hosted Sendy install). It then finishes up by adding a task to Skedpal for me to test and send the newsletter. It also pings me on Slack in case I&rsquo;m anywhere near a computer to send it straight away.</p>
<h3 id="some-more-of-the-same---new-wyltr-episode">Some more of the same - New WYLTR episode</h3>
<p>![](/images/zapier-samples/WYLTR post 1.png)</p>
<p>![](/images/zapier-samples/WYLTR post 2.png)</p>
<p>![](/images/zapier-samples/WYLTR post 3.png)</p>
<p>Next up is similar to the previous, but runs when a new <a href="https://wyltr.com">WYLTR</a> episode goes up.</p>
<p>First up it creates a draft for <a href="https://wyltr.com/subscribe-email">WYLTR&rsquo;s mail list</a> mail burst, then adds a link to the above-mentioned digest (Manual release trigger so that it doesn&rsquo;t block the rest of the process till the end of the month!). Chucks a message on Slack so I knows this process is happening, chucks a message to the <a href="https://wyltr.com/discord">WYLTR Discord</a>, chucks a task into my todo list to send the mailer, chucks a task in to post to the <a href="https://wyltr.com/patreon">WYLTR Patreon</a>.</p>
<p>Social stuff happens next. It chucks the post into my personal account&rsquo;s Buffer (it&rsquo;s something I&rsquo;m trying out, it&rsquo;s not triggered since changing from a standard Twitter post yet).</p>
<p>It then hits a 6 hour delay before posting to <a href="https://wyltr.com/twitter">WYLTR&rsquo;s Twitter</a> - bit of background info my podcast host <a href="https://transistor.fm">Transistor</a>  auto-tweets for me immediately as the episode goes live. I don&rsquo;t want to have a double tweet, but I do want to catch a later audience. Might get rid of this second tweet stage at some point. Not sure yet.</p>
<h3 id="deploy-the-website-when-theres-a-new-episode">Deploy the website when there&rsquo;s a new episode</h3>
<p>Of course that last one is no use if a post never goes up to trigger it.</p>
<p>![](/images/zapier-samples/Autodeploy WYLTR.png)</p>
<p>This RSS trigger goes by the podcast RSS feed directly, rather than WYLTR&rsquo;s site feed. More background info the site is a Hugo site hosted on Netlify. It&rsquo;s all static site nerd stuff, don&rsquo;t worry about it. Anyway it needs a kick to make changes.</p>
<p>In this one when there&rsquo;s a new podcast episode it will wait 4 hours before kicking off a site deploy (maths nerds in the crowd will realise the 6 hour delay before adds to this making a 10 hour delay between the auto-tweets)</p>
<p>The deploy assumes that I&rsquo;ve written a post ready for the new podcast episode and set the date to the future at the time. This datetime will be after the current time (so it doesn&rsquo;t post too soon) but before the time this trigger goes off. Effectively it&rsquo;s just a nerd way of scheduling a post. It&rsquo;s much easier to do in WordPress just use that.</p>
<h3 id="fin">Fin</h3>
<p>That&rsquo;s about it for now. Just wanted to chuck up a few Zaps that were a little beyond the normal IFTTT-like if one thing does something, do this. Lemme know if you&rsquo;ve got any fancy ones in the comments! Also feel free to ask anything about automation, I&rsquo;ll do my best to help you get lazy through tech!</p>
<p>Speaking of IFTTT, if all of this seems a bit too much (or Zapier&rsquo;s price plan scares you off) you can do a lot of this sort of stuff in <a href="https://ifttt.com">IFTTT</a>. Unfortunately it&rsquo;s a little more basic, no logic operators or multi-steps. Still for very basic thing there&rsquo;s nothing wrong with doubling up a trigger.</p>
<p>Something like</p>
<p><code>If [website RSS feed] then [post to Twitter]</code><br>
and a second<br>
<code>If [website RSS feed] then [post to Facebook Page]</code></p>
<p>will do you nicely for the basics</p>
<p>I&rsquo;ll leave you with one that posts your blog posts to your Reddit profile</p>
<p><img src="/images/zapier-samples/reddit-ifttt.png" alt=""></p>
<p>Automate everything!</p>]]></content>
        </item>
        
        <item>
            <title>Just give it a go</title>
            <link>https://cohan.dev/just-give-it-a-go/</link>
            <pubDate>Wed, 17 Apr 2019 11:58:16 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/just-give-it-a-go/</guid>
            <description>&lt;p&gt;Came across a reddit topic that really puts a reason behind the &amp;ldquo;Just give it a go&amp;rdquo; attitude&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Came across a reddit topic that really puts a reason behind the &ldquo;Just give it a go&rdquo; attitude</p>
<p><a href="https://www.reddit.com/r/sysadmin/comments/be00hn/do_not_underestimate_the_simple_things_you_do/">Do NOT underestimate the simple things you do, seriously.</a></p>
<p>In the briefest of summary - the OP was bouncing a request for help because they didn&rsquo;t think they could handle the problem. The requester of the help was getting desperate and kept coming back. The OP finally relented and gave it a look-see&hellip; Then fixed it. Immediately.</p>
<p>Never underestimate your ability, your ability to help despite it not being your skillset, and most importantly - Never underestimate your Google-fu.</p>
<p>You got this.</p>
<p>Unless it&rsquo;s a toaster. Don&rsquo;t try to fix toasters.</p>]]></content>
        </item>
        
        <item>
            <title>Huel - First Impressions</title>
            <link>https://cohan.dev/huel-first-impressions/</link>
            <pubDate>Mon, 01 Apr 2019 22:15:00 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/huel-first-impressions/</guid>
            <description>&lt;p&gt;Been jumping on another hipster bandwagon. This time, Huel!&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Been jumping on another hipster bandwagon. This time, Huel!</p>
<p>tl;dr: We&rsquo;ve got another 10/10 for a hipster product! I&rsquo;m going to have to start reviewing vape flavours and coffee blends if I keep this up.</p>
<h2 id="money-money-money">Money money money</h2>
<p>First up, it&rsquo;s a bit pricey at a minimum order of 2 bags (£45). They say they took away their sample size because it doesn&rsquo;t give you enough of a feeling for it but I disagree. I enjoyed the stuff from the first chug.</p>
<p>I went in halfsies with <a href="https://twitter.com/tiprun">Fox</a> who also wanted to try it out, which wasn&rsquo;t a bad plan for testing purposes - if in in doubt find a friend to split your order with (You gotta order at least 2x of the pouches) - bonus it also means you can both get a tenner off your second order if you use the coupon from the first order!</p>
<h2 id="a-stop-off-at-flavour-town">A stop off at flavour town</h2>
<p>When you first mix it, you&rsquo;re confronted with something that could possibly have been puked prior. It&rsquo;s not exactly a 5 star meal with garnish placed delicately on top but it&rsquo;s not bad.</p>
<p>Personally I went for the plain old vanilla flavour because I wanted to give it a fair shot without worrying about a naff flavour - I&rsquo;ve tried protein shakes before, I know that chocolate can sometimes mean chalk dirt..</p>
<p>Naturally only having tried vanilla so far I can&rsquo;t speak for the others but the one I have tried I&rsquo;d describe as quite a premium flavouring. It&rsquo;s not like it&rsquo;s whatever Huel tastes of naturally with a hint of flavour sprinkled on, it actually tastes like the flavour is built into the mix. I dunno, it just tastes.. premium.</p>
<h2 id="gut-fillingness">Gut fillingness</h2>
<p>I missed breakfast, nothing to do with trying Huel, just straight up too busy to eat. Handily that put me on a completely empty stomach (complete with thunderstorm gut noises all damn morning) when I had my second dose of Huel. I caved to temptation at around 11am and had my 4-scoop mix. Huel&rsquo;s packaging has directions to mix 3 scoops with water but honestly it felt ever so slightly too thin for me. If you&rsquo;re gonna go oat drink, go all in oat drink!</p>
<p>Side note if you make it in advance (night before for breakfast, when you get to work if lunch, etc) - chuck it in the fridge. The vanilla one has a flavour and texture reminiscent of them Oreo Krushem milkshakes KFC does when it&rsquo;s chilled.</p>
<p>As I say I had the Huel at 11am, from an empty stomach I felt full all the way through until around 6pm and could probably have pushed further if I had to. Not bad! Usually I&rsquo;m grazing on all sorts of crisps and other snacks throughout the day.</p>
<h2 id="alright-summary-me-up">Alright summary me up</h2>
<p>In summary I recommend giving it a go if you can afford it without it breaking the bank. Doubly so if you spend more than the cost of the Huel for lunch at work. Personally I&rsquo;m trying it in an attempt to cut down on spending during the day. I figure if a 50 quid lot of Huel can last me a month it&rsquo;s a damn sight cheaper than the 80-200 quid a month I&rsquo;ve been splashing on lunch at work.</p>
<p>I plan on following up on this after a week of using the Huel if anything drastic changes, and another a month into it to see if I&rsquo;ve stuck with it</p>
<h2 id="relevant-nerd-reference">Relevant nerd reference</h2>
<p><a href="https://memory-alpha.fandom.com/wiki/Nutritional_supplement"><img src="https://i.imgsir.com/ZOVX.gif" alt="A gif of Star Trek Voyager&rsquo;s Seven of Nine saying &ldquo;I have no desire to have fun&rdquo;"></a></p>
<h2 id="followup">Followup</h2>
<p>I followed up this post at <a href="/huel-followup/">Huel followup - one month in</a></p>]]></content>
        </item>
        
        <item>
            <title>YouTube&#39;s API is busted if you&#39;re trying to fetch latest videos</title>
            <link>https://cohan.dev/youtubes-api-busted/</link>
            <pubDate>Fri, 22 Mar 2019 23:17:22 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/youtubes-api-busted/</guid>
            <description>&lt;p&gt;YouTube&amp;rsquo;s gone and broke their API. The order function for latest videos is being ignored.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>YouTube&rsquo;s gone and broke their API. The order function for latest videos is being ignored.</p>
<p><strong>This is now fixed.</strong></p>
<p>You&rsquo;re trying to grab the latest videos for a YouTube channel but it&rsquo;s just returning what looks like a random sorting of videos right? It&rsquo;s actually doing the sort by relevance as if you&rsquo;d not provided an order parameter.</p>
<p>publishedAfter is also affected by this and being ignored.</p>
<p>YouTube <a href="https://www.reddit.com/r/youtube/comments/b1plj5/sort_by_upload_date_not_working/eiojtjh/">have said</a> this is temporary and in relation to their efforts to remove graphic or violative content from YouTube. Feck knows how it does that, but there ya go..</p>
<p><a href="https://issuetracker.google.com/issues/128673552">Lots more folk annoyed on Google&rsquo;s issue tracker</a> - looks like it&rsquo;s also affecting their frontend filters too. Nice one YouTube..</p>
<h3 id="workaround">Workaround</h3>
<p>The workaround for now is to either grab the channel&rsquo;s &ldquo;Play All&rdquo; playlist or grab videos via the channel&rsquo;s RSS feed, which only show a handful of videos.</p>
<p><code>https://www.youtube.com/feeds/videos.xml?channel_id=$CHANNEL_ID</code><br>
or<br>
<code>https://www.youtube.com/feeds/videos.xml?user=$USER</code></p>]]></content>
        </item>
        
        <item>
            <title>I had me a couple of them Beyond Burgers</title>
            <link>https://cohan.dev/beyond-burgers/</link>
            <pubDate>Tue, 19 Mar 2019 18:44:03 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/beyond-burgers/</guid>
            <description>&lt;p&gt;Meat free burger bois. Gave &amp;rsquo;em a fair go. Clickbait excerpt to make you click through to the review.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Meat free burger bois. Gave &rsquo;em a fair go. Clickbait excerpt to make you click through to the review.</p>
<p>In a rush? tl;dr: Yea they good. Try them. 10/10</p>
<hr>
<p>In case you&rsquo;re here without knowing who in the heck I am - background story, I&rsquo;m a meat eater. Hopefully not one of the &ldquo;hurr but bacon tho!!1&rdquo; types if you are already on the vegan train but thought I should just mention it for the later comparison.</p>
<p>I also think eating meat is the most morally wrong thing I do, but I&rsquo;m vaguely allergic to anything that even thinks it&rsquo;s related to a bean. Soy, haricot, lentil, broad, red, black, kidney, .. if it&rsquo;s a bean I&rsquo;ll probably have some form of reaction to it.</p>
<p>It&rsquo;s an easy go-to excuse if nothing else. Moving on.</p>
<hr>
<p>So first up, I burned one of them. You gotta shallow fry these bad boys colder than you&rsquo;re used to doing meat I think, either that or I&rsquo;m just used to searing a steak in the pan. I&rsquo;ll try grilling them next time but I wanted to follow the cooking instructions as best I could for the first go of it and didn&rsquo;t have a barbeque handy.</p>
<p>I had two of them on the go so I ended up with at least 1.8 Beyond Burgers once I was done trying to cremate them. I was planning on trying them 100% vegan but realised the buns I got weren&rsquo;t vegan friendly so fuck it. Doubled down and chucked a load of cheese on &rsquo;em. Dribble of ketchup n&rsquo;all. Gotta give them a fair shot against legacy burgers, &rsquo;eh!</p>
<p>Deeped up some fries so I had something to eat in case they turned out to be horrible. Also because I&rsquo;m a fat bastard.</p>
<p>Man. These things are actually good. There was a bit of a hash brown texture going on but I imagine this wasn&rsquo;t the norm, more because I&rsquo;d all but ignited them as I say. Interesting feel honestly, I&rsquo;ll try them again on a lower heat next time but if it&rsquo;s not as good I might toast them off a bit as standard.</p>
<p>I think if a restaurant had risked its food license and served me up one of these instead of a legacy burger I wouldn&rsquo;t have noticed the difference. Don&rsquo;t get me wrong, it wasn&rsquo;t exactly the same, but it wasn&rsquo;t different enough for me to call it out as having no meat. You could have got away with saying it had some fancy spices or something mixed into it. That&rsquo;s not to say it&rsquo;s spiced or anything, I just mean I&rsquo;d believe you.</p>
<p>I didn&rsquo;t see of the &ldquo;actually looks like it&rsquo;s bleeding!&rdquo;, just to mention it. I&rsquo;ve read elsewhere that they cook like regular burgers but I don&rsquo;t think I&rsquo;m qualified to comment there yet because I seared the life out of them by accident.</p>
<p>Of course in the past I&rsquo;ve had veggie burgers, honestly not sure what they&rsquo;re made of but I always thought they looked like someone had already eaten them once and decided to re-cook them. The Beyond Burger is not that. It&rsquo;s.. good! No word of a lie, I believe these things are definitely in the running for replacing meat in a handful of years.</p>
<p>Usual meal review stuff - tasted great, went down well, stomach full. I was so into eating the burgers that the fries went cold and forgotten.</p>
<p>As for the allergy thing earlier I&rsquo;ve had a nose into it and they&rsquo;re essentially made from peas when you drill it down. I don&rsquo;t usually have a problem with peas but that&rsquo;s mostly because I shovel them down whole because I don&rsquo;t like the taste of their inside bits. I had a very slight vague feel of a reaction to something but it was probably in my mind, nothing a hayfever tablet placebo can&rsquo;t sort out.</p>]]></content>
        </item>
        
        <item>
            <title>The Website Is Down</title>
            <link>https://cohan.dev/the-website-is-down/</link>
            <pubDate>Fri, 15 Mar 2019 19:55:09 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/the-website-is-down/</guid>
            <description>&lt;p&gt;Stumbled into this old classic recently. If you&amp;rsquo;re in web tech and haven&amp;rsquo;t seen the series, it&amp;rsquo;s catchup time!&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Stumbled into this old classic recently. If you&rsquo;re in web tech and haven&rsquo;t seen the series, it&rsquo;s catchup time!</p>
<h2 id="sales-guy-vs-web-dude">Sales Guy vs Web Dude</h2>
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
			<iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/uRGljemfwUE?autoplay=0&amp;controls=1&amp;end=0&amp;loop=0&amp;mute=0&amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"></iframe>
		</div>

<h2 id="excel-hell">Excel Hell</h2>
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
			<iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/1SNxaJlicEU?autoplay=0&amp;controls=1&amp;end=0&amp;loop=0&amp;mute=0&amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"></iframe>
		</div>

<h2 id="remain-calm">Remain Calm</h2>
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
			<iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/1XjKnxOcaO0?autoplay=0&amp;controls=1&amp;end=0&amp;loop=0&amp;mute=0&amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"></iframe>
		</div>

<h2 id="sales-demolition">Sales Demolition</h2>
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
			<iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/v0mwT3DkG4w?autoplay=0&amp;controls=1&amp;end=0&amp;loop=0&amp;mute=0&amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"></iframe>
		</div>

<h2 id="chipadmin">Chipadmin</h2>
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
			<iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/s8QjArjcjbQ?autoplay=0&amp;controls=1&amp;end=0&amp;loop=0&amp;mute=0&amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"></iframe>
		</div>]]></content>
        </item>
        
        <item>
            <title>WYLTR hits 1000 downloads!</title>
            <link>https://cohan.dev/wyltr-1000-downloads/</link>
            <pubDate>Thu, 21 Feb 2019 16:20:05 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/wyltr-1000-downloads/</guid>
            <description>&lt;p&gt;We ran with a podcast idea and last night we hit 1000 downloads!&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>We ran with a podcast idea and last night we hit 1000 downloads!</p>
<p>Now I know, it&rsquo;s not exactly a bank filler of a milestone or anything but as this is just a fun little project it&rsquo;s pretty great that we&rsquo;ve hit the first major milestone for <a href="/project/would-you-like-to-restart/">Would You Like to Restart</a>.</p>
<p>At this time we&rsquo;ve released 7 episodes since October 2018 and have an estimated 32 subscribers so it&rsquo;s almost mind blowing for us. I think we&rsquo;ve hit the 1k for Chattin Bull, but not in this small an episode count!</p>
<iframe src='https://share.transistor.fm/e/would-you-like-to-restart/latest' width='100%' height='180' frameborder='0' scrolling='no' seamless='true' style='width:100%; height:180px;'></iframe>
<h2 id="howd-we-get-there-so-far">How&rsquo;d we get there so far</h2>
<p>Not going to lie, a huge amount of it is advertising. Back when we started the <a href="https://overcast.fm/ads">Overcast Ads</a> were down to about $60? I booked two ad slots in total with a little bit of overlap.. actually why am I trying to guess what they were. Here you go.</p>
<p><img src="/images/wyltr-ad-stats.png" alt="A screenshot from my Overcast Ads dashboard. I don&rsquo;t know if I should write out everything in the image please contact me using the contact form if you have any thoughts on how to handle these images"></p>
<p>Not sure where all those subs went, but of course they might just not be appearing in our stats yet - subscribers is an estimated value after all! Also it&rsquo;s possible that people subbed up then decided to unsub for whatever reason. No big deal!</p>
<p>Do I think it was worth it? Absolutely. If you can afford whatever the price is at the time (prices change based on supply and demand) I&rsquo;d recommend giving them look into. Obviously pick the right category - I don&rsquo;t imagine we&rsquo;d have done very well in the Religion or Family categories!</p>
<p>It gave us a pretty decent kickstart and the ads are in the right place. The thing I like about Overcast ads are that the people seeing them often actually opted in to seeing the ads and of course they&rsquo;re already in a podcast client - you don&rsquo;t have to explain what a podcast is. Bonus, as they&rsquo;re in a podcast client they can tap right there and then to check you out.</p>
<p>I imagine with better copy, maybe better artwork, things like that you&rsquo;d probably be able to pull more value out of the ads, but for what we wanted (a quick kickstart) they&rsquo;ve provided me the value I was after.</p>
<h2 id="wyltr-future">WYLTR future</h2>
<p>The <a href="http://www.memento-mori.com/parsely-products">Parsely</a> games we&rsquo;re playing currently were picked as a jumping off point while we figured out the format and found our voices. They&rsquo;ve been awesome and we&rsquo;ve thoroughly enjoyed doing them. We even got a Twitter shoutout from <a href="https://en.wikipedia.org/wiki/Jared_Sorensen">Jared A. Sorensen</a> himself! The problem is we&rsquo;re going to run out of them eventually!</p>
<p>The crossroads we&rsquo;re at now though - do we go with the original idea and try to podcastify oldschool text adventure games, or do we go with a newer idea of making homebrew games?</p>
<p>The former may simply not work at all - long episodes, unknown outcomes, the games might be too hard(!) to complete. The latter would mean coming up with a new story every two weeks and of course Fox can&rsquo;t help make the story else he&rsquo;d be able to solve it instantly!</p>
<p>Personally I love the idea of creating homebrews, and we&rsquo;re going to give it a go. If that fails we&rsquo;ll likely fall back on the original idea of playing text adventures but we&rsquo;re probably going to try the homebrew route first.</p>
<p>If you&rsquo;ve got any comments of course do feel free to <a href="/contact/">send feedback</a>!</p>
<h2 id="international-hand-sign-for-money"><em>*international hand sign for money*</em></h2>
<p>Honestly cash isn&rsquo;t really in the forefront of our mind for this project - it&rsquo;s just a fun thing we do. It&rsquo;d be nice if the editing time and software was compensated I guess, damn does that take a moment or two.. but it&rsquo;s not exactly bankrupting us to do this. What am I waffling about? Oh aye if you do like the show please feel free to <a href="https://wyltr.com/patreon">support us on Patreon</a> - we&rsquo;ll figure out some neat rewards for it eventually!</p>
<h2 id="finishing-waffle">Finishing waffle</h2>
<p>If you&rsquo;ve ever caught an episode, listened to one for 5 seconds, reviewed it on iTunes/Spotify/Overcast/etc - thank you immensely! We&rsquo;re gonna keep doing this silly little project as long as we can and hope you enjoy every episode we plop onto your audio device!</p>
<a href="https://wyltr.com" id='wyltr-out'>
        Would You Like to Restart?<br />&gt; <span id='wyltr-out-cursor'> █</span>
</a>
<style>
#wyltr-out {
    width: 100%;
    background-color: #111;
    height: 5em;
    color: green !important;
    display:block;
    padding: 1em;
    text-decoration: none;
    font-family: monospace;
}
#wyltr-out::hover {
    text-decoration: none;
}
</style>
<script>
hideCursor();

function hideCursor() {
    console.log("Hide Cursor");

    var s = document.getElementById('wyltr-out-cursor').style;
    s.color = '#111';

    setTimeout('showCursor()', 500);
}

function showCursor() {
    console.log("Show Cursor");

    var s = document.getElementById('wyltr-out-cursor').style;
    s.color = 'green';

    setTimeout('hideCursor()', 500);

}
</script>]]></content>
        </item>
        
        <item>
            <title>What are you up to with podcasting, Spotify?</title>
            <link>https://cohan.dev/spotify-and-podcasts/</link>
            <pubDate>Sat, 02 Feb 2019 01:54:05 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/spotify-and-podcasts/</guid>
            <description>&lt;p&gt;I keep my ear to the ground in the world of podcasts because I&amp;rsquo;m a huge wannabe podcaster and at one point I was making a podcasting service.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>I keep my ear to the ground in the world of podcasts because I&rsquo;m a huge wannabe podcaster and at one point I was making a podcasting service.</p>
<p>Fun story time; if it hadn&rsquo;t been for a previous employer that shall remain nameless I&rsquo;d have been in the running to release one of the first hosts with dynamic ad insertion. Probably for the best really, gone off the idea these days. Point is I realise the hypocrisy involved in being concerned about embracing and extending..</p>
<p>Anyway enough of my dead dreams, Spotify is supposedly in talks of buying up Gimlet Media (Producers of Reply All and StartUp, among others) for a couple hundred mil. That in itself isn&rsquo;t bad, infact good for them. But it does throw a bit of concern as to what&rsquo;s Spotify&rsquo;s game plan here? I was already a little weary when they started adding podcasts to their service.. but then they opened up to everyone and all seemed good in the world again.</p>
<p>The weirdness though is that they don&rsquo;t just act as a regular podcast client. They grab your feed and the media within and host it on their own servers, making it a pain in the arse to track stats because now you have to log in to Spotify&rsquo;s podcast dashboard to see them as well as your podcast host of choice. Not the end of the world, but not amazing. It could make a paranoid person wonder what they need the files under local control for but as with all things internet in 2019 I imagine it&rsquo;s going to be ad related. The red flags are starting to raise of a possible embrace, extend, extinguish situation forming though.</p>
<p>For anyone unfamiliar, it was something Microsoft used to do when it moved into a new tech arena</p>
<ul>
<li>Embrace: Development of software substantially compatible with a competing product, or implementing a public standard.</li>
<li>Extend: Addition and promotion of features not supported by the competing product or part of the standard, creating interoperability problems for customers who try to use the &lsquo;simple&rsquo; standard.</li>
<li>Extinguish: When extensions become a de facto standard because of their dominant market share, they marginalize competitors that do not or cannot support the new extensions.</li>
</ul>
<p>Source: <a href="https://en.wikipedia.org/wiki/Embrace,_extend,_and_extinguish">Embrace, extend, and extinguish</a> from Wikipedia</p>
<p>We&rsquo;ve seen embrace in that they&rsquo;ve allowed podcasters into their system.</p>
<p>We will, I&rsquo;m sure, see extend in the coming year(s) &ndash; they&rsquo;re not paying a cool $200 mil for a podcasting company just to say they own a handful of successful podcasts.</p>
<p>Extinguish I can&rsquo;t put my thumb on yet. The obvious and easiest would be for them to hoover up all the big podcasts then lock everyone else out once they&rsquo;ve got the lion&rsquo;s share of the listeners. Similar to their music domination you can get music outside of Spotify but honestly it&rsquo;s one of the easiest platforms to use for music consumption - personally I&rsquo;ve not listened to music outside of Spotify in years.</p>
<p>Why does this concern me? Honestly it doesn&rsquo;t really. I&rsquo;ve got a couple of very small fry podcasts in the game but we wont be affected by anything Spotify&rsquo;s doing other than we&rsquo;ll probably be booted out of the system if they wall it off.</p>
<p>I just really enjoy the podcasting medium <em>as it is</em> and don&rsquo;t want it dismantled for some company to fill its coffers a little more. For a lack of a better word I&rsquo;m just nervous they&rsquo;ll change the game too much and it wont be the open media format anymore.</p>
<p>What&rsquo;s your game, Spotify?</p>]]></content>
        </item>
        
        <item>
            <title>Looking forward to 2019</title>
            <link>https://cohan.dev/looking-forward-to-2019/</link>
            <pubDate>Sat, 29 Dec 2018 19:31:02 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/looking-forward-to-2019/</guid>
            <description>&lt;p&gt;Just gonna have a bit of a waffle about the things I want to do next year. This is mostly for me but please feel free to read along too!&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Just gonna have a bit of a waffle about the things I want to do next year. This is mostly for me but please feel free to read along too!</p>
<h2 id="more-structure">More structure!</h2>
<p>The biggest change I want to make 2019 is to put in place a bit more of a foundation to see where I&rsquo;m being productive and where I&rsquo;m lounging around like a slug pretending I&rsquo;m doing useful things. To do this I&rsquo;ve started using Toggl more to track time spent on projects with an assumption that any non-tracked time is spent doing unproductive things.</p>
<p>Downtime is good of course and I hope to spend a lot of it sleeping, but I figure the more I know the ratio the more I can have a decent look at where I&rsquo;m sitting in terms of doing things and not doing things. Good times there.</p>
<p>I even made a dealy that hooks in to my calendar (powered by Skedpal and Todoist) so I can easily see what I should be doing right now as well as toggle a timer for that task.</p>
<p><img src="/images/todo-screen.png" alt=""></p>
<p>Nice and simple really, it just pulls my Skedpal and Todoist calendars (using the great <a href="https://github.com/spatie/laravel-google-calendar">spatie/laravel-google-calendar</a> package), displays whatever event is active right now and gives me a button to start a timer. It polls an API endpoint every so often to get the current task and receives the current event in the form</p>
<pre><b>[</b>
<b>  {</b>
<b>    </b><font color="#729FCF"><b>&quot;name&quot;</b></font><b>: </b><font color="#4E9A06">&quot;2018 review. 2019 plans&quot;</font><b>,</b>
<b>    </b><font color="#729FCF"><b>&quot;project&quot;</b></font><b>: </b><font color="#4E9A06">&quot;Blog&quot;</font><b>,</b>
<b>    </b><font color="#729FCF"><b>&quot;timer&quot;</b></font><b>: </b>true
<b>  }</b>
<b>]</b>
</pre>
<p>The timer true/false being true means there&rsquo;s an active timer in Toggl with this event&rsquo;s name. It&rsquo;s pretty basic but it&rsquo;ll do for now.</p>
<p><img src="/images/todo-screen-irl.png" alt=""></p>
<p>I then display it on an old Kindle Fire HD which is held by a cheap plastic arm above my monitor to act as a handy display and touchscreen. I made it poll using ajax because originally I tried to cut a corner and just meta-refresh but wanted to scroll the address bar away, which returns when the page refreshes in Kindle&rsquo;s Silk browser.</p>
<p>That was a decent time sink, which brings me to</p>
<h2 id="focusing-the-beam">Focusing the beam</h2>
<p>I keep starting new projects. <a href="https://wyltr.com">Some see success</a>. Others end up on the dead pile. That&rsquo;s fine, at least they had a fair shot.</p>
<p>Most however end up in limbo between the two because I get distracted by the shiny of a new idea and neglect the previous at about the 40-60% stage. When I finally get bored of the new I have no idea what I was aiming for, so often convince myself to start fresh. That&rsquo;s gotta stop else it&rsquo;s all pointless!</p>
<p>I&rsquo;m going to try splitting my projects into three-month chunks. Mainly because it fits in with the concept of quarters but also I felt a month was too short and a year far too long. It also gives me realistic deadlines to work towards, which I realised I need after reading the excellent <a href="https://waitbutwhy.com/2013/10/why-procrastinators-procrastinate.html">Why Procrastinators Procrastinate</a> by Tim Urban.</p>
<p>The other reason I want to do this is because the constant switching between the new and shiny means I neglect everything else, this blog for example. I keep wanting to write posts here and indeed I have blog topics in Skedpal but they keep getting bumped out the way by other tasks. If I&rsquo;ve only got the one project<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup> on the burner at a time then there&rsquo;s less to try (and fail) to get done freeing up some time.</p>
<p>During an active project I plan on just jotting down any ideas in a low priority task list I&rsquo;ve called &ldquo;Idea Factory&rdquo;. At the start of each quarter I will weigh up all the ideas there to see what interests me the most and will then work on that for 3 months. At the end of the three months the idea either lives (at least a MVP public beta) or dies (code burned &amp; deleted).</p>
<p>Projects that live will of course be maintained in future as needed, and may indeed get another quarter to move from a beta state to full release if the workload requires it.</p>
<h2 id="registering-companies-is-a-boring-idea">Registering companies is a boring idea</h2>
<p>Some time in 2015 I thought that if I registered a company for this sort of stuff it&rsquo;d give me the push I needed to get things done.</p>
<p>Hah. No. All that&rsquo;s done so far is add extra tasks that needed doing every year in the form of tax statements and accounts. I&rsquo;m in the process of shutting that company down and will refrain from registering any new businesses until something actually needs it. The definition of need in this case is &ldquo;earns enough that it can pay for an accountant to deal with the noise&rdquo;</p>
<h2 id="spending-money-is-fun">Spending money is fun</h2>
<p>This is one that keeps dinging me. New idea, new DigitalOcean server! It&rsquo;s only $5 a month, oh wait this project will be huge it needs more resources, $15 a month. Will need to monitor all these servers, $5 a month. Oh wait there&rsquo;s a fair few things going now lets make the monitoring server beefier, $15 a month. It adds up quick!</p>
<p>I&rsquo;ve already got the sysadmin nerdery out the way and combined all the servers into one and switched from Laravel Forge to using Moss.sh - the reason behind this is I didn&rsquo;t want each site running under the same user with Forge and moss.sh seemed like a decent alternative. More basic, but good enough. Can&rsquo;t remember why I ruled out Runcloud and I scrapped ServerPilot instantly because they charge per app despite they don&rsquo;t need to do anything extra per app <em><sup>/salt</sup></em></p>
<p>As an aside to the projects and nerdery I need to put &ldquo;make food&rdquo; in my calendar too I think. All this pretending to be busy meant it was so easy to order a takeaway instead of pop downstairs to cook..</p>
<h2 id="start-streaming">Start streaming</h2>
<p>No, not related to tears streaming out of my face about a dwindling bank balance. I want to get into live code streaming.</p>
<p>Relating to the dwindling bank balance, over the years I&rsquo;ve bought so much random guff to do streaming (Stream deck, green screen, three point lighting, etc) but never actually done it properly. I&rsquo;ve even got all the assets ready and set up in OBS.. I&rsquo;ve even got a second PC set up with an Elgato capture card so the main PC isn&rsquo;t encumbered by running a stream!</p>
<p>The new projects and schedule mentioned above I hope to stream <a href="https://cohan.live/">on the Twitch channel</a>. I know it&rsquo;s more work to code and talk at the same time but it might be fun.</p>
<h2 id="regular-reviews">Regular reviews</h2>
<p>I&rsquo;m planning on doing a personal review for myself every week, month, quarter, year. Nothing too interesting in the weeklies I imagine but the others if I have anything interesting to note I&rsquo;ll put up a blog post for them. As mentioned earlier I hope to write more for the blog in general too. If you&rsquo;d like to hear more either hit up the <a href="/feed">RSS Feed</a> or <a href="/subscribe">subscribe to the mail list</a>.</p>
<p><a href="/contact">Let me know</a> if you&rsquo;ve got any feedback on this post!</p>
<p><img src="/images/todo-screen-done.png" alt=""></p>
<p><em>Boop!</em></p>
<div class="footnotes" role="doc-endnotes">
<hr>
<ol>
<li id="fn:1">
<p>One personal dev project. I&rsquo;m committed to working on <a href="https://wyltr.com">Would You Like to Restart</a> and the day job of course!&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
</ol>
</div>]]></content>
        </item>
        
        <item>
            <title>Self-driving cars should have no morals</title>
            <link>https://cohan.dev/self-driving-cars-should-have-no-morals/</link>
            <pubDate>Tue, 02 Oct 2018 20:00:00 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/self-driving-cars-should-have-no-morals/</guid>
            <description>&lt;p&gt;WHAT?! You don&amp;rsquo;t want self-driving cars to have morals?? Hell no I don&amp;rsquo;t. That would be terrible.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>WHAT?! You don&rsquo;t want self-driving cars to have morals?? Hell no I don&rsquo;t. That would be terrible.</p>
<p>Fair shoutout on this one I was re-listening to <a href="http://www.hellointernet.fm/podcast/71">Hello Internet #71 - Trolley Problem</a> on my way to work this morning and many of my thoughts are based on things Grey was saying. Some are basically just lifted straight from his mouth piece and in to my brain goo and others have a spice of my own addition. The gist of it is this - the more stuff you try to make a self-driving car think about, the more likely it is you&rsquo;re going to introduce bugs and false positives.</p>
<p>Lets take the trolley problem as a starting example. It usually goes like this - There&rsquo;s a trolley (it&rsquo;s like a tram or something and not a shopping trolley, fellow brits) that is hurtling down the rails out of control. You happen to be standing next to the lever that controls a rail junction points. As ye do.</p>
<p>From there there&rsquo;s usually a combo of people knocking about tied to the tracks or tripped over on the tracks or generally being on the tracks for some reason or other. If you do nothing then the trolley will go straight on and kill 5 people, if you adjust the points it&rsquo;ll veer off to the other rails and only kill one person. What do you do?</p>
<figure><img src="/images/trolley_problem.png"><figcaption>
			<h4>By McGeddon - Own work, CC BY-SA 4.0, https://commons.wikimedia.org/w/index.php?curid=52237245</h4>
		</figcaption>
</figure>

<p>Then it usually gets complex and things change. Now on the alternate path will be a 90 year old and on the straight non-action path will be a thief and a newborn baby. Obviously the question here is trying to put a value on peoples&rsquo; lives - does a newborn baby with a whole life ahead of it outrank someone who&rsquo;s likely in their last decade? How about if you weigh in the value of the thief&rsquo;s life? From here it&rsquo;ll go into varying comparisons like a fat person vs a thin person, a man vs a woman, three thieves vs one lawyer, and so on.</p>
<p>Give a think of a few examples like that, no judgement on who you deemed worthy of a squishing, and then consider how this will apply to a self-driving car.</p>
<p>Take away the rails now because this example is usually that your car is driving fast behind a lorry. The lorry slams on its brakes and your car realises its own brakes aren&rsquo;t working. The car&rsquo;s options are either make no corrective action - run right into the back end of the lorry, instantly obliterating you and itself - or swerve up onto the pavement where a few pedestrians are standing. In milleseconds your car has to decide: Kill my driver and myself, or kill innocent pedestrians?</p>
<p>There have been arguments for and against the killing of the car&rsquo;s passengers because they bought the car and so should know this is a possibility, the innocence of the people going about their day on the pavement, the possibility of swerving the other direction into oncoming traffic, loads of arguments. So what should the car do? Should someone write some code that weighs up the morality ranking of each of the pedestrians and if they score lower than the car&rsquo;s passengers swerve on into the peds? Maybe it should protect its owner at all costs? Maybe it should be protecting non-drivers at all costs as they have signed no contract involving cars potentially mowing them down? Saving the car&rsquo;s owner would be in the interest of the companies selling the cars anyway, who&rsquo;s going to buy a car that will always pick the option that kills the them?</p>
<p>Nah. <em>The car should not have started in the first place</em>. This is a dang self-driving smarter-than-people computer bashed into the shape of a car we&rsquo;re talking about here. Why on earth wouldn&rsquo;t it be doing 20 thousand or so system checks per second? As soon as you opened the door to get in it should have piped up about the upcoming brake problem!</p>
<blockquote>
<p>Oh damn chief. My brakes look like they&rsquo;re a bit worn out, I can&rsquo;t take you anywhere today. A service has been scheduled and a courtesy car will be arriving in 5 minutes. Sorry for the inconvenience! Pip pip!</p>
</blockquote>
<p>Heck, you&rsquo;d have probably already got the notification on your car app the night before. The courtesy car might already be in your drive in the morning.</p>
<p>Even if there was a rare event that caused the brakes to fail during the trip, what are the chances they failed literally seconds before a fatal collision? Pretty low really. Should the car&rsquo;s programmer put in a bit of code to calculate the value of peoples&rsquo; lives and maybe swerve into people it deems worth less? No way! Now you&rsquo;ve got a bit of code that&rsquo;s constantly paranoid about brake failure and suddenly stopping lorries. You&rsquo;re introducing potential bugs - maybe if there&rsquo;s an eclipse and at the same time you go under a bridge this paranoid little function buried in the car&rsquo;s brain interprets it as a lorry stopping dead in front of you. Literally nothing there but it decides to jump the kerb and take out a pedestrian. You just don&rsquo;t want to add that complexity!</p>
<p>How the car should react is it&rsquo;s basic collision avoidance - Keep clear of the lorry in front, match its speed at most once you&rsquo;re close, allow ample braking distance. If the brakes fail - coast to a stop immediately. IMMEDIATELY. Not when there&rsquo;s a lorry in front of you, the moment there&rsquo;s a fault detected in the brakes come to a safe stop. Drive no further. All stop.</p>
<p>Another thing that the mysterious arguments I may have invented to argue against often fail to take into account is that they&rsquo;re computers on wheels - they probably have an ad-hoc wifi connection of some kind keeping each other up to date on the day&rsquo;s juicy car gossip. Our car could tell every other car in the surrounding mile that its brakes are a bit wonky and that it needs to find a safe space to stop. The rest of the cars could avoid it like the plague! There would be no lorry in front because it&rsquo;d have let us pass at a junction somewhere earlier without us even knowing it exists.</p>
<p>Self driving cars should, to simplify it in a way that diminishes the work these programmers are doing writing the self-drive code, get us from A to B without colliding into anything and without allowing anything to collide into us. None of this swerve protocol, no jumping on rails and turning into a shopping trolley. Don&rsquo;t drive into things, stay between the lines. That&rsquo;ll solve all of the problems without us having to cram Data from Star Trek into every car&rsquo;s engine. No morals, no emotion, no designating people as killable. Just straight up don&rsquo;t hit things, and give us a ping on the phone if the brakes are broke.</p>
<p>Sorted.</p>]]></content>
        </item>
        
        <item>
            <title>Garbage collection for the brain</title>
            <link>https://cohan.dev/garbage-collection-for-the-brain/</link>
            <pubDate>Tue, 18 Sep 2018 20:38:40 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/garbage-collection-for-the-brain/</guid>
            <description>&lt;p&gt;Have you ever noticed how when you&amp;rsquo;re trying to get to sleep your brain just floods with all of the problems of the day, week, month, 8 years ago?&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Have you ever noticed how when you&rsquo;re trying to get to sleep your brain just floods with all of the problems of the day, week, month, 8 years ago?</p>
<p>Much like in the programming sense I believe your brain needs to perform garbage collection now and then. Free up a bit of instant-access memory, dump the old stuff to long term storage. I&rsquo;m starting to think the modern world simply doesn&rsquo;t give it a chance to do that anymore.</p>
<p>Just a constant barrage of TV, YouTube, Facebook, Twitter, Twitch, Netflix, Reddit, podcasts, magazines, adverts - oh god the adverts, random chuggers on the street, reading this article on some nerd&rsquo;s website, work, random people yelling at 4am on their way home from a night out..</p>
<p>I&rsquo;m thinking the reason you lie tossing and turning and thinking of things that happened an age ago is that the only downtime your brain gets in the modern tech-city world is right then and there. The moment you&rsquo;re lying in the dark trying to fall asleep.</p>
<p>I don&rsquo;t know if what I&rsquo;m thinking is actually anything to do with meditation because honestly reading up on it it sounds like meditation is the opposite of what I&rsquo;m trying to achieve - meditation from what I can tell is all about focus and an empty mind, where what I&rsquo;m thinking is to just set aside a bit of time to let the mind wander. Think its random thoughts, remember that one time 15 years ago someone said &ldquo;Say it, don&rsquo;t spray it&rdquo; after a particularly rambunctious outburst resulting in flailing spittle. Have a nice cringe. Cringe at a million other memories while you&rsquo;re at it. Process things. Come up with ideas. Write them down. Cringe about other things. Thoroughly enjoy a happy moment that just jumped in front of your mind&rsquo;s eye, shed an unexpected tear when you remember someone who&rsquo;s no longer around.</p>
<p>I dunno, I&rsquo;m no psychologist or whatever. Do what you want.</p>
<p>Honestly if nothing else I&rsquo;m sort of worried my attention span is just being dissolved into nothingness. I tried to watch <a href="https://www.youtube.com/watch?v=wf2VxeIm1no">CGP Grey&rsquo;s video on this subject</a> (highly recommended) and found myself idly browsing away on the other screen not really paying attention. I actually had to turn the monitor off as an active &ldquo;pay attention, dammit&rdquo; to watch. That&rsquo;s nuts!</p>
<p>In the morning I&rsquo;ll wake up and as the phone is the alarm I&rsquo;ll probably have Reddit loaded up before my brain&rsquo;s even kicked into gear. At night when I&rsquo;m supposed to be going to bed I&rsquo;ll be sitting here mindlessly bouncing between the same 4 websites in case there&rsquo;s something new to gorge on. When I finally peel away from the computer screen I&rsquo;ll migrate my refreshing sites over to my phone while I&rsquo;m lying in bed pretending to myself that I&rsquo;m winding down for the day. Just one more refresh.</p>
<p>I&rsquo;ve started putting my watch on the bedside cabinet so that it&rsquo;s that doing the morning alarm rather than the phone. I&rsquo;ve extended my &ldquo;Do not disturb&rdquo; time in all of my devices to cover at least from the time I (should) finish for the day on the PC till the time I&rsquo;m at work the next day so hopefully I&rsquo;m not whisked away by some random notification in the morning. I&rsquo;ll still have podcasts during the commute, that&rsquo;s already a distraction zone as I take the bus - so many people waffling about the boring local information when I could listen to the more interesting remote information instead. Probably part of the problem really, but I gotta get my fix somewhere.</p>
<p>While I&rsquo;m not going to get away from the internet in as much a drastic way as Mr Grey, I am going to take moments of just.. silence. Instead of finishing off a podcast episode in the bath just sort of let the mind wander and do its thing. Instead of instantly jumping on my phone in the morning when I wake up, just let the mind wander and do its thing. Instead of.. well, you get the theme I&rsquo;m going for here right?</p>
<p>Garbage collection for the brain. Let it figure out and file those memories from 15 years ago, sort them into the cringe filing cabinet and finally let them go.</p>
<p>Maybe my mind might even stop waffling away as much as I&rsquo;ve done here when I&rsquo;m trying to fall asleep.</p>]]></content>
        </item>
        
        <item>
            <title>Please, just take the damn day off</title>
            <link>https://cohan.dev/take-the-day-off/</link>
            <pubDate>Tue, 28 Aug 2018 23:00:00 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/take-the-day-off/</guid>
            <description>&lt;p&gt;I know, you feel guilty. You&amp;rsquo;re feeling under the weather but are you really &lt;em&gt;really&lt;/em&gt; ill? If you&amp;rsquo;re asking that question then yes, you are.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>I know, you feel guilty. You&rsquo;re feeling under the weather but are you really <em>really</em> ill? If you&rsquo;re asking that question then yes, you are.</p>
<p>There are a lot of job roles out there that seemingly can&rsquo;t just be put on pause for a day or two while you get better - shockingly those roles always seem to be the roles you&rsquo;d want an ill person taking the day off. Hospital staff, food service, retail. Unfortunately I don&rsquo;t have any insight into those areas other than their sick day policies suck.</p>
<p>If you&rsquo;re in IT though? Just take the day. If you come in to work you&rsquo;re just going to spread the illness around the place making everyone else ill. Chances are your brain is all foggy and useless. Through the 6 degrees of separation you&rsquo;re also making untold amounts of people ill. Those that can&rsquo;t take the day off mentioned above? Maybe your co-workers live with someone in those fields - now they&rsquo;re ill too and happily spreading it amongst their co-workers and customers. Nice one.</p>
<p>&ldquo;But the entire world will collapse if <em>I</em> take the day off!&rdquo; - Nah. Lets go to the extreme and say you broke the law or something instead of got ill. You get arrested and naturally, fired. Would the world still collapse? Of course not, it&rsquo;s a business. It&rsquo;ll bump around a bit until your roles are filled and in 6 months it&rsquo;ll be like you never worked there.</p>
<p>It will do much better than that on the short term if you&rsquo;re missing for a mere 8 hours. It&rsquo;s business, they plan for this stuff. If they don&rsquo;t? That&rsquo;s on them, not you.</p>
<p>So please, take the damn day off <sup><sup>and stop making me ill. <em>*sniffles*</em></sup></sup></p>]]></content>
        </item>
        
        <item>
            <title>Moved From Wordpress to Hugo</title>
            <link>https://cohan.dev/moved-from-wordpress-to-hugo/</link>
            <pubDate>Fri, 24 Aug 2018 21:48:12 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/moved-from-wordpress-to-hugo/</guid>
            <description>&lt;p&gt;Oh jeez, your site is so fast now. Also it&amp;rsquo;s changed in design a little. What&amp;rsquo;s up with that? Asked nobody. Here&amp;rsquo;s the answer though: I moved from WordPress to the static site generator Hugo&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Oh jeez, your site is so fast now. Also it&rsquo;s changed in design a little. What&rsquo;s up with that? Asked nobody. Here&rsquo;s the answer though: I moved from WordPress to the static site generator Hugo</p>
<h3 id="that-sounds-super-hipster">That sounds super hipster</h3>
<p>It probably is, I had a bit of a beard going on when I made the decision to move over. I&rsquo;m also hosting it using <a href="https://netlify.com">Netlify</a> so that&rsquo;s pretty hipster too.</p>
<p>Have a click around though, look how fast everything is! Static HTML, the likes of which we&rsquo;ve not seen since the early 2000s!</p>
<h3 id="why-tho">Why tho</h3>
<p>As with all things the reason I did it was money and an absolute &ldquo;Oh man I gotta try that&rdquo; nerd instinct. I had initially set up my WordPress server a bit too beefy for what it needs, it was (and at the time of writing is, still got one more blog to convert!) something like $15-20 a month for three blogs that nobody really visits. That&rsquo;s not ideal, that&rsquo;s not optimized!</p>
<p>While I was procrastinating Yet Another Server Move™ I somehow stumbled across Hugo. Now I&rsquo;ve never really been into the idea of static site generators because they&rsquo;re always written in Ruby and I don&rsquo;t like Ruby (One pain in the butt install that didn&rsquo;t work and I dropped it into the pile along with Java and Windows web servers. I know, I should really give it a proper go one day)</p>
<p>Hugo though is written in Go which is the special new thing the internet is all over and more importantly I&rsquo;ve never had any problem making things written in Go work. Nice!</p>
<p>I set up a quick site to give it a test and see how it all worked and man, I tell you what. I fell in love with the idea of storing everything in git and auto deploying and writing in markdown. All of the yes! Mainly the git part though to be honest. Blogs are just text, text goes in git. Nuff said.</p>
<h3 id="oh-right-howd-the-move-go-then">Oh right. How&rsquo;d the move go then?</h3>
<p>Reeeasonably well. I used <a href="https://github.com/SchumacherFM/wordpress-to-hugo-exporter">SchumacherFM/wordpress-to-hugo-exporter</a> to convert the posts from WordPress into a more Hugo-friendly format. Needless to say it did not work first time, the plugin had some weird issue where it had functions defined twice in multiple places and everything just started falling apart. Honestly I&rsquo;d have given up here and rage-deleted the plugin and not converted but I happened to have the error log open and saw the problem. Fixed up the plugin and tried again, it chucked me a nice zip file with all of my content..</p>
<p>Almost all of it. In WordPress I used a custom post type (or was it Jetpack? I don&rsquo;t know) of &lsquo;portfolio&rsquo; which is the projects on the sidebar there. The plugin does not export custom post types. Alright so we go in and edit the thing that does post type and include our portfolio posts and run again. Eyy that one worked better. Oh wait no it didn&rsquo;t. Jump back in to the plugin and add a bit of code that allows us to also export the portfolio type as well as select it from the DB. Boooriiing.</p>
<p>But that time it worked, so I moved on. Next up I had a look at the <a href="https://themes.gohugo.io/">Hugo themes directory</a> and found the theme <a href="https://github.com/spf13/hyde">Hyde</a> and essentially it looked exactly like my existing theme in WordPress. Now we&rsquo;re getting somewhere!</p>
<h3 id="netlify-is-a-thing">Netlify is a thing</h3>
<p>I figured as with all hipster products that Netlify would be something like 300 quid a month or something and barely do what I can do with a $5/mo DigitalOcean box. Nope, it&rsquo;s free. It&rsquo;s also pretty f&rsquo;in great at what it does too. Free does usually mean that things are going to go out of business one day but in this specific case it doesn&rsquo;t matter because everything&rsquo;s in git, we just deploy someplace else if everything goes offline. Those folks over at Netlify seem to know what they&rsquo;re doing too and they do have paid plans for larger sites. They&rsquo;ll be fine.</p>
<p>I tried out Netlify because they&rsquo;re doing in one what I was planning on doing with a combination of DigitalOcean box, Laravel Forge and Cloudflare. Optimization, baby!</p>
<h3 id="building-a-static-site-every-time-i-mess-up">Building a static site every time I mess up</h3>
<p>The only problem I&rsquo;ve had so far is my tendancy to edit things I write like 800 times before I&rsquo;m happy with it. As an example of this if you look at my <a href="https://reddit.com/user/corobo">Reddit comments</a> it&rsquo;s rare you&rsquo;ll find one that doesn&rsquo;t have the edited asterisk on it. I&rsquo;m actually writing this post right now so I stop editing and deploying the DigitalOcean Firewall post I just published over and over. It&rsquo;s done, me, leave it.</p>
<p>In WordPress it&rsquo;s a quick &ldquo;Edit post&rdquo; and save, nobody&rsquo;s any the wiser that anything ever changed. Learning Hugo has meant that firstly I put the post in the wrong place in the site (its original URL was something like /post/digital-ocean-whatever) but I like to have posts to this site on the base domain. Fixed that. Pushed changes. Got it wrong, now it&rsquo;s under /posts/! Damn! Fixed that, pushed change. Actually fixed - but oh no, now there&rsquo;s no redirects and all my IFTTT applets have already fired and published the post everywhere</p>
<p>Add in aliases. Also add in a redirect rule for Netlify specifically. Push again.</p>
<p>Oh the wording of that post is just.. awful. So many short sentences I started reading it like that Stevie guy from Malcolm in the Middle. Edit, build, deploy.</p>
<p>At this point I shortened my workflow by creating an alias that runs hugo, adds to git with a horrible message &ldquo;updated blog&rdquo;, does a git push. Now of course I&rsquo;m making tiny edits and pushing new versions of the site so frequently that the previous edit hasn&rsquo;t even gone through the deploy process yet. At some point someone at Netlify&rsquo;s going to call me and tell me to knock it off.</p>
<p>My workflow&rsquo;s going to have to change without having a preview button. I&rsquo;ll have to remember to run the local server in draft mode and read the posts before publishing them (side note during edit 327 of this post, I&rsquo;m doing that with this one and it works perf. mate).</p>
<p>Honestly though, no big deal for the end results. Have you seen how fast the site is right now??</p>
<h3 id="comments-tho-how-do-i-call-you-a-nerd-right-to-your-face-now">Comments tho, how do I call you a nerd right to your face now?</h3>
<p>This was the more nerd-tickling problem. I somehow need to embed discussions in a static site. No big deal right? Just use the inbuilt Disqus thing. Nahhh, boring. Also GDPR and Disqus maybe maybe-not adding ads and all that. Not my style.</p>
<p>So I searched to see what others were doing. I&rsquo;d remembered the <a href="https://monzo.com/blog/">Monzo blog</a> did the sort of thing I was after. A self-hosted community that auto-posts a new topic whenever there&rsquo;s a new blog post. That&rsquo;s the ticket right there. I installed <a href="https://www.discourse.org/">Discourse</a> three times (Tried docker, tried to bodge it baremetal, went back to docker) and dug into the embed options and set all that up, as ye do.</p>
<p>So now under each of these posts there&rsquo;s an embed fired off using javascript that pulls in the relevant thread (or creates a thread then does it if none already exist) and chucks the comments below the post. Boss life.</p>
<p>&hellip; I also then added the embed to basically every site I run and so now the forum I set up (<del><a href="https://talk.cohan.dev">talk.icnerd.com</a></del>) is just chocka full of posts where each post is visited for the first time and a new thread is created. Honestly I sort of love it, even if there&rsquo;s no community. Got damn I do love it when moving parts just work.</p>
<h3 id="final-thoughts">Final thoughts</h3>
<p>Dammit, just as I was re-reading and re-editing this post for the 408th time I glanced away and saw a tweet from Netlify where they&rsquo;re pointing out a Laravel-based static site generator from Tighten called <a href="https://jigsaw.tighten.com/">Jigsaw</a>..</p>
<p>I might need to migrate to that.</p>]]></content>
        </item>
        
        <item>
            <title>DigitalOcean firewalls are pretty good</title>
            <link>https://cohan.dev/digitalocean-firewalls-pretty-good/</link>
            <pubDate>Fri, 24 Aug 2018 20:28:07 +0100</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/digitalocean-firewalls-pretty-good/</guid>
            <description>&lt;p&gt;Recently I decided I was going to switch to using &lt;a href=&#34;https://m.do.co/c/7950eeffbf8d&#34;&gt;DigitalOcean&lt;/a&gt; (referral) instead of Online.net, nothing bad on Online&amp;rsquo;s part, in all honesty I just wanted to play with &lt;a href=&#34;https://forge.laravel.com&#34;&gt;Laravel Forge&lt;/a&gt; and as I was already having to reinstall a server I figured I&amp;rsquo;d switch to DigitalOcean to save a few coins.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Recently I decided I was going to switch to using <a href="https://m.do.co/c/7950eeffbf8d">DigitalOcean</a> (referral) instead of Online.net, nothing bad on Online&rsquo;s part, in all honesty I just wanted to play with <a href="https://forge.laravel.com">Laravel Forge</a> and as I was already having to reinstall a server I figured I&rsquo;d switch to DigitalOcean to save a few coins.</p>
<p>The only downside Forge has though is that it runs all sites as the same system user. No worries, multiple servers instead of one huge beast server it is then!</p>
<p>I&rsquo;ll have to write up a post on what sort of setup I have for my websites eventually, it&rsquo;s interesting enough if you&rsquo;re a nerd and if you&rsquo;re here on this site you probably are one.</p>
<h3 id="lets-talk-firewalls">Let&rsquo;s talk firewalls</h3>
<p>I was having a poke around in the control panel looking at all the expensive things like load balancers and whatnot and discovered a freebie - Firewalls! Not just any old firewalls though. Modular firewalls. Cross-region firewalls. Cloudy firewalls!</p>
<p>The thing with this though, and indeed you might be thinking &ldquo;ugh jeez Cohan you never seen a firewall before?&rdquo;, you&rsquo;re able to specify the usual IPs and ranges as you&rsquo;d hope but also you can specify source and destination droplets and tags too - across regions and everything!</p>
<p>To put that in perspective I&rsquo;ve tagged all my droplets with a &ldquo;Global&rdquo; tag. Now I can create a rule that allows SSH from the IPs I&rsquo;ll be using, chuck an inbound rule in there for what is effectively &ldquo;Allow TCP port 22 access to [Global] to a list of my IP addresses&rdquo;. Boom. All of my droplets block all incoming traffic but allow SSH to my IPs and only my IPs. Sweet! While we&rsquo;re in what we&rsquo;re calling a global rule we&rsquo;ll also allow all outbound traffic here too</p>
<p><img src="/images/digitalocean-firewalls/global.png" alt=""></p>
<p>Now then I have a few web-facing servers. Tag them all as &ldquo;Webserver&rdquo; and create a firewall rule that is essentially &ldquo;Allow TCP ports 80,443 access to [Webserver] from [All IPv4],[All IPv6]&rdquo; - All of the websites come online. London region, Amsterdam region. They&rsquo;re now blocked off to the world but allow SSH from my IPs and web traffic from the world</p>
<p><img src="/images/digitalocean-firewalls/webserver.png" alt=""></p>
<p>Then we get interesting. I have a separate MySQL server because the websites aren&rsquo;t very heavy but I wanted a bit more beef behind the backing SQL server. Do I need that sort of setup? Of course not. I wanted it because I wanted it.</p>
<p>Now we set up a rule &ldquo;Allow TCP port 3306 access to [MySQL] from [Webserver]&rdquo;. All of the webservers can now connect to MySQL on the SQL server no worries. Even new droplets, as long as I tag them correctly they can connect. That&rsquo;s awesome right there.</p>
<p><img src="/images/digitalocean-firewalls/mysql.png" alt=""></p>
<p>I wish I had some more to say on DigitalOcean&rsquo;s cloudy firewalls but honestly they&rsquo;re so easy to use and can be so modular and best of all they <em>just worked</em>. Absolute props DigitalOcean. Love it.</p>]]></content>
        </item>
        
        <item>
            <title>Your super secret subdomain is not a super secret</title>
            <link>https://cohan.dev/your-super-secret-subdomain-is-not-a-super-secret/</link>
            <pubDate>Mon, 02 Apr 2018 23:40:37 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/your-super-secret-subdomain-is-not-a-super-secret/</guid>
            <description>&lt;p&gt;You&amp;rsquo;ve started a new project right? Figure you want to show it off to a bunch of people. Sending preview links to friends and supporters?&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>You&rsquo;ve started a new project right? Figure you want to show it off to a bunch of people. Sending preview links to friends and supporters?</p>
<p>The subdomain you&rsquo;re using is not private information. The obvious - the people you send it to could just link it to anyone.</p>
<p>The less obvious is that there&rsquo;s a log of SSL certificates issued. If you&rsquo;ve set up HTTPS of any kind for the subdomain it&rsquo;s now listed in the Certificate Transparency log. I already knew this so I have no shame, these are all just subdomains I use for keeping track of which server things are on so no biggie. In your case though this might also reveal your origin IP address and all sorts. Subdomains are not private. Stop doing that.</p>
<img class="aligncenter size-full wp-image-3998" src="https://cohanrobinson.com/wp-content/uploads/2018/04/Screenshot-from-2018-04-03-00-34-15.png" alt="" width="586" height="986" srcset="https://cohanrobinson.com/wp-content/uploads/2018/04/Screenshot-from-2018-04-03-00-34-15.png 586w, https://cohanrobinson.com/wp-content/uploads/2018/04/Screenshot-from-2018-04-03-00-34-15-178x300.png 178w" sizes="(max-width: 586px) 100vw, 586px" />
<img class="aligncenter size-full wp-image-3995" src="https://cohanrobinson.com/wp-content/uploads/2018/04/Screenshot-from-2018-04-03-00-26-56.png" alt="" width="516" height="359" srcset="https://cohanrobinson.com/wp-content/uploads/2018/04/Screenshot-from-2018-04-03-00-26-56.png 516w, https://cohanrobinson.com/wp-content/uploads/2018/04/Screenshot-from-2018-04-03-00-26-56-300x209.png 300w" sizes="(max-width: 516px) 100vw, 516px" />
<p>Not a believer? Chuck your domain into Google&rsquo;s <a href="http://transparencyreport.google.com/https/certificates" target="_blank" rel="noopener">Transparency Report site</a></p>
<p>Don&rsquo;t just rely on hard to guess subdomains to hide your shiny new project. They&rsquo;re public knowledge. Put some auth on it!</p>]]></content>
        </item>
        
        <item>
            <title>PHP curl / libcurl error on subsequent requests</title>
            <link>https://cohan.dev/php-curl-libcurl-error-on-subsequent-requests/</link>
            <pubDate>Sun, 05 Nov 2017 17:29:12 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/php-curl-libcurl-error-on-subsequent-requests/</guid>
            <description>&lt;p&gt;I&amp;rsquo;ve been getting the following error recently when making multiple calls using PHP curl (specifically Laravel&amp;rsquo;s artisan tinker)&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>I&rsquo;ve been getting the following error recently when making multiple calls using PHP curl (specifically Laravel&rsquo;s artisan tinker)</p>
<p><em>To note the domain/IP has been anonymised, I am aware that the domain is example.com - that wasn&rsquo;t the actual host I was trying to connect to.</em></p>
<pre>
	* Hostname example.com was found in DNS cache
	* Trying 93.184.216.34...
	* TCP_NODELAY set
	* Connected to example.com (93.184.216.34) port 443 (#0)
	* CAfile: none
	 CApath: none
	* NSS error -8023 (SEC_ERROR_PKCS11_DEVICE_ERROR)
	* A PKCS #11 module returned CKR_DEVICE_ERROR, indicating that a problem has occurred with the token or slot.
	* Closing connection 0
	Exception
	>>>
</pre>
<p>Through plenty of Googlin&rsquo; and wasting quite honestly too much time on this I found the following command that fixes the issue. I would only advise running this on your dev machine just to get things working and not necessarily do it in production. Having said that I&rsquo;ve only noticed this issue occurring in the tinker shell, I don&rsquo;t believe it&rsquo;s a problem for regular running webapps.</p>
<pre>export NSS_STRICT_NOFORK=DISABLED</pre>
<p>As mentioned in <a href="https://github.com/aws/aws-sdk-php/issues/1110#issuecomment-256013790" target="_blank" rel="noopener">the comment that suggested this</a>,</p>
<blockquote>
<p>Once this is done, no more errors occur. That said, Mozilla clearly states it&rsquo;s an error to do this but I couldn&rsquo;t find an explanation as to why, which makes me a bit uneasy.</p>
</blockquote>
<p>Your mileage may vary but if like me you&rsquo;re just looking for a quick fix so you can get some darned dev work done, this&rsquo;ll sort it for you. To revert the change you can use</p>
<pre>export NSS_STRICT_NOFORK=1</pre>]]></content>
        </item>
        
        <item>
            <title>No “www” – htaccess redirect</title>
            <link>https://cohan.dev/no-www-htaccess-redirect/</link>
            <pubDate>Fri, 04 Aug 2017 13:45:09 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/no-www-htaccess-redirect/</guid>
            <description>&lt;p&gt;I go &lt;em&gt;just&lt;/em&gt; long enough between websites that I&amp;rsquo;m always forgetting this little number. Putting it here so I can just grab it next time.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>I go <em>just</em> long enough between websites that I&rsquo;m always forgetting this little number. Putting it here so I can just grab it next time.</p>
<pre>
	RewriteEngine On
	RewriteBase /
	RewriteCond %{HTTP_HOST} !^example\.com$ [NC]
	RewriteRule ^(.*)$ https://example.com/$1 [L,R=301]
</pre>]]></content>
        </item>
        
        <item>
            <title>Rik Mayall’s passing really f**king sucks.</title>
            <link>https://cohan.dev/rik-mayall-passing-really-fking-sucks/</link>
            <pubDate>Mon, 09 Jun 2014 20:00:00 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/rik-mayall-passing-really-fking-sucks/</guid>
            <description>&lt;p&gt;Britain and indeed the world has lost one of the best men of comedy today.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Britain and indeed the world has lost one of the best men of comedy today.</p>
<p>The first thoughts that come to mind are those of a happy childhood, back when my parents were together and we had a bit of a TV night. Usually it was when mom was off competing in a horse or shetland pony event overnight and we’d crack open the snack cupboard, my sisters would probably be doing my dad’s hair to look like Richie and we’d watch as many episodes of Bottom as we could find. Back then of course it was a once-in-a-blue moon occasion to see Bottom being on TV, as video on demand was only a sparkle in some genius’ eye at the time.</p>
<p>Nowadays of course you can almost guarantee anything that had Rik Mayall in the credits is going to be an amazing laugh, even the extremely old stuff such as The Young Ones still stands tall above the rest of the comedy crowd.</p>
<p>Personally speaking I would imagine any sense of humour I have was inspired and possibly birthed by the Rik Mayall and Ade Edmonson combo growing up. Their slapstick routines combined with the witticisms of the comedy gods themselves combined to be one of the greatest escapes during my school days, nothing worked better than a massive comedy binge after a day of being bullied to keep myself pushing through.</p>
<p>Speaking raw and truthfully I can’t at this time believe he’s actually gone. I can’t even imagine we’ll never see anything else from him. I remember being constantly on the verge of tears for the few days back in 1998 when Rik had the quadbike accident and was in a coma. The bastard pulled through that one and I celebrated by watching every damn episode of The Young Ones and Bottom in a couple of sittings with a renewed joy and excitement for the series</p>
<blockquote>
There were times when Rik and I were writing together when we almost died laughing. They were some of the most carefree stupid days I ever had, and I feel privileged to have shared them with him. And now he’s died for real. Without me. Selfish bastard.
<p>—Ade Edmondson</p>
</blockquote>
<p>I can’t even imagine how that guy is taking it, they’ve been working together since the late 70s, a full 10 years longer than I’ve been on this planet.</p>
<p>To sum up, anything comedy related that starred Rik Mayall reminds me of  my childhood back when everything was perfect through to the rough years at school through to the current day where Bottom is a regular feature when there’s a need for a good belly laugh.</p>
<p>Rest in peace, you complete and utter bastard.</p>]]></content>
        </item>
        
        <item>
            <title>A fix for my Windows 8 laptop dropping wifi connection</title>
            <link>https://cohan.dev/fix-windows-8-laptop-dropping-wifi-connection-constantly/</link>
            <pubDate>Mon, 04 Mar 2013 23:05:44 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/fix-windows-8-laptop-dropping-wifi-connection-constantly/</guid>
            <description>&lt;p&gt;Plagued by the constant disconnecting from the wifi whenever I wandered off for a few moments to do something in meatspace I had to find out what was going on.&lt;/p&gt;
&lt;p&gt;Then I procrastinated.. and completely forgot about it.&lt;/p&gt;
&lt;p&gt;Then it did it again so I started searching. Piecing together giblets of information from the internet I figured out Windows 8 likes to switch off power to the wifi adapter if the computer goes idle for long enough.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Plagued by the constant disconnecting from the wifi whenever I wandered off for a few moments to do something in meatspace I had to find out what was going on.</p>
<p>Then I procrastinated.. and completely forgot about it.</p>
<p>Then it did it again so I started searching. Piecing together giblets of information from the internet I figured out Windows 8 likes to switch off power to the wifi adapter if the computer goes idle for long enough.</p>
<p><strong>First bit</strong>: We&rsquo;ll disable it in power management: Slide the mouse down to the bottom-right corner, then once your right-side navigation thing pops up go to the top &lsquo;Search&rsquo; (ClassicShell: Press the Windows key In the text box at the bottom) type &ldquo;Edit power plan&rdquo; and click the result.</p>
<p>Change advanced settings. Open up the &ldquo;Wireless Adapter Settings&rdquo; then &ldquo;Power Saving Mode&rdquo; and make sure it doesn&rsquo;t disconnect your wifi to save power by setting (at least AC, but I went with both because I live life on the edge). Switch it up to Maximum Performance which <em>should</em> stop it from disconnecting at random.</p>
<p>I say should, as it didn&rsquo;t actually work very well for me. After a (longer, to be fair) while it disconnected again. As it turns out there&rsquo;s another place to control a similar setting.</p>
<p><strong>Second bit</strong>: Go into your network settings. Control panel again.. Mouse to the bottom-right, &lsquo;Search&rsquo; again. This time type &ldquo;Control panel&rdquo; and click the result. From here we want &ldquo;Network and Internet&rdquo; and then &ldquo;Network and Sharing Center&rdquo; and from there &ldquo;Change adapter settings&rdquo; (It&rsquo;s on the left hand menubar)</p>
<p>Right click your wifi adapter -&gt; click Properties -&gt; click Configure -&gt; click Power Management</p>
<p>Uncheck the box &ldquo;Allow the computer to turn off this device to save power&rdquo;. That should do the job.</p>
<p>Worked so far, anyway..</p>
<h2 id="video-instructions-for-second-bit">Video instructions for Second bit</h2>
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
			<iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/vy1QvPL4WWs?autoplay=0&amp;controls=1&amp;end=0&amp;loop=0&amp;mute=0&amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"></iframe>
		</div>

<p> </p>
]]></content>
        </item>
        
        <item>
            <title>Redirect / Rewrite destination IP address using iptables</title>
            <link>https://cohan.dev/rewrite-destination-ip-address-using-iptables/</link>
            <pubDate>Wed, 27 Jun 2012 17:10:00 +0000</pubDate>
            <author>cohan@cohan.dev (Cohan Robinson)</author>
            <guid>https://cohan.dev/rewrite-destination-ip-address-using-iptables/</guid>
            <description>&lt;p&gt;Just a quick one on how to alter the destination of an outbound connection IP using iptables. I imagine a few tweaks would allow this to work in the sense of redirecting through a proxy etc too.&lt;/p&gt;</description>
            <content type="html"><![CDATA[<p>Just a quick one on how to alter the destination of an outbound connection IP using iptables. I imagine a few tweaks would allow this to work in the sense of redirecting through a proxy etc too.</p>
<p><code>iptables -t nat -I OUTPUT --dest 93.184.220.20 -p tcp --dport 80 -j DNAT --to-dest 93.184.220.21</code></p>
<p>This one will specifically change which IP your machine actually uses for EdgeCast&rsquo;s CDN, but you can easily change the original IP (&ndash;dest) and the new destination IP (&ndash;to-dest)</p>]]></content>
        </item>
        
    </channel>
</rss>
