Recent submissions

Comment · 9 months ago
I've noticed that there's a decent amount of people who had benefitted having access to computer and internet really early on that seemed to be pro on banning teen access to social media, is there a reason why? the social media of today don't seem all that much different from the internet forums of back in the day

if algorithmic amplification is the reason then I'm not sure why social media as a whole has to be banned over it.

Comment · 9 months ago
Comment · 10 months ago
are we not reading the same post and comments?

the "industry hearsay" from two replies above mine is about deliberate data duplication to account for the spinning platters in HDD (which isn't entirely correct, as the team on Helldivers 2 have realized)

Comment · 10 months ago
the industry hearsay is about concern of HDD load times tho
Comment · 11 months ago
not `__proto__` but likely `constructor`, if you access `({}).constructor` you'd get the Object constructor, then if you access `.constructor` on that you'd get the Function constructor

the one problem I haven't understood is how it manages to perform a second call afterwards, as only being able to call Function constructor doesn't really amount to much (still a serious problem though)

Comment · 1 year ago
also depends on the codebase, if you use frameworks with deep reactivity like Vue, you can't do structuredClone without toRaw (which only works if the object is shallow) as it'd throw on proxy objects.

Svelte has `$state.snapshot()` for this reason I believe.

Comment · 1 year ago
that said, gorhill has made a decent effort on making most uBlock/Adguard filter rules work within dNR.

the only problem is that you just don't have any choice for custom filters, it relies on prebaked resources.

Comment · 1 year ago
closing open source plugins? which?
Comment · 1 year ago
Comment · 1 year ago
the solution is to avoid TypeScript eagerly validating the object's value type. eager validation breaks cyclic references.
Comment · 1 year ago
it seems worthwhile to only mention it as a sidenote rather than a negative score
Comment · 1 year ago
I do wonder if it might have fixed the type complexity issue that has prevented me from exporting Zod schemas from a library, but I suppose I could try finding this out later
Comment · 1 year ago
This is awesome, bundle size has been my number one issue preventing me from trying out Zod as v3 shipped with validations that were unnecessary for frontend use but weren't able to be treeshaken.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton