2,562 karma · joined August 2, 2012
I am reminded of Lord Peter Wimsey.
But your meaning is clear. In an assert expression, don't call functions that might change the program/database state. Be as "const" as possible.
htons(..) and related socket-utility names are also often macros, but I'm pretty sure there is not a std::htons(..) in the C++ standard, partly because 'htons' is not an attractive name. Since it's (sometimes) a macro don't qualify its namespace like ::htons(..).
A long time ago in the Microsoft C (and later C++) dev envs there were macros named "min" and "max", which I thought were terrible names for macros.
Riposte: I knew you'd say that! Snap!
Altho maybe I'm stretching the analogy too far.
But there are fuzzy areas, like hashmaps. Discovery or engineering?
Tho perhaps it's pointless, or worse, elitist to even make this distinction.
You can also take power using a capacitor instead of an inductor, from the changing voltage (not current) in an AC line. Like when you hold a florescent tube vertical under a hi-power line, and it lights up.
Best furniture ever. Carted across the country twice. I still use both pieces every day. They've been reupholstered once.
According to https://www.eia.gov/todayinenergy/detail.php?id=61364 humanity used about 27400 TWh in 2023, with bitcoin mining using in the range of 67 to 240 TWh. So we're using roughly half-a-percent of global electricity (~140 TWh) on bitcoin. That's about the 16 fission reactors.
If we decide that AI is as worthwhile as bitcoin then we should be willing to invest that much electricity. Maybe the U.A.E. is thinking they could provide those power plants.
Intel may end up back on top.
https://www.asml.com/en/news/press-releases/2022/intel-and-a...
https://www.datacenterdynamics.com/en/news/intel-receives-it...
https://www.tomshardware.com/tech-industry/manufacturing/tsm...
More info: https://en.wikipedia.org/wiki/Control_moment_gyroscope
As in men, the single X-chromosome doesn't deactivate.
I'm curious how single-X manifests in other mammals. And if Turner has autoimmune implications.
https://www.mayoclinic.org/diseases-conditions/turner-syndro...
I'd name it GooGaa or Googa. Like "Google" and "goo-goo-gaa-gaa" (baby's first babbling). It's flowing, friendly & familiar.