by modeless · 4y ago · 0 comments
The use of workers and WASM is not obvious, but on page load it takes the current orbit parameters for every orbiting satellite that is potentially visible anywhere on Earth and calculates the future position of each satellite every few minutes for the next 5 days, and then checks each future position for visibility from your location (accounting for sun angle, earth occlusion, sky brightness etc), all client side before page load finishes. WASM allows me to use the canonical satellite propagation tools (SGP4, written in ancient C translated from Fortran) and workers let me use multiple cores and not block the UI too much.
Its the latest MS Edge, but a handy trick you might be interested in is to use detectable bugs to fingerprint a webbrowser. So Internet Explorer 6 might have a browser detectable javascript bug that 8 didnt have, or a bug might exist in IE but not firefox and if someone changed their browser agent ie firefox pretending to be IE, it was still possible to workout what the browser was and deliver code accordingly. :)
Of course some web browsers could be like looking at A Scanner Darkly character!
I used to do more precise messages like you're suggesting, but such a make or break feature I'd probably just be vague about it. MS edge incidentally is fine. It does what it does.