News for hackers. Stuff that matters.
Re:How to publish Git repos that cannot be republished to Gi... by jimmaswell on Monday November 02, 2020 @09:01PM (#24975630)
I'd find it incredibly childish and needlessly divisive to make your repo impossible to host on a given provider just because you don't like the provider. This does nothing but make the tech community worse for everyone and less accessible. Newcomers shouldn't have to navigate petty politics to get started with tech and people already here shouldn't have to have their time wasted with it when they're just trying to be productive.
Re:How to publish Git repos that cannot be republished to Gi... by enriquto on Tuesday November 03, 2020 @12:51AM (#24976777)
> I'd find it incredibly childish and needlessly divisive to make your repo impossible to host

If only it was! In that case, it is github who is allegedly making the repo impossible to host. It is, thus, github who is acting in a childish way. The repo author is only adding some silly hashes.

By the way, the real "childish" behavior is believing that speech can be censored by technical means alone. This is impossible, there are always technical means to circumvent it. Speech can only be effectively censored by means of armed police action.

Re:How to publish Git repos that cannot be republished to Gi... by jimmaswell on Tuesday November 03, 2020 @08:54PM (#24985989)
That's a pedantic distinction. If github won't allow hash X and you put in that has on purpose just so github won't allow it then obviously the intent was on your part.
Re:How to publish Git repos that cannot be republished to Gi... by manquer on Monday November 02, 2020 @11:26PM (#24976283)
Newcomers have to navigate the copyright politics whether they like it or not. The amercian copyright laws have created this mess not the op.
Re:How to publish Git repos that cannot be republished to Gi... by ponker on Monday November 02, 2020 @11:19PM (#24976239)
Would you say the same about code that, for example, is designed to fail when used in a missile? E.g. navigation code that deliberately pilots into the ocean if onboard something going faster than Mach 3?
Re:How to publish Git repos that cannot be republished to Gi... by hyko on Tuesday November 03, 2020 @12:15AM (#24976577)
That would be outrageously unethical code to write, tantamount to criminal negligence.
Re:How to publish Git repos that cannot be republished to Gi... by sgtnoodle on Tuesday November 03, 2020 @03:07AM (#24977487)
I think the poster meant navigation code that was not intended to be used in a missile, being used in a missile. Consumer grade GPS units do exactly that; they intentionally stop working above a certain speed or altitude, so that they can't be used to build missiles.
Re:How to publish Git repos that cannot be republished to Gi... by hyko on Tuesday November 03, 2020 @03:53AM (#24977755)
There’s a big difference doing that in a consumer grade device and an open source project you publish for the world to use; i.e. when someone decides to use it in a hypersonic passenger jet
Re:How to publish Git repos that cannot be republished to Gi... by tpxl on Tuesday November 03, 2020 @06:23AM (#24978600)
It's perfectly ethical to write open source code that will crash a passenger jet if used in such a manner. It's unethical (and probably criminally negligent) to include it in a passenger jet.
Re:How to publish Git repos that cannot be republished to Gi... by hyko on Wednesday November 04, 2020 @01:19AM (#24986764)
It's perfectly ethical to write open source code that will crash a passenger jet

Really?

We’re not talking about bugs here, we’re talking about the deliberate inclusion of dangerous logic traps based on assumptions that could be wrong.

In engineering terms, this is trying to solve the problem at the wrong level of abstraction. Maybe you don’t like the thought of your code being used in weapons; that’s perfectly reasonable. Maybe you want to rid the world of such weapons; also reasonable. My advice would be that open source is not the right model in those circumstances, and that to really solve the problem you’ll have to be politically engaged.

Littering code with booby traps and publishing it is an absolutely awful idea, one that should not be acceptable to us as a professional community.

Re:How to publish Git repos that cannot be republished to Gi... by ric2b on Tuesday November 03, 2020 @06:04AM (#24978479)
What is the difference? I don't see it, besides one having a warranty and the other explicitly stating that it offers no guarantees or support.
Re:How to publish Git repos that cannot be republished to Gi... by hyko on Wednesday November 04, 2020 @12:59AM (#24986689)
Just stating you don’t have a warranty doesn’t absolve you of all ethical considerations. You can’t just publish something littered with poorly thought out booby traps and then absolve yourself with a license file! If you’re not interested in people using your code for specific purposes, maybe don’t publish it for all to use?