MurphyA/hacker-news huggingface dataset:
by VimDrill | 2025-06-22 07:44:54+00:00
I agree، nothing beats using Vim regularly in real work. The issue is that many beginners don't make it that far. They quit before reaching the “aha” moment because they keep forgetting what w, e, gg, or ^ do. VimDrill isn’t trying to replace actual Vim use. It’s like a flight simulator — a safe space to practice specific commands, get instant feedback, and build confidence before (or alongside) using Vim for real. Also, yes — I wrote the site itself using Vim :) That part definitely helped me. Now I want others to get that benefit without having to suffer first.
by rocqua | 2025-06-22 07:46:16+00:00
It is very likely false that Iran had nuclear weapons, or was within weeks of having them. This was also the position of US intelligence, until they were forced by higher-ups to speak different words.

Of course, Iran very much wanted the ability to make a nuke, and they probably could have had one ready in 1 or 2 years. But the proof put forward in defense of this strike is claiming Iran was weeks away from nukes. That proof is dubious.

(Also interesting to consider how US retreat from the nuclear deal under Trump 1 has affected and shaped the current situation)
by dreghgh | 2025-06-22 07:46:58+00:00
I think what you are missing is how vulnerable the United States and its allies are in the region.

There are much much softer targets than Tel Aviv, many of which Iran has successfully attacked in the past.

The argument that the Iranian people hate their autocratic government might be correct. But a symmetric argument can be made about many of the regimes which work with the United States. No one in those countries is going to war with Iran to defend the US right to have military bases in the Middle East.
by dkjaudyeqooe | 2025-06-22 07:49:10+00:00
How is "othering" people going to lead to peace? "Western liberals" aren't stupid or naive, they're just seeking a peaceful solution if possible.

And why are people so willing to believe that military force works? It mostly achieves nothing and leads to more violence.

It didn't work in Afghanistan, Iraq or Ukraine, but it will in Iran?
by seydor | 2025-06-22 07:49:19+00:00
> that worked really well in Libya, Syria, Iraq, Afganistan....

I think that was the plan. Israeli and american and turkish planes are now freely flying over Syria , iraq, (i assume also afghanistan) to conduct attacks. Iran is being set up as theater for long proxy war. The rest of middle east and libya is controlled by turkey & israel which seem to have complementary interests as proxies of the US. At the moment it appears the US/israeli dominance in the whole former Ottoman empire is strong, but inevitably (and quickly) we will see dozens of unconventional wars in the region (what we call terrorism)
by seydor | 2025-06-22 07:51:24+00:00
I think because China has very high growth momentum that surpasses american living standards soon, and not long before it will surpass american security standards too. China purchasing power is probably more comfortable than most west countries, with extensive housing and high speed rail and electric cars etc. When a country becomes rich, inevitably other countries ask for their help. That's why china's growth must be curbed, fast.
by pbhjpbhj | 2025-06-22 07:51:38+00:00
Israel occupies lands belonging to the Biblical patriarch Jacob. That was something like 1800 BCE, two and a half millennia before Mohammed. Islam refers to Jacob, as does the Torah/Old Testament as "Israel".

I find the repeated suggestion that those are Muslim lands because Israel is a new territory to be strange -- it can't be a Quranic position. It doesn't appear consistent with history either.
by margorczynski | 2025-06-22 07:52:26+00:00
> Libya, Syria, Iraq gave up their WMD projects eventually got bombed/attacked.

This is the key. People talk some crazy stories about Iran being a theocratic state whose life mission is destroying Israel but the fact is they don't want to end up like Libya, Syria or any other country Israel considers a threat.

And a reminder - Israel has illegals WMDs, using technology and nuclear material stolen from the US. So thinking Iran will simply nuke Israel because it has that capability is silly - it would mean mutual destruction.
by prox | 2025-06-22 07:52:51+00:00
Then wouldn’t it be best to prop up groups on the inside? Start with providing restricted airspaces to groups who hate the regime, and let them be autonomous regions. That wouldn’t need any boots on the ground.

Say you give the Kurds their own part of Iran and help protect their area could weaken the rest. I think there is already such a deal in in Iraq afaik.
by shakna | 2025-06-22 07:52:53+00:00
Tangent for breaking Python's JSON parser: This has worked for five years. The docs do not say that parsing an invalid piece will result in a RecursionError. They specify JSONDecodeError and UnicodeDecodeError. (There is a RecursionError reference to a key that is off by default - but if its off, we can still raise this...)

#!/bin/sh # Python will hit it's recursion limit # If you supply just 4 less than the recursion limit # I assume this means there's a few objects on the call stack first # Probably: __main__, print, json.loads, and input. n="$(python3 -c 'import math; import sys; sys.stdout.write(str(math.floor(sys.getrecursionlimit() - 4)))')" echo "N: $n" # Obviously invalid, but unparseable without matching pair # JSON's grammar is... Not good at being partially parsed. left="$(yes [ | head -n "$n" | tr -d '\n')" # Rather than exploding with the expected decodeError # This will explode with a RecursionError # Which naturally thrashes the memory cache. echo "$left" | python3 -c 'import json; print(json.loads(input()))'
by Freak_NL | 2025-06-22 07:52:57+00:00
These renders do not make me feel as if I am even considered as a desirable passenger at 200 cm.

The new ÖBB wagons seem much more practical (and currently exist). A normal sleeper train wagon with stacked beds in compartments is fine for me. This origami concept looks claustrophobic, and the sleeping positions seem to allow for no room for the normal movements you make in your sleep, let alone getting out to take a piss or something.
Show HN: I made a screenshot beautifier
by jdsane | 2025-06-22 07:54:12+00:00
I’ve always seen talented designers and developers post their work, only for it to get lost in the noise. I realized a major reason is that they often just post a simple, unstyled screenshot. As a result, nobody pays attention.

My solution is a tool where you can drop in a screenshot, pick from a collection of hand-picked gradients, style it, and export it—all in a few seconds. I’ve carefully designed every element of the app to be efficient, simple, and intuitive.

On making it "Free, Forever": I don't plan on ever charging a subscription for Moocup. I dislike the subscription model as much as you do. Instead, my plan is to include a donation option for those who wish to support the project. This allows me to keep my promise of making the app free and useful for everyone, without being burdened by hosting and maintenance costs.

My goal is simple: to provide a high-quality tool that is genuinely useful and doesn't waste your time. If you find it helpful, the best thing you can do is share it with others. I've included all my contact links for feedback and suggestions.

Happy designing :)
by rocqua | 2025-06-22 07:54:25+00:00
That is a massive oversimplification of the diplomatic failures on many sides here.

You could just as easily say that doing regime change in a country will make them hate you, or that backing out of deals will make things worse, or that Israel can shape US policy at their own whims.

Yes, Iran had a stupid nuclear strategy. But that is only a minor part of this story.
by jjav | 2025-06-22 07:56:19+00:00
> I don’t think this is true in practice. On the whole, I suspect the ordinary user of email is exactly as centralized as the ordinary user of Signal.

Not true, because an open standard will always be superior to a company-owned (and controlled) app.

I run all my own email infrastructure. Many of my friends do. We can communicate without any corporate overlord deciding who can say what.

Signal is a company, one that demands a phone number to use their proprietary service and can shut you out in a nanosecond. No thanks.
by throwaway7839 | 2025-06-22 07:56:25+00:00
Israel is the only country with tiered citizenship.

It is the only country that has constitutional preference for an ethnic group instead of equality of all subjects/citizens.

It is also the only country with automatic citizenship based on religion.

It is also the only country with nuclear weapons but not part of NPT. Even North Korea is a member of NPT.

The myth of Democracy is just that, a myth. It doesn’t work anymore.
by reconnecting | 2025-06-22 07:56:25+00:00
When someone takes clients' private information and shares it with other businesses without providing transparency over this fact, it is actually a breach of privacy. In terms of Signal, these breaches are both about their application and about their website, illustrating a complex issue with privacy in their business organization.

I'm not saying that the app is broken, I said that it handles user privacy unacceptably poorly.
by ivell | 2025-06-22 07:56:27+00:00
> The worst possible outcome for them is Iran proving it has no nuclear weapons at all and having its sanctions lifted.

Circumstantial evidence seems to be that Iran indeed was enriching Uranium beyond what was necessary for electricity. Why would they build enrichment facility deep underground? It is not that Iran is having energy crisis. The claim that Iran is thinking of green energy and climate change effects is a bit weak.
by kikimora | 2025-06-22 07:57:16+00:00
Last time I checked history books said Britain donated land to Jews. At the time Britain took house land there were no state and no nation called Palestinians, just tribes. Since then Palestinians formed as a nation.

So what do you want Israel to do, disappear? Or negotiate, but with whom? The only power there is hamas which is non-negotiable. I really interested in seeing any realistic solution to the problem, however far fetched it is.
by margorczynski | 2025-06-22 07:57:48+00:00
> I'm opposed to guns in every household because we have the police which is meant to give security to people

You're naive. The police (or whatever you call it) is meant for inward force projection of the state. Your security is not the main concern.

Besides the police works too slowly to truly protect you when SHTF. Sometimes even a minute or two is the difference between you being alive or dead.
by ant6n | 2025-06-22 07:57:51+00:00
We considered connecting pods. The orientation „behind“ each other makes interaction difficult.

They way this issue was „resolved“ more less naturally during testing is that the pods all have The same orientation, so pods across the aisle approximately face each other. In our lab we had two iterations of the pods set up to face each other, and tester and testee interacted quite naturally —- once we set up our test rig like that, the questions „what about couples“ reduced a lot, most understood the vis-a-vis intuitively.

Our bigger cabins have two ppl versions, but a lot (if not most) travel is individua anyway, especially if night trains will be used for work travel.
by czhu12 | 2025-06-22 07:58:29+00:00
I could be wrong in the end, but my read is that there really isn't the appetite anywhere near the levels during post 9/11 or cold war to enter a war. Not in the US, and likely not in Iran either.

Its hard to think of a full scale war that was started by the U.S. that didn't have popular approval at the time it was launched.
by vintermann | 2025-06-22 07:59:19+00:00
> He's in charge of the whole thing!

But he may not always have been. In most European mythologies, the thunder god is the most "in charge". In Norse mythology, the thunder god is the son of the chief god instead. My assumption is that Thor was the main god until they syncretistically tried to incorporate new beliefs about "the father and the son" and self-sacrifice on a tree, which even by this super-early mention of Odin, was over 500 years old.
by symbolford | 2025-06-22 07:59:20+00:00
btw, if you want to speed up the build times you should look to use RE API or Goma. it can make a build finish in about 15 to 30 minutes and caches changes to speed things up further once a full build is completed.

https://chromium.googlesource.com/chromium/src/+/main/docs/l...

It seems like gemini 2.5 is pre-trained on chromium given it has a lot of context into the current state of the codebase. That may help a bit.

Also, I've not tried this yet, but maybe using an MCP server over a clangd language server is a solution to the context problem?

https://chromium.googlesource.com/chromium/src/+/master/docs...
by McAlpine5892 | 2025-06-22 07:59:39+00:00
It's not about democracy. If it were, we wouldn't have overthrown countless democratically elected leaders throughout South America during the 20th Century.

Our elected leaders constantly attempt to expand their own power. To maximally punish whistleblowers. Our election system is ran by a duopoly who exerts extreme power over those voicing alternative views and opinions.

About democracy, it is not.

Let's say it was though. What gives us the right to blow other countries off the face of the planet? Are we somehow so much better than everyone else because we believe we're democratic? We don't even rank in the top 10 most democratic countries. We throw more people in jail than China. Per capita AND total overall. We throw more kids in jail than any other first world country [0].

Surely, democracy does not automagically lend to treating people fairly. We have enough problems in our own damn democracy to worry about. Crazy to be starting wars to "help" someone who never asked for it. Forcing violence upon those who never consented is absolutely abhorrent.

[0] https://www.hrw.org/world-report/2016/country-chapters/afric...
by motorest | 2025-06-22 08:00:42+00:00
> Most people in the West seem to believe the removal of democratically elected, pro-Russia President Viktor Yanukovych in Ukraine (...)

You should seriously learn about Yanukovych before making any sort of claim regarding him. He was elected based on an enthusiastically pro-EU and pro-western programme, only to turn out to be a Russian puppet that not only enforced policies completely contrary to his programme but also pushed Ukraine into a dictatorship.

The "popular uprising" you glance over was actually months of demonstrations protesting Yanukovych unilateral rejection of the EU–Ukraine association agreement as ordered by Russia, which he campaigned and was elected for and contrary to Ukraine's parliament overwhelming approval.

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

You're talking about the same Yanukovych who felt compelled to exile in Russia.

> That should show that depending on who is being ousted (...)

Those who favour freedom under democracies are indeed partial against dictators who try to destroy democratic states and deny people's rights, specially if it to serve the interests of other totalitarian regimes.
by littlestymaar | 2025-06-22 08:01:30+00:00
> What they were doing, inching towards nukes, was a horrible move. In their position, you either sprint covertly and not play at all.

You're misunderstanding their position and that's why it seems idiotic to you: they stopped working on building nukes back in 2003, after that date all they did was using the ability to get nukes as a negotiation leverage, that's how they got JPCoA in 2015 and since the US unilaterally left it in 2018 and the rest of the Western world failed to keep it working (that would have required courage to anger the US), Iran was seeking to force a new deal by raising the bar a bit: they announced back in 2022 that they'd enrich up to 60% in order to increase their negotiation leverage, but they didn't go past that stage nor did they work on the militarization tech in the meantime, because they weren't aiming to get the bomb at all.
by seydor | 2025-06-22 08:01:32+00:00
> is also an absurd argument to make.

It's not. the world is not a binary system to make simplistic black/white arguments. Nukes certainly act as deterrent for escalating a war. yes , attacks will exist , but we are not escalating with russia for a reason. you are being pedantic , but the argument for deterrence still stands strong.
by hopelite | 2025-06-22 08:01:50+00:00
You seem to believe “democracy” is some kind of magic spell or something? This “democracy” just perpetrated and are continuing to perpetrate the worst kind of wanton and sadistic genocide in full view of the world and are doing it in high definition and with impunity. America is supposedly also a democracy and we just in fact bombed a place objectively without any provocation, in violation of our own supreme law, and being utterly counter to American interests, because an alien and foreign interest group has a stranglehold on America.

Democracy is not some magic word that justifies things
by rocqua | 2025-06-22 08:01:57+00:00
There's a whole escalation you are forgetting. Iran will retaliate, to which the US wilk respond. That yields a situation where neither side can back out, but neither is putting enough pressure in the other to force them to stop.

The way through seems limited to:

- ground invasion - nuclear annihilation - regime change (no guarantee of success)

If the regime change doesn't work, the options are horrible. And remember that the current Iran regime is the result of a US backed regime change, which allowed radical elements to mobilize hatred against the US.
by schappim | 2025-06-22 08:02:00+00:00
This is great news; remote MCP support should be open and accessible.

For what it’s worth, I’ve been using WitsyAi: it’s fully free, open source, and serves as a universal desktop chat-client (with remote MCP calling). You just need to BYO API keys.

Remote MCPs are close to my heart; I’ve been building a “Heroku for remote MCP tools” over at Ninja[2] to make it easy for people to spin up and share MCP tools without the usual setup headaches.

Lately, I’ve also been helping folks get started with MCP development on Raspberry Pi. If you’re keen to dive in, feel free to reach out [3].

[1] https://witsyai.com

[2] https://ninja.ai

[3] https://calendly.com/schappi/30min
by vanderZwan | 2025-06-22 08:03:40+00:00
> It intends to do for lazy sequences what APL does for arrays: provide very high level functions with pervasive automatic mapping, scanning, and reduction operators.

Does anyone else find this extremely cool from a conceptual point of view, even without the music language context? (very tempted to make an "it's music to my ears" dad joke right now)
by Freak_NL | 2025-06-22 08:03:47+00:00
Sleeper trains are held back by flying getting subsidised heavily by not having kerosene taxed, and national governments giving airports effectively unlimited room to grow; happily externalising the environmental cost. Why take a train if you can fly for a fraction of the cost?

Trains in general are held back by governments not investing in rail infrastructure, because the pork barrel of another motorway link is so hard to resist (and we're not properly maintaining these either).

Sleeper trains are held back, because cross-boundary collaboration between the various semi-national rail companies is tough (for Europe).

Sleeper trains are held back, because there is a lack of modern rolling stock. Not completely new concepts; just up-to-date sleeper wagons (the ÖBB has the leading edge here now with their new wagons).

There is room for improvement in the wagon designs, but it is almost irrelevant in the face of the other challenges.
by nicbou | 2025-06-22 08:04:24+00:00
I run https://allaboutberlin.com since late 2017, and it's my full time job since 2020. I love building small-scale software to support the content and automate small parts of German bureaucracy. I'm currently building a tool to help immigrants choose the right health insurance. It's rewarding work.

Building useful software is less about skills, and more about having an intimate understanding of a specific industry's problems. Some really boring software can be worth millions to the right people.
by Aszame | 2025-06-22 08:04:39+00:00
"due to some reason."

Money. A lot of silent movies were filmed around 16-18 to save on film costs. Also sometimes they'd crank it up or down for dramatic or comedic effect so a film could have a variable frame rate.

Then along came sound with the audio track printed on the side of the film and they had to bump up the basic frame rate to 24 (or 23.9something) which was the lowest they could go without it sounding bad.
by oliwarner | 2025-06-22 08:05:09+00:00
Whose fault is that? The US and Russia have propped and warred every angle to extract as much oil as possible. The instability maintains a heavy flow of refugees into Europe, destabilising the freedoms they have there and pushing the politics further right.

The sudden switch yesterday from "they can't make nukes" to "they're a fortnight away from ICBMs" felt a little too reminiscent of Iraq twenty years ago.

If we want a stable Middle East, we have to stop bombing the shit out of it, and invest. Negotiate fairly for resources. Offer them a future. And demand Israel stop committing war crimes.
by loandbehold | 2025-06-22 08:06:31+00:00
It doesn't matter for Israel weather it's based on religious belief or not. But Iran does frame their opposition in Islamic context in its communication to Iranian people. E.g. Khamenei says things like "fighting Israel to liberate Palestine is an obligation and an Islamic jihad." https://www.rferl.org/a/iran-supreme-leader-israel-cancerous...
by motorest | 2025-06-22 08:06:31+00:00
> That's in the 16th century.

OP's point was "Under the Ottoman Empire it was (relatively) scarcely populated and a mix of Jews, Christians and Muslims, plus some religious minorities."

What are you trying to dispute here? That the territory of today's Israel was sparsely populated back then, or that the Ottoman Empire existed back then?

> Almost no Jews at that time either.

What a wild claim: almost no Jews in places like Jerusalem? Please cite whatever source you have to make such an extraordinary claim.
by Krasnol | 2025-06-22 08:06:36+00:00
> People that like to own their digital music in the Western World are generally not storing the files in mp3.

Sure they do. I know them personally. They don't even know what FLAC is. Buy music on bandcamp, download as mp3. A format known to them since the beginning of the 21st century.

> Where outside the West are you seeing many people that are specifically storing audio files in mp3 (vs just streaming/ storing in a better digital format/storing physical media)?

I feel like the whole former East Block is doing just that. Been to Egypt last year. They share that stuff all over the place.
by musebox35 | 2025-06-22 08:07:38+00:00
From the acknowledgment at the end, I guess the author has access to TPUs through https://sites.research.google/trc/about/

This is not the only way though. TPUs are available to companies operating on GCP as an alternative to GPUs with a different price/performance point. That is another way to get hands-on experience with TPUs.
by dreghgh | 2025-06-22 08:08:18+00:00
Compare military spending by Saudi Arabia, Israel, Egypt and the United States (only Middle East related) with Iranian military spending, over the four decades of Iran's shadow wars with these countries and isolation by much of the rest of the world.

And yet Iranian proxies have repeatedly challenged these powers across the Middle East, in Yemen, Lebanon, Syria, Iraq, Palestine, Sinai, etc. And a lot of Iran's actions have broad support in many other Middle Eastern countries, including strong US allies, those where there are no natural ethnic, religious or linguistic ties to Iran, and where there is prosperity based on peace and the American world order.

Whatever else the Iranian govt are, they are not foreign policy under-hitters or flawed tacticians blinded by dogmatism.