Both deepfake and revenge porn laws are constitutionally questionable in my opinion. I won't argue that they'd easily hold up in Europe where there's a much stronger emphasis on privacy and harm reduction and a much weaker emphasis on freedom of expression. But in the USA, I'd argue that they'd be insufficiently narrowly tailored or otherwise vague. For instance, deepfakes could easily find protected use in parodies (something that's actually quite common).
You might have an argument over generating objectively illegal images, but "harmful" is an inherently subjective term. Everything is harmful to someone. And I'm struggling to think of anything that's harmful to everyone.
There's been a lot of effort in recent years to use defective product laws as an end run around both Section 230 and the First Amendment itself. But "Winter v. G.P. Putnam's Sons" and a bunch of other cases have shown that courts in the USA have little desire to create some sort of implied warranty of safety on published works. In that case, people bought a book that was literally written by humans that mistakenly said that toxic mushrooms were harmless. People got very sick and sued the makers of the book. The case was dismissed because the alternative was creating chilling liability for anyone speaking of publishing.
Oddly enough, the offset isn't even enough information to truly describe the time zone. There might be a few different time zones that would have the same offset at a certain point in time. So the offset doesn't effectively communicate where the user is, what schedule (if any) they use for DST/summer time, and a bunch of other stuff. I'll admit that "2026-11-29T16:47:27-05:00" makes it pretty likely that the time zone is "America/New_York", but it's far from certain. I suppose it does at least let you do a timezone-aware truncation to a date, but it comes at the cost of making it more tricky to compare values with different offsets.
Primarily because it encourages people to keep doing this performative stuff, think they're actually helping people, and take resources away from more meaningful work. By resisting these efforts, I'm preventing what would likely be runaway acceleration.
In theory, the actual individuals are still bound by state law, but the supremacy clause allows federal laws made in pursuance of the US Constitution to preempt those state laws. Of course, these laws still need to be "necessary and proper" for carrying out an express power like regulating immigration. A law that is unnecessary or improper would theoretically not hold up in court. The same goes for executive action.
Perhaps the most infamous case of this was the Idaho manslaughter case against FBI sniper Lon Horiuchi for killing Vicki Weaver in the Ruby Ridge incident. His case was simply "removed" to federal court and dismissed under the supremacy clause (although this dismissal was later overturned narrowly when appealed).
This is why it's absolutely essential to always be aware of which types are value types in the .NET type system. Attempts by either users or the designers to conflate or unify them are ill-conceived. The nullability semantics could have been kept consistent if they went all the way back to the beginning of the CLR and did it that way, but this would have not been consistent with Java's JVM and type system (which they were trying to mimic).
That said, we already have value types like System.Int32 which inherit from System.ValueType (an abstract type) which inherits from System.Object (a non-abstract reference type), so things are already a bit weird.
For example in Eiffel by default they are references, but can also be turned into value types if the are blesses ones like numeric types, or if the developer tags them as expanded classes, either at definition or declaration type.
Delphi makes the distinction between classical object, and records from Object Pascal (both value based, and explicit pointers are required), or class types, heap only.
Modula-3 classes and records also follow similar approach, OBJECT follows the same semantic model of REF RECORDS.
For more modern examples, also D and Swift follow this approach.
And plenty of other examples for anyone wanting to dive into SIGPLAN.
It is in hindsight unfortunate that this idea didn't get into the CLR itself.
The blog post doesn't mention this, but whereas if I say my function only takes this 32-bit signed integer value type, a VB.NET caller can't hand it "null" because that's not a 32-bit signed integer - if instead I say it takes string (not the nullable string?) too bad, the VB.NET caller can just pass null anyway because in the CLR there's no distinction.
You're actually expected (if you provide public surface) to write a null test, in your C# code which explicitly says in the function signature that this mustn't be null, otherwise it might blow up at runtime because the CLR doesn't care.
Nullable types came into C# during the .NET Framework days, back when the team had very high bar to ever add features that would change the runtime as OS component.
Hence why async/await is such a mess of IL bytecode, as it was implemented in userspace so to say.
Only with .NET Core, they followed other languages in not tying the runtime to the OS, a lesson that Google also had to learn (ART is updatable via PlayStore since Android 12).
> That said, we already have value types like System.Int32 which inherit from System.ValueType (an abstract type) which inherits from System.Object (a non-abstract reference type), so things are already a bit weird.
But it all works, right? The runtime can do anything it wants to with the IL. The handling of Vector<T> is a good example of this - Locating arbitrary types/namespaces and emitting special instructions based upon the current machine's capabilities. Normalizing value vs reference semantics would be a tiny drop in this bucket.
I wonder if anybody has tried inheriting from System.ValueType or System.Object...I need to fire up an IDE and see what kind of virtuals and abstracts are exposed by doing so. If even possible.
It seems like an inheritance hierarchy build upon abstract classes that provide no usable interface just means "hey we need this inheritance for...reasons... cause its legacy!" on the one hand, and "we can rip all this useless ** out" on the other hand.
Truthfully I think the language lost something critically important when we went gung-ho on purging ourselves of the EVILS! of nullable types.
Back in the Paleolithic, the only way to get a nullable value type was to extremely explicitly box it into a Nullable<T>. The distinction between value and reference types was crystal clear and unmistakable. Boxing values required an active and deliberate decision.
Now I guess we just box everything because null checks are hard or something.
C# doesn't box value types and can be treated like an object semantically for things like generics.
IMO, we should just do away with nullability and use the optional/maybe approach as wrappers for potential values. Null shouldn't really exist ideally, especially in OO because it is a unit value and also the parent value for all objects. I appreciate nullability being introduced but it causes a fork in types by two branches at the top of the hierarchy in most cases and more conceptually just associates these optionals with this flawed concept.
Providing a platform for defamation and other tortious speech is generally legally protected under §230. They still have to respond to court orders and DMCA requests, though. This is how sites like Kiwi Farms remain online. That said, commercial apps can sometimes be sued under defective product laws.
Are there any POSIX or ISO guarantees on "FILE"? I think it's safe to assume that it isn't an incomplete type, but all functions that use it operate on pointers anyway. Storing a copy of a "FILE" object might result in each copy pointing to the same underlying file handle but having different internal state.
reply