For example [1]: "core: Keep a device pixel for boxes under a pixel thick (#2841) [...] Frames are rounded to device pixels edge by edge (`rounded` in `core/mod.rs`), so neighbouring views meet. A box thinner than a pixel whose two edges round to the same pixel got no size at all and vanished.".
I wonder if humans need special abilities to read and understand this. And if these kind of bugs this commit attempts to fix could have been prevented in the first place.
> An app written in Rust is native code compiled into the app that ships it, as the rest of that app is, and runs with its trust
This also makes no sense if you use the Chinese version of the text and machine translate it to English.
[1] https://github.com/longbridge/nsh/commit/70a45b59ea5813bbc5f...
As for whether bugs like this could have been prevented in the first place, this seems squarely in the category of the kind of bug that humans are capable of introducing.
It’s indeed difficult when you keep your app’s source in a business process.
However, the project seems curious still. I see using it for some fast prototyping.
Every sentence has those instantly recognisable slop fillers that add nothing but make the paragraph longer and the technical parts are complete nonsense.
This is probably the craziest example one click from the front page: https://nsh.dev/docs/sandbox-and-capabilities/
> An app written in Rust is native code compiled into the app that ships it, as the rest of that app is, and runs with its trust; its calls into NSH’s services ([...]) go through the same native checks as TSX’s, under what a host grants.
WHAT??