frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Start all of your commands with a comma (2009)

https://rhodesmill.org/brandon/2009/commands-with-comma/
254•theblazehen•2d ago•85 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
26•AlexeyBrin•1h ago•2 comments

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
706•klaussilveira•15h ago•206 comments

The Waymo World Model

https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simula...
969•xnx•21h ago•558 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
68•jesperordrup•6h ago•31 comments

Reinforcement Learning from Human Feedback

https://arxiv.org/abs/2504.12501
7•onurkanbkrc•46m ago•0 comments

Making geo joins faster with H3 indexes

https://floedb.ai/blog/how-we-made-geo-joins-400-faster-with-h3-indexes
135•matheusalmeida•2d ago•35 comments

Where did all the starships go?

https://www.datawrapper.de/blog/science-fiction-decline
45•speckx•4d ago•35 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

https://arcadeblogger.com/2026/02/02/unseen-footage-of-atari-battlezone-cabinet-production/
68•videotopia•4d ago•7 comments

Jeffrey Snover: "Welcome to the Room"

https://www.jsnover.com/blog/2026/02/01/welcome-to-the-room/
39•kaonwarb•3d ago•30 comments

ga68, the GNU Algol 68 Compiler – FOSDEM 2026 [video]

https://fosdem.org/2026/schedule/event/PEXRTN-ga68-intro/
13•matt_d•3d ago•2 comments

What Is Ruliology?

https://writings.stephenwolfram.com/2026/01/what-is-ruliology/
45•helloplanets•4d ago•46 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
239•isitcontent•16h ago•26 comments

Monty: A minimal, secure Python interpreter written in Rust for use by AI

https://github.com/pydantic/monty
237•dmpetrov•16h ago•126 comments

Show HN: I spent 4 years building a UI design tool with only the features I use

https://vecti.com
340•vecti•18h ago•147 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
506•todsacerdoti•23h ago•247 comments

Sheldon Brown's Bicycle Technical Info

https://www.sheldonbrown.com/
389•ostacke•21h ago•98 comments

Show HN: If you lose your memory, how to regain access to your computer?

https://eljojo.github.io/rememory/
303•eljojo•18h ago•188 comments

Microsoft open-sources LiteBox, a security-focused library OS

https://github.com/microsoft/litebox
361•aktau•22h ago•186 comments

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
428•lstoll•22h ago•284 comments

Cross-Region MSK Replication: K2K vs. MirrorMaker2

https://medium.com/lensesio/cross-region-msk-replication-a-comprehensive-performance-comparison-o...
3•andmarios•4d ago•1 comments

PC Floppy Copy Protection: Vault Prolok

https://martypc.blogspot.com/2024/09/pc-floppy-copy-protection-vault-prolok.html
71•kmm•5d ago•10 comments

Was Benoit Mandelbrot a hedgehog or a fox?

https://arxiv.org/abs/2602.01122
23•bikenaga•3d ago•11 comments

Dark Alley Mathematics

https://blog.szczepan.org/blog/three-points/
96•quibono•4d ago•22 comments

The AI boom is causing shortages everywhere else

https://www.washingtonpost.com/technology/2026/02/07/ai-spending-economy-shortages/
26•1vuio0pswjnm7•2h ago•17 comments

How to effectively write quality code with AI

https://heidenstedt.org/posts/2026/how-to-effectively-write-quality-code-with-ai/
271•i5heu•18h ago•219 comments

Delimited Continuations vs. Lwt for Threads

https://mirageos.org/blog/delimcc-vs-lwt
34•romes•4d ago•3 comments

I now assume that all ads on Apple news are scams

https://kirkville.com/i-now-assume-that-all-ads-on-apple-news-are-scams/
1079•cdrnsf•1d ago•461 comments

Introducing the Developer Knowledge API and MCP Server

https://developers.googleblog.com/introducing-the-developer-knowledge-api-and-mcp-server/
64•gfortaine•13h ago•30 comments

Understanding Neural Network, Visually

https://visualrambling.space/neural-network/
306•surprisetalk•3d ago•44 comments
Open in hackernews

Iran faces unprecedented drought as water crisis hits Tehran

https://www.bbc.com/news/articles/cy4p2yzmem0o
81•FridayoLeary•2mo ago

Comments

toomuchtodo•2mo ago
https://en.wikipedia.org/wiki/Tehran_water_shortage
pinewurst•2mo ago
"These (IRGC and government) privileged neighborhoods maintain numerous private swimming pools and spacious green spaces."
gulfofamerica•2mo ago
Well, the people aren't going to oppress themselves.
rayiner•2mo ago
I find Iran to be a truly baffling civilization. Iranians are so educated and orderly, but the country punches so below its weight class in terms of prosperity.
jeromegv•2mo ago
Sanctions surely aren’t helping
pinewurst•2mo ago
Theocracy surely isn't helping
bawolff•2mo ago
The situation the article is about seems more to do with corruption and mismanagement than sanctions.
elcritch•2mo ago
It's hard to manage a water supply and economy in Tehran when your top minds are busy running proxy wars in Lebanon and Iraq and funding or supporting ones in Syria, Yemen, and Gaza [1, 2].

It's sad to such a great people subjugated by their government.

1: https://www.cfr.org/article/irans-regional-armed-network 2: https://www.unitedagainstnucleariran.com/proxy-wars/map

orbital-decay•2mo ago
Dams blocking the inflow to Lake Urmia that almost dried up nowadays were built by the Shah, for example. Man-made environmental damage and corruption aren't new by any measure, as well as unstable water levels and shortages in arid zones. See e.g. Aral Sea which fluctuated in the range of dozens of meters over centuries before finally drying up, which was enough to establish and subsequently abandon multiple settlements on the lake bed during the Mongol Empire.
elcritch•2mo ago
True, but water desalination plants also exist and Iran has plenty of oil to power them.
bikeshaving•2mo ago
Geographically speaking, over 80% of Iran’s land is classified as arid or semi-arid, and it is likely to face over 5°C of warming by the end of the century: the impacts of climate change will likely be more severe in Iran than the regional average. The region suffers from extreme weather including both droughts and flooding, seismic activity in the form tectonic uplift, particularly near the Makran coast, and constant attacks: economic attack by sanction, cyber attack on energy infrastructure, and lately even kinetic attack from neighbors. The fact that the regime hasn’t collapsed is a testament to Persian, Iranian and Islamic culture, and I hope its people find ways to prosper when the deck is so stacked against them.
xenospn•2mo ago
Almost everything you’ve described, except for natural disasters, is an own goal. There’s literally no need for the country to be poor and on the brink of collapse. They are doing it to themselves.
shadyKeystrokes•2mo ago
On the fruits of their hands labor you shall know them..
maest•2mo ago
There may have been some external meddling from a certain international superpower.
rayiner•2mo ago
Iran isn’t a breadbasket exactly, but it has more arable land per person than Germany, Italy, the UK, or Ireland. And vastly more than Japan. It’s relatively temperate now—future warming doesn’t explain its current situation. On top of all that, it has oil! In 1980, just after the revolution, Iran had a PPP GDP per capita above Taiwan, China, and South Korea. And only modestly behind Poland. Today those countries are far ahead. Same for Thailand, Malaysia, and Turkey.

The economic sanctions are a symptom not the cause.

alephnerd•2mo ago
Not just PPP.

It's nominal GDP per capita was above Taiwan, Turkiye, South Korea, and all of Eastern Europe.

If the stuff that happened to Iran in our timeline didn't happened in the 1980s-2000s, it probably could have seen an economic boom comparable to what SK and Taiwan saw in the 1990s - especially becuase the leadership in 1980s South Korea and Taiwan were equally as authoritarian as that in Iran back then.

Other similar losers from that era were the DRC, Syria (before the civil war it was roughly on par with Turkiye), the Ivory Coast (it was France's premier financial hub in Franafrique before the civil war), and Pakistan (it's GDP per capita was significantly above China's until the 1990s, and Pakistani advisors helped industrialize significant portions of the Gulf).

rayiner•2mo ago
All good points.
cm2012•2mo ago
"economic attack by sanction, cyber attack on energy infrastructure, and lately even kinetic attack from neighbors."

They could just stop being at war with Israel any time, it is a pointless choice.

FridayoLeary•2mo ago
I completely agree with you. We who wish well on Iranians can only hope the situation is speedily rectified and the regime will finally fall, ending the oppression, want, war and poverty they have inflicted on so many millions of people both within and without their borders.

In the meantime i hope it rains.

FridayoLeary•2mo ago
I wonder what happened...

It is a crying shame and the Iranians deserve better. At the moment 16 million people may find themselves without water in the near future. I'm lost for words.

If one positive thing could be found in this situation it might finally be the thing that brings down the regime. I think it's fair to say this year has been an annus horribilis for them.

jojobas•2mo ago
It's all British/American fault. /s
shadyKeystrokes•2mo ago
Dont forget the mighty CIA.. so mighty they couldn't even stop trump from ruining it for the military industrial conplex with isolationism. Anything to prevent the realization that left policies are and where rejected by the people.. if you start introspection, the movement immolates.
mhb•2mo ago
I suspect that the IRGC will be the last ones with empty canteens.
FridayoLeary•2mo ago
They will still be empty eventually. It might still become a stable situation though. If you look at pictures from North Korea the only person who doesn't look malnourished is Kim Jong Un. Otoh water is different from food. Also it's the middle east. They might have to cut back on their aggression but their antagonists (who by now is literally everyone) won't.
Blackthorn•2mo ago
Gee, I wonder what possibly could have happened over the last 50 or so years that might have damaged their prosperity.
UltraSane•2mo ago
The incredibly incompetent theocracy irrationally obsessed with destroying Israel?
mattmaroon•2mo ago
Their government spends itself into poverty fighting proxy wars against Israel both directly and indirectly through sanctions. It’s a theocracy so economics is not the most important thing to their leaders.
bamboozled•2mo ago
They are governed by Islamic fundamentalists ?
culi•2mo ago
Well it's the most heavily sanctioned country on earth...
samrus•2mo ago
Sanctions will do that. Both soft and hard
anonnon•2mo ago
> truly baffling

It's an Islamic theocracy with nuclear as well as regional hegemonic ambitions; what about the corresponding impoverishment of its citizens is "baffling" to you?

hearsathought•2mo ago
There is nothing baffling about it. When the world's superpower targets you for destruction, it's impossible to prosper. What's baffling is how long they've been able to persevere.

Imagine if the US targeted germany or japan or saudi arabia for destruction. They'd be in far worse situation than iran.

yubblegum•2mo ago
Nothing baffling about it. Religion was used by a clerical class to marshall the lumpen masses with promises of free handouts in this world and paradise in the next. Their own thinking set (of the ruling clique) are bound by ideology - whether as matter of actual belief or means of governance - so they do not make any decisions based on national interest or reason. It is the ideology that does the 'thinking'.

(Sounds familiar? Warning bells for other locals, maybe? ..)

Most educated Iranians you know, btw, are (drum roll) in diaspora, for good reasons.

Arubis•2mo ago
I cannot imagine the logistical nightmare of evacuating a metro area with 16 million people. Where do they go? Where has sufficient water to slake the thirst of that many?
bobthepanda•2mo ago
it would be one of the largest sudden migrations of people in history.

to put this in perspective, 13M people fled during the Syrian Civil War. 5.7M people fled Ukraine. The evacuation of New Orleans for Hurricane Katrina was 1.2M people.

elcritch•2mo ago
Never under estimate China. AP News says China expected 270M cross region trips during the Chinese new year this year. Likely with millions out of Beijing alone by itself for this yearly event over 2 weeks.
dyauspitr•2mo ago
500 million people travel to varanasi in India for the Kumbh Mela.
bobthepanda•2mo ago
That's not really permanent displacement though. A refugee crisis due to water scarcity looks a lot different than going home for a known major holiday for a set amount of time.
logankeenan•2mo ago
The BBC article spelled the dam's name wrong in their interactive image. It's Latyan Dam if anyone else wanted to look up more on it.

https://en.wikipedia.org/wiki/Latyan_Dam https://maps.app.goo.gl/UzQrPMR4iHRdbsuP7

Edit: TIL there can be different translations/spellings of Persian to English

decimalenough•2mo ago
Well, the actual spelling is لتيان, so it comes down to how you choose to romanize it.
logankeenan•2mo ago
I had no idea Romanization of Perian was a thing. Thanks for sharing!

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

notepad0x90•2mo ago
Iran isn't that far from the Caspian. Is it not possible to develop a desalination plant?

Nearby Israel has desalination plants that seem to be working out well.

ceejayoz•2mo ago
In a year, with massive sanctions, for this many people? No. Not a chance.
bawolff•2mo ago
Not in the course of the next few weeks.

This situation was avoidable but it required investment years ago. Kind of too late now.

notepad0x90•2mo ago
Better late than never? What are other options? Abandon Teheran?
saguntum•2mo ago
The linked article states that their president has suggested that evacuations may be necessary if rationing isn't effective. I was a little shocked when I read this suggestion from another source, but public figures are talking about it.
jojobas•2mo ago
Pipes to quench a 10-million city through 100 kms of mountains (140km by road), going up 2 kms from the sea level? That's more than Israel's max distance from the sea (and it's mostly flat).
FridayoLeary•2mo ago
I'm ignorant but aren't oil pipelines much longer? They don't need to traverse mountain ranges but still. Either way i can't imagine such a project would be possible in an emergency time scale without the combined assistance of the US, Israel (desalination experts) and China. i know absolutely nothing about these things, so i don't know if it's even theoretically possible with their help.
jojobas•2mo ago
Apparently the highest oil pipeline throughput (Druzhba) is 1.4 million barrels per day, which amounts to some 2000 liters per second. That would be 20 liters/person/day - kinda maybe enough to move the needle, but not quite. Building this sort of pipeline today is about $1-2M per km on flat land. I'm not aware of comparable pipelines in the mountains.

Then, desalination requires energy, and Iran already faces blackouts here and there, there just isn't much spare capacity.

rzerowan•2mo ago
I think on a similar scale would be the Chinese South–North Water Transfer Project , which has taken several decades to eventually move 44.8 cubic km of fresh water via canls/aqueducts etc through some mountanious terrain.

Or the undground Great Man-Made River Project of Libya moving 6.5 million cubic meters over 2,820 km.

Main issue ther though is the first is from already present freshwater sources and the latter from underground aquifers. With both having been done over multilpe decades to reach that capacity. Finding the water to move would be the main challenge, een though the Caspian is less saline than ocean water - there are probably water usage agreemets with the neighbourign countries preventing a massive undertaking of such size.

dzhiurgis•2mo ago
> 2000 liters per second

Some people will try to blame EVs for environmental damage when we have this monstrosity.

jojobas•2mo ago
EVs are charged to a degree by Russian natural gas fed by another pipeline (13% or EU gas now).
ImJamal•2mo ago
> That would be 20 liters/person/day - kinda maybe enough to move the needle, but not quite.

That is enough for drinking and probably enough for cooking which should be the priority in a situation like this.

throwup238•2mo ago
The California State Water Project [1] pumps water for over 25 million people across 1,100 kilometers over 1.5km of mountains. It's possible, but that said, the CSWP is one of the largest civil engineering projects in human history and the largest single user of electricity in the state so it's no small feat.

[1] https://en.wikipedia.org/wiki/California_State_Water_Project

shadyKeystrokes•2mo ago
Israel is not stuck in the death cult mentality, whe life is but a trainstation to the afterlifr and investments into the living are seen as wasteful. Teheran will not wither "inshallsh"
hearsathought•2mo ago
Iran doesn't get unlimited funding from the US like israel does. Iran is also under US sanctions while israel is not.
mensetmanusman•2mo ago
Is their geography able to emulate what Africa has done with off grid pumps?
tguvot•2mo ago
they pumped out all aquifer. there are parts of city that sink at rate of 10" per year
anonymousiam•2mo ago
Perhaps if they had put more resources toward maintaining their water infrastructure instead of spending on their nuclear arms ambitions, funding Hezbollah, Hamas, Houthis, etc., they might not have had this problem.
FpUser•2mo ago
You gonna say the same about the consequence of events like Hurricane Katrina? Couple of less nukes, military contracts or whatever and you could have prevented the disaster.
anonymousiam•2mo ago
How do you prevent a hurricane? The failures of responding to the disaster were all at the state/local level.
drewbeck•2mo ago
The failures were not all at the state/local level. The feds also had many issues.

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

FpUser•2mo ago
You do not prevent hurricane. But you can prevent fucked up dams, corralling people in stadiums etc. etc.

Anyways my point was not really about hurricane.

BobaFloutist•2mo ago
I mean yeah, the response to Hurricane Katrina was pretty widely panned.
droopyEyelids•2mo ago
You can trace all their problems back to the 1979 Islamic revolution. If they would have simply kept the Shah as the ruler and stayed a client state to Britain, they wouldn't need to fund any of these militants, and would probably be a friend to western countries.
FpUser•2mo ago
And if my ancient ancestor did not kill that fly we will be travelling to stars now. And why ffs one country should obey the other?
dyauspitr•2mo ago
So what you’re saying is if they stayed quiet and supplicant to the British while they drained their oil resources while the extreme elites made all the money, everything would be okay? The Islamic revolution was a populist revolution, supported by the vast majority of the country because their lives were shit.
bawolff•2mo ago
Its been 46 years, there have been opportunities for peace along the way if they wanted it. It would have required compromises though.

Iran's not war not peace policy is an expensive one, both directly and indirectly (e.g. turning them into a parriah state). In the end it seems like its also been largely ineffective. Instead of keeping them out of war, proxies like Hamas ended up drawing them into one, and it ended up being a pretty one sided war not in their favour. Although i suppose prior to that point it was yielding geopolitical gains.

panick21_•2mo ago
Iran in 1970s certainty wasn't a British client state, that's a dumb fucking claim. If anything they were a US client, not a British one. And even the claim that they were an US client is pretty weak. They were a pretty strong regional power back then and while they were clearly allied with the US, they had their own politics and strategies.

Analysis that looks at countries like Iran simply as tools of Superpowers is reductive Cold War area analysis that has gigantic blind spots.

skinnymuch•2mo ago
They should bend the knee to white and western supremacy? Weird.
drewbeck•2mo ago
Governments like all institutions are able to do many things at once. Connecting their water problems to the issues you list is essentially a non sequitur absent specific evidence of either/or policy choices.
bawolff•2mo ago
Governments have finite amounts of money. Both of these things (water infrastructure and fighting proxy wars) are capital intensive projects. Its reasonable to conclude less money spent on one would allow more money spent on another.

Even without that factor, Attention does matter. Governments can do multiple things, but in more dictatorial regimes, doing things well often require prioritization at the top, and there is a limited number of things the top can prioritize. Its one of the main failings of dictatorships in general: the top is afraid to appoint too competent middle management lest they rise up, so everything becomes very top down managed.

Additionally some of the issues causing this seem to be related to corruption in their military, like diverting water in unsustainable ways to support farming projects that have ties to people well connected to irgc. (To be fair, i dont know how true that is, i dont have a good source for that)

ivell•2mo ago
Being friendly to other nations have benefits such as easy access to latest technology that could help solving the problems.
Steven420•2mo ago
The US has no ambitions of being friendly with Iran as they are a reason to keep profits rolling in for war profiteers
nandomrumber•2mo ago
On the other hand, one cost effective way of desalinating sea water is to use the waste heat from a nuclear power station.
harvey9•2mo ago
Which is orthogonal to a point about weapons production.
panick21_•2mo ago
They spend quite a bit on water infrastructure, they just spend on the wrong water infrastructure. Just saying 'look at these other things government' isn't productive and applies to all things governments does. Spending more money isn't the solution if you spend on the wrong thing.
skinnymuch•2mo ago
Maybe if the west stopped being global terrorists, anti-imperialists wouldn’t have to work against them so much.
mylons•2mo ago
iran did this to themselves. any other view is simply insane.
pkaye•2mo ago
FYI there is an 2 year old Asianometry video on this topic.

https://www.youtube.com/watch?v=aaEhNTpvEN8

belviewreview•2mo ago
One of the reasons that Iran's regime has failed to prepare for global climate is that fundamental Islam rejects modern science because it instead supports supernaturalism in many areas.
yreew•2mo ago
I bet they fuel their missiles with praying power too!