If building a web application using Node.js ecosystem, what practices to follow in order to ensure the packages I download are always safe and don't have any vulnerability and ensuring the security of the application/the data it holds?
How to decide which Client libraries to use in production as part of security concerns?
Recently, Axios which is a popular HTTP client with over 100 million weekly npm downloads, was compromised on Mar 30, 2026 by publishing poisoned versions in the publisher's acc hijacking it.
In C++, never rely on pow() function to get the exact integer value. 😤
I realized it the hard way today, thinking/debugging what went wrong in my code for like 20 minutes figuring out with logs.
@DDOT__pro Just practiced the patterns to help build logic strongly.
Focusing on the fundamentals currently in DSA.
And spending my rest of the time building projects side by side. 😅
Sat with solving patterns from 10:30pm till now
I solved pattern 1 to 6 in less than 45 min from Striver's AtoZ sheet
Pattern 7 so tricky it took me 1 hour to solve
[Didn't take even 0.00001% help of AI]
Was tempted to, but solved it myself & it literally boosted my confidence!
MERN STACK - Day 83
- Covered indexing in Db.
- Indexing helps when the application is at scale, ( When a table has thousands and thousands of rows ).
- Without indexing, the READ queries can have high latency leading to bad user experience to the end user
(slower api responses)
When we perform indexing, there's one slight drawback, that is, faster READS but slower WRITES.
WRITES are slow as the data has to be stored in the sorted indexed_column fashion.
SYNTAX: CREATE INDEX index_name ON table_name (column_name);
Complex indexing can also be done.
MERN STACK - Day 82
- Had an overview of capacity estimation in system design for scaling.
- What metrics are considered in it, Eg. Requests/sec, memory usage, CPU usage/VMs load etc.
- Covered horizontal scaling
- Eg. (metric): if CPU load is 50% creating a new instance
Just like how Amazon, Flipkart services get flooded with requests ( heavy load on servers ) during their sales,
Today @X and @instagram would have definitely got higher traffic / load due to PPL sharing their stats and uploading images/videos as wrap-ups of 2025. 🙃
Spent the second half of the day working on my portfolio project.
- Completed the link feature implementation
- First time ran into uncontrolled-controlled input error in react.
- resolved it by going through a blog.
https://t.co/fURcYSbrXk
MERN STACK - Day 81
- Covered system design concepts such as vertical & horizontal scaling.
- Vertical scaling involves increasing size of the machine (in terms of cores, RAM), however there are limitations to scaling vertically.
@buildinpublic I shipped https://t.co/rKhXDgKyXh
Previously worked on multiple projects but never hosted, this time focused more on making it visible to others than getting it done perfectly and then thinking of deployment.
Currently working on integrating editor in it.