News for hackers. Stuff that matters.
Re:New youtube-dl release: v2020.11.01.1 by eMGm4D0zgUAVXc7 on Sunday November 01, 2020 @12:28PM (#24960975)
> or a link thereof, is stored on the blockchain so it can't be deleted.

A blockchain is overkill for this:

Its central goal of providing a clear ordering of events by the time at which they happened (t1 < t2 < t3) is not necessary to distribute software updates.

You merely want to be able to sort things by a number, the version of the software, which their author has provided on their own.

Remember, the blockchain was invented so Bitcoin could prevent double-spending of the same coins. I.e. if someone attempts to send the same money to multiple different addresses and thus fool multiple people into believing they were paid it can use the blockchain to determine which attempt was the first and ignore all others.

Such attacks would happen within milliseconds typically, hence the need for a strong mechanism against them.

This is not needed for merely distributing downloads:

You already trust the author enough that you would run their code, so you can as well trust them that the number which they say is the latest version in fact is the latest one. That's also because they have no incentive to fool you into using an older one, there's no money involved.

What you'd want instead is Freenet, the goal of which is preventing censorship and providing anonymity: https://en.wikipedia.org/wiki/Freenet

It's "updatable subspace key" (USK) address type is suitable here.

Re:New youtube-dl release: v2020.11.01.1 by sideshowb on Sunday November 01, 2020 @01:30PM (#24961404)
Erm, you seem to be saying something sensible about blockchain. Don't you know that's just not the done thing these days ?
Re:New youtube-dl release: v2020.11.01.1 by bitwize on Sunday November 01, 2020 @01:58PM (#24961596)
I thought blockchain mania had passed and it's all about AI these days?
Re:New youtube-dl release: v2020.11.01.1 by brianush1 on Monday November 02, 2020 @08:33AM (#24967935)
It's all about AI running on the blockchain
Re:New youtube-dl release: v2020.11.01.1 by dheera on Sunday November 01, 2020 @02:40PM (#24961909)
> Its central goal of providing a clear ordering of events by the time at which they happened (t1 < t2 < t3) is not necessary to distribute software updates.

I guess that's not strictly necessary just to provide a binary update, but this feature could also be used to make the blockchain itself host the repo and its commits. Branches, pull requests, reverts, and everything could be stored as events on the blockchain. Differential commits do need that clear ordering of time to work.

Basically, imagine a decentralized version of Github.

Re:New youtube-dl release: v2020.11.01.1 by eMGm4D0zgUAVXc7 on Sunday November 01, 2020 @04:49PM (#24962835)
No, they do not need ordering of time, they need the precise ordering their developers chose for them to make sense:

Code is a well-chosen piece of logic to make sense as a whole. You can't just arbitrarily take to pieces of code and mash them together just because two random developers on the planet happened to write them one after the other in a sequential fashion of time.

E.g if you ask a classroom "What's 1 + 1 ?" then someone might say "3" right after you asked but before someone else says "2", but that does not make "3" right.

Proper order of commits is established by a MUCH more simple mechanism in fact: A git commit includes the hash of the previous commit in the history.

So the plain aspect of "storing some bytes" is needed, not a blockchain :) As someone else said, Git provides just that.

FWIW, censorship-resistant networks such as the aforementioned Freenet can and are used to publish Git repositories in a robust fashion. But no blockchain magic is required here either :)

Re:New youtube-dl release: v2020.11.01.1 by dheera on Sunday November 01, 2020 @04:54PM (#24962860)
Okay, point taken. I guess with blockchain though it might "moon" and you might make a few bucks off the "whales" who "hodl" or whatever. LOL.
Re:New youtube-dl release: v2020.11.01.1 by gizmo686 on Sunday November 01, 2020 @02:50PM (#24961969)
I think you are describing git.
Re:New youtube-dl release: v2020.11.01.1 by dheera on Sunday November 01, 2020 @02:56PM (#24962011)
git itself doesn't support a decentralized push as far as I know, or rather that decentralized hosting infrastructure hasn't been built to seamlessly work with git.
Re:New youtube-dl release: v2020.11.01.1 by MetaDark on Sunday November 01, 2020 @03:45PM (#24962353)
Yes it does, you can either push to multiple remotes individually, or setup multiple pushurls for a single remote.
Re:New youtube-dl release: v2020.11.01.1 by anamexis on Sunday November 01, 2020 @04:17PM (#24962581)
I'm a blockchain skeptic with the best of them, but this does not solve the problem GP is describing. Yes, git supports multiple remotes, but there is no durable, decentralized hosting infrastructure for arbitrary repos that I am familiar with.
Re:New youtube-dl release: v2020.11.01.1 by sofetch on Monday November 02, 2020 @02:27PM (#24972009)
Unless I misunderstand git-ssb does this.