frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

I counted all of the yurts in Mongolia using machine learning

https://monroeclinton.com/counting-all-yurts-in-mongolia/
129•furkansahin•6h ago

Comments

furyg3•5h ago
Regarding the discussion of ger/yurt districts in cities, it's also important not to underestimate the cultural significance of the nomadic lifestyle and yurt culture.

Changing climate (desertification) and economic conditions have meant that a lot of people have given up their nomadic lifestyle and moved to cities or their outskirts (mostly Ulaanbaatar). They often are reluctant to do so, it's a big step, and they often hope it is a temporary one.

They set up their yurts not only because of housing shortages, but many are also hesitant to move into apartments or other permanent structures as it's seen as the last step in giving up this nomadic lifestyle. Often they are setting up their yurts next to permanent structures, either because they are living in the 'yard' of relatives or to expand their residences and stay connected to their culture.

You can see examples of this in the first images.

Cthulhu_•4h ago
It also sounds like they would already have one, and / or that it would be relatively easy to move if they want or need to. Don't they go back to their more rural homes for special events, for example?
qq66•4h ago
Agree - ger living is not necessarily a failure of public policy, it could just be a cultural decision. Even Genghis Khan lived in a ger. Of course, for some people, it's likely to be a matter of necessity, for others, a matter of choice, but it's not prima facie bad.

> When ineffective policy results in a large chunk of the populace generationally living in yurts on the outskirts of urban areas, it’s clear that there is failure.

That's not at all clear.

aaron695•1h ago
> That's not at all clear.

LLMs agree with OP. It's a failure, with important culture.

Steelmanning it, it's better than a corrugated metal shanty town. Although they would die in the cold.

The rich in the gers burn coal, the poor plastic. There is no water or sewerage.

It's one of the most polluted capitals in the world - https://www.unicef.org/mongolia/environment-air-pollution#:~...

Ulaanbaatar - https://geohack.toolforge.org/geohack.php?params=47_56_7_N_1...

ty6853•29m ago
I'm not sure about Mongolia, but elsewhere I've seen wooden platforms for yurts under which water and sewage is ran, much as you would do with a crawlspace type house.
TimorousBestie•10m ago
What’s the point of citing unspecified “LLMs”? Do you expect this to be persuasive? And why more than one?
orbital-decay•2h ago
I've traveled across Mongolia on a motorcycle many years ago, and one thing I never expected is how absolutely everyone living in a permanent house also has a yurt in their backyard, regardless of how good the house is. This made no sense to me as an outsider (like, do you really need a second house?) so I asked a local about this, and was given a funny look. Yurts are just hardwired into the culture, it's a status symbol, it's where you invite a guest, it's what you use when living outside, it so many things at once.
throwup238•1h ago
Mongolia is also really struggling right now with a mass migration off the plains because of several very cold winters that have decimated their flocks. There just isn’t enough room for them to move into permanent buildings even if they wanted to.
andrewstuart•5h ago
Yurt is a lot of fun to say. Great word.
shpx•4h ago
It seems like a waste that you didn't use the 89,259 yurts that are already outlined in OpenStreetMap as input, though you would've probably had issues aligning the outlines with google maps imagery

https://taginfo.geofabrik.de/asia:mongolia/tags/building=ger

I'm also guessing your model doesn't handle yurts that are on the border of a tile.

Finally, that's a much smaller number than I expected for a country of 3 million.

rsynnott•4h ago
> Finally, that's a much smaller number than I expected for a country of 3 million.

172k of them? That still seems like quite a lot of yurts; certainly more yurts per capita than anyone else has.

shpx•4h ago
Wikipedia says 30% of 3.5 million are "nomadic or semi-nomadic", which would be 6 people to a yurt. I couldn't figure out what percentage of the country was done, but if he did 270,559/37,258,617 zoom 17 tiles then there could be another 100k in the other 99% of the data.

Living away from other people and not next to anything in particular is what I associate with nomads, the heuristic of searching a radius around landmarks doesn't make sense to me. I scrolled around a random remote desert area in Mongolia on Google Maps and found a yurt every couple of minutes.

shiandow•3h ago
I'm confused why you wouldnt just do some random sampling to get some statistical bounds. At least then you'll know if you are close.
biorach•4h ago
> Finally, that's a much smaller number than I expected for a country of 3 million.

172.7k yurts. Assuming that these are family residences for the most part, if we take an average occupancy of 4 (which is probably too low - the fertility rate is still quite high there) gives ~691k people living in yurts - approximately 20% of the population of 3.5 million - sounds reasonable.

pmontra•57m ago
My quick estimate before clicking the link was:

From my memory: 3 million people, 1.5 living in the capital.

Let's say 1 million are living outside cities.

4 people per yurt.

250,000 yurt.

Add some extra yurts because there will be people having more than one or people living in a house with a yurt in the garden or yurts used as warehouses, etc

300,000 which is almost the double of the count from the ML app.

MangoToupe•4h ago
Nice! Now how will you validate the result?
pimlottc•2h ago
Ideally you’d verify against an in-person count of yurts over some control area. Otherwise this is just based on an assumption of what yurts look like on satellite.
proxysna•4h ago
Nice write up, also great to see Docker Swarm being used.
icameron•4h ago
Intrigued by this. What was the rate of false positives? For example are there storage tanks, silos, above ground pools mistaken for yurts?
amelius•3h ago
They use a semi-commercial solution (free for educational use).

I'm curious what the topology/architecture of the DL model is like. And are there better ways to approach this problem?

tomtomistaken•2h ago
Nice, thanks for sharing! What would be the best way (and data source) to observe the number of yurts over time?
bz_bz_bz•2h ago
There are zero yurts in Mongolia using machine learning.
9dev•1h ago
I chuckled a little, but as a non-native speaker: what would be the correct phrasing? "Using machine learning, I counted all the yurts in Mongolia?"
wrp•1h ago
Just add a comma. "I counted all of the yurts in Mongolia, using machine learning"
dahart•47m ago
The phrasing is correct and pretty normal, it’s just potentially ambiguous. English is like that sometimes. I’m not a grammarian, but I think “I counted all the yurts in Mongolia using machine learning” would normally be interpreted correctly by most people, with ‘using’ is referring to the subject ‘I’. The way you’d write the other interpretation is “I counted all the yurts in Mongolia that use machine learning”. Your proposed alternative is also correct and less ambiguous.
hn_throwaway_99•34m ago
As another commenter said, the phrasing isn't wrong, just ambiguous. I would add the word "by" to make it unambiguous: "I counted all of the yurts in Mongolia by using machine learning."
p00dles•1h ago
thank you for this

*edit (I mean this sincerely, it made me laugh and I did not see it at first)

pbhjpbhj•42m ago
I'd bet quite highly that it's non-zero.
hkon•1h ago
Cool, how can this be used for taxation purposes?
snickerer•1h ago
The gers are standardized. There is a big daily market in Ulaanbaatar where you can get all spare parts and complete gers. In 2017, the price for one ger was something like $1000.

For that money, you get a well-isolated easily movable tiny house in a country where you are allowed to settle everywhere (but if you have 2000 sheep with you, you should better discuss the usage of the pastureland with the locals) without paying rent (outside the city).

Choosing a ger for housing is not only about tradition and culture. It is quite rational in that situation.

ty6853•53m ago
Do they build some kind of foundation for them?
xenophonf•42m ago
It'd be a lot more accurate—not to say more honest—to say the author _estimated_ the number of all the yurts in Mongolia using machine learning. ML algorithms are stochastic; their outputs are whatever the algorithm deems the most probable of the options generated from the given inputs. They barely give a thought to all the ways their count could be wrong—no error analysis, no confidence intervals. There's a meaningless prediction score of 40%, and they blithely add "a hundred or so" to the count.

This is anti-information. People reading this uncritically will come away with completely wrong ideas about the number of yurts in Mongolia, about machine learning algorithms, about data science in general.

tboyd47•30m ago
Keeping an eye on the steppe nomads is always a good idea.
decimalenough•22m ago
PSA: Downloading Google Maps satellite imagery tiles is forbidden by the TOS. This is enforced, too, and I'm quite surprised the OP managed to download tiles for all of Mongolia without getting banned.

Workout.cool – Open-source fitness coaching platform

https://github.com/Snouzy/workout-cool
114•surgomat•2h ago•28 comments

Homomorphically Encrypting CRDTs

https://jakelazaroff.com/words/homomorphically-encrypted-crdts/
59•jakelazaroff•1h ago•12 comments

Terpstra Keyboard

http://terpstrakeyboard.com/web-app/keys.htm
126•xeonmc•4h ago•37 comments

MiniMax-M1 open-weight, large-scale hybrid-attention reasoning model

https://github.com/MiniMax-AI/MiniMax-M1
229•danboarder•7h ago•51 comments

Is There a Half-Life for the Success Rates of AI Agents?

https://www.tobyord.com/writing/half-life
65•EvgeniyZh•3h ago•31 comments

Scrappy - make little apps for you and your friends

https://pontus.granstrom.me/scrappy/
305•8organicbits•9h ago•104 comments

I counted all of the yurts in Mongolia using machine learning

https://monroeclinton.com/counting-all-yurts-in-mongolia/
129•furkansahin•6h ago•35 comments

Introduction to the A* Algorithm

https://www.redblobgames.com/pathfinding/a-star/introduction.html
80•auraham•1d ago•42 comments

Honda conducts successful launch and landing of experimental reusable rocket

https://global.honda/en/topics/2025/c_2025-06-17ceng.html
1168•LorenDB•23h ago•371 comments

"poline" is an enigmatic color palette generator using polar coordinates

https://meodai.github.io/poline/
7•zdw•3d ago•0 comments

The Grug Brained Developer (2022)

https://grugbrain.dev/
895•smartmic•18h ago•404 comments

Jiga (YC W21) Is Hiring Software Engs to Make Like of Mech Engs Easier

https://www.workatastartup.com/companies/jiga
1•grmmph•2h ago

Reasoning by Superposition: A Perspective on Chain of Continuous Thought

https://arxiv.org/abs/2505.12514
9•danielmorozoff•2h ago•0 comments

Show HN: Lstr – A modern, interactive tree command written in Rust

https://github.com/bgreenwell/lstr
172•w108bmg•12h ago•51 comments

Building Effective AI Agents

https://www.anthropic.com/engineering/building-effective-agents
451•Anon84•20h ago•79 comments

Munich from a Hamburger's Perspective

https://mertbulan.com/2025/06/14/munich-from-a-hamburgers-perspective/
25•toomuchtodo•2d ago•11 comments

3D-printed device splits white noise into an acoustic rainbow without power

https://phys.org/news/2025-06-3d-device-white-noise-acoustic.html
195•rbanffy•2d ago•48 comments

A Straightforward Explanation of the Good Regulator Theorem

https://www.lesswrong.com/posts/JQefBJDHG6Wgffw6T/a-straightforward-explanation-of-the-good-regulator-theorem
33•surprisetalk•4d ago•3 comments

What Google Translate can tell us about vibecoding

https://ingrids.space/posts/what-google-translate-can-tell-us-about-vibecoding/
226•todsacerdoti•19h ago•135 comments

OpenSERDES – Open Hardware Serializer/Deserializer (SerDes) in Verilog

https://github.com/SparcLab/OpenSERDES
58•peter_d_sherman•11h ago•6 comments

Now might be the best time to learn software development

https://substack.com/home/post/p-165655726
276•nathanfig•23h ago•225 comments

Preparation of a neutral nitrogen allotrope hexanitrogen C2h-N6

https://www.nature.com/articles/s41586-025-09032-9
22•bilsbie•2d ago•16 comments

Making 2.5 Flash and 2.5 Pro GA, and introducing Gemini 2.5 Flash-Lite

https://blog.google/products/gemini/gemini-2-5-model-family-expands/
345•meetpateltech•22h ago•199 comments

Proofs Without Words

https://artofproblemsolving.com/wiki/index.php/Proofs_without_words
82•squircle•4d ago•17 comments

Resurrecting a dead torrent tracker and finding 3M peers

https://kianbradley.com/2025/06/15/resurrecting-a-dead-tracker.html
583•k-ian•21h ago•182 comments

Grokking NAT and packet mangling in Linux

https://vivekn.dev/blog/grokking-nat-and-packet-mangling-in-linux
21•viveknathani_•9h ago•9 comments

Why JPEGs still rule the web (2024)

https://spectrum.ieee.org/jpeg-image-format-history
197•purpleko•23h ago•355 comments

Show HN: MediaCMS v6 – open-source video platform with trimmer and RBAC

https://github.com/mediacms-io/mediacms
3•provetza•47m ago•0 comments

LLMs pose an interesting problem for DSL designers

https://kirancodes.me/posts/log-lang-design-llms.html
189•gopiandcode•19h ago•120 comments

Timescale Is Now TigerData

https://www.tigerdata.com/blog/timescale-becomes-tigerdata
146•pbowyer•23h ago•103 comments