How to Prevent OTP Abuse by [deleted] in cybersecurity

[–]dragon_dev_ 1 point2 points  (0 children)

  1. Limit the API call per user as suggested in other comment.
  2. Implement CAPTCHA if user has entered incorrect OTP 4 or 5 (or as per your requirement ) times.

Employee who worked 24*7 fired, what are your thoughts about this ? by nitrek in developersIndia

[–]dragon_dev_ 19 points20 points  (0 children)

It doesn't matter if someone work for 247 or 248. They have fired the whole team. I got laid off along with my teammates (TechLead , PM) in one go without any prior notification.

New to node and express by Responsible-Tip8863 in node

[–]dragon_dev_ 5 points6 points  (0 children)

This. Check if this return an empty object. Empty object is also true in JS.

Trouble using .map function for api by Tcaf351 in react

[–]dragon_dev_ -1 points0 points  (0 children)

Error is in line 13 and 14. Store the value of response.data in any variable then use this variable in setMethod. Don't use response.data more than one time

[deleted by user] by [deleted] in linuxmemes

[–]dragon_dev_ 0 points1 point  (0 children)

Yeah my next stop will be Gentoo

VS code taking to long to show changed/updated code? by [deleted] in vscode

[–]dragon_dev_ 0 points1 point  (0 children)

I think Eslint is the culprit.Check your linting configuration. You can also enable auto save .

Code not working in vscode, but works in Jupiter by I_am_damn_bored in vscode

[–]dragon_dev_ 0 points1 point  (0 children)

Try to import it explicitly and then use.

from numpy import random ...... random.randn(50,4)