HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Alexendoo

no profile record

comments

Alexendoo
·3 năm trước·discuss
The feedback form was open for some amount of time and closed as scheduled, there are only so many things to be said about the draft after all. All of the things mentioned in the blog post have been said hundreds of times over by this point

Where are you getting that they might accept the draft from? That seems like a particularly uncharitable reading of the follow up post

https://foundation.rust-lang.org/news/rust-trademark-policy-...
Alexendoo
·4 năm trước·discuss
TrustedLen will mean it can safely take the upper bound, but Vec for example will still use the lower bound of the hint when something isn't TrustedLen

https://doc.rust-lang.org/src/alloc/vec/spec_from_iter_neste...
Alexendoo
·5 năm trước·discuss
Enter safe transmute - https://github.com/rust-lang/project-safe-transmute/blob/mas...
Alexendoo
·5 năm trước·discuss
The idea is you read the PKGBUILD/install files so it's no longer arbitrary code, they're usually very short files. On updates you can review just a diff. AUR helpers present this to you so it's not a manual process

Many packages are compiled from source rather than using prebuilt binaries, but when binaries are fetched it is something you'd see in the PKGBUILD itself. The binaries aren't included in the AUR itself, they'd usually be from the first-party of the software you're installing. For example google-chrome[1]'s package fetches the .deb from Google's server and unpacks it

[1]: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=googl...
Alexendoo
·5 năm trước·discuss
None of these scriptlets would break if a site uses WASM, they're utilities for things like adding/removing/mutating elements from the DOM, modifying localStorage, stopping alert()

executesitefunction.js could arguably be effected, but that relies on a site installing a particular function on window, which isn't required when using JS, and could be still done where the function is backed by WASM
Alexendoo
·5 năm trước·discuss
uft8mb4 does not use more bytes than utf8mb3, for anything representable by utf8mb3 the size in uft8mb4 is identical. Anything that would be 4 bytes in uft8mb4 is not able to be stored in utf8mb3

utf8mb3 is definitely a broken subset, it's deprecated at the very least
Alexendoo
·6 năm trước·discuss
Everything is rendered directly to a canvas, at the very least it lacks subpixel rendering