Readit News logoReadit News
foxhill commented on How a 20 year old bug in GTA San Andreas surfaced in Windows 11 24H2   cookieplmonster.github.io... · Posted by u/yett
frollogaston · 8 months ago
Randomization at this level would be too expensive. There are tools that do this for debug purposes, and your stuff runs a lot slower in that mode.
foxhill · 8 months ago
it probably shouldn’t be a “release” thing. actually, certainly. i do wonder how many bugs would never have seen the light of day, if someone’s “set” actually turned out to be a sequence (i.e. allowed duplicate values) resulting in a debug build raising an assert.
foxhill commented on C++: terser (shorter) lambda == SHORTY (ab-use?)   github.com/hanickadot/sho... · Posted by u/signa11
foxhill · 9 months ago
huh. very cute. in the past, i had an idea for terser lambda syntax, similar to C#'s expression body functions - which i did end up implementing in clang:

    auto sum = [](auto a, auto b): a+b;
but this is something else. i didn't think i'd like it at first, but actually i think i might be coming around to it. the.. dollar syntax is regrettable, although it's not a show stopper.

foxhill commented on Ask HN: With trust in Firefox gone, is Chrome-ish the only option?    · Posted by u/flowinho
foxhill · 10 months ago
you can't be serious, surely?

yes, mozilla's TOS update is a bad thing, but switching to chrome (or chromium-based) for it is really cutting your nose to spite your face.

foxhill commented on Nvidia announces next-gen RTX 5090 and RTX 5080 GPUs   theverge.com/2025/1/6/243... · Posted by u/somebee
lovich · a year ago
If anyone thinks they are having laggier controls or losing latency off of single frames I have a bridge to sell them.

A game running at 60 fps averages around ~16 ms and good human reaction times don’t go much below 200ms.

Users who “notice” individual frames are usually noticing when a single frame is lagging for the length of several frames at the average rate. They aren’t noticing anything within the span of an average frame lifetime

foxhill · a year ago
you’re conflating reaction times and latency perception. these are not the same. humans can tell the difference down to 10ms, perhaps lower.

if you added 200ms latency to your mouse inputs, you’d throw your computer out the of the window pretty quickly.

foxhill commented on Stop making me memorize the borrow checker   erikmcclure.com/blog/stop... · Posted by u/signa11
foxhill · a year ago
what a miss.

i’d consider myself a day-to-day c++ engineer. well, because i am. i like lots of things from rust. there’s a few things i don’t. c++ has a lot to learn from rust, if it is to continue to exist.

but really.. isn’t this the point of the language? you need to understand the borrow checker because.. that’s why it’s here?

maybe i’m missing something.

foxhill commented on European iPhones are more fun now   theverge.com/2024/8/24/24... · Posted by u/hilux
blfr · a year ago
I'm not posh enough to routinely pour my drinks into a glass so an attached cap either drips, scratches, or gets in my way and I have to tear it off and then usually remove the plastic ring since it now comes with prongs that only sometimes come off with the cap.

Attached cap is also less convenient when screwing the cap back onto the bottle.

foxhill · a year ago
friends. you understand that you can just.. take it off, right?

fully unscrew the cap then just either continue twisting the cap over the the edge - honestly effortless - or just.. pull it off? the cap still functions as a cap, afterward.

apologies, but i don’t understand the furore over this change.

foxhill commented on In ‘The Book Against Death,’ Elias Canetti rants against mortality   washingtonpost.com/books/... · Posted by u/Caiero
KrautFox · a year ago
I don't wanna be a buzzkill but:

I don't see how living (potentially) forever is anything but a horrible, horrible ego driven idea with 0 rational thought put behind it, you may enlighten me here:

- Unlimited human life expectancy vs limited resources? How would that work? - Do we really want the next dictator of XYZ to rule forever? - The lack of control young people experience when it comes to their own lives (voting, etc) will worsen, if the median age is 80+ or older. - Saying stuff like "There should be no death" is a clear example to me why humans in general are problematic. As long as we consume resources and need space we are still part of this ecosystem and cannot just simply change the rules of how it all works just because we would like to. - I suck at Bingo.

Edit:

I just want to clarify the following:

Don't feel attacked, I am curious to hear your take on this and I never said that I am right on this, I know too little to ever make that claim. I wasn't aware how emotional this topic is to many, this happens to me IRL alot too (I am also aware of why). I am just looking for exchange of ideas, i don't need to be right on this.

foxhill · a year ago
so, when do you want to die, then?

really, i’m not trying to be mean here. you assert life must be finite, and all i’m asking is how finite it should be.

foxhill commented on Does anyone need a 1k Hz gaming display?   arstechnica.com/gaming/20... · Posted by u/PaulHoule
IshKebab · 2 years ago
I think you should assume that we aren't talking about CRTs. Come on.
foxhill · 2 years ago
apologies, i wasn't being specific; none of what i said necessitates a CRT display, it was only as an example of how an older technology had less latency.

if modern a modern 60Hz LCD/OLED display couldn't get beneath 16.6ms latency, then what exactly is tearing?

foxhill commented on Does anyone need a 1k Hz gaming display?   arstechnica.com/gaming/20... · Posted by u/PaulHoule
modeless · 2 years ago
> you seem to be implying that the best a 60hz display can manage is 16.6ms of latency

Yes, if you control the whole software stack it is possible to do beam racing to get lower than one frame of latency (assuming low latency hardware for input and display panel scanout). But I'm talking about desktop/mobile applications. In general operating systems do not do this, and many actually make it impossible. Only very recently has it become possible to do beam racing in a windowed application (not using fullscreen exclusive mode) on Windows with recent graphics hardware with multiplane overlay and very, very few people have attempted to do it. I believe it is strictly impossible to do beam racing for windowed applications on macOS and Linux/Wayland. Not sure about iOS and Android.

foxhill · 2 years ago
you don't need to "beam race" to achieve sub-frame latency - you don't need to be accurate. switching off vsync should, principally, be enough to achieve this.

otherwise, yes, modern APIs go out of their way to avoid the possibility of this (the dreaded "tearing" artifacts you see from the frame buffer being changed during the transmission of the video signal to the monitor). i don't believe older techniques like you've mentioned are at all possible today, and only really made sense to talk about when analogue displays were the norm.

foxhill commented on Does anyone need a 1k Hz gaming display?   arstechnica.com/gaming/20... · Posted by u/PaulHoule
modeless · 2 years ago
I would like to try a 1 kHz display. I can definitely tell the difference between 120 and 240 Hz for mouse pointer motion. The motion blur tests mentioned in the article make it obvious as well. And Microsoft research has shown that when using direct touch interaction people can perceive latency all the way down to 1 ms. https://www.youtube.com/watch?v=vOvQCPLkPt4

Also an underrated feature of high frame rate is that it's a universal fix for poorly written software with multiple frames of latency. An application with 10 frames of latency will be faster on a 1 kHz display than a perfectly coded application on a 60 Hz display.

foxhill · 2 years ago
> An application with 10 frames of latency will be faster on a 1 kHz display than a perfectly coded application on a 60 Hz display.

thats actually not true. you seem to be implying that the best a 60hz display can manage is 16.6ms of latency. indeed that is the worst case value, but you should consider that early graphics technologies involved changing display modes mid scan.

it’s actually not ridiculous to suggest that old platforms had sub-millisecond latency; they did. if the scanline was on, or just before, the line where you would interact (i.e., the prompt line), the text you enter would appear immediately.

of course, “vsync”, tear free, and such like approaches “fixed” this - necessarily by adding at least a frame’s worth of latency - but also adding perceptual latency.

it’s an oft-overlooked aspect of refresh rates. a 60hz CRT, without vsync, still has the lower bound of latency lower than a 120hz display. perhaps even 240hz.

i’ve used two 240hz displays for years now. i’ll never go slower than that.

u/foxhill

KarmaCake day1258June 2, 2011View Original