News for hackers. Stuff that matters.
Re:Show HN: X11 desktop widget that shows location of your n... by lxgr on Sunday July 20, 2025 @10:14PM (#44631185)
Neat! This runs fully offline (i.e. without calls to a GeoIP database), right?
Re:Show HN: X11 desktop widget that shows location of your n... by serbuvlad on Sunday July 20, 2025 @10:19PM (#44631213)
From what I was able to tell looking at the code, yes.

The database is embedded in the program. Specifically, it is this file:

https://github.com/h2337/connmap/blob/master/connmap/resourc...

Presumably generated by the author with this Python script

https://github.com/h2337/connmap/blob/master/tools/get-ip-da...

Re:Show HN: X11 desktop widget that shows location of your n... by lxgr on Sunday July 20, 2025 @10:23PM (#44631233)
Ah, cool, this should incorporate location data at least as good as what the networks self-report! (I suspect that these databases, on top of ingesting all geofeed data, do something similar to Wi-Fi positioning, i.e. correlate the IP address of various GPS-enabled devices with their physical location to try and deduce undocumented/non-public allocation patterns.)
Re:Show HN: X11 desktop widget that shows location of your n... by h2337 on Sunday July 20, 2025 @10:15PM (#44631188)
Correct! GeoIP database is local.
Re:Show HN: X11 desktop widget that shows location of your n... by lxgr on Sunday July 20, 2025 @10:16PM (#44631197)
Nice! Where is it from, and do you know if it incorporates geofeed [1] data for networks that publish it?

[1] https://ipregistry.co/blog/geofeeds

Re:Show HN: X11 desktop widget that shows location of your n... by DonHopkins on Sunday July 20, 2025 @10:19PM (#44631215)
Of course it works fully offline, since then you don't have any network peers to draw on the map.
Re:Show HN: X11 desktop widget that shows location of your n... by lxgr on Sunday July 20, 2025 @10:24PM (#44631237)
Localhost has to be somewhere too :)
Re:Show HN: X11 desktop widget that shows location of your n... by DonHopkins on Sunday July 20, 2025 @11:55PM (#44631669)
GeoIP ain't gonna help you with geolocating 127.0.0.1! ;)

Not even Scientology's Secret Advanced Technology OT III Level Xenu Body Thetan and their high payed lawyers know where 127.0.0.1 is!

https://en.wikipedia.org/wiki/Xenu

https://news.ycombinator.com/item?id=14954131

DonHopkins on Aug 8, 2017 | parent | context | favorite | on: Internet Draft: Let 'localhost' be localhost

There was the time that Keith Henson tried to explain the local loopback address to Scientology lawyers during a deposition...

http://www.cryonet.org/cgi-bin/dsp.cgi?msg=6289

Henson: (patiently) It's at 127.0.0.1. This is a loop back address. This is a troll.

Lieberman: what's a troll?

Henson: it comes from the fishing where you troll a bait along in the water and a fish will jump and bite the thing, and the idea of it is that the internet is a very humorous place and it's especially good to troll people who don't have any sense of humor at all, and this is a troll because an ftp site of 127.0.0.1 doesn't go anywhere. It loops right back around into your own machine.

https://en.wikipedia.org/wiki/Keith_Henson

Keith is also involved with cryonics at Alcor, and well known for performing "a rapid conversion to neuropreservation [that] was done using a high-speed electric chain saw".

https://news.ycombinator.com/item?id=34066097

>My somewhat eccentric friend Keith Henson once performed the grisly task of "converting whole body to neuro", which the article mentions: downgrading some of Alcor's full-body customers to head-only by removing their heads from their bodies with a chainsaw, or as Alcore's illustrated report delicately explained, "a rapid conversion to neuropreservation was done using a high-speed electric chain saw."

>[...] But then the Alcor Life Extension Foundation came to the rescue. It would take care of the frozen parents, essentially on a charity basis, but only on the condition that they could be “converted” first, which is to say, converted from whole-body to neuro, the latter being far less expensive than the former. “The same capsule that you put a whole body in,” Saul Kent once explained, “you can probably put twenty heads in.”

Chapter 3, pp 76, "Heads Will Roll", pp 93-94:

https://gwern.net/doc/transhumanism/1990-regis-greatmambochi...