News for hackers. Stuff that matters.
Re:European Legislation Could Create Liability for Free-Soft... by lijok on Saturday September 30, 2023 @12:26PM (#37717003)
> There is a reason why the open-source world has concerns: the legislation indirectly defines who is responsible for the security of open source and who should pay to improve the current state. In addition, it puts the responsibility on individual developers and foundations hosting open-source projects instead of the manufacturers of goods embedding the software.

Why is this a concern? If you are unable to produce high quality, safe software, then don't make it publicly available for use. If you make something publicly available for use, you should be liable for maintaining it and any damages that software causes due to bugs. No different than if I were to make some crappy fire extinguishers and hand them out to people for free. No different than if I were to build a little bridge over a river.

Re:European Legislation Could Create Liability for Free-Soft... by caesil on Saturday September 30, 2023 @12:40PM (#37717154)
Your comment gave me a headache. To which address should I send the bill for this bottle of ibuprofen I used to treat it?
Re:European Legislation Could Create Liability for Free-Soft... by lijok on Saturday September 30, 2023 @12:42PM (#37717177)
I welcome you to debate it.
Re:European Legislation Could Create Liability for Free-Soft... by AnthonyMouse on Saturday September 30, 2023 @02:51PM (#37718530)
The comment was the debate. Your comment (information, like software) created an externality on the reader which they would now like to bill you for.
Re:European Legislation Could Create Liability for Free-Soft... by lijok on Saturday September 30, 2023 @03:17PM (#37718766)
Haha, you're right. It went right over my head.

I'd be happy to pay for their ibuprofen if they can prove the adverse effect my comment had, and if it continues having adverse effects, I'll make sure to take my comment down or improve its quality so as to stop causing the adverse effect.

Re:European Legislation Could Create Liability for Free-Soft... by AnthonyMouse on Saturday September 30, 2023 @03:26PM (#37718857)
Are you sure you're willing to do that? This website is read by hundreds of thousands of people. If even 1% of them have been adversely affected by your comment, you could be on the hook for thousands of dollars. And you've posted many other comments in this thread alone.
Re:European Legislation Could Create Liability for Free-Soft... by lijok on Saturday September 30, 2023 @03:30PM (#37718895)
Yeah, it would be pretty bad for my wallet. Would make me reconsider posting low quality comments going forward, potentially increasing the quality of the forum long term.
Re:European Legislation Could Create Liability for Free-Soft... by AnthonyMouse on Saturday September 30, 2023 @03:39PM (#37718975)
Or cause it to shutter because nobody is willing to post comments for little or no compensation when it could cost them that much.
Re:European Legislation Could Create Liability for Free-Soft... by lijok on Saturday September 30, 2023 @03:50PM (#37719067)
I'm sure there would be a few, high quality commenters whose risk appetite was sufficient for them to post high quality comments confidently
Re:European Legislation Could Create Liability for Free-Soft... by AnthonyMouse on Saturday September 30, 2023 @04:03PM (#37719216)
What if you still want the medium quality comments?

Publishing information has both externalized benefits and externalized costs, and we don't have a good way of internalizing the benefits or the costs, but if you only internalize the costs you're surely going to deter things that were net positive.

It's also assuming that the unrecoverable positive externalities correlate with the deterrent. But because they're unrecoverable, they wouldn't -- something with an enormous net benefit can be deterred by a small cost because the benefit was going to someone other than who pays the cost.

Re:European Legislation Could Create Liability for Free-Soft... by lijok on Saturday September 30, 2023 @04:54PM (#37719692)
> What if you still want the medium quality comments?

That's a good question that I don't have a good answer to. I would encourage people to strive less towards publishing what they want to be "production ready" OSS, and direct the efforts more towards building smaller building blocks with clear indication it's not to be used in production and extensive documentation on what work needs to be done to productionize the software for given applications. These are just my immediate half-baked thoughts on that question. I had not considered that there might be a demand for medium quality software.

> Publishing information has both externalized benefits and externalized costs, and we don't have a good way of internalizing the benefits or the costs

That is an incredibly well formulated point. This raises some interesting thoughts that I'll need to mull over.

> if you only internalize the costs you're surely going to deter things that were net positive

I think that's fine, right? Unless you are demonstrably deterring a ridiculously outsized net positive, that's just the unfortunate cost of risk management.

Re:European Legislation Could Create Liability for Free-Soft... by AnthonyMouse on Saturday September 30, 2023 @06:51PM (#37720715)
> I would encourage people to strive less towards publishing what they want to be "production ready" OSS, and direct the efforts more towards building smaller building blocks with clear indication it's not to be used in production and extensive documentation on what work needs to be done to productionize the software for given applications.

This is the opposite of how it usually works, and there is a reason for that.

Having something that actually runs is when you start building a community. The crashy pile of garbage that only works 80% of the time will get people interested, because it does work 80% of the time, as opposed to 0% of the time for the most well-tested and documented component that can't be used for anything because the rest of the system hasn't been built yet.

The early adopters knowingly put up with the flaws because the alternative is to wait until it's finished, and they choose not to. And then they make contributions and make it better, which is the only way it ever gets finished.

For the same reason there is no clean demarcation between "in development" and "production ready" -- people will be using the "in development" version in production as soon as it suits them regardless of what you tell them. And the people who do that knowingly do everyone else a favor by polishing the rough edges. The better the code gets, the more people use it, the more contributors you have making it better. It's not a line, it's a spectrum.

> I think that's fine, right? Unless you are demonstrably deterring a ridiculously outsized net positive, that's just the unfortunate cost of risk management.

That's exactly what happens with software, because the externalized benefits have unlimited scale. It's a serious problem even before this -- there are many open source projects with only one full-time maintainer, or only a part-time maintainer, that are used on a billion devices by everybody in the world.

Re:European Legislation Could Create Liability for Free-Soft... by tremon on Saturday September 30, 2023 @03:53PM (#37719103)
I'd be happy to pay for their ibuprofen if they can prove the adverse effect

But that is not what this regulation would have you do. It would require you to actively monitor your HN comments for adverse effects and proactively publish up-to-date fixes and disclaimers on how to avoid those negative outcomes. The affected parties don't need to prove harm, they only need to prove that you failed in your support/maintenance duty.

Re:European Legislation Could Create Liability for Free-Soft... by lijok on Saturday September 30, 2023 @04:38PM (#37719547)
I appreciate your comment, but that's not really what's being discussed in this particular thread.
Re:European Legislation Could Create Liability for Free-Soft... by salawat on Saturday September 30, 2023 @12:35PM (#37717098)
>Why is this a concern? If you are unable to produce high quality, safe software, then don't make it publicly available. If you make something publicly available, you should be liable for maintaining it and any damages that software causes due to bugs.

Don't blame me for not building the house to code, blame the guy who made my nails, fasteners, and lumber.

^this is what you're endorsing, because any failures generally occur at the stage wherein the End User is adapting the component to integrate into their own systems.

Responsibility falls on the composer of a system to deal with the composition's quirks. Anything that tries to put it up a layer is just trying to pass the buck. The Software Author has a particular case in mind. Yours is probably not it, but might become so. If it fits, go ahead and ship, if not, smooth it out. Nothing is stopping you but your unwillingness to wrangle the code.

Re:European Legislation Could Create Liability for Free-Soft... by lijok on Saturday September 30, 2023 @12:41PM (#37717171)
> Don't blame me for not building the house to code, blame the guy who made my nails, fasteners, and lumber.

I'll blame you for using poor quality nails, fasteners and lumber.

Re:European Legislation Could Create Liability for Free-Soft... by beebeepka on Saturday September 30, 2023 @12:48PM (#37717226)
Not what you said earlier

> If you make something publicly available for use, you should be liable for maintaining it and any damages that software causes due to bugs.

Re:European Legislation Could Create Liability for Free-Soft... by lijok on Saturday September 30, 2023 @12:54PM (#37717294)
That does not mean the consumer (the builder) is absolved of any responsibility, nor does it mean that the product of the builder using the poor quality materials is of good quality itself.
Re:European Legislation Could Create Liability for Free-Soft... by AnthonyMouse on Saturday September 30, 2023 @07:13PM (#37720879)
"Quality" is relative. A hinge which is fine for a closet door may be unsuitable for a bank vault.
Re:European Legislation Could Create Liability for Free-Soft... by Ekaros on Saturday September 30, 2023 @12:50PM (#37717251)
What about the gas stove that leaks gas? Or electric one that have live connected to case... Surely the user is responsible not the manufacturer?
Re:European Legislation Could Create Liability for Free-Soft... by mindslight on Saturday September 30, 2023 @01:25PM (#37717636)
Libre software is more like plans to build a gas stove, and security bugs are more like it not having a safety such that malicious visitors can turn on an unlit stove to fill your house with gas.

Also lets be very clear here - software bugs aren't really capable of causing damage by themselves. If I set up a lone machine running a decades old Swiss cheese Linux distribution on a publicly accessible IP, the absolute worst that can happen is its bandwidth being used to create denials of service. It's those who create real-world reliance on inadequate software systems that deserve most of the blame for damages.

Re:European Legislation Could Create Liability for Free-Soft... by salawat on Saturday September 30, 2023 @02:22PM (#37718263)
>What about the gas stove that leaks gas?

No modification whatsoever is intended to have to happen to integrate that particular package with the rest of a person's house. This is completely different to how most software works, whereby dynamically linked libraries actual implementations of particular symbols can be changed out from under the user at any time. Therefore, legally speaking the demarcation of liability is far simpler to demonstrate/self-evident.

>Or electric one that have live connected to case...

Governed by electrical code.

>Surely the user is responsible not the manufacturer?

Technically yes, the user is ultimately responsible for final detection of, and escalation of the defect. If you don't engage the legal process around a defective, non compliant appliance, nothing happens/changes to fix it. The rest is implementation detail.

Re:European Legislation Could Create Liability for Free-Soft... by jauntywundrkind on Saturday September 30, 2023 @12:29PM (#37717031)
What a horrible statement. Who is ever certain? How certain are you? How willing to endure false claims are you, even if miraculously you have convinced yourself the work is flawless?

This is insulting beyond words. We think together with open source. Ideas are shared. The world iterates forward & we learn & improve, together. Saying we cannot open our mouths unless we have only the voices of the angels is a demonic silencing. Hard disagree.

Re:European Legislation Could Create Liability for Free-Soft... by lijok on Saturday September 30, 2023 @12:45PM (#37717198)
> Who is ever certain? How certain are you? How willing to endure false claims are you, even if miraculously you have convinced yourself the work is flawless?

If you're not certain and unwilling to fight false claims, just don't publish it for public use. It's kind of that simple.

> We think together with open source. Ideas are shared. The world iterates forward & we learn & improve, together

Indeed. And we have, and continue to produce plenty of resources for that.

> This is insulting beyond words

My sincere apologies that I insulted you by stating you shouldn't be allowed to hand out home-made fire extinguishers to the public and expect no repercussions

Re:European Legislation Could Create Liability for Free-Soft... by jauntywundrkind on Saturday September 30, 2023 @01:00PM (#37717372)
I have the hardest time imaging what it would take to develop software we are certain of.

Developers of greatest talent are experts at finding doubts and potential weaknesses. They see accrued depth of complexity far beyond what the minds of simpler beings floating only on the surface of interface see. They can imagine all kinds of complex interactions. And they are never certain. That doubt is a doubt they work against, guard against ad best they can, but live with.

It feels like such a ridiculous silly alien voice, such absurd naivety, to say, oh, just be certain. Just make it flawless. Whatever happens, it must be perfect. It's a juvenile fantasy, that only one ignorant to the complex nature of reality, unthinking of the combinatorial explosions of possibilities that happen as layers of systems & libraries intersect, unseeing of the absurd misuse by users of technology, that any and all difficulties could be conquered by just demanding someone making something make it perfect or never ever share it with the world, never allow users.

Re:European Legislation Could Create Liability for Free-Soft... by lijok on Saturday September 30, 2023 @01:21PM (#37717602)
You're thinking in absolute terms. I think that might be the source of the disagreement.

I am not advocating that it should be illegal to publish OSS unless you can mathematically prove it is faultless. I am advocating that if you are going to publish software for public consumption you better be damn sure it wont cause harm, because you will be (should be) accountable for any harm caused.

Re:European Legislation Could Create Liability for Free-Soft... by whatisyour on Saturday September 30, 2023 @02:06PM (#37718089)
Would manufacturer of knives be liable for knife attacks? The world runs on limited liability.
Re:European Legislation Could Create Liability for Free-Soft... by lijok on Saturday September 30, 2023 @02:57PM (#37718580)
No, as in that scenario the knife is not being used for its intended purpose
Re:European Legislation Could Create Liability for Free-Soft... by orangecat on Saturday September 30, 2023 @02:27PM (#37718308)
This would eliminate the vast majority of non-monetized open source, because authors would be exposing themselves to unbounded liability with no upside. I'd have to take down all my apps and repos even though as far as I know they have never caused any harm. Maybe you consider that an acceptable tradeoff; I don't.
Re:European Legislation Could Create Liability for Free-Soft... by convolvatron on Saturday September 30, 2023 @12:31PM (#37717056)
If the bar is that high it would have a pretty chilling effect on education and the sort of grass roots experimentation that fuels innovation. I should be able to say 'don't use this for anything serious, its a toy', and not be liable if you choose to link it into your avionics software anyways.
Re:European Legislation Could Create Liability for Free-Soft... by lijok on Saturday September 30, 2023 @12:37PM (#37717117)
I'll amend my comment as it seems to have confused a few folk on the meaning of "public".

Yes you should be able to say "don't use this", "for education purposes only", "this is a demonstration", etc.

Re:European Legislation Could Create Liability for Free-Soft... by ApolloFortyNine on Saturday September 30, 2023 @12:50PM (#37717250)
Well there's already a statement in almost every open source license saying there is no warranty or expectation that it works at all, but sure let's tack on 'for education purposes only'.

It'd be the same result as California's law leading to 'this may cause cancer' printed on so many items no one even cares any more.

Re:European Legislation Could Create Liability for Free-Soft... by convolvatron on Saturday September 30, 2023 @01:08PM (#37717452)
I'll amend mine to seriously endorse the idea that there should be a software supply chain that is verified to the degree that's possible and should hold liability. and ramps from world A to world B. this idea that you can hoover up a bunch of slop from the internet, sell it, and not be responsible in any way is really the problem here.
Re:European Legislation Could Create Liability for Free-Soft... by lijok on Saturday September 30, 2023 @01:12PM (#37717484)
Fully agree
Re:European Legislation Could Create Liability for Free-Soft... by PixyMisa on Saturday September 30, 2023 @01:59PM (#37718014)
You mean, something like this?

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Re:European Legislation Could Create Liability for Free-Soft... by lijok on Saturday September 30, 2023 @03:10PM (#37718711)
No - I mean something like a banner at the top of the README or at the homepage of the documentation that states, as boldly as feasible, something along the lines of "THIS IS A PROOF OF CONCEPT/DEMO/FOR EDUCATION PURPOSES ONLY SOFTWARE THAT SHOULD NOT BE USED IN PRODUCTION"
Re:European Legislation Could Create Liability for Free-Soft... by alphanullmeric on Saturday September 30, 2023 @12:30PM (#37717050)
Whether or mot my software is of quality is none of your business. I’m allowed to say “no guarantees”. It’s not your right to force me to provide you a guarantee. Force is only justified in response to force, and nobody forces you to use open source software.
Re:European Legislation Could Create Liability for Free-Soft... by lijok on Saturday September 30, 2023 @12:34PM (#37717090)
You misunderstood my comment. I am not suggesting that you be forced to provide guarantees.
Re:European Legislation Could Create Liability for Free-Soft... by alphanullmeric on Saturday September 30, 2023 @12:41PM (#37717173)
By defending this legislation you are.
Re:European Legislation Could Create Liability for Free-Soft... by lijok on Saturday September 30, 2023 @12:46PM (#37717209)
No. I am suggesting that you should not be producing goods for public consumption unless you are able to provide guarantees.

Noone's going to force you to provide guarantees for goods you did not produce.

Re:European Legislation Could Create Liability for Free-Soft... by alphanullmeric on Saturday September 30, 2023 @12:51PM (#37717260)
Are you suggesting it or saying it should be illegal? Again, by defending these laws you want it to be forced.

I never said anything about software I didn’t produce, should I interpret this as you agreeing that you will force me to provide guarantees for open source software I do make?

Re:European Legislation Could Create Liability for Free-Soft... by lijok on Saturday September 30, 2023 @01:17PM (#37717550)
> should I interpret this as you agreeing that you will force me to provide guarantees for open source software I do make?

Yes. However, the way you use the term "force me", at least to me, implies an unjust enforcement of a law, post-publishing that was not made clear pre-publishing.

Re:European Legislation Could Create Liability for Free-Soft... by alphanullmeric on Saturday September 30, 2023 @01:27PM (#37717652)
It’s unjust if you believe force is only justified in response to force, which you do not. Glad we cleared that up.
Re:European Legislation Could Create Liability for Free-Soft... by lijok on Saturday September 30, 2023 @01:49PM (#37717909)
You seem very intent on labelling legal obligations as being forced to do something. That, at least to me, is a clear mischaracterization of the issue at hand.
Re:European Legislation Could Create Liability for Free-Soft... by Ekaros on Saturday September 30, 2023 @12:51PM (#37717265)
I'm starting to believe that "no guarantees" should be explicitly banned. You release software, you should guarantee it.
Re:European Legislation Could Create Liability for Free-Soft... by rpdillon on Saturday September 30, 2023 @01:10PM (#37717467)
For what use case?
Re:European Legislation Could Create Liability for Free-Soft... by Ekaros on Saturday September 30, 2023 @02:30PM (#37718345)
Every reasonably viable use case.
Re:European Legislation Could Create Liability for Free-Soft... by rpdillon on Sunday October 01, 2023 @10:19AM (#37726179)
This is entirely divorced from reality, then. You'd have to make the code resilient to failure modes specific to operating environments you're entirely unaware of while authoring the code. E.g. someone takes your code and cross-compiles it for use as part of one of several daemons running in an embedded system on an architecture you never tested on, and it leaks memory in that environment due to how to OS allocates memory there. I'm not thrilled with this example I just made up, but I hope it captures the distinction between writing an algorithm and deploying a full solution into a known environment.

The idea that software engineers can 'guarantee' against this is fantasy and precisely what integration testing is for. It has to be the case that those who deploy the code take responsibility for its behavior, not the original authors, since only those deploying have the full picture of the system.

Re:European Legislation Could Create Liability for Free-Soft... by ls612 on Saturday September 30, 2023 @02:22PM (#37718270)
Would you like to propose a method for guaranteeing your software is bug free?
Re:European Legislation Could Create Liability for Free-Soft... by tzs on Saturday September 30, 2023 @03:41PM (#37718997)
The proposed law does not require software to be bug free.
Re:European Legislation Could Create Liability for Free-Soft... by transfire on Saturday September 30, 2023 @02:20PM (#37718245)
But software is extremely complex. A fire extinguisher is something like a million times less complicated than even a moderate sized program.

Legislation like this is missing the real problem. Reminds me of when legislators tried to redefine Pi to be exactly 3.