Would it be possible (legally) to make a new version of GPL stating that code generated by AI trained on the GPL copy lefted code would have to respect the GPL as well?
Peacepath
- 0 Posts
- 5 Comments
- Peacepath@lemmy.worldtoProgramming@programming.dev•Copyrightability of LLM-generated code: Can we license “vibe code” into Free Software?4·7 days ago
- Peacepath@lemmy.worldtoJavaScript@programming.dev•Why does 1 + "1" equal "11" in JavaScript?3·11 days ago
I don’t really understand how dumb it is to set a wide default type casting. Yet I understand the point of requesting declared casting for some language (when the language is designed to be used by a team of professional dev).
But for languages that aim to be accessible to simple users for personal home pages, with html and css, is it really dumb? May it let mistakes pass without crash the remaining of the script, but it seems acceptable to me in some amateur pages.
If the script is written by a single dev, or a small team, they may decide to only use explicit casting and strict rules for their code…
I think the main mistake is to take javascript for an “easy little language one may use without learn it” just because it is made to be usable by non-professionals. But I could be wrong, and I would gladly understand how wrong I am…
- Peacepath@lemmy.worldtoJavaScript@programming.dev•Why does 1 + "1" equal "11" in JavaScript?51·11 days ago
Because it makes more sense than NaN which would be the other possible solution.
Number + Text = Text, and the Number is interpreted as the character that compose it in a human reading rather than based on the char matching ASCI or some other table.
The attempt to convert text into numbers to make the operation would give NaN most of the time (Not a Number)… Or should we get the asci value of “1” and get 1+“1” = 50?
I think 1+“1”=11 is a good default, as you see clearly what happend and how to correct it if it is not the result expected…
Prohibiting AI training would not work, in my opinion… but trying to prevent the privatization of AI production could be interesting, isn’t it?