<?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 Aziz on Medium]]></title>
        <description><![CDATA[Stories by Aziz on Medium]]></description>
        <link>https://medium.com/@abaziz?source=rss-e7ae68b7a4fc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*S8VM6uCGQ7KwjzP_VkV3jg.png</url>
            <title>Stories by Aziz on Medium</title>
            <link>https://medium.com/@abaziz?source=rss-e7ae68b7a4fc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 07:05:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abaziz/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[First Glance at Github Copilot]]></title>
            <link>https://medium.com/rpdstartup/first-glance-at-github-copilot-d4d3d6d85b6e?source=rss-e7ae68b7a4fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/d4d3d6d85b6e</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Aziz]]></dc:creator>
            <pubDate>Wed, 17 Nov 2021 12:04:33 GMT</pubDate>
            <atom:updated>2022-06-24T00:47:26.120Z</atom:updated>
            <content:encoded><![CDATA[<h4>Can Github Copilot Change The Programming Landscape?</h4><h4>How it works, its benefits and limitations, and should you be worried as a programmer?</h4><p>Github turned many heads<em> </em>when it announced <a href="https://copilot.github.com/">Copilot</a> in June 2021.</p><h3>GitHub on Twitter: &quot;Meet GitHub Copilot - your AI pair programmer. https://t.co/eWPueAXTFt pic.twitter.com/NPua5K2vFS / Twitter&quot;</h3><p>Meet GitHub Copilot - your AI pair programmer. https://t.co/eWPueAXTFt pic.twitter.com/NPua5K2vFS</p><h3>What is Copilot</h3><p>Github describes Copilot as a <strong><em>Your AI pair programmer</em></strong><em>. </em>It is currently in beta and invite-only mode.</p><p>It offered a glimpse of what coding may look like in the future and made many folks feel insecure.<em> Will developers become obsolete? Will AI take over our jobs as programmers?</em> These questions naturally came up, but as with most tech stuff, there’s no simple answer.</p><p>I was excited to take a crack at it after I recently got my invite. In the following sections, I will test the Copilot with a series of programming challenges, from our hiring screening tests to some specific back-end and front-end problems.</p><h3>Screening Challenge</h3><p>I will start the Copilot challenge with screening tests that we typically send to junior programmers. These are general LeetCode style algorithm development problems where the developer can choose any programming language to develop a solution.</p><h4>First Problem: String Manipulation<br>Complexity: Simple</h4><blockquote>Have the function DashInsert(str) insert dashes (‘-’) between each two odd numbers in str. For example: if str is 454793 the output should be 4547–9–3. Don’t count zero as an odd number.</blockquote><p>Let’s get started. We have a blank file in Visual Studio Code, and we choose Typescript as our language. As we start typing the problem, we see auto-complete suggestions for the function name, and as we proceed and accept, we see further recommendations for the rest of the function.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*McphAO9_o50bGJDxYMjleA.gif" /><figcaption>Copilot in action</figcaption></figure><p>Generated code below👇</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/bbec807c7747557510592ff83b5483c4/href">https://medium.com/media/bbec807c7747557510592ff83b5483c4/href</a></iframe><p>Time to put the Copilot code to the test 💪</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iApFjNDSSMY8N0VlVpcPdQ.png" /><figcaption>Copilot in action</figcaption></figure><p>Bingo. All tests passed like a charm, so far, so good!</p><p>However, on a review, we see one potential issue. The loop may go out of range if the argument is accurately typed as a <strong>String</strong>. With its current implementation as <strong>any</strong>, it may give erroneous results for corner cases.</p><h4>Second Problem: Array Manipulation<br>Complexity: Medium</h4><blockquote>Have the function NearestSmallerValues(arr) take the array of integers stored in arr, and for each element in the list, search all the previous values for the nearest element that is smaller than (or equal to) the current element and create a new list from these numbers. If there is no element before a certain position that is smaller, input a -1. For example: if arr is [5, 2, 8, 3, 9, 12] then the nearest smaller values list is [-1, -1, 2, 2, 3, 9].</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oCJAY5bEBo7vSv3PJsHioA.gif" /><figcaption>Copilot in action</figcaption></figure><p>Resulting code 👇</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/be0d668c08a08c10e686dcb395f5f4a5/href">https://medium.com/media/be0d668c08a08c10e686dcb395f5f4a5/href</a></iframe><p>Time to test!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1yVuPrX9vJn82gky5UX1HQ.png" /><figcaption>Copilot in action</figcaption></figure><p>FAIL! The Copilot made an assumption and returned an array, but the test case was expecting a string. The question didn’t specify this, so we give it the benefit of the doubt. We should have a quick fix; let us reformat and return the array as a space-delimited string using this change.</p><pre><strong>return result.join(“ ”);</strong></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Djw4rC_ysyUJhEE184Kd4Q.png" /><figcaption>Copilot in action</figcaption></figure><p>Almost there, this feels like actual programming😅</p><p>One test case still failed. On closer inspection of the code, we find that it failed the check for the nearest element where the question clearly stated <em>smaller than (or equal to)</em>.</p><p>So, we add a quick fix by changing the condition to include the equality check.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zUBBcGbmbnEPQWamw0SaxQ.png" /><figcaption>Copilot in action</figcaption></figure><p>And we’re done, Copilot has passed our screening challenges🎉</p><h3><strong>Back-end </strong>Challenge</h3><p>First, let’s try a couple of things with writing data-fetching queries.</p><blockquote>1. Get all users from an SQL table that have age above 18<br>2. Get all users from a MongoDB collection that have logged into the system in the last week</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h8oBjs1srzdmb_LecrYhqw.gif" /><figcaption>Copilot in action</figcaption></figure><p>The code 👇</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/116fef3fcf03ce510120953acbe449d3/href">https://medium.com/media/116fef3fcf03ce510120953acbe449d3/href</a></iframe><p><strong>Feedback: </strong>I ran this past two rockstar Senior Developers at our company, <a href="https://www.linkedin.com/in/talha-irfan-92a387134/">Talha</a> and <a href="https://www.linkedin.com/in/danyal-zahid-1628ab199/">Danyal</a>. Here’s the feedback:</p><blockquote>“The code seems to have no logical issues, but async/await implementation with typings would’ve been better and more upto the latest standards”</blockquote><p>Next, let us write a simple function to get the current Bitcoin price. Our language of choice this time is Python:</p><blockquote>Write a function to get current Bitcoin price</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TUFmJcMDPlW8RFLQWWwfRg.gif" /><figcaption>Copilot in action</figcaption></figure><p>Generated code 👇</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b3ced2ad10d7acb6b47f1ddbe6c8aabc/href">https://medium.com/media/b3ced2ad10d7acb6b47f1ddbe6c8aabc/href</a></iframe><p><strong>Senior Engineer Feedback:</strong></p><blockquote>“Code looks precise and accurate but it’s better to take the import statements out of the function.”</blockquote><p>Last challenge on the back-end. Let us test how it works for setting up a subscription with Stripe API, an everyday use case for apps. We will use Java for this one.</p><blockquote>Create a Stripe subscription for the given user and plan</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pasBBqVnUrbaAJhKQDCJqg.gif" /><figcaption>Copilot in action</figcaption></figure><p>Copilot suggestion 👇</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/160417f7e5d2103e07a18b54df0138a2/href">https://medium.com/media/160417f7e5d2103e07a18b54df0138a2/href</a></iframe><p><strong>Senior Engineer Feedback:</strong></p><blockquote>“Seems to have recursive infinite call on createSubscription. Would be good to be able to run and test this code and improve it from there.”</blockquote><h3>Front-end Challenge</h3><p>We will test Copilot with DOM manipulation and have it perform some image styling.</p><blockquote>Find all images without alternate text and give them a red border</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K_0m42JwNg37LA3J04QGAg.gif" /></figure><p>Generated code 👇</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/75def078dfd8e7e399c3f5293c8336e3/href">https://medium.com/media/75def078dfd8e7e399c3f5293c8336e3/href</a></iframe><p><strong>Front-end Engineer Feedback:</strong></p><blockquote>“Code looks good and to the point! We also ran this in browser console to see it working.”</blockquote><h3>Summarizing Results</h3><ul><li>Accuracy of solution: Most of Copilot’s algorithms were accurate, given that the problem statement had sufficient information. Where not, it took assumptions and did have a hiccup on a corner case.</li><li>Performance of solution: Although I didn’t share the performance results in this article, we generally found the code to be efficient.</li><li>Speed of coding: I think this is where Copilot does add value. Whereas coding is just one of many important jobs that an engineer does, Copilot can help save some time by spending lesser time. Engineers can save time on building an algorithm and reading documentation. Mind you, it should also add some extra time to understand and test the code.</li><li>Risks: Bugs can creep into the code if not reviewed and adequately tested.</li><li>Code quality: Engineering teams are picky about their code and need consistency across the codebase. So, keep some cushion to refactor the codebase after testing the solution.</li></ul><p>This space is getting exciting, and in my view, many engineers can benefit by adding Copilot to their repertoire of skills.</p><p>My Key takeaway? Coding faster alone can not make you a better software engineer. Understanding the end-users, helping define the problems, designing a good solution, working on an efficient architecture, and abstraction differentiate you from the rest!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d4d3d6d85b6e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rpdstartup/first-glance-at-github-copilot-d4d3d6d85b6e">First Glance at Github Copilot</a> was originally published in <a href="https://medium.com/rpdstartup">Aurora Solutions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setting up a fully functional database in Firebase Emulator]]></title>
            <link>https://medium.com/rpdstartup/setting-up-a-fully-functional-database-in-firebase-emulator-b0199fff0252?source=rss-e7ae68b7a4fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/b0199fff0252</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[firestore]]></category>
            <dc:creator><![CDATA[Aziz]]></dc:creator>
            <pubDate>Tue, 09 Mar 2021 08:18:19 GMT</pubDate>
            <atom:updated>2021-03-23T08:50:18.699Z</atom:updated>
            <content:encoded><![CDATA[<h4>How to Migrate and Mock Data in the Firebase Emulator</h4><h4>Learn how to populate your local Firestore instance with mock data, and how to replicate data from your live project.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jTNwYbuAPuOEOfFP" /><figcaption>Photo by <a href="https://unsplash.com/@markusspiske?utm_source=medium&amp;utm_medium=referral">Markus Spiske</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>If you want to make your local emulator testing practical, you will most likely need to work with data. This is a crucial step and one that is hard to find in the standard documentation. We will look at how you can populate your Firestore instance and explore three options:</p><ol><li>Mock data using <a href="https://github.com/marak/Faker.js/">Faker</a> on the backend.</li><li>Mock data using <a href="https://github.com/marak/Faker.js/">Faker</a> by injecting code in the browser console.</li><li>Export data from your remote Firestore database (like staging or development) using GCP and import it into the local instance.</li></ol><h4>Method 1: Mock Data using Faker on the Backend</h4><p>In this option, we will use Faker, which is a package that allows you to generate random mock data. We will add some code to simulate the data that will run each time you start the Firebase emulators.</p><ul><li>Start by installing the Faker package which you can do by adding a dependency in your project’s package.json as below and running <em>npm install</em><br>&quot;faker&quot;: &quot;^5.4.0&quot;;</li><li>In the file where you are calling <em>initializeApp() </em>for Firebase, check whether the process environment is set to Emulator. If it is set to Emulator, then go ahead and add mock data that you need in your collections. A simple code sample is given below:</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/81f90e9e912886080247060e5c417d0b/href">https://medium.com/media/81f90e9e912886080247060e5c417d0b/href</a></iframe><h4>Method 2: Mock Data using Faker Injection</h4><p>This is a quick scrappy solution and not an ideal one. Skip to method three below if you prefer working with a copy of your development, staging, or production database instead.</p><ul><li>Open your <a href="http://localhost:4000/firestore">local Firestore</a> in the browser, go to console in the developer tools, and paste the full code below. Take a look at the code, it is quite simple, and you can play around with it. This code lets you add ten random users.</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/be95b92d663133bb3fe1c8548ef35117/href">https://medium.com/media/be95b92d663133bb3fe1c8548ef35117/href</a></iframe><ul><li>You should see a button show up on the top right saying “Add 10 random users”.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KP0hbfzJ1hn1SMeQ" /><figcaption>Browser screenshot for Faker data</figcaption></figure><ul><li><strong>Optional: Run the script automatically<br></strong>There is the possibility to run this code using a chrome plugin similar to TamperMonkey. We haven’t tested this, but it should be possible to automate this script on a specific condition, like each time you load the <a href="http://localhost:4000/firestore/">local firestore URL</a>.</li></ul><h4>Method 3: Sync with an Existing Firestore Database</h4><p>This method requires a few small steps to set up but is likely to create better quality local testing once done.</p><ul><li>Create backups of required Firestore collections. Ideally, your project already has a way of creating regular backups of your Firestore database, in which case you can skip the first step:<br>gcloud firestore export &lt;cloud-storage-path&gt; --collection-ids=[comma separated list of collections] <br><strong>e.g.</strong>gcloud firestore export gs://my-awesome-project/manual-backups/20201231 --collection-ids=users,companies,employees</li><li>Copy the backup folder locally(needs <a href="https://cloud.google.com/storage/docs/gsutil_install">gsutil installed</a>) <br>gsutil cp -r &lt;cloud-storage-path&gt; .<br>e.g <br>gsutil cp -r gs://my-awesome-project/manual-backups/20201231 .</li><li>Create a new file called firebase-export-metadata.json in the folder where the backup has been copied. Edit the file as below. Specify the path of the backup and metadata_file from Firestore export. In our case, the file should look something like this:</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/bb41cdf2b237a2bedbd66957eab78faa/href">https://medium.com/media/bb41cdf2b237a2bedbd66957eab78faa/href</a></iframe><ul><li>Finally, we can modify the run emulators command to include the import data step: <strong><br></strong>firebase emulators:start --import full-path-to-your-backup-folder<strong><br></strong>For our sample project, it looks something like this:<br>firebase emulators:start --import full-path/my-awesome-project/functions/20201231</li></ul><p>That’s it. Your one-time setup should now be complete. After this, you will only need to run the last command to import data into the local emulator while starting the emulator. If you need a new copy of the data, re-export the data from cloud Firestore and then place it in the appropriate folder before running this command.</p><p><strong>Important: </strong>The emulator will initially load the rules specified in the firestore.rules part of your firebase.json file. Make sure they are up to date.</p><p>If you need help setting up an end-to-end Firebase emulator suite for debugging locally, give <a href="https://medium.com/rpdstartup/development-with-the-firebase-emulators-suite-f53bb7121442">this guide</a> a read.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b0199fff0252" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rpdstartup/setting-up-a-fully-functional-database-in-firebase-emulator-b0199fff0252">Setting up a fully functional database in Firebase Emulator</a> was originally published in <a href="https://medium.com/rpdstartup">Aurora Solutions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Development With the Firebase Emulators Suite]]></title>
            <link>https://medium.com/rpdstartup/development-with-the-firebase-emulators-suite-f53bb7121442?source=rss-e7ae68b7a4fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/f53bb7121442</guid>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[firestore]]></category>
            <dc:creator><![CDATA[Aziz]]></dc:creator>
            <pubDate>Thu, 31 Dec 2020 14:00:37 GMT</pubDate>
            <atom:updated>2022-04-29T00:41:07.731Z</atom:updated>
            <content:encoded><![CDATA[<h3>Local Testing With the Firebase Emulator Suite</h3><h4>A complete guide to running Firebase emulators for developers with sample Flutter and Vue.js client apps</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5DYgFbtW8Qs5upOs" /><figcaption>Photo by <a href="https://unsplash.com/@oskaryil?utm_source=medium&amp;utm_medium=referral">Oskar Yildiz</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Software developers need to be able to run and debug their complete setup locally. Having a fully working local system allows them to be more productive by doing multiple things like:</p><ul><li>Developing and testing new features as well as debugging any potential problems.</li><li>Removing dependency on shared data sources or systems when not needed.</li><li>Debugging and stepping through the code while watching the program memory, variables in real-time without having to attach to a remote host.</li></ul><p>A local setup can be tricky when working with a server-less environment. This article will look at how we can accomplish all of the above using the Firebase Local Emulator Suite.</p><h3>What Will We Cover</h3><p>We will cover the following in this tutorial:</p><ul><li>How to setup and start Firebase Emulators on your workstation</li><li>How to populate a copy of your test database or populate dummy data in the local Firestore Emulator.</li><li>How to ensure that the auth emulator runs smoothly (recently released).</li><li>Optional: How to setup the Auth emulator locally.</li></ul><p>The below are not covered:</p><ul><li>Storage emulator is not available.</li><li>Push Notifications (FCM) is not needed.</li><li>Firebase Realtime Database. Although the emulator works locally, we haven’t covered it as part of the tutorial since we don’t use the Realtime database.</li></ul><p>For the services like Storage and FCM that don’t support local emulators, you can continue to use your existing development or staging project or create a separate Firebase project to avoid mixing the data with other environments.</p><h3>Let’s Get to Work</h3><p>The steps beyond this point should work once you have set up your project. Follow the <a href="https://firebase.google.com/docs/guides">official Firebase guides</a> if you’re still not there.</p><h3>Configure the Emulator suite</h3><p>Set up the Emulator Suite using the below command that walks you through the configuration wizard. Alternatively, you can directly configure the emulators’ network ports and the paths to Security Rules definitions in the firebase.json file.</p><p>firebase init emulators</p><p>Choose <em>functions, firestore, database </em>to begin. We will go through the optional auth emulator, which has been recently released, as a final step below in the article.</p><h3>Run the Emulator Suite</h3><p>Navigate to your project directory in the terminal and start the emulators by running the command<br>firebase emulators:start</p><ul><li>You should see a confirmation message on the terminal.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/854/1*ApS-rZAeiDE1B_bsLExLnw.png" /><figcaption><strong>Terminal view to verify the status of emulators</strong></figcaption></figure><ul><li>Verify the status of emulators by opening the <a href="http://localhost:4000/">emulators’ suite link</a> in your browser. You should see something like the below screen, which is your locally deployed Firebase instance and similar to the Firebase web console. Verify the status of different services like Firestore and Functions.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8_GAN9fxj9i0S-1kdETSbQ.png" /><figcaption><strong>Web browser view to verify the status of emulators</strong></figcaption></figure><h3>Attach to Debugger in VS Code</h3><p>Debugging your code with breakpoints can be very handy and help you develop new features or identify tricky bugs. You can do this by adding --inspect-functions at the end of the command to run emulators and configure your IDE to attach to your debugger. Below we include an example of how to do that using VS Code.</p><ul><li>Run commandfirebase emulators:start --inspect-functions</li><li>Make sure your launch.json in VS Code for the firebase project has the below settings. This tells the VS Code to look for a running instance of Node application on the specific port.</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/75ee72d714a9fca855ab2bec71a086a9/href">https://medium.com/media/75ee72d714a9fca855ab2bec71a086a9/href</a></iframe><ul><li>Navigate to the code that you intend to debug and insert a breakpoint in the Visual Studio Code file editor. Use the play button under the debug option and have fun.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R2W7GdeB5NHfMoP0mEEzHw.png" /><figcaption>Visual Studio Code File Editor With Breakpoint</figcaption></figure><ul><li>Check your terminal to confirm that the debugger has been successfully attached.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/884/1*cplj4BNPNFPeZj9O1Rm0kQ.png" /><figcaption><strong>Terminal view to verify the attached debugger</strong></figcaption></figure><h3>Load Data Into Firestore</h3><p>If you want to make your local emulator testing practical, you will most likely need to work with data. Check out this <a href="https://medium.com/rpdstartup/setting-up-a-fully-functional-database-in-firebase-emulator-b0199fff0252">detailed guide</a> if you need to populate data in your local Firestore instance or skip to the next steps if this is not needed.</p><h3>Flutterfire With Local Emulator</h3><p>We have created a separate configuration flavor of our Flutter app to work with the local emulator (just like we have flavors for development, staging, and production). This makes it really easy to switch between the configurations.</p><ul><li>If you are using the Firestore SDK in your Flutter app to interact with the Firestore collections and documents, add these lines around your Firebase initialize code. This will direct your device emulator running the Flutter app to connect with the local Firebase setup.</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/befe4370f6f3cf0183f3e3246486939d/href">https://medium.com/media/befe4370f6f3cf0183f3e3246486939d/href</a></iframe><ul><li>If you are using the Firebase HTTP/Callable Functions and/or have built an API around it, change your Base URL/API URL to connect to the locally deployed copy of your Firebase Functions (HTTP and Callable Functions). In our example, we changed it to:<br>baseUrl: &quot;http://localhost:5001/my-awesome-project/asia-east2&quot;</li></ul><p>That’s it. Running or debugging your Flutter project using an emulator on the same device should connect to local Firebase emulators.</p><h3>Web App With Local Emulator</h3><p>We are working with a Vue.js web app. The steps for your setup, including whether you are using Vue.js or any other framework, should be very similar but may vary slightly depending on how you connect to Firebase.</p><p>Before being initialized, we need to inform the application that it should work with the locally deployed emulators of Firebase. Below are the steps we followed for our Vue.js app:</p><ul><li>Open <em>.env.development</em> and update the values of these variables:<br>VUE_APP_API: <a href="http://localhost:5001/my-awesome-project/asia-east2">http://localhost:5001/my-awesome-project/asia-east2</a><br>VUE_APP_LOCAL: true</li><li>If you are using the Firestore SDK in your web app, you would need to direct the SDK to interact with the local Firestore emulator, similar to the Flutter app above.</li><li>Run the app with the serve script</li></ul><p>Changing the environment variables does not take effect till you restart the app. Make sure you don’t update the variable while serving the app. First, update the variable, and then run the serve script. By default, the Vue CLI runs the application on port 8080, which is the same as the one we’re using for emulating Firestore. So, if you run the Vue app before the Firestore emulator, the latter will fail. You can avoid this by running the Firebase emulators before the Vue app — this will make Vue CLI automatically choose a different port.</p><h3>Optional: Setting Up Local Auth Emulator</h3><p>Firebase <a href="https://firebase.google.com/docs/emulator-suite/connect_auth">recently announced</a> that auth emulators are also available. It is up to you if you prefer to set up auth locally or stick to your actual project data on the cloud.</p><p>Follow these steps to configure the Auth emulator:</p><ol><li>Make sure yourfirebase-admin package is greater than9.3.0</li><li>Run firebase init emulators(or add auth manually to <em>firebase.json </em>under the emulator&#39;s section and skip step 3,4)</li><li>Add the Auth emulator to the selection</li><li>Choose the default ports</li><li>Enable the UI</li><li>Download emulators</li></ol><p>Lastly, you will need to tell your client apps to talk to the Authentication emulator like the below example for a web app:</p><p>firebase.auth().useEmulator(&#39;http://localhost:9099/&#39;)</p><h3>Conclusion</h3><p>I hope you’ve found this article useful, and setting up the local Firebase emulators helps you with your productivity. Thanks for reading, and please feel free to share your feedback or suggestions to make this guide simpler!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f53bb7121442" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rpdstartup/development-with-the-firebase-emulators-suite-f53bb7121442">Development With the Firebase Emulators Suite</a> was originally published in <a href="https://medium.com/rpdstartup">Aurora Solutions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hiring Tips For A Startup]]></title>
            <link>https://medium.com/@abaziz/hiring-tips-for-a-startup-fb71e48bad63?source=rss-e7ae68b7a4fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb71e48bad63</guid>
            <category><![CDATA[recruiting]]></category>
            <category><![CDATA[startup-lessons]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Aziz]]></dc:creator>
            <pubDate>Sun, 30 Jun 2019 15:23:48 GMT</pubDate>
            <atom:updated>2020-06-12T05:12:27.336Z</atom:updated>
            <content:encoded><![CDATA[<h4>Effective Tips to help hire the right team at your next company</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JlswxM5d7zrdUyET" /><figcaption>Photo by <a href="https://unsplash.com/@d_mccullough?utm_source=medium&amp;utm_medium=referral">Daniel McCullough</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Hiring the right team from the get-go can be a key to success for your next startup. Recruiting for a startup brings its own unique challenges. I am going to share some of those challenges based on my own experience.</p><h3>Don’t.</h3><h4>Recruit From Friends &amp; Family</h4><p>The easiest options are usually not the best ones. I always make a case against hiring from friends &amp; family. It is challenging for many folks to switch from a casual to a professional setting and not keeping things professional can be damaging to your startup. Why risk ruining a perfectly fine friendship and/or your startup? <br>Even if it worked once, you can’t continue to rely on your social circle for future hiring needs. It’s better to work on your autonomous hiring skills from day one.</p><h4>Hire Full-Time Employees For Every Role</h4><p>There was a time when hiring an Accountant, HR, and a Legal Adviser early on made sense. Not anymore. Startups can defer hiring for some roles until it is <em>really </em>needed. Outsource what you can at a small scale with ease. However, this one also relates to the nature of your startup. <br><strong>e.g.</strong> It makes for someone working in a legally complicated space like Crypto to have a full-time attorney on-board from day one.</p><h4>Overpay</h4><p>It’s harder to compete for top talent with the big players in the market when you’re a startup. Often times, startups have to pay over the top to convince top talent to join them. Instead of overpaying, consider some of the following options:</p><ul><li>Offer them stakes in the company from your options pool based on a standard vesting schedule.</li><li>Offer incentives and bonuses linked to top performance.</li><li>Highlight the opportunities and perks at your startup that are not too obvious. This can be anything from flexible schedules to on-demand training and chances of rapid growth.</li></ul><h3>Do.</h3><h4>Profile Your Ideal Employees</h4><p>This is more of a philosophical point. Create a mind map of your ideal company culture leading to the values needed in your employees to help execute the vision. You may find a perfectly suitable candidate for a role who is not a good cultural fit for your organization — don’t sacrifice your company culture.</p><h4>Make A Process</h4><p>Start with a simple one-pager about your hiring steps for every new role. It should focus on the following:</p><ul><li>How to create a job description, what to include in it, and where to market it online.</li><li>Defining the target audience for each role. This should help you advertise the job online on LinkedIn and other job-related websites.</li><li>Define criteria for shortlisting resumes for interviews. Write it on paper before using any automation or software that helps you shortlist. Some times it makes sense to run each short-listed candidate through a basic quiz to save time and add an extra screening step.</li><li>Define your metrics for evaluating candidates during the interview and have each interviewer judge it based on that.</li><li>Continually improve your process.</li></ul><h4>Book Regular Time On Your Calendar</h4><p>Block out regular time for different steps. Good candidates are easy to lose, so you can’t put off shortlisting the resumes to next week. Spend a planned chunk of time each day vetting resumes and calling candidates to set up interviews.</p><h4>Include A Practical Assessment</h4><p>Some skills are very hard to judge even if you have a very thorough and elaborate interview process. Take programming, for instance, it’s best to create a practical assessment to judge the skill level of each candidate. Include information about the hands-on nature of the interview in the job listing so each candidate knows in advance about it.</p><h4>Send Offers Quickly</h4><p>Great candidates who are looking for a job don’t stay on the market for long. Don’t wait for the perfect candidates to arrive and send out the offers quickly. If a candidate has only one or two skill gaps, assess any investments needed for training, and see if you can afford it before sending out the offer.</p><h4>Learn To Interview For Alien Skills</h4><p>You will definitely possess certain skills while launching a startup. However, the goal is to hire people who can supplement your skill-set and help you deliver your product or service. Entrepreneurs often feel challenged to recruit people outside their area of expertise and often rely on someone else’s word to make the decision. An alternative approach is to prepare yourself to interview for that skill. You don’t need to be an expert to do that. Here are a few steps you can take:</p><ul><li>Define what you need from the new hire. Learn at a high level about the skill and get a crash course in that role online.</li><li>Talk to subject matter experts (SMEs) in your circle and let them know about your requirements. Sit down with them and prepare a set of questions/practicals to assess the skill-set.</li><li>Invite the SMEs on paid gigs to accompany you for the first few interviews.</li><li>Grasp the gist of it and take the plunge. You’ll be able to shortlist top candidates on your own very soon.</li></ul><blockquote><strong>Disclaimer: </strong>All the tips I’m going to share are just a reflection of my experience. Some of these may not apply to you based on your circumstances.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb71e48bad63" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Applying Sports Wisdom In Entrepreneurship]]></title>
            <link>https://medium.com/@abaziz/sports-wisdom-vs-entrepreneurship-a36c66c1a157?source=rss-e7ae68b7a4fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/a36c66c1a157</guid>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[sports]]></category>
            <dc:creator><![CDATA[Aziz]]></dc:creator>
            <pubDate>Sun, 25 Jun 2017 14:11:58 GMT</pubDate>
            <atom:updated>2020-06-12T05:24:34.229Z</atom:updated>
            <content:encoded><![CDATA[<h4>A look at the similar guiding principles across the world of sports and business</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eYq_Vs9W1JvbgCcA" /><figcaption>Photo by <a href="https://unsplash.com/@radpozniakov?utm_source=medium&amp;utm_medium=referral">Rad Pozniakov</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Many business leaders are obsessed with using sports metaphors. Whereas both <a href="https://www.forbes.com/2010/07/07/sports-football-business-leadership-managing-trouble.html#">setups are undoubtedly different</a>, I see a few similarities at the core of sports and business.</p><p>I genuinely believe that people with a nous of competitive sports have an edge when it comes to starting a successful business. And this is why I believe that a proper balance of sports should be encouraged during academic life.</p><p>Below are a few arguments for why I feel sports can be really helpful to train oneself for entrepreneurship.</p><h3>Teamwork</h3><p>You can’t make a great team without teamwork. In all the great teams in history, from the <strong>New York Yankees</strong> or the <strong>Brazil Soccer Team</strong> of the 1950s to the <strong>New Zealand All Blacks</strong> of the recent years, teamwork has been a common denominator.</p><p>Young companies that aspire to be a great need to focus on hiring great team players and instill as much team spirit in them as possible.</p><p><strong>Alex Ferguson: </strong><em>“</em><a href="http://www.dailymail.co.uk/sport/football/article-2255068/Sir-Alex-Ferguson-birthday-71-best-quotes-Manchester-United-manager.html"><em>I’m going to tell you the story</em></a><em> about the geese which fly 5,000 miles from Canada to France. They fly in V-formation but the second ones don’t fly. They’re the subs for the first ones. And then the second ones take over — so it’s teamwork.”</em></p><h3>Communication &amp; Understanding</h3><p>Effective communication is important to understand the collective goals of a team. The greatest teams communicate and collaborate to pick themselves up from the lowest of lows; be it sports or business.</p><p>It’s impossible to win a team match or deliver a successful project without the presence of a good understanding across team members. Good communication is important, but there are often times where you have to second guess your teammate and take a decision on the fly, this is where a good understanding between teammates plays a very vital role. Knowing the strengths (and weaknesses) of your teammates can be really vital in decision making.</p><h3>Balanced Teams</h3><p>The most successful business leaders have the ability to create winning teams with the right balance of superstars and <a href="https://www.sportskeeda.com/football/world-class-water-carriers-the-importance-of-holding-midfielders">water carriers</a>. Having all the stars in a sports team can be a challenging situation for a sports team manager and business is no different. You also need people who perhaps are not the most superior ones technically but are ready to get their heads down, focus on helping the team and act as catalysts for success. In my experience, teams naturally jell better when you have these kinds of people on the team.</p><p><strong>John Wooden: </strong><em>“It’s amazing how much can be accomplished if no one is concerned with </em><a href="http://www.woodencourse.com/team_camp.html"><em>who gets the credit</em></a><em>.”</em></p><h3>No Magic Formula</h3><p>Whether it is sports or entrepreneurship, there is just no magic formula and no shortcut to success. Every success in the business and sports team is unique. One can follow a certain set of rules but no predefined set of steps can guarantee you to achieve goals. You’ve got to work hard in both cases and keep at it or else you lose your hard-earned position. You have to make progress while staying within your means and earn success with hard work and dedication. Innovation can help you stand out from the crowd!</p><p><strong>Paul “Bear” Bryant: </strong><em>“</em><a href="http://quotes.lifehack.org/quote/bear-bryant/never-quit-it-is-the-easiest-cop-out/"><em>Never quit</em></a><em>. It is the easiest cop-out in the world. Set a goal and don’t quit until you attain it. When you do attain it, set another goal, and don’t quit until you reach it. Never quit.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a36c66c1a157" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Measure & Analyze MVP Performance]]></title>
            <link>https://medium.com/rpdstartup/how-to-measure-analyze-mvp-performance-77761b089bf8?source=rss-e7ae68b7a4fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/77761b089bf8</guid>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[google-analytics]]></category>
            <category><![CDATA[mvp]]></category>
            <dc:creator><![CDATA[Aziz]]></dc:creator>
            <pubDate>Tue, 26 Jul 2016 08:54:02 GMT</pubDate>
            <atom:updated>2020-06-12T05:17:08.879Z</atom:updated>
            <content:encoded><![CDATA[<h4>A high-level introduction to analyzing a web-based MVP</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WytI1cUK1f2z22t5" /><figcaption>Photo by <a href="https://unsplash.com/@firmbee?utm_source=medium&amp;utm_medium=referral">William Iven</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Startups often rely on a trimmed down version of their idea, often known as the <em>MVP,</em> to further validate the initial market survey. Being able to measure the performance of this minimal version of a product/service/app is very important after the soft launch.</p><p>The main goal of launching an MVP is to test how the market reacts and if you fail to incorporate some basic mechanisms to gauge customer behavior, it can become very tough to test the basic version of the idea.</p><p>Most startups have a limited budget in the early days and are functioning on seed funding. The ability to analyze performance and take actions based on it may be the single most important factor in your startup’s future and it may help you convince an investor to help you secure the funds to keep you afloat after the MVP.</p><p>Here are a few ideas regarding how you can start to measure your product; this is purely based on <em>opinion </em>and our experiences of building different digital products at <a href="http://www.aurorasolutions.io/">Aurora Solutions</a>.</p><h4>User Feedback</h4><p>As trivial as it sounds, many products in beta don’t let the users easily provide feedback. App reviews for apps launched on the <a href="https://itunes.apple.com/us/genre/ios/id36?mt=8">IOS Appstore</a> or <a href="https://play.google.com/store">Google Play</a> serve a different purpose, all you need is a simple mechanism for the user to provide feedback to the app creator. Here’s what can be done in a short time to collect some valuable feedback:</p><ul><li>Let the user share their experience regarding any part of the app using a free text field. Once submitted, the feedback can be sent as an email, recorded in a database, or an online spreadsheet.</li><li>You should collect information about any crashes and un-handled cases. If you have launched the app as Test Flight on IOS or as a Beta on Android to a specific set of users then you can get some of this information from your IOS or Android developer consoles. This can help you improve user experience in the upcoming versions.</li></ul><h4>Analytics &amp; Metrics</h4><p>What kind of metrics should you choose? This will depend mostly on both your short term goals and long term goals. Generally, the best way to go about it is to work your path from the big picture to the small picture.</p><p><em>Example:</em> Your primary goal is to get more users to signup on your website. Following metrics may be of importance to you:</p><ul><li>Unique visitors: Total number of unique visitors on your product.</li><li>Conversion rate: Percentage of those unique visitors that signed up.</li><li>A/B testing results: How the conversion results differed for different signup scenarios.</li></ul><p>We’ll take a look at different kinds of metrics <a href="http://www.slideshare.net/dmc500hats/startup-metrics-for-pirates-long-version/10-Types_of_Metrics_Measurement_ulliQualitative">as categorized by Dave Mclure</a>, a renowned investor.</p><ol><li>Quantitative<br>This is the most common form of metrics, it lets you track and report usage of your product at a high level e.g. average user session, bounce rate, conversion percentage.<br><a href="https://analytics.google.com/analytics/web/">Google Analytics</a> is a common tool that lets you measure quantitative metrics, break them down based on different demographics and traffic sources. It also links nicely with Google Adwords so if you’re driving traffic from paid ads on Google Adwords, you can measure how your ads are performing directly in Google Analytics console.<br>If you are using other sources of advertising channels like Facebook, Twitter, Instagram then it’s a good idea to use their Analytics tools to track customer behavior and apply better targeting. e.g. Facebook pixel integration into your website can let you track customer actions and then target your next ad campaigns accordingly.</li><li>Qualitative<br>This metric focuses on the individual actions of a user or a small group of users. You may test your product for usability by different techniques of monitoring user sessions. Video Analysis is a good way of watching how individual users interact with your product. Some of the services that let you record user sessions include <a href="https://www.usertesting.com/">User Testing</a>, <a href="http://www.inspectlet.com/">Inspectlet</a>, and <a href="https://vwo.com/">Visual Website Optimizer</a>.<br>Click-maps and Heat-maps are a good way of analyzing user actions in terms of their behavior on your product and are also offered by services like the <a href="https://vwo.com/">Visual Website Optimizer</a>.</li><li>Comparative<br>As the name suggests, comparative metrics let you compare different scenarios in your product. This can help you make up your mind on things like “which elements in the User Interface are best suited to a specific screen” or “how a specific workflow to buy your product is preferred by the site visitors over the other”.<br>Tools like <a href="https://vwo.com/">Visual Website Optimizer</a> let you run different kinds of comparative tests like the A/B Testing and Multivariate Testing.</li></ol><h4>Conclusion</h4><p>Everything you do should be linked to the long term and short term goals of your startup. It’s important to keep things lean during your MVP stage so you don’t want to fall into the trap of focusing too much on metrics and get side-tracked. It’s important to find the right balance so you can use metrics to get the right information. You can then use this information to help transform your product into its best possible version while making sure that your long term goals are met.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=77761b089bf8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rpdstartup/how-to-measure-analyze-mvp-performance-77761b089bf8">How To Measure &amp; Analyze MVP Performance</a> was originally published in <a href="https://medium.com/rpdstartup">Aurora Solutions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>