“Ask me first” is not control
When you build an agent that acts on a user’s behalf, letting the agent decide whether to ask first leaves the user to chance. This article works out where that decision should live.
Just Jeb
Everything published here, newest first — 15 posts.
When you build an agent that acts on a user’s behalf, letting the agent decide whether to ask first leaves the user to chance. This article works out where that decision should live.
Bob’s HACK button freezes the page for a second, and the fix he finds is the old setTimeout(…, 0) trick. This post follows his click through the event loop to see what that trick really changes.
A function signature grows until the call site reads greet('John', undefined, false, undefined, 'Mr.'). Nothing stops an agent adding a sixth argument, and whoever reads that line later pays for it.
Bob’s HACK button freezes the page for a second, and the fix he finds is the old setTimeout(…, 0) trick. This post follows his click through the event loop to see what that trick really changes.
Your field data can look perfectly fine while the score sits at 70. Most people reading that number decide the site is slow, so the score ends up mattering because it matters to them.
I fix the list’s keys, re-record, and the numbers are identical — same renders, same duration. What moved is the reason the Profiler gives for each render, and that reason is what tells you which fix to try next.
I fix the list’s keys, re-record, and the numbers are identical — same renders, same duration. What moved is the reason the Profiler gives for each render, and that reason is what tells you which fix to try next.
Custom hooks reuse stateful logic and isolate it at the same time. Moving the calculation behind a context provider is what gives you control over how often it runs, and where in the tree.
A builder is a function that gets validated options and a context, and reports back whether it worked. Everything around it — the package entry, builders.json, the schema — is how Architect finds it.
An extension is several separate execution contexts that happen to ship in one folder, and Angular only ever lives in one of them. Most of the friction comes from a build that doesn’t know that yet.
When you build an agent that acts on a user’s behalf, letting the agent decide whether to ask first leaves the user to chance. This article works out where that decision should live.
Bob’s HACK button freezes the page for a second, and the fix he finds is the old setTimeout(…, 0) trick. This post follows his click through the event loop to see what that trick really changes.
Your field data can look perfectly fine while the score sits at 70. Most people reading that number decide the site is slow, so the score ends up mattering because it matters to them.
A function signature grows until the call site reads greet('John', undefined, false, undefined, 'Mr.'). Nothing stops an agent adding a sixth argument, and whoever reads that line later pays for it.
I fix the list’s keys, re-record, and the numbers are identical — same renders, same duration. What moved is the reason the Profiler gives for each render, and that reason is what tells you which fix to try next.
Custom hooks reuse stateful logic and isolate it at the same time. Moving the calculation behind a context provider is what gives you control over how often it runs, and where in the tree.
A builder is a function that gets validated options and a context, and reports back whether it worked. Everything around it — the package entry, builders.json, the schema — is how Architect finds it.
An extension is several separate execution contexts that happen to ship in one folder, and Angular only ever lives in one of them. Most of the friction comes from a build that doesn’t know that yet.