<?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 datarockets on Medium]]></title>
        <description><![CDATA[Stories by datarockets on Medium]]></description>
        <link>https://medium.com/@datarockets?source=rss-13520088e92b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*a7ged0bNBl11UWv2kIvL1Q.png</url>
            <title>Stories by datarockets on Medium</title>
            <link>https://medium.com/@datarockets?source=rss-13520088e92b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 09:52:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@datarockets/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[How we estimate tasks in Story Points]]></title>
            <link>https://datarockets.medium.com/how-we-estimate-tasks-in-story-points-4a389dc1fdbc?source=rss-13520088e92b------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a389dc1fdbc</guid>
            <category><![CDATA[estimations]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[teamwork]]></category>
            <category><![CDATA[velocity]]></category>
            <category><![CDATA[planning]]></category>
            <dc:creator><![CDATA[datarockets]]></dc:creator>
            <pubDate>Mon, 18 Dec 2023 09:14:27 GMT</pubDate>
            <atom:updated>2023-12-18T09:14:27.864Z</atom:updated>
            <content:encoded><![CDATA[<p>This article will break down the fundamentals of what story points are and provide a step-by-step guide on how to use them to estimate tasks in software development teams.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iolAQ5QR6YLZ6DFrHmrlrA.jpeg" /></figure><p>Hello! I’m Alex, full stack developer at datarockets, and I’m happy to share how we go about estimating tasks.</p><p><a href="https://datarockets.com/blog/code/estimate-story-points/">Estimating <em>story points</em></a> may be a term you’ve come across in software development, as it is a common method used by teams to estimate the effort required to complete tasks. Unfortunately, without a deeper understanding of <em>how</em> or <em>why </em>it works, this method can be misused by teams and can even lead to unintended consequences and valuable time wasted.</p><p>Here’s what we’ll cover:</p><ul><li>What are story points?</li><li>How to estimate in story points?</li><li>Why use story points?</li><li>Examples of using story points</li></ul><p>At the end, you will find additional resources that can help you deepen your understanding of story points more.</p><h3>What are the story points?</h3><p>Story points are an abstract unit of measurement to estimate the overall effort. Story points are a flexible and elegant method as they can take into account different factors based on your team’s needs such as time, complexity, amount of work, risks and uncertainties, etc.</p><p>The tasks are estimated in story points relative to each other. That’s why it’s important to have some baseline tasks that you have estimated together with your team and have discussed that estimation in detail. This will serve as a benchmark for everyone to estimate the other tasks.</p><p>Story points are usually assigned using a scale such as the Fibonacci sequence (1, 2, 3, 5, 8, 13, 21, etc.). It’s not a requirement to use this particular scale, you can use any scale that works for you. The advantage of the Fibonacci sequence is that it’s a non-linear sequence that brings the following properties:</p><ul><li>Represents well the idea that estimating a task becomes less precise as the task becomes larger.</li><li>Illustrates well the idea of relative sizing. Using a linear scale (e.g., 1, 2, 3, 4, 5) might give the false impression that each story point is the same amount more complex as the one before. The Fibonacci sequence avoids this pitfall by emphasizing that the relationship between sizes is approximate and non-linear. The ratio between values is more important than the values itself.</li></ul><h3>How to estimate in story points?</h3><h3>1. Define factors of story points</h3><p>Before using story points, you need to define what a story point represents. You need to think about which factors are the most important for your team and describe them in detail.</p><p><em>The factors can vary between teams and projects.</em></p><p>In this guide, we will be using the following factors:</p><h4>⌚ Time</h4><p>Even though Time isn’t usually listed as a factor in other guides, I believe that it’s quite an important one for tasks that are clear (usually small tasks). Instead of trying to give a precise amount of time to implement a task, it’s better to use an approximate amount which improves the accuracy of estimations and makes it easier to estimate. If it’s too hard to predict, we give our estimate based on other factors. If other factors differ a lot from the time, then it can mean that you need to revisit your estimation.</p><p><strong>Questions</strong></p><ul><li>How long does it take to complete the task approximately?</li></ul><p><strong>Options</strong></p><ul><li>0–2 hours</li><li>3–8 hours</li><li>9–16 hours</li><li>17–26 hours</li><li>27–40 hours</li><li>Unknown</li></ul><h4>🧠 Complexity</h4><p>Complexity takes into account such things as a need for special knowledge, clarity of implementation, amount of edge cases, etc.</p><p><strong>Questions</strong></p><ul><li>How hard is it to complete this task?</li><li>Do you need special knowledge to complete this task?</li><li>Is the solution clear or does it require some time to come up with a solution?</li></ul><p><strong>Options</strong></p><ul><li>Lowest</li><li>Low</li><li>Medium</li><li>High</li><li>Highest</li></ul><h4>🛠️ Amount of work</h4><p>Amount of work assesses the sheer volume of work required to complete a task. This factor is quite related to Time but answers different questions. It’s often the case when it’s hard to estimate time but it’s clear that you need to write a lot of code or you need to do some research before implementing a task.</p><p><strong>Questions</strong></p><ul><li>Does it require writing a lot of code?</li><li>How much work needs to be done?</li><li>How much do you need to research?</li></ul><p><strong>Options</strong></p><ul><li>Lowest</li><li>Low</li><li>Medium</li><li>High</li><li>Highest</li></ul><h4>💣 Risk and uncertainty</h4><p>Risk and uncertainty take into account things you can’t know until starting a task. For example, you can’t envision what issues you will stumble across during an upgrade of some library to a major version even when it has clear release notes.</p><p><strong>Questions</strong></p><ul><li>How much is known about a task?</li><li>Is the task clear?</li><li>Is there something that’s hard to predict?</li></ul><p><strong>Options</strong></p><ul><li>None</li><li>Low</li><li>Medium</li><li>High</li><li>Highest</li></ul><p>In the Examples section, we will use those factors, commenting on a decision for each of them.</p><h3>2. Determine your story point sequence</h3><p>Your team needs to have a limited set of possible story points to make the estimation process more accurate and easier. It’s not that important the actual values of story points. It can be numbers or even letters (e.g. S, M, L, see <a href="https://asana.com/resources/t-shirt-sizing">T-shirt sizing</a>). But the values should be relative to each other and easy to understand.</p><p>Some popular choices are:</p><ul><li><a href="https://www.avion.io/blog/story-points-fibonacci/#the-fibonacci-sequence">Fibonacci sequence</a> (1, 2, 3, 5, 8, 13, 21)</li><li><a href="https://asana.com/resources/t-shirt-sizing">T-shirt sizing</a> (XS, S, M, L, XL)</li></ul><p>It’s usually a good idea to have a small set of story points (~5 options) because as an estimate becomes bigger it becomes less accurate. When your estimate is big for a task, it’s a good sign that you need to break the task down into smaller tasks and estimate them separately.</p><p>In this guide, we will be using the Fibonacci sequence (1, 2, 3, 5, 8).</p><h3>3. Create a story point matrix</h3><p>A story point matrix helps your team to estimate tasks by accumulating all the factors. It makes estimations more consistent, helps the team to be on the same page when it comes to estimations and to argue the estimation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jmDh1NvtvbMbEg2AQo0mCA.png" /></figure><h3>4. Explain the concept to the team</h3><p>Once you set the definition of a story point, determined a sequence, and created a story point matrix, now it’s time to explain it to the team and show how to use it. It’s important that each team member understands the concept.</p><h3>5. Prepare baseline tasks for future estimates</h3><p>You need to select some tasks that will act as a reference/baseline for future estimates and estimate them in detail together with a team using the matrix. It will simplify the estimation process a lot in the future and will make story points and the matrix much clearer.</p><p>The more you use story points, the more accurate estimates become so feel free to change baseline tasks from time to time.</p><p>Ideally, you need to have at least one baseline task for each story point value you have.</p><h3>6. Set up a poker planning session</h3><p>Poker planning helps to organize the estimation process. The idea of poker planning is that each participant estimates a task in story points privately and the result isn’t shown until the voting is over. If the story points are the same, move on to the next task. If the story points differ much, it’s time to discuss it together and clarify why participants chose a certain amount of story points.</p><p>There are a lot of tools for this. In our team, we use Slack for communication and it has a good extension <a href="https://deniz.co/slack-poker-planner/">“Poker Planner for Slack”</a>. It has all the configurations we need, it’s easy to use, and makes it possible to make the session asynchronous.</p><h3>7. Execute your sprint and measure its velocity</h3><p>The beautiful side of estimation is that it allows us to measure a team’s velocity. The velocity is the measure of a team’s capacity to complete work during a sprint. Story points improve accuracy by having a limited amount of values and taking into account multiple factors. Knowing the team’s velocity helps to see potential issues, discuss them with the team, and set realistic goals for the next sprints.</p><p>To calculate the velocity, you just need to calculate the total amount of completed story points when a sprint ends. This number is the velocity of your team for the sprint.</p><p>After completing several sprints, it’s a good idea to measure an average velocity which will help you to understand how many story points you can plan for the next sprints.</p><h3>Why use story points?</h3><p>Now, that we know what story points are and how to use them, we can summarize the benefits of story points. Understanding these benefits will shed light on why teams often choose story points over other methods for estimation and planning.</p><ol><li><strong>More Accurate Estimations</strong>. Story points help us to estimate tasks more accurately compared to other simple measurements such as time because it takes into account multiple measurements, which often impact the estimations, such as complexity, amount of work, risks and uncertainties. Besides accuracy, it makes it easier to estimate because all the factors are approximate values and a team doesn’t need to give precise estimations for each factor.</li><li><strong>Reduced Pressure on Teams</strong>. Since story points aren’t tied to time only and it’s an abstract unit, it reduces pressure on teams which leads to more productive work.</li><li><strong>Improved Team Collaboration</strong>. Story points define an exact process for estimating tasks. It involves the whole team into the estimation process and gives a common language for estimating which improves communication. Techniques such as “Poker planning” make the estimation process more efficient and productive.</li><li><strong>Statistics</strong>. Story points help the team to analyze their performance by calculating different metrics such as velocity. Having statistics helps us to spot performance issues in advance, discuss it with a team, and plan the next sprints more accurately based on the statistics.</li></ol><h3>Examples</h3><p>To better understand story points, let’s estimate some tasks together using the matrix from this guide.</p><h3>Task #1. Use pluralization rules for text</h3><p><strong>Description</strong></p><p>We need to update all instances in the UI where we use a noun with a dynamic number to use a function that automatically applies the appropriate pluralization rule. For example, “1 word”, “2 words”, etc.</p><p><strong>Additional context</strong></p><p>We’re going to use a library which we’ve used on other projects before. The codebase is of medium size and it’s not hard to search in it.</p><p><strong>Estimation</strong></p><ul><li><strong>Time </strong>— 0–2 hours. Knowing the existing code base isn’t very big, we’re pretty sure that this task won’t take more than 2 hours.</li><li><strong>Complexity </strong>— Lowest. There is nothing complex to implement. We don’t need to implement pluralization from scratch since we’re going to use a library for that.</li><li><strong>Amount of work</strong> — Low. It requires us to go through the codebase and find places where we need to update text.</li><li><strong>Risk and uncertainty</strong> — Low. Since we don’t know the exact places where we need to update text, there is a small risk of underestimating and having more places than we initially expected.</li><li><strong>Points — 1</strong></li></ul><h3>Task #2. Add virtualization to feed</h3><p><strong>Description</strong></p><p>We have a feed of users’ posts with infinite scroll. We need to implement virtualization in the list to improve its performance when the list becomes large.</p><p><strong>Additional context</strong></p><p>We’re going to use some library for virtualization but we don’t know which one yet. The list has items with dynamic height. The code for the feed is readable and written quite well.</p><p><strong>Estimation</strong></p><ul><li><strong>Time</strong> — 3–8 hours. We don’t need to implement the virtualization logic from scratch since we’re going to use some library for that. We previously had experience of applying virtualization in previous projects, so we know the general idea and know approximately how much time it can take.</li><li><strong>Complexity</strong> — Medium. Virtualization is not a straightforward concept. To successfully apply it, we need to understand how it works. We have a dynamic height for a list item and an infinite scroll, which complicates the usage of virtualization.</li><li><strong>Amount of work</strong> — Low. Since we had experience previously using some libraries for virtualization, we know that, in most cases, it doesn’t require a lot of changes in the codebase. The code for the feed is written well, and it’s easy to change and understand.</li><li><strong>Risk and uncertainty</strong> — Medium. We don’t know exactly what library we’re going to use. There are some risks of something not working as before because it changes drastically the way the feed is rendered.</li><li><strong>Points — 2</strong>. Here we have an uncertain situation because the factors we chose don’t map to the matrix fully. From the matrix, it should be either 2 or 3. We ended up choosing 2 because everyone was sure that it wouldn’t take more than 8 hours, and it was a decisive factor.</li></ul><h3>Task #3. Implement login page</h3><p><strong>Description</strong></p><p>In the scope of this task, we need to add a new page `/sign-in` which contains a simple form with `email` and `password` fields and a submit button. We need to handle errors from API. We also need to establish architecture for protected/unprotected routes and make the login page available only for unauthenticated users.</p><p><strong>Additional context</strong></p><p>We’re going to use some library for managing forms. We have all the basic components like input, button, etc., in UI kit we use.</p><p><strong>Estimation</strong></p><ul><li><strong>Time </strong>— 9–16 hours. Based on previous experience and taking into account that we’re going to use a lot of existing solutions, we think that it won’t take more than 16 hours.</li><li><strong>Complexity </strong>— Low. It contains pretty common functionality. UI doesn’t have anything complex and most of the components are already ready. All the complex form management/validation will handle some library.</li><li><strong>Amount of work </strong>— Medium. We need to do several things, like choosing a library for form management, communicating with API, handling errors from API, implementing an architecture for protected/unprotected routes.</li><li><strong>Risk and uncertainty</strong> — Low. It’s clear how it should work. We know how to communicate with API. We have experience working with forms, so even though we don’t know which library we’re going to use, we don’t expect a lot of risks from it.</li><li><strong>Points — 3</strong></li></ul><h3>Task #4. Implement chart on dashboard</h3><p><strong>Description</strong></p><p>We need to implement a chart on a dashboard which shows some statistics. It’s a bar chart with a tooltip. The design for the chart is custom.</p><p><strong>Additional context</strong></p><p>We’re going to use some library for building charts but we don’t know which one yet. Let’s say, we don’t have any experience building charts. It should look the same as the design, so we need a library where we can customize the appearance of charts as we need. We need to think about the loading state, empty state. We need to communicate with API.</p><p><strong>Estimation</strong></p><ul><li><strong>Time </strong>— Unknown. It’s hard to estimate how much time it needs since we don’t have prior experience in implementing charts.</li><li><strong>Complexity </strong>— High. Data visualization isn’t an easy concept and requires special knowledge to successfully build custom charts.</li><li><strong>Amount of work </strong>— High. We need to find a library which covers all our requirements. We need to learn the found library and learn data visualization in general.</li><li><strong>Risk and uncertainty </strong>— High. Since we never did it before, there are a lot of uncertainties and risks. We don’t know which library we’re going to use, we don’t know how hard it’s to use that library and which issues it has, we don’t know how hard it’s to learn data visualization.</li><li><strong>Points — 8</strong>. Even though it might not take much time in the end, we still chose 8 because there are a lot of uncertainties.</li></ul><h3>Additional resources</h3><p>If you want to understand better story points, then I highly recommend reading these articles:</p><ul><li><a href="https://www.parabol.co/blog/story-points/">Story Points: The Complete Guide &amp; FAQ</a></li><li><a href="https://asana.com/resources/story-points">What are story points? Six easy steps to estimate work in Agile</a></li><li><a href="https://www.avion.io/blog/story-points-fibonacci/#the-fibonacci-sequence">Fibonacci for User Stories — How &amp; Why to Use Relative Story Points</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a389dc1fdbc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Magic of App Size Reduction]]></title>
            <link>https://datarockets.medium.com/the-magic-of-app-size-reduction-bc4c1f9bad0a?source=rss-13520088e92b------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc4c1f9bad0a</guid>
            <category><![CDATA[tips]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[seo]]></category>
            <dc:creator><![CDATA[datarockets]]></dc:creator>
            <pubDate>Fri, 08 Dec 2023 12:23:56 GMT</pubDate>
            <atom:updated>2023-12-08T12:23:56.898Z</atom:updated>
            <content:encoded><![CDATA[<h4>This article discusses the crucial role of app size in SEO and user acquisition, highlighting our successful efforts in reducing client app sizes by 2–3 times</h4><p>Hello! I’m Tanzilya, Mobile Development Lead at datarockets with over a decade in iOS development. I’m excited to reveal to you the <a href="https://datarockets.com/blog/business/app-size-reduction/">tips of app size reduction</a>. Let’s go!</p><p>While focusing on app features &amp; monetization, product owners often forget that the app size plays an important role in SEO, promotion and user acquisition. Below we described reasons why app size matters, simple development approaches to reduce the size quickly, and two impressive case studies showcasing how our mobile team successfully reduced the size of client applications by 2–3 times.</p><h3>Does Size Really Matter?</h3><p>First of all, the app’s size is regulated by App Store and Google Play.</p><p>As per Apple<a href="https://developer.apple.com/help/app-store-connect/manage-builds/view-builds-and-metadata"> regulations</a>, it became essential to optimize the size of the application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IwmGbcFTFazjZ_yrhr1eIA.png" /></figure><p>This means <strong>the number of app installations can be higher if the users can download the app without a notification about the file size</strong>, extra data usage charges, and recommendation to use Wi-Fi.</p><p>Almost the same<a href="https://support.google.com/googleplay/android-developer/answer/9859152?visit_id=638213032337844027-3500642597&amp;rd=1#apk&amp;zippy=%2Cmaximum-size-limit"> requirement</a> exists for Android developers:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5OrOr8wQ6Nm6es0slJNZPA.png" /></figure><p>What about business benefits?</p><h3>Better User Acquisition &amp; User Experience</h3><p>App size plays a significant role in user acquisition and user experience. Mobile devices have limited storage space, and if an app takes up too much space, users may not want to download or keep it on their device. And if a large-sized app requires an update, the update itself will also be significant in size. Consequently, the user will need to consume network data once again to download it.</p><h3>Higher Rank in App Stores</h3><p>Smaller apps generally have a better chance of being ranked higher in app stores like Google Play and Apple AppStore. Most app stores prioritize fast downloads and efficient use of storage space — and smaller-sized apps tend to hit both these goals. In addition, smaller apps may be perceived as more lightweight and user-friendly, which can create a better user experience. This may yield more positive user reviews and ratings, which is important for app store ranking algorithms.</p><h3>Simple manipulations to reduce the app size</h3><p>Knowing that smaller app size results in better user acquisition rates and higher ranking in app stores, you may want to know how to actually reduce the app size. Here are a few ways how we as developers do that:</p><h3>Delete unused code</h3><p>If the application consists of a large number of copypasted/duplicated code, the developer can reduce the written code twice, or three times by optimizing the app and using scalable architecture.</p><h3>Delete unnecessary resources and dependencies</h3><p>And make sure to run regular maintenance checks on your codebase. This will help you identify and remove any files that are no longer needed and potentially save space. Additionally, there are many available tools designed to analyze code and remove unused portions. For instance, there are Lint tools for Android and iOS that can detect unused code, resources, and various performance issues. Moreover, Firebase provides a performance monitoring tool that makes it easier and more efficient to identify sluggish methods, unused resources, and other bottlenecks that may hinder optimal functioning.</p><h3>Optimize images</h3><p>In terms of iOS app development, for the newest device, it is advisable to use only images for devices with higher resolution screens (@2x.png to @3x.png). Also for rendering images with high resolution, iOS spend a lot of memory and the app size increases. For a recent project, we used the <a href="https://imageoptim.com/mac">ImageOptim app</a>. This app reduces image size without giving up its quality.</p><h3>Use App Thinning for iOS</h3><p>There are different techniques to reduce app size for iOS applications called <em>App Thinning</em>:</p><ol><li>Slicing: iOS creates a variant of your app that only includes the code and resources that are needed for a particular device.</li><li>Bitcode: You can enable Bitcode in your project to allow iOS optimize your app’s binary code.<br>By enabling Bitcode, it was possible to reduce the size of the application by 6 percent</li><li>On-Demand Resources: You can divide your app’s resources into downloadable packages that are downloaded only when they are needed.</li></ol><h3>Use advantages of a specific language</h3><p>For instance: using structures is preferable to classes, making them a great choice for small data structures. Enums and optionals can help significantly reduce the app size and loading.</p><p>***</p><p>The techniques above will decrease the size of the app quite a bit and decrease the download time. They also keep your app under the OTA(Over The Air) size limit.</p><h3>Let’s dive into real examples</h3><p>It’s a common practice for our mobile development team to work with the app size while further developing and supporting the existing mobile apps.</p><p>When we<a href="https://datarockets.com/case-studies/g-plans-shift-case-study/"> took over the development of G-Plans</a>, we were worried about the Android version of the app being too large. With a download size of over 100Mb, this had a significant impact on the download time and installation process.</p><p>To tackle this problem, our solution involved uploading the builds to Google Play in AAB format instead of APK. This decision helpedus offload a portion of the build process to Google and leverage their ability to implement specific optimizations on their end. Moreover, we initiated the process of optimizing the images we were using in the app and removing unused code and resources more strictly. This approach aimed to minimize their influence on the overall size of the app bundle.</p><p>Consequently, <strong>the app’s download size reduced from 100+ Mb to 30–40 Mb</strong> depending on the device’s architecture and screen size.</p><p>Another case was completely different. One of our clients was struggling with SEO issues and problems with the web and mobile apps that couldn’t be addressed in the existing code due to several reasons. The client and our dev team decided to re-develop the apps from scratch. Although the re-development was triggered by many issues not related to the mobile app size, the fresh mobile applications were a pleasant bonus.</p><p>We started development with scalable architecture, decreasing about 70% of code base. Using Bitcode technology, removing half of third party SDKs, and optimizing images with ImageOptim app, we significantly reduced the application size.</p><p><strong>As a result, comparing with the old mobile application, the new app has decreased in size by 2 times from 149 mb to 71 mb.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*joHUcpFelFQBefF0rqYB2A.png" /></figure><p>In conclusion, we clearly see that reducing the size of mobile apps is crucial for developers, users and business owners. Smaller apps not only reduce the amount of storage used on a device, but they also provide a better user experience by improving app performance, download speed, and reliability.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc4c1f9bad0a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Benefits of VCR tests for Payment Integrations]]></title>
            <link>https://datarockets.medium.com/benefits-of-vcr-tests-for-payment-integrations-c0417409d74a?source=rss-13520088e92b------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0417409d74a</guid>
            <category><![CDATA[fintech]]></category>
            <category><![CDATA[vcr]]></category>
            <category><![CDATA[payment-integration]]></category>
            <category><![CDATA[sdk]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[datarockets]]></dc:creator>
            <pubDate>Thu, 30 Nov 2023 10:00:57 GMT</pubDate>
            <atom:updated>2023-11-30T10:00:57.903Z</atom:updated>
            <content:encoded><![CDATA[<h4>The article recounts our team’s journey in implementing VCR tests within a FinTech application, streamlining SDK and API testing to ease updates and maintenance</h4><p>Hello! We are Anastasia and Nikita, software developers at datarockets and authors of this blog post. Join us as we share our use case of <a href="https://datarockets.com/blog/code/benefits-of-vcr-tests-for-payment-integrations/">VCR tests</a> for Payment Integrations and how it simplified their upgrade.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*cYCVgmGS_OzaLqhmPWDdFQ.jpeg" /></figure><p>Third-party API integrations are an essential part of almost every application. While they are constantly being updated, we want to be able to keep up with them without the need to manually check everything after updates. Below, we described how we introduced VCR tests on one of our projects to solve this problem.</p><h3>Fintech app with numerous payment integrations</h3><p>One of our current projects is a <a href="https://datarockets.com/case-studies/legal-fintech-software/">large fintech app</a>. No wonder it has a lot of payment integrations. These integrations are usually SDKs (Stripe) or simple APIs (AeroPay). The problem was that these SDKs and APIs were constantly being updated, often leading to breaking changes. Payments and money transfers are the most important part of such kind of application. Therefore, we wanted to automate the testing of those integrations somehow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tn2xqjrC-AANpZNYrC32Uw.png" /></figure><h3>Existing testing options</h3><p>Testing options that already existed on the project were not suitable for this task.<br>Regular unit tests would not help at all. SDKs and APIs are always mocked in unit tests for well-known reasons — otherwise, the CI would sometimes randomly fail, the tests would not work without an internet connection, etc. If the responses are mocked, you cannot check whether the integration works or not.<br>Another option is E2E (End-to-End) tests written by the QA team, but they take a long time to write, developers are not contributing to writing them, and are not able to run them locally. Therefore, E2E tests could help catch something just before a release, but identifying a problem at this stage of the game would be too late.</p><h3>VCR</h3><p>That’s when the idea to bring VCR tests to the project came up. We did the <a href="https://ancaonuta.medium.com/how-spikes-help-to-improve-your-agile-product-delivery-a0f104305911">SPIKE</a> and POС, and it was decided to start integrating them.</p><p><a href="https://www.rubydoc.info/gems/vcr/VCR">The essence of VCR</a> is that we allow the test to make a real request using the SDK or API and get a real response. VCR records this real third-party response in a YAML file called “cassette”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rJQEz_GWdElVW95SJKhl8w.png" /></figure><p>Next time this test is run, it will no longer make a real request but mock it using this cassette. From that time the test works like regular unit (or request) tests, but with a real third-party response, not the one we usually mock manually.</p><p>When you need to check the real SDK or API again, you just delete all these cassettes and let the tests make real requests again. VCR will write new cassettes, and then the tests will be mocked again using them.</p><p>The setup using <a href="https://github.com/vcr/vcr">VCR gem</a> is as simple as this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mjsrA8v-KGf82FCi5hLbjw.png" /></figure><h3>It didn’t take long to see the benefits</h3><p>At that time, we had a 5-point ticket to update Stripe to the latest version and check everything manually. Normally, a task like that could take up to a week or longer, but after we integrated VCR and wrote VCR tests for all flows, the Stripe version was updated in half a day (!), and all the tests were checked by the CI. In other words, what was once a 5-point task could now be completed in a half-day task.</p><p>Now we’re able to update all third-party SDKs and APIs with every new version because their functionality testing is automated.</p><p>It took some time to set everything up and update existing tests, but now it is as simple to write a VCR as to write a regular test, and the benefits of VCR tests are significantly greater.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0417409d74a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Training a neural network for fun and profit]]></title>
            <link>https://datarockets.medium.com/training-a-neural-network-for-fun-and-profit-bfce4575905a?source=rss-13520088e92b------2</link>
            <guid isPermaLink="false">https://medium.com/p/bfce4575905a</guid>
            <category><![CDATA[neural-networks]]></category>
            <dc:creator><![CDATA[datarockets]]></dc:creator>
            <pubDate>Thu, 23 Nov 2023 18:28:15 GMT</pubDate>
            <atom:updated>2023-11-23T18:28:15.093Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello! This is Anastasia, excited to tell you about the adorable project I’ve recently participated in.</p><p>At datarockets, we have a small tradition of greeting teammates with a Happy Friday post in the slack channel with a picture of a cute red panda — our company brand animal.</p><p>During a 1-month gap between projects, we wanted to try something we have never done before with the potential of applying this knowledge to clients’ projects in the future. Our choice fell on <a href="https://datarockets.com/blog/code/training-neural-network-progressive-growing-gan/">neural networks</a>.</p><p>Putting these two together, we came up with the idea of our fun educational project — <strong>build and train a neural network to generate unique images of red pandas, and let our custom slack bot Mona (who is an e-cat :)) post a generated panda every Friday with positive wishes to the team.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/456/1*B5TgTfpbLJaGw8Wy-fVjgg.png" /></figure><h3>Approach</h3><p>We started with researching the technical aspects of neural networking, specifically different network architecture types and technologies we could use. This resulted in the following set of technologies: <strong>Python</strong> as a language and <strong>TensorFlow</strong> as a machine learning framework. A <strong>generative adversarial network (GAN) </strong>based on convolutional layers was chosen as a network architecture type.</p><h3>A whirlwind tour of neural networks</h3><p>Basically, GAN consists of two neural networks competing with each other — a <em>generator</em> and a <em>discriminator</em>. The <em>generator</em> generates images that are mixed into the training dataset and passed to the <em>discriminator</em>. <em>Discriminator</em> decides whether the images are real or fake, i.e., whether they are from a training dataset or were generated. During that process, the <em>generator</em>corrects its weights based on whether it successfully fooled a <em>discriminator</em> into deciding that generated image was real. And <em>discriminator</em>, in turn, corrects its weights based on whether it correctly distinguished the real image from the generated one. So both networks learn by competing with each other.</p><h3>Collecting the datasets of red pandas and cats</h3><p>The path in the technological aspect was cleared out, but to move forward with generating red panda images, we needed a dataset of red panda images to train the network on. We searched on ready datasets of red pandas but did not find a suitable one. However, we did find a data science platform with massive resources of machine learning datasets — <a href="http://kaggle.com/">Kaggle</a>, which also provides cloud computing power to train the models faster. So at that point, we defined two parallel tasks:</p><ul><li>slowly but surely collect our dataset of red panda images,</li><li>build and adjust a network using another similar dataset — a dataset of &gt;5000 cat face images we found on Kaggle.</li></ul><h3>First low-resolution images and limitations of GANs</h3><p>Soon we built our first network attempt, then came a long process of figuring out which parameters and practices lead to the best results. And the best we could squeeze out of that configuration was realistic but low-resolution cat faces (64x64px).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kzFC6GIq0nTbhYgUC1Y_Ug.png" /></figure><p>The problem is that GANs are usually limited to small images because higher resolution makes it easier for discriminators to tell the generated images apart from training images, but a stable training process requires the discriminator and generator to find balance.</p><p>We clearly needed some solution that would allow us to generate images of higher quality, so we started thinking about alternative network architectures.</p><h3>Considering SRGAN</h3><p>First, we considered involving one more network in the flow — SRGAN. SRGAN is an abbreviation for Generative Adversarial Network for image Super-Resolution. The name pretty much tells you its purpose — it translates lower-resolution images to higher-resolution images. The idea was that our model, at that point, would generate 64×64 resolution images, and then SRGAN would upscale them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/694/1*PeGRMfnYjthkpjrD8HFJjw.png" /></figure><h3>Applying Progressive Growing GAN</h3><p>But a more appealing approach was Progressive Growing GAN — an extension to the GAN training process that involves incrementally increasing the number of layers of the network and, accordingly, the size of input/output images during training. Starting from, for example, 4×4 images and one block of convolutional layers on both discriminator and generator, ending with 256×256 images and seven blocks of convolutional layers. This allows the models first to learn the large-scale structure of the image and then shift attention to increasingly finer scale detail instead of having to learn all scales simultaneously. In the picture, you can see samples of images generated on each stage of training — 8×8, 16×16, 32×32, 64×64, 128×128, and 256×256.</p><p>The important thing here was to find the optimal training schedule — from what resolution to start and accordingly a number of stages and training steps for each stage, so none of them get overtrained. Our approach to measuring network performance needed to be improved to do this faster and more precisely.</p><h3>Results</h3><p>Our model still has much more potential to realize as we didn’t have much time to adjust it. However, the intermediate results are great, and we are happy to present them. Here are a couple of “good boys”:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xCz_O6T4gtrQOesgi2iD6Q.png" /></figure><p>And here are a couple of “bad boys”:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4_Y7LMTgjfi8ZZyja-QLDA.png" /></figure><p>As for the second task — collecting the dataset, by the time we had to switch to a new commercial project, we had &gt;500 pictures of red pandas. This number is still too small to train the network.</p><p>As said, there is a lot to improve in our project. Maybe one day, some datarockers will pick this project up and continue it. And after expanding our tiny red panda dataset and adjusting the training process on it, we will bring the red panda generator to life.</p><h3>Useful links</h3><p>Here you will find the most useful links and articles about GANs and neural networks we explored while implementing this project:</p><ol><li><a href="https://github.com/soumith/ganhacks">How to Train a GAN? Tips and tricks to make GANs work</a> (highly recommended)</li><li><a href="https://machinelearningmastery.com/practical-guide-to-gan-failure-modes/">How to Identify and Diagnose GAN Failure Modes</a> (highly recommended)</li><li><a href="https://towardsdatascience.com/convolutional-layers-vs-fully-connected-layers-364f05ab460b">Convolutional Layers vs Fully Connected Layers</a></li><li><a href="https://machinelearningmastery.com/introduction-to-regularization-to-reduce-overfitting-and-improve-generalization-error/">How to Avoid Overfitting in Deep Learning Neural Networks</a></li><li><a href="https://machinelearningmastery.com/introduction-to-progressive-growing-generative-adversarial-networks/">A Gentle Introduction to the Progressive Growing GAN</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bfce4575905a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Facilitating a $30 Million Transaction in 48 Hours and other contributions on a Fintech project]]></title>
            <link>https://datarockets.medium.com/facilitating-a-30-million-transaction-in-48-hours-and-other-contributions-on-a-fintech-project-f7c0c272025e?source=rss-13520088e92b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7c0c272025e</guid>
            <category><![CDATA[case-study]]></category>
            <category><![CDATA[fintech]]></category>
            <category><![CDATA[saas]]></category>
            <dc:creator><![CDATA[datarockets]]></dc:creator>
            <pubDate>Wed, 22 Nov 2023 16:47:35 GMT</pubDate>
            <atom:updated>2023-11-22T16:47:35.695Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>Case Study: upholding technical excellence in a legal fintech SaaS and seeing them become a 3rd fastest-growing company in Canada</strong></h4><p>Welcome! I’m Anastasia, a software engineer who’s had the privilege of working alongside my datarockets teammates on the <a href="https://datarockets.com/case-studies/legal-fintech-software/">Legal FinTech project</a> for more than 2 years. This article is a collaborative look back at the key contributions we’ve delivered to the DealMaker over the past three years.</p><p>Let’s dive in!</p><p><a href="https://dealmaker.tech/">DealMaker</a> has been on an aggressive growth trajectory.</p><p>Recently ranked as one of the <a href="https://www.theglobeandmail.com/business/rob-magazine/top-growing-companies/article-canadas-top-growing-companies-2023/">fastest-growing companies in Canada by three-year revenue growth</a>, DealMaker is disrupting the way capital is raised, making the once complex activity of selling shares as easy as selling shoes. They’re a cloud-based platform built to help Founders digitall raise capital and turn their customers into shareholders. In just the first three years, they’ve powered over 400 companies with their digital capital raises, from seed to IPO, already surpassing over $1 billion in capital raised.</p><p>Back in 2020, the CTO of DealMaker reached out to datarockets to assist their team in developing their Ruby on Rails application. The datarockets team would help own, lead and tackle the following challenges:</p><ul><li>Resolving slow pages loading + significantly improve app performance.</li><li>Setting up development practices and code quality standards fit for a fast-growing startup environment.</li><li>Developing new integrations + implementing a host of new features.</li><li>Tackling technical debt, making infrastructure changes &amp; necessary upgrades.</li></ul><p>One of the fun and unique challenges to this project was the nature of the industry itself, which included a diverse range of entities such as investors, brokers, brokerages/brokerage syndicates, enterprises/companies (issuers), shareholders, lawyers, co-signers, various document types, etc. Navigating this, our team was challenged with delivering large pieces of new functionality, and in tandem, help monitor and manage their drastic product growth.</p><p>One of the capital-raising transactions that we witnessed, saw <strong>over $30 million raised in under 48 hours</strong>– demonstrating the type of landmark transactions that DealMaker helps facilitate. That was a fun one as our developers got to monitor in real time and help ensure seamless experiences given abnormally high load activity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HnjjSha0lsLNPvM6qlew6Q.png" /></figure><h3>Approach &amp; Highlights</h3><p>DealMaker has an in-house development team, which is split into pods — smaller sub-divisions that work on the specific area of the application. Developers from datarockets would assist with various pods, affecting different parts of the application. To keep communication tight, the teams used Slack and Google Meet to interact and Jira as a Product Management tool.</p><p>Datarockets improved the performance of the app and completed various infrastructure changes. We helped migrate the frontend from jQuery to Svelte. Brought some better design decisions and restructured long-loading pages into a more efficient layout.</p><h3>Red October deal: The Race to onboard a high-profile client</h3><p>In 2021, Dealmaker secured a large-scale client who would be joining the platform within 2–3 months time (October). Given the October deadline and the fact that this news was shrouded in high confidentiality, this project was given the codename “Red October”.</p><p>It was estimated that this client, and their capital raise, would draw in ~300,000 investors. We knew that given the current form of the application, it simply wouldn’t be able to handle such an influx. Strategy never moves in a linear path, and so with this new objective, datarockets shifted our focus to support the Dealmaker team in ensuring that they’d be well-prepared for this deal:</p><ul><li>developed new functionality &amp; teamed up on critical optimizations needed to scale the platform</li><li>closely identified, analyzed and improved areas that were slow and inefficient</li><li>created scripts for load testing, which would emulate the activity of thousands of users, and resolve performance bottlenecks identified in that process</li></ul><p>“Red October” is an example of the scaling challenges always accompanying rapid growth. During this period, our teams carried out tight-knit collaboration and kept the performance &amp; output high.</p><p>The capital raise was another landmark transaction and as expected (after a lot of hard work) the platform handled the high-loads elegantly, ultimately helping make this the sixth historic offering in the organization’s history. You can read more about it <a href="https://www.dealmaker.tech/content/dealmakers-technology-powers-over-1-billion-in-online-capital-raises">here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wFJG10f6suZsjEDpPe2CHg.png" /></figure><h3>Delivered DealMaker API and embeddable flow</h3><p>Our team helped DealMaker to implement functionality that allows their clients (deals and enterprises) to integrate with them: Dealmaker API and the embeddable flow.</p><p>This flow allows Dealmaker to embed their investor flow directly onto the client’s (issuer’s) site in an iframe, helping increase trust and creating ease in accepting investors right on the business’ website.</p><p>The API itself is much more flexible. It maintains public documentation powered by ReDoc, and has the functionality to subscribe for webhooks. Our dev team used Ruby Grape, OAuth2, and DoorKeeper for Dealmaker’s API.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2fC9ewN-Hlwpckl5MeOVtQ.png" /></figure><h3>Integrated with a variety of Payment methods</h3><p>Since DealMaker is a capital-raising platform, our team had to work on integrations with various payment services. These included integrations with services such as WorldPay, Aeropay, FundAmerica, and Stripe. Currently, most payments go through Stripe, including ACH and ACSS payments with microdeposits, card, and mobile wallet payment methods, which allows investors to pay in seconds using Google Pay and Apple Pay.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5qcRigJ3sCFiO9RXmMoPJA.png" /></figure><h3>Introducing Efficiency and Safety of Payments through VCR tests</h3><p>As stated earlier, the Payments part of the app included a lot of integrations. These integrations are usually either SDKs (Stripe) or simple APIs (Aeropay). One problem encountered was that these SDKs and APIs were constantly being updated, which led to breaking changes from time to time. Payments and money transfers are the most important parts of a Fintech application, therefore, it was important that we <strong>automate the testing of payment integrations</strong>.</p><p>Regular unit tests just aren’t as helpful in these situations. E2E (End-to-End) tests written by the QA team could help catch something just before a release, but identifying a problem at this stage of the game would be too late. DealMaker had suggested using <a href="https://datarockets.com/blog/code/benefits-of-vcr-tests-for-payment-integrations/">VCR tests</a>. We did the SPIKE and POС, and after discussions, it was decided that we would integrate it.</p><p>It didn’t take long to see the benefits. At that time, we had a 5-point ticket to update Stripe to the latest version, but after we integrated VCR, the Stripe version was updated in half a day (!), and all the tests were checked by the CI.</p><p><strong>Now it is as simple to write a VCR as to write a regular test, and the benefits of VCR tests are significantly greater.</strong></p><h3>Delivered numerous fixes and new features</h3><p>Throughout our time, we helped the DealMaker’s team deliver loads of new functionality. An example of such features include:</p><h4>White-labeling</h4><p>White-labeling allows clients to represent their own brands on DealMaker. Deal pages are served under a specified subdomain, brand colors, logos etc are put into various aspects of their deals, on emails, and specific pages.</p><h4>Self-onboarding</h4><p>Self-onboarding automated the process of deal generation, making managers’ lives easier. We implemented this completely new feature to experiment with one type of user and collect feedback, it was positive and the self-onboarding was applied to the rest of the clients.</p><h4>Refunds</h4><p>Refunds have proven to be highly beneficial as they have significantly expedited the time of processing a single refund from approximately 5 minutes to a mere couple of seconds. This improvement has greatly alleviated the workload for DealMaker managers, who often needed to process hundreds of refunds manually.</p><h4>Investor and issuer insights dashboard</h4><p>The feature provides investors and issuers with their funds’ data in accessible graphs. Quick calculations of graphs and numbers are achieved with Snowflake Data Warehouse and ELT integration.</p><p>Our longstanding collaboration with DealMaker has been carried out with well-established processes, which allowed both sides to work conveniently in a consistent rhythm. Throughout this time, we have been receiving positive feedback from DealMaker highlighting our high technical level.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HDpniMw7lXyebOebWQY3Ew.png" /></figure><h3>Results</h3><p>Datarockets had the pleasure of partnering with DealMaker for over 3 years. At different stages of cooperation, the datarockets’ dev team consisted of three to five Ruby on Rails developers of different seniority levels.</p><p>Our team played a significant role in optimizing the application, improving the infrastructure, integrating new payment methods, and participated in designing and implementing new functionality such as white-labeling, self-onboarding, refunds, investor/issuer insights, etc. Our team had a hand in bringing VCR tests to the project and building DealMaker API.</p><p>Along with this, datarockets helped improve development processes, added tests and linter coverage, and shared our expertise with new developers through code review and pair-programming practices.</p><p>Datarockets helped the client keep technical standards high during the intensive team growth, and we’re proud to have helped play a part in the journey of DealMaker as they continue to experience success, recently ranked as <a href="https://www.dealmaker.tech/content/dealmaker-announced-as-the-3rd-fastest-growing-company-in-canada">the 3rd fastest-growing company in Canada</a>.</p><p>One of the most detailed reviews about our work on DealMaker can be found on <a href="https://clutch.co/profile/datarockets#review-1579773">Clutch</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7uqedzlzK81ssUJnNyd2ag.png" /></figure><h3>Tech stack</h3><p>Ruby on Rails, MySql, RSpec, ActiveAdmin, Sidekiq, S3, AWS, K8s, Vite, Svelte, JQuery, ES6, Haml, SASS, Bootstrap, Stripe SDK, FundAmerica SDK, Xero SDK, HelloSign SDK, Grape, SendGrid, Twilio, PaperTrail, VCR, Omniauth</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7c0c272025e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Feedback and Tips for Junior developers]]></title>
            <link>https://datarockets.medium.com/feedback-and-tips-for-junior-developers-209af34a8b40?source=rss-13520088e92b------2</link>
            <guid isPermaLink="false">https://medium.com/p/209af34a8b40</guid>
            <category><![CDATA[junior-developer]]></category>
            <category><![CDATA[development-tips]]></category>
            <category><![CDATA[tips]]></category>
            <category><![CDATA[feedback]]></category>
            <dc:creator><![CDATA[datarockets]]></dc:creator>
            <pubDate>Thu, 01 Jul 2021 14:00:20 GMT</pubDate>
            <atom:updated>2021-07-08T15:41:55.624Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ysg0Ta6QcR6xiplN0jnB_g.jpeg" /></figure><p><a href="https://datarockets.com/blog/business/team-performance-metrics/">Quality feedback</a> is an essential part of professional growth and we love sharing it not only within our team but also with candidates who get interviewed. In this article, we collected some tips from the real feedback given by our CTO Dima and Lead developer Andrew to junior developers. But we also believe that these thoughts can be a good checklist for more experienced developers.</p><h3>Learn the tools — git, command line, docker, and interpret errors correctly</h3><p>Before asking for help, you should read the error messages carefully and understand them. However, there’s nothing bad about accepting the fact that you don’t understand something.</p><p>If you don’t understand the error message, you can tell honestly about this. It is a bad habit to send a screenshot with the text “I have an error here.” Instead, you can send an error message and write: “I’m rebasing and have resolved the conflicts but the git says that something needs to be committed while there’s nothing to commit. It says that I can skip the commit, but I don’t understand what it means to skip the commit.”</p><p>As the very first step, we advise you to study git so deeply that you understand every word in every command you write. We suggest you read the <a href="https://git-scm.com/book/en/v2">ProGit book</a> or watch <a href="https://www.youtube.com/watch?v=Se-4Mf2m5uE">my talk about git</a>.</p><p>It will be very helpful to learn the command line and CLI tools. What happens when you write a command in Linux terminal? How does Linux know what binary file to execute? How is it different if you run the same command on Windows? You can watch a <a href="https://www.youtube.com/watch?v=Lm8KNQObgEY">video about shell</a> on datarockets YouTube.</p><h3>Ask for help properly and describe the problem in words</h3><p>Junior developers often share many lines of code to chat or, much worse, a screenshot, with the comment “it doesn’t work, can we have a call”. However, they don’t say what exactly isn’t working. In such situations, it is impossible to help without a call and a pair debugging session.</p><p>Instead of asking for a call, it would be much more useful if you describe the problem in words, without pictures or screenshots. A good example, “after line 7 I was expecting to see &lt;x&gt;, but &lt;y&gt; occurred instead”, from the <a href="http://catb.org/~esr/faqs/smart-questions.html">guide “How to ask questions the smart way”</a>.</p><p>When you describe the problem in words, sometimes it happens that a good assumption about the problem’s cause pops up in your head and you may realize how to fix the problem yourself.</p><h3>Learn how to deal with errors and problems</h3><p>If you don’t understand how something works, read the error message, see exactly where it occurred, try to isolate it so you know exactly which piece of code is causing the error. Make a guess as to why the error might have occurred and try to fix it.</p><p>Your first inclination could be to fix the error as quickly as possible in any way you can, without getting to the root of the problem. Even though it might work sometimes it’s hard to learn from this experience and we may leave some hidden bugs unfixed.</p><p>Ideally, for every single word in the code you write, you should be able to answer why you wrote it. For example, in the code below, what for the CSS class “layout” is here? Where is the code for this CSS class written?</p><pre><em>&lt;Layout className={`layout ${css.layout}}&gt;</em></pre><p>Here’s a great <a href="https://www.amazon.com/Debugging-Indispensable-Software-Hardware-Problems/dp/0814474578/">book about debugging</a>, which we highly recommend. One of our favorite tech writers, Julia Evans might publish a zine about debugging soon: <a href="https://jvns.ca/blog/2021/06/08/reasons-why-bugs-might-feel-impossible/">Reasons why bugs might feel “impossible”</a>.</p><h3>Get more practice in the review of other developers’ code</h3><p>Code review will help you to learn faster, think critically and adopt coding standards. It is a necessary element of developing your solution-design taste, it brings room for knowledge sharing as well.</p><p>Read about <a href="https://blog.palantir.com/code-review-best-practices-19e02780015f">Code Review Best Practices</a> and start following them. The <a href="https://www.amazon.com/Clean-Coder-Conduct-Professional-Programmers/dp/0137081073">Clean Coder book</a> will tell you everything about writing maintainable code. The ideas from it will help you in code review as well.</p><h3>Take more ownership of the feature delivery process</h3><p>There’s a more advanced level, but if you pump it up, it will make you a self-sufficient engineer who doesn’t need any guidance to complete features.</p><p>It includes discussing a feature with a client, breaking it down into tasks, self-assigning to the tasks, suggesting what you could do instead of asking others what to do next, and delivering with final deploy — the full thing.</p><h3>Take on tasks of higher complexity</h3><p>Improve your architectural skills by facing technical challenges of higher complexity and learn more about design patterns. There’s no growth without a challenge, so don’t be afraid to take a more complex task even if it requires some support to complete.</p><h3>Be curious and ask questions</h3><p>One of the important skills for developers and engineers is curiosity. Curiosity drives us to learn new things and improve our skills.</p><p>Be curious about colleagues’ work. Do you know how they debug programs? Do they use UI debugger or debug output? What do they look first at during the code review? What do they dislike about the language you use and why?</p><p>Be curious about the tech you hear or read about. Did someone mention Kotlin Multiplatform Mobile? Try to learn how it works and what it offers. Apple released the M1 chip that you heard uses ARM architecture but you don’t know what ARM means and what other architectures exist? Ask your colleagues about this and engage them in communication. Saw that the output of git log looks different on your colleague’s computer? Ask them to share how they configured this.</p><p><em>Originally published at </em><a href="https://datarockets.com/blog/code/tips-junior-developers/"><em>https://datarockets.com</em></a><em> on July 1, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=209af34a8b40" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Security vulnerabilities — how to find and fix them]]></title>
            <link>https://datarockets.medium.com/security-vulnerabilities-how-to-find-and-fix-them-5899c60926f3?source=rss-13520088e92b------2</link>
            <guid isPermaLink="false">https://medium.com/p/5899c60926f3</guid>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[security-vulnerabilities]]></category>
            <category><![CDATA[sql-injection]]></category>
            <dc:creator><![CDATA[datarockets]]></dc:creator>
            <pubDate>Mon, 07 Jun 2021 16:52:25 GMT</pubDate>
            <atom:updated>2021-07-01T15:28:10.252Z</atom:updated>
            <content:encoded><![CDATA[<h3>Security vulnerabilities — how to find and fix them</h3><p>This article is about security vulnerabilities that can be found in many projects. Ignoring them can have terrible consequences for businesses. Hopefully, they are easy to fix. Here I described how I found a vulnerability, showed how it could be used for data extracting from the database, and fixed it with just one line of code.</p><p>During one of my tasks on the project, I worked on Dashboard improvements. Dashboard — it’s just the main page for users with different types of entities (showed by cards) and filters in the sidebar (search by keyword, order, filter by type).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LMkNQArwdr44Pel7p-caTA.png" /></figure><p>Here the HTML code of the <em>Sort</em> filter.</p><pre>&lt;select name=&quot;order_filter&quot; id=&quot;order_filter&quot; class=&quot;form-control custom-select&quot;&gt;<br>  &lt;option value=&quot;last_seen desc&quot;&gt;Recent First&lt;/option&gt;<br>  &lt;option value=&quot;created desc&quot;&gt;Date Created ⬇&lt;/option&gt;<br>  &lt;option value=&quot;created asc&quot;&gt;Date Created ⬆&lt;/option&gt;<br>  &lt;option value=&quot;title asc&quot;&gt;A-Z&lt;/option&gt;<br>  &lt;option value=&quot;title desc&quot;&gt;Z-A&lt;/option&gt;<br>&lt;/select&gt;</pre><p>Field name for ordering and order in one place with space between. Put your first thought that came to your mind in the comments. 😄</p><p>My first thought was, “Why does <em>value</em> look pretty similar to the sql request part?”. I decided to take a deeper look into it and found that we definitely pass it as:</p><pre>scope = scope.filter_results(keyword: @keyword, state_filter: @state_filter, order_filter: params[:order_filter])</pre><p>where <em>filter_results</em> is just a concern method that calls <em>state_filter</em> and <em>order_filter</em> on model if it exists.</p><p>So, in model we just have this:</p><pre>scope :keyword, -&gt; (keyword) { where(&quot;title like ?&quot;, &quot;%#{keyword}%&quot;) }<br>scope :state_filter, -&gt; (state) { where( state: state ) }<br>scope :order_filter, -&gt; (order_filter) { reorder(order_filter)} # &lt;- IMPORTANT LINE</pre><blockquote><strong><em>ActiveRecord::QueryMethods#reorder</em></strong><em> Replaces any existing </em><a href="https://apidock.com/rails/ActiveRecord/QueryMethods/order"><em>order</em></a><em> defined on the relation with the specified </em><a href="https://apidock.com/rails/ActiveRecord/QueryMethods/order"><em>order</em></a><em>. </em>User.order(‘email DESC’).reorder(‘id ASC’) # generated SQL has ‘ORDER BY id ASC’</blockquote><blockquote><em>Source: </em><a href="https://apidock.com/rails/ActiveRecord/QueryMethods/reorder"><em>https://apidock.com/rails/ActiveRecord/QueryMethods/reorder</em></a></blockquote><p>Hello! Let’s play with it a little. Firstly I decided to test the ability to pass different symbols into the query, and it works well.</p><p>I changed one of the HTML filter options to different column names and symbols like brackets, and it works well. So, we have the hole. Let’s put our finger into it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/735/1*4V-YkUQLNt5qJVhHkbMb2g.png" /></figure><p>So, how could it help us get some data from the table? We can do some condition and get the result which can be reflected in the order of the cards on the dashboard:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wbc44GHXALjMGLuk.png" /></figure><p>Do you remember this game from Tarantino’s <strong>Inglorious Bastards</strong> film? When guys put stickers with the name of some person onto their foreheads and trying to guess this person’s name by using only questions with answers “Yes” or “No.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*-dlmHxsTMMj_BA6eFAi6mA.png" /></figure><p>Useful construction for <em>ORDER</em> sql injection is a:</p><pre>(CASE WHEN condition THEN first_coumn_name ELSE second_column_name END)</pre><p>or</p><pre>SELECT IF (condition, first_column_name, second_column_name)</pre><p>We just need to find a <em>condition</em> (as a question), and two column names to see the result and put it as <em>ORDER BY</em> value (like <em>Yes</em> and <em>No</em> answers).</p><p>What could we put into the <em>condition</em> part? Everything. Literally everything.</p><p>How about this?</p><pre>SELECT IF ((SELECT count(*) FROM information_schema.columns <br>WHERE COLUMN_NAME = &#39;is_admin&#39; AND table_name = &#39;users&#39; LIMIT 1)&gt;0, &#39;YES&#39;, &#39;NO&#39;);</pre><p>If we have <em>is_admin</em> column in <em>users</em> table it should return <em>YES</em>.</p><p>Let’s put in into query with column names for sorting:</p><pre>(SELECT IF ((SELECT count(*) FROM information_schema.columns <br>WHERE COLUMN_NAME = &#39;admin&#39; AND table_name = &#39;users&#39; LIMIT 1)&gt;0, title, created_at))</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Rj9tY9chu467l3PC.png" /></figure><p>The first card is Fundico, and the second is Area. There is no is_admin column in the <em>users</em> table. Let’s try just <em>admin</em> instead:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5QU0pFcuvhgtgvcP.png" /></figure><p>Here we go! Now we know that we have <em>admin</em> column in our <em>users</em> table.</p><p>P.S. The full query with injected code looks like this:</p><pre>SELECT `table_1`.* FROM `table_1` WHERE `table_1`.`id` IN <br>  (SELECT DISTINCT `table_2`.`deal_id` FROM `table_2` LEFT OUTER JOIN `team_members` <br>    ON `team_members`.`cool_dude_id` = `table_2`.`id` <br>    WHERE `table_2`.`state` != -1 AND (table_2.user_id=*** or team_members.user_id=***)) <br>  ORDER BY (SELECT IF ((SELECT count(*) FROM information_schema.columns <br>    WHERE COLUMN_NAME = &#39;admin&#39; AND table_name = &#39;users&#39; LIMIT 1)&gt;0, title, created_at))</pre><p>Let’s find the rest of the data by analogy. Firstly we need to find <em>email</em> of any admin user to get access to the system.</p><p>We could do this symbol by symbol using ASCII table:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*OT35RYHGEXsKX7c9EPKX7A.png" /></figure><p>We just need to paste all symbols one by one and look for a match:</p><pre>SELECT IF ((SELECT ASCII(SUBSTRING(email, 1, 1)) FROM users where admin = true LIMIT 1)=105, title, created_at)</pre><p>This query returns true if the first ASCII code of symbol in <em>the email</em> of the first admin equals <strong><em>105</em></strong> (I.e., the first symbol of email is <em>i</em>).</p><p>Then we go for the second symbol using <em>ASCII(SUBSTRING(email, 2, 1))</em> and find all symbols one by one.</p><h3>Conclusion</h3><p>We could find any information using this hole like credentials of all users, phones, addresses, etc. Always be careful and try not to use strings for searches and filters in Rails.</p><blockquote><em>Rails is well enough protected from vulnerabilities, but nothing can save you from your own mistakes.</em></blockquote><p>Use wrappers, like hashes and arrays. Don’t use <em>User.where(“name = ‘#{params[:name]’”)</em></p><p>Use <em>User.where([“name = ?”, “#{params[:name]}”]) </em>or <em>User.where({ name: params[:name] })</em> instead.</p><p>This vulnerability can be fixed using just one line, for example:</p><pre>ORDER_FILTERS = { title_asc: &#39;title asc&#39;, created_at_asc: &#39;created_at asc&#39;}<br>scope = scope.filter_results(order_filter: ORDER_FILTERS[params[:order_filter]])</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/96/0*F4nZzDllLWFTBDSj" /></figure><p><em>Originally published at </em><a href="https://datarockets.com/blog/code/sql-injection-security-vulnerability/"><em>https://datarockets.com</em></a><em> on June 7, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5899c60926f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The datarockers’ codex — company core values]]></title>
            <link>https://datarockets.medium.com/the-datarockers-codex-company-core-values-276cd57decf9?source=rss-13520088e92b------2</link>
            <guid isPermaLink="false">https://medium.com/p/276cd57decf9</guid>
            <category><![CDATA[company-culture]]></category>
            <category><![CDATA[company-values]]></category>
            <category><![CDATA[remote-team]]></category>
            <category><![CDATA[team]]></category>
            <category><![CDATA[playbook]]></category>
            <dc:creator><![CDATA[datarockets]]></dc:creator>
            <pubDate>Wed, 19 May 2021 10:14:11 GMT</pubDate>
            <atom:updated>2021-05-20T11:43:32.452Z</atom:updated>
            <content:encoded><![CDATA[<h3>The datarockers’ codex — company core values</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MUKOAncMGjZ5DEpB.png" /></figure><p>In 2014, our founders wrote a codex for everyone who wanted to join the datarockets’ team, so that the candidates could check if they shared the same <a href="https://datarockets.com/blog/company/datarockets-codex-core-values/">core values</a> as ours. Since then, we have transformed our processes a lot, but this document still stays relevant as it presents our company principles and culture.</p><p>The original version was written in Russian and now we decided to make it accessible for everyone by translating it into English. If you know Russian, we highly recommend you to read the <a href="https://docs.google.com/document/d/1DojRoGnl-J0Ku0B9tjK_-HUMbKQDPoueoYr645dYA-4/edit">original text</a> from 2014 :).</p><h3>Intro from the founders</h3><p>The goal of datarockets is to bring ideas into life, delve into client’s businesses and contribute to their development. Our personal goal is to gather a cohesive team that will turn the company into an intellectual hub, which will result in both money and pleasure. Besides, we love sharing our knowledge with other people and bringing value to the whole industry.</p><p>We have an individual attitude and an approach to everyone: we put a piece of our heart, invest our time and money and make sure that each datarocker comes to our company for a good reason.</p><p>We value honesty, self-development, and professionalism. We believe that it will help us to attract like-minded people. Thus, when hiring a new datarocker, we first look at their attitude rather than knowledge. Having said that, there are no random people at datarockets.</p><h3>Creation</h3><p>Datarockers tend to find a healthy and productive way to express themselves. As a company, we create a safe space for it.</p><p>Self-expression is an essential part of everyone’s life. When people don’t express themselves, they repress the important parts of who they are and cause themselves considerable struggle and lasting mental and emotional pain (<a href="https://rrtampa.com/therapy/need-self-expression">source</a>).</p><p>Therefore, every datarocker:</p><ul><li>chooses the path of creation,</li><li>cares about personal mental state,</li><li>is driven by curiosity,</li><li>has the desire to invent things,</li><li>gets the pleasure from finding elegant and brilliant solutions to complex problems,</li><li>and loves adding values to anything he or she does.</li></ul><h3>Responsibility</h3><p>Datarockers are responsible for everything that happens in both personal life and at work. They do not try to limit their responsibility and do not seek excuses.</p><p>Datarockers always pick up the phone and do not hide from problems and stressful meetings. They don’t disappear at the most critical moment — even if they make mistakes, they tell the truth and offer solutions to resolve the problem.</p><p>Usually, people are forced to work at the office and monitored by managers behind their backs. However, at datarockets, the traditional micromanagement does not exist. In our company, we have processes that help set up the routine, but flexible schedule and remote work are not for everyone. Datarockers decide on their own how much and how to work, where to live, and when to rest.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/851/0*A1L9ip-wcImrPlQw.gif" /></figure><h3>Money</h3><p>Datarockers don’t always work for money, even though they understand that the quality of their lives depends on money. They consider their time as capital and invest it wisely.</p><p>Additionally, datarockers never talk about personal salary and the company’s remuneration. Any relationship of datarockets with clients is confidential information, and remuneration is not a subject of public negotiations.</p><h3>Personal development</h3><p>Datarockers are ambitious life-long learners. They read books, listen to podcasts, and keep up with what’s new in the IT world. You can meet a datarocker at the conference, and later — with a glass of beer at the after-party. Our teammates share their experience in <a href="https://datarockets.com/blog">articles</a>, contribute to <a href="https://github.com/datarockets/">open source</a>, organize and speak at <a href="https://youtube.com/playlist?list=PLXylrdLh4cnA6mY_YgFOT1DKmH1xqINbm">conferences &amp; meetups</a> for engineers.</p><p>Datarockers do not stick to one framework or library; they are willing to adopt other technologies. Frontend developers at datarockets understand how the backend works and can make some changes themselves. Backend developers can lay out or move a block on a page without having to ask the frontend team. Datarockers understand the fundamental programming concepts, which helps them quickly master any new technologies.</p><h3>Professionalism</h3><p>Every single datarocker is a conscientious person. They do their job as best as possible, never sacrifice quality nor hesitate to speak out their own opinions. Achieving the result is professional responsibility, and datarockers know the right path to it.</p><p>The quality of work does not depend on a personal relationship or feelings towards a client or a project. A datarocker understands that the best product is a workable product that is launched on time. Striving for perfectionism doesn’t justify missing deadlines.</p><p>Datarockers are team players who understand that by working together, they can maximize their productivity and efficiency. They respect the opinions of their colleagues and help datarockets’ newbies to understand the industry.</p><p>Datarockers always move up their career ladder. As soon as datarockers start feeling self-sufficient and can teach others, they delegate tasks and take over new responsibilities to benefit the team and clients.</p><p>There are no boring tasks for datarockers. We develop products for various businesses, from finance and logistics to nightclubs and bars. Even when solving trivial tasks, we automate the routine, try new approaches and create useful tools. We never know in advance what knowledge will be helpful in the future. In our business, knowledge about the whole world is always important.</p><p>Datarockers constantly look for different ways of improving themselves and optimizing time to complete their tasks.</p><h3>Relationships with clients</h3><p>Datarockers always remember that they are providing a service. When making decisions, the client’s benefits and their product are always our top priority. In the eyes of our clients, datarockets is not a faceless team of developers hidden behind the manager. When a client chooses our services, they expect to work with us as a single team.</p><p>Human relationships are built on expectations, therefore, we understand that high expectations can turn into disappointments. It is better to underpromise and overdeliver rather than overpromise but then fail to deliver the tasks on time.</p><p>The datarockets team always ensures confidentiality and respects the client’s privacy and their business decisions. We delve into the client’s business, put ourselves in the client’s shoes, and suggest the best possible solutions in any given situation.</p><h3>Reputation and attitude towards datarockets</h3><p>Datarockers are tactful and self-aware of their reputation. Not only do they always speak about their colleagues and clients with honor, they never criticize or disrespect the previous companies they have worked at either, despite any grievances.</p><p>A professional who has become an entrepreneur does not entice customers and employees if the other side has not taken the initiative. Instead, an ex-datarocker would rather train new employees and find clients — it is a matter of reputation and honor.</p><p>At datarockets, we always recognize and value people, as well as their achievements. We motivate them to speak at conferences and write articles to share their experience with other fellows from the tech community. Experienced datarockers train the team, gain authority and recognition among colleagues.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/972/0*qhaom1PxtW6wAZm_.gif" /></figure><p>If these thoughts are appealing to you and you want to learn more about datarockets’ culture, check out our <a href="https://www.instagram.com/datarockets/">Instagram page</a>. It’s about fun, pets, remote work within a multinational team, and programming, of course 😉</p><p><em>Originally published at </em><a href="https://datarockets.com/blog/company/datarockets-codex-core-values/"><em>https://datarockets.com</em></a><em> on May 19, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=276cd57decf9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Human analytics platform for teams — case study]]></title>
            <link>https://datarockets.medium.com/human-analytics-platform-for-teams-case-study-cc3f461f8c46?source=rss-13520088e92b------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc3f461f8c46</guid>
            <category><![CDATA[mvp-development]]></category>
            <category><![CDATA[analytics-platforms]]></category>
            <category><![CDATA[web-app-development]]></category>
            <category><![CDATA[habit-tracking]]></category>
            <category><![CDATA[case-study]]></category>
            <dc:creator><![CDATA[datarockets]]></dc:creator>
            <pubDate>Tue, 02 Feb 2021 16:41:19 GMT</pubDate>
            <atom:updated>2021-02-02T16:41:19.607Z</atom:updated>
            <content:encoded><![CDATA[<h3>Human analytics platform for teams — case study</h3><p>Vital — A human analytics platform, currently in the <a href="https://datarockets.com/blog/business/mvp-app-development-lean-startup-way/">MVP stage</a>. With Vital, you can track your personal data such as book readings, time spending, daily vices, and rituals. The platform makes data tracking social with teams engaging and commenting. It also provides a simple visualization of your data and data analytics that helps people to understand their feelings and behaviors better.</p><p>The datarockets team built this platform from scratch and participated in the product strategy, which resulted in several features that have been implemented &amp; adopted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*o8QmGmRTc_2ptjs4" /></figure><h3>Challenge</h3><p>The ultimate goal of VITAL is to improve individual productivity and increase self-awareness when working with teams. Our client, the <a href="https://pixeldreams.com/">Pixel Dreams</a> team, started with simple journaling using Google Spreadsheets in order to validate their concept. They started logging their productivity on a daily basis as well as the factors that influenced this intending to try to find correlations between their personal data and the entries of their teammates. Here is how the proof of concept looked in Google Spreadsheets:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EF8BknIqI3uKi8aO" /></figure><p>The guys have already proved to themselves that their data was valuable but they were struggling a lot with the spreadsheets. It took hours of work to set up spreadsheets for new members as well as initiate data entry for new time periods. Moreover, the spreadsheet solution wasn’t scalable at all and it wasn’t possible to share VITAL’s ideas with new people while the application was based on spreadsheets. So, we had to solve the following 2 challenges:</p><ol><li>Making the data entry process more convenient</li><li>Providing value from data entry to teams — giving some motivation to fill in data every day</li></ol><h3>Our Approach</h3><h4>First version release</h4><p>We couldn’t utilize spreadsheets anymore and decided to implement a <a href="https://datarockets.com/capabilities/">custom web application</a> that would fulfill the data tracking needs. First of all, we focused on the data entry UI. Being a creative agency, Pixel Dreams provided us with the first version of the design, which looked like the following screenshot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kiKpFqNDqc8C-XGX" /></figure><p>The application required instant data updates w/o page reload so we decided to use a reactive framework on the frontend, and at that time, React.js was growing popular. We picked <a href="https://datarockets.com/blog/code/react-quick-start/">React.js</a> + <a href="https://datarockets.com/blog/code/structure-redux-applications/">Redux</a> for the frontend and <a href="https://datarockets.com/blog/business/why-ruby-on-rails/">Ruby on Rails</a> for the backend. For the design, we utilized bootstrap to release the first version of the product fast.</p><p>In order to motivate people to track their data, we decided to introduce a concept of teams and data sharing. As a result of the first iteration, the users were able to transition from their spreadsheets to the app and the following features were implemented:</p><ul><li>Journaling (Daily entry: Win, Loss or Draw + text log)</li><li>Teams and dashboard for teams configurable by team admins</li><li>Team members’ management, invites via email</li><li>Shared and private logs</li><li>Additional data types as checklists and counters</li><li>Ability to comment on data entries of your teams</li><li>Graphs that visualize Win Lose or Draw metrics within teams</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*z9O-6yAr2Xbr3FcG" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1EtTnVBEPCuwtf0Z" /></figure><p>And Kal (the founder of Pixel Dreams) invited first platform users for beta testing:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FqTwE3DfFkk8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DqTwE3DfFkk8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FqTwE3DfFkk8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d8f8042fc65f95920affb7664d65e516/href">https://medium.com/media/d8f8042fc65f95920affb7664d65e516/href</a></iframe><h4>Mobile app implementation and improving UI</h4><p>After some time of using the app, we gathered feedback from the early adopters and learned that now when they have an app for data tracking, they preferred to use mobile devices to fill it in. Also, we noticed that the early adopters of the platform were using the commenting feature a lot to support each other and ask questions.</p><p>Therefore, we decided to run another iteration and create a mobile version of the web application plus add extra social features such as:</p><ul><li>A social feed where users can see the logs of their teammates and comment on them w/o switching to the databoard screen</li><li>Notifications about new comments so that users could continue their discussions in the comments section</li></ul><p>We allocated 4 more weeks in order to implement the mobile version and social feed and, as a result, we implemented the following screens:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KPvSQYxSJH4pqKdk-r-qQg.png" /></figure><h4>Implementing analytics as a value prop</h4><p>At this point, we already had a working proof of the concept being used by employees and early adopters of our client on a regular basis. But together with them, we started thinking about bringing this product to other companies and teams and the ways it could be monetized. Tracking data, sharing it and discussing it wasn’t enough in our opinion to try selling this product.</p><p>So, we made an assumption that the teams that have enough discipline to track their data could find it valuable to receive insights from it. We then came up with simple analytics that could help in validating this assumption. The page consisted of 4 sections:</p><ol><li>your weekly average</li><li>how you stand compared to your friends</li><li>your spiritual buddy last week</li><li>top contributing vital (the one that influences your mood the most and correlates with it)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6kDttX2jcdITesUL" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*P9y8Zzmck2CAil-6" /></figure><h3>Result</h3><p>During the whole development process, 1 part-time Project Manager and 2 full-time middle engineers (frontend and backend) were working from the datarockets side. The PM was involved in the product strategy discussion apart from managing the dev team. Our engineering team participated in feature discussions and suggested ways to make things simpler/faster.</p><p>Together with the Pixel Dreams team, we implemented a web application that allows the tracking of personal data such as:</p><ul><li>Journaling (day results, WIN LOSE or DRAW)</li><li>Variety of counters (Book readings, daily calorie intake, etc.)</li><li>Daily checklists (useful routine items, taboos)</li></ul><p>Also, we’ve built social features for the teams:</p><ul><li>Teams configuration</li><li>Roles</li><li>Data sharing</li><li>Commenting</li><li>Notifications</li><li>Social feed</li><li>Insights and analytics of vitals that affect / correlate with your mood.</li></ul><p>Currently, VITAL is in closed BETA. Together with Pixel Dreams, we are evaluating different business models in order to find a product-market fit and define what improvements we are going to build next.</p><p>On the whole, the MVP building process with the implementation of new features and a mobile web app took us 18 weeks (~4.5 months) of development.</p><h3>Technology Stack</h3><p>Ruby on Rails, Rspec, Mandrill API, Google oAuth, React.js, Chart.js, Redux, Postgres</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc3f461f8c46" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MVP development. Idea Validation process]]></title>
            <link>https://datarockets.medium.com/mvp-development-idea-validation-process-857fa061bdf?source=rss-13520088e92b------2</link>
            <guid isPermaLink="false">https://medium.com/p/857fa061bdf</guid>
            <category><![CDATA[idea-validation]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[lean-startup]]></category>
            <category><![CDATA[startup-ideas]]></category>
            <category><![CDATA[startup-valuation]]></category>
            <dc:creator><![CDATA[datarockets]]></dc:creator>
            <pubDate>Tue, 03 Nov 2020 11:46:56 GMT</pubDate>
            <atom:updated>2020-11-10T08:52:29.312Z</atom:updated>
            <content:encoded><![CDATA[<p>Entrepreneurs are known to run into dozens of ideas on a daily basis, if not more. While most of them seem to border on absurdity in the beginning, it is often difficult to determine whether or not they would work out in the long run. That’s why the best way of ensuring your idea is worth developing is to learn at the fastest possible pace and have the willingness to try out different experiments.</p><p>Based on our proven knowledge on product development and experience, we have developed a template document relating to the process of idea validation, and wrote the guide to explain each question and step in a simple, understandable manner.</p><h3>How’s this helpful?</h3><ul><li>Avoid wasting time and resources on something that’s certainly not worth it.</li><li>Learn proactively and pivot your idea at a much quicker pace.</li><li>Validate your product idea without actual budget/coding skills.</li><li>Answering all the questions posed in this guide means it can serve as a worthwhile investor deck. Couple this with running some experiments and you’re well poised to raise money from investors!</li><li>Most critically, it provides a credible framework to separate good ideas from bad ones.</li></ul><h3>Value Proposition</h3><h4>What important truth does your idea uncover that is not mainstream?</h4><p>The following would be a business version of this question: what is that valuable company that nobody is building? Every correct answer is necessarily a secret: something important and unknown, something hard to do but doable ( <a href="https://genius.com/Peter-thiel-zero-to-one-chapter-8-secrets-annotated">by Peter Thiel</a>).</p><p>It is important for your idea to reveal some unknown, unconventional truth in order to create something of value. Something nobody chooses to talk about aloud, but will become evident to all after it’s unraveled.</p><p>For more interesting nuggets and insights on <a href="https://datarockets.com/blog/startups-that-look-attractive-for-vc-investors/#great_ideas">startups that attract VC investors</a> read <a href="https://www.amazon.com/Zero-One-Notes-Startups-Future/dp/0804139296">Zero to One</a> book.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*61T3HY2fytNaY3d_.png" /></figure><h4>What are your fundamental value assumptions? How does it help to resolve real-world problems?</h4><p>Here at datarockets, we classify three kinds of assumptions:</p><ul><li><strong>Value assumptions:</strong> To define the value of your idea and future product.</li><li><strong>Business model assumptions:</strong> This affects the manner in which you get your product monetized.</li><li><strong>Growth assumptions:</strong> How you’ll ensure growth of your product and continue to attract new customers.</li></ul><p>Let’s begin with the basics: the value assumptions!</p><p>On the basis of the previous chapter’s statement, it’s best to define the fundamental value assumptions and experiment with them in the fastest possible manner. <a href="https://datarockets.com/blog/mvp-app-development-lean-startup-way/">Leap of faith assumptions</a> is another popular term for fundamental value assumptions.</p><p><em>If your leap of faith assumptions are not true, the whole idea is not viable.</em> This means that if your failed assumption won’t end up ruining the whole idea, then it’s not vitally important to begin with, thus implying that it can no longer be your fundamental value assumption.</p><h4>Does your idea grow with the advancements of supporting technologies (durability)?</h4><p>Before taking the next step, confirm whether a new, upcoming technology won’t kill your promising idea.</p><p>Ex: If you’re intending to develop a startup that teaches people how to drive vehicles, it may make sense to assume that with the advance of self-driving cars your business might get destroyed.</p><h3>Existing Solutions Research</h3><h4>Has anyone implemented your idea / tried to implement it before?</h4><p>Although a typical process begins with communicating with people whose pain points will be addressed with your product/service, it makes a lot of sense to first research your idea and determine if similar services/solutions are already available in the market. After ensuring that the competition is not excessively intense or your idea provides breakthrough value with its uniqueness, it’s time to proceed further.</p><h4>Find communities that may potentially be facing the problem you’re looking to resolve. Ask how they’re currently dealing with it and if they’d be interested in trying out your way.</h4><p>More often than not, other people may already be solving the problem you plan to solve. They may be doing that using some tricks or manual solutions. Identify and talk to them about how they tackle such challenges, what is it that they struggle with, and whether or not they’d like to explore your way of doing that.</p><p>Based on who your target audience is, join Facebook groups where your target audience is likely to assemble, gather feedback from your own network, or even consider talking to people on the streets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MRZUkpmZPWQnKctE.png" /></figure><p>Remember, whenever you wish to solve someone’s problem or fulfill an unmet need in the market, the first step is to get people to stop using other solutions or make changes in lifestyles. After ensuring the problem is worthy of being solved and something that people wouldn’t mind paying for, you’re ready to take the next step.</p><h4>Why do you think your solution is better?</h4><p>After taking the above steps, focus on the advantages and the distinguishing features of your solutions that set them apart from others. List them in a logical order and then explain why people will find more value in your solution. What value will it bring to them?</p><h3>Market Analysis</h3><p>Previously, we’d been assessing and validating our <strong>Value Assumptions</strong>. Ensuring the viability of your idea was their core purpose. Unfortunately, merely having a good idea to create a long-term profitable product does not suffice. Think about the different ways in which you make money out of your solution via <strong>Market Analysis</strong> and <strong>Business Model Assumptions</strong>.</p><h3>Define your potential target market</h3><h4>Narrow down your potential target market. Who is your ideal customer? Why should they pay for your solution?</h4><p>Targeting everyone essentially means that you’re not targeting anyone in particular. Concentrating on the appropriate target market is a good approach because it lets you maximize your returns on the time, money and energy you’ve invested. Secondly, it’s far easier to conduct experiments in a narrow market.</p><p>Try and define specific groups you wish to target with your service/product alongside their potential sources of revenue. Depending on your idea, you can even group them by job, interests, demographics, etc. Ensure that your target audience will be able to buy your products as the revenue source of each target will be different.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*it_TxW2LBVQteeoR.png" /></figure><p>Now, there are some industries where people are very unlikely to pay for additional services. As a case in point, the probability of people paying to use social media for communication purposes is very low. In such scenarios, use your discretion and prepare a draft of your <a href="https://www.departmentofproduct.com/blog/product-monetization-strategies/">monetization strategy</a>. While it needn’t be your final blueprint, it will greatly simplify your task by helping you select more attractive markets.</p><h4>Use Google Trends/Semrush to see how many people google solutions for the problem you are trying to solve</h4><p>Tools like Google Trends or Semrush give you an accurate picture of just how many people are seeking solutions to the problem you’re attempting to resolve. Most importantly, such tools allow you to check who these people are, know what their trends are, and provide a reasonable accurate estimate of the size of your target market.</p><h4>Reach out to five well-known people in the market and ask for feedback on your idea</h4><p>After gathering the necessary information based on the previous steps, select a market (or a couple of them) that seems most promising. The next step in this phase is to gather feedback from specific groups of people relevant to your market. Doing this will give you plenty of actionable insights and the opportunity to further examine your idea from different perspectives.</p><h3>Create a portrait of your target audience</h3><p>In this phase, try to be as specific as possible about all relevant attributes of your target audience that describe them/their lives accurately and narrow them down further — age, gender, interests, position, personality, daily schedule, reading patterns, etc.</p><p>Regardless of whether you describe a person or a company, depending on your sales model (B2B or B2C), the approach will remain unchanged. Consider the example from the <a href="https://www.amazon.com/1-Page-Marketing-Plan-Customers-Money-ebook/dp/B01B35M3SM">“1-Page Marketing Plan” book</a>.</p><h3>Conduct target user interviews</h3><p>According to Eric Migicovsky, a Y Combinator partner, the best firms are those whose founders establish a direct connection with their users. If you happen to be a founder, consider talking directly to the users of your product or solution.</p><p><a href="https://youtu.be/MT4Ig2uqjTc">In his talk,</a> Eric cites a useful example of a structure that can be used to hold your user interviews. After tailoring the structure based on our needs and priorities, this is what we’ve come up with:</p><ol><li>What makes the problem difficult for them?</li><li>When did they last face it?</li><li>What have they done to solve the problem?</li><li>What are the things about existing solutions that they don’t like?</li><li>How much would they pay to resolve the problem?</li></ol><h3>Business Model Assumptions</h3><h4>List your business model assumptions (based on the assumptions on what you assume your customers are going to pay and how much)</h4><p>After defining the problem to be solved, doing user interviews, and knowing more about the target audience, it’s now time to brainstorm ways of monetizing your product.</p><p>It’s a good idea to first get better informed about various <a href="https://datarockets.com/blog/startup-stages-business-models/">types of business models</a> before jotting down your assumptions about how your customers would be paying and how much. Put every idea on your mind on the table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jp5Ql5fibBJq4C9l.png" /></figure><h3>Growth Assumptions</h3><h4>List your growth assumptions (what is your plan to rope in new users and how much cost would that involve)</h4><p>To survive and thrive, it’s critical to ensure your product grows smoothly and plan out ways in which you’ll attract new users or enter into new deals (partnerships). You’ll have a far better picture of your future marketing investment by writing down all possible growth hacking and marketing ideas. (prepare to get startled by the fact that budgets for marketing are often bigger than those for development purposes ;))</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*K7eCNWy-HpP-uXwV.png" /></figure><h4>Does your growth engine generate new users from the actions of existing users? List out your acquisition loops.</h4><p>Getting new users effortlessly without spending any money is always a pleasant feeling. In that context, consider exploring <a href="https://nogood.io/2019/10/01/growth-acquisition-loops-funnel/">acquisition loops</a> which will make a great addition for your monetization strategies.</p><p><em>The core idea behind acquisition loops is as follows: The more users you have, the more users are attracted.</em></p><p>You can implement acquisition loops in the form of referral programs (e.g. Airbnb and Uber offer free coupons/rides for each referred user) or content loops that are user generated (Reddit, social networks, etc.).</p><p>Natural acquisition loops are extremely important when you’re planning to execute an Ad-based business model, because the average revenue per user (ARPU) of ad-based models are lower in comparison to let’s say SaaS. That’s why they must acquire new users cheaply to generate sustainable profits and reap massive profits.</p><h4>What’s your assumed revenue source? How would your profits/expenses grow as the number of customers grows (scalability assumption)?</h4><p>Needless to say, it’s not easy to accurately predict your expenses and profits. Some startups have funding to cover their expenses for two years or so until the venture starts making profits. If that’s not your case, pay close attention to this aspect and foresee your potential scalability issues and expenses.</p><h3>Competitor Analysis</h3><h4>High-level SEO analysis</h4><p>This step needs us to continue working with product positioning and simultaneously address several key questions:</p><ol><li>How many people are interested in this?</li><li>How difficult is it to rank on the first page of Google?</li><li>What keywords should I use to promote my product or service?</li></ol><p>As you begin to answer these questions, it will become crystal clear that some keywords are more popular as compared to others. Some find it really hard to attain a high ranking on Google. Here, our objective is to compare word combinations that translate your business model to identify keywords with a balanced volume and keyword difficulty (KD).</p><p>Utilize tools like Semrush, Ahrefs Keyword Finder, Google Ads Keyword tool, etc. to collect the information about <strong>Volume, CPC, KD, and leading websites that rank by these keywords</strong>.</p><h4>Competitor overview</h4><p>Competitor overview is an extremely important step to undertake before proceeding further and it requires you to gather information about your competitors’ users, business models, revenue, etc. We this guide, we want to draw your attention to three attributes:</p><ul><li>Your Advantage</li><li>How Hard to Replicate Your Advantage</li><li>Why Should Customers Buy from You</li></ul><p>From these characteristics, it’s clear that you’ll compare your value proposition with your competitors and know what your unique selling proposition is.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*f8KR1nIq9gPxTjs8.png" /></figure><h4>Learn more about your competitors</h4><p>Usually, you’ll get more insights from a personal interaction with your rivals than from conducting a basic competitor overview. It’s a good idea to reach out to them and know more about how their business is shaping up and the struggles they’re going through. Some effective ways of doing this include:</p><ul><li><em>Scheduling demo as a user</em>. When it comes to small startups, you’re more likely to be able to engage in a personal talk with product owners that are very in tested in collecting user feedback.</li><li><em>Contact product owners directly as their competitor. </em>Generally, experienced startup owners are not opposed to the idea of talking to competitors and others from within the same industry. In most cases, they’ll frankly talk about their experiences/struggles, caution you about some pitfalls, and share some additional information that you may find relevant.</li><li><em>Conduct in-depth research on their personal pages and blogs. </em>In some rare cases, founders openly reveal <a href="https://blog.hellocode.co/post/existing-august-2020/">all the information about the product and its metrics</a> such as conversions, active users, revenue, etc.</li></ul><h3>Experimental Plan Definition</h3><p>Until now, you’re likely to have collected several interesting ideas of business models as well as growth assumptions. Now is the time to get them tested.</p><h4>How are you going to test your business and product positioning assumptions?</h4><p>Let’s face it. It’s not viable to build MVPs for every different assumption. Do the smart thing, instead. There are many tricks that you can implement to test ideas without actual development. We covered some of them in our blog post on the <a href="https://datarockets.com/blog/mvp-app-development-lean-startup-way/">Lean Startup approach</a>:</p><ul><li><em>Landing page</em>. After using builders to develop simple websites with your value proposition, collect early-bird invites or sign-ups for testing the app. This is an effective way of evaluating the interest of users.</li><li><em>Demo video. </em>Several startups received funding only for the video that explained their vision because the product had already been built.</li><li><em>Crowdfunding platform.</em> This can be a useful option not only to validate your ideas but also to identify early adopters and receive payments before you actually develop the product.</li><li><em>Concierge MVP.</em> Sometimes, you can test the idea manually rather than having a web platform or application.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*u-ymEDc_yPHZSh01.png" /></figure><h4>Where can you find your early adopters?</h4><p>Now you must locate people who’re facing the problem you plan to solve and get them to test your product/solution. They will not only give you valuable feedback, but also spread the word. By now, you should know how to find them because you’ve already talked to them in the Value Proposition stage.</p><ul><li>Crowdfunding platforms</li><li>Facebook / Reddit / Telegram groups</li><li>Current clients (if your business is running offline for now), etc.</li></ul><h4>How are you going to collect feedback?</h4><p>Put differently, how will you communicate with your early adopters?</p><ul><li>Feedback forms</li><li>Facebook groups / Telegram channels</li><li>Email campaigns</li></ul><h3>Experimenting</h3><p>Experimentation time! At this stage, you would have every information you need to test the assumptions and begin data collection to identify your product positioning and go-to-market business model.</p><p>After launching your demo videos/ landing pages, go ahead and collect some data. Not every idea is explained in the same way, so you may want to quickly run a couple of Google ads to see people’s reaction to various keywords for product positioning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fRX3CZTYddrwwGVC.png" /></figure><p>Putting the metrics on the table will let you see what experiment turned out to be most successful. Although we offer to check these metrics, it’s your call on whether or not to make changes in this list:</p><ul><li>Impressions</li><li>CTR</li><li>Visits</li><li>Signups</li><li>Conversion rate</li><li>Cost per Signup</li><li>Assumed Average Revenue per User</li></ul><p>You may also want to check our massive, extremely helpful guide on <a href="https://datarockets.com/blog/ultimate-startup-metrics-guide/">Startup Metrics</a>.</p><h3>MVP Scope Definition</h3><p>If you’ve successfully reached this stage, congratulate yourself for making good progress! You now have a very good reason to believe that your idea is worth developing. Time to define the scope of work by preparing for MVP building:</p><ol><li>Define your <strong><em>go-to-market business model</em>.</strong></li><li>Conduct interviews with customers who have signed up. Ask about their expectations and top-3 features they’re looking to implement in the product. Match their expectations with your pricing model.</li><li>Do a cross-analysis of the interviews in order to find out the most desirable features. Consider writing simple User Stories.</li><li>Predict revenues for 100/1000/10000 paying customers and calculate your business model’s unit-economics</li><li>Obtain estimates on the numerous features and determine the ones you wish to include in the MVP. Make it a point to only include the most important features that help validate your key assumptions. You can always add the rest at a later stage. Ensure that your budget for MVP is less than 30k-40k.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KBVGMFUJMKVQ_Dru.png" /></figure><h3>Conclusion</h3><p>Yeah, it does look like a long, tedious process. But here’s the good news for you! You can test your ideas quickly and effectively after gaining some experience.</p><p>Another piece of good news: if you happen to fail at any stage, there’s no reason to be upset about it, because it basically means that you successfully prevented your money from being wasted on developing a product that was likely to fail in the first place. Sometimes, a back-up option for a not-so-strong idea is to pivot it and repeat the cycle.</p><p>Besides, we’re always ready to help in whatever way we can with the idea validation process and product development insights. All you need to do is to drop us a line and we’ll be happy to talk!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/96/0*ACEIy3QbFSkeVKST" /><figcaption>Pavel Demeshchik, CEO at datarockets</figcaption></figure><p><em>Originally published at </em><a href="https://datarockets.com/blog/validate-startup-idea/"><em>datarockets.com</em></a><em> on November 3, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=857fa061bdf" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>