News for hackers. Stuff that matters.
Re:Every mountain, building and tree shadow in the world sim... by LeifCarrotson on Friday May 31, 2024 @10:06AM (#40535366)
Geo-IP through Cloudflare:

    <script id="cflocation"> 
        window.CFLocation = {"lat":####,"lng":####};window.CFDsm=null;
    </script>
See https://developers.cloudflare.com/network/ip-geolocation/.

Mine's off by more than 100 miles (Comcast Business fiber), it's not magic.

Re:Every mountain, building and tree shadow in the world sim... by aeyes on Friday May 31, 2024 @11:00AM (#40536067)
Cloudflare only gives you the country
Re:Every mountain, building and tree shadow in the world sim... by lights0123 on Friday May 31, 2024 @11:10AM (#40536191)
Re:Every mountain, building and tree shadow in the world sim... by irrational on Saturday June 01, 2024 @11:23AM (#40546496)
Then how did the website end up just about a mile from my house?
Re:Every mountain, building and tree shadow in the world sim... by tills13 on Friday May 31, 2024 @11:56PM (#40542750)
It's probably either just the lat long of the PoP or some magic based connection latency?