News for hackers. Stuff that matters.
Re:Sj.h: A tiny little JSON parsing library in ~150 lines of... by tonypapousek on Sunday September 21, 2025 @05:07PM (#45326650)
The license says otherwise; hard to get freer than public domain.
Re:Sj.h: A tiny little JSON parsing library in ~150 lines of... by captbaritone on Sunday September 21, 2025 @05:21PM (#45326772)
I recall hearing that SQLite actually had some significant issues with choosing public domain as their license and somewhat regret the decision. Apparently it’s not a concept which has broad understating internationally, and there’s less legal precedent in a software context which has made it harder for some teams to adopt due to concerns from legal departments.
Re:Sj.h: A tiny little JSON parsing library in ~150 lines of... by shiomiru on Sunday September 21, 2025 @07:11PM (#45327512)
The Unlicense isn't "just" public domain though, it also has a fallback clause that explicitly lists things you are allowed to do ("copy, modify, publish, use, compile, sell, or distribute"). So I think the intent is, even if PD isn't recognized and line 1 is invalid, you're still granting a license to the same effect.

SQLite on the other hand just says

    The author disclaims copyright to this source code.  In place of a legal
    notice, here is a blessing:

      May you do good and not evil.
      May you find forgiveness for yourself and forgive others.
      May you share freely, never taking more than you give.
which seems less useful once you strike sentence 1.
Re:Sj.h: A tiny little JSON parsing library in ~150 lines of... by SoKamil on Sunday September 21, 2025 @05:18PM (#45326743)
What is the stance of Your Average Corp’s security department on public domain software? Do they accept software under such licensing (or lack thereof)?
Re:Sj.h: A tiny little JSON parsing library in ~150 lines of... by tonypapousek on Sunday September 21, 2025 @06:20PM (#45327202)
From an American perspective, there’s no mechanical difference between that and the MIT license when it comes to security.

They care more about the package being maintained, bug-free, and their preferred vulnerability database showing no active exploits.

At least in my experience, anyway. Other companies may have stricter requirements.

Re:Sj.h: A tiny little JSON parsing library in ~150 lines of... by jen20 on Sunday September 21, 2025 @05:38PM (#45326905)
Who cares? Seriously. Whether a commercial entity who wants to be able to benefit from your work accepts the license you choose for work you do is as much a concern as whether or not the prime minister of Liechtenstein accepts the color you paint the outside of your house in the USA. That is: none.
Re:Sj.h: A tiny little JSON parsing library in ~150 lines of... by _puk on Sunday September 21, 2025 @05:51PM (#45327006)
Bad analogy.. if they truly care what colour your house is then there's plenty of strings they could pull. I mean, a good number of large U.S. company's tax and corporate structures depend heavily on Liechtenstein's government’s rules..
Re:Sj.h: A tiny little JSON parsing library in ~150 lines of... by jen20 on Sunday September 21, 2025 @09:11PM (#45328175)
Some people have standing for better or mostly worse - HOAs and local councils. The government of Liechtenstein does not.
Re:Sj.h: A tiny little JSON parsing library in ~150 lines of... by rerdavies on Sunday September 21, 2025 @08:50PM (#45328053)
Kinda depends on whether you're publishing open source software so that people can use it. And if you're not publishing open source software so that people can use it, why exactly are you doing it? If you don't want people to use it, GPL is the way to go. If you do want people to use it, MIT or BSD is a much better way to go.
Re:Sj.h: A tiny little JSON parsing library in ~150 lines of... by xigoi on Monday September 22, 2025 @12:17AM (#45329056)
GPL is for when you want people to use it. MIT is for when you want megacorporations to turn it into enshittified proprietary software and profit off of it without giving back to you.
Re:Sj.h: A tiny little JSON parsing library in ~150 lines of... by rerdavies on Monday September 22, 2025 @12:31PM (#45335806)
Sure. Why not?
Re:Sj.h: A tiny little JSON parsing library in ~150 lines of... by jen20 on Sunday September 21, 2025 @09:10PM (#45328162)
Linux, Git and the entire GNU system are counterexamples. Meanwhile FreeBSD dies by the day.

People != the legal departments of corporations.

Re:Sj.h: A tiny little JSON parsing library in ~150 lines of... by TZubiri on Monday September 22, 2025 @12:34AM (#45329122)
>"If you don't want people to use it, GPL is the way to go"

lol

Re:Sj.h: A tiny little JSON parsing library in ~150 lines of... by zelphirkalt on Monday September 22, 2025 @05:21AM (#45330935)
As a counterexample: I would rather use GPL or AGPL licensed code on my machine, than merely MIT licensed code, because I see the philosophical difference behind it, due to copyleft. Someone who makes some code available under (A)GPL wants it to stay available under a free software license. Someone who releases under MIT is either uninformed, or has different motivation , that does not fully align with keeping things libre for people. It is less safe against being made proprietary in the future. Anyone can come and make a new version that is proprietary and has that one more feature, luring people into using the proprietary version instead of the open source one.

So I have much more trust in (A)GPL licensed projects, and I see them as more for the people than MIT licensed projects.

Re:Sj.h: A tiny little JSON parsing library in ~150 lines of... by tripplyons on Sunday September 21, 2025 @05:17PM (#45326733)
Open source is a more informative term for this than free software. Not all free software is open source, but all open source software is free.

Edit: I was not aware of the FSF's definition. I was using a definition of free software being software that you can use without having to pay for it.

Re:Sj.h: A tiny little JSON parsing library in ~150 lines of... by F3nd0 on Sunday September 21, 2025 @05:31PM (#45326854)
I think you are mistaken; neither is a subset of the other. At the very least, there are licences which are recognised as open source by the OSI, but not as free by the FSF, and vice versa [1]. I think it’s more appropriate to say they are two fundamentally separate definitions with a massive overlap.

[1] https://spdx.org/licenses/

Re:Sj.h: A tiny little JSON parsing library in ~150 lines of... by tripplyons on Sunday September 21, 2025 @06:22PM (#45327210)
Thank you for the information! I was not aware of the FSF's definition.
Re:Sj.h: A tiny little JSON parsing library in ~150 lines of... by manbash on Sunday September 21, 2025 @05:31PM (#45326851)
> Not all free software is open sourc

Depends on which "free software" definition you're referring to.

The FSF definition of "free software" requires it to be open source.

Re:Sj.h: A tiny little JSON parsing library in ~150 lines of... by tripplyons on Sunday September 21, 2025 @06:25PM (#45327226)
I have clarified which definition I used.
Re:Sj.h: A tiny little JSON parsing library in ~150 lines of... by xigoi on Monday September 22, 2025 @12:20AM (#45329067)
> Edit: I was not aware of the FSF's definition. I was using a definition of free software being software that you can use without having to pay for it.

That’s called freeware. Also, open-source software can be paid (with the caveat that if someone buys it, you must allow them to redistribute it for free).

Re:Sj.h: A tiny little JSON parsing library in ~150 lines of... by TZubiri on Monday September 22, 2025 @12:36AM (#45329129)
You have recited a successful incantation to summon the Stallman acolytes.

To add an additional suggestion, gratis can also be used to refer to free as in free beer. Comes from a latin root and is common in spanish speaking countries to refer only to free of charge, and not as in freedom.