News for hackers. Stuff that matters.
Re:Designing a SIMD Algorithm from Scratch by joennlae on Tuesday November 28, 2023 @05:55AM (#38444504)
+1. Does someone know how to do that?
Re:Designing a SIMD Algorithm from Scratch by progbits on Tuesday November 28, 2023 @06:12AM (#38444576)
Re:Designing a SIMD Algorithm from Scratch by Klaster_1 on Tuesday November 28, 2023 @06:55AM (#38444793)
Found a canvas-based library for this: https://larsjung.de/pagemap/. Definitely not what OP uses, where the minimap is a shrunk copy of the content markup, with all the drawbacks, such as page search finding the same item twice.
Re:Designing a SIMD Algorithm from Scratch by orlp on Tuesday November 28, 2023 @07:03AM (#38444838)
The author should really add at least aria-hidden="true" to the minimap element.
Re:Designing a SIMD Algorithm from Scratch by m1el on Tuesday November 28, 2023 @06:45AM (#38444735)
The minimap contains a copy of the content, but with `transform: scale`. The rest is handling `window.onscroll` and mouse events on the overlay.