@artificialmind@pkhuong@cliffle yeah floating point is commutative where you expect it to be, but not necessarily associative or distributive, and that is way weirder than non-commutativity from a math perspective
I’m surprisingly unable to find much data about the cost of bounds checking in real-world high performance applications like games.
Did you ever perform or find a representative study @repi ? Or anyone using @bevy ?
Intuitively I expect modern CPUs to hardly break a sweat about all these untaken branches, but I have no data. I’m left wondering if gamedevs would not rather skip all bounds checks in release builds 🤔
@adrianb3000@anji@repi@bevy Putting "unlikely" annotations on those branches (for compilers that support such) should help with branch misprediction on cold cache. And the bounds check calculations will probably execute in parallel with (speculatively) executing the guarded code, given enough CPU execution resources?
People keep saying ChatGPT is good for manual labor, but every time I try using this service, it lies straight to my face.
This is ChatGPT v4 API, now tell me what dark sacrifice I need to make to convince GPT it has already done the page fetching?
(I see the economic reason behind it: tokens are expensive, so translating a whole webpage is costly, but then GPT lie about the reason, is this what trust in computing looks like?)
@demofox accumulating random variables central-limit-style would lead to spreading distributions out, but decoherence actually narrows the probability distributions, keeping things "in one place" so to speak
@TomF@forrestthewoods@zeux iirc there used to be a rule that the # had to be on column 0 but the rest of the directive could be indented? So you could write stuff like
# if (FOO)
# define BAR
# endif
No one enforces that anymore (you can indent the # now), but I wonder what was the origin of that rule
You know that glare & bloom reflection your eyes see on a bright day from a glass window building or metallic wall?
I have never seen any camera capturing them correctly. Why?
Photos of bright buildings end up like white surfaces, even if you have multi-exposure capture + HDR screens, they still look like bright boring surface.
Camera have visual artifact like lens flare, but why not the same bloom artifact as human eye?
If there is something years of Xwitter has thought me, is to have a VERY low bar for blocking people.
If you have bad vibes from someone, chances are you are better blocking them on sight and continue with your life.
@j_bertolotti@johncarlosbaez@franco_vazza Ehh, I don't entirely blame them...that word is seen as a pretty bad slur nowadays! I realize that the physics use of it is totally independent and predates the slur use of it - nonetheless I personally still find it pretty jarring to hear "retarded" come up in physics contexts.
A quirk I have is I don't like it when IDEs interface with my version control system. That is MY version control system. Don't touch my stuff, IDEs
But! I have another quirk, which is that I don't like git, and I use Mercurial for everything
And the quirks cancel each other out! I check my projects out in Mercurial, which is obscure, so IDEs don't support it, so their VCS integration fails and I am happy