MurphyA/hacker-news huggingface dataset:
by locknitpicker | 2025-11-30 14:14:26+00:00
> Outright wrong. You are allowed to handle POST requests in a safe and idempotent way.

You clearly have no idea about what you are discussing. The definition of HTTP verb semantics clearly defines the concept of safe and idempotent methods. You should seriously learn about the concept before commenting on discussions on semantics. If that's too much work, RFC 9110 clearly and unambiguously states that only the GET, HEAD, OPTIONS, and TRACE methods are defined to be safe. Not POST.

It's completely irrelevant if you somehow implemented a POST method that neither changes the state of the server nor returns the same response whether you invoke it once or many times. All participants in a HTTP request adhere to HTTP's semantics, and thus POST requests are treated as unsafe and non-idempotent by all participants. That affects things like caching, firewalls, even security scanners. The HTTP specs determine how all participants handle requests, not just the weekend warrior stuff someone chose to write in a weekend.
by LastTrain | 2025-11-30 14:15:54+00:00
What polls are you referring to? We did a non-anonymous poll at work which went something like “has using AI tool X made you more productive”, and the results were something like 50/50. If you asked my thanksgiving holiday crowd something like that you might get mixed results. If you asked them is AI an agent of good, do you trust what is happening with AI it would all be negative. People don’t like it.
by cjbgkagh | 2025-11-30 14:16:52+00:00
I’m assuming the property was mismanaged during his presidency, which means it largely amounts to the same thing. Evidence I would be looking for would be evidence that it wasn’t mismanaged, or that if Carter had retained control that the farm still would have gone bankrupt.

In the general case it’s near impossible to find a third party who can run your family farm as well as you can, a task made more difficult if that person also has to be a lawyer.
by potato3732842 | 2025-11-30 14:17:01+00:00
Exactly. In <pick random developing nation that isn't too poor> a man who wants to construct a septic for a house pays a man with backhoe who understands the nuances to make it happen. Concrete and diesel are bought, etc, etc, etc. Let's say $5k USD added to GDP.

In US same thing happens. But the man is compelled by threat of law to pay for engineering studies, permits, as are the man with the backhoe and the man making the concrete, etc, etc. $10k is added to GDP.

Has anymore wealth actually been created tho?

You can argue there's a difference because the latter septic is superior because on average they fail less and there's some amortized cost to that but if you're arguing about marginal differences in the face of an integer multiple you've kind of already lost.

This generalizes to just about all products and services. No more value is being created. There's just a bunch of hands in the pot that look like value if you squint and apply motivated spreadsheet magic.
by omnicognate | 2025-11-30 14:18:25+00:00
I'm not sure what point is being made here. AIUI, Musk comes from a wealthy family. Are you saying a biography would say otherwise?

I think the point people are making about the low wage jobs is that it's irrelevant. People from wealthy backgrounds take low paid jobs sometimes, so having done so doesn't imply he's a rags-to-riches story.
by bell-cot | 2025-11-30 14:18:44+00:00
99% of the benefit of putting the extinguisher by the exit door is that it helps draw panicking people to the exit door. Which gives them another saving throw against Heroic Idiocy, at +4 - "Should I grab this totally unfamiliar little fire extinguisher and carry it back toward the big scary fire, to do something I've never even tried doing? Or should I just run out the handy exit door that I'm right next to?"
by lo_zamoyski | 2025-11-30 14:18:50+00:00
These are outliers.

Think of motivation. Most people who live financially comfortable lives will want little more in the way of wealth when balanced against risk and effort. They also have something to lose. Their circumstances shift the incentives.

Now think of the temperaments of people who chase wealth. If they come from money, then the comfort they live in is not going to satisfy them. If they come from financially less than stellar backgrounds, they may be more likely to crave that kind of attainment; money is a kind of unfamiliar blank canvas onto which they can project all sorts of fantastic expectations (most of which are bogus). And unlike the better off, they have less to lose. Add to all this an inferiority complex that can compel compensation behavior. They may have a tougher start financially, but psychologically, they are more compelled by their circumstances than their wealthier counterparts.

So we should avoid being reductive.

And we should stop reducing “success” to money.
by rainsford | 2025-11-30 14:19:17+00:00
Some hybrid cars almost work this way. I know at least Honda's hybrids basically do what you're suggesting but at constant highway speeds will directly couple the engine to the drive wheels. They presumably could use electric motors powered by the engine in all driving scenarios, but I believe direct engine drive at highway speeds is more energy efficient.

This is probably why most hybrid systems I'm aware of don't only use electric motors to power the drive wheels. The idea sounds cool and I've also wondered why you can't buy something like that in the US (I think it exists elsewhere), but the math doesn't really work out. Even in terms of engineering complexity, because the engine is only directly driving the wheels at certain speeds, you can get by without a lot of the mechanical drivetrain components like transmissions.
by potato3732842 | 2025-11-30 14:20:03+00:00
>The US was also much more unified at the time

Were we? Or is that just after the fact revisionism that makes things "easy"

If Europe had managed to keep it together a few more years the US may very well have had a bunch of communism adjacent social strife and FDR may have died a deposed tyrant.

We were certainly more unified on certain broad cultural and values axis, but things were still very divided.
by tim333 | 2025-11-30 14:21:27+00:00
I don't agree on the Russia Ukraine motivations. Ukraine is not part of NATO and was not going to become part of NATO. There were already two NATO countries bordering Russia near Moscow and St P if NATO had wanted to invade which they had no thoughts of doing. Russia lies constantly on this stuff. I think they basically regarded Ukraine their land as part of the Russian empire they were restoring.
by serf | 2025-11-30 14:21:45+00:00
almost every distro that offers an i3/sway/awesome install option seems to do a really poor job of it.

I don't know why.

Last time I started an endeavoros install with a default i3 it borked the login manager and set no system handlers of any kind. When I went to fix the handlers the entire package that set them was gone. When I went to install that (on the advice of the accompanying forum) I had to install most of GNOME.

If you're using something that isn't KDE or GNOME you're probably going to hit rough edges.
by taway1874 | 2025-11-30 14:23:31+00:00
The nerve of that product guy!

I’ve always been vocal about this ... engineers are at the core of our business because they build and ship. Everyone else, myself included as an engineering manager exists to support them in doing exactly that. We don’t create value by holding meetings, drafting roadmaps, or removing blockers ... those are simply the means to an end. We create value when a product is built and shipped. It really is that simple.
by dougb5 | 2025-11-30 14:24:51+00:00
Maybe colleges shouldn't have accepted these kids in the first place or shouldn't move them along. But I think the author is raising a different alarm -- the number of kids who "do nothing, want nothing, and try nothing" seems to have spiked significantly. Public schools, at least, have a mandate to care about this.

I think the problem of student motivation is much broader than this author's college; I've heard it echoed by so many professors lately, but never as poignantly.
by tonyarkles | 2025-11-30 14:24:54+00:00
In my own experience with “modern-ish C++” (the platform I work with only supports up to C++17 for now), once we started using smart pointers, like unique_ptr and shared_ptr, iterator invalidation has been the primary source of memory safety errors. You have to be so careful any time you have a reference into a container.

In a lot of cases the solution is already sitting there for you in <algorithms> though. One of the more common places we’ve encountered this problem is when someone has a simple task like “delete items from this vector that match some predicate” and then just write a for-loop that does that but doesn’t handle the fact that the iterators can go bad when you modify the vector. The algorithms library has functions in it to handle that, but without a good mental checklist of what’s all in there people will generally just do the simple (and unfortunately wrong) thing.
by Scarblac | 2025-11-30 14:24:58+00:00
The Norway wealth fund is a co owner of Microsoft, like everyone with shares. Google says they own 1.35%, worth 50 billion.

If they want Microsoft not to provide "general compute" to the Israeli army then they can try to get a majority of Microsft owners to go along with it.

I think that's not the same as pressure on Microsoft from the outside.
by jaybrendansmith | 2025-11-30 14:25:13+00:00
There's a difference between favors and corruption, there has always been. It's something called regulations. We the people must tolerate a certain amount of favors, but there's a line: You cannot accept these favors while in office, particularly so when the exchange involves a public good or decision. You must sell your peanut farm before you hold office. You can't accept a plane from a foreign government in exchange for use of an airbase while in office. The things you do in office must be for the people. The things you do after may be immoral but they don't impact your decisions while in public service.
by codethief | 2025-11-30 14:25:45+00:00
> A quick search makes it seem like CRIs are trying to define their own custom Landlock interface.

Are you referring to [0, 1]?

> But if the CRI just blocks the syscalls by default

Does it? Where are you getting this from?

> I might be missing the whole idea here, but I really don't see why we need some custom layer in the middle instead of having container runtimes let the security syscalls through?

Because in the latter case you have to trust the application it will actually do the appropriate locking?

[0]: https://github.com/opencontainers/runc/issues/2859

[1]: https://github.com/opencontainers/runtime-spec/issues/1110
by zamadatix | 2025-11-30 14:25:48+00:00
Acknowledging e.g. people who grow up in multilingual households usually have an easier time learning a new language than someone who didn't shouldn't just be about what decision an individual should make for themselves, it's about identifying what stimulates that kind of growth so we get more of that success overall. I.e. making a decision or not to go for the chance myself is a different topic than trying to find ways to increase the chances for everyone.

Economic growth is not a 0 sum game so why talk about the situations around it from only an individual gain perspective. If a lot of individuals are saying some situational factor makes the choice unreasonably hard then that's something worth focusing on rather than dismissing.
by pbiggar | 2025-11-30 14:26:34+00:00
It's relevant because Microsoft, like all big companies, have Human Rights Pricinples and such that are part of the company. It's basically impossible to get big institutional investment without it.

The issue is that they were caught not following their practices, and then lying about it. So the shareholders are asking that they produce a report about whether they are following their own human rights principles.

And Satya is resisting it, because it is very clear that they are not following them, as workers [1] have been calling out for years now. Many leaked documents have shown that Microsoft actually embeds employees directly with the IDF and makes millions in service contracts with them. [2]

[1] https://noazureforapartheid.com/ [2] https://www.dropsitenews.com/p/microsoft-azure-israel-top-cu...
by taway1874 | 2025-11-30 14:27:02+00:00
Well said! I wonder if it is like this in the mechanical / electrical engineering space or if the Math n Physics is scary enough to keep the riff-raff out. We've made it too easy for the non-engineering folks and now they're getting involved and disrupting our flow of work. Just like the author (a psych major who's never written a line of production code in life).
by jlouis | 2025-11-30 14:27:05+00:00
Go is strong. You get something where writing a solution doesn't take too much time, you get a type system, you can brute-force problems, and the usual mind-numbing boring data-manipulation handling fits well into the standard tools.

OCaml is strong too. Stellar type system, fast execution and sane semantics unlike like 99% of all programming languages. If you want to create elegant solutions to problems, it's a good language.

For both, I recommend coming prepared. Set up a scaffold and create a toolbox which matches the typical problems you see in AoC. There's bound to be a 2d grid among the problems, and you need an implementation. If it can handle out-of-bounds access gracefully, things are often much easier, and so on. You don't want to hammer the head against the wall not solving the problem, but solving parsing problems. Having a combinator-parser library already in the project will help, for instance.
by hylaride | 2025-11-30 14:27:33+00:00
Your arguments are irrelevant at best and whataboutism at worst because the Japanese were specifically attacking the US Navy as they saw it as a threat to their own expansion plans - which were far worse than anything the US did, even compared to the worst parts of Native American policies (which were very, very bad). The Japanese saw Hawaii as a US territory to attack. Whether or how Hawaii became a US territory is a complete non sequitur in the context of World War 2.

There's nobody outside of hardcore Japanese nationalists that see any of their actions as countering US expansionism.
by lazide | 2025-11-30 14:28:54+00:00
Musk was born in South Africa to a wealthy diamond mine owner (Dad) and Canadian model+dietician (Mom), and is a ‘confirmed non believer’ per his own public statements. His whole family seems not particularly religious.

The extended musk family is from all over, however, including Canada, England, American, etc. but he seems pretty clearly a mongrel.
by kylegalbraith | 2025-11-30 14:28:57+00:00
Excited to see AOC back and I think it was a solid idea to get rid of the global leaderboard.

We (Depot) are sponsoring this year and have a private leaderboard [0]. We’re donating $1k/each for the top five finishers to a charity of their choice.

[0] https://depot.dev/events/advent-of-code-2025
by riffraff | 2025-11-30 14:29:02+00:00
I usually do it with ruby with is well suite just like python, but last year I did it with Elixir.

I think it lends itself very well to the problem set, the language is very expressive, the standard library is extensive, you can solve most things functionally with no state at all. Yet, you can use global state for things like memoization without having to rewrite all your functions so that's nice too.
by umanwizard | 2025-11-30 14:29:22+00:00
Norway's sovereign wealth fund are not "online radicals", and many genocide scholars, UN bodies, etc. have also found that Israel is committing genocide against Palestinians.

If you want to dispute that claim, fine; reasonable people can disagree about the definition of "genocide" and about what standard of proof is necessary. However, reducing the opposing opinion to "online radicals" is inaccurate.
by CMay | 2025-11-30 14:31:00+00:00
The US is the second largest manufacturing power, the largest economic power and the largest military power, but those things aren't even what makes it a scary threat.

There are things that make up the US that vastly increase its potential for self-organization when it is given an organizing principle. Yes, dynamism has taken a hit over the decades, but there are also a lot of aimless purposeless people right now that do have an appetite for purpose if given one.

Major modern countries today have red lines defined that they won't cross in order to keep the peace. Russia says don't attack Moscow or otherwise attempt to replace their government or they will nuke you. Nukes do change the structure of future wars between nuclear powers, which might actually make some aspects of it less extreme.

If Ukraine had nukes, they could have a red line like, "If you keep hitting hospitals and schools, we will nuke you. Powerplants and railroads we understand, but if you show us with your actions that you have no mercy for the weak and innocent, we will end you." Instead, they have nothing of the sort.

All the US has to do is wait for the enemy to make catastrophic moral failures and it's game over, because it rallies the people, the companies, the innovative talent, the allies, etc to reject it with force. It crystallizes the purpose.

We are energy independent and are advancing even more ways to expand the dimensions of that. You can't destroy our government, because we'll just recreate it.

We're forcing our allies to become more independent, because they got too soft and we need them hardened up. That only makes the US stronger, because strong allies are better for all of us. It makes us a better deterrent against war happening in the first place.

Meanwhile China is surrounded by countries that dislike it and don't trust it. Giving Canada and Mexico tough love is no comparison to the fundamental failures in the relationships China has with its neighbors in their region.

India is far more US aligned than with China, regardless of tensions. Neither North Korea nor Russia trust China, but they are forced to deal with it despite the buddy-buddy optics.

Failing to benefit from so many possible optimizations at the basic strategic level in their local region, any confidence in a favorable outcome for the CCP seems misplaced. Their failings probably cascade down into the other levels of preparation as well.
by mlinhares | 2025-11-30 14:31:13+00:00
I haven't been in a car accident for 15 years, not even fender benders, that doesn't mean I shouldn't take insurance.

As someone from a random developing nation car accidents deliver crippling debt and destroy lives there frequently because insurance is not mandatory.

The developing nation blindly ignore the externalities of not having insurance (instead of spreading the cost throughout society, only a few people bear the brunt of it, usually the ones least equipped to handle it), so your example is great only if you assume its fine to continue to beat down the poor. There's a reason developed nations have developed such "red tape" and the anti-vaccine movement here in the US is finding out what happens when the red tape is removed.
A marketplace that kills the hidden ad-waste tax in e-commerce
by Baqqla | 2025-11-30 14:31:29+00:00
E-commerce has a silent cost nobody talks about: sellers burn $50–$300 on ads just to appear in front of a buyer.

That wasted spend becomes a hidden tax on every purchase. Buyers think they’re “getting the best price,” but they’re actually paying for the seller’s acquisition cost.

Baqqla flips the model.

1. Buyers post what they want. 2. Multiple sellers receive the request instantly. 3. Sellers compete directly — no ads, no ranking games, no auction-driven pricing. The result: the ad-waste layer collapses, and prices normalize.

https://baqqla.com/investor.html
by cyphar | 2025-11-30 14:32:40+00:00
glibc has been reticent about adding new syscall wrappers for a few years. The situation did improve for a bit recently (and they added something like 5 years of syscalls from their backlog in the past few years) but I'm not surprised it's taking some time.

Thankfully we have had unified syscall numbers on Linux (for almost all architectures) for the past few years so tracking them is less painful than it used it be.
by hshdhdhj4444 | 2025-11-30 14:32:54+00:00
> that will prevent people from exploring all this with genuine curiosity.

No one is reposting findings that confirm exactly what archeologists already knew on HN.

Every archeologist wants to be the one that has the dig that revolutionizes the whole field.

The idea that historians and archeologists aren’t curious about the stuff they’re dedicating most of their life to simply doesn’t add up and match with what we know about human beings.

The reason we think what we do (with adjustments for normal human errors), is because that’s the evidence we have.

None of the evidence is secret. If there was some evidence that is being misinterpreted due to Abrahamic biases, there are as many if not more archeologists ans historians from non Abrahamic countries like China, India and most African nations, that have access to the same evidence and could write a paper today about how the evidence is being misinterpreted.
by snapplebobapple | 2025-11-30 14:33:08+00:00
bazzite supports it I believe but I am not sure my n150 based mini pcs that I'm using on my tvs does. This was running on six your old tvs until this month when I bought a lg g5 for the basement. It looks great but I couldn't say if it looks the greatest it could look with HDR on or not... My previous tv frontend was a custom nixos setup that was a pain to maintain over the years. bazzite just works and the setup is simple for my needs (basically autologging in to kde and autostarting jellyfin media player in full screen plus a systemd timer to ensure the system updates and reboots overnight while I'm sleeping.
by Lio | 2025-11-30 14:34:28+00:00
I love these new approaches to type checking such as this and Literal[1]. I think they really show how far we could go with runtime ruby syntax.

For both though I have questions:

A. How do I use this day to day to improve my tooling and developer experience?

B. If at some point in the future I decide to get rid of this how easy is it to eject?

I've seen too many adandoned dependencies over the years to trust anything I can't easily remove when it's time to upgrade.

These runtime typing efforts look nicer than Sorbet but, as far as I can see, you still have to have complete test coverage to trigger runtime checks if you want to spot correctness issues before you deploy into production.

Sorbet doesn't have that problem right now. Maybe something clever using Prism might be a way round that?

1. https://literal.fun/
by ragazzina | 2025-11-30 14:35:22+00:00
[I am sorry for the meta, if it's against the guidelines I hope this comment will be quickly deleted. But I am not criticizing anyone, I just find it interesting.]

The discussion between supporters of these kind of distros and people against them are very similar to those between vegetarians.

"I don't know why the community needs a veggie chicken nuggets honestly. We have delicious vegetables."

"But veggie chicken nuggets have their place. They are quick and microwaveable, and they help bringing people in"

"We bring them in with preservatives and chemicals? Sweet potatoes are also quickly microwaveable.."

And so on.
by hylaride | 2025-11-30 14:35:45+00:00
For Ukraine, war deaths would likely be a footnote compared to emigration when a new census is eventually completed (I don't mean to sound cavalier, but am trying to put things into perspective). An estimated 20% of their population has left since the start of the full scale invasion - ~10 million people - by now they've settled into new lives abroad (my 8 year old daughter's class here in Canada has 3 kids from Ukraine alone).

Ukraine is going to have some painful demographic issues to deal with when the dust settles (and I am cheering for them!).