4 ms·
"Borrow" is an interesting choice of word, see for example this: /// The quirks mode of the document. #[inline] pub fn quirks_mode(&self) -> Quirks
by pera 9mo ago
"Borrow" is an interesting choice of word, see for example this:
/// The quirks mode of the document.
#[inline]
pub fn quirks_mode(&self) -> QuirksMode {
self.quirks_mode
}
https://github.com/wilsonzlin/fastrender/blob/3e5bc78b075645fc04635336fbde6e005a6f1b5f/vendor/selectors/context.rs#L328 https://github.com/wilsonzlin/fastrender/blob/3e5bc78b075645...
And then this:
/// The quirks mode of the document.
pub fn quirks_mode(&self) -> QuirksMode {
self.stylist.quirks_mode()
}
https://github.com/servo/stylo/blob/71737ad5c8b29c143a6c992af6222833f5d38b43/style/context.rs#L170 https://github.com/servo/stylo/blob/71737ad5c8b29c143a6c992a...
It seems ChatGPT is still copying segments of code almost verbatim, although sometimes it does weird things, compare these for example:
https://github.com/wilsonzlin/fastrender/blob/3e5bc78b075645fc04635336fbde6e005a6f1b5f/vendor/selectors/parser.rs#L68 https://github.com/wilsonzlin/fastrender/blob/3e5bc78b075645...
https://github.com/servo/stylo/blob/71737ad5c8b29c143a6c992af6222833f5d38b43/style/gecko/pseudo_element.rs#L356 https://github.com/servo/stylo/blob/71737ad5c8b29c143a6c992a...
- torginus 9mo agoInteresting, I remembered that when trying out Stable Diffusion, once I ventured outside of the realm of anime waifus, the images ended up being so similar to existing sources, that image search could find the references. Which is also kinda crazy since superficially there was very little similar between the 2 images, but I guess AI models used for image search converge on similar embedding than the ones used for AI generation.
- Snuggly73 9mo agoWell, could it be because it was instructed to kinda "study" Servo? https://github.com/wilsonzlin/fastrender/blob/3e5bc78b075645fc04635336fbde6e005a6f1b5f/docs/research/servo-layout-architecture.md#L4 https://github.com/wilsonzlin/fastrender/blob/3e5bc78b075645...