Show HN: Algorithmically finding the longest line of sight on Earth (opens in a new tab)alltheviews.world
412 pointsWe go into all the details at https://alltheviews.world
And there's an interactive map with over 1 billion longest lines, covering the whole world at https://map.alltheviews.world Just click on any point and it'll load its longest line of sight.
Some of you may remember Tom's post[1] from a few months ago about how to efficiently pack visibility tiles for computing the entire planet. Well now it's done. The compute run itself took 100s of AMD Turin cores, 100s of GBs of RAM, a few TBs of disk and 2 days of constant runtime on multiple machines.
If you are interested in the technical details, Ryan and I have written extensively about the algorithm and pipeline that got us here:
* Tom's blog post: https://tombh.co.uk/longest-line-of-sight
* Ryan's technical breakdown: https://ryan.berge.rs/posts/total-viewshed-algorithm
This was a labor of love and we hope it inspires you both technically and naturally, to get you out seeing some of these vast views for yourselves!
1. https://news.ycombinator.com/item?id=45485227
Comments (181) 49 threads
Earlier commentsWhy allow the user to select any arbitrary location on a map and give an answer when you know the answer is most likely nonsense? You don't need to compute for 2 days to accomplish that; you could just make it up.
That it's not taking into account human construction or distances of tens of meters?
Presumably you can walk a little bit and climb on someone's roof to see the claimed 24.7 km. Assuming a sufficiently clear atmosphere, and that there isn't a tall office building in the way or something.
Continue this thread — 2 replies
Definitions:
* Hams: Amateur radio operators.
* QSO: conversation or contact between two radio stations.
* QRP: Low power, typically under 5 watts.
https://www.k0nr.com/wordpress/2021/08/using-1-2-ghz-in-the-...
So in mine you can click on a spot and it draws black lines over any land that is occluded by terrain, within 100km.
(But all with AI-generated JavaScript, not cool Rust and SIMD stuff)
https://incoherency.co.uk/line-of-sight-map/
This is what I get when I set the observer height to 20m, and increase the "max distance" to 300km (200km = ~124 miles so may not be enough).
https://img.incoherency.co.uk/6478
It's also possible that the half dome is too short and the sampling rate of the line-of-sight jumps over it!
Heh, I almost hit back at the "in Rust" mention.
Would the end result have been different if it were done in python calling C libraries for performance? I strongly doubt it.
I wonder how atmospheric refraction is handled in the calculations for the longest line of sight. Since it (a) strongly affects the line of sight, and (b) depends on temperature and weather, how is a static "world record" possible, or even defined? E.g. objects may appear 400m higher in 200km distance under typical conditions.
https://hdersch.github.io/Viewing.html
We actually have a plan to aggregate world runs together, so that one run as low refraction and a short observer, then another run with high refraction and tall observer. Then instead of rendering longest lines of sight as those singl triangles, we could render them as 2 triangles that represents the extremes of expected visibility.
All comments shown.
Couldn't load more comments. Check your connection and try again.