Which standards prevent laws from naming specific targets? It seems normative that a law cannot enumerate any specific persons or companies to be included or excluded from its provisions. Imagine: "Violation of this section is punishable by a $100 fine; Joel S. to pay triple." Such rules could surely cause conflicts of interest, and I know from programming that very specific heuristics tend to be brittle in practice. Are there specific legal principles which put this practice off limits?
It may &quot;seem[] normative&quot; that &quot;a law cannot enumerate any specific persons or companies to be included or excluded from its provisions.&quot; But in fact it is not generally the case. There are various kinds of laws that traditionally have named specific people or entities to define their scope. These include: In nineteenth-century England, a divorce could only be granted by a specific law passed by Parliament, naming the persons to be divorced. I am not sure when the practice stopped. In the US during the nineteenth century (and I think the early twentieth century also) a corporation was normally formed by a specific law granting a charter of incorporation to the named company. In the US during the period 1866-1870 there were a number of laws passed permitting former Confederate officers and officials who were presented by the 14th amendment from holding office under the US or any state to hold office again, as the amendment provides for. Eventually Congress passed a more general amnesty. It was once common for the English Parliament to pass bills of attainder. These were legislative declarations that a particular person was guilty of a particular crime, generally without any trial or other process. Sometimes the specific sentence was also imposed by such a bill. This was sufficiently resented that the US Constitution specifically forbids Congress or any state from passing such a bill. It was once common for actual laws to grant payments to specific people for specific purposes. This is no longer common, but there is no legal bar to it in either the UK or the US that I know of. The UK Copyright, Designs and Patents Act 1988 contains a provision enabling Great Ormond Street Hospital for Children to continue to receive royalties for performances and adaptations, publications and broadcast of &quot;Peter Pan&quot; whose author, J. M. Barrie, had given his copyright to the hospital in 1929, later confirmed in his will. This right is to persist even after the expiration of ordinary copyright for the play, but is not a full grant of copyright. Laws or ordinances invoking eminent domain to take the property of particular individuals for particular purposes are common, mostly at the local level. In the US, the Equal Protection Clause generally forbids laws which treat people, or groups of people, differently unless there is some rational basis for the distinction. But in some cases a plausible basis is asserted and such laws are passed.
Generally, the legislature is not restricted to passing laws that are a good idea. This has been remarked on by the Supreme Court (in Justice Stevens's concurrence, emphasis added): But as I recall my esteemed former colleague, Thurgood Marshall, remarking on numerous occasions: “The Constitution does not prohibit legislatures from enacting stupid laws.” There are some limits: for one thing, the law must pass the rational basis test, which, while extremely favorable to the legislature (Congress could probably ban coffee consumption, for instance), does impose some limits and might result in at least some of your examples being struck down—I cannot imagine a court finding that the government had a rational basis for taxing everyone 120% of their income, for example. However, the states do have a recourse in many cases, especially if Congress were to reduce the penalties for crimes: most &quot;common&quot; crimes (assault, battery, murder, theft, etc.) are state crimes, so Congress wouldn't have the power to change the penalties for those. Most cases where these things become federal crimes involve conduct affecting multiple states, and the person committing the crime would likely also commit at least one state crime. States also aren't required to assist the federal government in its enforcement of federal law. For instance, quite a number of states believe that the federal prohibition of marijuana is unjust, and won't enforce those laws within their boundaries.
Law (regardless of its type) supersedes contract, provided it has jurisdiction over the persons bound by that contract. Contract provisions that are counter to law are generally held to be void. State law has authority over an employer's policies or hand book. However, there may be exceptions in state law (so I would double check). A frequent exception (at least in California law, which I am most familiar with) is for very small businesses. Another exception, from C.R.S. § 8-4-101(5), is if you are considered a "contractor" rather than an employee, per the government's determination. It is possibly worth your time to let you employer know of this conflict before termination if possible, so that they can adjust their policies, rather than in an adversarial position after termination, if only to avoid the headache.
Washington v. Davis held that if a law or other action (in this case, a Verbal Skill Test as part of D.C. police hiring practices) is not necessarily unconstitutional if it results in discriminatory outcome. In order to be actionable against the state, one must prove that the law was intended to discriminate from the creation of the law. Your quoted source is in fact wrong and your number 2 option is the correct summation of the quote. Only laws that are purposefully discriminatory are unconstitutional.
Caution: I am not a lawyer. It depends on who is doing the collecting and storing. If it is done "by a natural person in the course of a purely personal or household activity", then it is exempt from the GDPR, as per Art. 2. Beware, however, that "purely personal activity" means that you do not share or publish them. In this court case, having the name or phone number of someone else on your "personal" website constitutes "processing of personal data wholly or partly by automatic means within the meaning of Article 3(1) of Directive 95/46".
We can't really know until the ruling is made. The Supreme Court might issue a ruling that encompasses all software APIs, or may predicate its ruling on this more specific situation, e.g. that because Oracle's library is so extensive its structure can be copyrighted even if that does not necessarily mean that any individual function signature can be copyrighted. They could also decide based on something unrelated to the heart of the copyright question - skimming through the petition for a writ of certiorari, they could make a decision based on the original implied license from Sun, for example. Hopefully their decision will answer the copyright question of function declarations completely, but it isn't required to.
No, each state is a "sovereign" and whenever a statute describes a crime it is always some act committed by a "person" and these two categories are mutually exclusive. See, for example, US Supreme Court in U.S. v. United Mine Workers of America, 330 U.S. 258, 67 SCt 677 (1947): "In common usage, the term `person' does not include the sovereign and statutes employing it will ordinarily not be construed to do so." Repeated by US Supreme Court in Wilson v. Omaha Indian Tribe 442 US 653, 667 (1979): "In common usage, the term 'person' does not include the sovereign, and statutes employing the word are ordinarily construed to exclude it."
Not having immediate access to the source doesn't preclude a finding of copyright infringement. If you have seen the source material, subconscious infringement can happen. However, in this example, both the short phrases doctrine and the merger doctrine would likely prevent the is_prime function from having copyright. Words and short phrases are not individually copyrightable, so the name would be free to take. Regarding the implementing code, if it isn't an exact copy (i.e. copy and paste), courts will apply the abstraction-filtration-comparision test. They may find that you took the selection and arrangement of instructions from the original source, albiet using different names. That selection and arrangement would probably be considered a substantial similarity and, if not for the merger doctrine, infringement. However, given the limited number of ways to express the prime-detection algorithm means that the expression of that idea has merged with the idea, and thus is not protected by copyright. (Or in some jurisdictions, merger is a defence to infringement rather than a bar to copyrightability).