<?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 Vaibhav Satam on Medium]]></title>
        <description><![CDATA[Stories by Vaibhav Satam on Medium]]></description>
        <link>https://medium.com/@satioO?source=rss-ea2923c9c9f8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*OrimyRMB99AFM4lKsqaUeQ.png</url>
            <title>Stories by Vaibhav Satam on Medium</title>
            <link>https://medium.com/@satioO?source=rss-ea2923c9c9f8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 02:30:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@satioO/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[Finite State Machines to Solve Frontend Complexity]]></title>
            <link>https://medium.com/@satioO/finite-state-machines-to-solve-frontend-complexity-726bf229ad5f?source=rss-ea2923c9c9f8------2</link>
            <guid isPermaLink="false">https://medium.com/p/726bf229ad5f</guid>
            <dc:creator><![CDATA[Vaibhav Satam]]></dc:creator>
            <pubDate>Thu, 16 Mar 2023 13:47:51 GMT</pubDate>
            <atom:updated>2023-03-16T13:47:51.145Z</atom:updated>
            <content:encoded><![CDATA[<p>Frontend development can be a complex task, particularly as web applications continue to grow in size and complexity. The sheer number of different user interface elements, states, and interactions involved in even a relatively simple web application can quickly become overwhelming. One way to tackle this complexity is to use finite state machines (FSMs) as a tool for organizing and managing frontend code.</p><p>Finite state machines are a mathematical abstraction that provides a formal way to model the behavior of systems. In the context of frontend development, an FSM can be used to model the behavior of a user interface by defining a set of states and the events that trigger transitions between those states.</p><p>For example, consider a simple form that allows users to enter their name and email address. The form can be modeled as an FSM with two states: “empty” and “filled”. Initially, the form is in the “empty” state, and the user can transition to the “filled” state by entering their name and email address. The form can then transition back to the “empty” state if the user deletes their input.</p><p>By modeling UI interactions in this way, developers can break down complex interactions into smaller, more manageable pieces. This can make it easier to design, implement, and test UI elements, as well as improve code quality, maintainability, and modularity.</p><p>Another advantage of using FSMs in frontend development is that they provide a clear separation of concerns between UI behavior and presentation. The FSM model describes the behavior of the UI, while the presentation layer handles the visual rendering of the UI. This separation can make it easier to modify the presentation layer without affecting the behavior of the UI, and vice versa.</p><p>FSMs can also help to reduce the risk of bugs and errors in frontend code. By defining a clear set of states and transitions, developers can ensure that UI behavior is consistent and predictable across the application. This can help to identify and resolve bugs more quickly, and reduce the risk of introducing new bugs when making changes to the code.</p><p>Finally, using FSMs can make it easier to maintain and update frontend code. Because the behavior of the UI is defined in a separate model, changes to the UI can be made more easily by modifying the FSM model. This can reduce the risk of introducing regressions or breaking existing functionality when making changes to the UI.</p><p>In conclusion, finite state machines are a powerful tool for organizing and managing frontend code. By modeling UI behavior as a set of states and transitions, developers can simplify complex interactions and improve code quality, maintainability, and modularity. With the increasing complexity of web applications, using FSMs is an important approach for frontend developers looking to build more efficient, reliable, and user-friendly applications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=726bf229ad5f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Random Variables]]></title>
            <link>https://medium.com/@satioO/random-variables-5d4945bc89a5?source=rss-ea2923c9c9f8------2</link>
            <guid isPermaLink="false">https://medium.com/p/5d4945bc89a5</guid>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[descriptive-statistics]]></category>
            <dc:creator><![CDATA[Vaibhav Satam]]></dc:creator>
            <pubDate>Mon, 07 Jan 2019 05:15:16 GMT</pubDate>
            <atom:updated>2019-01-07T06:41:15.724Z</atom:updated>
            <content:encoded><![CDATA[<h3>Understanding Random Variables</h3><blockquote>A random variable is essentially a variable whose value is subject to change due to randomness.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*WgROsTKa6diRYTG5K0R5mw.jpeg" /><figcaption>credits: BBC.com</figcaption></figure><p>We are all familiar with the concept of a constant which just means it’s fixed number and non-random variable. Here I am talking about a variable that you probably learned in algebra and there you learned that a variable is essentially something that can take on any possible number. The distinguishing factor between a random variable and the non-random variable is that with a random variable once you fix all the externalities then the variable takes on a specific value. Let me give you an example.</p><p><strong>Force = Mass * Acceleration</strong></p><p>You might say, all of these are random variables and they are. So force can be any possible value with some units but once you fix mass and fix the acceleration, a force will take on a very specific value.</p><p>The best way to describe the random variable would be to say that it can still take on a set of possible values and that set can be a very large set, it could be infinitely large set but the variable itself can take on many possible values and each of those values have a specific probability associated with it.</p><p>The best way to understand this even better is to talk about specific probability distributions that’s what we will explore in my next article.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d4945bc89a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>