Jeff Posnick's Avatar

Jeff Posnick

@jeff.posnick.org

Doing JS/TS stuff at Bloomberg Engineering. https://jeffy.info

579
Followers
2,177
Following
76
Posts
23.05.2023
Joined
Posts Following

Latest posts by Jeff Posnick @jeff.posnick.org

Dark-themed code snippet showing URLPattern examples on MDN: two JavaScript blocks matching "/books" and "/books/:id" with console.log outputs.

Dark-themed code snippet showing URLPattern examples on MDN: two JavaScript blocks matching "/books" and "/books/:id" with console.log outputs.

๐Ÿ†• The URL Pattern API is Newly Available!

Use it to match and extract parts of URLs, no need to reinvent routing logic. Supports literals, wildcards, named groups, and even regex constraints.

Learn how it works ๐Ÿ‘‡
developer.mozilla.org/en-US/docs/...

27.02.2026 16:00 ๐Ÿ‘ 54 ๐Ÿ” 6 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 1

Ditto, Katie!

27.02.2026 00:59 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Be kind to the service worker for improved time to first bite.

24.02.2026 20:01 ๐Ÿ‘ 5 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

This is a welcome change. Puzzmo is my most-used Progressive Web App!

www.puzzmo.com/user/fy/jpo34

06.02.2026 14:28 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Congratulations to all!

16.01.2026 17:44 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

ECMAScript excitement ๐Ÿ˜‰

๐Ÿšจ๐Ÿšจ๐Ÿšจ IT'S ABOUT TIME! ๐Ÿšจ๐Ÿšจ๐Ÿšจ

Congrats to @manishearth.bsky.social on shipping the Temporal API in Chrome 144 stable today ๐ŸŽ‰

developer.chrome.com/blog/new-in-...

Temporal is the replacement for the Date API.

13.01.2026 20:27 ๐Ÿ‘ 102 ๐Ÿ” 25 ๐Ÿ’ฌ 3 ๐Ÿ“Œ 4
The cover to Speakerboxxx, by Big Boi.

The cover to Speakerboxxx, by Big Boi.

Workerboxxx.

(swsdom sounds cool!)

12.01.2026 13:09 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Butterfly man meme template, gesturing at four Gameboys lined up next to each other, with the caption "Is this masonry layout?"

Butterfly man meme template, gesturing at four Gameboys lined up next to each other, with the caption "Is this masonry layout?"

31.12.2025 13:43 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

I refuse to shut up about this: NYC started charging $9 to bring a car into our most transit-rich zone, the haters & trolls predicted doom, but traffic evaporated instantly and hereโ€™s Times Square tonite (even after the holiday tourists have left). For a better future, build transit & price driving!

11.01.2025 01:29 ๐Ÿ‘ 8100 ๐Ÿ” 1306 ๐Ÿ’ฌ 121 ๐Ÿ“Œ 126
Preview
Node.js โ€” Enterprise Network Configuration Node.jsยฎ is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.

Working in an enterprise setup with corporate proxies or custom CAs? Node.js has native support for that.
No external dependency required, just configure and continue ๐Ÿ‘
Details: https://nodejs.org/en/learn/http/enterprise-network-configuration

10.12.2025 15:32 ๐Ÿ‘ 16 ๐Ÿ” 7 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
19h 50m of scheduled discussions annotated with a shocked face

Agenda for the 111th meeting of Ecma TC39
Host: Bloomberg
Dates and times:
10:00 to 17:00 JST (Asia/Tokyo) on Tuesday 18 November 2025
10:00 to 17:00 JST (Asia/Tokyo) on Wednesday 19 November 2025
10:00 to 16:00 JST (Asia/Tokyo) on Thursday 20 November 2025
Location: Tokyo, Japan

19h 50m of scheduled discussions annotated with a shocked face Agenda for the 111th meeting of Ecma TC39 Host: Bloomberg Dates and times: 10:00 to 17:00 JST (Asia/Tokyo) on Tuesday 18 November 2025 10:00 to 17:00 JST (Asia/Tokyo) on Wednesday 19 November 2025 10:00 to 16:00 JST (Asia/Tokyo) on Thursday 20 November 2025 Location: Tokyo, Japan

ECMAScript excitement ๐Ÿ˜‰

TC39 has a *packed* agenda for next week & will consider advancing:

4๏ธโƒฃ Intl.Locale info
4๏ธโƒฃ Iterator Sequencing
4๏ธโƒฃ JSON.parse source
3๏ธโƒฃ Intl Era Month Code
3๏ธโƒฃ Joint Iteration
2๏ธโƒฃ.7๏ธโƒฃ Error.prototype.stack
2๏ธโƒฃ.7๏ธโƒฃ export defer
2๏ธโƒฃ Amount
2๏ธโƒฃ await dictionary
2๏ธโƒฃ Declarations in Conditionals

๐Ÿงต

11.11.2025 08:59 ๐Ÿ‘ 37 ๐Ÿ” 5 ๐Ÿ’ฌ 3 ๐Ÿ“Œ 1
Preview
Maybe Donโ€™t Talk to the New York Times About Zohran Mamdani Itโ€™s remarkable, the people youโ€™ll hear from. Teach for even a little while at an expensive institutionโ€”the term they tend to prefer is โ€œeliteโ€โ€”and odds are that eventually someone who was a studenโ€ฆ

I havent read such a banger of an essay in a very long time. This is so well-written!

08.11.2025 17:37 ๐Ÿ‘ 3955 ๐Ÿ” 1192 ๐Ÿ’ฌ 74 ๐Ÿ“Œ 188

Banh you.

06.11.2025 21:05 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
In February, 7-year-old Dolma Naadhun was crossing the intersection of Newtown Road and 45th Street in Astoria with her mother and sister when the driver of a 2021 Ford Explorer blew through a stop sign, striking and killing Dolma. One month later, New York City Department of Transportation commissioner Ydanis Rodriguez visited the crash site with other officials, met with community members demanding a traffic signal be installed, and promised to make changes to the street - including "daylighting"
the intersection using curb extensions and plastic bollards. State assemblymember Zohran Mamdani also visited the scene that day and realized that something else needed to change. "When you take a step back and think about traffic violence in New York City," he said, "you start to understand that this is a systemic issue that is incentivized by the policies that we have in place with regard to the design of our streets and what kind of vehicles we allow to be on our roads." Whether a driver runs a stop sign or a red light, statistically, certain cars - namely, bigger SUVs and trucks - are more likely to kill a 7-year-old. This is why Mamdani is co- introducing legislation for a weight-based vehicle-registration fee
intended to discourage people from purchasing heavier vehicles. "The car industry is pushing the sale of heavier and larger vehicles," he says. "The state has to make it clear that these types of vehicles
come with a certain kind of cost."

In February, 7-year-old Dolma Naadhun was crossing the intersection of Newtown Road and 45th Street in Astoria with her mother and sister when the driver of a 2021 Ford Explorer blew through a stop sign, striking and killing Dolma. One month later, New York City Department of Transportation commissioner Ydanis Rodriguez visited the crash site with other officials, met with community members demanding a traffic signal be installed, and promised to make changes to the street - including "daylighting" the intersection using curb extensions and plastic bollards. State assemblymember Zohran Mamdani also visited the scene that day and realized that something else needed to change. "When you take a step back and think about traffic violence in New York City," he said, "you start to understand that this is a systemic issue that is incentivized by the policies that we have in place with regard to the design of our streets and what kind of vehicles we allow to be on our roads." Whether a driver runs a stop sign or a red light, statistically, certain cars - namely, bigger SUVs and trucks - are more likely to kill a 7-year-old. This is why Mamdani is co- introducing legislation for a weight-based vehicle-registration fee intended to discourage people from purchasing heavier vehicles. "The car industry is pushing the sale of heavier and larger vehicles," he says. "The state has to make it clear that these types of vehicles come with a certain kind of cost."

soar above adult shoulders. But there may be another way to disincentivize the purchases of such vehicles, says Edwards. "One other potential idea would be for someone, maybe a city's DOT, to start keeping a list of the different makes and models of vehicles that are killing pedestrians and cyclists, or kids specifically, and post that publicly," he says. "That could bring awareness to which cars are more dangerous and also potentially affect insurance rates,
which would possibly convince people not to buy certain cars." There's a bit of accountability in New York's bill, which would
require the State DOT to track all fatal crashes by vehicle weight. But the other encouraging aspect of the proposal is that the collected fees stay local, by county, and, after the annual dedications to highway, bridge, and transit trust funds are met, a full 75 percent of the funds raised will go toward safety
improvements like bike lanes, bollards, road diets, pedestrianization of streets, and raised crosswalks. This means the neighborhoods most impacted by large vehicles are likely to see the biggest changes. And that might be the most important part of the legislation, says Mamdani. "This is an initiative to make our streets safer for our children," he says. "And we are making sure a significant portion of this funding goes toward creating the very
streetscapes that we know will save their lives."

soar above adult shoulders. But there may be another way to disincentivize the purchases of such vehicles, says Edwards. "One other potential idea would be for someone, maybe a city's DOT, to start keeping a list of the different makes and models of vehicles that are killing pedestrians and cyclists, or kids specifically, and post that publicly," he says. "That could bring awareness to which cars are more dangerous and also potentially affect insurance rates, which would possibly convince people not to buy certain cars." There's a bit of accountability in New York's bill, which would require the State DOT to track all fatal crashes by vehicle weight. But the other encouraging aspect of the proposal is that the collected fees stay local, by county, and, after the annual dedications to highway, bridge, and transit trust funds are met, a full 75 percent of the funds raised will go toward safety improvements like bike lanes, bollards, road diets, pedestrianization of streets, and raised crosswalks. This means the neighborhoods most impacted by large vehicles are likely to see the biggest changes. And that might be the most important part of the legislation, says Mamdani. "This is an initiative to make our streets safer for our children," he says. "And we are making sure a significant portion of this funding goes toward creating the very streetscapes that we know will save their lives."

Two years ago I interviewed a 31-year-old NY state assemblymember about a 7-year-old girl killed by an SUV driver in his district. I hung up the phone, astonished that I'd talked to a legislator who so thoughtfully articulated what actually needs to change on our streets.

He'll make a great mayor

26.06.2025 01:55 ๐Ÿ‘ 6101 ๐Ÿ” 1295 ๐Ÿ’ฌ 39 ๐Ÿ“Œ 102
Video thumbnail
05.11.2025 02:41 ๐Ÿ‘ 86732 ๐Ÿ” 18275 ๐Ÿ’ฌ 3165 ๐Ÿ“Œ 2371

The full episode is out!

๐Ÿ“บ www.youtube.com/watch?v=JLdh...
๐ŸŽ™๏ธ zencastr.com/z/KHLM-Zlu

31.10.2025 14:23 ๐Ÿ‘ 46 ๐Ÿ” 7 ๐Ÿ’ฌ 3 ๐Ÿ“Œ 2
My Message to Muslim New Yorkers โ€” and Everyone Who Calls This City Home.
My Message to Muslim New Yorkers โ€” and Everyone Who Calls This City Home. YouTube video by Zohran Mamdani for NYC

The dream of every Muslim is simply to be treated the same as any other New Yorker.

And yet, for too long, we have been told to ask for less than that, and endure hatred and bigotry in the shadows.

No more.

25.10.2025 03:27 ๐Ÿ‘ 11997 ๐Ÿ” 2267 ๐Ÿ’ฌ 166 ๐Ÿ“Œ 329
Preview
Life Is More Than an Engineering Problem | Los Angeles Review of Books Julien Crockett speaks with Ted Chiang about the search for a perfect language, the state of AI, and the future direction of technology.

Life Is More Than an Engineering Problem, an interview with Ted Chiang from earlier this year. โ€œI donโ€™t believe itโ€™s meaningful to say that something is better art absent any context of how it was created. Art is all about context.โ€ [lareviewofbooks.org]

03.10.2025 17:02 ๐Ÿ‘ 22 ๐Ÿ” 3 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 2

What is yellow journalism?

24.10.2025 13:01 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
Announcing Vitest 4.0 Vitest 4.0 Release Announcement

Vitest 4 is out!

- Browser Mode is Stable
- Visual Regression Testing
- Improved Debugging
- Pool Stabilization
- New APIs
- Bug Fixes

Stay updated with our blog post:

vitest.dev/blog/vitest-4

22.10.2025 15:43 ๐Ÿ‘ 266 ๐Ÿ” 58 ๐Ÿ’ฌ 3 ๐Ÿ“Œ 8

Built-in HTTP proxies are now on v22 ๐Ÿ˜‡

(Going to update the version mentions in a WIP guide on using Node.js in enterprise network environments)

21.10.2025 19:05 ๐Ÿ‘ 45 ๐Ÿ” 8 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 1

Yeah, caching strategies really should be customized for each use case, which unfortunately made it tough to provide one-size-fits-all guidance (back when that was my job).

20.10.2025 12:33 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
GitHub - thepassle/swtl: A Service Worker Templating Language (swtl) for component-like templating in service workers. Streams templates to the browser as they're being parsed, and handles rendering i... A Service Worker Templating Language (swtl) for component-like templating in service workers. Streams templates to the browser as they're being parsed, and handles rendering iterables/Responses...

I did build SWTL in the meantime though, which (my blog is also built with SWTL: passle.dev) does exactly what OP describes and runs both on the server and in a service worker

github.com/thepassle/swtl

19.10.2025 13:17 ๐Ÿ‘ 7 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
thirty-four thirty-four is crafted with love in Brooklyn, by Jeff Posnick.

FWIW, about half the articles I've written at jeffy.info are about how to think about caching for this use case ๐Ÿ˜€

19.10.2025 15:01 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

In fact, I'd really urge someone to investigate this and pick it up, MAINLY because it *is* a really fun problem space to work on, where not much investigation/development by major (meta) frameworks is happening (as far as I'm aware!)

19.10.2025 13:22 ๐Ÿ‘ 9 ๐Ÿ” 4 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0
Preview
Service Worker Side Rendering ยท withastro roadmap ยท Discussion #188 This weekend I worked on a bit of a crazy PoC to see if I can run Astro in a service worker, and it turns out that you totally can: astro-sw.mov This is huge, because: Your Astro apps are now avail...

Iโ€™ve been out of this space for a while now, but I know @passle.dev put some effort into it with @astro.build. See github.com/withastro/ro..., for instance.

(Donโ€™t know where things landed, though.)

19.10.2025 12:21 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
Lit is Joining the OpenJS Foundation! Lit is officially joining the OpenJS Foundation as an Impact Project!

Lit is joining @openjsf.org! ๐ŸŽ‰

Today at JSConf, The OpenJS Foundation announced Lit is officially joining as an Impact Project!

We're beyond excited for this move and look forward to continuing our work to build the open web with OpenJS!

Read more on our blog: lit.dev/blog/2025-10...

14.10.2025 13:35 ๐Ÿ‘ 120 ๐Ÿ” 40 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 1

I'm biased, but sure?

30.09.2025 01:19 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

bakewell
flapjacks

28.09.2025 17:17 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Some personal news: I'm starting a jobย tomorrowย Bloomberg Engineering.

It'll be exciting to work someplace where JavaScript/TypeScript are key to the business. And more importantly, I'll be joining a fantastic group of people.

21.09.2025 11:41 ๐Ÿ‘ 76 ๐Ÿ” 1 ๐Ÿ’ฌ 10 ๐Ÿ“Œ 1