News for hackers. Stuff that matters.
Re:Should I Use jwts For Authentication Tokens? by wg0 on Monday May 27, 2024 @02:55PM (#40493527)
Side question, anyone knows where the phrase "used in anger" comes from? I know it means using something in production but where does it come from?

Is it about battlefield and such?

Re:Should I Use jwts For Authentication Tokens? by mceachen on Monday May 27, 2024 @03:03PM (#40493613)
I've always heard it as a shorter alternative to "holy hell this tool is horrible but I'm unaware of an alternative, or cannot apply an alternative solution."
Re:Should I Use jwts For Authentication Tokens? by dagss on Monday May 27, 2024 @07:08PM (#40495656)
Are you sure? I have never interpreted it this way and it is the first way I hear this interpretation.

My understanding: To use something "for real" on an actual project, not just toy around with it. (What you use can be good or bad, expression doesn't say)

Re:Should I Use jwts For Authentication Tokens? by Zecc on Tuesday May 28, 2024 @04:48AM (#40498752)
My interpretation has always been the same as mceachen's, but other comments in this sub-thread have thought me I am wrong and your understanding is correct. Today I learned.

For what it's worth[0]:

> If you do something in anger, you do it in a real or important situation as it is intended to be done, rather than just learning or hearing about it

[0] https://dictionary.cambridge.org/dictionary/english/in-anger

Re:Should I Use jwts For Authentication Tokens? by 7sidedmarble on Monday May 27, 2024 @10:03PM (#40496676)
No, it's a military term. Firing a cannon in anger for instance means firing at the enemy, rather than in training.
Re:Should I Use jwts For Authentication Tokens? by 5e92cb50239222b on Monday May 27, 2024 @03:40PM (#40493892)
Re:Should I Use jwts For Authentication Tokens? by louthy on Monday May 27, 2024 @02:59PM (#40493566)
It’s military based isn’t it? First time you use a weapon “in anger” is to test its effectiveness in real world conflict
Re:Should I Use jwts For Authentication Tokens? by latentsea on Monday May 27, 2024 @06:11PM (#40495244)
I don't think it necessarily means using it in production but rather using it on some non-trivial capacity that exposes you to it's various complexities and nuances such that you have more than just a surface level understanding. That probably coincides with using things in production a lot of the time, but that's not strictly necessary.
Re:Should I Use jwts For Authentication Tokens? by dilyevsky on Monday May 27, 2024 @10:46PM (#40496877)
Yes it’s an old britishism - comes from “shots fired in anger” (as opposed to training)