<?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 Shane Neubauer on Medium]]></title>
        <description><![CDATA[Stories by Shane Neubauer on Medium]]></description>
        <link>https://medium.com/@sneub?source=rss-4e4ac82edfa2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*eO1MDmpF9ho79drMYm1S-g.jpeg</url>
            <title>Stories by Shane Neubauer on Medium</title>
            <link>https://medium.com/@sneub?source=rss-4e4ac82edfa2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 10:46:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sneub/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[Building Beyond In Public]]></title>
            <link>https://sneub.medium.com/building-beyond-in-public-ddeb52b6a9c1?source=rss-4e4ac82edfa2------2</link>
            <guid isPermaLink="false">https://medium.com/p/ddeb52b6a9c1</guid>
            <category><![CDATA[content-curation]]></category>
            <category><![CDATA[creator-economy]]></category>
            <category><![CDATA[build-in-public]]></category>
            <dc:creator><![CDATA[Shane Neubauer]]></dc:creator>
            <pubDate>Mon, 31 May 2021 02:43:31 GMT</pubDate>
            <atom:updated>2021-05-31T02:43:31.439Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*y4_V2JF-dr9NwgAQ" /></figure><p>At Beyond we made the decision during our early planning sessions that we want to build our company in public.</p><p>Beyond is born from the belief that human-to-human connection is most valuable. Most trustworthy. Sharing and social connection is in our DNA.</p><p>So it’s natural that we believe that being open, and sharing how we build the company, should be at the centre of who we are as well.</p><p>We believe that we should be as close to the users as possible if we expect to create a product that is valuable for them. So, sharing with the community is one way for us to stay close to the humans who we want to empower with our product.</p><p>Building a company in public can mean many things, so what does it mean for us?</p><p>Well, we think it makes sense to share the stuff that readers will find valuable. Here’s what we think that is:</p><ul><li>The technical build of our product → Where are the challenges? How do we overcome them? What’s upcoming?</li><li>Product → How do we better understand our users? How do we shape and develop our product strategy? How do we measure the success of what we’re shipping?</li><li>Company → Our decisions, our culture, our values, and our beliefs. How do we build processes and operations? How do we build a successful company, beyond the product?</li><li>Traction and Growth → Numbers! How we run experiments and figure out what works. Lessons, and outcomes.</li></ul><p>While we are excited to share our journey, there will naturally be things that we explicitly can’t and won’t share. Anything that is personal, relates to a specific person, is sensitive, or might harm someone</p><p>It’s going to be a fun ride, and we can’t wait to share it with you! If there’s things you want to know, you can always ask us. What would you like to see?</p><p>To follow along, find us here:</p><ul><li>Our blog is where you can read our long-form articles. Join our mailing list to receive them directly in your mailbox</li><li>Follow us on Twitter, where we will link to everything (including the blog): <a href="https://twitter.com/alexanderhipp">Alex</a> &amp; <a href="https://twitter.com/sneub">Shane</a></li><li>Follow Beyond on <a href="https://www.linkedin.com/company/beyondso">LinkedIn</a></li></ul><p><em>Originally published at </em><a href="https://beyond.so/blog/building-beyond-in-public"><em>https://beyond.so</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ddeb52b6a9c1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Welcome to the Curator Economy]]></title>
            <link>https://sneub.medium.com/welcome-to-the-curator-economy-f9522bebc042?source=rss-4e4ac82edfa2------2</link>
            <guid isPermaLink="false">https://medium.com/p/f9522bebc042</guid>
            <category><![CDATA[curator-economy]]></category>
            <category><![CDATA[newsletter]]></category>
            <category><![CDATA[content-curation]]></category>
            <category><![CDATA[curation]]></category>
            <dc:creator><![CDATA[Shane Neubauer]]></dc:creator>
            <pubDate>Wed, 12 May 2021 06:26:25 GMT</pubDate>
            <atom:updated>2021-05-12T06:26:25.895Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*gO0dQqlhoJ-9ID9E" /></figure><p>Content on the Internet is growing at an alarming rate. Every minute of every day, there are 400 hours of video content uploaded to YouTube — and that was in 2019. Over 90% of the data on the Internet today has been created since 2016.</p><p>The Creator Economy, or the decentralisation and democratisation of content, has been a major driver of this, and has led us along an interesting path. After shifting content creation power from big media companies into the hands of individuals on the Internet, we’ve seen an uprising of people producing content such as writing or video courses, and in many cases, making a living from it.</p><p>The visible success of the creators, and subsequently the platforms that supported the creator economy, has inspired others to follow the same path, and has driven the economy further. Platforms such as Substack, Domestika, Gumroad, and many more.</p><p>All of this has resulted in more and more content.</p><p>The more content there is, the harder it becomes for us to find the most valuable thing to consume. The more we need to trust in an algorithm to help us find the right things. Things that help us achieve our objective, whether that’s to learn a new professional skill, or to learn how to</p><p>The problem is, the algorithms that we are forced to depend on are the very ones designed to maximise advertising revenue on their platforms.</p><p>In other words, they don’t have your best interest in mind. They want you to stay on their platform for as long as possible, so that you’ll see more ads, and those ads will be worth more to them. The more <em>you</em> will be worth to them.</p><p>How much trust do you want to place into one of these algorithms, to control how you consume content? To control what you learn?</p><p>We’ve learned, from personally speaking to 50+ people in our own audience, that people trust content and suggestions that come from people they know, or people they look up to. People with credibility, or people in groups with credibility.</p><p>If Amazon’s algorithm suggests a book you should read, you may or may not take it seriously.</p><p>If your life-partner-or Bill Gates-suggests a book you should read, on the other hand, you’ll consider it much differently.</p><p>The key difference is <em>people.</em></p><p>This <a href="https://gobeyond.so/blog/the-future-of-content-is-human-to-human">human-to-human</a> trust has led us to the next economy to shape the Internet: the Curator Economy.</p><p>There are already signs of this economy showing up. The revival and explosion of newsletters during 2020 is the most obvious one. In many cases, people pay subscription fees to people they trust, to receive curated content in their inbox that is valuable to them.</p><p>On the surface it is natural to ask why they pay for this content, when it is not originally produced, and simply collected for free. <em>If I can just find it by searching Google myself, why should I pay you to collect it for me?</em></p><p>After reflecting on the accelerating accumulation of content on the Internet, it becomes clearer. It’s just too difficult to know what to consume anymore.</p><p><a href="http://thebrowser.com/">The Browser</a>, a curated newsletter of interesting articles on the Internet, has over 10,000 paid subscribers, each committing $49 per year. That’s nearly <em>half a million dollars</em> in annual recurring revenue.</p><p>Why does this happen?</p><p>It’s natural to compensate a deficit in one resource with a surplus in another. A busy professional may buy an expensive gift for a friend in lieu of hand-crafting one, because they have more money than time.</p><p>In this case, people who have a <em>time and focus deficit</em> can compensate by paying a small monthly subscription fee. In return they get to consume content that was picked and vetted by a real human. The value is real.</p><p>While this trend is already emerging, the tools have not yet caught up. Just like any new trend, first there are the signals and human behaviour begins to shift, then people patch existing tools together to create solutions to the new problems emerging, and finally the innovation occurs in tools to support the growth of that trend. We’re currently in the middle of this transition.</p><p>Curation may have grown up on the back of the newsletter explosion of 2020, but it’s clear that the existing newsletter tools are not built for such purpose. They solve for distribution, and leave the curator to build their own workflows and methods themselves. How do you collect resources, organise, categorise, and contextualise them, before building the newsletter?</p><p>Currently this tooling doesn’t exist.</p><p>Curators build up their own duct-tape systems using platforms like Notion or Airtable, which work just well enough to get by, but not well enough to support their practice as it achieves success and grows.</p><p>Beyond is the first platform built for the Curator Economy. With Beyond, curators are in the drivers seat for collecting, organising, publishing, and monetising. They can build their audience directly on the platform, and grow their practice into a thriving personal business.</p><p>Consumers of content can find the best content on the topics they care about, curated by a real person that they know or look up to.</p><p>Welcome to the Curator Economy.</p><p><em>Originally published at </em><a href="https://beyond.so/blog/welcome-to-the-curator-economy"><em>https://beyond.so</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9522bebc042" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Future of Content Is Human-to-Human]]></title>
            <link>https://sneub.medium.com/the-future-of-content-is-human-to-human-9ff1788b5a13?source=rss-4e4ac82edfa2------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ff1788b5a13</guid>
            <category><![CDATA[content-curation]]></category>
            <category><![CDATA[curator-economy]]></category>
            <category><![CDATA[newsletter]]></category>
            <dc:creator><![CDATA[Shane Neubauer]]></dc:creator>
            <pubDate>Tue, 11 May 2021 00:02:55 GMT</pubDate>
            <atom:updated>2021-05-11T00:02:55.783Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Mi0jk_Azz4C59dSF" /></figure><p>Hey! Welcome to Beyond. We’re so happy that you’re here.</p><p>We’re on a mission to make sense of the Internet. There’s so much stuff out there right now, that it’s really hard to find the right content that’s most valuable <em>to you</em>.</p><p>If you want to learn something new, like Data Science, you’ll find hundreds or thousands of blogs, articles, videos, and podcasts about it. Where do you start? Which one do you choose?</p><p>Your time is valuable, and trying them all out is expensive, or impossible.</p><p>Beyond is a community and a platform for finding only the best stuff, curated by people who know the answer already. You don’t need to waste hours of searching the Internet, because there’s an expert there who has already followed the same path, and is already curating the best stuff.</p><p>Everyone can easily collect, share, and discover the things most valuable to them.</p><p>Beyond is designed around existing behaviours:</p><h3><strong>Collecting things for later</strong></h3><p>When we find something we like on the Internet, we naturally like to save it for later. There are so many ways to do it. Bookmark a link in your browser, put it into your Amazon Wishlist, save it to your Watch Later list in YouTube, or bookmark it on Twitter. Save the story on Medium, or archive it using Pocket.</p><p>Beyond is the <strong><em>one</em></strong> place to put everything. You can organise things, plan your consumption, tag everything, and share it with others.</p><h3><strong>Sharing things with others</strong></h3><p>One of the wonderful things about the internet is the nature with which we can share things. If I find something I like, I can’t help but share it with a friend, or all of my friends. I like to publish which books I enjoyed, and send interesting articles to my followers on Twitter.</p><p>Beyond is the best place to share all of your interesting things with the community. Grab all your favourite things from the Internet, organise them, and share your collections. You can subscribe to others, and always stay up to date with the best content.</p><p>We believe that the future of content consumption is human-to-human. People collecting and sharing content for others.</p><p>We invite you to join us on this journey. Join our waiting list to be one of the first to be part of Beyond.</p><p><em>Originally published at </em><a href="https://beyond.so/blog/the-future-of-content-is-human-to-human"><em>https://beyond.so</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ff1788b5a13" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Succeed In 2021: The One Skill You Need]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">Our work changes at an accelerating rate.</p><p class="medium-feed-link"><a href="https://sneub.medium.com/how-to-succeed-in-2021-the-one-skill-you-need-267148fc5929?source=rss-4e4ac82edfa2------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://sneub.medium.com/how-to-succeed-in-2021-the-one-skill-you-need-267148fc5929?source=rss-4e4ac82edfa2------2</link>
            <guid isPermaLink="false">https://medium.com/p/267148fc5929</guid>
            <category><![CDATA[skills]]></category>
            <category><![CDATA[future-of-work]]></category>
            <category><![CDATA[career-advice]]></category>
            <category><![CDATA[careers]]></category>
            <category><![CDATA[personal-development]]></category>
            <dc:creator><![CDATA[Shane Neubauer]]></dc:creator>
            <pubDate>Fri, 02 Apr 2021 07:46:30 GMT</pubDate>
            <atom:updated>2021-04-02T07:46:41.095Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Ahead Of The Curve: Are You Really Innovating?]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">&#x201C;If people aren&#x2019;t walking out of the theatre-at least a few-then you&#x2019;re probably not as ahead of the curve as you&#x2019;d like to be.&#x201D;&#x200A;&#x2014;&#x200A;Seth&#x2026;</p><p class="medium-feed-link"><a href="https://sneub.medium.com/ahead-of-the-curve-are-you-really-innovating-c7889c6d4e4f?source=rss-4e4ac82edfa2------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://sneub.medium.com/ahead-of-the-curve-are-you-really-innovating-c7889c6d4e4f?source=rss-4e4ac82edfa2------2</link>
            <guid isPermaLink="false">https://medium.com/p/c7889c6d4e4f</guid>
            <category><![CDATA[business]]></category>
            <category><![CDATA[innovation]]></category>
            <category><![CDATA[ideas]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[creator-economy]]></category>
            <dc:creator><![CDATA[Shane Neubauer]]></dc:creator>
            <pubDate>Fri, 02 Apr 2021 07:40:08 GMT</pubDate>
            <atom:updated>2021-04-02T07:40:08.698Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Embrace Imposter Syndrome: How Your Anxiety Helps You Succeed]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">Imposter Syndrome is a good thing.</p><p class="medium-feed-link"><a href="https://sneub.medium.com/embrace-imposter-syndrome-how-your-anxiety-helps-you-succeed-e931d660e040?source=rss-4e4ac82edfa2------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://sneub.medium.com/embrace-imposter-syndrome-how-your-anxiety-helps-you-succeed-e931d660e040?source=rss-4e4ac82edfa2------2</link>
            <guid isPermaLink="false">https://medium.com/p/e931d660e040</guid>
            <category><![CDATA[imposter-syndrome]]></category>
            <category><![CDATA[anxiety]]></category>
            <category><![CDATA[personal-development]]></category>
            <dc:creator><![CDATA[Shane Neubauer]]></dc:creator>
            <pubDate>Thu, 01 Apr 2021 07:19:45 GMT</pubDate>
            <atom:updated>2021-04-01T07:19:45.677Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Saboteur]]></title>
            <link>https://sneub.medium.com/saboteur-4adafdaed423?source=rss-4e4ac82edfa2------2</link>
            <guid isPermaLink="false">https://medium.com/p/4adafdaed423</guid>
            <category><![CDATA[comfort-zone]]></category>
            <category><![CDATA[personal-development]]></category>
            <category><![CDATA[psychology]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[success]]></category>
            <dc:creator><![CDATA[Shane Neubauer]]></dc:creator>
            <pubDate>Mon, 01 Feb 2021 17:26:28 GMT</pubDate>
            <atom:updated>2021-02-01T17:27:55.249Z</atom:updated>
            <content:encoded><![CDATA[<p>Everybody has an internal saboteur. It’s that little voice that appears whenever you’re about to do something that pushes the boundaries of your comfort zone. It’s protective. It’s trying to keep us safe, and inside that zone.</p><p>“What if you stutter or forget your words?” It says, as you’re about to deliver a talk in front of an audience.</p><p>“What if they don’t like you?” It says, as you’re on your way to a party where you don’t know many people.</p><p>“What if you launch your product, and nobody buys it?” It says, as you’re preparing your launch.</p><p>All of these ‘what if’ questions are there to invoke fear. To make you second guess yourself. To come up with excuses not to do that thing.</p><p>Better not do it. Better stay safe.</p><p>This is your internal saboteur. This voice is trying to keep you from harm by stopping you from trying to achieve great things. Doing something big almost always includes an element of risk. You need to put yourself out there.</p><p>But how are you going to achieve greatness, if you succumb to that voice? If you play it safe?</p><p>That voice will never go away. It’s a part of all of us. But we can transform it from a <em>saboteur</em> into a <em>helpful compass</em> with some practice.</p><p>By spending time to become conscious of this voice, you can start to control it. By recognising when it is playing a part in your emotions, you can begin to make conscious decisions about how to act on it.</p><p>If you’re aware and conscious of the voice of the saboteur as it’s speaking to you, raising your heart rate, and playing on your nerves, you can take a breath and make a decision about what to do next, instead of letting it drive you.</p><p>“I’m feeling nervous and coming up with excuses to cancel my talk I am scheduled to deliver. That seems like my inner saboteur speaking”.</p><p>Use this feeling as a compass to know when you’re pushing yourself outside the comfort zone. <em>I’m feeling really nervous, and I can tell my saboteur is at play, that means I’m pushing myself, and that’s a good thing!</em></p><p>If you seek to improve yourself and live an interesting life, then pushing yourself beyond your comfort zone is what we have to <em>seek</em>.</p><p>Get comfortable outside your comfort zone.</p><p><em>Originally published at </em><a href="https://sneub.com/saboteur/"><em>https://sneub.com</em></a><em> on February 1, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4adafdaed423" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to create a GraphQL API with Firebase Functions and Firestore]]></title>
            <link>https://sneub.medium.com/how-to-create-a-graphql-api-with-firebase-functions-and-firestore-2a2c7c47113a?source=rss-4e4ac82edfa2------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a2c7c47113a</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[graphql]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Shane Neubauer]]></dc:creator>
            <pubDate>Sun, 31 Jan 2021 10:32:25 GMT</pubDate>
            <atom:updated>2021-01-31T10:32:25.333Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A complete walk-through, from zero to live API, suitable for beginners</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/564/1*9WLozmcL6FPNz86Bl4gf-g.png" /></figure><p>Almost all web apps need some kind of backend. And, when it comes to building your API, it’s no secret that GraphQL is one of the best technologies around right now.</p><p>When you’re just getting started, it can be a bit daunting though. How do you create your first API, and then make it live — without too much fuss?</p><p>Let me show you how to get your API up and running in just a few minutes for free.</p><p>You can even use this in production in the beginning, though you’ll probably choose to upgrade before long. More on that later.</p><h3>Prerequisites</h3><p>This tutorial assumes that you already have a recent version of NodeJS and NPM installed.</p><h3>Set up</h3><h4>Project</h4><p>First thing you’ll need is a Firebase project. Head to the <a href="https://console.firebase.google.com/">Firebase Console</a> and click the <strong>Add Project</strong> button, then follow the prompts. I called mine <strong>graphql-api</strong>.</p><p>Firebase will give you back a project ID, which should look something like your project name, possibly with some digits at the end. Take note of this. (mine looks like <strong>graphql-api-d03e3</strong>)</p><h4>Firebase Tools</h4><p>Install the Firebase Tools to your computer, which we will use to initialize our local project and deploy our API:</p><pre>npm install -g firebase-tools</pre><h4>Create the Firestore database</h4><p>While you’re in the Firebase Console, there’s one more thing we need to do before we can really get started: Create the database. Don’t worry — it’s just a few clicks.</p><p>In the Firebase Console, go to the Cloud Firestore section, and you should see a big button called <strong>Create database</strong>. Go ahead and click it.</p><p>You’ll want to start <strong>in production mode</strong> (it means that the access is locked down, which is perfect) and next choose a location that is closest to you.</p><h3>Get started</h3><h4>Initialize your workspace</h4><p>Let’s set up the new project on our local machine:</p><pre>mkdir firebase-graphql-api<br>cd firebase-graphql-api<br>npm init -y<br>npm install --save graphql-yoga</pre><p><strong>What’s this doing?</strong></p><ul><li>Creating a directory for the project to live</li><li>Initializing NPM</li><li>Installing the NodeJS packages we’ll need: GraphQL-Yoga for the GraphQL service</li></ul><h4>Initialize Firebase</h4><p>It’s time to set up the Firebase config in your project directory.</p><p>To get started, run firebase init while in your project directory.</p><p>When prompted, choose the project ID you already created, and then select Firestore and Functions as the services you want. Then, feel free to accept all the default options until it’s finished.</p><p>Once the script is finished, you should notice a new directory in your project called functions . Great! This is where we’ll put our code in a moment.</p><h4>GraphQL Directory</h4><p>We’ll create a new directory, inside the new functions directory that was created automatically in the last step, to keep our GraphQL-related files</p><pre>mkdir functions/graphql</pre><h3>Let’s get coding</h3><h4>Firebase Functions entry file</h4><p>You should find that there’s a JavaScript file already created for you by the Firebase init script, called functions/index.js</p><p>This is the file that Firebase Functions will look for in the beginning for the function code. This is where we’ll begin.</p><p>Let’s dive straight in there to get started. Make it look like this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ce2e417b97a300313e35a40c49f5bbc3/href">https://medium.com/media/ce2e417b97a300313e35a40c49f5bbc3/href</a></iframe><p><strong>What’s going on?</strong></p><ul><li>We’re importing Firebase Admin, because we need to initialize it for our project</li><li>We’re importing our GraphQL server files (which we haven’t created yet)</li><li>We’re exporting the Firebase Function, to which we give our GraphQL server</li></ul><h4>GraphQL server file</h4><p>Let’s get started with our GraphQL server. This one will pull together everything that we’ll create in a moment and set up a GraphQL server that listens for connections, which we’ll then give to Firebase Function to host for us.</p><p>Let’s create a new file called functions/graphql/index.js and make it look like this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b006f822c5487fbd6986e5eae2c9d714/href">https://medium.com/media/b006f822c5487fbd6986e5eae2c9d714/href</a></iframe><p><strong>What’s going on here?</strong></p><ul><li>First we import some important things, like our schema (definition of data and methods) and our resolvers (the actual methods)</li><li>Then we initiate a server by passing in those things, plus a couple of options</li><li>Introspection means that a client can ask the server which methods it supports, and the server will share it. Later you should probably turn this off to be a bit more secure</li><li>Playground means that it will host a nice web UI that allows you to test easily. Eventually you’ll probably want to turn this off as well, but it’s very handy for this tutorial, and for development in general.</li><li>Then the server gives us an express compatible version of the instance, which is perfect to hand over to Firebase Functions.</li></ul><h4>GraphQL schema file</h4><p>Next we’ll create a schema file, which will define the methods and data structures for the GraphQL server.</p><p>Go ahead and create a file called functions/graphql/schema.js and make it look like this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/11cde7738865fa6ebd3c40ea3bed4d67/href">https://medium.com/media/11cde7738865fa6ebd3c40ea3bed4d67/href</a></iframe><p><strong>What’s going on here?</strong></p><ul><li>We’re creating one query method, called hello , which takes an optional string parameter called name, and returns a string.</li><li>The name parameter is optional here, which you can see from the lack of a ! after String</li><li>The string that is returned from the server is not optional, though, which you can tell from the presence of the !</li></ul><h4>GraphQL resolvers file</h4><p>Lastly we’ll set up our resolvers file, which is where most of the action happens. This is where we’ll create the main logic for the methods we create in our API.</p><p>Let’s create a new file called functions/graphql/resolvers.js and make it look like this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b42688254788b41cd82e5fdaae1f47e9/href">https://medium.com/media/b42688254788b41cd82e5fdaae1f47e9/href</a></iframe><p><strong>What’s going on here?</strong></p><ul><li>We are creating the query function that matches the signature that we defined in the schema file.</li><li>The function is very simple. It receives a name parameter, and returns a message back eg. <em>Hello Sally</em></li><li>If the name parameter is not defined, then it sends back a default <em>Hello World</em></li></ul><h3>Checkpoint #1: Testing the API</h3><p>In a moment we’ll add some interesting logic which interacts with Firestore, but I think it’s a good idea to do a quick test to see if we’re on track.</p><h4>Deploy</h4><p>Let’s deploy our API live to Firebase, and give it a test. Run the following command to deploy to Firebase</p><pre>firebase deploy</pre><p>After a successful deployment, a URL should be shared in your terminal, looking something like https://us-central1-your-project-12345.cloudfunctions.net/graphql</p><p>Open this URL in your browser, and if everything is working, you should see a GraphQL Playground interface like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2-V58KPbLbNVf5jrSXv32g.png" /></figure><p><strong>Note:</strong> If you get an error saying Failed to fetch schema. Please check your connection check the address in the top of the interface, and ensure it has /graphql at the end.</p><h4>Query</h4><p>To run a query, enter the following code on the left side of the interface and hit the big button to run it</p><pre>{<br>  hello<br>}</pre><p>If everything worked, you should see this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/1*bkxCtGRKFiLIhCRutjgwtg.png" /></figure><h4>Testing with a parameter</h4><p>Let’s try another test, but this time we’ll send through the name parameter</p><p>Try this query (and don’t forget to put your name in there)</p><pre>{<br>  hello(name: &quot;Your Name&quot;)<br>}</pre><p>Hopefully you’ll see a result like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1003/1*0fyS6v_cLZ_8cO7olXFh7g.png" /></figure><h3>Writing data</h3><p>Now that we’ve got a functional API, let’s make it a bit more useful by reading and writing data from Firestore.</p><h4>Schema definition</h4><p>Before anything else, we need to define how our new method should behave, and the data it should expect.</p><p>We’re going to create a little method to add accept a property, and then add some data to a collection</p><p>Let’s update the functions/graphql/schema.js file like this</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/aeee2269fc88b9aa26a2626e460308fa/href">https://medium.com/media/aeee2269fc88b9aa26a2626e460308fa/href</a></iframe><p><strong>What’s going on here?</strong></p><ul><li>We’ve just added our first Mutation — this is an operation which is designed to change (or “mutate”) things, rather than just “query” them.</li><li>Our mutation, called addTodo will accept one string parameter called text, and will then return another string (we’ll send back the Database ID)</li></ul><h4>Resolver method</h4><p>Now that the schema is defined, and GraphQL knows what to expect from our function, let’s create the function!</p><p>Head back to the functions/graphql/resolvers.js file and add a new function. Here’s what I think it should look like:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/584416e6b713d115bd20f8c2d16bee7f/href">https://medium.com/media/584416e6b713d115bd20f8c2d16bee7f/href</a></iframe><p><strong>What’s going on here?</strong></p><ul><li>We’ve created a little function matching the schema signature from above, which does a simple write operation with Firestore.</li><li>It takes the text value, and adds a document to the todos collection</li><li>Then it returns the document ID as a string to the client</li></ul><h4>Test</h4><p>So let’s go ahead and deploy our changes with firebase deploy and then open up the GraphQL Playground again so we can test.</p><p>Here’s the command you can try out to test if it’s working:</p><pre>mutation {<br>  addTodo(text: &quot;test&quot;)<br>}</pre><p>If it worked, you should see a result like this, which includes the Firestore ID for the record:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1007/1*sY6IjMYZBiqMTQo1HDd2pw.png" /></figure><h3>Reading Data</h3><p>Now that we’ve written some data to Firestore, it would be great to read it again! Let’s create a new query method for that.</p><h4>Schema definition</h4><p>Once again, let’s set it up in the functions/graphql/schema.js file first:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ed476135cd4faeb135c2d5ccd9e3535d/href">https://medium.com/media/ed476135cd4faeb135c2d5ccd9e3535d/href</a></iframe><p><strong>What’s going on here?</strong></p><ul><li>Jumping ahead a little bit to line 11, we’ve now created a new “type” called Todo. This is simply a way of defining the structure of data we want to send or receive.</li><li>We’ve created a new Query method signature for a method called getTodos</li><li>This method will return a list of Todo type. You can tell it’s a list from the square brackets surrounding the type name [Todo] . If we were just returning one, then we would leave off the brackets.</li></ul><h4>Resolver method</h4><p>And of course now let’s get back to the functions/graphql/resolvers.js file to write the method:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a6ca109c6d426340a2e7458745bdb009/href">https://medium.com/media/a6ca109c6d426340a2e7458745bdb009/href</a></iframe><p><strong>What’s going on here?</strong></p><ul><li>Once again, our new method is created to match the signature defined in the schema file.</li><li>It does a simple query of all the document records in the todos collection, and returns all the data from them</li></ul><h4>Test</h4><p>You know the drill by now! Let’s deploy it again with firebase deploy and test it using the following query</p><pre>{<br>  getTodos {<br>    text<br>  }<br>}</pre><p><em>In this query, we are also specifying which fields we want to read from the todo objects. In this case, we just want the </em>text <em>field… which is good because that’s the only field that exists! In the real world, you’ll have many more data fields, and you can choose just a subset of them for your query, according to your needs.</em></p><p>You should see something like this, if all went well</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/1*R4MECy5M4yrmRQSAul6HDw.png" /></figure><p>Go ahead and create a few more, and query a few more times as well.</p><h3>Congratulations!</h3><p>Congratulations! You’ve got your GraphQL API built, and deployed live. It wasn’t too tough, right?</p><p>So, now that you’ve got your very own live GraphQL API, there’s a few things that should really happen next.</p><h4>Authentication, Nesting, Performance, Safety</h4><p>First of all, this API is not secured in any way. Anyone can come along and write to your database, and we even provided them a nice interface to do it!</p><p>In a real scenario, you may want to tighten security by authenticating requests, to ensure someone is logged in and allowed to execute them. You may also want to turn off the introspection and playground options (just set them to false and redeploy), to at least make it less easy to mess around.</p><p>There’s also a good chance that you’ll want to eventually do some things that are a little more complex than what we achieved here. For example, one of the great things about GraphQL is the ability to query related data objects in a nested query.</p><p>And, while this is a great way to get started with your API, eventually you may choose to migrate away from Firebase Functions to a more robust server. If you’re just prototyping, or launching an MVP, then Firebase Functions are probably a great option! But keep in mind it may not be a long-term solution for performance and cost reasons. (You may have already noticed that it’s not always very fast)</p><p><strong>If you’d like to learn how to do any of these things</strong> (or more), you should check out my online course <a href="https://graphql.learn.sneub.com/"><em>From Zero to Production with GraphQL</em></a>. I cover all of these topics and many more, including user authentication, integrating with React, NextJS, with easy-to-follow video.</p><p>And of course, the full source code from this tutorial can be found here: <a href="https://github.com/sneub/firebase-graphql-api">https://github.com/sneub/firebase-graphql-api</a></p><p><em>Follow me on </em><a href="https://twitter.com/sneub"><em>Twitter</em></a><em> to stay up to date with recent articles, news, and knowledge.<br></em><a href="https://sneub.com/subscribe"><em>Subscribe to my blog</em></a><em> for writing on personal development, entrepreneurship and business.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a2c7c47113a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The body machine]]></title>
            <link>https://sneub.medium.com/the-body-machine-4a4336d39dd5?source=rss-4e4ac82edfa2------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a4336d39dd5</guid>
            <category><![CDATA[health]]></category>
            <category><![CDATA[personal-development]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <dc:creator><![CDATA[Shane Neubauer]]></dc:creator>
            <pubDate>Mon, 18 Jan 2021 19:54:05 GMT</pubDate>
            <atom:updated>2021-01-18T21:40:59.645Z</atom:updated>
            <content:encoded><![CDATA[<p>Our body is a complex machine. Many important components all working in harmony, allowing us to achieve amazing feats.</p><p>Our brain, possibly the most complex part of them all, is where our thinking happens. In our world dominated by knowledge work, it is also our organ that assumes the bulk of responsibility.</p><p>It can be easy to forget, however, that our body is a machine. A machine in which all parts play an important role, and affect each other.</p><p>Your body is a machine that feeds and supports your brain. Without a healthy and efficiently operating body, your mind will never be able to perform to the best of its ability.</p><p>It’s easy to ignore this fact, and many people do. In many cases, we ignore the health of our body in pursuit of achievement. We push ourselves, push our body, in an effort to drive our minds to do more, better, faster.</p><p>We use things like caffeine, when we need energy. We stay up, and create irregular sleeping patterns, when we want to get more done. We eat food that’s quick and accessible, to save time. We skip exercise, because it takes time and it’s hard.</p><p>All in the name of spending time elsewhere, on important things that we need to get done.</p><p>The ironic thing about this is that we’re naively achieving the exact opposite.</p><p>Using caffeine, we enjoy a short-term energy burst at the expense of enduring energy throughout the day.</p><p>Creating irregular sleeping patterns, we impact our ability to sleep efficiently, increasing the amount of time we actually need to spend in bed to become rested.</p><p>Eating bad food that is easily accessible deprives our body of nutrients it needs to operate efficiently, increasing the amount you need to consume to be healthy, or in the most common case, simply creating a deficiency.</p><p>Skipping exercise decreases the efficiency of your cardiovascular system. The system that provides oxygen to your brain.</p><p>Neglecting to drink water, because, <em>isn’t there water in coffee anyway?</em></p><p>We want more from our brain, but we so commonly deprive it of the things it needs to perform for us.</p><p>This is a pretty obvious win. In order to optimize yourself, and your brain, you need to pay some attention to how you treat your body.</p><p>So, what does your body need, then? Nothing surprising, really:</p><p>There’s no tricks, no hacks, no surprises. Just the basic things that your body really needs to be healthy.</p><p><em>Originally published at </em><a href="https://sneub.com/the-body-machine/"><em>sneub.com</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a4336d39dd5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to be successful (defining success)]]></title>
            <link>https://sneub.medium.com/how-to-be-successful-defining-success-85763c0ae6e6?source=rss-4e4ac82edfa2------2</link>
            <guid isPermaLink="false">https://medium.com/p/85763c0ae6e6</guid>
            <category><![CDATA[success]]></category>
            <category><![CDATA[personal-development]]></category>
            <category><![CDATA[life]]></category>
            <dc:creator><![CDATA[Shane Neubauer]]></dc:creator>
            <pubDate>Sun, 10 Jan 2021 13:22:24 GMT</pubDate>
            <atom:updated>2021-01-10T13:22:24.990Z</atom:updated>
            <content:encoded><![CDATA[<p>Everybody wants to be successful. That’s natural, and pretty obvious.</p><p>There are also many books, guides, and courses on how to become successful.</p><p>What does success mean? Well it’s pretty easy to find a definition of success. We can look at other peoples’ lives, on television, on instagram, or at those in our personal network. We can observe those who appear happy, those who have nice things, and draw conclusions about what it means to be successful.</p><p>But there’s a pretty huge flaw in this. At no point are we looking inwards, asking ourselves what would make us happy. What would make us feel satisfied that we’ve lived a good life.</p><p>Many people miss a critical step on the journey to becoming successful: <em>defining what success means</em>. More importantly, defining what success means <em>to them.</em></p><p>As we push ourselves toward a falsified image of success — the one we’ve borrowed from those around us — we are actually unknowingly moving ever closer to a feeling of emptiness and sadness. Toward an ironic feeling of failure, and confusion. eg. <em>“I have many houses and cars, lots of money, but for some reason I’m not happy!”</em></p><p>Let’s back-track, and make certain that <em>we</em> have not missed any steps.</p><p>The first step on the journey to success may sound obvious, when you say it out loud: You need to define what success means for you. It’s a personal definition.</p><p>We’re going to get to the <em>how</em> in a moment, but before we do, I’d like to make a couple of observations:</p><ol><li>Once you’ve come up with a definition of your success, you may be surprised at how much more achievable it feels.</li><li>Other people may not accept or understand <em>your</em> success. People like to judge each other, comparing their friends or associates to the social definition of success. Expect it, and try not to be offended by it.</li></ol><p>Now, how do we create our personal definition of success?</p><p>This is an exercise in self reflection, which can come in many forms, but I’d like to share my favourite. My favourite approach to this is a simple act of visualisation, which only takes a few minutes.</p><p>I’ll walk you through it here, but it will make most sense to actually do it later, so don’t worry about coming up with answers yet.</p><p>If you’ve never used visualisation before, it’s pretty simple, and not dissimilar to some forms of meditation.</p><p>Find a place that’s quiet and comfortable, like the couch. Sit down, get comfortable, and slow your heart-rate with some deep breathing for half a minute.</p><p>Close your eyes, and spend a moment to clear your thoughts.</p><p>Now, imagine that with a burst of light, you’ve teleported to your life when you’re 80 years old. You’re occupying the body of your future self.</p><p>You feel satisfied and content. You’re happy with your life, and you’re surrounded by love. You’re safe. Your heart is warm. You notice a distinct feeling of content.</p><p>Spend a few moments in this place, and observe what’s around you. Where are you? Who’s there? What is bringing you happiness?</p><p>After a few moments of exploring, slowly come back to your reality, and take a moment to write down any observations. What you learn here will begin to form the definition of <strong>your success. </strong>Keep it safe.</p><p>Once you have a definition, you have a tool to help you with your success. When you’re working on your own journey, don’t look at instagram or television, look back only to <em>your</em> definition of success. That’s the only measurement that counts.</p><p>When you’re making a big decision, question it. <em>Is this supporting or blocking the path to </em><strong><em>my</em></strong><em> </em><strong><em>success</em></strong><em>?</em></p><p>Don’t worry if it doesn’t work out in the first try. This exercise is something that can take some time, and multiple repetitions. But don’t worry, there’s no rush.</p><p>Your homework is to find 5 quiet minutes some day this week, close your eyes, and complete this exercise in visualisation. Write down the results in a journal, and keep it safe. Feel free to come back and do this exercise again any time you need.</p><p>This is your success. Now what are you going to do to make it real?</p><p><em>Originally posted on my blog at </em><a href="http://sneub.com/"><em>sneub.com</em></a><em> — for more stuff like this, feel free to check out my site, and subscribe to receive two posts every week in your inbox.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85763c0ae6e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>