<?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 C.J. Windisch on Medium]]></title>
        <description><![CDATA[Stories by C.J. Windisch on Medium]]></description>
        <link>https://medium.com/@cj_windisch?source=rss-584ac3a2d92a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*gW_cjl3NbOTedakksu-OcA.jpeg</url>
            <title>Stories by C.J. Windisch on Medium</title>
            <link>https://medium.com/@cj_windisch?source=rss-584ac3a2d92a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 21:11:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@cj_windisch/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[Revenue Focused Engineering for Startups]]></title>
            <link>https://medium.com/@cj_windisch/revenue-focused-engineering-for-startups-b6303c332a1e?source=rss-584ac3a2d92a------2</link>
            <guid isPermaLink="false">https://medium.com/p/b6303c332a1e</guid>
            <category><![CDATA[startup-lessons]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[C.J. Windisch]]></dc:creator>
            <pubDate>Fri, 09 Feb 2024 03:15:31 GMT</pubDate>
            <atom:updated>2024-02-09T03:15:31.136Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/565/1*Q6ZCrFl85jI5-H5KNiey-Q.png" /></figure><p>Today we’re going to talk about what to focus on in your startup from the engineering lens. As a startup CTO or CEO leading a CTO, you have 1 goal: get to revenue as quickly as possible. Why you ask?</p><h3>The Goal: Revenue. Revenue. Revenue.</h3><p>Some engineers don’t always think about revenue first — they prefer to perfect the UI, optimize the database, make the perfect architecture, or spend a lot of time on flawless code quality or zero bugs. As startup CTO or founder you <strong><em>have</em></strong> to put revenue above all else. Why? Because revenue:</p><ul><li><strong>Allows you to hire more engineers.</strong> You know it, I know it: one engineer coding can only build so fast even if you are a 10xer. Hiring a team let’s you move faster. The same is true with sales and marketing, more hands on deck means moving faster.</li><li><strong>Gives you more shots to succeed.</strong> Trust me, I’ve learned the hard way. If you run out of money, you fail. Rent &amp; Ramen take money, and no matter how good you are at conserving or raising capital, you need to bring money in to keep going. You might not get the feature set right the first time, so the more runway you have the more chances you have to get it right. So optimize time-to-market over all other engineering and product concerns because it gives you a shot at hitting some that clicks with users that gets them to pay. <a href="https://medium.com/@cj_windisch/how-to-build-an-mvp-the-idea-spec-cut-build-cycle-5d4de3a6f67d">What can you cut</a> to move faster?</li><li><strong>You need it to scale faster.</strong> Once you do get the right product that people are paying for, there’s a flywheel effect: more revenue means more money for ads, more sales people hired to close deals, and more marketers hired to reach a larger audience. If you want exponential growth, your core metric is revenue.</li><li><strong>Let’s you raise more money.</strong> If you have revenue coming in that exceeds your break even, you can keep improving things and running growth experiments. And if you have a track record of growing or at least consistent revenue you’ll be able to raise money so you can grow even faster.</li></ul><h3>Diminishing Returns of Iterating</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*Gzm7h5CDzgAwlu7ufZ8naA.png" /></figure><p>It’s tempting to keep iterating. This code could be organized better. That code could be performance optimized. That could be refactored. This could be easier to use or better designed. That bugged should be fixed. The list goes on and on. You’ll never hit perfection — which begs the question: how do you know when to stop iterating?</p><p>Iteration has diminishing returns. The more passes at the technical design, code, and UI design, the less and less valuable, and each iteration will take just as long. [Actually they might even take longer, because once you have code written and tested, it might be harder to change it while not break ing anything]. <strong>My rule of thumb is 3 iterations gets you 90% of the way there.</strong> Early in my career I did some experiments with the feature build loop:</p><ol><li>Design on paper</li><li>Code enough to get it working</li><li>Code review and look for better performance and code organization</li><li>Repeat</li></ol><p>It wasn’t the most scientific experiment, but I kept a log and I found usually after the 3rd go around it was good enough to launch — it was 90% of the way there. (Admitting 90% is a guess, not really measurable 😊). This took 2–6 weeks depending on how big the feature is — which is often a function of database tables or columns added &amp; number of screens altered or added. [Note this is for adding features, not developing the first version which is a little different]. If your first ballpark estimate is longer than 6 weeks, the scope is too big and you need to cut or split it into multiple projects.</p><h3>But when will you ever go back and clean up that code?</h3><p>You might scoff at me — if the code isn’t perfect it’ll just cause more bugs later so it’s worth doing now.</p><p>NO YOU ARE WRONG AND YOU’LL BANKRUPT YOUR STARTUP.</p><p>The problem with perfecting the code early is you don’t even know if</p><ol><li>Customers will pay for the feature</li><li>Users will even use the thing</li><li>You’ll ever go back and improve it</li></ol><p>What if you launch and even though every customer you interviewed said “I want that,” once you launch it nobody uses it? It happens. Users are good at saying yes to everything unless it’s an absolutely useless idea.</p><p>In that case <strong>you’ll be glad you didn’t spend another 2 months optimizing a feature nobody uses.</strong> And sometimes good enough is good enough — I’ve built features in a week, then didn’t touch them for years because it worked good enough and even though the code wasn’t perfect, it didn’t cause any bugs because nobody needed to modify it.</p><p>My rule of thumb is if you come back to the code to add something, then take the opportunity to refactor as necessary. If the feature proves unimportant, it’s actually engineering best practice to delete the code altogether because stale code causes bugs (it’ll always be in version history if you need it again, but you won’t).</p><h3>So how do I know when to stop iterating?</h3><p>My rule of thumb is stop changing the code or the UI when you’re 90% of the way to what feels like perfect.</p><p><strong>The 90% of the way there Criteria</strong></p><ol><li>Most bugs fixed. Remaining bugs are minor enough it won’t bias testing of value to users</li><li>No obvious security issues</li><li>Fast enough for value</li></ol><p>Code performs fast enough and easy enough to use relative to the value of the feature (user doesn’t mind waiting if it takes time to load or takes a few too many clicks to use because functionality is so valuable).</p><p>4. Scales enough not to cause system issues</p><p>E.g. No DB blocking long running queries which will effect the whole system</p><h3>Metrics to decide when to perfect code / a feature</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/240/1*tt7APWVoo4SxDHPFaLhIbQ.png" /></figure><p>So when should you go back and improve it? The feature must be important enough to justify spending more engineering time on it.</p><p><strong>Importance Criteria</strong></p><p>One of these must be met</p><ol><li><strong>Many people want it &amp; are willing to pay</strong> for the feature</li></ol><p>As measured by: Increase in signups after launch or A/B testing of the feature appearing on the plans page</p><p>Why proceed? The feature is a proven revenue driver</p><p>2. <strong>Few people want it but are willing to pay a premium</strong></p><p>As measured by: Addition of feature to higher priced plan</p><p>Why proceed? Proven revenue driver</p><p>3. <strong>Many, many people want the feature for Free </strong>as reported by</p><p>As measured by:</p><ul><li>Usage statistics regardless of plan.</li><li>User interviews.</li><li>Sales people talking to leads</li><li>A/B test on feature list page. Clicks on (Learn More) near feature information on marketing site</li></ul><p>Why proceed? Strategic marketing feature that generates signups for low cost leading to word of mouth spread</p><p>Which criteria to watch depends on difficulty / cost of measuring. Once the feature proves important, then you can go back and spend more time on it as a second project; while it’s being tested you can move on to another feature.</p><h3>To Sum Up</h3><p>As a startup CTO <strong><em>you have to focus on revenue. </em></strong>Money in the bank lets you scale the team to build, market, and sell faster. Quit when you’re 90% of the way there. Revisit if the feature turns out to be strategically important.</p><p>It’s the ticket to exponential growth and that unicorn valuation.</p><p><em>C.J. Windisch is a 17+ year vet in software engineering in startups. 3x cofounder &amp; CTO. 1 unicorn as an early engineer. As of the publishing of this post I’m currently taking software freelancing / consulting work — contact me on </em><a href="https://www.linkedin.com/in/cjwindisch/"><em>LinkedIn</em></a><em> or </em><a href="https://twitter.com/cj_windisch"><em>@cj_windisch</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b6303c332a1e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quick Take: Create a Github Repo in 3 Keystrokes]]></title>
            <link>https://medium.com/@cj_windisch/quick-take-create-a-github-repo-in-3-keystrokes-5607ca1741c1?source=rss-584ac3a2d92a------2</link>
            <guid isPermaLink="false">https://medium.com/p/5607ca1741c1</guid>
            <category><![CDATA[bashrc]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[side-project]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[C.J. Windisch]]></dc:creator>
            <pubDate>Thu, 12 Jan 2023 23:00:29 GMT</pubDate>
            <atom:updated>2023-01-12T23:00:29.006Z</atom:updated>
            <content:encoded><![CDATA[<h4>Simple .bashrc to quickly create a git repo for side projects</h4><p>I create a lot of side projects, and it’s nice to create a github repo without logging into the ui or typing a bunch of commands. Add this script to your .bashrc and BAM there you have a way to quickly create a repo.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/68fe16cf868338bfc27c615267b3f47a/href">https://medium.com/media/68fe16cf868338bfc27c615267b3f47a/href</a></iframe><p>Usage:</p><pre>grc testing-grc private # creates a private repo called &quot;testing-grc&quot; with a readme</pre><p><em>Follow me on medium for more coding how-tos, technical tips, and thoughts on software engineering. I also write about entrepreneurship &amp; starting up in tech. I tweet about these things too</em><a href="https://twitter.com/cj_windisch"><em> @cj_windisch</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5607ca1741c1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Build an MVP: The Idea-Spec-Cut-Build Cycle]]></title>
            <link>https://medium.com/@cj_windisch/how-to-build-an-mvp-the-idea-spec-cut-build-cycle-5d4de3a6f67d?source=rss-584ac3a2d92a------2</link>
            <guid isPermaLink="false">https://medium.com/p/5d4de3a6f67d</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[founders]]></category>
            <category><![CDATA[mvp]]></category>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[startup-lessons]]></category>
            <dc:creator><![CDATA[C.J. Windisch]]></dc:creator>
            <pubDate>Sat, 07 Jan 2023 21:26:22 GMT</pubDate>
            <atom:updated>2023-01-07T22:25:19.567Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r6bnnYu4x0im7FC1IsUZ5w.png" /></figure><h4>CUT FEATURES, GET TO MARKET FASTER</h4><h4>Founders usually forget the “Minimal”: How to cut your initial idea</h4><h3>The Problem: Founders Have Too Many Ideas</h3><p>I’ve been in early stage startups and in the LA Tech Community since 2011. I’m a 2X technical cofounder, 3X early stage CTO, and have talked to many many pre-product idea stage founders over the years.</p><p>The problem I see over &amp; over again is founders often get too deep in an idea. They’ve been thinking about it for 6 months before they started to pursue it - and by that time they have so many feature ideas for the product it’s overwhelming.</p><p>It’s good to brainstorm all sorts of features - it’s the first part of the business idea evaluation cycle. Think of everything you could do with a product first. The problem is if you actually translate that into an MVP you run the risk of a never ending development process because there’s too much to build. And you’ll definitely increase your design and engineering costs because there’s so many screens to design, frontends to code, backend apis and db tables to create, and software to test.</p><p>I’ve had lots of ideas of my own over the years, and I’ve gotten it down to a process for evaluating an idea. With an MVP, you need to test your product and marketing - those are the only goals to decide if you go raise money and try to scale the business.</p><p>Some advice online says to validate your idea by running Facebook ads and just see what people click on before you have a product . I tried this, <strong>Facebook quickly banned my ad account</strong>. You need a product before you can run ad tests. So you want something you can build as quickly and cheaply as possible to test it.</p><p>Another thing, don’t take the advice of founders that “spend nothing on marketing”, VC’s want to see a repeatable scalable sales process — it’s much better to have CAC, CTR, and Conversion Rate numbers than no data at all. And paying customers proves there’s a market which puts you above 90% of founders. Plus, looking at things like keyword search volume lets you go even further by giving you an idea of how much capital you can plow into ads and maintain a ROM before saturating the channel. (Read: The “Use of Funds” slide)</p><h3>How to Build a SaaS or App MVP in Practice</h3><p>What’s the development process to build an MVP? First: you must accept features can always be added later — not everything needs to be in the MVP. Which leads us to the core technique of this article: <strong>cutting.</strong></p><p>You start out with a million ideas. Rather than jumping into building an InDesign prototype, you need to cut. Maybe sketch some screens, but <strong>cut, cut, cut!</strong></p><p>Which features can’t be cut (login / signup / reset password, billing, settings - like <a href="https://developer.apple.com/news/?id=12m75xbj">the App Store delete account requirement</a>) and which can? What’s your <strong>core monetizeable value hypothesis</strong>? Which features directly address the pain you’re solving that are most likely to get a customer to buy and which are nice to have value-adds. <em>You have to be brutal </em>when cutting. Change your mindset: don’t think oh I’m giving up a prized feature idea - smile when you put something on the chopping block — you’ve just reduced your dev costs, time to market, and time to first revenue.</p><p>A good way to do this is for you (or an engineer if this is too technical [an engineer you pay for this]) to break down the app into components that need built and tag them with an estimate in number of minutes to build (e.g. 30, 60, 90, 120…). Once the full schedule of development is laid before you (and the dollar-per-hour engineering cost). It’s a lot easier to reevaluate what truly matters in a product and what to cut.</p><h4>Benefits of Cutting Features</h4><ul><li>Lower cost development because there’s a lower number of coding hours</li><li>Faster time to market since there’s less software to design, build, and test</li><li>Less delays - if you have less too build, your schedule risk goes down</li></ul><h3>How To Test Your Product and Marketing on a Budget</h3><p>If you’re a nontechnical founder and you’re not going to spend the months or years learning to code, it’s cheapest to outsource.</p><p>If you have an engineer friend who’ll build it for you — great (<strong>bonus:</strong> since you’ve cut your idea it’s less time &amp; effort to build, so just maybe you can convince your savant engineer friend to build it in a few weekends. It’s a much easier pitch than “Hey I have this app idea that I want you to build for free and its going to take 200+ hours.”) I’m here to tell you though, that’s probably not going to happen.</p><p>There’s this toxic idea that’s been spread in the tech industry that you shouldn’t outsource your tech. Maybe in the early days of the internet this made sense because things were still proprietary and technology was innovative. Today there’s standard ways to build mobile &amp; web apps, most likely any competent senior engineer can replicate whatever you build if they wanted to.</p><p>The reality is software engineers are more expensive than ever. Do you really think someone is going to quit their job and join a first time founder with no track record to work for free when their alternative is a $150,000 job with benefits and stock options with a proven value to come work for you <em>for free</em>? I can’t count the number of people who have tried to get me to do that — how is somebody even supposed to live in a major city without getting paid while building something that’s going to take months to build?</p><p>It’s not realistic. Go on Upwork, upload your sketches for a designer, get your screens designed by someone overseas on the cheap, then hire a developer on the platform. It’s still probably going to cost $1,000’s but it’s better than spinning your wheels for 6 months looking for a technical cofounder and getting nowhere. If you don’t have the money, spend a few months on a side hustle: sleep on the couch and rent your room on Airbnb, do UberEats nights and weekends, freelance, whatever it takes. If you put in the hours you can come up with that level of savings pretty quickly.</p><h3>Marketing Tests on a Budget</h3><p>Okay so you’ve paid your Upwork engineer and 4–12 weeks later you have a product that’s in pretty good shape. It’s time to run marketing tests (by the way you should have already built the marketing materials yourself while the coding was happening — that means ad designs, building a Wordpress site, branding, etc.). Better: you’ve made these marketing decision before the build so you know if channels will be too expensive for your price point or too competitive (assume a 1% CTR and 10% Conversion Rate in your ROM estimate).</p><p>With marketing tests for an MVP, your goal is not to get to sustainable revenue right off the bat, it’s to buy data. That usually means focusing on digital channels that’ll give you data, not a billboard or radio ad somewhere.</p><p>The problem is with a new product you have no idea what’s going to work and there’s a million possibilities to test. The only way I’ve found to do it is the same way as the software development cycle: <strong>idea-spec-cut-publish</strong>.</p><p>First you brainstorm a bunch of ideas (what messaging could we use, what positioning statements, what USP’s, what could the ad headline be, what are the thumbnails, what audience to target, what keywords to target, what could we try on the landing pages, CPC or CPM, what colors and fonts, which features to highlight first, do we do a competitor comparison table, do we funnel to a squeeze page or right to <em>buy now, </em>which channel do we use { Facebook, Reddit, YouTube, Google SEM, Google Display…}, and a million more questions). After your brainstorm, pick the ones you think are best, here’s what that looks like:</p><ul><li>Focus on 1 or 2 channels</li><li>Choose 1 core value / selling message</li><li>Run 4 tests for 1 week each over the course of a month</li><li>Spend $500 per test</li><li>Create a landing page per ad test. It’s a little bit more upfront investment than just funneling clicks to your home / signup / App Store page, but it gives you the chance to reinstill messaging and hammer home rhetoric to get the user to take the next step of trying or buying your product.</li><li>Free Trials are tricky. If you offer a 30 day free trial, you won’t know if people convert for a month, but it’s valuable to see trials vs. conversions. My take is if you’re offering a free trial, offer a 7-day free trial just to see if they buy without waiting forever.</li></ul><p>Spend Month 1 in market running 4 tests for $2,000 so at the end of the month you can analyze the data and decide if you need to iterate, pivot, or scrap the idea. This probably won’t be statistically significant, but it costs too much to be perfectly scientific — really what you’re looking for are big differences between the tests. Does a search keyword indicating a searcher is trying to solve a problem outperform job title targeted LinkedIn ads conversion rate wise? But maybe the CAC from YouTube preroll is so much lower.</p><p>Ideally you’d want to test copy, messaging, images, target keywords / FB audience / location, A/B test landing pages and a million other things. You don’t have that luxury on a budget. Depending on your channel, you need to decide what major things you’re going to test, it’s not time to hyper-optimize things like copy. Here are some examples:</p><ul><li>Google: Try different categories of keywords (Searcher indicating pain vs Searcher indicating competitor research)</li><li>LinkedIn / Facebook: Test targeting people with title “Software Engineer” vs. “Software Engineering Manager”</li><li>YouTube: Target one set of videos vs. another</li></ul><p>What you want to measure is CTR (%age of people that see the ad and click), Conversion Rate (as measured by %age of people that buy after landing on the page), and CAC ($500 / number of people that bought).</p><h3>Final Thoughts: From Nothing to Real Data in 2 Months</h3><p>This is the process I’ve developed over time to test online business and app ideas. It’s the quickest way that I’ve found to get to real data as possible. That elusive “traction” VCs talk about. Data that’s a lot more persuasive on a slide deck than “$70 Billion Market (Source: Gartner)”.</p><p><em>Happy Cutting!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d4de3a6f67d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building an SMS Reminder Script with Twilio]]></title>
            <link>https://medium.com/@cj_windisch/building-an-sms-reminder-script-with-twilio-86bb6881e167?source=rss-584ac3a2d92a------2</link>
            <guid isPermaLink="false">https://medium.com/p/86bb6881e167</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[twilio]]></category>
            <dc:creator><![CDATA[C.J. Windisch]]></dc:creator>
            <pubDate>Mon, 26 Dec 2022 06:19:41 GMT</pubDate>
            <atom:updated>2022-12-26T22:49:52.091Z</atom:updated>
            <content:encoded><![CDATA[<h4>Python Hacking</h4><h4>Built with Python, Twilio, AWS Secrets Manager, Conda, EC2, and a Cron file</h4><p>There’s a myriad of apps for reminders, but for important recurring reminders I want something I won’t ignore: a text message. So I decided to hack together a quick python script to send a few important reminders on a schedule.</p><p>In this exercise, we’ll get to flex our python scripting skills and get used to building simple, useful apps with python. Plus, because it’s code, it’s infinitely customizable and hackable.</p><h4>What You’ll Learn</h4><ul><li>Simple python scripting</li><li>Using AWS Secrets Manager with python</li><li>The Twilio API with python</li><li>Editing a cron file for running scripts on a schedule</li></ul><h4>Prereqs</h4><p>You’ll need a couple things if you want to do this yourself:</p><ol><li>An Amazon Linux 2 EC2 Server (<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EC2_GetStarted.html">How to set up an EC2 Server</a>)</li><li>Install Conda on the EC2 instance (<a href="https://docs.conda.io/projects/conda/en/latest/user-guide/install/linux.html">How to Install Conda</a>)</li><li>A <a href="https://github.com/">Github</a> account</li></ol><p>As a developer it’s always good to have a playground server running that you can use to create side projects and practice coding. So if you don’t have one, now’s the time to set one up. (Write it off as a business expense). I recommend an Amazon Linux 2 t3.small instance — roughly $7.60 / mo. plus some extra for your EBS volume.</p><p>Using conda is a good idea because it allows you to create a replicable python environment in case you ever try to run this code elsewhere.</p><h4>Getting Started</h4><p>Find your EC2 instance’s public url by:</p><ol><li>Navigate to this url (change the region to the one your EC2 instance is running in): <a href="https://us-east-2.console.aws.amazon.com/ec2/v2/home?region=us-east-2#Instances:instanceState=running">https://us-east-2.console.aws.amazon.com/ec2/v2/home?region=us-east-2#Instances:instanceState=running</a></li><li>Find your instance in the table and look under “Public IPv4 DNS”</li></ol><p>Then SSH into your EC2 instance.</p><pre># Replace the url with your EC2 instance&#39;s public url<br>ssh -v -i ~/Downloads/your-ec2-aws-key.pem \<br>ec2-user@ec2–11–111–11–111.us-east-2.compute.amazonaws.com</pre><p>Create a github repo to save your work. I named mine “sms-reminder”. Clone it in the home directory</p><pre>git clone https://github.com/&lt;your-github-user-name&gt;/sms-reminder.git</pre><h4>Set up your Python Environment</h4><p>Create a conda env and activate it.</p><pre>conda create — name sms-reminder python=3.9<br>conda activate sms-reminder</pre><p>Install the needed Python libraries.</p><pre>conda install boto3<br># doesn&#39;t look like there&#39;s a conda repo, so use pip<br>pip install aws-secretsmanager-caching <br>conda install -c conda-forge twilio</pre><p>We’ll be using AWS Secrets manager, so we need to configure AWS on the server so the python secrets manager library we’re using can access our AWS secrets. (<a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-quickstart.html">How to Configure the AWS CLI</a>)</p><pre># Answer the prompts with your AWS info<br>aws configure</pre><h4>Signup for Twilio</h4><ol><li><a href="https://www.twilio.com/try-twilio">Signup for a free Twilio account</a></li><li>Verify your email &amp; phone number</li><li>Create a Twilio phone number for sending texts with</li><li>Choose python for your language and you’ll get python sample code. The important parts you’ll need to note down for later are your <strong>account_sid, </strong>the <strong>from_phone_number</strong> (the number Twilio just assigned to you when you created your account), and the <strong>twilio_auth_token.</strong></li></ol><h4>Create a Secret in AWS Secrets Manager</h4><ol><li>Go to the secrets manager dashboard for the region your EC2 instance is in, like: <a href="https://us-east-2.console.aws.amazon.com/secretsmanager/listsecrets?region=us-east-2">https://us-east-2.console.aws.amazon.com/secretsmanager/listsecrets?region=us-east-2</a></li><li>Click “Store a new secret”</li><li>Choose “Other type of secret”</li><li>Enter “twilio-auth-token” for the Key and paste your Twilio auth token for the value</li><li>Click Next</li><li>Enter “prod/sms-reminder/twilio-auth-token” for the Secret Name and add a description like “Twilio auth token for sms reminder project”</li><li>Click Next</li><li>Skip the rotation screen by clicking Next again</li><li>On the Review screen click Store</li></ol><h4>The Script</h4><p>You’ll need to make some changes to link it to your Twilio account &amp; EC2 instance:</p><ol><li>Line 12: Change to the region your EC2 instance is in</li><li>Line 13: Change it to the phone number you want to receive the reminders on</li><li>Line 14: Change it to the phone number Twilio assigned to you</li><li>Line 34: Change it to your Twilio account sid</li></ol><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b1493b6eabd6dbac85067d5f10d786be/href">https://medium.com/media/b1493b6eabd6dbac85067d5f10d786be/href</a></iframe><h4>Create a Cron File to Run the Script on a Schedule</h4><pre>crontab -e</pre><p>I want my reminders sent on the last Friday &amp; Saturday of the month, so we’ll set up the cron to run every Friday and Saturday. (<a href="https://devhints.io/cron">cron file syntax reference</a>, and <a href="https://help.dreamhost.com/hc/en-us/articles/215767047-Creating-a-custom-Cron-Job">how to create a cron job</a>)</p><pre>0 12 * * 5,6 ~/anaconda3/condabin/conda run -n sms-reminder python /home/ec2-user/sms-reminder/reminder.py<br></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8Tnv0lLVrcX0rn81y9PXmA.png" /></figure><p>Note: <a href="https://help.dreamhost.com/hc/en-us/articles/215767107-Execution-environment-of-a-cron-job">You need to use absolute paths to the command</a> so the cron daemon knows where the command is.</p><p>You’ll probably have your own schedule - it’s simplest to use <a href="https://crontab.guru/">crontab.guru</a> to get the syntax right.</p><h4>How the Code Works</h4><ol><li>Fetch the Twilio auth token from AWS Secrets Manager</li><li>Check if the current time &amp; day are when I want the reminder sent</li><li>If so, call the Twilio api with my reminder message</li><li>Print the Twilio message sid and whether or not an SMS was sent to the cron logs</li></ol><p><strong>Why use Secrets Manager</strong></p><p>It’s generally <a href="https://withblue.ink/2021/05/07/storing-secrets-and-passwords-in-git-is-bad.html">a good idea not to put api tokens and other sensitive information in a github repo</a> because if someone gets access to your code or github they can run up your Twilio bill by sending a bunch of texts.</p><p><strong>Why Check the Current Time and Day</strong></p><p>The purpose of checking the time and date is if I have multiple reminders in the script, I’ll set up the cron to run the script at multiple times, so it’s the script’s responsibility to figure out what reminder to send given the current time.</p><p><strong>Why Print to the Cron Logs</strong></p><p>Debugging. If I stop getting SMS texts, or they’re being sent at the wrong time, I can go back to my server and look at the cron logs to debug. The Twilio message sid let’s me cross reference the cron run to Twilio, and whether an SMS was sent or not is for debugging; if the cron is calling the script and it’s not sending an SMS when it’s supposed to, then something’s wrong with my python logic.</p><h4>Testing the Python Script &amp; Cron File</h4><p>Since the cron runs on a schedule it’s hard to test. There are three things you’ll want to test:</p><ol><li>The python script runs without errors</li><li>Your python logic for when the reminder gets sent</li><li>That the cron is working and logging correctly</li></ol><p><strong>Testing the Python Script</strong></p><p>This one is simple, just run the script and look at the output</p><pre>~/anaconda3/condabin/conda run -n sms-reminder \<br>python /home/ec2-user/sms-reminder/reminder.py</pre><p><strong>Testing your Python Timing Logic</strong></p><p>To test that the code that’s choosing what time the reminders are sent is working, we’ll hard code a few dates.</p><pre># Change line 41 to test it correctly sends on last Saturday of month @ noon<br># Make sure to use a date in the current month for it to work<br>d = date(2023, 1, 28, 12, 0, 0)<br># Change line 41 to test it DOES NOT send on first Saturday of month @ noon<br># Make sure to use a date in the current month for it to work<br>d = date(2023, 1, 7, 12, 0, 0) </pre><p><strong>Testing the Cron</strong></p><p>To test the cron, change the cron file to run every minute so you can see if the cron is running, there’s no issues with the python script, and it’s logging properly.</p><p>Change the test cron file that runs every minute:</p><pre>0 12 * * 5,6 ~/anaconda3/condabin/conda run -n sms-reminder python /home/ec2-user/sms-reminder/reminder.py &gt; /tmp/cron.log 2&gt;&amp;1<br>* * * * *  ~/anaconda3/condabin/conda run -n sms-reminder python /home/ec2-user/sms-reminder/reminder.py &gt; /tmp/cron.log 2&gt;&amp;1<br></pre><p>Now watch the logs</p><pre>tail -f /tmp/cron.log</pre><p>You should see logs every minute if it’s working.</p><p><strong>Clean Up</strong></p><p>Remember to remove your test code by changing back line 41 and removing the * * * * * line of the crontab.</p><h4>Saving Your Work</h4><p>Export your conda environment in a cross-platform compatible way, export your cron file for backup, and push to your github repo.</p><pre>conda env export — from-history&gt;conda-environment.yml<br>crontab -l &gt; /home/ec2-user/sms-reminder/crontab<br>git add *<br>git commit<br>git push</pre><h4>Final Thoughts</h4><p>We got to flex our python skills by making a simple, useful, hackable sms reminder system with Twilio. Plus knowing how to set up an EC2 server &amp; use a cron file is great for side projects.</p><p><em>Happy hacking!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=86bb6881e167" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cross Platform Mobile Development with Expo React Native]]></title>
            <link>https://medium.com/@cj_windisch/cross-platform-mobile-development-with-expo-react-native-faf9d88c696a?source=rss-584ac3a2d92a------2</link>
            <guid isPermaLink="false">https://medium.com/p/faf9d88c696a</guid>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[react-native-development]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[expo]]></category>
            <category><![CDATA[cross-platform]]></category>
            <dc:creator><![CDATA[C.J. Windisch]]></dc:creator>
            <pubDate>Mon, 14 Sep 2020 23:06:47 GMT</pubDate>
            <atom:updated>2020-09-16T19:51:46.703Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/764/1*tyzmvSBC_kc8esEtojHlgA.png" /></figure><p>What is expo? Expo is an alternative toolset to create-react-app that lets you build &amp; run react native code. In this article we’ll get an expo app up and running and discuss the benefits of expo.</p><h4>React Native Web</h4><p><strong>Why would you choose Expo over the react native cli supported by Facebook?</strong> The big sell of Expo is that it allows you to run React Native code natively in the browser for the web in addition to on Android &amp; iOS. You truly have cross platform mobile app development when you have a single codebase that runs your native apps as well as your browser experience that people don’t need to download an app for. One multi platform app is much simpler to build upon than managing separate Swift, Kotlin, and Javascript codebases. Cross platform app development is why some argue React Native with Expo is the best mobile development platform and framework.</p><h3>Getting Started with React Native Expo</h3><p>Let’s make a hello world react native example with Expo.</p><h4>How to install expo and how to install react native</h4><p>First, <a href="https://docs.npmjs.com/downloading-and-installing-node-js-and-npm">install npm</a> if you don’t already have it. Then <a href="https://docs.expo.io/get-started/installation/">install the expo-cli</a> and use it to initialize your project:</p><pre><strong>$ </strong>npm install — global expo-cli<br><strong>$ </strong>expo init my-app</pre><p>This will open a menu to choose the settings for initialization. For this tutorial we’re using javascript not typescript along with the managed workflow (to get all the expo tools goodness), so choose “blank” and click enter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i1UWv3ipeh7txgjOhdwmSg.png" /></figure><p>This will create a starting point for your project. Let’s run it and see what the default app looks like:</p><pre><strong>$ </strong>cd my-app<br><strong>$ </strong>expo start</pre><p>“Expo start” launches Chrome with the Metro Bundler interface — this is kind of like a control panel for running you react native code in different environments. Let’s start by seeing the web version since that’s the big draw of expo — click “Run in web browser” from the left panel. Your app should open in a new tab in Chrome (be patient it takes a second to start the server).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MkE8FpJUCpz-aIs1nML3Hw.png" /></figure><p>You should see it running on your local host. It’s just text now so let’s make it a little more app like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_IlBLhe2GonJMzpe3HAX5Q.png" /></figure><p>To give us something more to work with, let’s add tab navigation and some screens to our app. First install the needed tab &amp; icon libraries then modify App.js:</p><pre><strong>$ </strong>npm install @react-navigation/bottom-tabs<br><strong>$ </strong>npm install @react-navigation/native<br><strong>$ </strong>npm install react-native-screens<br><strong>$ </strong>npm install react-native-vector-icons</pre><p>Modify App.js to be as follows (<a href="https://github.com/tinkerandbuild/expo-hello-world">github repo here</a>):</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/753e5e3de503a162418c42cdcb0ba9eb/href">https://medium.com/media/753e5e3de503a162418c42cdcb0ba9eb/href</a></iframe><p>As you save the file, the metro server will re-compile and load your app in the browser. Just refresh the page to see your changes. And there we have it, a basic expo hello world app with tab navigation. Make your modifications from here to build your project. You can also <a href="https://docs.expo.io/workflow/ios-simulator/">run expo in the XCode simulator</a>, <a href="https://docs.expo.io/workflow/android-studio-emulator/">run expo in the Android studio emulator</a>, or on <a href="https://docs.expo.io/guides/testing-on-devices/">run expo on a device</a>.</p><p>Expo is a great tool for crossplatform app development to get an app running across native Android, iOS, and the web in a single cross-platform react native codebase.</p><h4>Links</h4><p>This article is based on great <a href="https://docs.expo.io/get-started/installation/">tutorials on the expo site</a> and <a href="https://reactnavigation.org/docs/tab-based-navigation/">reactnavigation.org</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=faf9d88c696a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Technical Founders: What they don’t tell you about Early Stage]]></title>
            <link>https://medium.com/@cj_windisch/technical-founders-what-they-dont-tell-you-about-early-stage-6b9934ac185?source=rss-584ac3a2d92a------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b9934ac185</guid>
            <category><![CDATA[founder-advice]]></category>
            <category><![CDATA[startup-lessons]]></category>
            <category><![CDATA[startup-marketing]]></category>
            <category><![CDATA[founders]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[C.J. Windisch]]></dc:creator>
            <pubDate>Wed, 09 Sep 2020 20:54:55 GMT</pubDate>
            <atom:updated>2020-09-09T20:54:55.739Z</atom:updated>
            <content:encoded><![CDATA[<p>I’m an engineer and I’ve worked in early stage startups most of my career. Here’s the shortlist of what I wished I knew as a technical founder just starting out.</p><p><strong>Is a Target Market meaningless if you can’t reach them within your budget?</strong></p><p>Emphatic Yes! Just knowing who your product appeals to isn’t enough. If you don’t have a way to reach them efficiently (read within your budget) then you don’t have a business. You need a go-to-market plan, which means you know:</p><ol><li>What <em>messaging</em> to test</li><li>What <em>channels</em> to spend time and money on</li><li>How to target your particular customer within those channels (i.e. specifically which influencers are you going to pay and which keywords are you going to target, not just “Influencer Marketing” and “SEO”)</li></ol><p><strong>Solution: </strong>Facebook &amp; Google. Both allow you to test and don’t have minimum spending. You can spend $100 bucks and see if anybody clicks.</p><ul><li>Facebook is great for targeting people’s interests</li><li>Google is great for targeting people’s problems (because they’re searching for a solution)</li></ul><p><strong>Most market testing advice isn’t for early stage</strong></p><p>Statistical significance. A/B testing. What is your control when you have no customers and no email list? Most marketing test advice is targeted at people who are optimizing — they have a business that is working and they need to grow. That’s not the case with early stage. You have tiny or nonexistent social accounts, you have no email list, you don’t have a blog that gets traffic. How are you supposed to have enough data for a statistically significant test when your website isn’t even live yet?</p><p>The fact is you probably don’t have the budget to A/B test channels, copy, images, link text, and on and on.</p><p><strong>Solution:</strong> Do small-budget tests to understand what works. What was your CTR for a $500 Facebook Ad buy? How many converted? Compare that to the same number of clicks from SEM ads. Try Quora. Reddit. Narrow it down to 3 or 4 tests aimed at your target customer (interests on Facebook, keywords on Google, topics / Questions on Quora, specific videos on YouTube, etc.).</p><p>Run them for a week and see how each does in terms of CTR, conversions, and ROI. Once you have the data you can put the results on your pitch deck, and have some basis of financial planning, whereas without it you’re shooting in the dark. <a href="https://slidebean.com/blog/startups-google-youtube-content-marketing">Here’s an example from IndieHackers of SEM done right.</a></p><p><strong>Marketing requires a budget</strong></p><p>Pretty much all startups start off funded by the founder. Even if that means you’re just paying your own expenses while working on the company. It’s a little scary to spend money — every dollar spent is a slightly shorter runway. However you <strong><em>have to</em></strong> spend money on marketing.</p><p>Sure you can do SEO, social, and content marketing for free. But do you really want to wait 6 months for Google to pick up your blog post and start getting meaningful traffic? And “free” here is relative when you consider you have to spend time writing — social media and blogging can easily eat up half your day if you let it — and is your time as the CEO really worth $0?</p><p><strong>Solution: </strong>Spend some money on marketing! With platforms like Facebook and Google, there’s no minimum spend, so you can get traffic to a landing page in 24 hours. Spend the few hundred bucks, get some meaningful traffic, and see how many emails / sign-ups / subscriptions you achieve. Calculate your ROI and CAC. Repeat + optimize. <a href="https://hackernoon.com/how-we-got-the-first-100-customers-for-our-tech-startup-0uy3e7f">Here’s an example of a starting slow and scaling a Facebook campaign.</a></p><p><strong>Outsourcing the Tech Makes Sense</strong></p><p>As a technical founder it’s very easy to spend all your time building product. Problem is you can have the perfect product, and if you don’t get people paying for it, you can’t pay your bills.</p><p><strong>Solution: </strong>You can get a full time developer overseas for less than the monthly rent of an apartment in San Francisco. <em>If you can write software, you can spec software</em>! The advice to not outsource is terrible, if you’re an engineer then you know how everything works so you’re not “Outsourcing your IP”, most software nowadays doesn’t have IP — it’s just a lot of coding work to build and optimize for users. If you’re a founder, your time is better spent designing &amp; spec’ing software than debugging why an open source library doesn’t work the way you thought it would. There are quality developers overseas, and if you do a good job doing technical design &amp; writing specs you’ll get good work back.</p><p>What if I don’t know anybody overseas? Upwork &amp; Fiverr all day, everyday. Just change your title to CTO on LinkedIn and you’ll get plenty of inbound from outsource firms.</p><p><strong>Final Thought!</strong> If you’re a technical founder, spend time building revenue, not code, because code won’t keep you in business to keep trying, but revenue will.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b9934ac185" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>