alt.hn

8/19/2026 at 12:19:52 PM

Geolocating a random island using geometry and CUDA programming

https://yassa9.github.io/osint/gralhix-004/

by yassa9

8/19/2026 at 1:42:09 PM

Excellent write up and an enjoyable read! Reminds me of the “good old times” where posts on HN were written by humans and with a specific writing style like yours. You could’ve used a little bit more of geoguessing to narrow down results, or do a brute force visual check on the last hundred or so ;-)

by NKosmatos

8/19/2026 at 1:50:42 PM

yea, thanks :D , I used a tiny idea from geoguessing, that I banded the search on islands only in latitude between -30 to +30 deg. based on the sky and the tropical vibes in the img , and it worked !

by yassa9

8/19/2026 at 3:17:38 PM

agree! AWESOME work!

by jambalaya8

8/19/2026 at 1:18:28 PM

For drones and missiles, this technique is known as Terrain Contour Matching. If terrain contour are measured optically, navigation is independent of RF jamming, unlike GNSS.

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

by bmurray7jhu

8/19/2026 at 4:09:50 PM

It’s an effective a surprisingly old technique, being used on cruise missiles as early as the 1960s. It actually precedes GPS and satellite navigation by several decades. Im continuously blown away by what engineers were able to do in that era with such limited computing power. Take a look at SAGE, for example.

Fun fact: the usage of TERCOM in the tomahawk missile actually limited its ability to be used in Operation Desert Storm. Routes had to be planned to go around actual topographical features, instead of hundreds of miles of flat desert.

by openasocket

8/20/2026 at 1:53:33 PM

Memory on the first cruise missiles was so sacred though that they it could only store the pre-planned flight terrain data. So they not only loaded target coordinates, but full flight plans and had to launch from the programmed position. Desert was difficult as it has too few features.

by grumbelbart2

8/20/2026 at 1:26:59 PM

Soviet space shuttle had autopilot based on the computer with 130kb of RAM.

by ponector

8/19/2026 at 5:17:42 PM

Rumour has it that they achieved the first TERCOM using the then revolutionary bit slicing technology.

by 4gotunameagain

8/19/2026 at 1:28:15 PM

oh, wow, I didnt know that existed, thank u, sure gonna look into it

by yassa9

8/19/2026 at 4:36:00 PM

Super fun! Interestingly, this is how JPL was able to significantly reduce the Mars 2020 landing radius on Mars. Cameras onboard take pictures of the terrain and match that to maps to figure out where the lander is. https://www-robotics.jpl.nasa.gov/what-we-do/flight-projects...

by zer0x4d

8/19/2026 at 4:52:17 PM

omg wow, thats super hard, although cool ,

by yassa9

8/19/2026 at 5:45:35 PM

It was cool, very fun 3 years of my life working as a part of that team :)

by zer0x4d

8/19/2026 at 11:23:08 PM

Thanks for your service! Awesome work, I'm envious.

by CamperBob2

8/19/2026 at 12:52:09 PM

OpenStreetMap data really is a godsend for such OSINT purposes. Works much better in populated areas too, with more features like roads, shops, electric lines that can be used to search.

by lexlambda

8/19/2026 at 2:33:19 PM

Claude / Gemini + OSM Turbo is a crazy you can do natural language queries like "find me a bus stop in germany that's surrounded by more than 5 three story buildings"

by GaryNumanVevo

8/20/2026 at 7:45:54 PM

*Only works reliably in Germany

by arboles

8/19/2026 at 1:02:42 PM

yea , heard about them before, but didnt know that whole treasure till I really used it , impressive

by yassa9

8/19/2026 at 2:36:07 PM

This is awesome. I worked on something similar a few months ago. It is a general purpose navigation system based on TERCOM and dead reckoning - https://github.com/deepanwadhwa/anumaan

by dwa3592

8/20/2026 at 5:06:16 PM

Weirdly enough, I'm working on a similar system for position tracking in canyons. It's hybrid, uses a combination of Kalman filters, particle filters and GPS (EDIT: and LIDAR based DEM) and is based on the obvious (in hindsight) realisation that the view of the sky to get an accurate gps fix is inversely proportional to the constraints of the terrain. If you have a low field of view of the sky, you can use sensor data to constrain your likely position. I should have hardware samples for testing in the next month or so. Hopefully my theory stands up!

by Intermernet

8/20/2026 at 7:13:19 PM

Love it. Position tracking in canyons is a much needed use case. Is there a link where I can follow your progress?

by dwa3592

8/21/2026 at 1:38:42 AM

Not yet. I currently have one private repo with everything in it (hardware design, firmware, experiments, notes etc.). Want to clean it up before I release anything.

by Intermernet

8/21/2026 at 12:35:39 PM

Nice! Good luck.

by dwa3592

8/19/2026 at 4:47:45 PM

I find it highly ironic that his is the second article on the main page right after "avoid building technologies that could be used by a police state".

by deiptx

8/20/2026 at 2:15:33 AM

I don't see it, did he delete it?

by E-Reverance

8/19/2026 at 6:18:45 PM

EVERY technology could be used by a police state

by fhn

8/19/2026 at 8:27:14 PM

It is a question of how adversely empowering the technology is.

by esafak

8/19/2026 at 1:47:12 PM

What do you mean by no LLM generation if an LLM did all the coding based on reading through the .py files? Pangram isn't kind to "your" text either.

by phalanxx

8/19/2026 at 2:00:53 PM

I meant the blog itself, the writeup, the steps and the walkthrough all by hand , the final code u see is llm refined, of course, I wont publish my messy and spaghetti files with much tests, failures and dead ends, also vizualizations functions to produce that green maps , and faulty versions of them

but you are right, I should add that

by yassa9

8/19/2026 at 2:07:53 PM

Just by reading your actual messages it's easy to see that you didn't write the blog post entirely by hand.

by StilesCrisis

8/19/2026 at 3:11:23 PM

ok

by yassa9

8/19/2026 at 2:07:02 PM

"No EXIF, no GPS, no camera make or model."

Yeah, a human definitely wrote this. Nothing fishy here. (Why would the camera make or model matter???)

by StilesCrisis

8/19/2026 at 2:18:13 PM

ok, if u came with the whole conclusion by only this line, ok , but to answer u, ( I hate to justify myself , but have to ) I started writing the blog after I started solving another challenge from gralhix : https://gralhix.com/list-of-osint-exercises/osint-exercise-0...

and the part of the solution came from the metadata, the camera model, you can check urself, so when I came back to write the blog, it just came by flow,

by yassa9

8/19/2026 at 2:18:49 PM

If you know the camera make and model, you might be able to get lens parameters and get better estimates of real world geometry from the image

by voidUpdate

8/19/2026 at 2:22:23 PM

yea thank u, that's another part, but mainly it would hard although knowing that, because you need to know elevation of the drone or the camera, which is also extremely difficult (I already mentioned that in the blog)

by yassa9

8/19/2026 at 2:40:57 PM

The camera make and model wouldn't tell you the lens parameters. The EXIF would, but that was already covered in the triplet.

by StilesCrisis

8/20/2026 at 6:54:52 AM

It does if you google the make and model to find out the lens parameters (assuming it isn't a fancy camera with interchangeable lenses)

by voidUpdate

8/19/2026 at 11:03:52 PM

A help with this is the sun is to the left and it seems to be midday, so you could answer the "cardinal direction" question just from the picture with "west ish", which is what it turns out to be.

by treyd

8/19/2026 at 11:08:30 PM

I tried to use the sun info , but honestly I couldn't at all,

thx for the tip

by yassa9

8/20/2026 at 3:34:52 AM

It'd probably be hard to do directly/algorithmically, but the shadows from the trees is what I was looking for visually.

by treyd

8/19/2026 at 2:20:25 PM

Really great article! OP, you did an awesome job breaking down a complex problem into manageable chunks and synthesizing the solution.

by o4c

8/19/2026 at 2:29:51 PM

thanks, appreciate it

by yassa9

8/19/2026 at 2:37:58 PM

Excellent read, I loved it.

Incidentally, the image seems to be the one the resort uses on their website! https://oanresort.wixsite.com/chuuk

by ImJasonH

8/19/2026 at 2:53:39 PM

thanks, and yea, it should be solved easily by passing the img to google lens, the website is the first result, but I found a fun opportunity to solve it in different way

by yassa9

8/19/2026 at 1:02:17 PM

> NOTE: this is a genuine human work, didnt use LLM generation.

A million upvotes from me.

by ohyoutravel

8/19/2026 at 1:13:26 PM

haha, thanks :D I was hesitant to whether write it or not, but I really really despise llm generated posts and blogs and im glad someone appreciated it

by yassa9

8/19/2026 at 10:22:47 PM

Great content too generally. Without the disclaimer I find myself less engaged with the content knowing it could be an LLM hallucination and am ready to eject at any moment.

btw Micronesia is _not_ a country!

by ohyoutravel

8/19/2026 at 10:27:18 PM

Micronesia is, too, a country. Referring to the Federated States of Micronesia as "Micronesia" is just as legitimate as referring to the USA as "America".

by OkayPhysicist

8/20/2026 at 12:22:05 PM

I’ve been to Marshall Islands, Kiribati, and FSM but never heard FSM called “Micronesia;” usually when people refer to Micronesia they’re referring the cultural region inclusive of FSM and the other two I mentioned, among others.

That’s cool, didn’t realize that slang existed, today I learned, thanks!

by ohyoutravel

8/19/2026 at 1:18:32 PM

It’s interesting that most top contenders don’t pass the eyeball halo check, seems like there’s room to optimize that filter in code.

by bitcurious

8/19/2026 at 1:27:06 PM

yea, good observation, my guess is its the data more than the filter. OSM coastline polygons are generalized to different degrees depending on who traced them and from what imagery, so the fine shape detail a halo check would key on often is not in the geometry at all.

I observed that at the end, didnt push on it further though. It already passed and I was super exhausted

by yassa9

8/19/2026 at 12:38:29 PM

I read all the process, literally awesome, i don't do OSINT (i know only what is this) and i think that's very cool

by cecinuga

8/19/2026 at 12:43:48 PM

thaaank you !! Its my first ever challenge to do, and yea, I really found my passion

by yassa9

8/19/2026 at 9:28:57 PM

> NOTE: this is a genuine human work, didnt use LLM generation.

I'm sorry, but I don't believe this. The article reads like LLM text post-edited by an AI prompted to "write like a non-native English speaker, replace you for u, make errors, etc".

The other pages on your site are cough, "the smoking gun". For instance, your "Suckless, single binary, zero-dependency CUDA/C++ inference engine for NVIDIA's DVLT. Reconstructs 3D scenes from a handful of images (depth + rays + camera pose => point cloud), no python, no torch, no framework." project.

by mattpk

8/19/2026 at 10:30:25 PM

errors = llm, no errors = llm, any word from a list of hundreds = llm, absence of any llm-words = suspiciously like an llm instructed not to use those words, declare no llm was used = llm.

there is no winning. if you post something in 2026 or beyond, someone is going to exclaim "llm!". i feel badly for aspiring bloggers or writers. it's also getting rather annoying that 50% of comments on hn, regardless of the topic they are posted on, are the exact same comment about llms.

by john_strinlai

8/20/2026 at 12:47:28 PM

It's not because of the errors, it's clearly written by Claude. Although I doubt if they prompted it to make errors, just generated the majority and edited/wrote some parts themself.

I find it rather annoying that so many submissions on hn are LLM writing, but yes I don't generally find it worth discussing. except that this one explicitly claims not to be

by speedstyle

8/19/2026 at 10:57:06 PM

really thank u John, I felt disappointed after those comments, someone below said that the pangram is against my text, I doubted myself and even went to online pangram : https://pangramaidetector.org/

spent literally half an hour copying each single section and paragraph (removed the code and Katex) and literally all the results are "0% AI-generated text" or max 15%

by yassa9

8/19/2026 at 9:43:42 PM

haha : "write like a non-native English speaker"

man, Im actually non native speaker xDD

"replace you for u" ???? what ?!

by yassa9

8/19/2026 at 3:04:03 PM

Good article! Off-topic, Is Palantir doing the same thing with its internal software to geolocate?

by num42

8/19/2026 at 6:19:26 PM

Assuming they (and militaries broadly) do this +more, like actually using vision models trained on billions of geolocated landscape photos.

by pphysch

8/19/2026 at 3:09:26 PM

thanks ! no idea about Palantir, but in my opinion, this can not be automated , needs much manual work and tons of trial and error

by yassa9

8/19/2026 at 9:02:46 PM

Awesome write up! This is now one of my favorite articles on HN.

by mirzap

8/19/2026 at 9:06:27 PM

thaaank u man, I really appreciate ur comment

by yassa9

8/20/2026 at 12:00:57 AM

That's kind of seed finder but in real life

by souenzzo

8/19/2026 at 4:08:20 PM

this is really cool. fun little problem turned into great write-up, and i love that you included the code snippets. thanks for sharing

by naniel

8/19/2026 at 4:12:04 PM

really glad that you liked it

by yassa9

8/19/2026 at 9:15:05 PM

This is beyond impressive. Very good work!

by Gooblebrai

8/19/2026 at 9:18:49 PM

glad u liked it :D

by yassa9

8/19/2026 at 7:53:36 PM

@yassa How long did this take?

by phkahler

8/19/2026 at 8:11:30 PM

do u mean the whole work ? I spent at first 3 "whole" days in research, trial and error trying different methods and scripts, like for example tried the depth estimation to build upon it, failed many times till I gave up then came back after a week and spent another 4 days till succeeded then the refining, cleaning and organizing of all of that, also structuring and writing the blog, took about another 3 days

you can say that total is ~10 days of work

by yassa9

8/19/2026 at 1:57:28 PM

What about tides? Would the outline of the island be different based on the time of day.

by ape4

8/19/2026 at 2:33:58 PM

honestly, I didn't think about it, I just trusted the OSM polygons

by yassa9

8/19/2026 at 12:54:10 PM

great blog and great writeup

by hhh

8/19/2026 at 1:01:31 PM

thannks, really grateful :D

by yassa9

8/19/2026 at 4:31:00 PM

Nice, but Rainbolt would do it in under a minute ;)

by aquafox

8/19/2026 at 4:32:33 PM

haha, I actually agree

by yassa9

8/19/2026 at 12:48:29 PM

really impressive, could that be the way to locate yourself without GPS? assuming we know more/less where we are

by piterrro

8/19/2026 at 1:06:33 PM

yea, search about geoguessing on youtube, people like Rainbolt, https://www.youtube.com/@georainbolt

they literally memorize and get patterns of every possible road, place, map of any area (scanned by google earth), getting exact coordinates from single image, and play competitions and world cup based on that

they do really nice videos about finding places in old photos people ask for

by yassa9

8/19/2026 at 7:51:50 PM

Good job, Yassa. This is how you get a job in the AI age.

by esafak

8/19/2026 at 8:13:37 PM

haha, I wish , this is my first OSINT challenge to solve tho

by yassa9

8/19/2026 at 6:24:53 PM

Not glamorous but it works

by hnlb53nrpg

8/19/2026 at 3:45:17 PM

Loved it.

by jf93ap29sh

8/19/2026 at 12:59:22 PM

impressive

by grodes

8/20/2026 at 8:26:41 AM

[flagged]

by NeoByte

8/19/2026 at 11:31:41 PM

[dead]

by _alphageek

8/19/2026 at 12:55:50 PM

[dead]

by fenestella

8/19/2026 at 4:12:39 PM

All of this to not use Google images

by ligarota

8/19/2026 at 4:20:00 PM

All of this to try and learn something new

by melozo

8/19/2026 at 2:09:52 PM

This is the real takeaway

by hno8a34nwn