MurphyA/hacker-news huggingface dataset:
by wink | 2025-09-11 13:49:08+00:00
> Node.js uses libuv, a C library that abstracts platform differences and manages async I/O through a thread pool.

> Bun does it differently. Bun is written in Zig, a programming language that compiles to native code with direct system call access:

Guess what, C/C++ also compiles to native code.

I mean, I get what they're saying and it's good, and nodejs could have probably done that as well, but didn't.

But don't phrase it like it's inherently not capable. No one forced npm to be using this abstraction, and npm probably should have been a nodejs addon in C/C++ in the first place.

(If anything of this sounds like a defense of npm or node, it is not.)
by chrismorgan | 2025-09-11 13:49:27+00:00
Direct link to the image, though you may have to fetch it through a non-browser to avoid it redirecting back to the stupid HTML: https://i.imgur.com/y93naNw.png

(I don’t know how it works for others, but it has always been atrocious for me. Their server is over 200ms away, and even with uBlock Origin blocking ten different trackers it takes fully 35 seconds before it even begins to load the actual image, and the experience once it’s finished is significantly worse than just navigating directly to the image anyway. Tried it in Chromium a couple of times, 55 and 45 seconds. Seriously, imgur is so bad. Maybe it ain’t so bad in the USA, I don’t know, but in Australia and in India it’s appallingly bad. You used to be able to open the image URLs directly, but some years ago they started redirecting to the HTML in general if not loading as a subresource or maybe something about accept headers; curl will still get it directly.)
by SR2Z | 2025-09-11 13:49:31+00:00
The "deportation of illegals" cannot reduce rents unless you think that undocumented workers are competing with Americans to pay $3k/mo rents in major cities, instead of living in RVs or cramming into small rooms.

It can increase rents because immigrants build houses and do mental jobs like cleaning.

> Could this be driven by the push to return to the office?

A little. People still want to live in desirable areas for reasons other than work.
by kccqzy | 2025-09-11 13:49:32+00:00
I tried drying linens and clothes outside the first time I moved from an apartment (with strict controls on what can and cannot be seen on the balcony) to a single family home. I quickly stopped because there was so much dust that would accumulate on your freshly washed clothes in the time they were hung outside. That's not to mention bird poop or feral cats deciding to do some stretching on your sheets.
by menaerus | 2025-09-11 13:49:44+00:00
Output as a result is 100mb. Process of compilation accumulates magnitudes more data. Evidence is the constant memory pressure you have in 32G or 64G or even 128G systems. Now given that the process of compilation on even such high end systems take non trivial amount of time, tens of minutes, what do you think how much data bounces from and in memory? It accumulates to a lot more than what you suggest.
by shoo | 2025-09-11 13:49:51+00:00
If you believe in long term mean reversion of CAPE ratio for US stocks, you'd expect price/earning multiples to contract by a factor of 2, over some hard to predict time frame, where CAPE reduces from 38 back to about 20. If we arbitrarily guess that contraction happens over 10 years, that'd be -6.7% / yr for 10 years, from 0.5^(1/10). Then add the return components you mentioned from dividends and earnings growth.

One approach I've seen a few folks do is to fit a regression model of annualized real stock market returns over the next 10 years as some function of CAPE or 1/CAPE or log(CAPE).

It doesn't give a very good fit on training data, R^2 in the range of 0.2-0.3, i.e. it cannot "explain" most of the variation in 10 year returns.

CAPE based regression models like that have said the US stock market has been overpriced for the last decade! But investors in the US stock market have done pretty well over that period, with really good returns. Maybe these models are accurate but we've just gotten lucky? Maybe these models aren't very good. Hard to tell.

Elm capital publish estimates of expected returns of a few asset classes quarterly: https://elmwealth.com/capital-market-assumptions/
by bluGill | 2025-09-11 13:49:53+00:00
I don't build linux from source, but in my tests with large machines (and my C++ work project with more than 10 million lines of code) somewhere between 40 and 50 cores compile speed starts decreasing as you add more cores. When I moved my source files to a ramdisk the speed got even worse so I know disk IO isn't the issue (there was a lot of RAM on this machine so I don't expect to run low on RAM even with that many cores in use). I don't know how to find the truth, but all signs point to memory bandwidth being the issue.

Of course the above is specific to the machines I did my testing on. A different machine may have other differences from my setup. Still my experience matches the claim: at 40 cores memory bandwidth is the bottleneck not CPU speed.

Most people don't have 40+ core machines to play with, and so will not see those results. The machines I tested on cost > $10,000 so most would argue that is not affordable.
by jzb | 2025-09-11 13:50:02+00:00
Immutable systems such as this one and Fedora's Atomics and CoreOS/Flatcar have their uses. Whether they make sense for you or for general desktop OSes is another question, but there are many situations where the approach makes a lot of sense.

Really, I don't see a lot of difference between immutable desktop OSes and Android or iOS. That model is not necessarily a bad one when you're rolling out systems that you don't expect the user to need to fiddle with the system management tasks you refer to. If I have 1,000 laptops to manage for a corporate environment, say, or for non-technical users who are not going to fiddle with drivers but might want to install Inkscape (or not).
by potato3732842 | 2025-09-11 13:50:04+00:00
>Are you sure about that? There are probably some differences in prevention and response, but also plenty of similarities too. Like better mental healthcare, outlawing private gun ownership, and teaching non-violent conflict resolution.

Targeting the overlap (mental health, guns, etc) is stupid and inefficient unless your goal is to take some action that can be done under that pretext and you don't really care about resource expenditure toward results. There's only so much political capital and surplus wealth round to be directed toward such ends. Something like gun control is massively political expensive. There's cheaper ways to get the same result.

I think the suggestion of addressing non-violent conflict resolution is a great example of that sort of "well I want to do a thing and this is my justification" because while it would certainly address the "traditional crime" end it's perhaps a generally good thing to do but it's not going to affect the mass shootings much because those people typically have little to no conflict with who they're shooting.

>So you're advocating for violence in response to speech?

Yes, and just to be clear I'm also advocating for all sorts of marginalization under the law short of violence leading up to that. Like all matters of law and social norms such marginalization is necessarily backed in violence though perhaps circuitously. The way I see it speech makes us all fractionally responsible for the results of what our words endorse. If society is willing to pay a bunch of cops to levy violence upon people over fairly petty misdeeds then I think it's at least arguably justifiable to direct the same kinds of violence at people who's speech greatly furthers tings and riles up people toward ends that are huge negatives. Politicians, news people, internet personalities ought not to be able to rile people up and then wash their hands of it saying that they were not there when the bricks got thrown or people to get shot.

I'm also aware that this is bad for freedom and human rights but that ship sailed so long ago. If we're going to have prolific law enforcement and subject as many things as we do to it, allegedly for the betterment of society, then screw it, lets' do speech too. If we're all gonna get stomped by the jackboot like this is singapore we might as well enjoy the upsides.
by a_paddy | 2025-09-11 13:50:10+00:00
The Irish were actually supportive of the founding of the State of Israel as there was a common bond as persecuted people. The Irish state did caution against the partition of Palestine due to the lived effect of the relatively recent partition of Ireland. It was only when the persecution of those that identified as Palestinian began, that Irish opinion swung against the actions of the State of Israel. https://www.theirishstory.com/2013/01/23/a-long-and-oddly-in...
by 9rx | 2025-09-11 13:50:42+00:00
> an argument is that tariffs should lead to higher prices for US consumers

At the same time, though, prices can never rise higher than the consumer is willing to pay. All else equal that ultimately needs to be true, but there are many variables that do not need to remain equal, so it is not a foregone conclusion.

The 2022 food crisis offered pretty good motivation for consumers to pay more — people were truly worried about going hungry there for a while, albeit thankfully that concern didn't last long. I'm not sure tariffs offer the same kind of motivation. I expect there is a strong "Haha. No. I'm not paying more for this arbitrary reason that can be (and probably will be) reversed on a whim." sentiment out there right now.
by jqpabc123 | 2025-09-11 13:50:50+00:00
Your phone sends the SMS using its own SIM plan — no extra per-SMS fees.

SMS on a typical phone plan in the USA is contractually limited to "personal use" only.

I've never experienced this personally, but I read that most carriers define "personal use" as a few hundred messages (1 message = 160 char. or less) per day. Automated high volume use can get your account suspended.

Also, your personal number will be available to recipients should they decide to reply. This also adds to this vaguely defined "personal use" limit.

Also, most carriers maintain an eMail to SMS gateway available for free "personal use". Just send a properly formatted email to the gateway domain and the body will be sent as SMS --- no additional charge. But the required gateway domain is that of the recipient's service provider. Low cost carrier lookups are available from various sources.

https://www.geeksforgeeks.org/techtips/forward-email-as-a-te...

https://github.com/mfitzp/List_of_SMS_gateways/

https://www.carrierlookup.com/
by zamadatix | 2025-09-11 13:51:19+00:00
> You put the things in quotation marks but I do not see these phrases in the thing to which you're commenting.

Quotes are overloaded in that they are used for more than direct citation. In this case: to separate the "phrase" from "the sentence talking about it" (aka mention distinction - as used here as well). "s are also seen in aliases, scare quotes, highlighting of jargon, separating internal monologue, and more. If it doesn't seem to be a citation it probably wasn't meant to be one. On HN, ">" seems to be the most common way to signal a literal citation of something said.

This is a fair enough, even more detailed, summary of the history, but I'm still at a loss for stitching this history to what KDE should be doing today. Similarly, for why this relationship results in good reasons for GNOME OS to exist but KDE Linux? E.g. are you saying KDE Linux should have been based on something like openSUSE (Plasma is the default there) instead of Arch, that they should have stuck to several more decades of not having a testing distro, or that they should do something completely different instead?

I don't use GNOME or KDE as my DE, so I genuinely don't know what GNOME might be doing that KDE should be doing instead (and vice versa) all that deeply. The history is good, but it's hard for me to weed out what should be applying from it today.

Or maybe I completely read to far into it and it was only a statement that GNOME has historically been more successful than KDE. It's known to happen to me :D.
by a_shovel | 2025-09-11 13:51:21+00:00
Something I've noticed from automatic palette mappings is that they tend to produce large blocks of gray that a human artist would never consider. You can see it in the water for most mappings in this sample, and even some grayish-brown grass for sRGB. It makes sense mathematically, since gray is the "average" color, and pixel art palettes are typically much more saturated than the average colors in a 24-bit RGB image. It looks ugly regardless.

CAM16-UCS looks the best because it avoids this. It gives us peach-and-pink water that matches the "feel" of the original image better. I wonder if it's designed to saturate the image to match the palette?
by xienze | 2025-09-11 13:51:27+00:00
> Human rights are famously almost impossible to clearly define

Actually, not really. Just apply the "desert island" thought experiment to any given "human right." If you're not afforded that "human right" should you wind up on a desert island one day, it's not really a "human right" but rather a "right" that requires state backing to exist (and subject to its whims as you pointed out).
by Someone | 2025-09-11 13:51:32+00:00
> So why does it take minutes to compile?

I’m not claiming anything about it being I/O or compute bound, but you are missing some sources of I/O:

- the compiler reads many source files (e.g. headers) multiple times

- the compiler writes and then reads lots of intermediate data

- the OS may have to swap out memory

Also, there may be resource contention that makes the system do neither I/O nor compute for part of the build.
by ho_schi | 2025-09-11 13:51:36+00:00
Looking at the examples from using Clang (I use GCC btw.):

clang++ -std=c++20 Hello.cppm --precompile -o Hello.pcm clang++ -std=c++20 use.cpp -fmodule-file=Hello=Hello.pcm Hello.pcm -o Hello.out ./Hello.out

Why is something which shall makes things easy and secure so complicated?

I'm used to:

g++ -o hello hello.cpp

It can use headers. Or doesn't use headers. I doesn't matter. That's the decision of the source file. To be fair, the option -std=c++20 probably isn't necessary in future.

I recommend skimming over this issue from Meson:

https://github.com/mesonbuild/meson/issues/5024

Reading the last few blog posts from a developer of Meson, providing some insights why Meson doesn't support modules until now:

https://nibblestew.blogspot.com/
by Gormo | 2025-09-11 13:51:51+00:00
> It is not defeatist drivel to argue for political action rather than trying to hit everything with a technological hammer.

I'd say it's actually worse than defeatist drivel, since it actively discourages an entirely feasible strategy of making bad laws difficult/impossible to enforce, and instead encourages people to squander their efforts and resources on fighting all-or-nothing political battles in the context of utterly dysfunctional institutions riddled with perverse incentives that no one at all in the modern world seems to be able to overcome.

The "political, not technical" argument is equivalent to telling people concerned about possible flooding that instead of building levees, they should focus all their efforts on trying to drain the ocean.
by duxup | 2025-09-11 13:52:11+00:00
There's no good description of the actual ban here?

At my kid's school phones and all other electronics can't be visible when class starts or ends or the teacher takes it.

I'm ok with that.

Some of the more universal bans I don't get, we should be educating kids on responsible usage, total ban seems like just pushing bad choices down the road.
Show HN: Typosquat Detective: Browser game to practice lookalike domains
by unknownhad | 2025-09-11 13:52:31+00:00
With the recent npm/Node.js supply-chain incident (phished maintainer, crypto-stealing code in 18 popular packages like chalk and debug) I thought it's a good moment to resurface a small side project:

Typosquat Detective : a 2-3 minute browser game to practice spotting typo squatted domains.

You will run into: • 1 ↔ l and 0 ↔ o swaps • Homoglyphs (Cyrillic/Greek that look Latin) • Punycode (xn--) tricks

Play it here: https://typo.himanshuanand.com/

I would love feedback scores and ideas for extra levels/brands.
by n4r9 | 2025-09-11 13:52:32+00:00
> individuals and attacks associated with left-wing causes are less likely to be violent

https://pmc.ncbi.nlm.nih.gov/articles/PMC9335287/

> right-wing actors are significantly more violent than left-wing actors

https://ccjs.umd.edu/feature/umd-led-study-shows-disparities...

> Numbers [of deaths] for right-wing extremist violence are far higher, with numerous high-profile terrorist attacks as well as lower-level assaults, vandalism, and other forms of violence. Since the 9/11 terrorist attacks, far-right extremists have killed 130 people in the United States, more than any other political cause, including jihadists.

https://www.brookings.edu/articles/countering-organized-viol...
by wdavidw | 2025-09-11 13:52:38+00:00
A few years back, I was deploying, operating and debugging a Hadoop cluster with Kerberos enabled behind a firewall with only the SSH port being opened. Without a web browser would have been a much more complicated task. I ended up installing the X11 client on my local macOS and the all Gnome + Firefox on one of the cluster's node. Something that is not doable with Wayland. This project work like a charm, here is a quick example on how to test it inside an Incus container (I had to install 2 additional dependencies).

# Work with Gnome terminal but resolution is much better in something supporting images apt install -y kitty kitty # Create an incus container incus --project default launch images:ubuntu/24.04 term incus --project default shell term # Install dependencies apt install -y curl firefox libharfbuzz0b libfontconfig1 curl -L -o term https://github.com/mmulet/term.everything/releases/download/0.5.1/term.everything.mmulet.com-dont_forget_to_chmod_+x_this_file mv term.everything.mmulet.com-dont_forget_to_chmod_+x_this_file term chmod u+x term echo '<h1>Hello</h1>' > test.html # Start firefox, wait for a few seconds ./term firefox test.html
by pbronez | 2025-09-11 13:52:46+00:00
I wonder how YouTube thinks about that.

They probably would prefer zero third party sponsors, because adding sponsored content dilutes the value of the on-platform ads. Features like “commonly skipped section” and the timeline view intensity histogram reduce the value of sponsorships.

But if they eliminated sponsors, creator revenue would drop significantly and so would content production.

The nuclear option would be to require all sponsored segments to register with YouTube. That would give YouTube way more control and dramatically reduce creators’ business flexibility (how do you tax a donated 3d printer?).
by ndsipa_pomu | 2025-09-11 13:53:08+00:00
Isn't it more likely that this is a false flag operation designed to distract from the Epstein birthday card signed by Trump? The timing is suspicious and there's certainly a lot of bandwidth given over to a single shooting, compared to the school shooting on the same day (three shot).

Kirk would seem like an ideal target as he has a high media profile and is not involved in running the government. I would guess that the aim is to promote civil war and thus provide an excuse for martial law.
by boplicity | 2025-09-11 13:53:24+00:00
So many things, once you start looking. However, most of the critics seem to focus on what it can't do currently, which seems to turn off their brains to the possibilities.

Just look at what Cursor (and similar) have done in terms of the tooling for LLMs. There's still tons of progress to be made there, but similar tooling can happen across a variety of industries and categories.

For example, I run a database of information that needs constant updating. I set up automated fact checking (with a human looped in), that enables nearly live updates, which would be incredibly expensive without an LLM. There are so many projects, big and small, just like that one, that are being created right now. The low hanging fruit is extremely abundant, for those who are able and willing to find it.
by spcebar | 2025-09-11 13:53:29+00:00
Nature is healing. Glad to see this. I was in high school when smart phones really became widespread, and was personally still on a flip phone most of the way through. I think there's something healthy to the boredom the kids describe, which ultimately leads to socialization and introspection. 24/7 social media seems like a very destructive portal to isolation, and having a reprieve from that, if only a few hours a day, seems like a great thing.
by Aurornis | 2025-09-11 13:53:30+00:00
Look at the actual deportation numbers. It’s barely on track to meet deportation rates from a decade ago.

Don’t believe the political rhetoric. They’re making a big show and behaving poorly with the masks and other abuses, but they’re not actually doing abnormally high deportations.

Note that any large country will have a steady flow of deportations due to basic enforcement of immigration laws.
by juliangmp | 2025-09-11 13:53:45+00:00
I think it still is in a "well technically its possible" state. And I fear it'll remain that way for a bit longer.

A while ago I made a small example to test how it would work in an actual project and that uses cmake (https://codeberg.org/JulianGmp/cpp-modules-cmake-example). And while it works™, you can't use any compiler provided modules or header modules. Which means that 1) so you'll need includes for anything from the standard library, no import std 2) you'll also need includes for any third party library you want to use

When I started a new project recently I was considering going with modules, but in the end I chose against it because I dont want to mix modules and includes in one project.
by m101 | 2025-09-11 13:53:49+00:00
12*0.4% is 4.8%

Inflation is running at an annualised 4.8%. The 2.9% number is backward looking.

Sure monthly inflation is more volatile, but the direction of travel is up, and that running average of 2.9% will be increasing slowly as it incorporates the recent higher prints.

Edit: the seasonally adjusted change is 0.4% actually, with the monthly change 0.3%
by bluGill | 2025-09-11 13:54:53+00:00
It isn't memory utilization it is bandwidth. The CPU can only get so many bytes in and out from main memory and only has so much cache. Eventually the cores are fighting each other for access to the main memory they need. There is plenty of memory in the system, the CPU just can't get at enough of it.

NUMA (non-unifrom memory access - basically give each CPU a serpate bank of RAM, and if you need something that is in the other bank of RAM you need to ask the other CPU) exists because of this. I don't have access to a NUMA to see how they compare. My understanding (which could be wrong) is OS designers are still trying to figure out how to use them well, and they are not expected to do well for all problems.
by kibwen | 2025-09-11 13:55:00+00:00
Dithering is sort of like having the ability to "blend" any two colors of your palette (possibly even more than any two, if you use it well), so instead of being a 16-color pallete, it's like working with a 16+15+14+13+12+...=136-color pallete. It's a drastic difference (at the cost of graininess, of course).
by bruckie | 2025-09-11 13:55:30+00:00
Seconded. I tell people it's several books in one, all of which are brilliantly executed:

- Biographies of the preeminent scientists of the 20th century

- A history of late 19th and early 20th century physics and chemistry. Much more technical than many history books, which is a drawback for some audiences, but probably an attraction for a lot of people here.

- A history of World War I and World War II

- A history of the engineering and operation of the Manhattan Project

Highly, highly recommended for this audience.

One caveat: I tried the audiobook and couldn't stand the narrator. Your mileage may vary, but I recommend reading it.