<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Stefan Dorresteijn on Medium]]></title>
        <description><![CDATA[Stories by Stefan Dorresteijn on Medium]]></description>
        <link>https://medium.com/@stefandorresteijn?source=rss-64dc6ab855d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*OBvpUEm7mFRdtDEVMXgbcw.jpeg</url>
            <title>Stories by Stefan Dorresteijn on Medium</title>
            <link>https://medium.com/@stefandorresteijn?source=rss-64dc6ab855d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 08:18:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@stefandorresteijn/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Dispassionate Defeatism]]></title>
            <link>https://stefandorresteijn.medium.com/dispassionate-defeatism-1b751d89426c?source=rss-64dc6ab855d------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b751d89426c</guid>
            <dc:creator><![CDATA[Stefan Dorresteijn]]></dc:creator>
            <pubDate>Sat, 26 Jun 2021 15:49:48 GMT</pubDate>
            <atom:updated>2021-06-26T15:49:48.122Z</atom:updated>
            <content:encoded><![CDATA[<p>“Jumping from failure to failure with undiminished enthusiasm is the big secret to success.” — Savas Dimopolous</p><p>I start doing a lot of things. I don’t finish a lot of things, but I do start a lot of things. I’ve founded businesses, taken hobbies and sports, and bought into hypes and fashions, all with the same unbridled enthusiasm. I’ve always felt passionately about pretty much everything I do, regardless of the opinions of loved ones around me. I find something, fully and deeply engulf myself in anything and everything related to it, then rapidly lose interest and forget about it. This cycle repeats itself every couple of months, or sometimes weeks.</p><p>Besides creating financial chaos, there aren’t many downsides to passionately hopping from hobby to instrument to sport. The largest, and only relevant downside to me is that my friends and loved ones have heard me get incredibly excited about a million things, only to never hear about those topics ever again. It’s hard to believe someone who says they love something when history teaches you they forget about their loves within weeks. Anything new I introduce comes across as a disingenuous distraction from everyday life.</p><p>While nobody in my close circle has vocalized a negative feeling towards what I’ll call “my flaky passions”, it’s become hard not to assume those feelings exist. This makes it both difficult to share about new interests, and even invest myself fully in them, meaning I might miss out on those rare few that do stick. Normally I wouldn’t let that stop me but lately I’ve started holding back my energetic outbursts of oversharing. My unbridled enthusiasm has become quite bridled*.</p><p>Accepting my tendency to dive from interest to interest became easier when I learned it’s often a symptom of ADD, which happens to be something I was diagnosed with almost 10 years ago. For those around me who have to suffer my onslaught of tidbits about <em>the flavor of the week, </em>this might assist in creating an understanding, but it doesn’t do much to reduce the irritation I assume they sometimes feel, and that assumption is where the issues really lie.</p><p>I believe that being passionate is a good thing, even when it’s inconsistent. However, for some reason I also believe that others don’t see it that way. That belief, and not the actual feedback I receive from my loved ones, is what has created a feeling of defeatism inside me. One would assume that the solution is to simply disregard my assumption of other people’s true beliefs and simply accept what they tell me, but that’s easier said than done.</p><p>I wrote this piece not to entertain but to allow myself to explain a weakness. It’s often easier to believe the words someone puts on paper than your own rational mind telling you something is true so when I reread this piece I can pretend someone else wrote it and believe the truth as it stands; passion is good, enthusiasm is great, just be yourself and believe the feedback you get from those who care about you. They wouldn’t lie.</p><p>*I realize that’s not the right word for it but how stupid is it that the opposite of unbridled isn’t just “bridled”?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b751d89426c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[eCPPTv2 Study Journal: Days Two & Three]]></title>
            <link>https://stefandorresteijn.medium.com/ecpptv2-study-journal-days-two-three-c5840817f507?source=rss-64dc6ab855d------2</link>
            <guid isPermaLink="false">https://medium.com/p/c5840817f507</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[studying]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[Stefan Dorresteijn]]></dc:creator>
            <pubDate>Thu, 20 Aug 2020 09:06:41 GMT</pubDate>
            <atom:updated>2020-08-20T09:06:41.565Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>NB.</strong> This article is part of a series of articles I’m writing in an effort to fully document my journey to becoming a certified, professional pentester. Find the other articles on my profile.</p><h3>Day Two</h3><p>Is it day two already? It seems only yesterday that I started. I mean, it was yesterday. So today is day two. Welcome! Here’s what we learned:</p><p><strong>We’re going</strong> to need to spend a lot of time studying the reversing sections, they’re the one thing I have no skills in yet. I’m starting to understand it more so tomorrow I’ll try my hand at actually looking at some ASM on my Kali box and see if I can make more sense of it in a practical environment.</p><p><strong>OSINT </strong>was a really fun chapter. Nothing new except for a few tools, so I’m confident I’ll remember that and I can move on to practicing it a little in the lab, and on my own company.</p><p><strong>Domain and IP scanning </strong>is something I’m already somewhat familiar with but it was good to get a grasp of which tools help us achieve actual results, and why we even need this information.</p><h3>Day Three</h3><p>Day three was my favorite day so far because I feel I actually achieved something. Here’s what we learned:</p><p><strong>The Buffer Overflow</strong> module significantly improved my understanding of ASM and why it’s relevant. This is the first time since I started even looking at learning this stuff that I feel I have a decent understanding of how Buffer Overflow Exploits work, how they’re performed, and why they’re useful. I think I’ll train a couple of easy BOF boxes on TryHackMe and maybe HackTheBox to get some practice.</p><p><strong>It might </strong>be useful to run a Windows VM box on my Kali machine since most of the reversing instructions are done using Immunity Debugger, on windows executables. I’m sure I could find a way to use a Linux based debugger, but I’d prefer to stick with the course instructions for now and branch out on my own later.</p><p><strong>This studying </strong>thing is really fun but it also requires a lot of focus, which I struggle with most of the time. For now, I’m doing well and I hope I can keep this train going. I have to finish the BOF and shellcode modules first, and then move on to the topics I’m already somewhat familiar with.</p><p>I’m going to spread out these journal entries a little more because they actually take a decent amount of time to write and I need that time to relax. I’m still working while studying so I need enough relaxation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c5840817f507" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[eCPPTv2 Study Journal: Day One]]></title>
            <link>https://stefandorresteijn.medium.com/ecpptv2-study-journal-day-one-630d68ebbf4f?source=rss-64dc6ab855d------2</link>
            <guid isPermaLink="false">https://medium.com/p/630d68ebbf4f</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[Stefan Dorresteijn]]></dc:creator>
            <pubDate>Mon, 17 Aug 2020 20:12:38 GMT</pubDate>
            <atom:updated>2020-08-17T20:15:46.411Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="eLearnSecurity logo" src="https://cdn-images-1.medium.com/max/824/1*PMvbUqaqAXH9fCzYhKZInQ.png" /></figure><p><strong>NB.</strong> This article is part of a series of articles I’m writing in an effort to fully document my journey to becoming a certified, professional pentester. Find the other articles on my profile.</p><p>Day one was all about finding out what I was going to have to learn, and how I was going to be learning it. It’s been almost ten years since I picked up a course or took the chance to have someone tell me exactly what I needed to know so to say I was in unfamiliar territory would be putting it mildly. Anyway, here’s what I did and what I learned:</p><p><strong>I bought</strong> a notebook. I bought colored pens. Honestly, the only thing I know about studying is that the smartest girls in movies always have a bunch of differently colored pens and what works for them, must work for me.</p><p><strong>I learned</strong> that reverse engineering is hard and that it’s going to take a while for me to get comfortable with it. When I look at all the course work I think this is going to be the most topic for me, as my web development experience doesn’t give me an edge.</p><p><strong>Two hours</strong> of studying a day is good, but 3 hours would do more than just add an hour to my study time. I think it will allow me to study for two hours and then go through my own notes for another hour to make sure I have a complete understanding of what I just read/watched.</p><p><strong>I need</strong> to take a lot of notes, and create a database with definitions I need to understand. Honestly, maybe even flash cards would help. I’ve ordered a printer so I can print the course work and attempt to create flash cards. The process of creating the cards should be enough for me to remember definitions. Learning reverse engineering isn’t much different from learning a language. Understand the words, then know how they’re used to make a program.</p><p><strong>Taking notes </strong>on paper is much easier for me than taking notes on my computer. I think the act of writing helps me remember things better than typing would, so I’m going to continue to take notes on my new notebook. I’ll digitize them later to make sure I have them available for anyone following along (and so I can write them again so they stick in my head)</p><p>To be continued tomorrow!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=630d68ebbf4f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Yeah, but it’s not really a business]]></title>
            <link>https://stefandorresteijn.medium.com/yeah-but-its-not-really-a-business-dc2de9ac6a79?source=rss-64dc6ab855d------2</link>
            <guid isPermaLink="false">https://medium.com/p/dc2de9ac6a79</guid>
            <category><![CDATA[fear]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[anxiety]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[life]]></category>
            <dc:creator><![CDATA[Stefan Dorresteijn]]></dc:creator>
            <pubDate>Sat, 09 Mar 2019 03:05:50 GMT</pubDate>
            <atom:updated>2019-03-09T03:05:50.569Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*f9SZwz4OmW5e5KiHWU6fmw.jpeg" /></figure><p>I feel like an entrepreneur at heart. I became a software engineer because I wanted a product to exist, and I didn’t know how to make it. Other engineers I knew, rightfully wouldn’t buy into my ideas, or needed to be paid. So I figured I’d do it myself. From there, I was thrown into the ridiculously profitable and ego-boosting world of web development, allowing me to make a living from something I never set out to become particularly good at. It’s 10 years later now, and I seem to have lost sight of my initial goal; to be an entrepreneur that makes cool products.</p><p>When I was younger, entrepreneurship seemed so easy. Every idea I had was a million dollar idea, and people who didn’t understand that were haters, or just too dumb to understand my entrepreneurial genius. I didn’t need money or skills, everything would fall into place eventually. Of course, the real world doesn’t work like that. Most of my ideas failed horribly or were never even properly initiated. I didn’t know what I was doing as an entrepreneur or as a developer and it showed. I felt like a failure and gave up on starting a business.</p><p>Through the years that followed, I had a lot of ideas for businesses. I wanted to make apps, websites, games, and even non-virtual products. Excitement would come over me like sunscreen on Trump, and I would work out what the business had to look like. How would the product function? How would I sell it? How would I make money? My excitement would last me through a night but eventually I would end up telling myself I wasn’t the right person to build it, and that I would be happy if someone else just built it and bring it to market. When someone did then take one of those ideas to market, I’d loathe myself for not doing it when the time was right. This happened so often, that at some point I gave up entirely on the idea of turning an idea into a business.</p><p>In the last year, I’ve created a couple websites I’m incredibly proud of, and have even used a few of them to generate traffic and income. I’ve worked with extremely skilled designers, salesmen and engineers, creating products that will live on when I’m no longer involved. Unfortunately, the drive to turn one of those ideas into a serious business is hard to summon. Whether it’s the amount of work I foresee getting a product to market, or the fear that creeps up on me when I allow myself to dream about a world where I succeed, and achieve something I’ve dreamed about since I was a small child, I’m holding myself back from going out there and shooting my shot.</p><p>Perhaps one of my ideas is worth fighting for. Maybe an investor sees value in my plans, or thinks the product is cool and wants to see it become a reality. Maybe I raise money and create a company that’s actually worth something, allowing me to stand at the head of my own success story. I’ll look back on my insecurities and laugh, wondering why I was so scared to take a gamble. Hell, what’s the worst thing that could happen? I fail and return to anonymity, waiting for my chance to try again.</p><p>I guess what I’m trying to say is; I want to return to being a “why not?” kind of person, instead of being so realistic all the time. Sure, I’ll probably fail as often as I’ll try, but one of these days I’ll get it right and leave my mark on the world.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dc2de9ac6a79" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A year in preview]]></title>
            <link>https://stefandorresteijn.medium.com/a-year-in-preview-c09708870759?source=rss-64dc6ab855d------2</link>
            <guid isPermaLink="false">https://medium.com/p/c09708870759</guid>
            <category><![CDATA[conversations]]></category>
            <category><![CDATA[humor]]></category>
            <category><![CDATA[new-year]]></category>
            <category><![CDATA[kindness]]></category>
            <dc:creator><![CDATA[Stefan Dorresteijn]]></dc:creator>
            <pubDate>Tue, 01 Jan 2019 20:23:04 GMT</pubDate>
            <atom:updated>2019-01-01T20:26:26.945Z</atom:updated>
            <content:encoded><![CDATA[<p>Every year, we look back and tell the stories of our last 365 days. We take the good, we take the bad, we sling it at a dictionary and put it on the internet. I’ve been guilty of doing witty write-ups myself but feel there’s a slight oversaturation of semi-memorable events for us to chew through, so I’m just going to look ahead. Why would we look back anyway? That’s not where we’re going.</p><p>All cliches aside, 2019 is going to be an interesting year. The world seems to be entirely confused about what it wants and the deadlines on some of the most important decisions we’ve made in a while are coming ever closer. The UK is trying to break up with the EU, but the EU is all like “Yeah but you’re not getting your hoodie back”, the US will have primaries for their 2020 elections when the Democrats are going to try to replace The Donald, and finally, the entire world needs to decide whether we prefer gas vehicles over polar bears (or something like that.)</p><p>Socially, we live in exciting times as well. Everyone’s becoming more tolerant, or less tolerant, depending on who you ask. Lying has become commonplace, or so I’ve been told by very reputable sources. Genders can’t be assumed, meat shan’t be consumed, and Kevin Spacey is doomed. Oh, I hear FX just announced their new show: “Comedians in cars are apologizing for their sexual deviancy”. I think two seasons will air before the host gets fired for tweets he posted 5 years ago.</p><p>Personally, I’m really looking forward to continuing to live. I’ve got a lot going for me right now that I’d like to keep working on in 2019. I just really think I can get that 300th Twitter follower this year if I don’t give up and delete all my social media before that happens. I might be moving to London, which if Theresa May gets her way will soon be on a different continent. (I’m pretty sure that’s what Brexit means.) I also now have a podcast to keep working on and am excited about the conversations I’m going to be having this year. I’ve already recorded some of the most interesting conversations I’ve had in a long time and can’t wait to see who I’ll be talking to next.</p><p>I could drag this piece out to no end but I wanted to just say a quick couple of words. I want to ask you, whoever you are, to have more conversations with people you don’t know and maybe don’t understand. If you’re an atheist or Christian, ask a Muslim about their views. If you’re a straight, white male like me, talk to someone from a minority group and try to understand their struggle. If we all try to be a bit more understanding and show a tad more willingness to learn about one another, I think we can make this a really good year.</p><p>See you again in 365 days.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c09708870759" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Gravely misunderstood; the Bitcoin story]]></title>
            <link>https://stefandorresteijn.medium.com/gravely-misunderstood-the-bitcoin-story-923c2877273a?source=rss-64dc6ab855d------2</link>
            <guid isPermaLink="false">https://medium.com/p/923c2877273a</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[crypto]]></category>
            <dc:creator><![CDATA[Stefan Dorresteijn]]></dc:creator>
            <pubDate>Tue, 08 May 2018 20:04:15 GMT</pubDate>
            <atom:updated>2018-05-08T20:21:00.139Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>A purely peer-to-peer version of electronic cash would allow online payments to be sent directly from one party to another without going through a financial institution. — </em><strong><em>Satoshi Nakamoto</em></strong></blockquote><p>Welcome to the first in a series of articles on cryptocurrencies. In this series I’ll dive deep into the largest, or most popular cryptocurrencies. I’ll tell you what I think they’re worth, what their roadmap is/should be and what I think of their team.</p><p>I obviously don’t have an insider view on these companies/currencies but I have a background in software engineering and a serious interest and stake in cryptocurrencies, allowing me to do proper research before giving them my seal of (dis)approval.</p><p><strong>Bitcoin.</strong></p><p>Today we’re starting with the largest of the cryptocurrencies; Bitcoin. Father of the blockchain, Bitcoin has a market cap of $<a href="https://coinmarketcap.com/currencies/bitcoin/">157B</a>. Bitcoin was originally imagined by Satoshi Nakamoto as a decentralised payment system but became much more than that. It is the industry leader both in valuation and status, pulling the cryptocurrency cart in terms of regulation and mainstream adoption. However, Bitcoin doesn’t seem to be the currency once imagined by Satoshi Nakamoto, or at least, it doesn’t function as such any longer.</p><p><strong>Tech.</strong></p><p>Bitcoin has a scaling problem. To understand this scaling problem, you need to understand how Bitcoin — and by extension, the blockchain — works. When you perform a Bitcoin transaction, that transaction is thrown on a block and every 10 minutes, that block is added to the blockchain. The amount of transactions in a block is limited to prevent a block from being over 1mb in size. This was introduced in 2010 by Nakamoto in order to prevent DoS attacks on the Bitcoin network. Without this limitation, an attacker could create blocks of infinite size, paralyzing the network.</p><p>While many things have changed since 2010, the block size limit problem still exists. In 2017, the introduction of SegWit allowed the block size to grow up to 2mb (and eventually up to 4mb) and opened up the Bitcoin blockchain for services to be built on top of it. However, SegWit introduction wasn’t all smooth sailing. In fact, this scaling issue led to multiple hard forks of Bitcoin, creating Bitcoin Unlimited and BitcoinCash in the process, both of which I will discuss in future articles.</p><p>As the scaling issue exists, it severely handicaps Bitcoin as a mode of transacting value. Transactions take very long to perform and the low fees a cryptocurrency should be able to provide have long disappeared. An on-chain solution needs to be created that properly handles the scaling issue now and in the long run.</p><p><strong>Team/Community</strong></p><p>It’s hard to talk about “the bitcoin team” or even “the bitcoin community” because ironically, they never seem to be able to come to a consensus. Solutions to problems are proposed, then a hard-fork is proposed and there’s another cryptocurrency with “Bitcoin” in its name. While I believe eventually one of these coins will win the market-cap race, I don’t think they all serve the same purpose. The lack of consensus in the Bitcoin community comes mostly from a disagreement in scaling methods. Where Bitcoin decided on the SegWit solution, some community members decided that was against Bitcoin’s original design and that other solutions should be found. This created multiple hard forks, leading us down a road of shattered community support and multiple currencies, trying to fulfill the same purpose.</p><p>Likely the largest issue existing in the Bitcoin world today is the fight between Bitcoin and Bitcoin Cash. The former still exists as the official Bitcoin but the latter sees itself as the only rightful carrier of that name. I won’t cast judgement on who’s right but it’s obvious these disagreements have led to miscommunication to new users and a lot of angry tweets. Fortunately even the split Bitcoin communities are large enough to sustain themselves and one of the scaling methods/development teams will prove themselves to be the best, hopefully leading to a single, united Bitcoin community again.</p><p>If we look at the Bitcoin core development team, there’s not much to comment on a technical level. A currency this large and this tested simply has to be properly developed to run at scale, which it is currently doing. If we ignore the scaling issues — which I don’t see as a technical issue but more a community issue — Bitcoin is rather solid. If the community can get together and decide on a proper path forward, I don’t see tech ever becoming a serious issue for this currency.</p><p><strong>Valuation</strong></p><p>The word on many people’s minds nowadays is “bubble” and the question if Bitcoin can be considered to be one. In my opinion, the Bitcoin price as it stands is far too high. While I completely believe in cryptocurrencies having a major impact on the world in the future, I don’t think Bitcoin is necessarily the answer. If you’re going to <em>take over the world</em>, you need a few things Bitcoin currently doesn’t have under control:</p><ol><li>Quick transactions, meaning people don’t have to wait for their money to arrive. Imagine having to wait 15 minutes for your payment to go through when you’re checking out at the grocery store. While Bitcoin <em>can </em>be incredibly quick, it has issues performing transactions at a high speed at peak times. Solutions have been designed for this but the currency itself doesn’t have a proper one yet.</li><li>Cheap transactions <em>or </em>low transaction fees. It shouldn’t cost me much to pay for something. The higher this cost, the more likely I am to switch to a FIAT alternative. While most cryptocurrencies are significantly cheaper than FIAT alternatives, Bitcoin struggles at times. The lightning network solves this problem but that’s not a Bitcoin solution, it’s a community-developed solution for a Bitcoin problem.</li><li>Single-player influence. While a decentralized currency means no single person or organization can alter the chain of transactions, currently one person with deep pockets can make the Bitcoin price shoot up or down. If Bitcoin ever wants to be truly decentralized and uncontrollable by large entities, it needs to do better at stopping hoarders from tanking the price.</li><li>Hoarding. If you look at the amount of Bitcoin actually being actively transacted, you’ll quickly spot that a large majority of the coins are never moved. They’re in the wallets of the largest miners. This is a problem because it creates a false scarcity and it gives control over the price to those people holding large amounts of coin (see point 3.)</li></ol><p>These are only a few of the larger issues Bitcoin faces as it tries to become a mainstream currency. While I believe new solutions for existing problems are popping up left and right, the currency will have to solve a lot of these issues itself if it wants to scale up. This, and because Bitcoin was first, not best, is why I believe we can expect to see the Bitcoin price drop quite aggressively before it slowly moves back up to a reasonable price. There is currently simply no reason for this coin to be worth what its market cap shows.</p><p><strong>Closing remarks</strong></p><p>I believe Bitcoin was the most innovative thing to hit the world when it was invented. This paved the way for other cryptocurrencies to be created which now do Bitcoin’s job better than Bitcoin itself. If it wants to stay #1, Bitcoin will have to adjust and unite. While I believe in the strength of Bitcoin, I fear it has strayed away from Satoshi Nakamoto’s original ideas. Bitcoin is no longer useful for transactions and seems to be more functional as a store of value.</p><p>The price might drop strongly in the coming year(s) but I believe it will crawl back up at a more reasonable pace when it has. That’s when the bubble has burst, when the incredible profits are gone and the currency can start looking at mainstream acceptance.</p><p>This was the first of my articles on blockchain and cryptocurrencies. Please let me know what you thought of this article!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=923c2877273a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dockerizing Elixir Umbrella Apps]]></title>
            <link>https://medium.com/sjauf/dockerizing-elixir-umbrella-apps-2d4c1c7a8335?source=rss-64dc6ab855d------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d4c1c7a8335</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[elixir]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Stefan Dorresteijn]]></dc:creator>
            <pubDate>Mon, 09 Oct 2017 07:05:20 GMT</pubDate>
            <atom:updated>2017-10-09T07:07:10.091Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Part 1 of our Elixir development/deployment series</em></p><p>At <a href="http://sjauf.nl/">Sjauf</a>, we wanted to find a way to quickly deploy any of our applications, monitor them all at the same time, upgrade them with only a few clicks and scale them without needing to know all the ins and outs of our servers. We’re a small startup so we don’t employ a DevOps team or even a server administrator. Our solution needed to be easy to understand while remaining robust and secure. Here’s how we did it.</p><p><strong>Docker</strong></p><p>Deploying an application to a server can be a difficult task. Servers have a different architecture than your development machine, tend to run on worse specs and need to be configured from scratch every time you spin one up. On top of that, your development environment might not be the same as your coworker’s. This is why we use Docker to run our applications in containers that can then be deployed to our servers. Because our Docker containers always run with the same architecture with only the tools we tell it to install, we know they will behave the same on our server and our development machines. This solves a lot of our issues but creating a proper Dockerfile and environment for Elixir umbrella applications isn’t as easy as it seems.</p><p><strong>Something something, problem problem</strong></p><p>When we wanted to create our docker containers, we ran into a few issues. We were building our applications on Mac OSX computers to then start that build in our container. Because our Mac architecture is slightly different from our docker container architecture, the apps wouldn’t run. This meant having to build our applications from the docker container itself.</p><p>Another issue we ran into was starting our application while our Postgres server wasn’t running yet. It’s not uncommon (and I would say it’s actually better) to run your Postgres database in a separate container. Using docker-compose, you can then start your entire application — database and apps — all at once. Unfortunately, when you start your Elixir application before your database, Ecto complains and your app doesn’t start. That’s why we added our postgres waiting script, which we run as our starting command. It looks a little something like this:</p><pre>#!/bin/bash</pre><pre># wait-for-postgres.sh</pre><pre>set -e</pre><pre>host=$1</pre><pre>username=$2</pre><pre>password=$3</pre><pre>db=$4</pre><pre>start_elixir=$5</pre><pre>until PGPASSWORD=&quot;$password&quot; psql -h &quot;$host&quot; -U &quot;$username&quot; -d &quot;$db&quot; -c &#39;\l&#39;; do</pre><pre>    &gt;&amp;2 echo &quot;Postgres is unavailable - sleeping&quot;</pre><pre>    sleep 1</pre><pre>done</pre><pre>&gt;&amp;2 echo &quot;Postgres is up - executing command&quot;</pre><pre>exec $start_elixir</pre><p><strong>Dockerfile</strong></p><p>To create a docker image that can be run inside a container, you need a Dockerfile. Here’s how our Dockerfile ended up looking:</p><pre>FROM ubuntu:14.04.3</pre><pre># Set the locale, otherwise elixir will complain later on</pre><pre>RUN locale-gen en_US.UTF-8</pre><pre>ENV LANG en_US.UTF-8</pre><pre>ENV LANGUAGE en_US:en</pre><pre>ENV LC_ALL en_US.UTF-8</pre><pre># wget for convenience, use curl if you want to</pre><pre># curl for Appsignal</pre><pre># postgresql-9.6 for checking if the server is running yet so we can launch our applications when PG is already up</pre><pre>RUN apt-get -y -q install wget curl postgresql postgresql-contrib</pre><pre># add erlang otp</pre><pre>RUN wget <a href="https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb">https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb</a></pre><pre>RUN dpkg -i erlang-solutions_1.0_all.deb</pre><pre># Update apt libraries</pre><pre>RUN apt-get update</pre><pre># Install build essential for Appsignal</pre><pre>RUN apt-get install -y build-essential</pre><pre># Install erlang and elixir</pre><pre>RUN apt-get install -y -q esl-erlang elixir</pre><pre># Create app folder</pre><pre>ADD . /app</pre><pre># Copy wait-for-postgres script. We need this script to check up on Postgres and wait for it to be ready</pre><pre>COPY scripts/wait-for-postgres.sh /app/wait-for-postgres.sh</pre><pre># Own wait-for-postgres script so we can run it</pre><pre>RUN chmod +x /app/wait-for-postgres.sh</pre><pre># Set app folder to work dir</pre><pre>WORKDIR /app</pre><pre># Installs hex locally</pre><pre>RUN mix local.hex --force</pre><pre># Installs rebar locally</pre><pre>RUN mix local.rebar --force</pre><pre># Clean appsignal. If we don’t do this, it can’t compile on a second build</pre><pre>RUN mix deps.clean appsignal</pre><pre># Installs all dependencies for production</pre><pre>RUN mix deps.get --only-prod</pre><pre># Compiles application</pre><pre>RUN MIX_ENV=prod mix do compile, release --env=prod</pre><pre># Set Port</pre><pre>ENV PORT 8080</pre><pre># Run App</pre><pre>CMD [“_build/prod/rel/sjauf_umbrella/bin/sjauf_umbrella”, “foreground”]</pre><p>The comments in the Dockerfile should give you an idea of what every line does. Because our sub-apps are added as git submodules in our repository, those are always up to date. These commands make sure they’re all compiled and published automatically. Building the application is now as easy as running the docker build command:</p><pre>docker build -t sjauf/sjauf_umbrella .</pre><p>In this example, our organisation name is Sjauf and our repository is called sjauf_umbrella. Make sure you name your repository properly so you remember which application you were working on when you look back on this in the future, sitting on the roof of your penthouse in Miami, enjoying an entire bottle of black label with the Miami Dolphins cheerleading team.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d4c1c7a8335" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sjauf/dockerizing-elixir-umbrella-apps-2d4c1c7a8335">Dockerizing Elixir Umbrella Apps</a> was originally published in <a href="https://medium.com/sjauf">Sjauf</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Overwatch is the 2016 esports game of the year]]></title>
            <link>https://stefandorresteijn.medium.com/overwatch-is-the-2016-esports-game-of-the-year-80614b451fb1?source=rss-64dc6ab855d------2</link>
            <guid isPermaLink="false">https://medium.com/p/80614b451fb1</guid>
            <category><![CDATA[gaming]]></category>
            <category><![CDATA[esport]]></category>
            <category><![CDATA[overwatch]]></category>
            <dc:creator><![CDATA[Stefan Dorresteijn]]></dc:creator>
            <pubDate>Sun, 04 Dec 2016 22:31:20 GMT</pubDate>
            <atom:updated>2016-12-04T22:31:20.559Z</atom:updated>
            <content:encoded><![CDATA[<p><em>And my my does it deserve that title</em></p><p>When I opened the Twitter app on my phone yesterday, I was happily surprised to see Overwatch winning the “Esports Game of the Year” award at the 2016 Game Awards. It’s no secret I’m an immense fan of Blizzard games with Overwatch being my absolute favorite so excuse my bias as I continue to explain why — <a href="https://pvplive.net/c/overwatch-did-not-deserve-the-best-esports-award">contrary to published belief </a>— Overwatch deserved both the nomination and the win.</p><h3>Unification</h3><p>For those not old enough to remember, let me tell you about a little game called Quake. This fast paced arena shooter was once the pinnacle of competitive gaming. Thousands of people watched the quickest, aimiest (I know, not an actual word, sounds fun though) players compete with now famous casters excitedly describing their every move.</p><p>It’s okay that you don’t remember Quake. It’s okay that you don’t remember TF2’s competitive scene either. It’s even okay that the name “Tribes” means nothing to you but all these games had massively active competitive scenes with players who—for a very long time — had no chance of ever making a living from esports.</p><p>Then came Overwatch, also called “The Savior” for so many competitive gamers who wanted to compete on the largest stages in the world. Professional players from Dirty Bomb, Quake, Team Fortress 2 and even Wolfenstein: Enemy Territory came together and found new hope in Blizzard’s cartoony, class based shooter. If that’s not good for esports, I don’t know what is.</p><h3>Competition</h3><p>I will happily concede that Overwatch has yet to create a competitive scene large enough for major arenas. I’ll even say that the game isn’t complete yet and that it’s not a perfect spectator game either. Overwatch has at least a few years of development ahead of it before it’s the perfect esport. All really good arguments against Overwatch winning an esports related award but let’s take a quick look at the game’s competition.</p><p><strong>Counter-Strike: Global Offensive</strong></p><p>CSGO is most likely the esport that has become most accepted in main stream media this year. With ELeague bringing this game to one of the largest audiences in the world, Valve’s first person shooter is making a good case for why it would be esports game of the year. However, this game has far too many issues, stopping it from leading esports into the next phase of growth; mainstream acceptance.</p><p>CSGO has one large problem holding it back from winning a title such as “esports game of the year” and that problem is called “Valve”. A game thrives on its community and CS:GO is no different. Unfortunately that community is forced to build itself almost completely without help from Valve. Bugs don’t get fixed for months and when an update is finally released, it’s just another case with weapon skins. This game is excellent but it’s not uniting anyone, not innovating in any way and without Valve listening to input from the community, it’s hard to see the game improve over the next few years.</p><p><strong>League of Legends</strong></p><p>League is a very easy game to shoot down. Yes, it’s the largest esport in the world but it’s also got community and innovation issues up the wazoo. Riot’s turned to Valve of all companies to learn how to improve their game as an esport, a choice you don’t make when you’re confident in the future of your game. I’ll happily agree League is huge and its potential is even bigger but they haven’t moved enough this year to become “anything of the year”.</p><p><strong>Rocket League</strong></p><p>Rocket League is one of those games everyone needs to try. It is by far the most ball-related fun you can have behind your computer or console and this year it even started becoming an esport. Unfortunately Rocket League doesn’t have a publisher behind it that allows it to grow as quickly as an esport needs to in order to make a real splash. Yes, I love this game but it’s tiny and not growing quickly enough to be considered a serious competitor. This is not the game which can change mainstream opinion of esports. It’s great fun though.</p><h3>Build ’em up, break ’em down!</h3><p>An important part of esports becoming an accepted form of sport in the mainstream media is sponsorships. When esports was only supported by companies like Razer, Intel and Steelseries, both the money and the viewership were a niche market. Then esports grew, companies like Red Bull became interested and esports reached TV and newspapers. With the launch of Overwatch, this merge of mainstream businesses with the esports market became truly visible. Now companies like Coca Cola are working closely with Blizzard to create new experiences for their gamers, Overwatch joins League of Legends as an esport that’s trusted to pull in serious numbers by the largest organisations in the world. It’s only a guessing game how many more large partners Blizzard will get in their attempt to make this the largest esport in the world. Overwatch’s cartoony nature and near-perfect character creation is a driving force behind this search for large partners. Some companies won’t sponsor a shooter if it’s too realistic but Overwatch has none of those issues.</p><p>As a startup owner and entrepreneur, there is nothing I can appreciate more than a business willing to adjust their product based on their customers, as well as testing changes early and often. Blizzard has done just this to make Overwatch more of a startup than a finished esport. Before you shout “So you agree, it’s not an esport”, I need you to read that last sentence again. Overwatch isn’t finished. It’s not perfect. It’s not done growing and changing but it is doing the one thing nearly no other game developer is doing properly right now; testing. How often have you heard the CS:GO community go crazy over a weapon change because it happened over night? How many things haven’t changed or changed too late in other esports? Blizzard is one of the very few game publishers willing to spend heavily on their community management, allowing them to find out bugs and needed changes very quickly. This is the way — and I do believe currently the only way — to become the first truly mainstream esport.</p><p>Overwatch is small right now. Tournaments are limited in size and viewership, teams are still being created and recreated and the game’s competitive meta changes more often than Donald Trump’s opinion on the war in Iraq. Blizzard’s new esport is in its infancy but it’s already doing more things right than any other esport on the market and that’s why it deserves this title. “Best esport” is not about viewership or tournament winnings. The best esport needs to be doing more things right than any other game. I’ll admit that while esports grows, the games in the market are very far from perfect. 2016 was not a good year for esports games themselves, allowing Overwatch to pick up the title this early in their lifetime. Blizzard has looked at the growing market, seen what needs to be different and has implemented their improvements beautifully in Overwatch.</p><p>Overwatch is this year’s best esport. The question is, will it continue to grow and improve and become next year’s best esport without anyone saying it’s not?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80614b451fb1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Trumpland]]></title>
            <link>https://stefandorresteijn.medium.com/trumpland-2d8aed3f7c3d?source=rss-64dc6ab855d------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d8aed3f7c3d</guid>
            <category><![CDATA[politics]]></category>
            <category><![CDATA[2016-election]]></category>
            <category><![CDATA[donald-trump]]></category>
            <dc:creator><![CDATA[Stefan Dorresteijn]]></dc:creator>
            <pubDate>Fri, 11 Nov 2016 00:19:59 GMT</pubDate>
            <atom:updated>2016-11-11T00:19:59.209Z</atom:updated>
            <content:encoded><![CDATA[<p>As I turn my head and correct my pillow, I notice for the first time that I’m awake. It’s November 9th and I’ve had exactly 4 hours of sleep. Danielle’s gentle snoring almost lures me back into the warm embrace of my blankets, hugging me as I fall asleep once again. I take a drink of water, ready to hit the snooze button on my alarm and go back to bed. As I grab my phone, I realize what day it is. It’s November 9th. It’s the morning after the American Presidential Election. I’m tired because I was up late, watching CNN to get a feel of the excitement. I’m a fingerprint scanner away from knowing who is to be the 45th president of the United States of America.</p><p>For a second I wonder if ignorance truly is bliss. I wonder if it wouldn’t be nicer to not know, to make this a Schrödinger’s cat-like situation where Hillary Clinton both is and isn’t elected president until I check the news. Where my obsession with a once great state decides the outcome of this election. I laugh at myself. I laugh at how silly it is that I’m still doubting the outcome. Of course Hillary is elected president, give the yanks some credit.</p><p>I wish I had gone back to sleep. I wish my phone had not unlocked. I wish I had forgotten about the elections. I wish it had all gone differently but it hasn’t. We now live in <a href="https://www.youtube.com/watch?v=H5z8sCo2KBg">Trumpland</a>, where rational thought has been abandoned alongside decency and respect. Where a large group of Americans, undermined by the system they now so despise, decided to put their collective foot down and elect a man who is proudly anti-establishment. A man who will say what he thinks. A man who will build a wall to keep the Mexicans out and the jobs in. A man with hands so small, <a href="https://www.youtube.com/watch?v=P3YEcQvnHks">he could fit them inside a pringles can</a>.</p><p>Joking is easy and Donald Trump is easy to joke about. I’m sure the late night talk shows will continue to poke fun at a situation that we should fear so strongly. The angry masses will die down, accept that this is the world we now live in and find their way to come to terms with what has happened. And maybe that’s good. Maybe we shouldn’t riot and get angry. Maybe we shouldn’t feel sad or upset. Normalizing is good right? It’s natural. It’s what we do to make ourselves feel better.</p><p>Well, in the words of a pussy-grabbing global warming denier who calls himself “The Donald”: <strong>wrong</strong>. Democrats should be angry. They should be furious but not at the American citizen. More Americans voted for Hillary than for Trump. It’s only due to a system that’s been outdated for a hundred years that he actually won. No, democrats should be angry at democrats.</p><p>They failed. Miserably. They failed to see a group of people who lost faith in the system. They failed to nominate a person who had those people behind them. They failed Hillary and Hillary failed them. In a country where the middle class has become invisible to <em>the system, </em>the DNC nominated a woman who embodies that exact system. To millions of Americans she is the face of what’s wrong in their country. They believe <em>her </em>style of politics have led the country they are so proud of to become a jobless wasteland where <em>bad hombres </em>make all the money. A country where Islam poses the greatest threat but politicians are trying to distract the people with lies like global warming and renewable energy.</p><p>Trump voters, I understand. I get that you needed this win. I see your issues, your struggles. You want to feed your families. You want to come home after a hard day’s work and know that there’s food on the table. You don’t think about gay rights or muslim rights because they’re not your rights or your issues. You have problems of your own to deal with and you are angry that there’s nobody out there fighting for you. I understand but you’ve made a huge mistake. Electing Trump was not the solution.</p><p>I would like to say that I hope I’m wrong. I would like to say that Trump probably won’t be that bad. I’d like to normalize the situation as much as the next man but I can’t. The world needs to know how dangerous this man is, how much is going to change. If you’re not at least a little afraid, you’re not thinking clearly. I’m not one to warn <em>the people. </em>I’m not even an American but I am concerned. You should be too.</p><p>In the words of <a href="https://en.wikipedia.org/wiki/Flea_(musician)">a great man</a>: Love now, more than ever. We need love. Love each other.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d8aed3f7c3d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tallinn at 10]]></title>
            <link>https://stefandorresteijn.medium.com/tallinn-at-10-adb28f22a104?source=rss-64dc6ab855d------2</link>
            <guid isPermaLink="false">https://medium.com/p/adb28f22a104</guid>
            <category><![CDATA[estonia]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[travel]]></category>
            <dc:creator><![CDATA[Stefan Dorresteijn]]></dc:creator>
            <pubDate>Sun, 28 Aug 2016 06:56:36 GMT</pubDate>
            <atom:updated>2016-08-28T06:56:36.563Z</atom:updated>
            <content:encoded><![CDATA[<p>My flight to Tallinn departs at 10AM from gate B17. I got up at 5:30, got my train at 6:30, arrived at Schiphol at 7:30 and felt cheated out of at least one extra hour of sleep at 8AM. So far, waking up was the easiest part of this journey. Saying goodbye to Dany, who moved in last week, was the hardest. I know that feeling sad about having to leave her for a measly three days doesn’t bode well for my future as a <em>digital nomad </em>but she makes me happy and it’s hard to leave that behind, even for the shortest time. So why am I flying to Tallinn and why does that name look as if my keyboard got stuck on the <em>l </em>and the <em>n</em>? I can answer one of those questions.</p><p>Some time in July, a game was released named Pokemon Go. This game quickly turned into a craze as millions of people roamed the streets, looking for small creatures to catch with their phones. Some people found Pikachu, some found dead bodies. I found a way to make a little money off the back of this game. In three hours — sitting in a lawn chair no less — I built a website that shows you where in the world the rarest Pokemon are. Within 24 hours, I was upgrading servers to handle all the traffic. Within a week I was getting 500 million requests a day. Where there’s traffic, there’s money. Where there’s money, there’s people trying to partner up with you. I sold a part of the website to an old business partner and together we sold another share of the site to an Estonian business owner.</p><p>It didn’t take long for our Estonian business partner to find out I was heavily involved in the esports scene, and for him to pitch their new esports project to me. He asked if I’d be interested in leading the technical side of the project and after two meetings with the other parties involved, he invited me to come meet their team and discuss the project in Estonia. Tickets were bought, passports were renewed and nerves were felt. Becoming technical manager of a large project with a successful company behind it is a dream opportunity for someone like me, who’s always had to build projects with a shoestring budget.</p><p>So here I am. It’s now 8:37 AM and I’m waiting for my gate to open. I was given the advice to arrive at the airport two hours before my flight would depart. I took that to mean two hours before my gate opened and thus I was the first one at the gate. While Schiphol isn’t the most exciting place to spend your morning, it’s not the worst either. Large winged buses drive around outside while inside, people hurry to their gates, listen to their music, read a book or catch up on some sleep. I’m spending most my time trying not to feel too nervous for my first time flying alone. I’m smart enough to understand how to get to my gate, how to get on my plane and when I’ve landed, how to catch an Uber to the hotel. I’m also smart enough not to forget my passport and my boarding pass or to put liquids in an extra container so I can take them out easily. Unfortunately, while my smarts got me here in the first place, they’re not helping me feel comfortable. I’m about to fly to the most important meetings of my life (so far) and I have nobody to back me up. For the first time in my life, I’m going at it alone and I’ll admit that I’m a little scared.</p><p>I don’t want you to feel sorry for me. Only good things are happening right now and my neurotic brain is just putting more pressure on me than it needs to. And the end of this trip I’m sure I’ll hit myself for worrying so much and I’m sure everything will be fine. I’m sure Estonia won’t feel as foreign as the image of it in my head suggests and I’m sure the meetings will go great. I’m just nervous. Scared to mess up the biggest opportunity of my life. Scared to come back, having failed.</p><p>It’s 9AM. My gate opens in 20 minutes. When I sit down in the plane, I’ll close my eyes and get the extra 2 hours of sleep I so desperately want. It’s 9AM and I’m at gate B17. I’m about to fly to Estonia for business. That’s crazy.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=adb28f22a104" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>