Posts

Night with a Drunk

In May of 2018, I graduated from college. I had several job offers in hand. I decided to join Ola, an internet-based ride-hailing company in Bangalore. My joining date was 2nd July along with sixty other freshers from the top tier colleges of India. I reached Bangalore two days before the joining day. One other guy (we will call him Shashank here) from my college was also placed there. We got to know each other during the recruitment process. For our interview, we had to catch a 3 a.m flight to Bangalore from Kolkata and I stayed in his home in Kolkata for one day. His parents were very sweet during my visit.     After my flight landed I waited for him at the Airport. It was pre-decided that we will stay at a guest house for a few days, find an apartment near EGL Tech Park (our workplace was situated here), and move in as flatmates. He landed with his parents (a complete surprise to me) and we all went to the guest house. The next day I went to my cousin’s sister’s place and she insis

Debouncing defeats the Flash

Image
     How many of us are not fans of Superheros and Supervillains in Marvel and DC comics? Well, I hope many of us are. Different Superheros and Supervillains have different superpowers. But we will be talking about only one superpower today: speed. Who does not know the Flash ? He is one of the most important superheroes of DC comics. He is called a speedster, a superhero who operates at high speed. And he is not alone. There are many speedsters in different comic and movie plots like the Quicksilver who beat up the Hawkeye in 'Avengers: Age of Ultron', the woman supervillain Faora who wiped a cluster of the army and fought with the Superman in 'Man of Steel', the Quicksilver in X-Men series who was the son of the Magneto. Well don't think I am confused, the Quicksilver is a part of both X-Men and Avengers series, probably Marvel ran out of superhero names 😁. If you guys know any better reasons please comment your answers. There are many other speedster sidekicks

Machine Learning and the Pretty Girl

Image
Today, like every day, I was going through the Economic Times app in the morning. I saw a picture in the app. It was an advertisement. I had mixed feelings about it. It was a little funny and a little annoying. I am attaching the image for your reference.      A pretty girl is reading a book in a garden or a park. She is wearing her reading specs. She is well dressed, well if I am being honest, very well dressed. She is thinking about something. She has a smile on her lips, so what she is reading must be funny and/or interesting. So what's wrong with the picture? Why is it funny or annoying? Can a girl not read a book outside? What's wrong with being well dressed? Aren't you supposed to smile while reading something funny? Oh!! Are you thinking, she should not be sitting in a park alone?      Let me stop you right there. There is nothing wrong with the girl or the fact that she is smiling while reading. She is perfect. What's funny and annoying is what the advertisemen

Itch in a Developer's eyes

   I am a big fan of Prettier . As a developer, I think it makes my life easier. I can switch off a part of my brain which worries about formatting while writing code. I have integrated it with my editor. The moment I press ' save ', it formats my code. A beautiful code structure appears in front of my eyes. No worries. The first thing I do, when I set up any JS projects, is set up prettier in my workspace. Just make a '. prettierrc ' file and my editor has a plugin to detect it and my work is done. It automatically starts formatting and beautifying my code.     When I joined my current company, I had convinced my coworkers to move to prettier. They had an ESlint set up which was doing the code formatting during committing with the help of a pre-commit hook . I did not like this for two main reasons. (1) I do not like the ESlint plugin showing me spacing errors in the editor. As a result, my workspace turns red. That's why I had to disable the lint plugin in my wor

Travel Diary: Savandurga

Image
Best moments in life  are unplanned. It was the winter of 2018. The weather in Banglore was amazing. It was a season of road trips and picnics. I was staying in a boy's PG with my friend Sukumar as my roommate. After college, both of us were working in different companies in Banglore. Four months back, I had bought a bike. We would always plan that we will go on a road trip somewhere, but somehow we never could. 25th November. It was a Friday. We did not have office for the next two days. After dinner, I was watching some movie and Sukumar was lying on a sofa in the adjacent room, surfing the internet on his mobile. I got a message from Sukumar at 12.30 am. "Shall we go to Savanduraga?", the message read. "Where is it?", I asked. Sukumar came to my room and said. "It is sixty kilometers from here. We can go on the bike. I was reading reviews on the internet. People are saying sunrise from the top of the mountain is amazing." In both of our mind

The Great Depression of 1930

The Great Depression was a severe economic downturn of the modern world started in 1929 in the United State of America. It lasted till the late 1930s and affected many countries in the world.  "Those who do not remember the past are condemned to repeat it." - George Santayana   Today as we stand on the edge of an economic recession induced by Coronavirus (COVID-19) pandemic, it is worth looking back on the causes and effects of the longest, deepest and most widespread depression of the industrial world. What Caused the Great Depression?  The great depression started with the stock market crash of October 1929. The 1920s, after the end of the first World War, was a period of prosperity for America. The economy expanded rapidly and the nation's total wealth almost doubled. This induced a great optimism in the outlook of investors and the stock prices soared. Wall Street saw one of the greatest bull runs in history, S&P 500 saw a 500% rise from the low at 6.4