Live data from Hacker News

Viewing profile — cshokie

cshokie

HN member
Joined
Sun, Sep 01, 2019, 7:38 PM UTC
HN karma
126
Public activity
64 items

About cshokie

No profile information was provided.

Recent public activity

  1. comment
    Comment #47999270

    How do you deal with voltage balance when replacing one bad cell out of a whole battery? My understanding is that lithium ion battery cells need to be close to each other in voltag…

  2. comment
    Comment #47998989

    Notepad also understands line endings and text encodings now, instead of always writing as CRLF UTF-16. That eliminates a whole class of “save file in notepad, corrupting it” troub…

  3. comment
    Comment #45535006

    Not so much anymore. The standard deduction for a married couple is now above 30k. It would take a large mortgage to pay that kind of interest in a single year. (Principle is not d…

  4. comment
    Comment #44769297

    The source is already available (albeit not buildable). See https://github.com/microsoft/microsoft-ui-xaml

  5. comment
    Comment #44769253

    WinRT is not the same thing as managed .NET code. There is no requirement that a UWP is .NET. There are many examples of unmanaged C++ UWPs, including the open source Windows Termi…

  6. comment
    Comment #43733074

    …based on a true story that was 55 years ago…

  7. comment
    Comment #43674595

    I don’t personally have the time or inclination to do any retrocomputing, but I love seeing the repairs that people do for them. It’s interesting in a way I wouldn’t have expected.…

  8. comment
    Comment #42498707

    If you haven’t already look up ‘if constexpr’ in cpp17 and newer. It lets you have compile time branches in a single function.

  9. comment
    Comment #42238399

    That’s similar to what vcpkg does under the covers. It clones the repo containing the dependency’s source code and then compiles it using the same compiler as the rest of your proj…

  10. comment
    Comment #42098900

    Same on an iPhone 15. Reader mode worked great, though.

  11. comment
    Comment #40958544

    I came here to also post about regfree COM. If you can get it to work that seems like the ideal solution. See https://learn.microsoft.com/en-us/windows/win32/sbscs/creati... “Activ…

  12. comment
    Comment #40308618

    I was personally affected by this, but it did not harm me. The battery drain was obnoxiously high (having to charge 2x a day instead of once every 2-3 days). I am always near a pow…

  13. comment
    Comment #39558674

    Not the OP, but I don’t think they meant that the build output is in a container. They meant that the thing you use to compile the code is in docker (and you just copy out the resu…

  14. comment
    Comment #38850850

    Capacity is the most they can produce at any given time. Solar only produces power during the day. Geothermal produces power 24 hours a day, without any regard for day or night. Th…

  15. comment
    Comment #38316559

    That is some of it. The function names also include a lot of template specializations (thanks to a newer release of MSVC). Between lots of functions and very long names it adds up …

  16. comment
    Comment #38299641

    For application development the real big problem is that std::source_location::function_nam() bloats binary size massively and cannot be selectively disabled. It is common to want …

  17. comment
    Comment #38206321

    Out of curiosity is it a “Windows is objectively difficult” problem, or a “Windows is not Linux and I know Linux best” problem? I’ve only begun using it so my expertise is limited,…

  18. story
  19. comment
    Comment #37451289

    const std::string foo = “.dot file”; in C++ cannot change after construction, but is not compile time constant. This means that it has to run some code and allocate some memory at …

  20. comment
    Comment #37449274

    This was a guest post, not written by Bret. The intro describes the author.

  21. comment
    Comment #37439328

    Hard-coding a relative file path seems like an obvious example. For example a config file with settings. The file will always have the same name so heap allocations and mutability …

  22. comment
    Comment #37102898

    This article hits on a number of interesting points. There is a lot of complexity to be aware of when using C++ coroutines. And a number of “normal” practices become dangerous in t…

  23. comment
    Comment #37014697

    Two feet seems very thick for a foundation. That’s probably thick enough to be an airport runway.

  24. comment
    Comment #36844176

    VirtualBox 7 came out almost exactly one year after the initial release of Windows 11. The bypass of the Secure Boot requirement was needed for quite a while. October 2022 https://…

  25. comment
    Comment #36842884

    Compatibility with Windows seems a lot better in 7 compared to 6, both as host and as guest. They also seem to have added a number of features such as secure boot. It seems that th…