Can you be held accountable for breaking a repealed law? If you break a law today and get away with it for 5 years. If the law that you broke would be repealed 5 years later could you still be prosecuted for breaking the law while it was in effect or does repealing a law include removing all possible prosecutions of possible law-breaking even if the breaking of the law happened while it was still in effect?
In general, yes. 1 USC 109 states that: The repeal of any statute shall not have the effect to release or extinguish any penalty, forfeiture, or liability incurred under such statute, unless the repealing Act shall so expressly provide, and such statute shall be treated as still remaining in force for the purpose of sustaining any proper action or prosecution for the enforcement of such penalty, forfeiture, or liability. Translated into plain English, this means that if you were to smoke marijuana in a Yellowstone National Park campground today, and Congress were to pass an act saying &quot;28 USC 841 is repealed&quot; tomorrow, you could still be arrested and convicted for possession of a controlled substance next week. However, if the act instead stated &quot;28 USC 841 is repealed and no retroactive prosecutions shall take place&quot;, then you can't be convicted. (The other half of 1 USC 109 is basically the same thing, applied to temporary laws: if a temporary law expires, you can still be prosecuted for actions taken while the law was in effect, unless the law states otherwise.)
The statute reads (emphasis mine): A person is guilty of adultery when he engages in sexual intercourse with another person at a time when he has a living spouse, or the other person has a living spouse. Suppose Alvin has sex with Betty while Betty is married to Charlie. Does Alvin's conduct satisfy the elements of the crime? Alvin engaged in sexual intercourse with another person (namely Betty) at a time when the other person (Betty again) had a living spouse (namely Charlie). So yes, Alvin has violated this law. Betty has also violated the law (the first clause instead of the second). Betty engaged in sexual intercourse with another person (Alvin) at a time when he (Betty; the pronoun "he" is meant to be gender-neutral in the statute's style of writing) had a living spouse (Charlie). However, this law is effectively unenforced in modern times. According to https://www.dbnylaw.com/adultery-is-still-a-crime-in-new-york-state/: It is extremely rare for anyone to be arrested just for adultery. Indeed, since 1972, only 13 persons have been charged with adultery. Of those 13 persons, only five actually were convicted of the crime. In virtually every one of those cases, there was some other crime that was committed and the prosecuting attorney added adultery as just one of many crimes committed. If Charlie files a complaint regarding the affair, it is almost certain that the police and prosecutors will ignore it, and that nobody will actually be charged with anything.
No Let's consider a similar scenario. If you made a beverage which poisoned a number of people, would you be absolved of liability because you gave it away for free? Of course not. As there is no contract between you, they would have to bring an action against you in the tort of negligence or negligent misstatement OR under consumer protection law. To succeed at tort they would need to prove that you owed them a duty of care; from Donoghue v Stevenson "You must take reasonable care to avoid acts or omissions which you can reasonable foresee would be likely to injure ... persons who are so closely and directly affected by my act that I ought reasonably have them in contemplation ...". Most cases will founder on your inability to foresee the use to which your software may be put. Consumer law is jurisdiction specific but they generally contain warranties that what you provide (gratis or otherwise) is fit for purpose, merchantable and that you do not make false and misleading statements. There is a chance that a case brought under this sort of law could succeed as you have not limited the purpose, specifically declared that it is not of merchantable quality and have (presumable) said what it does so that, if it doesn't do what you said, you have been misleading and deceptive.
It happens all of the time, even though it is mildly improper. Usually, the lawyer can get away with it until the judge sternly warns the lawyer not to try it again, in which case the lawyer risks being held in contempt of court. This is riskier for a prosecutor (who risks this conduct causing a conviction to be overturned on appeal resulting in a new trial), than for a criminal defense attorney. This is because an acquittal, if obtained by these methods, is still not subject to appeal. Indeed, for a criminal defense attorney, even if it results in a mistrial followed by a new trial (which can be allowed if the mistrial is caused by the conduct of the defense), the mistrial will often count as a win if the trial was going badly on the merits.
Not for that reason This would not make the Act invalid. The interaction between the two laws would simply mean that criminal prosecution would only succeed for acts on or after the Act came into effect. So, even though the law purports to invoke criminal sanction for acts before it came into effect, the Constitution says it can’t so it doesn’t. That doesn’t render the law invalid, just unenforceable for that period.
The latter law repeals the former law by implication.
Yes. It is a crime almost everywhere to throw something at someone, even if it causes little or no injury. Usually it would be classified as "assault and battery" although if it damages clothing or other property, it could also be called, for example, "criminal mischief" which is intentional damage to property. It would also be a tort that could be enforced with civil damages in most places, although only nominal damages would be awarded and there would be no award for attorneys' fees. In practice, however, few people would press charges or turn to the police in such an incident, few police would take action based on the complaint because it is so trivial, and few people would sue in such a case. For what it is worth, the "living law" in Japan recognizes that someone has a duty to pay to clean your clothes or replace them if they can't be cleaned in such circumstances and most people appear to comply with that obligation without court involvement if the victim insists. Also, pie throwing as a political protest in Europe is also almost surely illegal under European law, although, again, this is rarely enforced by common political culture and tradition.
In general, ignorance of a law is an excuse only when the law specifically says it is. There are extreme cases where a law has been found invalid because it did not give people enough notice. Actually, only one case I know of -- Lambert v. California, 355 U.S. 225 (1957). The city of Los Angeles passed a law making it illegal for anyone who had ever been convicted of a felony to remain in the city for five days without registering as a felon. Lambert was arrested on suspicion of doing something else, but convicted for being an unregistered felon. The Supreme Court held that it was a violation of Lambert's due process rights to convict her of a crime she had no way of knowing about, or even suspecting. This is a very rare, extreme case, and does not apply to things where people might be expected to suspect that there might be a law. Otherwise, notice of a law is only required if the statute says so; for example, if a speed limit law requires the posting of signs, but the signs aren't posted, the law may not be in effect. However, ignorance still isn't an excuse--if the sign is posted, but you just didn't notice it, you're still on the hook.