World Airports Voronoi
jasondavies.com
jasondavies.com
Is there an easy way to calculate the area of each cell?
Did I mention this is really cool!!
http://boeing.mediaroom.com/2014-05-28-Boeing-Receives-330-M...
ETOPS also now applies to new-build quads.
"Regulation 14 CFR 121.161 requires four-engine passenger airplanes built after February 2015 to observe ETOPS if the flight route is more than 180 minutes (3 hours)"
Virgin Australia briefly ran a service from Melbourne to Johannesburg using 777s, which was 2 hours longer than it needed to be for this reason. Looking at this map, it's clear why: the great circle path almost goes over Antarctica, and the closest airports over the path are in Australia and South Africa.
It would take either a domain expert or someone willing to spend a few months studying the problem to write an optimized version, but then it could probably be made to run a couple orders of magnitude faster by using slightly coarser approximations for various function evaluations (no need for 10^-15 precision for drawing on screen), or by simplifying the problem to require fewer function evaluations overall (e.g. by using Bézier curve segments instead of straight line segments), rewriting the core of the library to be vectorized, and rendering via a raster- rather than DOM-based drawing system. I’m sure a GPU could handle such a problem very effectively, though working with WebGL might be a pain.
Anyway, go for it!
Why?
The expensive part is rendering them in an arbitrary map projection.
Considering this is an orthographic projection, and therefore spherical polygon edges are all ellipses, rendering this picture could certainly be special-cased to only draw ellipses and thereby run much faster. But it’s using a very general D3-geo framework. If you want you can easily tweak the code and the map will be drawn on whatever projection you like.
To see some of the possibilities, go to http://bl.ocks.org/mbostock and scroll down a bit.
It's amazing how fast computers are. And it's amazing how slow we make them with layers and layers of cruft built atop more layers and layers of cruft.
Imagine if the author had instead used, say, DirectX and C++ and only bothered compiling it for his own platform. Not only would it be nearly impossible for this to have reached the same audience so quickly, but it likely would have taken the author longer to make as well because JavaScript + D3.js are uniquely suited towards rapidly making these sorts of prototypes.
We live in a time where a complicated, interesting visualization like this can be built in a day or two, and appear as #3 on hacker news. Less than 10 years ago it probably would have taken 10x the time, maybe more, and your iPad Air didn't exist.
It's not like it's doing global illumination pathtracing or anything.
For what it's worth, it's also fun that key elements of the text are dynamic. When I first landed on the page with noscript suppressing any script, I saw:
> Most Remote Airport
> … at … is the most remote; from the nearest airport, .
Usually if I see any text, I don't bother enabling script, so this confused me. Luckily I did enable the script and then saw the principle UI element on the page. :)
But the end result is just toooooooooo much for any reasons.
Among other things it drives home how remote the waters MH370 disappeared in are.
In Soviet times, a lot of civil infrastructrure was built with an eye to military use, so you get some suspiciously long runways at rinky-dink airports.
1) This appears to be only airports that offer commercial passenger service.
2) Easter Island has an airport! I was under the impression you could only get there by boat.
It's an awesome place to visit - a town of a few thousand people, surprisingly good food, breathtaking moai, and due to its relative remoteness, not particularly crowded with tourists. I liked it enough to want to go back.
The upgrade of the runway to support the Shuttle started in May 1986 (https://news.google.com/newspapers?nid=2245&dat=19860423&id=... ) and ended by August 1987 (https://news.google.com/newspapers?nid=860&dat=19870817&id=Y... ).
The second LA to Sydney flight takes off September 2nd and lands on September 4th!
https://www.hipmunk.com/flights#f=JFK;t=Easter+Island,+Chile...
It reminds of play the amazing retro-future 80days game: http://www.inklestudios.com/80days/
But when you fly from Sydney to LA you arrive before you left :) All thanks to the international date line.
Wilkins supports normal commercial aircraft like the a319
So you could get exactly the same diagram by finding the 3D Voronoi diagram of the airports as a collection of points in space, and then taking the intersection of that with the geoid.
So, run Voronoi on 3D points that happen to all be on the sphere... Then intersect the polytopes with a sphere. Tada - great arcs.
Then you intersect the sphere with the polytopes, which result in great arcs.
To clarify, a hell-ban is the type of ban where a user's posts are hidden from everybody except themselves (and on HN, those with "showdead" enabled in their profile settings).
It ranks right between simply redirecting a login to a browser-bomb page (which is slightly more evil, except for the part where it doesn't potentially waste months of a person's time) and slow-bombing/random timeouts/delays (which is ever so slightly less of a dick move to do to someone's account, yet almost always works better than a hell-ban).
Except in the most extreme cases (anything short of a mentally disturbed, obsessive, or dangerous person that otherwise just won't go away), reaching for a hellban is always the wrong choice, because there's always another moderation option that deals with the situation both more effectively, as well with more respect and dignity to one's entire userbase.