01Jun 15, 2026/2 minTOCTOU - the gap between checking and usingYou peek into your wallet at the counter, see a ₹500 note, and decide "yes, I can afford this". You walk to billing, but by then your friend…securityrace conditionconcurrencyprogramming
02Mar 11, 2023/3 minTop 10 tools you need as developerIntroduction As a developer, it is essential to have the right set of tools to help you streamline your workflow and boost productivity…programmingsoftware developmentfrontend developerbackend developer
03Oct 17, 2022/3 minBeing a privileged websiteWe all know that not everyone in this world is having equal privileges. I have spent quite a lot of time fixing IE bugs in my early stage of…programmingsoftware development
04Oct 2, 2022/1 minOstrich algorithmWith ever growing tech debts in any software products, sometimes we are overwhelmed with the number of backlog items. let's say we have a email validation in website during sign-up. we might want to do uniqueness and email format and max length of email according the RFC standard. we can only prevent case one by invoking backend. but we can prevent user inputting case two and three with plain javascript code. even if we forgot to add length validation, we will validate the email ownership by sending a mail to the inputted email. at worst case we will send invite link to invalid mail. according to wikipedia, the ostrich algorithm is a strategy of ignoring potential problems on the basis that they may be exceedingly rare. It is named after the ostrich effect which is defined as "to stick one's head in the sand and pretend there is no problem". It is used when it is more cost-effective to allow the problem to occur than to attempt its prevention. we can very well ignore the length validation since, anyways it will be validated in some other means. although email address RFC standard most likely won't change, maintaining the RFC standard based validation in our code is still and overhead. we can be ostrich in this case and pretend there is no problem.algorithmostrich algorithmprogramming
05Sep 14, 2019/3 minNULL vs EmptyI tried to book a ticket in irctc. while giving CCV of my debit card (*mandatory field), accidentally I gave empty value and proceeded to…nullemptyprogramming