MurphyA/hacker-news huggingface dataset:
by adam_perlinski | 2026-02-14 16:41:43+00:00
Yeah, dead simple actually. Here's a quick example:

import { init, linearRegression } from 'micro-ml';

await init();

// say your Chart.js data looks like this

const labels = [0, 1, 2, 3, 4, 5, 6, 7]; // hours or days

const values = [120, 135, 142, 138, 155, 160, 148, 152];

// fit a trendline

const model = await linearRegression(labels, values);

// predict the rest of the day (hours 8-23)

const future = Array.from({ length: 16 }, (_, i) => i + 8);

const predicted = model.predict(future);

// add it as a second dataset in Chart.js

chart.data.datasets.push({
label: 'Trend',
data: [...labels, ...future].map((x, i) =>
i < labels.length ? null : predicted[i - labels.length]
),
borderDash: [5, 5],
pointRadius: 0,
});

chart.update();

For the "incomplete day" case you're describing, you could also use `polynomialRegression` if the pattern isn't strictly linear, or `trendForecast` which gives you direction + strength + forecast in one call.

The whole library is ~56KB so it won't bloat your bundle for just trendlines - that was literally the original use case I built it for.
by Kim_Bruning | 2026-02-14 16:42:00+00:00
I'm updating my thinking. Where do we put the threshold for malice, and for negligence?

Because right now, a one in a million chance of things going wrong (this month) leads to a prediction of 2-3 incidents already. (anecdata across the HN discussions we've had suggests we're at that threshold already). And one in a million odds of trouble in itself isn't normally considered wildly irresponsible.
by Braxton1980 | 2026-02-14 16:42:06+00:00
This is why the both sides argument is frustrating to hear.

Yes. Both sides censor people. I'm sure we'll see a comment about Biden censoring anti covid vaccine posts and the poster is somewhat right.

The difference is the Republicans run on freedom of speech making them hypocrites.

Being a hypocrite is the worst attribute a politician can have in a representative democracy
by toshinoriyagi | 2026-02-14 16:42:56+00:00
I don't think immigrants make up the basis of the Swiss economy. Looking at their demographic data[1], it was pretty strongly European dominated for a very long time, and is still ~80% European.

When people talk about immigrants in this context, I don't think they mean people from the US, but lower socioeconomic asylum-seekers and refugees etc. from the middle-east.

It definitely seems their economy was built on European labor, which I believe the vast majority of European countries were.

[1]: https://en.wikipedia.org/wiki/Demographics_of_Switzerland#Pe...
by danko | 2026-02-14 16:43:44+00:00
Just wanted to say: thank you for making and maintaining this. I’m sorry that so many of the initial comments on this HN post are from one person complaining that their submissions didn’t get accepted. That’s the thing with the personal web: it’s personal! It’s what that person wants, which happens to be the thing that makes it great. If you don’t like it, the rest of the internet is still there.
by phicoh | 2026-02-14 16:43:59+00:00
The goal of Rust is not so much to avoid unsafe, the goal is to maximize safe code. The reason is that you don't have to check safe code for all the guarantees to get from the Rust language.

This has a big effect on unsafe code. When unsafe code gets called indirectly from safe code, the unsafe code has to make sure that whatever the safe code does, the result is still safe. This requires very careful design of the interface provided by the unsafe code.

I think it is a research question whether Zig would make writing Rust unsafe code a lot easier. In particular the boundary between safe Rust and unsafe code written in Zig could become very tricky. Possibly tricky enough that it would be as complex to write as unsafe Rust today.
by georgetyp | 2026-02-14 16:44:17+00:00
These models almost all rely on the assumption of stationarity the idea that the future will look like the past. But between rapid urbanization and shifting climate patterns, the historical data we use to build these curves is basically obsolete. We're essentially trying to navigate a new map using a 1970s compass. It’s not just that the models are misunderstood; the underlying data points are shifting faster than the bureaucracy can update the maps.
by Aurornis | 2026-02-14 16:45:10+00:00
Kickstarter is full of projects like this where every possible shortcut is taken to get to market. I’ve had some good success with a few Kickstarter projects but I’ve been very selective about which projects I support. More often than not I can identify when a team is in over their heads or think they’re just going to figure out the details later, after the money arrives.

For a period of time it was popular for the industrial designers I knew to try to launch their own Kickstarters. Their belief was that engineering was a commodity that they could hire out to the lowest bidder after they got the money. The product design and marketing (their specialty) was the real value. All of their projects either failed or cost them more money than they brought in because engineering was harder than they thought.

I think we’re in for another round of this now that LLMs give the impression that the software and firmware parts are basically free. All of those project ideas people had previously that were shelved because software is hard are getting another look from people who think they’re just going to prompt Claude until the product looks like it works.
by embedding-shape | 2026-02-14 16:45:52+00:00
> potentially even to domestic terrorist lists

Isn't this clearly the goal, not just "potentially"? Given they added a bunch of non-right-wing organizations to their "domestic terrorist list", even going so far as to add not just organizations, but also anyone who is against fascism can now be considered a "domestic terrorist".

It's so crystal clear what is happening from the outside, and also clear what's gonna happen in the next "elections" that people seem to think will be without interference. Why it seems like people are just accepting their fate at this point?
by basilikum | 2026-02-14 16:46:26+00:00
I like that they are integrated into the terminal and stay in the terminal. For most things my terminal multiplexer is essentially my tiling window manager and everything that breaks out of that via its own window is very unergonomic and breaks the structured logic of my workflow. Technically just having a full GUI inside the boundaries of a terminal would be fine for a lot of things. But it's also one of these things where constraints make a lot of things better. Many GUIs are just really bloated and bad. TUIs just do not allow a lot of the sins of modern GUIs.

I agree that they can get very clunky for non text based tasks or anything where you actually need custom text formating.
by bmitc | 2026-02-14 16:47:38+00:00
Iced indeed seems very neat. Egui is developed by a single person and so is Iced. The difference is that Egui has been quite stable whereas Iced has gone through several rewrites, as far as I can tell. It's why I didn't dive into it more, even though I like how Iced looks and focuses on the Elm model.
by galangalalgol | 2026-02-14 16:47:58+00:00
Taking in immigrants is a short term solution. Within one generation their fertility rate drops to match the local one. Which means you have to keep bringing in new ones. That means there is never time to integrate, leading to cultural clashes and second class labor. And unless you are pulling from Africa or a couple middle eastern countries, the source of immigration is also declining in population at this point so it isn't a permanent fix.

That said, the fix doesn't need to be permanent. The deceleration of fertility rates is the problem, not the velocity simply being negative. Japan is almost through their problem, as they started it first. Soon they will be on a constant downward slope. Which can be handled by productivity gains. Trying to use unlimited immigration to handle the deceleration bump will create more issues than it solves. Unless maybe if you are China... Their deceleration looks like a sharp edged cliff instead of a hill. Their productivity gains are also very non linear, so maybe that will make it less horrible.
by adrian_b | 2026-02-14 16:48:15+00:00
I have mentioned these things precisely because they are very little known by the general public and even by those who are supposed to be professionals in such domains. Because of this, references are scarce.

References about the platinum technology in South America before the arrival of the Europeans:

"Ancient Platinum Technology in South America, its use by the indians in pre-hispanic times", by David A. Scott and Warwick Bray, Institute of Archaeology, University of London, 1980.

"Metallurgy of Gold and Platinum among the Pre-Columbian Indians", Nature, 1936.

About the knowledge of the natural osmium-iridium alloy in the ancient Mediterranean world, there are several archaeology articles with chemical analyses of Egyptian gold artifacts, most of which contain as inclusions small nuggets of osmium-iridium alloy, whose cause is the fact that the gold was collected from river deposits, where the gold nuggets and the Os-Ir nuggets accumulate together, so when the gold was melted it incorporated the Os-Ir nuggets.

These archaeological finds match perfectly the description of adamant from Plato, where adamant is described as the "knot of gold", which is found together with gold, but it cannot be shaped like gold, because it is too hard and impossible to melt. The same description of adamant is provided by Pliny the Elder in his tenth book, which adds besides it the description of the Indian adamants, which are completely different from the classical adamant, being octahedral crystals, not metal nuggets, which matches what are now called diamonds.

The earliest reference to "adamant" is at Hesiod, who describes how Gaia has made a sickle blade from "grey adamant", for the castration of Uranus, which makes no sense as a reference to modern diamonds, which are neither grey nor suitable to be forged into a blade, but it makes perfect sense as a reference to the grey Os-Ir alloy, the hardest metal known to Hesiod, which humans were too weak to forge, but surely a huge goddess like Gaia should be able to forge.
by raincole | 2026-02-14 16:48:23+00:00
Yeah and the math doesn't check out.

For example, if in year N youtube has f(N) new video. Let assume f(N) = cN^2. It's a crazy rate of growth. It's far better than the real world Youtube, which grew rather linearly.

But the rate of "videos that are older than 5 years" is still faster than that, because it would be cubic instead of quadratic. Unless the it's really exponential (it isn't), "videos that are older than 5 years" will always surpass "new videos this year" eventually.
by jmbwell | 2026-02-14 16:48:44+00:00
I think fantastical isn’t totally inaccurate, and I’m not being snarky (for once). The personal observations and sometimes colorful language has been something I like about Ars. Benj in particular, with his warm tributes to BBSes. Or Jim Salter’s very human networking articles. The best stuff on Ars is both technically sound and rich with human experience. “Fantastical” taken to mean something like, capturing the thrills and aspirations that emerge from our contact with technology, seems fair I think.

I’ll be interested in finding out more about just what the hell happened here. I hardly think of Benj or Kyle as AI cowboy hacks, something doesn’t add up
by jasonhansel | 2026-02-14 16:49:06+00:00
I'm glad to see that Vim9 continues to make progress. The center of gravity may have shifted somewhat towards Neovim, but the Neovim ecosystem currently seems targeted towards people who want something more IDE-like.

One question is: will more plugin authors move to Vim9Script? It seems that Neovim users have generally moved towards Lua-based plugins, so there's less of a motivation to produce plugins that support both Neovim and Vim9.
by throwaway150 | 2026-02-14 16:49:40+00:00
To be fair, I appreciate the technical effort it takes to build and maintain a directory like this. Kudos to the author for creating this. I absolutely don't mean to be negative about it.

But as a user, it feels frustrating when I spend time making a bunch of submissions and I never hear anything back. But yeah, it's their website and their rules. Yes, it's one person making the decision. Yes, it's personal.

I was more interested in finding something less personal and more community-ish. where the power to add or reject submissions does not lie with one individual. Wouldn't that be nice?
by DetroitThrow | 2026-02-14 16:49:55+00:00
>with fewer footguns, easier to work with, easier to read and write, and easier to test.

With the exception of fewer foot guns, which Rust definitely takes the cake and Zig is up in second, I'd say Zig is in last place in all of these. This really screams that you aren't aware of C/C++ testing/tooling ecosystem.

I say this as a fan of Zig, by the way.
by treebeard901 | 2026-02-14 16:51:57+00:00
The mechanics of the cancellation by the guilt of association should be reconsidered. The focus needs to be on the ones who are accused of crimes or accused of obstructing justice at the justice system level which enabled this to continue for so many years. It may be another unpopular opinion but I also think more focus should be on his execution. There is enough circumstantial evidence to support the idea that he was given a summary execution. After all, any scientist who took money or was targeted by his network was only able to do that because he was not kept in prison. The lack of a trial, the questionable death of the main defendant, all of it creates an atmosphere of secrecy which enables the redactions on files released publicly to become sort of weaponized. The focus is kept everywhere but the people named most often or the redacted names who should be held accountable and face due process without being summarily executed.
by derleyici | 2026-02-14 16:52:24+00:00
This just makes no sense, because before all why 10 million? There is no scientific or proven reason for this number by the proposing party. The SVP argumentaire is 38 pages of cherry-picked stats but nowhere do they demonstrate why 10 million is the breaking point rather than 9.5 or 11. It is a round number chosen for a slogan.

The Federal Council's official message to Parliament dismantles the whole thing. Real GDP per capita grew 0.82 percent annually between 2002 and 2022, comparable to Norway, Austria, and Denmark. EU and EFTA nationals are net contributors to Swiss social insurance, paying significantly more into AVS, AI, and APG than they receive back.

The SVP frames asylum seekers as the most urgent part of the problem, but even counting everyone in the asylum system including recognized refugees you get about 1 percent of total residents. Meanwhile 64 percent of net migration in 2024 came from EU and EFTA countries, overwhelmingly people filling jobs. This is not an asylum crisis, it is labor migration the Swiss economy actively demands.

The initiative would likely require denouncing the ECHR, the Geneva Refugee Convention, and other human rights treaties to hit an arbitrary number. The guillotine clause means killing free movement also kills Schengen and Dublin. And the Federal Council already negotiated a safeguard clause with the EU that allows limiting immigration in justified cases without blowing up the entire bilateral relationship. That is a scalpel.

This initiative is a sledgehammer aimed at a number someone picked because it fits on a poster.
Show HN: Chuk.chat – Privacy-first AI chat with multiple models
by chukfinley2 | 2026-02-14 16:52:31+00:00
I built Chuk Chat because I wanted AI chat that doesn't treat my data as a product.

It runs only open-weight models: DeepSeek V3.2, Qwen3, Kimi K2.5, MiniMax M2.5, GLM 5. Encrypted chats, no tracking, fully deletable data.

€20/month flat, no token counting.

Available on Web, Windows, macOS, Linux, Android. iOS coming soon.

https://chuk.chat
by jodrellblank | 2026-02-14 16:52:34+00:00
To quote Supreme Court Justice Potter Stewart: "I shall not today attempt further to define the kinds of material I understand to be embraced within that shorthand description, and perhaps I could never succeed in intelligibly doing so. But I know it when I see it".

Ten whole questions which take ten seconds to give you the obvious answers that you are already expecting. How will lawmakers cope with that kind of complexity? (weary face emoji). Nobody can be trusted to make reasonable decisions about this[1]. We should do nothing! Accidentally banning a restaurant website would be awful and unfixable, whereas Facebook trying to attack millions of people's weaknesses is not a problem at all. Aren't you bored of that "aha gotcha" style of internet comment by now?

> "Your suggestion is, unfortunately, not implementable."

How about trying it before giving up? Cookie banners were implementable. Laws requiring ID schemes are being implemented. Know-your-customer laws have been implemented. GDPR has been implemented. HIPPA and Sarbanes-Oxley have been implemented. Anti-pornography laws have been implemented despite the gotcha of "but but how will anyone tell what's porn and what isn't?".

[1] "not making a decision" is a decision. Randomising things doesn't evenly distribute them and remove bias, it means you know longer know what bias is there. Companies are exploiting advertising - trying to avoid doing anything because it's hard is taking a position, and it's a position in favour of explotative advertising.
by allannienhuis | 2026-02-14 16:52:40+00:00
> I ain't giving people something for nothing
but I suspect you do, or would do that for your children or immediate family.

I'm just some dude on the internet, so my opinions are worth exactly what you're paying for them (nothing). But when I try to understand this type of thinking, this is what I come up with:

In the old days of scarce resources (vast majority of civilization), children were expected to 'repay' their elders for the care they received by taking care of them in their old age. And the competition for resources made this idea of keeping those resources for your family only important for survival.

But with the resources available today, the dynamics a very different. Currently only about 25% of total employment is in agriculture, worldwide. In the rich countries this is very significantly less. Canada is 1%, USA is 2% [worldbank]

But we're living with the cultural baggage of generations of scarcity and tribalism, which still shape our policy in a time of incredible resources provided by technology. So instead of more sharing, we choose higher standard of living for ourselves. I know it will take time to change this culturally - generations - but I'm still disappointed it's not happening faster.

[worldbank]:https://data.worldbank.org/indicator/SL.AGR.EMPL.ZS
by nilkn | 2026-02-14 16:53:17+00:00
Yes. Someone making one contribution among many to a paper clearly does not deserve anything like sole authorship credit of the entire paper, which is what the title from OpenAI falsely implies. I don't believe I'm being pedantic at all. And, by the way, high schoolers or college students make co-author-level contributions to real papers quite frequently in this country (I was one of them).

The text of the post is much more honest. The title is where the dishonesty is.
by abelanger | 2026-02-14 16:53:44+00:00
Hi, thanks! To be clear, the demo there is merely a WASM-based Ghostty build which is rendering the TUI on a web page, just so people could try it out without needing to install anything. The actual TUI runs in your terminal. I'm guessing it's the WASM side of things causing the fans to spin, which you wouldn't see locally.
by diffuse_l | 2026-02-14 16:54:43+00:00
Some minor nitpicks, but hey, we're counting registers, it's already quite nitpicky :)

Add far as I van remember, you can't access the high/low 8 bits of si, di, sp. ip isn't accessible directly at all.

The ancestry of x86 can actually be traced back to 8 bit cpus - the high/low bits of registers are remenants of an even older arch - but I'm not sure about that from the top of my head.

I think most of the "weird" choices mentioned there boil down to limitations that seem absurd right now, but were real constraints - x87 stack can probably traced back to exposing minimal interface to the host processor - 1 register instead of 8 can save quite a few data line - although a multiplexer can probably solve this - so just a wild guess.
MMX probably reused the register file of x87 to save die space.
by api | 2026-02-14 16:54:56+00:00
“We will do literally anything to make housing more affordable except build more of it.”

Forget where I first saw that but it’s absolutely true.

The left will try rent control, subsidies, taxes and prohibitions against speculation, banning AirBnB, etc. The right will try mass deportations and population caps.

Nobody will build more housing because that would work, and home owners are incentivized not to do anything that would work, and homeowners vote in much larger numbers.

The problem won’t be solved until renters out vote homeowners and until everyone who wants more affordable housing stops advocating the solutions that will not work.
Show HN: Arcmark – macOS bookmark manager that attaches to browser as sidebar
by ahmed_sulajman | 2026-02-14 16:55:24+00:00
Hey HN! I was a long-time Arc browser user and loved how its sidebar organized tabs and bookmarks into workspaces. I wanted to switch to other browsers without losing that workflow. So I built Arcmark, it's a macOS bookmark manager (Swift/AppKit) that floats as a sidebar attached to any browser window. It uses macOS accessibility API to follow the browser window around.

You get workspace-based links/bookmarks organization with nested folders, drag-and-drop reordering, and custom workspace colors. For the most part I tried replicating Arc's sidebar UX as close as possible.

1. Local-first: all data lives in a single JSON file ( ~/Library/Application Support/Arcmark/data.json). No accounts, no cloud sync.

2. Works with any browser: Chrome, Safari, Brave, Arc, etc. Or use it standalone as a bookmark manager with a regular window.

3. Import pinned tab and spaces from Arc: it parses Arc's StorableSidebar.json to recreate the exact workspace/folder structure.

4. Built with swift-bundler rather than Xcode.

There's a demo video in the README showing the sidebar attachment in action.
The DMG is available on the releases page (macOS 13+), or you can build from source.

This is v0.1.0 so it's a very early version. Would appreciate any feedback or thoughts

GitHub: https://github.com/Geek-1001/arcmark