HNHacker News
TopNewBestAskShowJobs

MetroWind

51 karma · joined April 7, 2021

submissionscomments
MetroWind··on Internet spring cleaning: How to delete Instagram, Facebook and other accounts
Personally I don't see the value in deleting accounts. I just don't use a service if I don't want to. I have not used Facebook for many many many years. It doesn't matter if my account is active or not. Why do I care? If my account is alive, they have to let it take up some of their storage, sucks for them.

Twitter has been my main source of news. For the news I care about it has been more reliable than main stream media. But I do understand why some people want to stopping using it.

Google is really hard because of YouTube, which is my main source of passive entertainment.

Venmo is surprising to me---how do people use Venmo? Are they using it as social network somehow? I just open it when I need to pay someone, and close it when I finish, like using a wallet. Why are people bothered by it?

MetroWind··on How can I get my boyfriend to stop digging his tunnel?
More interestingly, why do people care at all and discuss on HN?
MetroWind··on PC can't be shipped to CA, CO, HI, OR, VT or WA due to power consumption
What's the definition of "measured annual energy consumption"?
MetroWind··on MIT Predicted Society Will Collapse in 2040. Research Shows We're on Schedule
People seem to be pretty optimistic that the prediction is wrong.

The prediction is most likely wrong. The society might collapse before 2040…

Yes the man kind is very good at fixing things. That's including fixing things for the worse…

MetroWind··on All C++20 core language features with examples
Definitely C++ for me. Just to have templates and things like vector, array, variant, span, if nothing else.

But these days I may prefer Rust over the two instead, if it’s not a numeric-heavy program.

MetroWind··on All C++20 core language features with examples
Just my 2 cents from personal experience.

> a) Functionality (does it work, is it safe?), b) Readability c) Conciseness d) Performance and e) Extendibility

I use a lot of library features after C++11. Variant, span, and string_view are the most important ones. As to language features, structured bindings and variable templates come to mind. They pretty much hit all of your code quality points. I don't think these are for "a small circle of language academics" either (I'm definitely not in that "small circle"). Syntax-wise, meta programming can get ugly yes. Even Stroustrup himself doesn't like it. I guess at this point it's just for "historical reasons".

> Using nonstandard extensions, libraries or home-baked solutions to run computations in parallel on many cores or on different processors than the CPU

I think this one comes down to that there are a vast range of parallel computing models out there, and C++ wants to have generality. I used to write a lot of MPI programs targeting the super computers. I don’t think any language would want to include that in the standard…

> Debugging cross-platform code using couts, cerrs and printfs

What’s wrong with printing? I even debug JavaScript programs with console.log(). It’s convenient.

If you just do local dev, debuggers work pretty well, you can debug however you want. I was unfortunate enough to have pretty much always worked on platforms that is hard to have a good remote debugging session, due to hardware capacity, legacy toolchain, or even ssh-ing onto the host being hard enough due to security. But that's hardly C++'s fault.

> Forced to use boost for even quite elementary operations on std::strings

It’d be great if std::string has more features. But I don’t think it a big deal. Personally I don’t like linking boost to my programs, so I just write my own libraries for that. It’s just elementary operations anyway.

← PreviousPage 5 of 5