News for hackers. Stuff that matters.
Re:Git: Malicious repositories can execute remote code while... by echelon on Tuesday March 09, 2021 @06:06PM (#26405693)
Per your downvotes - I used to hate jokes on Hacker News and downvote them when I saw them, but I've become more ambivalent. They're a way of amicably sharing culture and experiences with other engineers that transcend any differences in age, gender, race, background, etc.

The formulation of this joke I tend to see is,

The two hardest problems in programming:

(1) cache invalidation

(2) appropriately naming things

(3) off-by-one errors

Re:Git: Malicious repositories can execute remote code while... by Twisol on Tuesday March 09, 2021 @06:14PM (#26405748)
It's barely even a joke to me anymore -- it's just too real for me to laugh.

(Cache invalidation is essentially the same problem as managing mutable state -- "Out of the Tar Pit" frames mutable state as either essential or incidental, the latter being rederivable in principle from essential state. Incidental mutable state is no more and no less than a cache, and usually one with an informal and undocumented invalidation policy.)

(And naming things has a very real technical counterpart in addressing, which comes up obviously in networking, but you can also see its shadows in quite a lot of concerns around architecture and modularity.)

Re:Git: Malicious repositories can execute remote code while... by imoverclocked on Tuesday March 09, 2021 @06:43PM (#26405995)
Humor is often the most efficient way to communicate/accept the truth.
Re:Git: Malicious repositories can execute remote code while... by pablius on Tuesday March 09, 2021 @09:36PM (#26407111)
To make the truth seem like an acceptable parallel universe, and then join it.
Re:Git: Malicious repositories can execute remote code while... by JBiserkov on Tuesday March 09, 2021 @07:06PM (#26406173)
The two hardest problems in programming:

(1) cache invalidation

(3) off-by-one errors

(2) appropriately naming things

(4) parallel execution [leading to race conditions / ordering bugs]

Re:Git: Malicious repositories can execute remote code while... by lifeisstillgood on Tuesday March 09, 2021 @07:10PM (#26406205)
I think you win a bad in-joke award - the first annual Turing-Dad joke award.
Re:Git: Malicious repositories can execute remote code while... by rileymat2 on Tuesday March 09, 2021 @07:26PM (#26406311)
Minor quibble, it should be the three hardest problems.
Re:Git: Malicious repositories can execute remote code while... by bluejekyll on Tuesday March 09, 2021 @07:29PM (#26406336)
It should be, but the increments were run in parallel on nonvolatile memory.
Re:Git: Malicious repositories can execute remote code while... by scubbo on Tuesday March 09, 2021 @08:09PM (#26406594)
The two hardest problems in computer science are:

1) Naming 3) Cache Invalidation 2) Off-by-one errors 3) In-order once-only delivery of distributed messages

And an almost fanatical devotion to the Pope

Re:Git: Malicious repositories can execute remote code while... by froh on Tuesday March 09, 2021 @09:21PM (#26407024)
I love it told like this: https://news.ycombinator.com/item?id=26406351

1) naming

4) concurr2) cache invalidation

ency

3) off-by-one errors

Re:Git: Malicious repositories can execute remote code while... by nicklaf on Tuesday March 09, 2021 @08:51PM (#26406838)
(5) feature creep