<?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 Sourabh Bansal on Medium]]></title>
        <description><![CDATA[Stories by Sourabh Bansal on Medium]]></description>
        <link>https://medium.com/@sourabhbansal?source=rss-a4a24f6d88fa------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*vnSF65yEeYxRmB0T.</url>
            <title>Stories by Sourabh Bansal on Medium</title>
            <link>https://medium.com/@sourabhbansal?source=rss-a4a24f6d88fa------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 18:13:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sourabhbansal/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[आप भगत सिंह और महात्मा, दोनों को पूज सकते हैं]]></title>
            <link>https://medium.com/@sourabhbansal/%E0%A4%86%E0%A4%AA-%E0%A4%AD%E0%A4%97%E0%A4%A4-%E0%A4%B8%E0%A4%BF%E0%A4%82%E0%A4%B9-%E0%A4%94%E0%A4%B0-%E0%A4%AE%E0%A4%B9%E0%A4%BE%E0%A4%A4%E0%A5%8D%E0%A4%AE%E0%A4%BE-%E0%A4%A6%E0%A5%8B%E0%A4%A8%E0%A5%8B%E0%A4%82-%E0%A4%95%E0%A5%8B-%E0%A4%AA%E0%A5%82%E0%A4%9C-%E0%A4%B8%E0%A4%95%E0%A4%A4%E0%A5%87-%E0%A4%B9%E0%A5%88%E0%A4%82-a903178adabc?source=rss-a4a24f6d88fa------2</link>
            <guid isPermaLink="false">https://medium.com/p/a903178adabc</guid>
            <category><![CDATA[history]]></category>
            <category><![CDATA[bhagat-singh]]></category>
            <category><![CDATA[india]]></category>
            <category><![CDATA[politics]]></category>
            <category><![CDATA[mahatma-gandhi]]></category>
            <dc:creator><![CDATA[Sourabh Bansal]]></dc:creator>
            <pubDate>Sun, 30 Jan 2022 00:42:56 GMT</pubDate>
            <atom:updated>2022-01-30T04:12:42.325Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DqBJgDAd_CbFWq6CSXM6wA.png" /></figure><p>कुछ दिनों पहले अपने किसी करीबी से बात करते हुए, हम दोबारा एक सामान्य विषय पर बहस करने लगे- भगत सिंह बनाम महात्मा गांधी । यह बहस भारत को आजादी मिलने के बाद से ही छिड़ी हुई है। हालांकि, पिछले दो दशक महात्मा की स्मृति के लिए विशेष रूप से कठोर रहे हैं। बड़े पैमाने पर फर्जी खबरों और अंतर्निहित राजनीतिक एजेंडे के कारण उनकी विरासत पर हमला और आक्रामक होता जा रहा है। स्वयंभू “भगत प्रेमी” आमतौर पर अपने तर्क तीन भावनाओं पर आधारित करते हैं: -<br>1. गांधीजी भगत सिंह को बचा सकते थे।<br>2. भगत सिंह निडर थे, जबकि गांधीजी नहीं थे।<br>3. गांधी जी की दिलचस्पी सत्ता और राजनीति में थी।<br>ऊपर दिए गए ये तीनों बिंदु ही बेतुके और क्रुद्ध करने वाले हैं। साथ ही साथ, वे बहुत भोले और अपरिपक्व भी हैं। ये विचार कुछ व्यक्तियों और संगठनों द्वारा ब्रेनवॉश करने और दुष्प्रचार की बमबारी का परिणाम हैं। हालाँकि, इस लेख में, हम विशुद्ध रूप से भावनात्मक खंडन से दूर रहने की कोशिश करेंगे, और इन विचारों की तर्कसंगत रूप से जाँच करेंगे। हम इस संभावना की भी कल्पना करने की कोशिश करेंगे कि आप महात्मा और शहीद भगत सिंह की साथ में प्रशंसा कर सकते हैं।<br>कुछ लोगों के लिए ये विचार इतने मोहक होने का सबसे बड़ा कारण यह है कि वे इस अनुचित धारणा पर खेलते हैं कि इतिहास श्वेत-श्याम में लिखा गया है। हमें अपने इतिहास से एक अनुचित अपेक्षा है कि एक ऐतिहासिक चरित्र हमेशा “सही या गलत” निर्णय ले सकता है। यदि आप अपने स्वयं के जीवन के निर्णयों की बारीकी से जांच करने की कोशिश करते हैं, तो आप महसूस करेंगे कि यह एक आम आदमी के लिए भी बहुत ही भोली और अनुचित अपेक्षा है। अब कल्पना कीजिए कि वास्तव में एक राष्ट्रीय नेता के रूप में यह कार्य करना कितना कठिन होगा। हमें यथार्थवादी होना चाहिए और यह महसूस करना चाहिए कि नायक अचूक नहीं होते हैं। कि हमेशा “सही विकल्प” नहीं होता है।<br>क्या गांधीजी शहीद भगत सिंह को बचा सकते थे? इस प्रश्न का उत्तर देने से पहले हमें एक महत्वपूर्ण सवाल पूछने चाहिए- क्या शहीद भगत सिंह खुद बचाया जाना चाहते थे? सार्वजनिक डोमेन में पर्याप्त ऐतिहासिक दस्तावेज हैं, जो इस तथ्य की ओर इशारा करते हैं कि शहीद भगत सिंह कभी भी, किसी के द्वारा बचाया जाना नहीं चाहते थे। वह गिरफ्तार होना चाहते थे। वह जानते थे कि उनकी फांसी एक क्रांति को जन्म देगी। वह चाहते थे कि उनकी मृत्यु प्रेरणा देगी। शहीद भगत सिंह एक सच्चे और निडर क्रांतिकारी थे। केवल यह धारणा भी कि वह बचाया जाना चाहते थे, उनकी स्मृति और विरासत के लिए एक अपकार है।<br>शहीद भगत सिंह की फांसी के खिलाफ गांधीजी की मजबूत अपील और बाद में फांसी की निंदा के बारे में भी पर्याप्त दस्तावेज उपलब्ध हैं। हमें यह समझना होगा कि महात्मा ब्रिटिश सरकार नहीं थे। यह सच है कि उनकी अधिकांश अपीलों को ब्रिटिश प्रशासन सुना करता था। पर उनकी सभी अपीलों का परिणाम सफल ही होगा, यह मान लेना सरासर बचकानीय है।<br>क्या गांधीजी अन्य स्वतंत्रता सेनानियों की तरह निडर नहीं थे? यह कुछ लोग की सबसे दुखदायी धारणा है। यह बिल्कुल गलत और निंदनीय भी है। मेरा मानना ​​है कि यह धारणा इस गलत तर्क पर आधारित है कि अहिंसा और साहस एक दूसरे के विपरीत है। वे यह महसूस करने में विफल रहते हैं कि अहिंसा के लिए असाधारण साहस की आवश्यकता होती है। मैं आपको एक उदाहरण देता हूं- मुझे कुत्तों से डर लगता है और जब भी कोई कुत्ता मुझ पर भौंकता है, तो मेरा पहला आवेग उसे मारने का होता है। जबकि अगर कोई बिल्ली मुझ पर चिल्लाती है, तो मैं उसे अनदेखा कर सकता हूं। अगर यह कुत्तों का एक झुंड है, या वास्तव में एक बड़ा कुत्ता है, तो मैं दौड़ूंगा। दुर्भाग्य से, अनगिनत मुठभेड़ों के कारण मुझे पता है कि यह सच है। ऐसा क्यों है? क्योंकि कुत्ते के प्रति मेरा डर एक हिंसक प्रतिक्रिया, या भाग खडे होने की प्रतिक्रिया को उकसाता है। जब हम डरे हुए होते हैं, तो मानव मस्तिष्क लड़ाई-या-उड़ान प्रतिक्रिया का ही सहारा लेता है। जब आप बंदूक की बैरल के आगे खङे हों, या हिंसक भीड़ से घिरे हों, तो इन प्रवृत्तियों को अनदेखा करने के लिए असाधारण मात्रा में साहस और आत्म-नियंत्रण की आवश्यकता होती है।<br>यदि यह आपको विश्वास नहीं दिलाता है, तो महात्मा द्वारा कई साहसी कार्यों का इतिहास साक्षी है: -<br>1. प्रथम विश्व युद्ध के दौरान युद्ध के मैदान में एम्बुलेंस चलाना, जिसके लिए उन्हें युद्ध पदक मिला।<br>2. जीवनभर दंगा प्रभावित क्षेत्रों का भ्रमण करते रहना। इन यात्राओं में अत्यधिक खतरनाक क्षेत्रों में अक्सर पर्याप्त भोजन या सुरक्षा के बिना कई मील चलना शामिल था। यह बंगाल दंगों के दौरान विशेष रूप से महत्वपूर्ण था, जो 1947 में भारत के विभाजन से शुरू हुआ था। गांधीजी के इस दौरे ने एक विस्फोटक स्थिति को शांत करने में मदद की। यह दौरा अनगिनत लोगों की जान बचाने के लिए अकेले ही जिम्मेदार था।<br>अंत में, मैं आपसे अपने दिमाग को खोलने, और हमारे देश की दो महान आत्माओं की विरासत को अपनाने, का आग्रह करता हूं। अगर कुछ और आपको आश्वस्त नहीं करता, तो याद रखें, शहीद भगत सिंह महात्मा की प्रशंसा करते थे और उनका सम्मान करते थे। उन दोनों के तरीके अलग-अलग थे, लेकिन एक साझा जीवन का उद्देश्य था- स्वतंत्र भारत का सपना। शहीद भगत सिंह अंत तक महात्मा में विश्वास रखते रहे। शहीद भगत सिंह ने अपने पिता किशन सिंह के साथ अपनी आखिरी बातचीत में एक उत्साही अपील की “आपको अपने जनरल (गांधी) का समर्थन करना चाहिए। तभी आप देश के लिए आजादी हासिल कर पाएंगे।” जिस पैमाने पर महात्मा की विरासत पर हमला बढ़ रहा है, हमें इन शब्दों को याद रखना अच्छा होगा।</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a903178adabc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You can idolize Bhagat Singh, and the Mahatma too]]></title>
            <link>https://medium.com/@sourabhbansal/you-can-idolize-bhagat-singh-and-the-mahatma-too-7e604afc117f?source=rss-a4a24f6d88fa------2</link>
            <guid isPermaLink="false">https://medium.com/p/7e604afc117f</guid>
            <category><![CDATA[politics]]></category>
            <category><![CDATA[bhagat-singh]]></category>
            <category><![CDATA[india]]></category>
            <category><![CDATA[history]]></category>
            <category><![CDATA[mahatma-gandhi]]></category>
            <dc:creator><![CDATA[Sourabh Bansal]]></dc:creator>
            <pubDate>Sat, 29 Jan 2022 23:26:24 GMT</pubDate>
            <atom:updated>2022-01-31T16:16:39.067Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DqBJgDAd_CbFWq6CSXM6wA.png" /><figcaption>Shaheed Bhagat Singh (left) and Mahatma Gandhi (right)</figcaption></figure><p>The other day, while talking to someone close to me, we stumbled across a fairly common topic of discussion- Bhagat Singh vs Mahatma Gandhi. This debate has been raging ever since India received independence, which was over 7 decades ago. However, the last two decades have been particularly harsh to the memory of the Mahatma. The assault on his legacy is becoming more and more aggressive due to the rampant fake news, and the underlying political agenda. The self-proclaimed “Bhagat lovers” usually base their arguments on three emotions:-</p><ol><li>Gandhiji could have saved Bhagat Singh.</li><li>Bhagat Singh was fearless, while Gandhiji was not.</li><li>Gandhiji was interested in power and politics.</li></ol><p>All these three points above are absurd and infuriating. They are also very naïve and immature. These views are the result of brainwashing and bombardment of propaganda by a few individuals and organizations. However, in this article, we will try to stay away from a purely emotional rebuttal, and examine these views rationally. We will also try to imagine the possibility that you can idolize and admire the Mahatma, and Shaheed Bhagat Singh.</p><p>The biggest reason that these views are so seductive to some people is that they play on the unreasonable assumption that history is written in black-and-white. We have an unreasonable assumption and expectation from our history, where a character can make a “right or a wrong” decision. If you just try to examine your own life’s decisions closely, you will realize that this is a very naïve and unreasonable expectation even for a common man. Now, imagine how tough it must be to act as a national leader in a truly chaotic era. We have to be realistic and realize that heroes are not infallible, that there is not always a “right choice”.<br>We also fail to ask a crucial question when trying to debate if Gandhiji could have saved Shaheed Bhagat Singh- did Shaheed Bhagat Singh wanted to be saved? There is ample historical documentation in the public domain, which points to the fact that Shaheed Bhagat Singh never wanted to be saved by anyone. He wanted to be arrested. He knew that his execution would spark a revolution. He wanted his death to inspire. Shaheed Bhagat Singh was a true and fearless revolutionary. Even the assumption that he wanted to be saved, is a disservice to his memory and legacy.<br>There is also ample documentation available about Gandhiji’s strong appeals against Shaheed Bhagat Singh’s execution, and subsequent condemnation of the execution. We have to understand that the Mahatma was NOT the British Government. It is true that most of his appeals had listeners amongst the elite British administration. However, it is unrealistic to assume that all his appeals would have a successful outcome.</p><p>Was Gandhiji not as fearless as some other freedom fighters? Well, this is the most tragic assumption that some people make. It is also absolutely wrong and disgusting. I believe it is based on the assumption that non-violence is the opposite of bravery and revolution. However, they fail to realize that non-violence requires extraordinary courage. Let me give you an example- I am scared of dogs and whenever a dog barks at me, my first impulse is to hit it. While if a cat meows at me, I can just ignore it. If it’s a pack of dogs or a really big dog, I will just run. Unfortunately, I know that this will be true because of countless encounters with them. Why is that? Because my fear of the dog provokes a violent response, or a flight. Human brain is hardwired to provoke a fight-or-flight response when they are scared. It requires an extraordinary amount of courage and self-control to ignore these instincts when you are staring down the barrel of a gun, or are surrounded by a violent mob.<br>If this doesn’t convince you, there is also recorded history of several mainstream courageous acts by the Mahatma like<br>1. Driving ambulances in the battlefield during the first world war, for which he received the War medal.</p><p>2. Touring riot-ravaged areas throughout his life. These tours involved walking several miles through highly dangerous areas, often without enough food or security. This was especially crucial during the Bengal riots which were triggered by the partition of India in 1947. This tour helped in calming the explosive situation and was single-handedly responsible for saving countless lives.</p><p>In closing, I implore you to open your minds and embrace the legacy of two great souls of our heritage. If nothing else convinces you, remember, Shaheed Bhagat Singh admired and respected the Mahatma. They had different philosophies and methods, but a shared vision and life’s purpose- the dream of independent India. Shaheed Bhagat Singh believed in the Mahatma even towards the end. In one of his last conversations with his father Kishen Singh Shaheed Bhagat Singh made a fervent appeal “You must support your general (Gandhi). Only then will you be able to win independence for the country”. As the Mahatma’s legacy comes under attack, we would do well to remember these words.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7e604afc117f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rockstar interviewer: Think again]]></title>
            <link>https://medium.com/@sourabhbansal/rockstar-interviewer-think-again-f279831ff6da?source=rss-a4a24f6d88fa------2</link>
            <guid isPermaLink="false">https://medium.com/p/f279831ff6da</guid>
            <category><![CDATA[coding-interviews]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[interview]]></category>
            <dc:creator><![CDATA[Sourabh Bansal]]></dc:creator>
            <pubDate>Tue, 25 Jan 2022 17:23:21 GMT</pubDate>
            <atom:updated>2022-01-25T21:40:02.243Z</atom:updated>
            <content:encoded><![CDATA[<p>TLDR- Surprising a candidate during an interview is not a good idea. Even if the surprise may be pleasant.</p><p>This post is motivated by an online interaction, where someone was raving about an awesome interview experience. This was supposed to be a coding interview with one of the top Software Engineering product companies (think Apple, Google, Uber, Netflix, Microsoft, Facebook, etc.). These companies have a standard process for software engineering interview process. The candidate thought that the interviewer was a Rockstar because:<br>1. The interviewer asked a vague, non-standard problem. This was a distributed system problem that covered several computer science concepts. The candidate were really impressed by the complexity of the problem, and the idea that this problem had many layers.</p><p>2. The interviewer spent lot of time in explaining the problem. The interviewer also had to whiteboard for explaining some of the concepts involved. The candidate was impressed by the thoughtful and awesome explanation of the problem</p><p>The candidate was rejected. However, they were really impressed by this interviewer. I disagreed with their view point. This Rockstar interviewer is not as good as they made it sound. The reasons being:<br>1. Changing the interview style dramatically and asking unexpected type of questions is probably not in the best interest of the recruiting process of the company. This is because most of the SWE interview processes consist of multiple rounds. Unless, all interviewers are aligned with this “Rockstar interviewer”, the candidate that passed this God interviewer, will fail the subsequent interviews (unless the candidate is a genius). A bad deal for the company.<br>2. In addition, unexpected interview formats can give anxiety and stress to perfectly good candidates.<br>3. An interviewer who has to spend time talking about themselves, or explaining things on the whiteboard, are doing a disservice to the candidate. The job of an interviewer is to let the candidate do most of the talking. Believe me, this problem is so prevalent in the in industry. These interviewers just cant shut up talking. Less candidate talk means less signal. Hence, higher probability of rejection.</p><p>In all, this interviewer were like a shiny Ferrari with a horse as an engine. There is a reason this candidate was rejected.</p><p>If you identify with being such an interviewer, please reconsider your approach. I want to <strong>clarify that there is nothing wrong per se with this approach of a non-standard interview</strong>. I have enjoyed several of these as a candidate. However, the key to a successful approach is to set <strong>clear expectations with the candidate well before the start of the interview</strong>. Its also essential that you are conducting the interview such that its in alignment with the company’s policies and the peer interviewers. Also, a good interview problem should need minimal explanation. This means that a good interview problem should be focused on not more than two or three concepts. This is one of the reasons why SWE interviews have several rounds. Focusing deep on a few concepts is much better than skimming over several concepts during the interview (which biases your process towards hiring candidates who can spew lots of bullshit :-)).</p><p>Thoughts?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f279831ff6da" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Indian Managers: Why do you insist on 2-month notice period?]]></title>
            <link>https://medium.com/@sourabhbansal/indian-managers-why-do-you-insist-on-2-month-notice-period-654a04d42cea?source=rss-a4a24f6d88fa------2</link>
            <guid isPermaLink="false">https://medium.com/p/654a04d42cea</guid>
            <category><![CDATA[office-culture]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[india]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Sourabh Bansal]]></dc:creator>
            <pubDate>Fri, 24 Dec 2021 20:58:31 GMT</pubDate>
            <atom:updated>2022-01-14T20:09:47.061Z</atom:updated>
            <content:encoded><![CDATA[<p>I was talking to someone, who are leaving their job as a software developer in a multinational company in India. The conversation turned to this tussle that they are having with their manager, about the notice period. Their manager insists that they serve out the full notice period of 60 days. This sparked a chain of memories in my brain, and I remembered having so many similar conversations with folks in my network. I remembered that almost everyone I talked to, in my personal and professional network, who worked in India, were forced to serve the entire length of the notice period.</p><p>In my opinion, this is such a waste of the organization’s resources and money, its risky (the person who is leaving, might convince other people to leave during their notice period), and makes zero business sense to me whatsoever. This is especially true for software engineering jobs, where its really hard to quantify the amount of work done. This practice is so prevalent in India, I used to think it is an immutable law of the universe (like the sun rising from the east), and never questioned it.</p><p>When I moved to USA, I observed that its a common practice here, that if a person has made a firm decision to leave the company, the focus shifts to conducting the knowledge transfer as soon as possible, and relieving the person. I have even seen people being let go within a day.</p><p>Thoughts? Please leave your comments..</p><p>Update: Talking to a few friends, I have come across three broad reasons for making people serve the full notice period</p><ol><li>A genuine case for knowledge transfer and replacement, that requires 2 months. This is not frequent.</li><li>A blanket policy by the company, to make everyone serve the full notice period. This seems to be quite prevalent. If I was a business owner, I would probably fire the person who came up with this idea, or tried to introduce in my company</li><li>Just the manager being vindictive. This is also prevalent. I think a manager should remember that they are burning a bridge as well. Both the manager and their report invest time in building their relationship. Its best not to burn the relationship. If you have a relationship, you might rehire that report at a later time easily</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=654a04d42cea" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Integrate Google assistant with Microsoft To-do]]></title>
            <link>https://medium.com/@sourabhbansal/integrate-google-assistant-with-microsoft-to-do-aaafade04f80?source=rss-a4a24f6d88fa------2</link>
            <guid isPermaLink="false">https://medium.com/p/aaafade04f80</guid>
            <category><![CDATA[google]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[to-do-list]]></category>
            <category><![CDATA[google-assistant]]></category>
            <category><![CDATA[microsoft]]></category>
            <dc:creator><![CDATA[Sourabh Bansal]]></dc:creator>
            <pubDate>Tue, 05 Oct 2021 18:19:56 GMT</pubDate>
            <atom:updated>2021-10-05T18:36:46.214Z</atom:updated>
            <content:encoded><![CDATA[<p>Being a forgetful person, to-do lists are my lifeline. Hence, I love the Microsoft <a href="https://todo.microsoft.com/tasks/">to-do application</a>. I have to-do lists shared with my wife, which range from groceries to books, restaurants, movies, etc. I also love the Google home and <a href="https://assistant.google.com/">Google assistant</a>. My day starts with asking the google assistant about the weather, or adding reminders.</p><p>One thing that I sorely missed, and always wanted, was the ability to use Google assistant to add items to my to-do grocery list. This is especially useful when I want to add something to my grocery list from my kitchen, where I usually do not have access to my phone. I specifically wanted to continue using the Microsoft to-do application. There are already some generic automation solutions available in the market like <a href="https://zapier.com/apps/google-assistant/integrations/microsoft-todo">Z<em>apier</em></a>. However, I could not figure out how to use it easily. So, I decided to build my own. I also wanted to do this in order to evaluate Google and Microsoft’s openness. <br>The key things I considered while building this solution were:</p><ol><li>The solution should be inexpensive, and possibly free</li><li>It should work at least with my primary to-do lists- grocery and books.</li><li>The usage should be intuitive. I should not have to remember an exact format of a sentence in order to add items to my lists</li><li>Small delays of up to 10 minutes are acceptable between adding an item to the list, and the item appearing in the list.</li></ol><p>I named my application “The shamu”. I do not have any particular reasoning behind choosing this name. It is just short and easy to pronounce.<br>Here is a diagram of the system I came up with:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*4V7WuxHknPcF8BEnon42zg.png" /><figcaption>Diagram flow of what happens when I add an item to Microsoft Todo list using google assistant (The section marked as “Microsoft internals” is just my guess of how the system works. I have no idea if it actually works like that)</figcaption></figure><p>Given below, is a brief description of the above diagram</p><ol><li>I invoke the assistant in my living room with a command like “hey google, ask the shamu to add <strong>milk </strong>to <strong>grocery</strong>”</li><li>The assistant invokes my custom-coded action, which extracts the item and the list from my query using Google&#39;s in-built machine learning.</li><li>The custom coded action then invokes the azure function as a REST API web hook, passing the extracted item and list as parameters</li><li>The azure function adds the item and list to an azure table</li><li>A daemon program runs on my own computer every 10 minutes and queries the azure table for any items and their lists. It adds these items to their respective lists using the Microsoft Graph API, and then deletes these items from the azure table</li></ol><p>Here is the demo of the system. So far, I have been able to use this setup without incurring any monetary cost. Azure function’s free tier is enough for my needs. This setup works with my grocery list and books list</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FRDrB59CmMPI&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DRDrB59CmMPI&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2FRDrB59CmMPI%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/3b2e49f7e40947501826c03592b3732a/href">https://medium.com/media/3b2e49f7e40947501826c03592b3732a/href</a></iframe><p>Hopefully, this post gives you an idea about how to use azure cloud to solve your problems, and how you can bridge the gap between two ecosystems. If you are curious and want to learn more, please comment or message me. Based on feedback, I will write follow-up posts with detailed code.</p><p>References:<br>1. <a href="https://azure.microsoft.com/en-us/services/functions/#features">Azure Functions</a></p><p>2. <a href="https://developers.google.com/assistant/conversational/overview">Google Actions documentation</a></p><p>3. <a href="https://docs.microsoft.com/en-us/graph/api/resources/todo-overview?view=graph-rest-1.0">Microsoft Graph API for todo</a></p><p>4. <a href="https://docs.microsoft.com/en-us/azure/storage/tables/table-storage-overview#:~:text=Azure%20Table%20storage%20is%20a,needs%20of%20your%20application%20evolve.">Azure tables</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aaafade04f80" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Revolutionary 90s music: Meri Marzi]]></title>
            <link>https://medium.com/@sourabhbansal/revolutionary-90s-music-meri-marzi-910963cfd27a?source=rss-a4a24f6d88fa------2</link>
            <guid isPermaLink="false">https://medium.com/p/910963cfd27a</guid>
            <category><![CDATA[bollywood]]></category>
            <category><![CDATA[90s-kids]]></category>
            <category><![CDATA[music]]></category>
            <category><![CDATA[90s-music]]></category>
            <category><![CDATA[india]]></category>
            <dc:creator><![CDATA[Sourabh Bansal]]></dc:creator>
            <pubDate>Sun, 19 Sep 2021 22:11:23 GMT</pubDate>
            <atom:updated>2021-09-19T22:11:23.937Z</atom:updated>
            <content:encoded><![CDATA[<p>Revolutionary 90s music: Meri Marzi</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FLNh_2yZX4rs%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DLNh_2yZX4rs&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FLNh_2yZX4rs%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/5dfe5bff7e4cfd6d06e05973fd6a307f/href">https://medium.com/media/5dfe5bff7e4cfd6d06e05973fd6a307f/href</a></iframe><p>Simply stated- its a great piece of art. No sarcasm intended. Great art comes from unexpected places, and this song meets the definition, by all standards. Let me explain</p><ol><li>Lets go back in time and think about living in India in the 90s. A majority of the populace grew up, and lived in the shackles of the quintessential “<em>log kya kahenge</em>?” (what will they say?). This is an expression that ruled the lives of all children, adults, and most seniors. I don&#39;t think even dying gave you any respite from the tyranny of this expression. This song challenged this expression head-on. It became our expression of personal liberty, freedom and “<em>my choice</em>”, before it became a mainstream trend. I remember using this song as an 8-year old, to challenge all authority. This song gave an expressive voice to millions of frustrated children and adults. What else do you mean by great art?</li><li>Listening to this song instantly transports one, to the year 1995. One immediately experiences a flush of memories, chanting this song while playing with friends, and the simplicity of life before the internet.</li><li>There are very few Bollywood fans, above the age of 25, who would not recognize this song immediately.</li><li>The song is trademark slapstick humor of the 90s’ Bollywood. An understanding of this song will give you more than sufficient feel and understanding of the mainstream cinema of that time, when script and common sense was a rarity and an afterthought. Though, in addition to the slapstick humor, this song also makes pointed references to several contemporary (and perennial) issues- corruption, bribery, terrorism, food shortage, etc.</li></ol><p>The song is well-choreographed, and the execution is amazing. The choice of Govinda is perfect. I cannot imagine any other actor pulling this off. His expressions are spot-on, and so are his moves.</p><p>Granted- the song is simple. However, simplicity is genius. And granted, the recording is not top-quality. Also, the movie itself is unwatchable. However, this song is amazing, and my choice for the best 90s’ song. I know you did not ask me for my opinion, but I will give it anyway. <em>Kyunki, meri marzi!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=910963cfd27a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A guide to conducting a coding interview]]></title>
            <link>https://medium.com/@sourabhbansal/a-guide-to-conducting-a-coding-interview-43ec9fd31a70?source=rss-a4a24f6d88fa------2</link>
            <guid isPermaLink="false">https://medium.com/p/43ec9fd31a70</guid>
            <dc:creator><![CDATA[Sourabh Bansal]]></dc:creator>
            <pubDate>Fri, 23 Jul 2021 22:16:04 GMT</pubDate>
            <atom:updated>2021-07-24T21:56:55.062Z</atom:updated>
            <cc:license>http://creativecommons.org/licenses/by/4.0/</cc:license>
            <content:encoded><![CDATA[<p>I have conducted plenty of software engineering interviews. I have also been on the other side of the table- acing a few, failing several. In this post, I want to list down a few learnings from the perspective of an interviewer. An interviewee will also find it helpful to read</p><p><strong>I hate these interviews. Why do they exist?</strong><br>Before going into the learnings, I want to recognize the fact that coding interviews are incredibly inaccurate in judging software engineering talent. Yet, they are the best available tool to judge your competence in a limited time, and hence, their popularity. <br>In order to make a more accurate judgement about a software engineer - you need to spend a large amount of time and energy working with that engineer. So, if you hate these interviews, you might feel extra motivation by imagining the scenario where:-<br>1. you got hired by a company</p><p>2. Spent hours learning the code base, making contributions to it</p><p>3. Got fired as you did not meet their standards</p><p>Even if you got paid in the above scenario, imagine the amount of time wasted for a business, as well as your time. And time is the most precious currency.<br>Thus, my humble advice to an interviewee- if you fail an interview, do not beat yourself over it. Take a deep breath, and move on to the next one. Most companies will check back in 6 months (or 9, or an year)</p><p><strong>Approach</strong></p><p>As an interviewer, your job is to interact with the interviewee like they are your colleague. This means that all the normal laws of human decency apply. This does not mean that you should be extra-lenient, make jokes, or be extra-helpful. Just be kind, and give them your full attention. The latter part of the previous statement is especially important in this world of decreasing attention spans, thus I will say this again- <strong>GIVE </strong>them your <strong>FULL ATTENTION</strong>. <br>1. If you are working on a critical issue, delegate it to someone before the interview.</p><p>2. In case you cannot do that, cancel the interview, or send someone else to conduct the interview. <br>3. Please do not conduct an interview if you are not 100% committed to it.</p><p>4. If you get easily distracted with your phone, leave it on your desk. Otherwise, keep it silent and out of sight for the duration of the interview</p><p><strong>Choosing a Problem</strong></p><p>In my opinion, a good problem for an engineering interview is one where</p><ol><li>You do not require too much explanation and initial details</li><li>You do not require a special trick to solve it.</li><li>Can be solved using common data-structures- arrays, linked lists, stack, queues, trees, hash-map, sets (and maybe graphs).</li><li>You do not require a special language feature to solve it.</li><li>It can be modified to increase the problem difficulty</li><li>You can discuss the tradeoff between various factors, like, space and time</li><li>Strings manipulation is a tough choice- C++ string manipulation is generally more time consuming than C#, python, etc. Hence, it conflicts with point 4 in this section</li></ol><p><strong>Examples</strong></p><p>Some examples of problems that I like to ask are:-</p><ol><li>Cache - <a href="https://leetcode.com/problems/lru-cache/">https://leetcode.com/problems/lru-cache/</a></li><li>Merging intervals- <a href="https://leetcode.com/problems/merge-intervals/">https://leetcode.com/problems/merge-intervals/</a></li></ol><p><strong>Conducting the actual interview</strong></p><ol><li>Spend 5 minutes chatting about your background. Introduce yourself to break the ice</li><li>Ask the candidate about their background as this might be helpful information for you</li><li>If you would be taking notes about the interview on a laptop, mention this to them. There is nothing more discouraging to a candidate, than a distracted interviewer.</li><li>If you expect the candidate to actually compile and run the code- set that expectation. I have lately run into some interviewers who expect that.</li><li>Set clear time expectations. If you expect to solve more than one problem, it would be great to mention it to them. One way I like to approach this is “we will spend 5 to 10 minutes introducing each other. Then we will spend 40 minutes, discussing one or two technical problems. And then I will spend the rest of the time answering any questions that you might have”</li><li>Be helpful and provide encouragement if needed. This does not mean that you should provide easy hints quickly. However, if the interviewee is proceeding in the right direction, some words of encouragement might speed them up even more. If they are stuck, talk to them and guide them as a last resort.</li><li>Even if someone will clearly not meet your expectations, be kind to them and try to give them a positive experience. Remember, being rude will spread a bad name about your company. This means conducting the full interview</li></ol><p>In closing, I would like to summarize that your job as interviewer is to be a friend of the interviewee, without appearing friendly. I hope you like this post. Please leave your perspective in comments and I will modify this post with whatever discussion makes sense to me.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=43ec9fd31a70" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>