MurphyA/hacker-news huggingface dataset:
by zelphirkalt | 2025-09-16 07:59:38+00:00
But then I want web components that are not react web components, but cross browser standard web components, because if I use a js framework, I don't wanna be loading react as a dependency in the background and carry the same amount of bloat in my dependencies.

And then we are not actually far from what we were always able to do with traditional templating engines, which already allow us to define separate reusable components. It is what they were made for. Full circle back, throw out all the JS frameworks.
by raincole | 2025-09-16 07:59:57+00:00
> I also wonder where the price will end up, it currently seems unsustainably cheap.

Jetbrains has a $30/mo subscription (with gpt5 backend) and the quota burns so fast.

Assuming Jetbrains is at breakeven price, either OpenAI has some secret sauce or they're losing money for Codex.
by andycaine | 2025-09-16 08:00:10+00:00
Some of the reservations around GPG and PKI are understandable. GPG signing clearly works for OS package managers where there is more control, but it's been a failure on PyPi, RubyGems and Maven.

I'd love to see npm adopt keyless signing like PyPi are doing with https://peps.python.org/pep-0740/.
by anovikov | 2025-09-16 08:00:20+00:00
I think panic is unjustified. A lot of the deficit is essentially a baked in inflation of the already existing debt. If US budget deficit was 6.4% in 2024 and debt to GDP ratio was 124%, inflation 2.9% and GDP growth 2.8%, the budget deficit actually meant a decrease, not growth, of debt to GDP ratio. And some slight increase of debt to GDP ratio is normal because of population ageing: that debt is boomers' pensions funded by everyone else.

Just normalise it, it's not a problem at all.
by Theodores | 2025-09-16 08:00:54+00:00
Dude, that's a conspiracy theory website that is all about UFOs and not getting vaccinated. You are wasting everyone's time by posting this link.

Most of the world's agriculture concerns growing commodity crops to feed animals - 'big beef'. This is big business and the source of all hatchet jobs on Ancel Keys. Their message is simple, you don't need fruit and vegetables, you need steak and butter!

Find me one centenarian that got there by eating a diet heavy in saturated fats. Just one!!!
by mike_hearn | 2025-09-16 08:01:43+00:00
Everyone is responsible for their own software, but the OS is more critical than other pieces and also a lot more profitable, so they can afford to invest. Some userspace apps with large budgets do use microkernel architectures, most obviously browsers.

But by and large, kernel code is much more tightly scoped and stable than userspace apps. The requirements for a core filesystem change very slowly and a migration from one version to another can take years. Userspace apps might update every week and still be too slow. We tolerate much more instability in the latter than the former.
by kabes | 2025-09-16 08:01:47+00:00
My theory: Browsers and js was evolving at such a fast rate that we needed a new frontend framework each year. React came with something good enough just as js and browser APIs started to slow down their massive changes and everybody was getting tired of changing framework all the time. Maybe some newer frameworks have some advantages, but not nearly enough to give up on what's now the standard ecosystem.
by menaerus | 2025-09-16 08:01:49+00:00
I can't wrap my head around on how is it that triggering the L1 HW prefetcher so that it loads two pairs of cache-lines, from L2 into L1, can cause false-sharing.

Perhaps what fb experiment measured was the artifact of L2 HW prefetcher which takes advantage of 128-byte data layout:

Streamer — Loads data or instructions from memory to the second-level cache. To use the streamer, organize the data or instructions in blocks of 128 bytes, aligned on 128 bytes. The first access to one of the two cache lines in this block while it is in memory triggers the streamer to prefetch the pair line. To software, the L2 streamer’s functionality is similar to the adjacent cache line prefetch mechanism found in processors based on Intel NetBurst microarchitecture.
by throwaway192454 | 2025-09-16 08:02:18+00:00
(using throwaway account, as I don't have any access to my main one from this machine)

For out-of-tree build, use KEFIR_BIN_DIR make parameter. I use it quite extensively in https://git.sr.ht/~jprotopopov/kefir/tree/master/item/script... so this should work.

DESTDIR is supported as a parameter of make install: https://git.sr.ht/~jprotopopov/kefir/tree/master/item/instal...

As for the parallel build issues, contact me over the email please
by mr_mitm | 2025-09-16 08:02:47+00:00
I think the threat model here is that a different, malicious app (compromised, installed accidentally or by the means of social engineering) might take screenshots of your screen and forward them to take advantage of you. You can file this under one's "own stupidity" as well, sure, but in the end they're not protecting you, they're protecting themselves, because banks might be liable for these kind of things, and by imposing these restrictions, they're reducing the amount of fraud and thus improve their bottom line.
by vintagedave | 2025-09-16 08:03:46+00:00
That may be true for you but it's not true for many people, like me.

I have twenty years of iPhone data, eg messages, apps, etc. I can't easily move to some other phone.

A desktop, maybe, but I'd still have to repurchase or find alternates to a bunch of software. It is far, far better if the existing system _stays useful_.
by austin-cheney | 2025-09-16 08:04:57+00:00
https://en.m.wikipedia.org/wiki/Forced_displacement

When forced displacement is paired with food/starvation as a weapon it becomes a genocide. The recent senate report just carefully labels it as a deliberate ethnic cleansing.

https://www.vanhollen.senate.gov/imo/media/doc/van_hollen_me...
by throwaway192454 | 2025-09-16 08:05:48+00:00
Kefir build artifact is fully portable and agnostic to installation location. DESTDIR, prefix, etc are simply interpolated into launch script (template is here: https://git.sr.ht/~jprotopopov/kefir/tree/master/item/script...). So, no kefir binary itself does not know or care where it is installed, it gathers the information the environment variables provided by launch script.

The reason is that kefir supports portable builds which could be unpacked anywhere, so these path might even be relative.
by sensanaty | 2025-09-16 08:05:51+00:00
I'm with you on that one, React is by far the least productive of the lot and every single method it exposes to you has so many damned footguns it's fucking incredible, no wonder most people complain about slow React apps.

But to be fair to React, it's not entirely its fault. What it did when it came out really changed the paradigm for the better, without it we wouldn't have had component-based frameworks like Vue or Svelte today. It's just that, because of being backed by Meta, it has also far outlived its usefulness and has since been far surpassed by other frameworks that learned from its mistakes, but unfortunately for whatever reason no other framework has been able to usurp it. Anecdotally at least, I've noticed that there are some pretty large and important Vue codebases out there which makes me happy, so perhaps the tide will slowly start shifting and we'll start seeing the better frameworks win out at the end of the day.
by modernerd | 2025-09-16 08:06:09+00:00
grug say react make complexity demon more powerful

> i blame developers for picking tools whose complexity is inappropriate for the problem they are solving

https://x.com/htmx_org/status/1967622941262168495

> > "mistakenly included a problematic object in its dependency array"

https://x.com/htmx_org/status/1967577321940165024

[both by the author of grugbrain.dev]

> react better for job and also some type application, but also you become alcolyte of complexity demon whether you like or no, sorry such is front end life

https://grugbrain.dev/
by port11 | 2025-09-16 08:07:01+00:00
One solution would be smaller cathedrals. Not everyone wants to go to the bazaar to pick what works for them; but most everyone would benefit if there was a limit to how encompassing a tech company can get.

Network effects are also somehow not working very well for decentralised things, possibly because everyone wants to fork Product X but no one wants to improve it for added discoverability or less bugs.
by WalterBright | 2025-09-16 08:07:10+00:00
Those aren't old TVs.

When I was a kid, I'd go to the TV repair shops and take old "unrepairable" vacuum tube TVs (no transistors!) off their hands. At home I tried to fix them. I had no idea how to fix them. But I had a lot of fun trying.

One of the fun things was to randomly swap around the vacuum tubes and see what would happen. Very entertaining! I used to have a box full of scavenged tubes. Sadly, I eventually tossed them out, never realizing how valuable they'd be in a few years.

My mom was convinced I was going to electrocute myself, and finally made me get rid of the sets.
by lmm | 2025-09-16 08:07:15+00:00
> There’s a reason you should still be writing unit tests and hypothesis/property tests in Rust, to catch issues the compiler can’t catch at runtime which is a huge surface area.

It would be irresponsible to suggest that Rust eliminates a large enough proportion of common errors that you can YOLO anything that compiles and achieve an acceptable defect rate... but it does happen to be true in my experience.
by azangru | 2025-09-16 08:07:25+00:00
All that build-up, only to culminate in a slight dig at react?

> React piles concepts into your mental backpack: rendering models, hooks, state libraries, routing, and a build pipeline. Say no to it, and suddenly you’re the “neckbeard stuck in the ’90s,” outside the cool-kids club.

Out of the list of the piled concepts, only 'hooks' would be react-specific. The rest are the concepts that a front-end developer will need to think about anyway if he builds a standalone client. If the client is built using non-web-standard languages; or even if static file names need to be stamped with hashes for proper caching, developer has to think of a build pipeline. If the client is decoupled from the server, developer has to think of routing. If things happen on the page in response to user interaction, developer has to think of rendering and of client-side state.

React isn't guilty of any of this. There are plenty of things it is guilty of; but these aren't the ones.
by cgadski | 2025-09-16 08:07:27+00:00
I was a little informal with my argument. It's not strictly true that we only see C = 0.2 when K = 2. I was reading what the graph says about the case when N is much greater than k. I'll try to clarify.

C is meant to be the smallest constant so that, for each (N, k, epsilon) with k > C epsilon^-2 log N and epsilon > 0, there exists some arrangement of N vectors in R^k with inner products smaller than epsilon in absolute value. For each (N, k), the author optimized epsilon and reported the empirical value k epsilon^2 / log N, which is the smallest value of C for which our condition holds restricted to the given values of (N, k). (Of course, this is my good-faith interpretation---the article introduces C in the context of a JL distortion bound, and it takes an extra step to turn that into a bound on inner products.)

It can be shown that C = 4 satisfies this condition, when log is the natural log. See [1], for example. Based on the graph, the article claims to do better: "for sufficiently large spaces," it says we can put C = 0.2. This would be a very significant improvement.

For k = 2, the graph shows that C will be lower than 0.2 for sufficiently large N. (The color scheme is confusing! The line for k = 2 is the one that starts at just under 0.8 when N = 1.) Already for k = 3, the graph doesn't give us reason to believe it will be lower than 0.2---you correctly observed it gets to around 0.3. For larger value of k, the graph doesn't seem to show what we can expect for large N: the curves go up, but do not come down. This is what I meant with my comment: the conclusion that C <= 0.2 as N -> infinity is only justified by the behavior at K = 2.

Now, do these results make sense? In the case k = 2, we're trying to put a large number (N) of vectors on the unit circle, and thinking about how small the maximum inner product (epsilon) between any pair of vectors can be. As N -> infinity, the vectors will be packed very tightly and the maximum inner product epsilon will come close to 1. Overall, C = k epsilon^2 / log N will become arbitrarily small. In fact, the same happens for every k.

So, just in connection to this graph, the article makes three mistakes:

1) The article's interpretation of its experiment is wrong: the graph alone doesn't show that C < 0.2 for "large spaces".

2) However, it should be obvious a priori that, for all values of k, the reported values C should converge to 0 for large N (albeit very slowly, at a rate of 1/log N).

3) Unfortunately, this doesn't tell us anything about the minimum value of k / log(N) for a given epsilon and k, and so it doesn't support the conclusion of the article.

The problem with this kind of LLM-driven article is that it gives uncareful work the _appearance_ of careful work but none of the other qualities that usually come with care.

[1] https://lmao.bearblog.dev/exponential-vectors/
by WASDAai | 2025-09-16 08:08:10+00:00
TL;DR: When we work with AI, it can look chaotic. The model suggests, we edit, the system rounds numbers and compresses data, then we repeat. It feels like this should spiral into nonsense. But the surprising result is that the loop calms down. Human–AI collaboration still finds a stable, good-enough outcome, even when the math underneath is rough.
by mike_hearn | 2025-09-16 08:08:43+00:00
So JSX is pure Javascript and not, say, a dialect of XML embedded in JS? Because it sure looks like the former even though it compiles to the latter.

React isn't Javascript. It's a franken-language that looks superficially like a mix of JavaScript and XML whilst following the rules of neither. That's why there is such a thing as a React compiler - a good sign that you're not writing JS, which doesn't have compilers.

The other hint should be all the new rules you have to follow. React is full of magic syntax that looks like functions, but e.g. you can't call them inside an if statement, or you have to redundantly declare the 'dependencies' (variables you read) and so on. The semantics of React code are very different to imperative straight line code.
by truncate | 2025-09-16 08:08:53+00:00
IIRC, there bunch of random things that still don't work -- no USB-C output, webcam, audio and if I've to guess suspend/resume is probably not rock solid either. The only benefit is that you get to use Linux, but then you may lose on actually getting work done without worrying about these issues. The new UI is inferior, but can still get things done.
by bnferguson | 2025-09-16 08:08:55+00:00
I think you remember correctly! A lot of the BBS software would just show what the current user was doing as if it was their screen. I believe from there you could start a chat as the sysop and interact with them, else you kinda just watched.

The few times I ran one (was a sysop on a few, but remotely), I was always a little creeped out that I could see people typing messages, etc. Felt like invading their privacy.
by throw310822 | 2025-09-16 08:08:59+00:00
Yes of course, what you say is all correct. But there used to be in Europe at least a strong alternative voice and point of view, while now the subordination to US ideology and goals is complete and unchallenged. My perception is that something new has happened. In part it's the end of the cold war and Soviet Union that has deprived Europe of an alternative ideological center; in part I think it's the rise of social media and the dominance of US internet companies that has wiped any cultural border between the US and Europe (but with information still flowing in one direction only).
by domofutu | 2025-09-16 08:09:04+00:00
Thanks, George. I’m a new Australian (U.S. transplant) and still getting up to speed on the local medical culture. But, re: SAD/mood, bright-light therapy is first-line; I treat vitamin D as “correct deficiency, don’t expect it to replace standard care.”

On MS (the bit I didn’t cover well): Higher lifelong 25(OH)D is linked to lower MS risk (observational + genetic lines point the same way). In people already diagnosed, adding high-dose D3 to disease-modifying therapy hasn’t reliably cut relapses; MRI signals are mixed.

So, test and correct deficiency (good general health practice), but don’t expect vitamin D to function as a disease-modifying add-on.
by lnsru | 2025-09-16 08:09:06+00:00
The thing is that I have no new citizens around me in white collar positions. I don’t see them in production hall downstairs either. This is valid for my last 3 jobs. It’s dumb statistics. My friends and ex-colleagues see the same situation. I guarantee, these future adults will have no positive impact for my pension. They will only consume the exorbitant high taxes I pay in Germany right now. And I may work until 75…

So no more refugees please, qualified foreigners welcome. But there is only one problem - these 5 million fresh refugees made Germany super unattractive for qualified foreigners. Now you can call me a nazi.
by theshrike79 | 2025-09-16 08:09:07+00:00
"Saving face" is not an issue with the current US Regime.

They can just go in front of Congress and lie. Complete bold-faced lies.

There's no legal penalty for lying, the most Congress can do is frown upon them using the allowed forms of language.

They have no shame because they know they'll be protected from all sides.
by mr_mitm | 2025-09-16 08:09:13+00:00
Modern life is full of these tiny inconveniences. It usually involves some sort of "smart" devices, like light switches, stoves, elevator buttons, etc. Each one of which could be forgivable, but in sum it's like death by a thousand paper cuts.

User hostile UI in the name of security is particularly bad: we are supposed to type unique and complicated passwords in text fields without being able to see what we type, and if we get it wrong, we are put in timeout for two seconds. Citrix Netscaler nowadays apparently wants to be extra secure and shows you the most generic error message if you have a typo in either your password or user name and just tells you to "try again later", so you do until you lock yourself out. It's madness.
by sensanaty | 2025-09-16 08:09:15+00:00
A lot of the issues stem from the fact that Meta was backing React for so long (before it got purchased by Vercel), so it always had a ton of resources dedicated to it which helped win the mindshare. It's like that saying, "No one ever got fired for picking Oracle" or however it goes.

The other frameworks (except for Angular) are simply too small when compared to the massive coffers backing React. I mean, Vue is by no means small at this point, there are hundreds of contributors and people are making good livings off of the donations Vue receives, but it's still nowhere near React levels where Meta's full-time salaried employees got paid to work on React. It's a blessing and a curse to be a FOSS framework like Vue.
by Waterluvian | 2025-09-16 08:09:37+00:00
Something I find myself doing when I stumble through the saloon doors of a Hacker News link only to be met by a silent corporate stare, is to imagine real humans doing real human things. Like drinking their coffee, finishing their milk soup with marshmallows, and seeing their kids off to school.

They each get in their car, fasten their seatbelt, and back out of their storage bay onto the road. They tune their radio to a morning zoo being visited by a reeling ninth caller who didn’t win the free party pack.

They depart the trunk line and park in a fragmented matrix of similarly unique cars, de-safety their belt, rummage the console for an identity token, and head into their own morning zoo, paned wall-to-wall with one-way glass, seemingly installed backwards.

The humans shed the remaining vestiges of their real human mornings and dutifully touch base on how to liven up their portable document that contentfully explores, ”how can technology further deliver value to our audience?” perhaps using hypertext, while drinking more coffee.

Anyways… If you haven’t clicked “client value” at the top-right, I strongly encourage doing so. Ten points and a free party pack if you can read the entire thing with a straight face.
by dns_snek | 2025-09-16 08:09:42+00:00
Yeah I understand. It's mostly for posterity.

We live in a time where accusing someone of engaging in bad faith is against the guidelines, expressing an opinion that the world is better off with a hateful figure being dead is inhumane and shameful, and such opinions are to be forcibly repressed if one is to be allowed to participate in discussion.

My blood pressure isn't affected by individual bad actors, but our bizarre society where it's acceptable to sow hatred and incite violence as long as you dress up nice and speak in a polite, coded language. If Hitler was simply a top-level advisor and never issued a direct order he would be hailed as a peaceful debate person by the same people who now smugly use "humanity" as a stick to beat those who actually have it.

I would upvote you, but my ability to do so has been taken away without an explanation.
by h4ch1 | 2025-09-16 08:09:43+00:00
I am hard pressed to believe you're in FAANG if you say this is what 90% of softare[sic] projects involve.

Again, none of what you've built is complicated in the least. Your domain knowledge may be commendable, sure, but that's got nothing to do with this discussion.

> And here it clone claude code cli

This is where I just gave up trying to understand your thought process, and after looking deeper into your Reddit and HN history you just seem to be a mindless shill for these products and your thought process instead of being able to critically analyze your approach.
by davedx | 2025-09-16 08:09:54+00:00
> Developer time is spent managing re-renders, effect dependencies, and hydration boundaries

You might be, I am not! All my react apps for work in the last ten years I’ve spent little time doing this. The occasional useMemo and relatively intelligent splitting of components is all you need. I don’t even know what “hydration boundaries” are; sounds more like a next.js thing than a react thing. Why is everyone pulling in frameworks that do a bunch of SSR nonsense for B2B apps I just don’t know - but that’s a conscious choice and is not fundamental to react itself.
by mpweiher | 2025-09-16 08:10:03+00:00
I never disputed that it's a fact that China currently builds more renewables than nuclear. I said it is irrelevant. Those are different things. It's also not "way" more...unless you don't understand the irrelevance of nameplate capacity with intermittent renewables.

China is also currently seeing the bottom drop out of their renewables industry, with over a third of the workforce laid off and massive drops in installs and production due to a reduction in subsidies.

The EPR2 projects could not even have started in 2022, because he law that prohibits increasing nuclear capacity beyond the currently installed 63.2GW was only repealed in March 2023. And yes, reversing course so massively takes a little while, particularly when they still have to deal with a lot of the fallout of the failed "soft exit" policy.

As to site selection: you disputed, I showed. Then you change the subject.

The interviewee was the president of the French parliament, and he is quite specific.

And he is not the only source, this is really well known...unless you bury your head in the sand.

Here's a long look:

https://www.youtube.com/watch?v=isgu-VrD0oM