Viewing profile — hvdijk
hvdijk
HN member- Joined
- Mon, Nov 25, 2019, 5:49 PM UTC
- HN karma
- 1,155
- Public activity
- 280 items
- HN profile
- View on Hacker News ↗
About hvdijk
No profile information was provided.
Recent public activity
-
comment
Comment #34330887
Except that the HTML spec explicitly states just before that regex that what it checks is not whether it's a valid e-mail address, and that it intentionally rejects valid e-mail ad…
-
comment
Comment #34193331
> The right to free speech does not protect your right to commit crimes or [...] If hate speech were to be made a crime, your exact same argument "the right to free speech does not…
-
comment
Comment #34188792
The US First Amendment does not say anything about libel or calls to violence. I am not aware of other amendments doing so either. What is the rationale for allowing these limitati…
-
comment
Comment #33959309
True. And that still doesn't mean the behaviour is undefined, that just means the construct is not useful except on two's complement implementations. Which, even before C23, was al…
-
comment
Comment #33954652
Are they UB? What rule says they are? I would not be surprised by such a rule, but I am not aware of one.
-
comment
Comment #33940151
> You really just want the calculation to be settled with some well-behaved result like wrapping, or else to raise an exception. Perhaps you do, but others don't. This compiler beh…
-
comment
Comment #33863578
Correct, and the article does consistently spell it 3DO, it's only the link title here that uses 3D0.
-
comment
Comment #33466102
The Wikipedia article you link to also claims that the 1882 Oxford Etymological Dictionary of the English Language said that one meaning of gender was sex. Other dictionaries from …
-
comment
Comment #33464551
> I thought trans was about changing gender, not changing sex. Mostly true, but it's confusing. Historically, sex and gender have been used interchangeably. That is slowly changing…
-
comment
Comment #33464206
If you know it's controversial, we now know "not one that would generally be considered offensive for others to mention" was, at best, being disingenuous. Is there anything else?
-
comment
Comment #33464114
That explanation is directly ruled out by GP's comment: the GP doesn't think this is controversial.
- comment
-
comment
Comment #33463826
The lawyer did work, thankfully.
-
comment
Comment #33463637
It isn't guilt by association when the article directly uses anti-trans rhetoric.
-
comment
Comment #33463621
I'm glad your experience was better than mine. I had to get a lawyer involved after the Dutch support told me I would be refunded if I returned an item, and then after I sent it ba…
-
comment
Comment #33463576
There's no "could be seen as", the phrase "sex realist" makes it clear beyond any doubt that the author does support the activities of Colin Wright.
-
comment
Comment #33393594
That's fine if the script only runs on shells that behave the same way, but the script runs under bats, which runs on bash and appears to not change its xpg_echo shell option. This…
-
comment
Comment #33386837
The script does echo variables: echo "banned command $cmd: $output" This is non-portable if there is any possibility that these variables contain backslashes.
-
comment
Comment #33238820
And flagged this for it. No tolerance for this kind of crap, the guidelines are clear, the original title being false or misleading is when you shouldn't use the original title. Th…
-
comment
Comment #33106502
That's a bug, there is no such thing as an invalid trigraph. ?? followed by any character other than =, /, ', (, ), !, , or - is not a valid trigraph, but that doesn't make it an i…
-
comment
Comment #33088276
Ah, thanks for the clarification, I think we've been talking about two slightly different things, then. For you, std::optional would have to make C++ more memory-unsafe than it alr…
-
comment
Comment #33087741
> But your "facts" are "if I use the API wrong, it behaves wrong." Kind of, yes. That is what memory safety is about, isn't it? If I look for definitions, I find for instance https…
-
comment
Comment #33087408
Sure, std::optional is unlikely to result in such behaviour in practice, and std::optional is likely to "only" result in such behaviour if the result of operator*() is dereferenced…
-
comment
Comment #33086190
std::optional can be described as memory-unsafe because indirection when an optional is empty has undefined behaviour rather than deterministically throwing an exception or abortin…
-
comment
Comment #33078932
More to the point, as usually happens in India.