jedschmidt

Joined 16 years ago

Karma
1,259
Submissions
127
Member since
May 15
http://jed.is
View on Hacker News

Recent submissions

Comment · 1 month ago
i do the same for Content Security Policy: `default-src 'none'` by default, then add what i need when i need it.
Comment · 3 months ago
agreed. i think the economics of ramen make less sense outside of japan, where it’s more expensive and turnaround is slower because folks linger longer (often to amortize the cost of waiting to get seated in the first place).
Comment · 3 months ago
Comment · 9 months ago
Comment · 2 years ago
In my experience, as long as a controlled window is communicating with the SW, the connection will remain alive.
Comment · 2 years ago
A service worker would work fine; the connection would be instantiated from the SW and each window/worker could communicate with it via navigator.serviceWorker.
Comment · 4 years ago
Comment · 7 years ago
If there's demand for it, would love to look into that.
Comment · 10 years ago
Sure, as it could with any part of your app, including wherever your JSON.parse code lives.
Comment · 10 years ago
Not _quite_ arbitrary; the only code run is that generated by lave. Arbitrary code present in functions is parsed, but not run.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton