MurphyA/hacker-news huggingface dataset:
by scuol | 2025-06-22 05:22:18+00:00
At least for C++, I try to use copilot only for generating testing and writing ancillary scripts. tbh it's only through hard-won lessons and epic misunderstandings and screw-ups that I've built a mental model that I can use to check and verify what it's attempting to do.

As much as I am definitely more productive when it comes to some dumb "JSON plumbing" feature of just adding a field to some protobuf, shuffling around some data, etc, I still can't quite trust it to not make a very subtle mistake or have it generate code that is in the same style of the current codebase (even using the system prompt to tell it as such). I've had it make such obvious mistakes that it doubles down on (either pushing back or not realizing in the first place) before I practically scream at it in the chat and then it says "oopsie haha my bad", e.g.

```c++

class Foo

{

int x_{};

public:

bool operator==(Foo const& other) const noexcept { return x_ == x_; // <- what about other.x_? }

};

```

I just don't know at this point how to get it (Gemini or Claude or any of the GPT) to actually not drop the same subtle mistakes that are very easy to miss in the prolific amount of code it tends to write.

That said, saying "cover this new feature with a comprehensive test suite" saves me from having to go through the verbose gtest setup, which I'm thoroughly grateful for.
by mjx0 | 2025-06-22 05:22:23+00:00
> Taking something without paying for it is theft.

You keep using the word "theft". Let's grab the definition of "theft" from a legal dictionary:

> Theft is the taking of another person's personal property with the intent of depriving that person of the use of their property. Also referred to as larceny.

The intent of depriving another of their property is a key element of theft. When one receives a copy of data, no one is deprived of their property. It's substantially similar to how I can not steal your car by taking a photo of it.

Not only that, but the typical intellectual property industry nonsense of referring to unauthorized copying as "theft" does not apply. Google, who have acquired a right to distribute this data, are serving it to you.

> You can get into whatever legalize [sic] you want but that doesn’t change the fact that you are doing what the vast majority of people recognize as the common definition of theft.

The legalese matters because it's the best way we've come up with to consistently reason about topics like this regardless of shared values.

There is no theft happening in the case of blocking ads.

Your claim about "the vast majority of people" is patently absurd -- because you have not provided and almost certainly do not possess any evidence to substantiate it -- and lacks a basis in fact. Regardless, we do not reason about these things based on the fluctuating opinion of the masses. There is no case in which blocking ads meets "the common definition of theft".
by ant6n | 2025-06-22 05:22:26+00:00
15g/km is very low. The number is dominated by energy mix and infrastructure. Deutsche Bahn publishes lower number, but they only look at operation (not infrastructure), and assume „green energy“ rather than the energy mix of the country.

The 15g is a good estimate, see discussion here: https://back-on-track.eu/de/klimawirkung-von-nachtzuegen-neu...
by 1659447091 | 2025-06-22 05:22:27+00:00
Sure, but so can foreign Intelligence that the America First Trump team decided was way better than US Intelligence that tax payers are paying obscene amounts for. So, I guess we just pick which ever one fits what we find more important to listen to.

This stinks of Iraq & WMD. Which the U.S. Intelligence made drastic changes to prevent happening again.

Only now we were on the side of saying there is no proof it was actively being worked on, and the person/state with "proof" also happens to be the state that has been bitterly opposed to Iran and started launching unprovoked missiles. That state also knows how to get what it wants from this administration and suddenly we go from, there is no proof they are doing nefarious things with their program, to they are about nuke us all if we don't do something; all in a matter of weeks.
by BLKNSLVR | 2025-06-22 05:22:44+00:00
Strangely (maybe), the US seems to be vassal to Israel.

The extent to which condemning something approaching genocide is accused of being an anti-semitic position is... telling.

Not to say that there aren't ridiculous levels of complexity to the whole situation, but the pendulum is being held very far to one side by the king.
by throwaway290 | 2025-06-22 05:22:53+00:00
> On April 26, Ben-Gurion sent a letter to Kennedy warning about the forthcoming destruction of Israel due to the Treaty of Federation signed by Egypt, Syria and Iraq on April 17.

then later

> The most ominous part of Ben-Gurion’s letter was when he wrote: “Mr. President, my people have the right to exist – both in Israel and wherever they may live, and this existence is in danger.”

This article is funny. This is set in 1960. 10 years after Israel was attacked by an Arab coalition and 10 years before Israel was attacked AGAIN by guess who, an Arab coalition.

What do you expect, that president of a country lets it to be destroyed to later tell people like you "see, told ya"? Time doesn't allow you to go back. You can hate war but in this case it just seems like if they had no nukes they would be destroyed long ago by neighboring countries.

About 4chan link, Techchrunch basically sums it up:

> One 4chan janitor who spoke to TechCrunch on the condition of anonymity said they are “confident” the leaked data and screenshots are “all real”.

Yeah totally real. because 4chan was hacked by a competitor we can be sure there was nothing planted in the dump. And because the guy who posted the screenshot limits replies we can be sure it is doubly real.

Thinking how much antisemitism there was on 4chan I can only shrug.
by bawolff | 2025-06-22 05:24:15+00:00
I meant my response specificly in the context of the post i was responding to - namely that Israel was tracking some high level officials and then bombing the building they were in - which is what i assume the parent was claiming was a war crime.

Other actions in this conflict of course could be crimes and require appropriate analysis.

> Since Israel started the war without authorization being the security council, it's legally the aggressor. Which means the actions in of themselves are crimes, regardless of where they are conducted.

I disagree with the way you phrased this. The analysis of if the use of force is legal in general should be separate from if individual actions are war crimes. See https://www.icrc.org/en/law-and-policy/jus-ad-bellum-and-jus... which emphasizes that jus ad bellum is separate from jus in bello.

Israel is probably going to claim self-defense here (you do not need UNSC permission for a defensive war). The claim is probably pretty far-fetched unless there is some bombshell evidence we are not privy to, as the threat does not seem imminent the way self-defense normally requires.

OTOH - the last time anyone cared about the crime of agression was germany in WW2 (although there are some voices about ukraine & russia). People tend to care much more about war crimes than crimes of aggression.

> Israel has hit hospitals in Tehran

I'm not aware of this allegation. I did hear an allegation from Iran about a hospital in Kermanshah. Regardless, if it is true, it would indeed probably be a war crime. (Generally speaking. Details do matter in these sorts of things)

> And condos

I think the analysis of this would require knowing what specificly was targeted. Generally of course, civilian housing is not an acceptable target, but if for example,it was housing for senior military leadership, that might change things.

> Now, one could object and say that Israel has to commit war crimes because it's so endangered.

If by war crime you mean commit "agression" (to be clear, the crime of agression is not a war crime. These are two separate categories of crimes), this would be an argument that the act is not "agression", since defensive wars are allowed to be done without UNSC approval. You only need UNSC approval if you are not facing an imininent threat.

> Who on the security council would vote against Israel if the threat was remotely real?

Security council is largely about geopolitics, and russia & iran are allies.
by an_guy | 2025-06-22 05:24:53+00:00
> The pro-Israel lobby has spent roughly 10-15M per year... This is hardly enough to offset the billions of dollars spent in U.S. politics

Those $10-15 mil are given to politicians and the billions are spent from US tax payers money.

> For this to be true it would also require Israel to "buy" presidents who acted against Israel's interests

You might want to look into campaign contributions made by AIPAC and similar isreli institutions to these presidents.

> Most (75-90%) of U.S. Federal military aid to Israel is contingent on Israel buying from American companies.

Which effectively makes these weapons free for Israel. US is literally funding Israeli army.
by bruce511 | 2025-06-22 05:25:10+00:00
When traveling I often consider trains, and especially overnight trains. It's by far the most comfortable way to travel. Innovation in this space is a good thing.

While I'm aware that feature creepy is the enemy here, I would suggest a way to "combine " two pods for those traveling as a couple. If I'm traveling with my wife we don't want to be in "separate pods".

A retractable "wall" between 2 pods would be fine. It doesn't have to be elaborate, but you wanna point to something outside and say 'look at that' etc.
by pierrec | 2025-06-22 05:25:20+00:00
Neat, I've been meaning to check out this language! I believe it's been in the works for a long time, but only recently published. The syntax may seem esoteric at first, but it turns out the concatenative approach is uniquely suited to creative audio DSP. It's fairly simple once you get the basic idea.

The author probably hasn't tried them (otherwise they would be in the Readme), but there are actually a couple of existing Forth-like audio languages. Quite the niche. I'm one of the most avid users of one such language called Sporth, for which I made an online live playground at https://audiomasher.org/

The Sporth author created multiple stack-based audio languages and I haven't even kept up with all of it. He has some interesting projects at https://git.sr.ht/~pbatch/

In any case, sapf looks very carefully designed, and the addition of functional elements inspired by APL seems like it complements the stack approach very well. And the examples actually sound good to my ears, which isn't a requirement but generally a good sign. I'm tempted to get cracking on a WASM build right away...
by const_cast | 2025-06-22 05:25:40+00:00
Stupid people being back by other people doesn't mean they aren't stupid. It actually means the contrary - there's more stupid people than we previously thought...

I'm being a bit mean I suppose, it's not actually stupidity. It's naivety and fierce propaganda campaigns. Everyone longs for a simpler time and the domestic economic struggles of the US are plain.
by jmward01 | 2025-06-22 05:25:56+00:00
I don't believe in fair. I do however believe that maybe we can learn and change and expect our leadership to do the same. Cooperation and diplomacy lead to far higher long term returns than might makes right as we have seen time and time again. What we are seeing now however is a policy of maximizing the minimum which will force others to do the same and leads to everyone, including the US, being far worse off.
by zzo38computer | 2025-06-22 05:26:16+00:00
> If there is no free will, then all arguments about what should be done are irrelevant, since every outcome is either predetermined or random, so you have no influence on whether the project at work will choose Rust or C++.

This is not correct. Whether or not you have free will, stuff influences and is influenced by other stuff, so these arguments are not meaningless or worthless.

> This choice was either made 13 billion years ago at the Big Bang, or it is an entirely random process.

I had thought of this before, and what I had decided is that both of these are also independent of having free will. For example, if the initial state includes unknown and uncomputable transcendental numbers which can somehow "encode" free will and then the working of physics is deterministic, then it is still possible (although not necessarily mandatory) to have free will, even though it is deterministic.
Made an interactive Vim practice tool to retain commands – looking for feedback
by VimDrill | 2025-06-22 05:26:24+00:00
Hey everyone, I’ve been learning Vim recently and struggling with retaining some of the motions and commands — I realized I needed a way to practice actively, not just read tutorials. So I built a little web-based trainer for myself with short lessons and interactive drills. It gives immediate feedback and lets you repeat commands until they stick. The idea is to make it feel like learning to type: small, repetitive practice sessions that build muscle memory over time. Would love any feedback — especially from others who struggled with Vim at the beginning. What helped you most? What would you add or change? (Free to try — I can drop the link in a comment if that’s allowed.)
by ant6n | 2025-06-22 05:27:49+00:00
You yourself mention the trade off — the „sardine class“ is a six-people per cabin couchette (60 ppl per railcar). The private class is luxury (10-17 cabins per railcar).

We got 65 private pods or close to 40 little single cabins - in a refurbished railcar. In a new car it would be more.

We put together some explanation of the economics and the difference between old and new cars: https://luna-rail.com/approach
by nothrabannosir | 2025-06-22 05:27:59+00:00
Yes brother you are technically correct about that substring of that comment. “Weapons-grade” was indeed not 100% accurate and therefore, technically , inaccurate. That is true, you are right.

That same comment also said, even led with “flies in the face of”. That was the most important part of the comment: ‘saying that Iran is enriching weapons-grade uranium “flies in the face of” intelligence reports which reported no weapons-grade uranium.’ But that part was not correct: the difference between Iran’s uranium (60% enriched) and weapons-grade uranium, while >0, is not large enough to characterize that assessment “flying in the face of”.

So yes if you focus on that substring of the comment you are right. But why would you? It’s not the point of the comment.

Which makes it nit picking. Which is why you’re getting so much pushback.
by YZF | 2025-06-22 05:29:13+00:00
I don't think we have a historical precedence to what is happening here. The closest would be Israel's attack on Hezbollah which literally collapsed and led to the collapse of the Syrian regime as well.

The Iranian regime is very centralized and with Israel and the USA having air superiority and having penetrated it completely from an intelligence perspective (see Israel's perfect knowledge of the whereabouts of the previous chief of staff and the newly appointed chief of staff) it's going to be very hard for it to survive if a decision is made to remove it. There are a handful of key people that once gone there is not going to be any continuity.

The current regime is allowed to continue because of fear of chaos if it is removed, not because there isn't a capability to remove it.
by throw72838474 | 2025-06-22 05:29:21+00:00
Trump thinks regime change will happen instantly and easily. Maybe he has secret source front NSA and CIA, who track private messages of Iranians! 60% of Iranians are secret christians. 38% are closeted gays!

A few bombs, everyone comes out of closet, unconditional surrender, democracy, live happily ever after... Sounds like American movie...
by raybb | 2025-06-22 05:29:47+00:00
I gotta say I love this? Are you in contact at all with the folks advocating for more night trains across the EU https://back-on-track.eu/ ? Seems like it could be pretty mission aligned.

Btw I run a weekly newsletter about urbanism and while your trains may not be exactly related I think it's cool enough that we'll feature it in the upcoming week! https://urbanismnow.substack.com/
by davejagoda | 2025-06-22 05:30:21+00:00
Dwight Eisenhower had a different view (from The White House Years: Mandate for Change: 1953-1956: A Personal Account (New York: Doubleday, 1963), pp. 312-313):

The incident took place in 1945 when Secretary of War Stimson, visiting my headquarters in Germany, informed me that our government was preparing to drop an atomic bomb on Japan. I was one of those who felt that there were a number of cogent reasons to question the wisdom of such an act. The Secretary, upon giving me the news of the successful bomb test in New Mexico, and of the plan for using it, asked for my reaction, apparently expecting a vigorous assent.

During his recitation of the relevant facts, I had been conscious of a feeling of depression and so I voiced to him my grave misgivings, first on the basis of my belief that Japan was already defeated and that dropping the bomb was completely unnecessary, and secondly because I thought that our country should avoid shocking world opinion by the use of a weapon whose employment was, I thought, no longer mandatory as a measure to save American lives. It was my belief that Japan was, at that very moment, seeking some way to surrender with a minimum loss of “face.” The Secretary was deeply perturbed by my attitude, almost angrily refuting the reasons I gave for my quick conclusions.
by twelve40 | 2025-06-22 05:31:02+00:00
I don't think it's going through Afghanistan. It's probably just re-using Soviet railroads. But it is going through Turkmenistan, which is one of the craziest insane and most bizarre and unpredictable places one can think of, and Uzbekistan, which used to happily host US troops in Khanabad. Just a matter of some cash and some threats of sanctions with either one of those two.
by simonh | 2025-06-22 05:31:25+00:00
It's tricky. Arming a country or group than then launches an attack, or uses those weapons in a war, doesn't make you a participant in that conflict. This is why Europe and the US can supply weapons to Ukraine without being participants in a conflict with Russia.

However Iran has the stated intention of destroying the state of Israel, and actively incites it's proxies to attack Israel, and this could be seen as a valid justification for taking action. Not a lawyer though.
by yorwba | 2025-06-22 05:31:52+00:00
> You don’t need all the status quo bias of null hypothesis testing.

You don't have to make the status quo be the null hypothesis. If you make a change, you probably already think that your change is better or at least neutral, so make that the null. If you get a strong signal that your change is actually worse, rejecting the null, revert the change.

Not "only keep changes that are clearly good" but "don't keep changes that are clearly bad."
by cakealert | 2025-06-22 05:32:51+00:00
Iran never had the deterrent North Korea had. And by being a theocracy they heavily skewed any threat calculus against themselves.

What they were doing, inching towards nukes, was a horrible move. In their position, you either sprint covertly and not play at all.

I suspect that after their nuclear program was discovered and set back they fell victim to the sunk cost fallacy and convinced themselves they could repurpose it as leverage. But they are a theocratic regime and their messaging (whether genuine or not) made that a non-viable option in reality.

This is probably what happens when your government isn't very competent and you don't have mathematicians doing game theoretic simulations for you? Theocracy with nukes screams nuke them first if you can't destroy their capability by other means. What happened today likely saved millions of Iranian lives.
by cryptonector | 2025-06-22 05:32:55+00:00
> Do you think Iran will have nukes in the near (20 years, just to put a number) term?

If they managed to get enough of their HEU and any reactor spent fuel out of Fordo and elsewhere into locations we don't know about where they happen to have previously built backup facilities then they could have them very quickly. Hopefully a) they didn't build backup facilities, and b) didn't get a change to spirit away the materials w/o us noticing.
by gorgoiler | 2025-06-22 05:33:01+00:00
As I understand it, conventional explosives derive their destructive force from using chemical energy to vaporize material so quickly that it explodes forming a destructive shockwave.

With a kinetic energy impacted like the MOP bunker buster, does the material vaporize ahead of the munitions? Is the destructive shockwave the munition casing itself, or perhaps the vaporized breccia being pushed in front of it?

In some ways I imagine it like a nail being driven into the ground but my gut feeling is that, at such high impact energies, something more complicated is going on. For example, with small calibre ballistics you can have many kinds of terminal action: from square edged paper cutting rounds used to make clean holes in targets, to subsonic rounds transferring energy into a target, all the way up to supersonic rounds which drive a shock cone through a “soft” target to cause trauma.
by bruce511 | 2025-06-22 05:33:26+00:00
Clearly different markets have quite different requirements and comparisons to air travel.

For example a "night train" maxes out around 12 hours. A train from 6pm to 6am is functionally equivalent to a 8pm flight, arriving at midnight, checking into a hotel, getting some sleep etc.

How far you can go in that 12 hours (give or take) depends on the speed of the train etc. In Europe you can go to a lot of places in 12 hours. In the US not so much.

Much longer and other factors come into play. You have to balance the time cost of "getting there" to the time benefit of "being there".

But thats OK. This solution doesn't have to work everywhere. It can start where it works well and grows from there.
by necklesspen | 2025-06-22 05:34:41+00:00
It didn't literally cause a regime change but the NATO bombing of Yugoslavia was essentially the last nail in the coffin for the Milosevic regime.

The key element is where the will of the people points - Milosevic was already unpopular and the bombing further united the people against him.

The few Iranians I know are against the regime, but I don't know how the wider picture looks.
by tw04 | 2025-06-22 05:34:55+00:00
All it did was prove to Iran they need nuclear weapons. There’s one thing every country knows and it’s that the only way you don’t become the target of Russia, the US, or Israel is to maintain a nuclear arsenal.

We couldn’t stop North Korea with threats of violence but we did manage to stop Iran for almost 50 years through diplomacy. That’s all pissed down the drain now.
by idiotsecant | 2025-06-22 05:35:03+00:00
>If you get a Dem prez, the country will be saturated with illegals

Is this, in your mind, how empires end? I'm not sure if you've cracked a history book in a while, but immigrants built this country. We are a country of immigrants. We win when we get the hardest working, most entrepreneurial, boldest and smartest people to come here. Immigrants are no couch potatoes - on average they work harder than American born citizens do by an order of magnitude for way less pay.
by einpoklum | 2025-06-22 05:35:15+00:00
https://constitution.congress.gov/browse/essay/artI-S8-C11-2...

Use of military force requires congressional approval.

Well, in principle. In practice, the US executive does not observe this restriction, or at most - makes a flimsy connection the 2001 AUMF following the twin towers attack. The courts do not enjoin it from using military force pretty much arbitraly; and congress does not impeach nor even adopt declarative denunciations of this behavior.