Readit News logoReadit News
Maxatar commented on Kernighan on Programming    · Posted by u/chrisjj
flipped · 7 days ago
In the age of LLMs, debugging is going to be the large part of time spent.
Maxatar · 7 days ago
Interesting, I actually find LLMs very useful at debugging. They are good at doing mindless grunt work and a great deal of debugging in my case is going through APIs and figuring out which of the many layers of abstraction ended up passing some wrong argument into a method call because of some misinterpretation of the documentation.

Claude Code can do this in the background tirelessly while I can personally focus more on tasks that aren't so "grindy".

Maxatar commented on U.S. life expectancy hits all-time high   scientificamerican.com/ar... · Posted by u/brandonb
aeternum · 9 days ago
If you exclude obese individuals US life expectancy is quite high. Health is the ultimate marginal good so exorbitant expenditure is relatively logical. You can't take the money with you so it often makes sense to spend on health even assuming extreme diminishing returns.
Maxatar · 9 days ago
Yes, if you exclude about half of the U.S. population (40% of Americans are obese) [1] then the U.S. has life expectancy that is on par with the rest of the developed world.

[1] https://www.cdc.gov/nchs/fastats/obesity-overweight.htm

Maxatar commented on U.S. life expectancy hits all-time high   scientificamerican.com/ar... · Posted by u/brandonb
0xy · 9 days ago
Impossible to compare without controlling for demographics. White people in the US have comparable rates to Europe.

Diversity means diversity in health outcomes, which are vastly different between groups.

Maxatar · 9 days ago
>White people in the US have comparable rates to Europe.

No it's not. White non Hispanic population in the U.S. has a life expectancy of 77.5, which is lower than the U.S. average life expectancy and comparable to Eastern Europe, but not Europe as a whole (life expectancy of 81.4).

Loading parent story...

Loading comment...

Maxatar commented on C++ Modules Are Here to Stay   faresbakhit.github.io/e/c... · Posted by u/faresahmed
bluGill · 11 days ago
modules are the future and the rules for are well thought out. Ever compiler has their own version of PCH and they all work different in annoying ways.
Maxatar · 11 days ago
Modules are the future... and will always be the future.
Maxatar commented on C++ Modules Are Here to Stay   faresbakhit.github.io/e/c... · Posted by u/faresahmed
senfiaj · 11 days ago
I still hope that modules become mature and safe for production code. Initially I coded in C/C++ and this header #include/#ifndef approach seemed OK at that time. But after using other programming languages, this approach started to feel too boilerplate and archaic. No sane programming language should require a duplication in order to export something (for example, the full function and its prototype), you should write something once and easily export.
Maxatar · 11 days ago
I think everyone hopes/hoped for a sane and useful version of modules, one that would provide substantial improvements to compilation speed and make things like packaging libraries and dealing with dependencies a lot more sane.

The version of modules that got standardized is anything but that. It's an incredibly convoluted mess that requires an enormous amount of effort for little benefit.

Maxatar commented on C++ Modules Are Here to Stay   faresbakhit.github.io/e/c... · Posted by u/faresahmed
malfmalf · 11 days ago
They are using modules in the MS Office team:

https://devblogs.microsoft.com/cppblog/integrating-c-header-...

Maxatar · 11 days ago
This is untrue. The MS Office team is using a non-standard MSVC compiler flag that turns standard #include into header units, which treats those header files in a way similar to precompiled header files. This requires no changes to source code, except for some corner cases they mention in that very blog post to work around some compiler quirks.

That is not the same as using modules, which they have not done.

Maxatar commented on Tether says it bought 27 tons of gold in fourth quarter   finance.yahoo.com/news/te... · Posted by u/petethomas
didip · 14 days ago
What is the point of stablecoin holder to hold gold?

digital currency cannot be trusted on its own?

Maxatar · 14 days ago
If you read the article, it's because Tether also issues a gold token called XAUT whose value is pegged to the price of gold:

https://coinmarketcap.com/currencies/tether-gold/

Loading parent story...

Loading comment...

Loading parent story...

Loading comment...

u/Maxatar

KarmaCake day1109April 21, 2024View Original