News for hackers. Stuff that matters.
Re:Git Notes: Git's Coolest, Most Unloved­ Feature by luispauloml on Monday November 28, 2022 @02:04AM (#33770556)
Thank you for answering. Also, I did check the dictionary before asked. As others comments pointed out, it does have a meaning of adjacency or contrast, and I guessed that this is where this usage was coming from. But still, even with this meaning, I feel a bit of an adversarial meaning. "Contrast" itself is adversarial, right? Because it comes from comparison. For instance, in "the chair against the wall", I can see the chair exerting force against the all, and the wall reacting to it with equal intensity and opposite direction (Newton's Third Law). Yet, in Willson's tweet, I can't imagine anything like that coming off of a git repository and git notes, hence my comment.

As an addendum, my first language is Portuguese, and a direct translation for this word is "contra"¹ which fits all the meanings for "against" listed in Merriam-Webster, except the adjacency one. I've never seen "contra" being used for this meaning in the wild, and I guess this is the reason I feel a bit off about it and never used it myself for that meaning when communicating in English.

¹ https://dicionario.priberam.org/contra

Re:Git Notes: Git's Coolest, Most Unloved­ Feature by jhrmnn on Monday November 28, 2022 @03:18AM (#33771036)
The same with Czech (and I assume all Slavic languages?). Would be interesting to track the etymological development of this meaning.
Re:Git Notes: Git's Coolest, Most Unloved­ Feature by martopix on Monday November 28, 2022 @04:37AM (#33771512)
I didn't understand if in the end you can say "contra o muro" in portuguese (about the chair). In Italian, you can.
Re:Git Notes: Git's Coolest, Most Unloved­ Feature by brunno on Monday November 28, 2022 @10:01AM (#33774438)
You can say that in portuguese, it's completely correct but it seems to be much less used than "junto ao muro" as in "next to the wall/adjacent to the wall". Even being correct in this use, "contra" is a word very charged with adversarial context. Maybe that's the source of the strangeness the thread OP feels about the use of "against".
Re:Git Notes: Git's Coolest, Most Unloved­ Feature by prolyxis on Monday November 28, 2022 @05:14AM (#33771782)
The physical act of comparing two objects or testing one object against another would typically involve some physical contact or proximity, so even in the case of testing some code on something, it is natural in English to by analogy use the word "against." But I think you are right in this case that "against" has significant adversarial meaning in the act of testing something: often, one introduces stress scenarios or edge cases that could cause some software to fail. Tests are in large part adversarial to the object under test.