HN user

ropejumper

107 karma
Posts2
Comments64
View on HN

People in a coma are still considered real human beings. The reason why you'd pull the plug is because there is no prospect of survival, or that the resources necessary are too great. Which, as much as it sucks, is a normal thing that happens. People die.

Intentionally breeding people that have no intelligence is a very different thing and I don't even know why we're talking about it as if it's even remotely similar.

Many americans put the euro sign before the numerical value even though most (afaik all) countries that use the euro put it after. This is such a weird thing to get bothered by.

The amount of braking you can apply before flying over the handlebars decreases significantly the more you move the center of gravity forward.

I'm comparing more to 2010s cars :)

I think it's a pretty good balance between visibility and comfort. But I can definitely see your point.

Are there new cars with warm LED lights?

I don't know actually, but I've definitely not seen any on the road. I wonder why, as far as I know it's not a technical issue.

Fair enough, though I think the techniques that the author uses are perfectly adequate depending on the type and scale of software you're writing. Maybe it should be better labelled.

As for searching, if you scroll down to the bottom of the page there's a search box, you can add your username to the query and it'll match.

It's a bit big for my hands as well, but the huge touch screen is amazing for programs like sunvox so I don't even mind.

I think it's hard to genuinely appreciate how big the thing is until you hold it. Today I realized it's exactly the same size as my keyboard. And almost as wide as a 12-inch macbook.

On almost every newline, which is the reason why this doesn't work:

    func thing()
    {
I quite like this approach. It's very simple and consistent, and once you know how it works it's not ever surprising.

Because now you have to jump around in order to see the sequence of events, which can be very frustrating if you have to constantly switch between two of these functions.

Plus, if we're dealing with a "long list of tasks" that can't be broken up in reusable chunks, it probably means that you need to share some context, which is way easier to do if you're in the same scope.

One thing I find useful is to structure it in blocks instead, so you can share things but also contain what you don't want shared. So e.g. in rust you could do this:

    let shared_computation = do_shared_computation();
    
    let result_one = {
        let result = do_useful_things();
        other_things(&shared_computation);
        result
    }
    
    ...
I think it's a nice middleground. But you still can't write modular tests. But maybe you don't have to, because again, this is just a long list of tasks you need to do that conceptually can't be broken down, so maybe it's better to just test the whole thing as a unit.
Fixing C Strings 2 years ago

Yep, you're right. One way to make this less of a problem is to make this distinction at the type level, having both an owned_string and a string_view for example. You can even make owned_string store its length inline.

Fixing C Strings 2 years ago

Two people have already mentioned things like storing the length inline or including a null-terminator to be backwards-compatible. What's described there is basically the same as std::string_view or &str, and to me one of the biggest reasons to use these structures is that your particular view of the string doesn't interfere with someone else's. You can slice your string in the middle and just look at it piecewise without bothering anyone else.

Choosing between these trade-offs just depends on what you're doing. I'd definitely choose this pattern if I were to write a parser for instance.

Paper ballots, and a recount was already issued. There were differences between the two counts but they were minor enough; the recount was actually done because some other guy didn't like the fact that 2nd and 3rd place were only 2000 votes apart.

The breaches apparently didn't do much, the big reason why they cancelled the election was because the leading candidate declared 0 spending for his campaign, but it was proven he used russian money to fund countless tiktok videos that got him popular overnight. This is illegal under romanian law.

Personally, I don't think they should've been cancelled. It's a dubious thing to do under a democracy, and the runner-up was pretty decent anyway and had a chance for the second tour. I guess we'll see how it goes.

But the point of communication is mutual understanding. I generally agree that language is what we make it be, but in this case the wrong usage, meaning the usage that is mathematically incorrect, is causing issues.

I can't just go around saying that my cat is siamese even if he's not just because I got it wrong one time and now this is what siamese means to me. Because my goal is to transmit accurate messages.

There are relatively few people living south enough to have "cold and dark winters," anyway. The northern hemisphere is much more concentrated towards the north.

Most people live above 35°S where, at the most extreme, winter days are about 10 hours and a half long (plus about an hour of decent twilight). Temperatures obviously vary depending on region but they don't really get much below 10°C as far as I know.

So really, it's more like mostly bright and somewhat chilly.

Yep. The issue with megacorps (and more generally monopolies) is that they want to have their cake and eat it too. You want capitalism but you also want to be the only one on the market. Pick a side.

Some of them are plain wrong, as well. The ы sound barely ever shows up in english and their explanation of "it's the I in bill" is not right at all.

The closest I can get is the imaginary vowel between the D and the N in the word "couldn't", when said slowly. A more useful idea is to say the first sound in the word "about" and then lift your tongue and jaw up. That's much closer.