567 karma · joined March 26, 2017
It provides such things as:
```
import { Debouncer } from '@tanstack/pacer' // class
const debouncer = new Debouncer(fn, options)
debouncer.maybeExecute(args) // execute the debounced function
debouncer.cancel() // cancel the debounced function
debouncer.flush() // flush the debounced function
```
Why? Just why do you need to install some "framwork" for implement debouncing? Isn't this sort of absurdism the reason why the node ecosystem is so insecure and vulnerable in the first place? Just write a simple debouncer using vanilla js...
There was even another UI component (in the same file) which was almost the same but slightly different and that one was correct. That's what I copy pasted and tweaked when I fixed the problem. But for some reason the models were utterly incapable of making that connection.
With Codex and Claude Code I thought maybe because these agentic coding tools are trained to be conservative with tokens and aggressively use grep that they weren't looking at the full file in one go.
But with Gemini I used the web version and literally pasted that entire file + screenshots detailing what was wrong (including the other component which was rendering correctly) and it still couldn't solve it. It was bewildering.
Maybe the brain has some advanced optimization where once you're in a loop, roughly staying inside that loop has a lower impedance than starting one. Maybe that's why the flow state feels so magical, it's when resistance is at its lowest. Maybe I need sleep.
I use Codex btw, and I really love it. But some of these companies have been so overhyping the capabilities of these models for years now that it's both funny to look back and tiresome to still keep hearing it.
Meanwhile I am at wits end after NONE OF Codex GPT-5.4 on Extra High, Claude Opus 4.6-1M on Max, Opus 4.6 on Max, and Gemini 3.1 Pro on High have been able to solve a very straightforward and basic UI bug I'm facing. To the point where, after wasting a day on this, I am now just going to go through the (single file) of code and just fix it myself.
Update: some 20 minutes later, I have fixed the bug. Despite not knowing this particular programming language or framework.
But the question you're asking me is meaningless, because the premise is wrong. My original reply was true and entirely independent of my or anyone else's opinion of whether globalization is good/bad.
GPT-5.4: 75.1%
GPT-5.3-Codex: 77.3%
> this has actual legal weight to it as the IRS can use it to evaluate if the organization is sticking to its mission and deserves to maintain its non-profit tax-exempt status.
It happens because I will have ctrl+c'd something several minutes ago. My mind subconsciously "holds" onto the info that I have text copied in my clipboard. It's only when I ctrl+v it and consciously discard it does the nagging go away.
I have no idea why it happens or if others experience this too. But I fully agree with the author about starting from nothing and getting rid of the clutter you think isn't bother you but which you're probably subconsciously holding onto.
Personally I have a hard time believing this. But even if you had similarly priced Chinese options, I would guess the main reason for buying a Tesla is not just because you want an EV. While a Tesla will be a reliable baseline EV, surely the reason you (or at least I) would buy one is for the supervised self-driving feature.
It used to be in the middle of the screen and worked just fine. But then someone thoughts of putting it exactly where browser tabs usually are and I _constantly_ find myself in a situation where I change the volume and try to click on a tab that this UI is on top of. Then I need to move my mouse outside the UI otherwise it stays there, and wait for it to disappear before I can change tabs. It's infuriating.