865 karma · joined Mar 23, 2013 (13y ago) · 246 submissions
comment 8mo ago · link · parent
Smarter people than you and I have thought about this problem and come to the opposite conclusion: https://en.wikipedia.org/wiki/Lindy_effect
comment 11mo ago · link · parent
User activeUser
…you’ll always know that `activeUser` contains a User value – something that might have an `Id` property. And the convention is enforced by the language, so it’s easy to communicate. These semantic distinctions are very useful, I agree.comment 11mo ago · link · parent
var intValue = 3;
…I separate the conventional prefix with a space: int value = 3;
…so now my co-workers don’t need to remember the convention – it’s enforced by the language.(I hope this makes the joke more obvious.)
comment 11mo ago · link · parent
I’ve used languages with an approach like this. The difference in what I’ve used is that you separate the conventional part from the rest of the name with a space (or maybe a colon), then only refer to the value by the non-conventional part for the rest of the scope. Then the language enforces this convention for all of my co-workers! It’s pretty neat.
comment 1y ago · link · parent
This isn’t the case. It’s allowed because the question-mark syntax means two different things in value- and reference-type contexts. The signatures really look like this:
public static IEnumerable<TR> SelectNotNull<T, TR>(
this IEnumerable<T> source,
Func<T, TR> fn)
where TR : class // …and the nullability of TR is tracked by the compiler
public static IEnumerable<TR> SelectNotNull<T, TR>(
this IEnumerable<T> source,
Func<T, Nullable<TR>> fn)
where TR : struct
This is an allowable overload.comment 1y ago · link · parent
Sure it does. It’s labeled “Copy Translation”. It’s the first button under the translation for un-editable text.
> - Multitasking (apps should shut down after some time spent idle, instead they have to be manually closed)
Apps that aren’t working in the background shut down effectively as soon as they lose focus. Don’t let the list of screenshots fool you – those aren’t running. Don’t waste your time swiping them away.
comment 1y ago · link · parent
V vzntvar gung vg pbhyq abg or orpnhfr Frg erdhverf gur rkgen fngvfsnpgvba bs Rd, evtug?
After looking it up: Nu, lrf, ohg Beq. Vagrerfgvat ubj gung vzcyrzragngvba qrgnvy yrnxf.
Even later: Unat ba, gurer'f ab jnl vg pbhyq or rira vs gung fngvfsnpgvba pbhyq or birepbzr! Vzntvar n frg pbagnvavat sbhe naq artngvir sbhe naq lbh znc `fdhner` bire vg… Gur fvmr bs gur pbyyrpgvba jbhyq punatr!
comment 1y ago · link · parent
If this is what you are worried about, America is pretty far behind the leading edge:
https://en.wikipedia.org/wiki/Assassination_of_Shinzo_Abe
https://www.cnn.com/2025/03/25/asia/court-dissolution-unific...
comment 1y ago · link · parent
This isn’t necessarily the case. “Go to Definition” on the `val` goes to the definition of the deduced type in the IDEs and IDE-alikes I’ve ever used.
comment 2y ago · link · parent
Taking his personal struggles out of kernel development and onto Hacker News was the escalation – pointing out his hypocrisy is only trying to get people who agree with him to realize that they’re wrong.
comment 2y ago · link · parent
Abusing others individually in public, but expecting a quiet word on the side about “the overall situation” when it comes to your own behavior. I hope you realize something from this.
comment 2y ago · link · parent
comment 2y ago · link · parent
Yes, that’s right!
> But BSL doesn't disqualify software from being open source.
No, that’s wrong: https://spdx.org/licenses/BUSL-1.1.html
> The Business Source License […] is not an Open Source license.
comment 2y ago · link · parent
Not at all: https://en.m.wikipedia.org/wiki/Lochner_era
comment 2y ago · link · parent
It becomes absurd faster when you consider what a realistic household would own and eat and use. "There's no unloading necessary," he says. Absolutely ridiculous.