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

Right, my bad. Though there is hardly any 'code' in there. I copied the defines from LLVM initially as I couldn't find any good documentation except in the header file. I suppose I will have to retype it or something :-)


Or you could just reproduce the original license, which is all that's required. It's really the stripping of the license out of the file that is the problem, since the original LLVM license specifically states that the license grant is incumbent upon keeping the license text in place. Even though in reality you copied/pasted the text out in to a new file, it's really the equivalent of removing the license text and all of the other code you didn't need.


Thanks Oracle/Google. :) Sorry, it is just that I write code that ends up passing hands through multiple entities. Each time one entity has to include an attribution notice, their willingness to include the library drops dramatically.

I'm in the camp of "I'm glad if anybody includes my code", and I still submit bug reports/patches to upstream projects with "public domain" licenses, even though I am not required to. It just makes sense, provided your employer recognizes the value it brings.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: