<?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 Rishabh Dua on Medium]]></title>
        <description><![CDATA[Stories by Rishabh Dua on Medium]]></description>
        <link>https://medium.com/@rishabhdua?source=rss-f79ea1252926------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Du2l9VLSeEUeR5bvFWJOHA.jpeg</url>
            <title>Stories by Rishabh Dua on Medium</title>
            <link>https://medium.com/@rishabhdua?source=rss-f79ea1252926------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 15:36:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rishabhdua/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[Salary Account - Personal Finance for Engineers in India]]></title>
            <link>https://medium.com/nerdinance/salary-account-personal-finance-for-engineers-in-india-a1230a077482?source=rss-f79ea1252926------2</link>
            <guid isPermaLink="false">https://medium.com/p/a1230a077482</guid>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[indian-bank]]></category>
            <category><![CDATA[personal-finance]]></category>
            <category><![CDATA[all-india-jobs]]></category>
            <category><![CDATA[banking]]></category>
            <dc:creator><![CDATA[Rishabh Dua]]></dc:creator>
            <pubDate>Mon, 24 Jan 2022 19:59:01 GMT</pubDate>
            <atom:updated>2022-01-24T19:59:25.817Z</atom:updated>
            <content:encoded><![CDATA[<p>Some of us get a placement from college and some fight for it out after graduating. Either ways the first paycheck received is always memorable. And with the first paycheck, you also take your first step of banking, finance &amp; investment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oR-YgcrFy39X74lMxtvPNQ.jpeg" /></figure><h3>Savings Account / Salary Account</h3><p>Most of the companies in India have tie ups with one or more banks in which you can open your salary account. Depending on the size of the company and their respective accounts the banks my wary. Some frequently asked questions at this stage is:</p><h4>What is Savings Account?</h4><p>In a savings bank account, bank gives you some interest (2%-6%) on the money you keep in this account. This account in India is liquid, i.e. you can withdraw the money as frequently as you want without attracting any penalties.</p><h4>What is a Salary Account?</h4><p>As the name suggests a salary account is a bank account where you monthly salary is credited.</p><h4>Is there a difference in Savings &amp; Salary Account?</h4><p>A salary account is a savings account with some added benefits. Depending on the bank, the benefits differ. Most common benefit includes “Zero Balance”, this means bank will not charge any penalty/fees if you withdraw all your money and your account balance goes to Zero. Other benefits are preferred banking, premium debit &amp; cred cards, easier loans etc.</p><h4>Should I open a new salary account or use existing savings account?</h4><p>You can convert your existing savings account to a salary account. I have maintained a single salary account across my career.</p><h4>What should I look for in a bank?</h4><p>There are multiple aspects you should check if you have options to choose a bank. Some of the key check list is, please note this is not a comprehensive list, but some questions that will help highlight the differences between the banks.</p><ul><li>What are the ATM withdrawal charges?</li><li>What are the annual account charges?</li><li>What are the annual Debit Card charges?</li><li>How far is the branch located from your office &amp; residence?</li></ul><p>Also published on <a href="https://nerdinance.com/banking/salary-account-personal-finance-for-engineers-in-india/">Nerdinance.com</a>. For more content follow us in Insta / Twitter / FB.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a1230a077482" width="1" height="1" alt=""><hr><p><a href="https://medium.com/nerdinance/salary-account-personal-finance-for-engineers-in-india-a1230a077482">Salary Account - Personal Finance for Engineers in India</a> was originally published in <a href="https://medium.com/nerdinance">nerdinance</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Docker + Cron + Application (PHP, Python, Java etc)]]></title>
            <link>https://medium.com/the-desk-of-rishabh/docker-cron-application-php-python-java-etc-34e6c4003884?source=rss-f79ea1252926------2</link>
            <guid isPermaLink="false">https://medium.com/p/34e6c4003884</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[php]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[tech]]></category>
            <dc:creator><![CDATA[Rishabh Dua]]></dc:creator>
            <pubDate>Mon, 16 Nov 2020 14:24:27 GMT</pubDate>
            <atom:updated>2020-11-16T14:24:27.140Z</atom:updated>
            <content:encoded><![CDATA[<p>There are multiple approaches to dockerize your cron along with your application code. Let us first start with the problem statement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/935/1*Nljj42RePiR0jRTnuY1fvw.jpeg" /></figure><h4>Problem Statement</h4><p>You decide to Dockerize your application, to ease deployments, development etc etc (benefits of docker). Great! But your application uses a cron job. You want to just continue running your cron but bundle it with your docker image and think of distributing this later!</p><p>Now you have multiple processes — cron process &amp; your application process running in docker reliably.</p><h4>Assumptions</h4><ol><li>Assuming you have basic understanding docker constructs</li><li>You have cron file</li><li>You are ok with single point of failure i.e. the docker process where cron runs.</li></ol><h4>Solution</h4><ol><li>We need to ensure that cron &amp; your application process both are always running.</li><li>If docker process restarts, the cron &amp; application process starts with it.</li></ol><p><strong>Using Supervisor to manage processes</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/08e3676add003c54fbdf9743923a093b/href">https://medium.com/media/08e3676add003c54fbdf9743923a093b/href</a></iframe><p>In this supervisor configuration, we have two programs configured “cron” &amp; “php-fpm”. You can replace the php-fpm with your application command.</p><p><strong>Adding Supervisor to Docker Compose file</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/cca517cd27bcf10c7216fd2a8bf36ca0/href">https://medium.com/media/cca517cd27bcf10c7216fd2a8bf36ca0/href</a></iframe><p>You can use any image your choice. Few things to look for are:</p><ol><li>supervisor &amp; cron are installed.</li><li>Entrypoint is pointed to the supervisord command.</li></ol><p>There are other alternatives as well, in which you add the cron &amp; your process applications as part of a bash file and put that in Entrypoint.</p><p>The problem with that is uptime monitoring is not guaranteed and you don’t have levers to restart just one process.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=34e6c4003884" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-desk-of-rishabh/docker-cron-application-php-python-java-etc-34e6c4003884">Docker + Cron + Application (PHP, Python, Java etc)</a> was originally published in <a href="https://medium.com/the-desk-of-rishabh">The Desk of Rishabh</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[There is more to UI development than Javascript!]]></title>
            <link>https://medium.com/the-desk-of-rishabh/there-is-more-to-ui-development-than-javascript-9eb0397c8bef?source=rss-f79ea1252926------2</link>
            <guid isPermaLink="false">https://medium.com/p/9eb0397c8bef</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[ui]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Rishabh Dua]]></dc:creator>
            <pubDate>Tue, 02 Jun 2020 18:41:44 GMT</pubDate>
            <atom:updated>2020-06-05T07:40:50.422Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UWwvW4iLIOQ9XRuKqOSyPA.jpeg" /></figure><p>JS Frameworks like React, Angular, Vue etc are making it more exciting to build web (and mobile) applications with ease. They are not only reducing development time but also more developers are trying them out and becoming “UI developers”.</p><p>I have received multiple UI developer profiles here in Bangalore, India who have worked on React or Angular for 2–3 years but have no idea about the ecosystem around them. So thought to write a blog and explain what actually entails to be a UI developer and its much more than creating a few components / flows in your favourite framework.</p><p>UI developer should have good understanding of the entire web stack and not just the client side. Broadly the topics for a UI developer other than client side development are:</p><ol><li>HTTP, Websockets, TCP</li><li>API Design</li><li>Webservers, CDN</li><li>Security</li><li>DevOps, Site Reliability, Operations</li></ol><h3>Protocols — HTTP, Websockets, TCP etc</h3><p>Understanding of http constructs like HTTP 1.1 vs HTTP 2, Websockets, REST API, Client side &amp; Server side static resource caching, CDN etc all give a developer exposure to the actual architecture. The developer understands how actually the client side resources land on the browser and what are the tweaks necessary to give a better experience.</p><p>I am not saying you to understand how actually the protocol was defined and read the white paper. But its different constructs like “Request Methods”, limitations like size of URL, size of Cookie Header, sending data in JSON, XML, headers for downloading a file. There are plenty of blogs and reading material on these.</p><h3>API Design</h3><p>API design is not just the REST/SOAP API design but also your own component properties are nothing but APIs. So for a UI developer a deep understanding of sound principles for API design are paramount.</p><p>As a UI developer you will work on top of the some set of webservice API exposed by backend in one project or the other. Reading through REST constructs will give you some context on how the API design actually works.</p><h3>Webservers, CDN</h3><p>One of the most commonly used open source webserver to serve static resources “nginx”. Pick a webserver that you work on, and you should have a working knowledge of its basic config parameters like enabling caching, gzip, rewrite rules and the likes.</p><p>Most of the client side resources are being served via CDN. Frameworks like Gatsby are taking server side rendering to the CDN as well. As a UI Developer you should know when and why to choose a CDN.</p><h3>Security</h3><p>The amount of attempts to hack a website are on the reason both black hat and white hat hackers are attempting on many popular websites every single second.</p><p>Basic attacks like IFRAME, CORS, XSS are now well known, but just keeping up to date with latest vulnerabilities allows you to take decision while implementing.</p><h3>Operations — Devops, SRE etc</h3><p>The actual deployment and rollout of your code, using &amp; setting up tools for CICD. Creating dockers, hooking up to kubernetes, integrating github repo with jenkins etc all are parts and parcel of working on your project. Adding to this adding Alerts &amp; Monitoring to your projects. Integrating systems like logstash, sentinel, pingdom etc to make your project reliable.</p><h3>Summary</h3><blockquote>To summarise, don’t get stuck with a particular framework, always question how things are working around your ecosystem to expand your learning.</blockquote><p>References</p><ol><li><a href="https://roadmap.sh/frontend">https://roadmap.sh/frontend</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9eb0397c8bef" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-desk-of-rishabh/there-is-more-to-ui-development-than-javascript-9eb0397c8bef">There is more to UI development than Javascript!</a> was originally published in <a href="https://medium.com/the-desk-of-rishabh">The Desk of Rishabh</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flipkart Data Platform — India’s largest eCommerce Big Data Platform]]></title>
            <link>https://blog.flipkart.tech/overview-of-flipkart-data-platform-20c6d3e9a196?source=rss-f79ea1252926------2</link>
            <guid isPermaLink="false">https://medium.com/p/20c6d3e9a196</guid>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[backend]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[hadoop]]></category>
            <dc:creator><![CDATA[Rishabh Dua]]></dc:creator>
            <pubDate>Tue, 06 Feb 2018 06:56:38 GMT</pubDate>
            <atom:updated>2019-11-22T13:00:09.457Z</atom:updated>
            <content:encoded><![CDATA[<h3>Flipkart Data Platform — India’s largest eCommerce Big Data Platform</h3><p>Flipkart’s growth has been exponential and our tech systems have had to scale rapidly to keep up. We have embraced <em>service oriented architecture (SOA) </em>building thousands of micro-services that power specific user experiences — such as search service, product listings service, pricing engine, estimating delivery dates etc. Each micro-service maintains domain data in the data store of their choice be it MySQL, HBase, Redis, Elasticsearch and more. Analytics, Insights, Data Science and even other micro-service teams depend on data from multiple teams to run their business as usual.<strong> Flipkart Data Platform</strong> (FDP) provides the capabilities necessary for the teams to consume and act on this data.</p><p>To give some perspective on the data scale at Flipkart, FDP currently manages a 800+ nodes Hadoop cluster to store more than 35 PB of data. We also run close to 25,000 compute pipelines on our Yarn cluster. Daily TBs of data is ingested into FDP and it also handles data spikes because of sale events. The tech stack majorly comprises of HDFS, Hive, Yarn, MR, Spark, Storm &amp; other API services supporting the meta layer of the data.</p><p>Overall FDP can be broken down into following high level components.</p><ol><li>Ingestion System</li><li>Batch Data Processing System</li><li>Real time Processing System</li><li>Report Visualization</li><li>Query Platform</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TVaSyKyj2vrk5qvy." /><figcaption>FDP High Level Component Design</figcaption></figure><h3>Ingestion System</h3><p>Each team in Flipkart ingests data in FDP. Each ingested payload has a fixed schema which can be created via a self serve UI. The tech stack for the system includes Messaging Queue (Kafka), Dropwizard, HDFS, Quartz, Azkaban &amp; Hive.</p><p>Ingestion can happens via</p><ol><li><strong>Specter</strong> — a Java Library which sends the payload to FDP Kafka</li><li><strong>Dart Service</strong> — a Rest service via which the team can send their payload over HTTP</li><li><strong>File Ingestor </strong>— a CLI tool to dump the data directly into FDP’s HDFS</li></ol><p>The user creates a schema for which a corresponding Kafka topic is created. Using Specter or Dart client the user can start ingesting the data to FDP. The schema can also contain validations which are performed before the ingestion happens, in case of the validation failures the payload goes to sideline queue, which the owner team can revisit, fix the error and reingest.</p><p>The ingestion system then stores the payload in HDFS files as raw Hive Tables and then journaling is run on top to make the data in the payload queryable.</p><p>The challenges in creating &amp; maintaining each type of ingestion system to handle terabytes of data per hour will be detailed in next blog posts.</p><h3>Batch Data Processing System</h3><p>The ingested data which is now queryable via hive queries is ready to be prepared for consumption. A user can create a Star Schema of Fact with multiple dimensions. The facts and dimensions can either be Hive tables or Vertica tables.</p><p>Facts/Dimensions are created by first defining a schema and using Hive jobs to populate the schema using the variety of ingested data or other Facts. These Facts &amp; Dimensions are used to generate reports or can be exported to the respective team’s HDFS clusters for further systematic consumption.</p><p>Many optimizations have been built around handling lineage &amp; runtime of dependencies on the fact which will be detailed in following blog posts.</p><h3>Real time Processing System</h3><p>The real time ingested data which happens via Dart or Specter clients can be directly consumed via their respective Kafka topics. Flipkart Streaming Platform (FSP) enables plugging up custom spark jobs to these topics.</p><p>The streaming platform allows near real time aggregations to be built on all the ingested data. We also have the ability of generating rolling window aggregations i.e. 5 mins, 1 hour, 1 day, 1 month or Historic for each of the metrics.</p><h3>Report Visualization</h3><p>Once the Analyst has created a Fact &amp; Dimension in a columnar storage RDBMS (like Vertica). We can create boilerplate reports on top of the data using an in-house self serve ui. Analysts can come and select the various metrics, filters &amp; group by dimensions. According to the selection a set of allowed visualization charts are visible to the user.</p><p>The query is generated and triggered when the report is viewed. The query result on the chart is cached for 12 hours. Users can also subscribe to the result of the report and get notified via a scheduled email.</p><h3>Query Platform</h3><p>Flipkart Analysts, Accounting &amp; Data science need an ad-hoc gateway to fetch &amp; play around with the data in FDP. We currently support it via an Apache Lens powered UI. We have built custom REST constructs around Apache Lens allowing easier systematic integration of the ad-hoc framework as well.</p><p>Users can simply trigger a hive query using the Query UI interface and the output can be downloaded as a CSV (other output options are being built). This allows easier playground for exploration.</p><h3>What are the next efforts focused on?</h3><ol><li><strong>Data Quality Efforts</strong><br>Flipkart’s data analysts &amp; data scientists rely on the data ingested and processed on FDP. Solving for data quality is the need of the hour. We have a few solutions in the works.</li><li><a href="https://tech.flipkart.com/searching-flipkart-data-catalog-with-apache-jena-8398cc66fd2e"><strong>Knowledge Graph</strong></a><br>Why and how we implemented a knowledge graph to show the data flow from ingestion to derived data. This helps us with RCA, optimizations and give an bird eye’s view of each pipeline.</li><li><strong>Minimizing Compute Usage </strong><br>We are constantly looking for ways to reduce the processing compute being used on FDP. Currently efforts are being developed on Common Data Model to generate org wide aggregates which can be directly referenced and hence reducing the compute in each processing jobs.</li><li><strong>Real time report generation<br></strong>With FStream generating near real time aggregates, currently the reports are auto loaded in N seconds. This will soon be migrated to websockets directly pulling data from the output of the FStream.</li></ol><p>We will follow up with more detailed blog posts on each of current and new offerings. Each component deserves their own in depth walkthrough as they solve a specific problem at TB/PB scale.</p><p><em>Want to work on our Data Platform? We’re always looking for </em><a href="http://flipkartcareers.com/"><em>talented people to join our Data Platform Team</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20c6d3e9a196" width="1" height="1" alt=""><hr><p><a href="https://blog.flipkart.tech/overview-of-flipkart-data-platform-20c6d3e9a196">Flipkart Data Platform — India’s largest eCommerce Big Data Platform</a> was originally published in <a href="https://blog.flipkart.tech/">Flipkart Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BlockChain Glossary]]></title>
            <link>https://medium.com/@rishabhdua/blockchain-glossary-afb61ce4882?source=rss-f79ea1252926------2</link>
            <guid isPermaLink="false">https://medium.com/p/afb61ce4882</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[blockchain-technology]]></category>
            <category><![CDATA[etherium]]></category>
            <category><![CDATA[bitcoin]]></category>
            <dc:creator><![CDATA[Rishabh Dua]]></dc:creator>
            <pubDate>Fri, 06 Oct 2017 09:41:13 GMT</pubDate>
            <atom:updated>2017-10-06T09:41:13.851Z</atom:updated>
            <content:encoded><![CDATA[<p>BlockChain consists of many terms and the interplay among them is what creates this protocol. Most of these terms have been in existing for over 30 years but never used together.</p><p>Block</p><p>Node</p><p>Mining</p><p>Consensus Rules</p><p>OpenSSL</p><p>Forking</p><p>SHA256</p><p>HASH-160</p><p>RIPEMD-160</p><p>“Proof of Work”</p><p>— — — — — — —</p><p>Bitcoin</p><p>Hyperledger</p><p>Ripple</p><p>Etherium</p><p>Factom</p><p>— — — — — — —</p><p>Useful Links</p><p><a href="https://en.bitcoin.it/wiki/Main_Page">https://en.bitcoin.it/wiki/Main_Page</a><br><a href="https://bitcoin.org/en/bitcoin-core/">https://bitcoin.org/en/bitcoin-core/</a><br><a href="https://www.youtube.com/watch?v=fw3WkySh_Ho">https://www.youtube.com/watch?v=fw3WkySh_Ho</a><br><a href="https://www.youtube.com/watch?v=8FeAXjkmDcQ">https://www.youtube.com/watch?v=8FeAXjkmDcQ</a><br><a href="https://ethereum.org/">https://ethereum.org/</a><br><a href="https://github.com/ethereum/go-ethereum/wiki">https://github.com/ethereum/go-ethereum/wiki</a><br><a href="http://ethdocs.org/en/latest/">http://ethdocs.org/en/latest/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=afb61ce4882" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Layman : BlockChain]]></title>
            <link>https://medium.com/the-desk-of-rishabh/layman-blockchain-f2168718f44d?source=rss-f79ea1252926------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2168718f44d</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[bitcoin]]></category>
            <dc:creator><![CDATA[Rishabh Dua]]></dc:creator>
            <pubDate>Fri, 06 Oct 2017 07:29:27 GMT</pubDate>
            <atom:updated>2017-10-06T07:29:27.512Z</atom:updated>
            <content:encoded><![CDATA[<p>Trying my hand to understand and explaining the BlockChain technology.</p><p>Lets begin with oversimplification of the fundamentals</p><p><strong>Trust is the fundamental currency of commerce</strong><br>The currency note is issued in trust. You trust the Reserver/Federal Bank of your country <br>The records &amp; owner ship details of the house you want to buy are also on the based on trust. You verify the record from your lawyer, real estate agent &amp; still be wary about its correctness.</p><p>The “ledger” is associated with each transaction we do in real life. There is ledger associated with each purchase, sale, exchange, modification. You buy a car, the sale history, service history are ledgers. The intellectual property, song/art copyrights, are recorded ledgers. These ledgers work on the principle “<strong>Trust but Verify</strong>”.</p><p>Intermediaries are hence created to maintain these ledgers. Banks are the most common intermediaries. Vehicle &amp; Home Registries and other government agencies. These intermediaries help us <strong>Verify &amp; Trust.</strong></p><p><strong>Here is where BlockChain fundamentally comes in<br></strong>BlockChains consists of 3 high level constructs.</p><ol><li><strong>Block</strong>: A block is a list of transactions/records. Block can be thought as a notebook keeping a list of transactions or a ledger.</li><li><strong>Chain</strong>: A chain is created by linking the current block with all the previous blocks. How the link is created? Simply put, Block contains a KEY which was created by using the current BLOCK data + KEY of the previous BLOCK.</li><li><strong>Network</strong>: A network is interconnected computers, they connect with each other. Each computer is called a NODE. Each node has the complete Chain. A Node can validate the transactions in the block. A Node can also be a Miner, who creates a blank Block. Nodes are everywhere (distributed) and each Node can validate each Block (no central intermediary)</li></ol><p><strong>Lets take an example and see how the above 3 parts inter play. </strong>Say you purchase a used car. You would want to see the Insurance history of the car. Insurance company starts a BlockChain of transactions. Each purchase/renewal/lapse of insurance of a car is recorded as a transaction in a block.</p><p>Day 1. New insurance for your Ferrari — Block 14 — Key 14</p><p>Day 365. Insurance Lapse your Ferrari — Block 47 — Key 47</p><p>Day 370. Insurance Renew your Ferrari — Block 51 — Key 51</p><p>The above three transactions occur on different days, and are recorded on the block that was active on that particular day. Each <strong>Block</strong> has a associated Key. Each Key is created by combining the Current Block and previous Key and creating a chain 47, 48, … 51. So if someone tries to remove the Lapsed transaction. The KEY 47 will be changed to Key 47(2). Hence causing a cascading change on all Blocks on top of Block 47. Each <strong>Node </strong>(distributed computer)<strong> </strong>now can validate easily and say the Keys are not correct hence someone tried to change already recorded transaction.</p><blockquote><strong>BlockChain</strong> takes the “<strong>Trust But Verify</strong>” flow out of the hands of intermediary and gives anyone with a simple computer to validate the information transfer.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2168718f44d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-desk-of-rishabh/layman-blockchain-f2168718f44d">Layman : BlockChain</a> was originally published in <a href="https://medium.com/the-desk-of-rishabh">The Desk of Rishabh</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[We all have heard travelling opens up our minds. Its my turn to tell you that.]]></title>
            <link>https://medium.com/@rishabhdua/we-all-have-heard-travelling-opens-up-our-minds-its-my-turn-to-tell-you-that-e9ef31871fd8?source=rss-f79ea1252926------2</link>
            <guid isPermaLink="false">https://medium.com/p/e9ef31871fd8</guid>
            <category><![CDATA[motivation]]></category>
            <category><![CDATA[adventure]]></category>
            <category><![CDATA[travel]]></category>
            <dc:creator><![CDATA[Rishabh Dua]]></dc:creator>
            <pubDate>Mon, 15 Feb 2016 11:25:21 GMT</pubDate>
            <atom:updated>2016-02-15T19:16:21.369Z</atom:updated>
            <content:encoded><![CDATA[<p>Over the past 6 months, I have started taking many short trips in and around Bangalore, India. Everything from small treks to doing nothing but staring into the forest and mountains.</p><blockquote>Cometh the weekend cometh the trip.</blockquote><p>I just realised that I travelled close to 5000 km in last 6 months and most of them being just 1 day trips of close to 200km each. The diverse variety of places around Bangalore is something which would last a good impact on your mind.</p><p>The most recent trip was to Bandipur National Park &amp; Tiger reserve about 250 km from Bangalore. We had booked a nice cosy homestay kind resort “Dhole’s Den”. The place had a very earthy &amp; natural feel, surrounded by forest &amp; hills. There was a constant breeze flowing, the rooms were designed to harness the breeze, we didnt even need a fan. The ambience, breeze, view &amp; calmness just was too serene.</p><p>They had arranged a safari to the forest, but I was too hustled with the daily work, the drive to the place and wanted some rest. We skipped the safari and ended up relaxing and reseting ourselves. We woke up and went to sit around a bonfire to find out that there are only 2 other couples in the resort. One couple was from London the other from Florida.</p><p>More than anything, the conversation that happened were interesting and left a mark. The Brit couple were about 65+ years old and they were now taking time out to explore. Travelling to various countries and India being one of it. The guy was <a href="https://en.wikipedia.org/wiki/Cornish_people">Cornish</a>, yeah it was the first time I heard about this community. It was interesting to learn that they had their own “<a href="https://en.wikipedia.org/wiki/Cornish_language">Cornish language</a>” but it was never documented or scripted and the last person who spoke Cornish died in 1961, or so he told.</p><p>Well the most interesting thing was to see how they were enjoying lives after being 60. It gave me even more motivation to get up and do something I enjoy even if its something related to work, family, travel, shopping. But something!</p><p>The other couple were Americans from Florida. They were avid mountain trekkers and globe trotters. Despite being in their late 50’s, being grandparents, they just trekked in the western ghats. They have trekked few of the tallest mountains in Himalaya (not the Everest but few of the other peaks close to 3000 meters!).</p><p>The american lady still hits the gym everyday and hates food! Yeah she hates food. We had a good laugh at that since her husband is a big foodie. His expressions were priceless.</p><p>I was amazed to see here I sit in our late 20s not doing anything to push myself, slowly fitting right into the overcrowded monotonous tracks which the many millions are already racing in.</p><p>Waking up the next day sitting in the balcony taking in the breeze looking into the distant and something completely different was running in my mind than what was I came to the same place yesterday.</p><p>To change your thought, you must experience.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e9ef31871fd8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why is programming so…]]></title>
            <link>https://medium.com/@rishabhdua/why-is-programming-so-877e4c52b821?source=rss-f79ea1252926------2</link>
            <guid isPermaLink="false">https://medium.com/p/877e4c52b821</guid>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Rishabh Dua]]></dc:creator>
            <pubDate>Sat, 12 Jul 2014 19:19:30 GMT</pubDate>
            <atom:updated>2017-12-21T06:10:02.677Z</atom:updated>
            <content:encoded><![CDATA[<p>Here is the first part of many blog posts to come explaining some of the <em>“Frequently thought but not asked questions”. </em>If you have some questions, please feel free to leave them in the comments of this post. Would love to answer them.</p><h3>Cryptic</h3><p>Any new language (French, German, Italian) you hear/read will at first will look cryptic. As you get accustomed to it, it will feel natural. Once you understand why a piece of code is written using a particular “syntax” (more on this later) it will be easy for you to relate to it.</p><h3>Rigid or Strict</h3><p>Each spoken/written language has a grammar. Similarly each programming language has a syntax. The only difference here is Human’s can understand the hidden meaning in the dialect despite incorrect grammar, by considering other factors like the environment, the gestures etc. Unfortunately the computers are not yet this advanced, if we use the wrong syntax, the computer does not take the other factors in the scenario. Only your imagination and requirement are restricting you from creating a software. Programming is not rigid or strict, it’s not stopping you to create something.</p><h3>Diverse</h3><p>Over the years, with interests of more companies, developers, scientists and customer requirements; computer programming had to evolve and with this evolution many diverse but necessary languages were created. Again here we can see an analogy to just any other spoken/written language. Latin for example has been evolved into french, english, german, italian. Sanskrit is evolved into hindi, kannada, tamil and bengali. Similarly over the years, one programming language was evolved into more simpler programming languages. The programming language C is used as the base for most of the other languages like Python, PHP, Ruby (don’t get scared here, these are just the names of some the programming languages).</p><p><em>Originally published at </em><a href="http://rishabhdua.com/blog/07/why-is-programming-so/"><em>rishabhdua.com</em></a><em> on July 12, 2014.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=877e4c52b821" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>