1,077 karma · joined April 15, 2018
So the best solution for nowadays is to use just char, short, int and long long (and make strong assumptions that these are exactly 8, 16, 32 and 64 bits wide respectively), never use long or long double. Never use (u)intNN_t. Then you are good.
Those caveats of the past (but int might be 16 or 36 bits), are exactly that. An artifact of the past. A historical curiosity. Not relevant for today or the future. No, I don't believe for a second that any future platform will change their size.
Platforms also still disagree on the signedness of char, so when an 8 bit numeric type (as opposed to an ascii character type) is needed, one should always explicitly specify signed char or unsigned char, both of which are separate types from char.
Further things of note: platforms also have agreed on little endian (so called "network byte order" is dead and should never be used in new protocols, because it forces everyone to convert) and on IEEE memory representation of float and double. Contrary to popular belief the main floating point operations (+,-,*,/,==,<,>,<=,>=) are also precisely defined and always behave exactly the same (leaving out strange edge cases such as denormals). And yes, of course platforms have very long agreed on twos-complement for negative integers. This even made it into the standard at some point, I believe. Same happened with the memory layout of a vector<>, which in the past wasn't standardized, but because everyone of course did the obvious (and made it the same as a normal C array), it was added to the standard later.
What I am saying, what the C++ standard guarantees isn't everything. There are much more guarantees modern C++ code can (and should) rely on.
So 200% smaller is 3*2=6 smaller than 3, which is 3-6=-3
Which is why these kinds of statements usually don't make any sense at all. Usually something can't be more than 100% smaller, at which point it is completely gone.
But still, it seems that billionaires are lying left and right. It isn't just Elon.
- Autonomous cars will improve traffic because stopped cars can start going at the same time at an intersection -> Then you have no safety distance. And while theoretical improved reaction times mean you might need a bit less distance, the quadratic term comes from the needed breaking deceleration, not the reaction time.
- Autonomous cars will reduce congestion: they can't if they are supposed to drive around empty either to park somewhere else or to get to the next person to transport. On the contrary, they will increase congestion.
Note also that I don't buy the "work" inside "very small cars". It's not just that having to drive prevents you from working. Also the overall comfort while traveling isn't good enough outside of trains or planes for anything but some tiny amount of work.
I am on board with the benefits for old, disabled, tired and drunk people though. Also, I do accept that they will prevent a lot of accidents and deaths.
To answer GPs point, I think Fairphone doesn't primarily target either of the two audiences. I think they primarily target the people that care about the ethics of the creation of the hardware. Basically people who would like to minimize the invisible human cost that their phone creates.
This is why I didn't, at the time.
Jokes aside, some people knew and so it was also called (though not very commonly) World War starting 1914 and First World War from 1918. Because of course it wouldn't be the last. World War 3 was first talked about in 1941. And the famous idea that World War 4 would be fought with sticks and stones was first mentioned in 1946.
So the correct answer to "Do you know something I don’t?" is "I know human nature"
Edit: I just looked up the math, and actually the idea of speculative decoding is done in a clever way that fully preserves the probability distribution while still maximizing the acceptance rate of draft tokens. So I would have to disagree with OP and say that no, non-greedy sampling doesn't influence the trajectories.
Note I like the default behavior of browsers to center on the viewport as opposed to the window treating sidebars as overlays over the page. Whenever pages do that with their own gadgets I hate it, because they often don't move their content out of the way and it makes it unreadable unless scrolled out of the range of these gadgets, which often isn't possible at all. And even when it is, it effectively reduces the total usable screen to a fraction.
Whenever I'm bothered enough (happens mostly on mobile), I use a kill sticky bookmarklet to fix that.
Anyway, looking forward to the widespread introduction of Wero. Maybe there will be some options for third party roms in the name of digital soveranity. Seems like they want to make the EUDI wallet for digital documents no-google capable for that reason at least.