Is it legal to download progamming eBooks from GitHub? I recently planned to buy one of the book from Microsoft Press Store online. But browsing through one of the technical blog, I found the blog author providing link to download the same eBook for free. I can also see some GitHub repositories have programming eBooks for free. Is it legal to download the eBooks or can I just view them online ?
If the blog author holds the copyright on the ebook, they can distribute the ebook anyway they choose, either via download from Github or elsewhere, or sell it in an online store. They hold the copyright, they alone can decide how to distribute it. If they also sell the ebook in the Microsoft press Store, they may have an agreement with the store to also allow their own free downloads; it's hard to say without knowing the agreement. If there are ebooks on Githb available for viewing or download, the owner of the Github page should hold copyright of the ebook, both 1) for their own protection against copyright infringement, and 2) to not break GitHub's TOS against copright infringement: https://help.github.com/articles/github-terms-of-service/#f-copyright-infringement-and-dmca-policy
Yes. The license itself is really just one sentence long, and states explicitly that this is allowed. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
It's really your client that should be asking these questions. Writing the app is perfectly legal. So you can enter a contract with that client to write the app and deliver it to them, ready to be put on the Google Play store or the App Store (entering a contract needs to be done carefully, obviously). I'd make 100 million percent sure that the contract states clearly that you have zero responsibility if the app is rejected or removed for non-technical reasons, and that the legality of actually selling and running the app is also not your responsibility. The reason is that I very much suspect that running the app might be illegal, and that the chances of getting it permanently on one of the stores are rather slim. And solving those problems is outside of what a software developer can competently do.
It's possible that CAD has a separate licence from the authors of ABC that allows them to produce a closed source copy. If not, they have no right to distribute CAD. However two wrongs don't make a right, and so you don't get to violate the copyright of CAD.* Unfortunately, unless you are one of the authors of ABC, you have no standing to sue the authors of CAD. You can only notify the authors of ABC and hope they do. If the authors of ABC don't have the resources to pursue the matter, you may be out of luck. That's one of the reasons the FSF gets copyright assignments for their projects. * It turns out that this is a much more debateable issue than I first thought. Some courts have held that an unauthorized derivative work is not copyrightable.
Primary Theory I suspect there might not be a legal answer to this question. I have always suspected a sort of pseudo-intellectual elitism (or simple preference or carelessness) with passive voice sentence construction in general. I sense license writers have not (yet) escaped this general trend. I would love someone to prove this theory incorrect. But, alas, I doubt it will happen. Alternative Theory But because this is a Law Q&amp;A site, I will advance the following alternative theory. I don't believe it's correct. But I will advance it because it's the only possible explanation I can think of that might be even remotely based on legal reasoning... Maybe they are just basing their construction on the way the law itself is written? For example, if the law says, "Permission must be granted..." Then it would follow that a writer who wants to comply with the law might choose, "Permission is hereby granted..." instead of something like "The authors hereby grant permission..." or, as the OP suggested, "You may..."
You are in general correct, KBurchfiel. A code snippet such as import math; or For i := 1 to 10 print i; has no originality, and is not protected by copyright. A post eplaining the meaning an usage of such a snippet might well be original enough to be protected by US copyright, indeed it probably would. But the code on its own would not be. Anyone could read such a post, and if s/he understood it, use the code snippet and not be in violation of copyright, not compelled to place the entire program in which such a snippet was used under a CC-=BY-SA license. The creative commons people would prefer that a CC license not be applied to a publication that is not protected by copyright, and if it is so applied it is legally meaningless. But they have no legal way to enforce such a preference. A stack exchange post that consisted of nothing but such an uncopyrightable code snippet, with no explanation r discussion, might well be downvoted or even deleted. But that is a matter of site policy on what is a useful answer, not a matter of copyright. Using an excerpt from a copyrighted work so small that the excerpt alone would be uncopyrightable, would probably be fair use under US law, and might well be fair dealing in UK law. Something that is fair use does not compel the reuser to abide by the terms of a CC license, because those terms apply only when the content could not be reused without the CC license's permission. However, a code snippet does not need to be very much more original than the above examples before it becomes copyrightable. Whether it can be used via fair use rather than via the CC-BY-SA license is a very fact-based decision (the usual four-factor analysis is spelled out in 17 USC 107).. But if the snippet can be rewritten to express the same concepts but in a different expression, then there is no copyright issue, and again the CC license will not apply. If the snippet is complex and original enough to be copyrightable (a fairly low bar) and it is re-used unchanged, under conditions where fair use does not apply, then the CC-BY-SA license's terms must be complied with for the use to be legal. That is several &quot;IFs&quot; however. The exact details of a specific case will matter in such cases, there is not one rule for all snippets, all posts, or all programs.
The words "proprietary format" are important. Are you sure the format is proprietary? If it is, then it's likely protected in which case they might have grounds to sue (but that does not mean they would definetly win). If the format is not proprietary, and so long as you don't share data which is proprietary then I believe you fine. I'm not a lawyer - but I cite GIF files as an example. They were still protected by the US and some other countries until at least the late 90s and there were various threats to open source linux companies who shared code that used the file format. I'm not aware of anything other than threats and never heard of any company being sued, let alone winning or losing. Another example that comes to mind is the RedHat ISO format. My understanding is RedHat could not stop anyone from sharing open source, but they could prevent folks from sharing the format they assembled and shared the open source. Again, I am not sure if it was ever tested in any court of law anywhere.
Udemy claims that all the videos and course content are copyrighted, but does that also hold for the material of the course? Yes, all the material is copyrighted. Ideas are not, material and content is. it would be really useful to me if I could take a large part of that code ... I want to know if I am allowed, by the law, to use this code for commercial purposes, or is it protected as the intellectual property? Yes, it is protected, specifically it has copyright applied and you may only use it if the license it is distributed under allows you to - in some cases this may be a permissive license, or the code may be obtainable legitimately from another source under a permissive license, in which case its usable. But in many cases, it may not be distributed under a permissive license or indeed any license, and in such cases you will not be permitted to use it. The license under which the code is released depends on the individual course, and in many cases the source code repository or download site for the code for the course. Check their for a license.