Readit News logoReadit News
jimaek commented on We have ipinfo at home or how to geolocate IPs in your CLI using latency   blog.globalping.io/we-hav... · Posted by u/jimaek
tomtomtom777 · 10 days ago
How did you know how well these results work?

You mention the quality several times in the article but it's not clear how this is verified. Do you have a set of known-location-ip-addresses around the world (apart from your home)? Or are we just assuming that latency is a good indicator?

jimaek · 10 days ago
I run about 270 servers in verified locations as part of the Globalping network https://globalping.io/users/jimaek so I had plenty of targets to test

I tested against them, as well as other infrastructure I control that is not part of the network, and compared to the ipinfo results as well

jimaek commented on We have ipinfo at home or how to geolocate IPs in your CLI using latency   blog.globalping.io/we-hav... · Posted by u/jimaek
VladVladikoff · 10 days ago
If I understood the post the author just takes the location of smallest ping as the winner. This seems like a very rudimentary approach. Why not do triangulation? If you take each ping time as a measurement of distance between two points, you should be able to ping from a random selection of IPs and from there calculate the location.
jimaek · 10 days ago
I talk a little about it in the article, but the main goal was to build something simple that works as proof of concept.

This brute force approach works much better than I expected as long as you have enough probes and a bit of luck.

But of course there are much better and smarter approaches to this, no doubt!

jimaek commented on We have ipinfo at home or how to geolocate IPs in your CLI using latency   blog.globalping.io/we-hav... · Posted by u/jimaek
kortex · 10 days ago
I wonder if you could optimize for reducing the total probe count (at the expense of possibly longer total time, though it may be faster in some cases) by using some sort of "gradient descent".

Start by doing the multi-continent probe, say 3x each. Drop the longest time probes, add probes near the shortest time, and probe once. Repeat this pattern of probe, assess, drop and add closer to the target.

You accumulate all data in your orchestrator, so in theory you don't need to deliberately issue multiple probes each round (except for the first) to get statistical power. I would expect this to "chase" the real location continuously instead of 5 discrete phases.

I just watched the Veritasium video on potentials and vector fields - the latency is a scalar potential field of sorts, and you could use it to derive a latency gradient.

jimaek · 10 days ago
Yes, most likely there are multiple algorithms that could be used to get better results with fewer probes, but I'm not smart enough to do the math and implement them.
jimaek commented on We have ipinfo at home or how to geolocate IPs in your CLI using latency   blog.globalping.io/we-hav... · Posted by u/jimaek
navigate8310 · 10 days ago
> Globalping is an open-source, community-powered project that allows users to self-host container-based probes. These probes then become part of our public network, which allows anyone to use them to run network testing tools such as ping and traceroute.

How's this different from RIPE ATLAS?

jimaek · 10 days ago
Atlas is great but it is focused more on academic research and professional use.

Globalping offers real-time result streaming and a simpler user experience with focus on integrations https://globalping.io/integrations

For example you can use the CLI as if you were running a traceroute locally, without even having to register.

And if you need more credits you can simply donate via GitHub Sponsors starting from $1

They are similar with an overlapping audience yet have different goals

jimaek commented on We have ipinfo at home or how to geolocate IPs in your CLI using latency   blog.globalping.io/we-hav... · Posted by u/jimaek
xyst · 11 days ago
Tried with an IP allocated to a major wireless network operator. It was far off but also ran out of credits when trying with higher limits on subsequent attempts.

Seems tool is relying on ICMP results from various probes. So wouldn't this project become useless if target device disables ICMP?

I wonder if you can "fake" results by having your gateway/device respond with fake ICMP requests.

jimaek · 11 days ago
I talk about it a bit in the article. The easiest solution is to use the last available hop. In most cases its close enough to properly detect the country even if the target blocks ICMP.

Email me if you would like to get some additional credits to test it out, dakulovgr gmail.

jimaek commented on We have ipinfo at home or how to geolocate IPs in your CLI using latency   blog.globalping.io/we-hav... · Posted by u/jimaek
jimaek · 11 days ago
This is a little project exploring the feasibility of using a service such as Globalping for geo location needs.

I had fun making it but please note that the current implementation is just a demo and far from a proper production tool.

If you really want to use it then for best possible results you need at least 500 probes per phase.

It could be optimized fairly easily but not without going over the anon user limit which I tried to avoid

jimaek commented on AMD and Sony's PS6 chipset aims to rethink the current graphics pipeline   arstechnica.com/gaming/20... · Posted by u/zdw
b_e_n_t_o_n · 4 months ago
Have you played it? I haven't so I'm just basing my opinion on some YouTube footage I've seen.

BF1 is genuinely gorgeous, I can't lie. I think it's the photogrammetry. Do you think the lighting is better in BF1? I'm gonna go out on a limb and say that BF6's lighting is more dynamic.

jimaek · 4 months ago
Yes I played it on a 4090. The game is good but graphics are underwhelming.

To my eyes everything looked better in BF1.

Maybe it's trickery but it doesn't matter to me. BF6, new COD, and other games all look pretty bad. At least compared to what I would expect from games in 2025.

I don't see any real differences from similar games released 10 years ago.

u/jimaek

KarmaCake day685January 14, 2013
About
https://dakulov.com
View Original