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 commentsRegular viewshed algorithms really aren't built for it, and being able to do it cheaply while also maintaining a cluster of compute that can shut down at any time is also its own mess (these were all spot instance so we could get 75+% off).
The 530km number takes into account both the curvature, along with refraction. It's a simple elevation adjustment when you are doing your angle of elevation calculations.
If you want a synopsis of how we calculate lines of sight and all the parameters we use I have a shorter, less whitepaper-y blog post here:
https://ryan.berge.rs/posts/lines-of-sight/
Sorry to be pedantic, your longest view is not from the Hindu Kush, but from the mountains to the south of the Tarim Basin which are the Kunlun mountains.
The Hindu Kush are largely in Afghanistan, but also Pakistan, running in an arc from Kabul to the north east. They aren't in China.
The Hindu Kush range then gives way to the Karakoram, as you cross Kashmir, which is then bordered to the north by the Kunlun which form the arc of the southern Tarim Basin.
I suspect you're just mixing it up with the Hindu Tagh pass, just to the south of the peak your point is looking from. Hindu Tagh seems to be about as good a name as the line-of-sight community has come up with for that peak.
I think I came up with that name from a game of telephone of sources claiming to have the longest line of sight. There's a lot of really random sources on the Internet that mention the line of sight but do not cite the data or analysis. I have seen Hindu Tagh thrown around as well so if it's more accurate we want it there.
Part of our motivations were to stop the game of telephone and become an authoritative source on this stuff.
I'm not much of a geographer, more of a HPC guy.
I have this on the TODO list to update tomorrow.
There seems to be some missing data here when it comes to the north face of most Himalayan peaks (for example: Annapurna).
I am willing to believe looking south gives you the longer view, but there has to be some points on the north faces that win out for a northern view.
Fun fact, the view north is so far, clear and reliable weather-wise that the CIA partnered with mountaineers to set up equipment to monitor China's progress with nuclear weapons several decades ago.
https://map.alltheviews.world/longest/88.14788327735505_27.7...
https://map.alltheviews.world/longest/88.14711648199943_27.7...
If were to use absolute global values for the heatmap, then the Himalayas would just appear as pure, washed-out white.
Does that make sense?
I did some longshots back in the early days of wifi.
You could probably talk between ends using cheap crappy 446MHz 250mW walkie-talkies though.
But then the actual message would be encoded by very slightly favouring the high or low end of the spread spectrum map as a kind of terribly slow FSK.
https://gitlab.com/nsnam/ns-3-dev/-/issues/41
All comments shown.
Couldn't load more comments. Check your connection and try again.