DEV Community

TypeScript

Optional static type-checking for JavaScript.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Our maintenance switch is one boolean, and the page it shows answers 200 because a rewrite cannot carry a 503

Our maintenance switch is one boolean, and the page it shows answers 200 because a rewrite cannot carry a 503

1
Comments
6 min read
Scoring Five Different Skills with One Gaussian Curve in TypeScript

Scoring Five Different Skills with One Gaussian Curve in TypeScript

1
Comments
5 min read
Why You Can’t Invert a Tax Bracket Formula (And How a 54-Step Binary Search Solves Contractor Break-Even Rates)

Why You Can’t Invert a Tax Bracket Formula (And How a 54-Step Binary Search Solves Contractor Break-Even Rates)

Comments
3 min read
Our unsubscribe link is a 64 character HMAC, and the GET that mail scanners follow is built to do nothing

Our unsubscribe link is a 64 character HMAC, and the GET that mail scanners follow is built to do nothing

1
Comments
6 min read
Two model calls to review a CV, and the second one exists only to delete what the first one made up

Two model calls to review a CV, and the second one exists only to delete what the first one made up

1
Comments
7 min read
Three functions measure the text on our poster tool, and the one the server uses is 20.7 per cent wrong

Three functions measure the text on our poster tool, and the one the server uses is 20.7 per cent wrong

1
Comments
7 min read
179 deadline rows, and "Not announced" is a value in the type rather than a null

179 deadline rows, and "Not announced" is a value in the type rather than a null

1
Comments
6 min read
Three caches answer a barcode scan, and the only one with an expiry has nothing to do with speed

Three caches answer a barcode scan, and the only one with an expiry has nothing to do with speed

1
Comments
6 min read
null becomes mixed on the PHP DTO

null becomes mixed on the PHP DTO

Comments
1 min read
We added 35 pages in one commit. They link to the older pages 97 times, and the older pages link back four times

We added 35 pages in one commit. They link to the older pages 97 times, and the older pages link back four times

1
Comments
5 min read
Multi-Provider Calendar Sync: Solving IANA Timezone, DST Gap, and Weather Window Edge Cases

Multi-Provider Calendar Sync: Solving IANA Timezone, DST Gap, and Weather Window Edge Cases

Comments
5 min read
58 pages whose h1 is the search query, 10 lines of code each, and a test that fails one at 299 words

58 pages whose h1 is the search query, 10 lines of code each, and a test that fails one at 299 words

1
Comments
5 min read
Three Numbers Answer 'How Many Clients Can I Add?' in My SaaS. One Is Enforced.

Three Numbers Answer 'How Many Clients Can I Add?' in My SaaS. One Is Enforced.

1
Comments
6 min read
Cut OpenAI & Vercel AI SDK Token Costs by 70% with Deterministic Prompt Caching

Cut OpenAI & Vercel AI SDK Token Costs by 70% with Deterministic Prompt Caching

Comments
2 min read
Memecoin market cap math in TypeScript: what a target cap really implies

Memecoin market cap math in TypeScript: what a target cap really implies

Comments
3 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.