Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Okay, but why

  // SPDX-License-Identifier: UNLICENSED
on 6 lines of trivial example code? Of all the things to make proprietary...




More importantly, it’s apparently non-conforming: https://opensource.stackexchange.com/a/12412

Other than that, simply not specifying any license would be equivalent.


It seems that the Solidity compiler complains if you do not specify one:

https://stackoverflow.com/questions/68332228/spdx-license-id...


Warning, not error, and if you must license the 6-line trivial example, just use CC0-1.0

It’s just example code in a blog post though…

Not having this statement results in a compile time error in solidity.

Even if that's true: Okay, so why "UNLICENSED" instead of "CC0-1.0"? Especially for a trivial example? Or I guess MIT or something if you really care about something at the same level as hello world?

Would the license help to prevent an AI training on the example code?

If they eventually start paying attention to licenses, maybe?

No, AI companies are apparently exempted from copyright laws.

edit: bring on the downvotes… doesn't change the fact that fb illegally downloaded a lot of material to train, and so did every other AI company.


You are right.

I saw that too and had to double take lol



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: