• NewDawnOwl@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    13 hours ago

    Just to add a concrete example/plug:

    I made the microtonal music grid : https://github.com/MicrotonalGrid/MicrotonalGrid
    Its source code is open, you can see it here : https://github.com/MicrotonalGrid/MicrotonalGrid

    If you want to, you can modify it yourself and add in things like different colours, default music systems, or even ratio mode instead of even temperment. I’m perfectly happy with that. You can even use it to teach yourself or other people how to program in javascript , or how to program a very basic synth. You can even use just the part that has an implementation of conway’s game of life.

    I don’t consent to you making money off it. If anyone is going to make the pittance that this code would make, I want it to be me.

    That’s why I chose the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International licence.

    https://creativecommons.org/licenses/by-nc-sa/4.0/

    I want credit, and I don’t want you to make money off it.

    So you use a license to specify how you want people to treat you and your code, and threaten legal action if that desire is abused.

    • MastKalandar@feddit.onlineOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 hours ago

      Thank you for the clarification. So you basically work with music on your computer ??

      Suppose l make a DJ software/machine using your code, and then make it a tool to make some money, would you still sue me in a court ??

  • BlackLaZoR@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    20 hours ago

    Open source isn’t always the same as free to use. It means the code is open for review for anyone - but it’s still covered by copyright. License describes what you can use that code for.

  • anon_8675309@lemmy.world
    link
    fedilink
    arrow-up
    14
    ·
    1 day ago

    Because corporations would use the code to make a commercial product and then try to kill off the open source by sending out their lawyers.

  • forestbeasts@pawb.social
    link
    fedilink
    arrow-up
    40
    arrow-down
    1
    ·
    1 day ago

    The license is what makes it possible to legally distribute the source code, or use it in other stuff.

    Without that, the source code is still legally considered proprietary and the author could sue you if you distribute it to other people, or modify it and distribute modified versions. Even if they made it publicly available!

    – Frost

      • TheTechnician27@lemmy.world
        link
        fedilink
        English
        arrow-up
        8
        arrow-down
        1
        ·
        1 day ago

        I’ve licensed some stuff under CC0 in the past since it makes it no-friction for individuals, but “embrace, extend, extinguish” is beyond trivialized with licenses like CC0. Licenses like the GPLv3 and CC BY-SA at least maintain some responsibility that corporate actors legally need to meet; they are, to me, better in cases of individuals publishing works, and I see licenses like MIT as basically scabbing the FOSS ecosystem in favor of letting corporations do whatever they want. (I moreso agree with public domain for things like government works.)

      • forestbeasts@pawb.social
        link
        fedilink
        arrow-up
        2
        ·
        1 day ago

        Yeah, a lot of my stuff is public domain actually! (I like the Unlicense! it’s public domain + a fallback “do anything, no conditions” license because some jurisdictions are weird about the whole concept of public domain stuff.)

  • sbeak@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    23
    ·
    1 day ago

    They are needed to tell users and developers what they can do with the project and whether they can change the source code, redistribute it, etc. Having no license by default means others can’t look at your code or modify it in any way, as the terms on how to do so are not defined!

    There are several licenses that are used for open-source projects. Generally, they are grouped as either permissive licenses (like MIT) or copyleft/protective licenses (like GPLv3). In a nutshell, permissive licenses gives the developer (or, in the case of commercial use of open-source code, the company) more freedom as the code can be used in any kind of project, including proprietary ones. In contrast, copyleft licenses aim to give users more freedom by ensuring that the code can only be used in projects that also use an open-source license.

    There are other elements to licenses too, like how code used should be attributed, whether you are allowed to fork the project, additional copyleft restrictions for SaaS applications (see AGPLv3), loosening of copyleft restrictions (see LGPLv3), etc.

    • sbeak@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 day ago

      There’s a pretty big debate on permissive vs copyleft licenses. The advocates for the former believe that fewer restrictions on how you can use software is better, while those on the side of the latter believe that use of open-source code by proprietary software is harmful to the open-source movement.

        • sbeak@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          4
          ·
          1 day ago

          I don’t think that’s a good comparison. The ideas of “liberalism” (usually focusing on the rights of the individual) and “leftism” (usually focusing on social justice) are so broad that they aren’t very good descriptors.

          A more suitable analogy would be a free-flowing river vs a dam. The free river allows all the water to pass through with no restriction, while the dam controls how much water can flow, being more limiting while also offering many benefits (e.g. preventing / reducing the impact of floods)

          This is similar to permissive licenses letting any project, open-source or not, utilise their code with no real restriction aside from an attribution requirement for some licenses, while copyleft licenses add additional restrictions, like a dam, that aims to support the open-source movement.

          • sbeak@sopuli.xyz
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 day ago

            Both permissive and copyleft licenses have their place, just as how not all rivers need to have dams. And either are better than the closed proprietary licenses, which in this analogy would probably be a still, perhaps frozen, lake not connected to any other rivers, as the code cannot be redistributed or modified legally.

        • forestbeasts@pawb.social
          link
          fedilink
          arrow-up
          1
          ·
          1 day ago

          Nah, not really.

          Hi, I use a permissive license for my stuff so that other open source devs can use it in their projects even if they disagree on the details of licensing opinions.

          That doesn’t make me some kind of liberal/centrist/“not a Real Free Software Person™”.

          Sure, that also gives companies the ability to use it in proprietary stuff, but they’re not gonna be interested in it and there’s a good chance they’d just blatantly ignore the license anyway (see: the “AI training” shit).

          Anarchism vs. communism might be a better analogy.

          – Frost

  • Pommes_für_dein_Balg@feddit.org
    link
    fedilink
    arrow-up
    38
    arrow-down
    9
    ·
    1 day ago

    Without a license, a company can take your code, compile it into a program, publish that under a different name, slap their own proprietary license on it which prohibits free use, and then sue you, the developer, for copyright infringement.

    Applying a license such as GPL to your open source code makes that legally impossible.

    • forestbeasts@pawb.social
      link
      fedilink
      arrow-up
      34
      ·
      1 day ago

      Actually, without a license, they can’t legally do that but nobody else can use your code either!

      (Nothing’s stopping them from doing it illegally, license or no. Which is why I personally tend to default to permissive licenses myself. I’m more concerned with open-source cross-license compatibility than about corporations stealing the code for our little projects.)

      – Frost

    • Sibbo@sopuli.xyz
      link
      fedilink
      arrow-up
      13
      arrow-down
      1
      ·
      1 day ago

      No. All rights reserved is default. And as copyright is mostly harmonised around the world, I doubt there is any country where that is not the case.

    • slazer2au@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      1 day ago

      Not sure what corporate hellscape you live in but that is not how it works at all.

      If you left it as a public git repo you just have to point to the commits in your repo as existing before their product and the case falls flat.

  • Th4tGuyII@fedia.io
    link
    fedilink
    arrow-up
    7
    ·
    1 day ago

    As others have said, a license is a legal tool that allows you to enforce how you want your program to be used.

    And in the case of FOSS this is a really big issue, because just publishing code doesn’t put it into the public domain, and leaves you open to exploitation by big companies.

    There are various types of licenses, but for FOSS the main ones are unlicensing and Copyleft licenses. Unlicensing essentially declares your code public domain, so anybody can use it for any purpose. Copyleft licenses are usually fairly permissive, especially for individuals, but obligate that any offshot/fork must also be made Copyleft - so prohibits close sourcing of your work.

  • meowmeow@quokk.au
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 day ago

    The source is open for you to look at. Depending on the license, they allow you to do things with it. Sometimes they will show you the source but you’re not allowed to do anything with it besides maybe compiling it for yourself. Sometimes they don’t even give you full source code. Sometimes they let you do whatever as long as they get credit for their part.

    Some licenses say that you can use their source code as long as you publish your own source code that used it. Linux Is like that. That is why Apple chose to go with BSD as opposed to Linux. They could remain closed source if they wanted to.

    Personally, I release everything I do with “the unlicense” which is essentially public domain.

  • litchralee@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 day ago

    License is the legal instrument which makes open source software/hardware/silicon possible, describing precisely what rights are granted or retained. The term “open source” usually means the definition propounded by the Open Source Initiative (OSI) but sometimes not in certain contexts. At the very minimum, an OSI-compliant open source license will allow any distribution of the software without having to seek additional permission from the author, must be accompanied with access to the source code, and the software does not come with provisos outright prohibiting its use for certain endeavors.

    That last point is about the “use” of the software, and is a crucial distinction between “open source” and “source available”. To have source available means the source code can be examined, but usually cannot be compiled. An open source license explicitly allows all uses, but possibly with additional obligations. For example, the AGPL license allows software to be used to run a server, but creates an obligation to provide the server source code to all users that connect. Whereas something like the MIT 0-clause license has zero additional obligations, while allowing the broadest use. When a license is both Open Source and allows free use, it is known as a FOSS license.

    The exact verbiage of a license are the domain of lawyers, being a legal document. But the choice of license is down to the software author or corporate owner, and is a multifaceted consideration, including marketability, compatibility with other software, and whether it’s more important that the code gets used or that it forever remains available.

    The latter is the major battleground for advocates of permissive versus copyleft licenses. Some software (eg reference cryptographic algorithms) have the priority that the absolute most number of people should use them, so a permissive license makes sense. While other software (eg desktop 3D rendering suite Blender) have a priority that nobody can ever take it private by adding proprietary-only features.

    Choosing open source is easy, but choosing a license to effect that choice can get tricky. For authors publishing their software, the choice may very well change the course of history (ie Linux GPL-2). For consumers or businesses using software, the license dictates how changes can be distributed.

  • schnurrito@discuss.tchncs.de
    link
    fedilink
    arrow-up
    2
    arrow-down
    9
    ·
    1 day ago

    The community is called “no stupid questions”, not “completely unclear questions”. I genuinely have no idea what you want to know. 🤨

    • sbeak@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      What is the significance of licenses?

      I think that’s a pretty straightforward question. The first bit narrows it down to the context of open-source licenses. This certainly makes the question very clear with intent and purpose, and you dug yourself into a deeper hole by emphasising your invalid point with “completely”.

      Perhaps reading comprehension is not your greatest strength, if you need help on that, I would highly recommend “Biff, Chip, and Kipper” books. They are fun, highly engaging, with a range of different reading levels for all ages. I loved these books when I was a kid, so I think you would enjoy them too!

      The stories involve lots of time travel and fantasy worlds which I think a majority people will enjoy, but if you’re not interested in any kind of fun story, you have the lower reading levels that teach you basic sentence structure with everyday happenings, like going to the store with Gran.

      “The magic key began to glow…”

      p.s. the phrase “no stupid questions” refers to how teachers encourage students to ask questions by saying “Remember class, there are no stupid questions!” It does not mean that stupid questions are not allowed!

      • SanguinePar@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        1 day ago

        Aw man, I remember my kid having the Biff Chip and Kipper books, but we never got to the end of them as far as I know. That magic key bit was a real twist in what had thusfar been a pretty reality-grounded series. I need to go look up how that story progressed.

      • schnurrito@discuss.tchncs.de
        link
        fedilink
        arrow-up
        1
        ·
        1 day ago

        Well, ok, if all OP wanted to know is what a copyright license is:

        By default, copyright law in most countries prohibits anyone except the author or other copyright holder from distributing creative works, including software, even in modified form. There are a few exceptions to this, but this is the general rule.

        A license is a document that the copyright holder agreed to that grants someone permission to do so anyway.

        In the context of open source, such a license needs to meet certain conditions to be considered open source. Among other things it needs to allow anyone (not just specific licensees) to distribute the software for any purpose, even in modified form.