Live data from Hacker News

Viewing profile — eMSF

eMSF

HN member
Joined
Wed, Nov 07, 2018, 12:19 AM UTC
HN karma
598
Public activity
259 items

About eMSF

No profile information was provided.

Recent public activity

  1. comment
    Comment #46620849

    Using a plug-in hybrid as an EV can and will wear out the drive battery over the lifetime of the car. It doesn't even matter if you don't intend to keep the car for very long as a …

  2. comment
    Comment #45408234

    Related to this, GNU's libstdc++ shared_ptr implementation actually opts not to use atomic arithmetic when it infers that the program is not using threads.

  3. comment
    Comment #45191218

    Even with a 5" screen, it was bigger than for example iPhone 17 in every single dimension due to its hefty bezels (and not insignificantly so; iPhone 17 is closer in width to iPhon…

  4. comment
    Comment #44591496

    While it is true that only class types have member functions in C++, that does not mean that objects of other types demand the use of macros. C++ also supports non-member functions…

  5. comment
    Comment #41853403

    How could you ever continue after the second statement without checking if you actually read an integer or not? How would you know what you can do with a?

  6. comment
    Comment #41835569

    from_chars_result closely matches the strtol line of functions we've had for decades. Not returning the end position would be weird here!

  7. comment
    Comment #41667932

    Well, obviously it doesn't have parentheses. It's not like this is the only instance where adding parentheses affects the end result. You could write even more complex declarators …

  8. comment
    Comment #41253886

    ABP was initially released almost a full decade before UBO was a thing (although I don't know if the Chrome version is related), so I wouldn't judge someone for just using it...

  9. comment
    Comment #41132509

    It will eventually not matter, but I didn't suggest using a single file.

  10. comment
    Comment #41132350

    Why does everything have to fit in the memory all of a sudden? Open files, there's your infinite tape.

  11. comment
    Comment #37726984

    The Finnish caption is quite a bit worse than "all your base are belong to us" type of invalid grammar. Translating it back, even with best intentions (ignoring the naive attempt o…

  12. comment
    Comment #37441036

    A lot of folks write char const * (and T const& in C++), and the "rule of thumb" is to read the declaration right to left. In this case, pointer (to) const char. Works also with mu…

  13. comment
    Comment #36900325

    Block heaters can be used to heat the engine coolant (and afterwards the cabin) with or without running the engine. I doubt any cars have special batteries for these (even a drive …

  14. comment
    Comment #36219305

    While writing a fancy word counter I learnt that glibc iswspace (or the glibc locale data) actually does not consider non-breaking spaces as, well, spaces even when using a Unicode…

  15. comment
    Comment #36037622

    This thread stinks of cabbage to high heaven. Can you actually fool even yourselves anymore? Russians have lost the war a long time ago, it's barely a nasty procession that's left.…

  16. comment
    Comment #35817002

    The type of the expression 'x' is int, not char (in C). The type of an expression consisting of a variable name is the type of the variable (as far as sizeof is concerned).

  17. comment
    Comment #35755949

    The 2000 kcal reference (which I assume you're referring to) isn't for "an average man", but for an average person. For an average man, the reference value would be somewhere betwe…

  18. comment
    Comment #35617946

    >They are demonstrably and objectively not “fine” Aka "my opinions are the objective viewpoint". >They are the primary destructive force in society Hyperbolic nonsense. Today's mob…

  19. comment
    Comment #35062642

    That may have been the case sometime between the World Wars, but the only reason you'd do that these days is if you particularly enjoy visiting the shop. Modern oils can easily las…

  20. comment
    Comment #34395269

    A local community had a rather similar programming challenge years ago (although it was limited to digits-only/letters-only and pi-digits categories). I revisited the challenge som…

  21. comment
    Comment #34044138

    Fuel-type block heaters heat the cabin as well (they turn on ventilation once the coolant has warmed enough). Electric heaters are meant to be used with a cabin heater that uses th…

  22. comment
  23. comment
    Comment #33767191

    You only have one life. If you want to spend it using public transport, going through places you aren't visiting and stopping at stops you are not leaving at, then go right ahead (…

  24. comment
    Comment #33688141

    Wonder no more: at least clang does, since around v3.5. https://godbolt.org/z/jEq5xbMna

  25. comment
    Comment #33665927

    From what I have seen, VAG DCT models tend to be invariably less efficient than their MT counterparts (and I don't know why ZF-8 would be more efficient than a DCT).