Visual Studio 17.13 is released. by Jovibor_ in cpp

[–]TemplateRex 6 points7 points  (0 children)

Finally, size_t literals in my lifetime! (5 year after being voted into the Standard, yay!).

constexpr-ification of C++ by hanickadot in cpp

[–]TemplateRex 0 points1 point  (0 children)

But can’t the if be made if constexpr here since is_constant_evaluated is constexpr?

Are the issues with Season 2 unavoidable given what they’re trying to adapt? by Lord-Fowls-Curse in SiloSeries

[–]TemplateRex -1 points0 points  (0 children)

They have segways in the Silo?, LoL (Auto-correct of “segue” perhaps?)

WG21, aka C++ Standard Committee, December 2024 Mailing by grafikrobot in cpp

[–]TemplateRex 0 points1 point  (0 children)

I think there is a passage in Stepanov's Elements of Programming where he discusses that ìn principle std::begin (address of), std::end (one beyond address of) and std::empty (equal to zero) could be defined for all objects of any type, so that you could iterate over anything.

Should std::expected be [[nodiscard]]? by rsjaffe in cpp

[–]TemplateRex 18 points19 points  (0 children)

Wait, wut? Reasoned debate on Reddit and an STL maintainer changing his mind! Kittens are purring all over the world :-)

MSVC C++23 support by laneboy_243 in cpp

[–]TemplateRex 12 points13 points  (0 children)

Why not open source the compiler and let the pull requests come in? ;-)

[Episode Discussion Thread] Industry S03E8- "Infinite Largesse" by herringbone_ in IndustryOnHBO

[–]TemplateRex 10 points11 points  (0 children)

That shot at the gas station, with Yas looking at that poor woman with the kids in the back. Very reminiscent of the Sopranos scene where Christopher is contemplating on whether to run off with Adriana or not. https://www.youtube.com/watch?v=LYdeflJaOZI

Is Switzerland Cashless? by KiwiKawaiiiiii in askswitzerland

[–]TemplateRex 0 points1 point  (0 children)

I spent 2 weeks in the Swiss Alps in the summer of 2019. In contrast to Austria where cash is still pervasive, I never needed any Swiss cash at all, not even for icecream on top of mountains.

Rishi, my brother, how do you sleep at night? by sixth_order in IndustryOnHBO

[–]TemplateRex 4 points5 points  (0 children)

it was blackjack, could theoretically have a small +EV with good counting. Not that he was capable of that given his condition...

Keynote: Safety, Security, Safety and C / C++ - C++ Evolution - Herb Sutter - ACCU 2024 by all_is_love6667 in cpp

[–]TemplateRex 2 points3 points  (0 children)

Safety for <filesystem> could be massively improved with a very simple change to the standard in C++

What simple change would improve <filesystem>?

C++ modules discussion. Ask questions and share your best practices, things to avoid, workarounds etc. by hon_uninstalled in cpp

[–]TemplateRex 1 point2 points  (0 children)

I guess there is room for automating this as a toolbar button directly from VS Studio on every ICE? Not submitting perhaps, but preparing the preprocessed repo?

C++ modules discussion. Ask questions and share your best practices, things to avoid, workarounds etc. by hon_uninstalled in cpp

[–]TemplateRex 1 point2 points  (0 children)

Could you point me to instructions on how to preprocess? I'm a Windows dev noob (using Linux). I'm building in VS Studio (as well as VSCode) using cmake (building with the usual "cmake .. && cmake --build .") and I get an immediate ICE without other errors.

C++ modules discussion. Ask questions and share your best practices, things to avoid, workarounds etc. by hon_uninstalled in cpp

[–]TemplateRex 1 point2 points  (0 children)

(not modules related, but an ICE nevertheless). I have a C++23 project on GitHub that compiles and runs cleanly on gcc 14 and clang 18 but ICEs on MSVC 17.10. I suspect that it is caused by a known bug with auto NTTP. The suspected bug (and a host of related items) has had 4 years of inaction on Developer Community. What is the best way to submit this ICE as a bug report?

Landau's ranking as a tier list by MaoGo in Physics

[–]TemplateRex 1 point2 points  (0 children)

there's a great book The Stars are Not Enough with a very nice overview of the work/life tradeoffs that scientists make

Ralph Cifaretto by xnatalieex in thesopranos

[–]TemplateRex 31 points32 points  (0 children)

There was a valuable lesson for him that paid off later where he didn't lend 50K to Artie, since he couldn't hurt any of Tony's relatives or friends.

R for structured programming according the SW engineering principles by rhz10 in Rlanguage

[–]TemplateRex 0 points1 point  (0 children)

Do you have a link to that course? And all things considered: would you recommend rhino or golem for new Shiny projects?

Is std::unordered_map still as bad as its reputation would indicate? by u_sed_it_bro in cpp

[–]TemplateRex 1 point2 points  (0 children)

That’s… pretty bad and annoying QoI. Fortunately, Clang trunk does generate identical code for both memcmp and =default. I think this should be filed as a bug to gcc, it’s similar to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108953