Viewing profile — cshokie
cshokie
HN member- Joined
- Sun, Sep 01, 2019, 7:38 PM UTC
- HN karma
- 126
- Public activity
- 64 items
- HN profile
- View on Hacker News ↗
About cshokie
No profile information was provided.
Recent public activity
-
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…
-
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…
-
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…
-
comment
Comment #44769297
The source is already available (albeit not buildable). See https://github.com/microsoft/microsoft-ui-xaml
-
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…
-
comment
Comment #43733074
…based on a true story that was 55 years ago…
-
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.…
-
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.
-
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…
-
comment
Comment #42098900
Same on an iPhone 15. Reader mode worked great, though.
-
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…
-
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…
-
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…
-
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…
-
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 …
-
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 …
-
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,…
- story
-
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 …
-
comment
Comment #37449274
This was a guest post, not written by Bret. The intro describes the author.
-
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 …
-
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…
-
comment
Comment #37014697
Two feet seems very thick for a foundation. That’s probably thick enough to be an airport runway.
-
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://…
-
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…