DEV Community

Ridhi Singla
Ridhi Singla

Posted on


Motivated but no consistency?

“I’ve got tons of motivation, but no consistency” - This is true for many aspirants :(


The main reason is that motivation should only be a helper in your journey, not the main driving factor.

It would take just one DSA problem to get stuck on and that would just take my motivation away, even raising doubts in my mind about whether I should give up - but I didn’t. Why?

Because of my habit, I was consistent throughout the prep and it helped me in moments like these, I would just keep trying and understanding until a solution came up.

Similarly, you’ll too have to start working on making consistent practice more of a habit, rather than requiring motivation every time.

Top comments (0)

An Animated Guide to Node.js Event Loop

Node.js doesn’t stop from running other operations because of Libuv, a C++ library responsible for the event loop and asynchronously handling tasks such as network requests, DNS resolution, file system operations, data encryption, etc.

What happens under the hood when Node.js works on tasks such as database queries? We will explore it by following this piece of code step by step.