MurphyA/hacker-news huggingface dataset:
by preommr | 2025-10-25 11:54:08+00:00
???

I absolutely failed to follow the logic of this article - is there any?

The toy examples having the same amount of code is meaningless. They're saying it's bad because react is more complicated. But this works in react's favor that simple examples are simple.

It's also meaningless because it's a toy example. Even if the react code was half the size of the backbone, you could still use the strawman of "react's complexity isn't worth saving 5 lines of code" which people would agree with.

Then they go on to complain about use-effect and state-management. But use-effect isn't in the code example. But then why compare it to backbone which also doesn't solve those problems and is arguably much worse at them.

> People say "you need to rebuild React from scratch to really understand it," and they're right

Actually laughed at how shameless this is. Who said this? This is just a thing the author got and just decided is a fact. Not only is that quote not in the linked article, I don't think the average person would say this.

And the answer to what about something small, the answer is either lit-dev, or vanilla. It's not early 2010s, a lot of the functionality of libs like jquery, backbone that made them popular was incorporated into js.
by fjfaase | 2025-10-25 11:54:44+00:00
One can find it out with a decompiler and a lots and lots of free time. Compilers are not trivial programs, especially the ones needed to compile operating systems, with the required optimizations, and there are many ways to obfuscate code.

A better approach is to start with a small executable, one that translate hexadecimal numbers to binary, and from that build all the tools to compile a simple C compiler (such as the Tiny C Compiler, which is not very tiny), to compile the optimizing C compiler that can compile operating systems. That is the approach followed by the live-bootstrap project.
by hamandcheese | 2025-10-25 11:54:57+00:00
I love React, but the author does make some good points. React does have a lot of footguns, especially if you don't have a very solid grasp of how it works (or at least a solid mental model).

A big part of the problem happens well before React though. Lots of people don't even know how JavaScript works despite using it every day. So it's no wonder that people get tripped up trying to understand functional components, useEffect, etc.
by ozeranskii | 2025-10-25 11:55:46+00:00
I built httptap to understand why certain API requests were slow. Existing tools like httpstat only show total duration, not where time is spent. httptap measures each phase (DNS, TCP, TLS, TTFB, Transfer) using httpcore trace hooks, provides TLS details (protocol, cipher, expiry), and exports full JSON metrics.

It’s written in pure Python with minimal dependencies and works on macOS, Linux, and Windows. Useful for API debugging, performance regression tracking, TLS audits, and network diagnostics.

Repo: https://github.com/ozeranskii/httptap PyPI: https://pypi.org/project/httptap/
by georgemcbay | 2025-10-25 11:57:00+00:00
> Well some of the new rich, tech guys are clearly insane. Peter Thiel cannot stop talking about the Antichrist, for example.

Agreed on the insanity and it seems to be getting worse over time.

I personally think its due to malignant narcissism bumping up into the (subconscious) midlife realization that there is no chance their theoretical singularity god will arrive in time to make them immortal.

Sorry bro(ligarch)s, you're all going to end up as worm food just like the rest of us. There isn't any amount of underground concrete bunker wall thickness that is going to change that.
by ileonichwiesz | 2025-10-25 11:58:01+00:00
> Sure, maybe some people really do have thyroid problems; but this idea that overweight people are somehow not responsible for their own condition is ridiculous and dangerous.

You’re not wrong, but I think you’re missing the bigger picture. These are systemic issues, and solving them on an individual level can only go so far.

People are responsible for their own health, but we also live in a world where billions of dollars are spent on marketing and lobbying to get them addicted to junk food and make it the easiest choice. It’s still a choice, but the game is rigged.

“Just decide to stop” may have worked for you - it worked for me, too! - but on a societal level you need societal change. A lot fewer people smoke today than just a couple decades ago - not because everyone has individually somehow built up stronger willpower, but because of legislation that made tobacco harder to market, more expensive, and forbidden in many public spaces.
by artur_makly | 2025-10-25 11:58:06+00:00
From the maker:

"The flowers don’t create sound in the way we hear it — instead, bioelectrical impulses from their cells are captured by sensors and translated into musical notes through modular synths. What you hear is the living energy of the plant expressed as music. When two flowers are connected, their signals interact and weave together, creating harmonies — like nature’s own conversation in sound....

The plants don’t generate sound directly — their bioelectrical impulses are captured by sensors and converted into control voltages. I mainly use the Intruo Scion (a biofeedback module) together with a Moog Mother-32, shaping the signals with reverbs and delays. This way, the living rhythms of the plants are translated into evolving musical patterns."
by ciupicri | 2025-10-25 11:58:53+00:00
There's the good old GNU indent https://www.gnu.org/software/indent/

> But even if you fail in getting emacs to do sane formatting, not everything is lost: use indent.

> Now, again, GNU indent has the same brain-dead settings that GNU emacs has, which is why you need to give it a few command line options. However, that’s not too bad, because even the makers of GNU indent recognize the authority of K&R (the GNU people aren’t evil, they are just severely misguided in this matter), so you just give indent the options -kr -i8 (stands for K&R, 8 character indents), or use scripts/Lindent, which indents in the latest style.

> indent has a lot of options, and especially when it comes to comment re-formatting you may want to take a look at the man page. But remember: indent is not a fix for bad programming.

(Linux kernel coding style, https://www.kernel.org/doc/html/latest/process/coding-style....)
by tuhgdetzhh | 2025-10-25 11:58:55+00:00
I don’t think this comparison is correct. You concluded that not much has changed in 15 years, but you are not comparing 15-year-old idiomatic Backbone code with modern React. Instead, you are comparing modern Backbone code with modern React.

You could make a similar comparison between Kotlin and Java and reach the same conclusion. However, Java has evolved significantly over the past 15 years, and most of Kotlin’s features are now also available in Java.
by maxloh | 2025-10-25 11:59:46+00:00
They had them from day one.

Class component:

class Counter extends Component { state = { age: 42 }; handleAgeChange = () => { this.setState({ age: this.state.age + 1 }); }; render() { return ( <> <button onClick={this.handleAgeChange}>Increment age</button> <p>You are {this.state.age}.</p> </> ); } }

Functional component:

function Counter() { const [age, setAge] = useState(42); const handleAgeChange = () => setAge(age + 1); return ( <> <button onClick={handleAgeChange}>Increment age</button> <p>You are {age}.</p> </> ); }
by IshKebab | 2025-10-25 12:00:16+00:00
There's a way to do all that without being an arsehole.

Also putting an open source project out there doesn't absolve you of all social obligations simply because it's free. You can't say "well you are free to not use it, then it doesn't affect you at all" because that isn't true. By making and publicising this project he is actively discouraging other similar projects from happening - ones that might have less toxic leaders.

I should write a blog post about that because it seems to be an extremely common misconception.
by stalfie | 2025-10-25 12:00:20+00:00
To be fair, being knowledgeable about the pre-test probability of a patient having a certain disease vs the sensitivity/specificity of a test IS part of the ideal practice of medicine, although how important it is in practice varies somewhat between specialities. In rheumatology for instance, it is front and center to how you make diagnoses. I was in primary care for a short while myself, and on more than one occasion regretted deeply ordering certain rheumatological screening panels (which you get without asking for it when looking for certain antibodies).

Explaining to a parent the fact that their child did in fact not have a rare, deadly and incurable multi-system disorder even though an antibody which is 98% specific for it showed up on the antibody assay, that we took for an entirely different reason, is the kind of thing thats hard to explain without understanding it yourself.
by donatj | 2025-10-25 12:00:28+00:00
I work with a person where I know going into a review that I have to check every single file path. They have this weird ability to consistently put things in entirely the wrong folder/namespace. For example, something related to Categories might end up under Orders somehow... it's like new files just go in whatever folder they happen to have open at the time.

I frankly don't even know they do it so consistently.

Something to keep in mind in your reviews as well I guess, lol.
by hypfer | 2025-10-25 12:00:48+00:00
Business in this case means a clear transactional mindset. And you do get paid, just not in cash. You push your brand, your credibility as a security researcher and all that. You earn social credits and reputation.

And that is why you tried to hook people to watch your talk.

I bet the talk is good. Great, even. But this (maybe even not conscious) transactionality just does not belong in that space. HN, for example, is a much better place for it.
by FlameRobot | 2025-10-25 12:00:51+00:00
> I also get Joe Rogan, Jordan Peterson, Ben Shapiro, and other alt-right pipeline dorks in my recommendations solely because of my gender and age. I never engage with political content on YouTube and I’ve cleared my watch history multiple times, these still show up.

That doesn't happen. Firstly you literally click on the video and say "don't recommend channel" and you will never see a JRE episode again.

Also, just by how you phrased that whole paragraph. I don't believe you are telling the truth.

None of those characters are "alt-right". "alt-right" essentially means White Nationalist.

You cannot tell me that Jordan Peterson and Ben Shapiro are White Nationalists because of their support for Israel and one of them is Jewish. White nationalists really don't like Israel and Jewish people. They however were labelled as "alt right" to smear them, by other political commentators and publications who are typically on the left and American.

You would only use that framing if you were listening to those commentators and/or publications that used similar phrasing.

Also Jordan Peterson actually talked about addiction on a Joe Rogan podcast and it was one of the things that put me on the road to dealing with my drinking issues. I stopped listening to Joe Rogan about episode 1000 after they stopped being live and were prerecorded.

I have plenty of criticisms of them now. But I Jordan Peterson did help me at least indirectly. I don't watch either of them anymore and haven't watched them for quite a number of years at this point.
Show HN: Chonky – a neural text semantic chunking goes multilingual
by hessdalenlight | 2025-10-25 12:01:44+00:00
TLDR: I’m expanding the family of text-splitting Chonky models with new multilingual model.

You can learn more about this neural approach in a previous post: https://news.ycombinator.com/item?id=43652968

Since the release of the first distilbert-based model I’ve released two more models based on a ModernBERT. All these models were pre-trained and fine-tuned primary on English texts.

But recently mmBERT(https://huggingface.co/blog/mmbert) has been released. This model pre-trained on massive dataset that contains 1833 languages. So I had an idea of fine-tuning a new multilingual Chonky model.

I’ve expanded training dataset (that previously contained bookcorpus and minipile datasets) with Project Gutenberg dataset which contains books in some widespread languages.

To make the model more robust for real-world data I’ve removed punctuation for last word for every training chunk with probability of 0.15 (no ablation was made for this technique though).

The hard part is evaluation. The real-world data are typically OCR'ed markdown, transcripts of calls, meeting notes etc. and not a clean book paragraphs. I didn’t find such labeled datasets. So I used what I had: already mentioned bookcorpus and Project Gutenberg validation, Paul Graham essays, concatenated 20_newsgroups.

I also tried to fine-tune the bigger mmBERT model (mmbert-base) but unfortunately it didn’t go well — metrics are weirdly lower in comparison with a small model.

Please give it a try. I'll appreciate a feedback.

The new multilingual model: https://huggingface.co/mirth/chonky_mmbert_small_multilingua...

All the Chonky models: https://huggingface.co/mirth

Chonky wrapper library: https://github.com/mirth/chonky
by dns_snek | 2025-10-25 12:01:51+00:00
Stop painting everything so black & white. I am not arguing that it's impossible, nor that people have "no control" over anything. I am arguing that it's difficult and that it's ignorant and harmful to paint their problems as just "lack of discipline".

The problem is that dualists (like the person I originally responded to) assume that willpower is separate from physiology, therefore what's easy for them should be easy for others, and therefore if others can't achieve the same things they are achieving then they must be lazy, lack discipline, and don't deserve additional help or compassion.

These sorts of ignorant beliefs then shape policy and make it harder for people to get help to deal with their problems, perpetuating the cycle, for example the rather famous failure of "the war on drugs". That's the only thing I'm arguing - that people need to accept that addiction is a complex and individual health problem and to start treating it as such, it's the only way we're going to move forward.
by vlovich123 | 2025-10-25 12:02:27+00:00
I really don’t understand the questions and they bely an ignorance of things or are intentionally provocative (and not coherent) but I’ll try.

Firstly, the exploits in play would not be introduced by a “css whiz kid” first of all. Creating holes for rootkits like Pegasus requires deep low level expertise.

Secondly, AFAIK all the teams that would be involved on working on that are located in Cupertino - so these people had to relocate to the US.

But yes, I think finding anyone who was a child in Israel and didn’t serve in the IDF is very difficult. This is doubly-so for the tech sector since the IDF is often where they obtain their initial technical education and are serving between 18 and 21.

Unless you’re blanket just going to disallow recruiting from Israel or hiring people who moved from Israel to the US and might even be US citizens. But then you’re also going to have to explain why you’re applying this policy to Israelis and not Koreans, Singaporeans, Taiwanese, Norwegians, who have similar mandatory service requirements (plenty of countries do).

I’m not saying that Mossad don’t try to get their own secret agents working long term undercover in these places. But that’s also true of other secret services of enemies and allies alike and I would think they’re less likely to generate exploits intentionally and more likely to gather information and look for exploits by having access to source, documentation, and able to get information from peers. But Israelis having previously worked in the IDF doesn’t really provide any signal to me on the motivations or beliefs of that person.
by NemoNobody | 2025-10-25 12:02:32+00:00
Huh, that's very interesting. I've always considered Art to be timeless, bc it is, all of it. Davinci did a lot of cool stuff but the Mona Lisa made him the most famous person and I really don't see that changing. I have a painting hanging over my head rn whose artist died in the 1680s - the painting is over 100 years older than the Declaration of Independence and was brought over here on a ship with sails that took forever.

Impermanent art. That just bothers me.

An artist that dedicates their life to such a thing is like swimming in the fountain of youth without ever taking a drink.
by JCM9 | 2025-10-25 12:02:38+00:00
There was a time when the L7+ principal IC at Amazon/AWS were rockstars in our industry that represented the pinnacle of one’s career.

It’s been sad to watch the talent exodus there on my LinkedIn these last 12+ months as these folks flee the ship for elsewhere. So much experience and knowledge just gone and the bar for L7+ with those left has tumbled off a cliff.
by ileonichwiesz | 2025-10-25 12:03:08+00:00
> Urges of all kinds (never wanted to slap someone and didn’t?) can be overcome with an only a little discipline.

Okay, but where do you think that discipline comes from? Is it an inherent quality that a person is born with? I’d argue that it’s not, and it’s something that needs to be learned and exercised. Many people didn’t get the opportunity to learn it (yet?), and I don’t believe it makes them somehow inferior.
by danwills | 2025-10-25 12:03:29+00:00
Indeed! I rather like the idea that solitons are something like the simplest self-propagating 'things' in any medium/computation-reigeme, so gliders in Game-of-Life might qualify and in more complex/subtle systems they can have more complex behaviours as well (like bacteria, or flies? Hehe) Here's a fun example I made in gollygang/Ready (and Houdini) of PDE solitons that spin around with rippling wakes:

https://youtu.be/edNG2EJWQwQ?si=8b3YsHCDIaj0C7Pa
by Hilift | 2025-10-25 12:03:30+00:00
"fail to secure"?

Do you really think that with all of the years of iPhone device and account takeovers, from a text message requiring no reading or interaction, Apple with their maximum controlled walled garden aren't facilitating? Apple spent billions moving factories because the US government told them to. They are the keymaker.

Apple could do a lot of things, such as preventing the black market for stolen phones from existing. A single city, London, had 80,000 phones stolen in 2024.

"...Onwurah argued that "robust technical measures" such as blocking stolen phones taken overseas from accessing cloud services could make devices "far less valuable".

"She also pointed to comments by Mobile UK, the trade association of the UK's mobile network operators, who said blocking IMEI in other countries was a "necessary step to dismantle the business model of organised crime".

"However, she said when giving evidence, Apple, Google and Samsung had avoided saying why they would not implement the technology." <--**

https://www.bbc.com/news/articles/cx2y037pg41o
by kmacdough | 2025-10-25 12:03:47+00:00
For a business headed open source project, it's still about the community. In this case, the business tends to take a defining and often controlling role in the community. This has plusses and minuses. On the plus side, if a business has a vested financial interest in the project, there is financial incentive for continuity. On the minus, when the company's financial interest no longer aligns with the community, many of us retain scars from rug pulling and switcheroos.

So understanding the long term stability of a community is more than just checking whether there is a company backing the project. It is important to analyze the nature and diversity of interest. I think it's just as important that there exists a larger community that the business depends on for extra feature + bugfixing work which is capable of forking. When this is possible, it is much less likely to be necessary.
by rs186 | 2025-10-25 12:03:52+00:00
Yeah. I don't follow react closely, but I do know Vue.js is still in very active development and releasing new features because of all the real use cases/bug fixes. Some of the use cases or issues didn't exist back in 2010 (e.g. interoperability with custom elements). "Look at how little progress we've made" only reveals author's ignorance instead of saying anything meaningful or true.

Put it another way -- you can find those "minimal JS frameworks" and create this same demo easily, but it doesn't mean the other JS framework is all that one needs.
by mouse_ | 2025-10-25 12:04:00+00:00
P-zombies are one of those inactionable inconsequential things people like lesswrong enjoy, because you can talk about it at great length (indefinitely, even) while sounding smart and not necessarily saying anything useful to the rest of us.

The problem with AI is not that it "steals our souls" or whatever you're trying to say (though I must say I do enjoy a bit of spooky sentiment near Halloween!) - it's that it kills mental model diversity. If everyone solved problems the practical and socially accepted way, the Earth would still be flat and hygiene would still primarily consist of covering up bad smells.

The hard problems we face are hard because our model is wrong about them.
by JKCalhoun | 2025-10-25 12:04:07+00:00
I disagree, I guess, except for your comment: "and with million times more content"

That's it in a nutshell, I think. We had television at home since I was maybe 10 years old but the content that would interest a kid was very neatly time-slotted to small segments of each day (with Sunday being essentially an entertainment desert to a kid).

So TV was boring most of the day so we went outside, or if Winter, found ways to amuse ourselves indoors. I drew pictures, played board games with my sister, wired up a circuit with my 65-in-1 electronics kit…
by LtdJorge | 2025-10-25 12:05:05+00:00
When I stayed in California (Santa Barbara), I saw trucks everywhere, mainly carrying a few tools. To me, a European van like the typical Peugeot is much more useful, since it’s closed and a lot more fuel efficient.

Of note, there was a V10 straight-piped RAM in a jam due to construction. It sounded great, but it was obnoxiously loud, almost hurting.
Show HN: I made an anagram word game for mobile in C++ and Go
by ribach | 2025-10-25 12:05:06+00:00
My wife loves it - she's the one I made it for. She also helped shape it by playing early versions and giving lots of feedback. I hope you'll like it, too.

Here are some of the technical details for those who enjoy reading about that. The client was built in C++ using Axmol engine, while the server was built in Go. They communicate via HTTP and Websockets. The server is hosted on an AWS EC2 m6g.large instance, together with nginx, PostgreSQL and admin in Laravel. They are each running in their own Docker container, but all on the same instance. The game leverages Firebase Auth for user authentication. The code is hosted on Github and uses Github actions to compile, dockerize and publish a new version of any server component to the cloud. Is it overcomplicated for such a small game? Possibly yes, but I don't mind. It was also a learning experience for me to set it all up by myself. The total cost of the cloud is around US $30 per month, and the game doesn't earn enough to cover for it, but it doesn't matter, as I would've had an instance running there regardless (I have a 3-year commitment).

If you have any questions, just ask away. And if you want to try it for yourself, here's the link:

https://www.anagramarena.com/
by CaptainOfCoit | 2025-10-25 12:05:28+00:00
It's just flowery language, pretty common across the board in articles about culture, for better or worse.

My understanding of "sensationalist" is that something is grossly exaggerated in shocking way, not just trying to be "poetic", although I'd argue that what the author did in this article comes off as more "cringe" rather than "poetic".