Better HN
topnewbestaskshowjobs
Log inSign up

chrisoverzero

865 karma · joined Mar 23, 2013 (13y ago) · 246 submissions

Submissions

comment 1h ago · link · parent

Time is expensive.

comment 3d ago · link · parent

There’s a reason the product line that’s “a bunch of random pieces” is called LEGO Classic.

comment 1mo ago · link · parent

So, nothing to do with Apple Pay at all, then?

comment 8mo ago · link · parent

> “X has lasted a long time so it will last more” is so obviously wrong.

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 10mo ago · link · parent

"I made my max bid $500.00, but I'd have paid $500.01!"

"I made my max bid $500.01, but I'd have paid $500.02!"

"I made my max bid $500.02, but I'd have paid $500.03!"

…where does this process end?

comment 11mo ago · link · parent

Mhm! Exactly! In the system those other languages use, once you see the variable’s declaration:

    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

Sure! Let’s say I want to enforce that a variable only ever holds an integer. Rather than put the conventional prefix and the name together, like this:

    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

Not all phrases’ meanings are derivable from the literal definitions of the words that make them up.

comment 11mo ago · link · parent

> […] it shouldn't take long at all for people to learn the highly consistent naming conventions that tip you off to what type of data is being handled.

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 11mo ago · link · parent

No, we don’t mind. Go ahead.

comment 1y ago · link · parent

> Luckily, since type constraints are part of the signature of the method and there is no ambiguity, I am allowed to make this overload.

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

What makes that "most likely," other than that you thought of it?

comment 1y ago · link · parent

> How does one put a dollar value on a $10-30 GPT-4 pro subscription?

I’d estimate it at somewhere in the region of $10–$30, personally.

comment 1y ago · link · parent

> - Translate feature doesn’t have a copy button

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

Is the answer (ROT13 for spoilers):

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

> What precedent are we setting by explicitly making "murder someone" a viable path to making progress on your personal political agenda?

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

You’re responding to a comment containing a method call `thing.makeThingDoerForTest(1, 2, 3)` and saying “That's the trick - it is not test only code.”

Can you square those for me? I don’t get it.

comment 1y ago · link · parent

Where are you from that you consider all of these groups to have the same pronunciation?

comment 1y ago · link · parent

> First of all, please do not ignore this email, this is not a scam attempt nor am I trying to sell anything, I am just alerting and looking for help closing down a security issue […]

This seems like a good hint.

comment 1y ago · link · parent

Did you look into where the Executive Director and the Head of Finance & Funding live? (Cardiff, Wales and Oxford, England, respectively.)

comment 1y ago · link · parent

> if you don’t have an explicit type hint in a variable declaration, even readers that are using an IDE have to do TWO jump-to-definition actions to read the source of the variable type.

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

I want superiority de-coupled from technical expertise in the minds of the people who have the latter.

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

> No, they had the option of having a real conversation in private about what we could do to improve the overall situation.

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

Sure, but at the time that Apple made the decision, they had $0.0 trillion in billings and sales.

comment 2y ago · link · parent

But if you’re constantly pinging the container (as suggested above), it will never scale to zero.

comment 2y ago · link · parent

You clicked on a video from Real Engineering titled “How Nebula Works” hoping to get answers to legal and financial questions? I think videos with titles like “How Internal Combustion Engines Work” would also deliberately dodge legal and financial questions. Because they’re not what the video is about.

comment 2y ago · link · parent

> The BSL doesn't make it closed source […]

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

> […] changed from liberal to conservative for the first time in its existence.

Not at all: https://en.m.wikipedia.org/wiki/Lochner_era

comment 2y ago · link · parent

It wasn’t a driver.

comment 2y ago · link · parent

I find it even more bonkers than that, even. Let's "frictionless vacuum" the problem: I live in a home in which all we eat is breakfast cereal. We need one spoon and one bowl per meal per person. But we own 25 bowls and 40 spoons. When we run out of bowls (that is, when the "dirty" dishwasher is running with a complement of 25 bowls), the "clean" dishwasher still contains 15 spoons. At the next mealtime, we each get a spoon and a bowl. When we're done eating, we put the dirty dishes in… Well, not either of the "clean" dishwashers!

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.

12345
9