Posts

Showing posts with the label article

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

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

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