HackerTrans
TopNewTrendsCommentsPastAskShowJobs

mary-ext

no profile record

comments

mary-ext
·vor 6 Monaten·discuss
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.
mary-ext
·vor 6 Monaten·discuss
Solid.js and Vue uses these sorts of tricks to shave the amount of bytes from the HTML templates they generate

https://github.com/vuejs/core/commit/30dbdc101a48d747b56bcdd...
mary-ext
·vor 7 Monaten·discuss
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)
mary-ext
·vor 7 Monaten·discuss
the industry hearsay is about concern of HDD load times tho
mary-ext
·vor 7 Monaten·discuss
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)
mary-ext
·vor 11 Monaten·discuss
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.
mary-ext
·vor 11 Monaten·discuss
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.
mary-ext
·letztes Jahr·discuss
closing open source plugins? which?
mary-ext
·letztes Jahr·discuss
Zod's source code is a bit unwieldy to explain what's going on I feel, so here's a small validation library I wrote that uses the same principle

https://github.com/mary-ext/atcute/blob/596e023bcb490b16d09a...
mary-ext
·letztes Jahr·discuss
the solution is to avoid TypeScript eagerly validating the object's value type. eager validation breaks cyclic references.
mary-ext
·letztes Jahr·discuss
it seems worthwhile to only mention it as a sidenote rather than a negative score
mary-ext
·letztes Jahr·discuss
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
mary-ext
·letztes Jahr·discuss
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.
mary-ext
·letztes Jahr·discuss
I've commented this before, but does this grant an exemption from the automatic purging that ITP does? the wording makes it seem like it does but that just makes their justification for ITP all the more baffling
mary-ext
·letztes Jahr·discuss
Never go for ccTLDs for anything critical, since you're practically at the whims of the government controlling it (see: .af ccTLD that the Taliban took over)
mary-ext
·letztes Jahr·discuss
That's pretty much an issue with every LQIP solutions though, including BlurHash and ThumbHash. The only thing that matters is that it's close enough to the real thing, since they're meant to serve as placeholders.
mary-ext
·letztes Jahr·discuss
The animations makes it feel slow, the lack of any throttling/debouncing means that my input feels slow too.
mary-ext
·letztes Jahr·discuss
does this grant an exemption from the automatic purging that ITP does? the wording makes it seem like it does but that just makes their justification for ITP all the more baffling
mary-ext
·letztes Jahr·discuss
A vulnerability can be high risk, a vague disclosure means that people can only assume the worst.

Maybe don't vaguepost about vuln disclosures
mary-ext
·letztes Jahr·discuss
I don't really understand what this is for then if it doesn't spawn in a minimal frame. This is somehow worse than just having a shortcut to open the app in a regular browser tab.