<?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 Nash on Medium]]></title>
        <description><![CDATA[Stories by Nash on Medium]]></description>
        <link>https://medium.com/@schismatic27?source=rss-aff213c05735------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*8KYcmJGLvBhK2yB7f5QU3A.jpeg</url>
            <title>Stories by Nash on Medium</title>
            <link>https://medium.com/@schismatic27?source=rss-aff213c05735------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 15:07:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@schismatic27/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[Founding a tech company? Here are 7 things to keep in mind ….]]></title>
            <link>https://medium.com/@schismatic27/founding-a-tech-company-here-are-7-things-to-keep-in-mind-4eb597b8e56f?source=rss-aff213c05735------2</link>
            <guid isPermaLink="false">https://medium.com/p/4eb597b8e56f</guid>
            <category><![CDATA[startup-lessons]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Nash]]></dc:creator>
            <pubDate>Mon, 07 Feb 2022 18:51:29 GMT</pubDate>
            <atom:updated>2022-02-07T18:51:29.294Z</atom:updated>
            <content:encoded><![CDATA[<h3>Founding a tech company? Here are 7 things to keep in mind ….</h3><p>Founding a company of any sort is arguably one of the biggest decisions that one can undertake professionally in their career. Right from ideation to actual revenue and beyond, the journey is anything but smooth. That said, this journey is also one of the most fruitful if you’re in it for the long haul as the exposure and learning is endless and stays with you forever in your life, both professionally and hopefully personally.</p><p>Having recently been a co-founder of a tech startup, I wanted to provide some insights into my experiences, and hopefully these are helpful to other upcoming entrepreneurs.</p><ol><li><strong>What problem are you actually going after?</strong></li></ol><p>Many companies ideate a solution without truly realizing the need for their solution in the market or if they are actually going to better existing methodologies (<em>even incrementally</em>).</p><p>It’s usually a lot easier if the problem set your company is going after is something that the world absolutely needs and there isn’t a viable solution for it.</p><blockquote>How do you know if your problem set is a burning problem?</blockquote><p>Well, for starters, you could try talking to folks from the industry your company is in and perform user research. Ultimately, these are the users you will be targeting to acquire, so it’s always better to understand what they need and what they feel is lacking. Now, in some industries, this could be tricky as some industries have users who aren’t really used to embracing tech as part of their day to day workflows. In such cases, it’s probably best to talk to industry leaders within the space to determine the gaps and solve for those gaps.</p><p>YCombinator has a really nice acronym for companies that build solutions without validating the true need for them in the market — SISP (<em>Solution in search of a Problem</em>). Such SISPy companies, depending on their solution, may or may not succeed as the market may never catch up to a point where their solution is a dire necessity.</p><p>Building a solution that you would use yourself is another way of approaching this. However, it’s always good to be humble and evaluate if you are truly the best barometer to understand the landscape of problems out there in the industry you’re targeting.</p><p>2. <strong>Picking your initial target audience</strong></p><p>Depending on how much user research you get done prior to writing a single line of code, and depending on the spectrum of users in your industry you end up talking to, you could end up with a wide variety of problems that need solutions. Having as much user research as possible across the entire spectrum is absolutely wonderful for the longevity of your company, since these are potential areas of expansion your company could consider expanding into over time.</p><p>However, when you’re just getting started, picking a target audience (aka<em> user profile or customer profile</em>) is extremely critical. Some flashy problems that seem extremely interesting to solve could end up taking more time to develop than some not so flashy ideas that are easier to develop and launch. As a founder or a co-founder, it’s your responsibility to perform this cost vs benefit analysis on the various problem sets and determine which target audience you should go after initially.</p><blockquote>How about targeting multiple types of users as part of my MVP?</blockquote><p>Well, you certainly could and as a founder of your own company, you control the product roadmap. However, at such an early stage, when you product or solution doesn’t quite have market validation or product-market fit just yet, you’re better off taking smaller bets and focusing on one or two problem sets at most until your solution gains the necessary traction from the market.</p><p>This strategy may result in you losing some customers at first since you’re not solving for their pressing needs quite yet, however, customers will always come around to you again when you venture into that space down the road. However, having a clear focus, going deep and developing a solution that works for a small problem set, will attract investors who will be more inclined to back your ability to deliver a solution than being a “<em>Jack of all Trades and Master of None</em>”</p><p>3. <strong>Impact of your solution</strong></p><p>Is your product, solution, strategy, technology likely to create an impact within the industry? If so, what does that impact look like?</p><p>Is your company improving efficiency by x%? If so, how are you measuring it? Or is your company providing a low cost alternative to existing solutions/methodologies?</p><p>These are some guiding questions to answer whilst thinking about what your company’s impact is likely to be in the industry you’re going after.</p><p>4. <strong>Co-founders? Boon or Bane?</strong></p><p>This is arguably one of the hardest decisions you’ll have to make initially as a founder. Do you get a co-founder to help you build your company? Do you get more than one co-founder? Do you fly solo?</p><p>Without getting into specifics, my biggest takeaway from being a founder in the past is that you need to be able to have a working relationship with your co-founders if you are to make it successful with your company. Knowing someone well enough via a personal relationship can certainly be good, but I would encourage you to think about this: <em>“Have I worked with this person professionally?” “Do I know what they’re like in a professional work environment?” “Do they approach problem solving similar to the way I do?” “Will our personal relationship get affected or is this person capable of keeping work at work and play at play?”</em></p><p>5. <strong>TAM</strong></p><p>TAM (Total Addressable Market) calculation is something that’s very important for an early stage company looking to seek venture funding of any sort.</p><p>There are two broad ways of calculating TAM for your company:</p><p>a. Bottoms-up TAM</p><p>b. Top-down TAM</p><p>Bottoms-up TAM calculation, simply put, is calculating the revenue earned from servicing a single user/customer using your company’s solution and identifying the market segment they belong to. Once you’ve identified this cost, you then scale this up by multiplying this value with the number of potential customers in the space or across markets and that’s your TAM!</p><p><em>“An example here would be how AirBnB initially estimated $20 revenue per night’s stay from a host. And then multiplied that by the number of homes that they could penetrate to calculate their TAM”</em></p><p>Tops-down TAM calculation, simply put, is calculating the opposite, ie, calculating the total available market out there for your solution. Then determining the share of that market you can capture/penetrate.</p><p>6. <strong>First Users, MVP</strong></p><p><em>“Who are the first users you’re targeting for the first version of your solution?”</em></p><p><em>“What feature(s) are you adding to your MVP?”</em></p><p>These questions can have different answers depending on the stage of your company. If you’re pre-product-market fit, it’s probably best to start small and target an initial group of users/customers and build for them and gauge their adoption levels. If you’re post-product-market-fit, then you have more leverage to build upon and can leverage the trust of your initial backers and build more.</p><p>Sort of a thumb rule that I’ve seen work well for almost every company that’s ever made it big: <em>“Start small, keep iterating”</em></p><p><em>There probably isn’t a company out there that built Rome in a day and made it big!</em></p><p>7. <strong>Competition</strong></p><p><em>“Who are your direct or indirect competitors?”</em></p><p><em>“How are you different compared to your competition? Do you really need to be?”</em></p><p><em>“Why can’t your competition do what you’re doing? What’s your Unique Selling Point?”</em></p><p>I’m not going to answer each of the questions listed above as they are pretty self explanatory. However, I will throw light on something briefly. Just because there are competitors in your space, doesn’t mean you can’t start a similar company. No company in any given space is going to hold onto their market share forever.</p><p>Competing against an established player in your space can be rewarding and painful in a few ways:</p><p>a. You already know there is a market for what you’re building!</p><p>b. You don’t have to be the first company to invent a new market. This is especially helpful when it comes to raising money.</p><p>c. You will always be compared to your competitor until your company’s brand is sizeable and recognizable enough.</p><p>d. Investors who missed out on your competitors early on, will be looking to invest in you!</p><p>e. Investors will always compare you to your competitors and scrutinize your growth/business model with a finer tooth and comb since they already have data about your competitors successes and failures.</p><p>I really had fun writing this post and sharing my insights and learnings from having started a company in the past. I hope this is helpful to upcoming entrepreneurs whether or not you decide to go through an accelerator like YCombinator!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4eb597b8e56f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Long-Running AWS Lambda Functions with API Gateway as a Trigger]]></title>
            <link>https://aws.plainenglish.io/executing-a-long-running-aws-lambda-function-with-api-gateway-as-a-trigger-cd000ddaef26?source=rss-aff213c05735------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd000ddaef26</guid>
            <category><![CDATA[asynchronous]]></category>
            <category><![CDATA[aws-lambda]]></category>
            <category><![CDATA[aws-api-gateway]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Nash]]></dc:creator>
            <pubDate>Fri, 20 Aug 2021 04:44:18 GMT</pubDate>
            <atom:updated>2021-08-20T23:15:00.058Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qjvr6gxBuZ2qiEJn.png" /></figure><p>AWS Lambda Functions are generally intended to perform one task on demand. These functions usually run for a few seconds up to a minute or so in duration. The maximum time limit that a lambda function can be run (without some voodoo magic) is 15 minutes.</p><p><em>Sometimes lambda functions can be designed to do a complex task that takes a while longer than a minute or so.</em></p><p>One of the most common ways to execute a lambda function from application code is to setup an API Gateway endpoint and attach the lambda function as an integration to this endpoint. Then, the application code makes a POST request to this API Gateway endpoint, which then acts like a trigger to invoke the lambda function.</p><p><em>Well, then what’s the big deal here?! Is this even a problem for long-running lambda functions?</em></p><p>Unfortunately, yes it is. API Gateway has a 29 second timeout after which any synchronous calls just error out if they haven’t returned from execution. This has been detailed out by AWS <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html">here</a> <em>(AWS lists the limit as 30 seconds for HTTP API’s, however, the 29 second limit is for successful execution. the 30th second is when the gateway endpoint times out)</em></p><p><em>Then how does one successfully return values from a lambda function that runs longer than 29 seconds?</em></p><p>Using Async calls to API Gateway! To set this up, you have two options:</p><ol><li>If all calls to this API Gateway endpoint should be made async, or</li><li>If the client decides sync or async at the time the call is made to the endpoint</li></ol><p>To setup all calls to the endpoint as async, simply add this header to the <strong>Integration Request</strong> part of your API Gateway resource configuration:</p><pre>X-Amz-Invocation-Type: &#39;Event&#39;</pre><p>To have the client decide if the call should be async or sync, follow these steps on your API Gateway resource configuration:</p><p>a. In the <strong>Method Request</strong>, add an InvocationType header.</p><p>b. In the <strong>Integration Request</strong>, add an <strong>X-Amz-Invocation-Type</strong> header with a mapping expression of <strong>method.request.header.InvocationType</strong></p><p>c. Additionally, the client can include <strong>InvocationType: Event</strong> headers in the request for asynchronous invocations and <strong>InvocationType: RequestResponse</strong> headers in the request for synchronous invocations</p><h4><strong>Real World Use Case</strong></h4><p>Imagine that you have a long-running lambda function that’s polling an external 3rd party API periodically. You’ve setup the periodic polling as a Cloudwatch trigger to run ever so often. This lambda function takes about 5–6 minutes to run since it grabs a LOT of data.</p><p>You suddenly decide that you want to run a poll on this 3rd party API on-demand as well. Well, setting up the API Gateway to be called asynchronously solves the problem here!</p><p>Using this tweak to the API Gateway configuration, you can now build client code that can offer an on-demand poll of the API. Meanwhile, the periodic poll continues to exist and run as configured.</p><p><em>References: </em><a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-lambda-integration-async.html">https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-lambda-integration-async.html</a></p><p><em>More content at </em><a href="http://plainenglish.io/"><strong><em>plainenglish.io</em></strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd000ddaef26" width="1" height="1" alt=""><hr><p><a href="https://aws.plainenglish.io/executing-a-long-running-aws-lambda-function-with-api-gateway-as-a-trigger-cd000ddaef26">Long-Running AWS Lambda Functions with API Gateway as a Trigger</a> was originally published in <a href="https://aws.plainenglish.io/">AWS in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Add a Custom Domain Endpoint for AWS Appsync GraphQL API]]></title>
            <link>https://aws.plainenglish.io/adding-a-custom-domain-endpoint-for-your-aws-appsync-graphql-api-3ef1c3b74344?source=rss-aff213c05735------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ef1c3b74344</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[appsync]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Nash]]></dc:creator>
            <pubDate>Thu, 19 Aug 2021 18:49:58 GMT</pubDate>
            <atom:updated>2021-08-20T23:15:50.456Z</atom:updated>
            <content:encoded><![CDATA[<p>Ever wondered if you could add a custom domain endpoint for your Appsync GraphQL API? <em>Short Answer: YES!</em></p><p>I was recently scouting the internet for ways to accomplish this when I stumbled upon this particular <a href="https://aws.amazon.com/blogs/mobile/use-a-custom-domain-with-aws-appsync-amazon-cloudfront-and-amazon-route-53/">blog post</a> written by someone at AWS. Now while most of the instructions mentioned in there are accurate, the part that this blog post doesn’t cover is dealing with authorization for the API endpoint.</p><p>Assuming you follow the instructions detailed in this <a href="https://aws.amazon.com/blogs/mobile/use-a-custom-domain-with-aws-appsync-amazon-cloudfront-and-amazon-route-53/">blog post</a>, you’re likely to run into issues when issuing a request to the newly created DNS record you setup as part of the instructions. One other thing that the post linked above, doesn’t cover is the fact that, most Appsync requests are POST requests.</p><p>Below, I’m going to detail some additional configuration tweaks that I needed to put in place for the custom domain endpoint to successfully work. <em>Note: I am using API Key as the authorization method out here in the example.</em></p><h4><strong>1. Enable all HTTP methods on your Cloudfront Distribution</strong></h4><p>Navigate to your cloudfront distribution on the AWS Console, click on the <strong>Behavior</strong> tab and edit the entry you see under <strong>Origin or Origin Group. </strong>In the edit screen, make sure you have the following option set:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/1*-wr42eNhoKbt2IpV7Qdvtg.png" /></figure><h4>2. <strong>Whitelist </strong><strong>x-api-key in your cache policy</strong></h4><p>Assuming you’re using API Key as the authorization method for your Appsync API, for the <strong>Cache Policy</strong> option, click on <strong>Create a new policy. </strong>This will bring you to this screen:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qm1ulM5sWhVa6EwnS6Ncwg.png" /></figure><p>Make sure you give your policy a name of your choice and whitelist the x-api-key in the headers section as shown above. Click <strong>Create cache policy</strong> and make sure you select this newly created policy in the previous screen.</p><p>Click <strong>Yes, Edit </strong>to save.</p><p>Your cloudfront distribution will now re-deploy. Allow it to successfully deploy.</p><h4>3. <strong>Use the correct </strong><strong>curl options to test</strong></h4><p>Once the cloudfront distribution has successfully deployed, crack open a terminal and run the following command against your newly created endpoint. You can use the following command as an example:</p><pre>curl --request POST \<br>  --url <a href="https://cultureinventoryapi.scispot.io/graphql">https://&lt;your-custom-domain-endpoint&gt;/graphql</a> \<br>  --header &#39;Content-Type: application/json&#39; \<br>  --header &#39;x-api-key: &lt;insert-your-api-key-here&gt;&#39; \<br>  --data &#39;{<br>        &quot;query&quot;: &quot;{\n\t__schema{\n queryType {\n fields{\n name\n }\n }\n }\n}&quot;<br>}&#39;</pre><p>This should return back the schema from your Appsync API endpoint.</p><p>And that’s it! You now have a human readable endpoint for your Appsync API!</p><p><em>Huge shoutout to </em><a href="http://mikeapted/"><em>Mike Apted</em></a><em> from AWS for helping me understand how to configure some of these tweaks the right way!</em></p><p><em>More content at </em><a href="http://plainenglish.io/"><strong><em>plainenglish.io</em></strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ef1c3b74344" width="1" height="1" alt=""><hr><p><a href="https://aws.plainenglish.io/adding-a-custom-domain-endpoint-for-your-aws-appsync-graphql-api-3ef1c3b74344">Add a Custom Domain Endpoint for AWS Appsync GraphQL API</a> was originally published in <a href="https://aws.plainenglish.io/">AWS in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>