Ask HN: Caps lock warnings
One of the principles of secure programming, is to not provide too much information to the user when failing on an authorisation attempt. In other words, a potential attacker shouldn't be given information about a failed attempt that could help him/her narrow the possibilities.
Why then, do all the major OSs warn you when you've turned caps lock on while you're trying to login?
I can think of similar examples in cloud services as well (telling the user the email address doesn't exist, instead of just saying that the login failed), but that is a topic for another day...