News for hackers. Stuff that matters.
Re:Git 2.11 has been released by godson_drafty on Tuesday November 29, 2016 @06:08PM (#13066989)
They were off by a factor of 10 with the likelihood of being struck and killed by lightning, according to the nws website.

To clarify: the likelihood of being merely struck by lightning is ~ 1/1,000,000 per year. The likelihood of being struck and killed is 1/10,000,000 , or about 1/2^23.25

Given this, you would only have to be struck and killed by lightning 6.8 years in a row to equal a sha1 hash collision probability.

Re:Git 2.11 has been released by OJFord on Tuesday November 29, 2016 @07:58PM (#13067606)

    > Given this, you would only have to be struck and killed
    > by lightning 6.8 years in a row to equal a sha1 hash
    > collision probability.
Oh, well that changes everything! ;)
Re:Git 2.11 has been released by peff on Tuesday November 29, 2016 @06:25PM (#13067100)
Oh, you're right. I misread the chart (and just fixed the blog post).

There are a lot of other caveats, too. Such as the idea of each year being an independent probability.

Re:Git 2.11 has been released by cakoose on Wednesday November 30, 2016 @02:59AM (#13069176)
More importantly, the comparison is useless. The odds of running into issues with SHA-1 collisions in Git is a very different question from just the odds of two random SHA-1 hashes colliding.
Re:Git 2.11 has been released by arcatek on Wednesday November 30, 2016 @12:20PM (#13072592)
Doesn't the birthday paradox make it much more likely to eventually occur ?
Re:Git 2.11 has been released by lutorm on Tuesday November 29, 2016 @06:24PM (#13067097)
I'm not sure those events are independent... ;-)
Re:Git 2.11 has been released by alkonaut on Wednesday November 30, 2016 @06:56AM (#13069997)
I think the probability of being killed by lightning even two years in a row is already zero.
Re:Git 2.11 has been released by godson_drafty on Wednesday November 30, 2016 @11:59AM (#13072357)
The situational comparison originally used by Linus for a sha1 collision was all the members of your development team being killed and eaten by wolves. I'm not sure if he gave a time-frame that would need to occur in.