MurphyA/hacker-news huggingface dataset:
by embedding-shape | 2026-03-13 13:34:35+00:00
> Plot twist: anything original will look stupid

Clearly not true, lots of original things that instead looks like "Ah yeah, obviously, duh!" once they're public, rather than looking stupid. Browsers/WWW, the iPhone and putting wheels on suitcases are things that come into mind that the amount of people thought "looked stupid" was very low, and they became very popular relatively quickly.
Show HN: Oxyde – Pydantic-native async ORM with a Rust core
by mr_Fatalyst | 2026-03-13 13:35:12+00:00
Hi HN! I built Oxyde because I was tired of duplicating my models.

If you use FastAPI, you know the drill. You define Pydantic models for your API, then define separate ORM models for your database, then write converters between them. SQLModel tries to fix this but it's still SQLAlchemy underneath. Tortoise gives you a nice Django-style API but its own model system. Django ORM is great but welded to the framework.

I wanted something simple: your Pydantic model IS your database model. One class, full validation on input and output, native type hints, zero duplication. The query API is Django-style (.objects.filter(), .exclude(), Q/F expressions) because I think it's one of the best designs out there.

Explicit over implicit. I tried to remove all the magic. Queries don't touch the database until you call a terminal method like .all(), .get(), or .first(). If you don't explicitly call .join() or .prefetch(), related data won't be loaded. No lazy loading, no surprise N+1 queries behind your back. You see exactly what hits the database by reading the code.

Type safety was a big motivation. Python's weak spot is runtime surprises, so Oxyde tackles this on three levels: (1) when you run makemigrations, it also generates .pyi stub files with fully typed queries, so your IDE knows that filter(age__gte=...) takes an int, that create() accepts exactly the fields your model has, and that .all() returns list[User] not list[Any]; (2) Pydantic validates data going into the database; (3) Pydantic validates data coming back out via model_validate(). You get autocompletion, red squiggles on typos, and runtime guarantees, all from the same model definition.

Why Rust? Not for speed as a goal. I don't do "language X is better" debates. Each one is good at what it was made for. Python is hard to beat for expressing business logic. But infrastructure stuff like SQL generation, connection pooling, and row serialization is where a systems language makes sense. So I split it: Python handles your models and business logic, Rust handles the database plumbing. Queries are built as an IR in Python, serialized via MessagePack, sent to Rust which generates dialect-specific SQL, executes it, and streams results back. Speed is a side effect of this split, not the goal. But since you're not paying a performance tax for the convenience, here are the benchmarks if curious: https://oxyde.fatalyst.dev/latest/advanced/benchmarks/

What's there today: Django-style migrations (makemigrations / migrate), transactions with savepoints, joins and prefetch, PostgreSQL + SQLite + MySQL, FastAPI integration, and an auto-generated admin panel that works with FastAPI, Litestar, Sanic, Quart, and Falcon (https://github.com/mr-fatalyst/oxyde-admin).

It's v0.5, beta, active development, API might still change. This is my attempt to build the ORM I personally wanted to use. Would love feedback, criticism, ideas.

Docs: https://oxyde.fatalyst.dev/

Step-by-step FastAPI tutorial (blog API from scratch): https://github.com/mr-fatalyst/fastapi-oxyde-example
by PaulHoule | 2026-03-13 13:35:21+00:00
That last one is talked about in the article -- it sucks!

I think if you were going to "downsample" for the purpose of creating a color set you could just scan through the picture and randomly select 10% (or whatever) of the pixels and apply k-means to that and not do any averaging which costs resources and makes your colors muddy.
by gosub100 | 2026-03-13 13:35:25+00:00
I want reverse age verification that lists the ages of every social network post. I think a lot of people that criticize social network toxicity don't realize their interlocutors are half their age. It's not one-to-one, meaning maturity doesn't follow from age, but I think there would be some affordances made in both directions. A younger person would be less surprised that a 60+ yr old would hold certain views. And vice versa.
by mike_hearn | 2026-03-13 13:35:37+00:00
I read the article and had the same question. It's written in such a way that it feels like it's answering these questions without actually doing so.

The right thing to benchmark against isn't a regular transformer, it's a transformer that writes programs that are then interpreted. They have a little visual demo where it looks faster but only because they make Python absurdly slow, and it's clearly not meant to be a real benchmark.

I spent the whole article thinking, wow, cool, but also ... how is this better than an LLM steering a regular computer? The closest we get is a statement about the need to "internalize what computation is" which doesn't say anything to me.

Fundamentally, running actual instructions on a real CPU is always going to be faster than running them via a neural network. So the interesting part is where they say you can backprop through it, but, ok, backprop is for cases where we don't know how to encode a function using strict logic. Why would you try and backprop through a Sudoku solver? It's probably my imagination is just limited but I could have used more on that.
by bojan | 2026-03-13 13:35:48+00:00
Russia is not a _physical_ threat outside of its immediate proximity.

But they invest large amounts of money to propaganda channels everywhere, have direct military influence in large parts of Africa, are known to poison people in the UK and elsewhere, etc.

> its relative strength has only lessened over the decades
Russia is not a _physical_ threat outside of its immediate proximity.

But they invest large amounts of money to propaganda channels everywhere, have direct military influence in large parts of Africa, are known to poison people in the UK and elsewhere, etc.
by orwin | 2026-03-13 13:35:55+00:00
No. 80% of the British wanted to avoid war with Germany, for different reasons, and 15% even voted for someone whose main campaign idea was an alliance with them. The bombing campaign radicalised the vast majority of British voters, even those in less affected areas.

(Btw, the only recent documented instance of machine gun mowing down people is Saudi police mowing down Somali workers).

60% of the Iranian population polled were against the bombing during the 12 day war, bombing that, unlike this one, didn't break too much civilian infrastructure (targeting desalination plants is something I thought even Russia wouldn't do, but well, I shouldn't hold US army and Tsahal to the same standards). And that's with most observers saying that only 20-25% of the population support the regime in 'normal' time.

You had thousands dead, 50k people in prison waiting for the death penalty, a leader on his deathbed, and rather than waiting for the internal tensions between army branches to break the regime, the US chose to martyr the almost dead, suffering leader, consolidating his successor power, and eliminating and opposition in the more laical army. Nice fucking job. Now the army and the clerical police are aligned.

Even when you organize and plan correctly a regime change, a few unlucky breaks and you create a Lybia. Going there gung-ho was truly a spectacular choice, and managed to put Komenei son in place without any power struggles that could have been instrumentalized.
by mvdwoord | 2026-03-13 13:35:58+00:00
Love you too!

(to clarify, the concrete has nothing to do with the seismic risks, and is solely intended to make it impossible to extract gas later, which some people see as a valid way to lower potential seismic impact in the future due to no extraction... as if it is the only way to deal with seismic risks... and the whole point of the profits being ample to mitigate any economic loss is that people's houses can be either made resistant, or, you know, we could buy affected people a brand spanking new house)

Good luck with the rest.
by Sammi | 2026-03-13 13:36:07+00:00
> I've seen people do integration tests where 99% of the time is spend creating and recreating the same database over and over again (some shitty ruby project more than a decade ago). That took something like 10 minutes.

For anyone that doesn't know: With sqlite you can serialize the db to a buffer and create a "new" db from that buffer with just `new Datebase()`. Just run the migrations once on test initialization, serialize that migrated db and reuse it instantly for each test for amazing test isolation.
by graemep | 2026-03-13 13:36:17+00:00
In the UK parents can give children alcohol below the age of 18. parents get to make the final decision at home so I do not think its really comparable.

I would personally favour allowing parents to buy drinks for children below the current limits (18 without a meal, 16 for wine, beer and cider with a meal).

The alternative to this is empowering parents by regulating SIM cards (child safe cards already exist) and allowing parents to control internet connectivity either through the ISP or at the router - far better than regulating general purpose devices. The devices come with sensible defaults that parents can change.
by stingraycharles | 2026-03-13 13:36:28+00:00
How would it work when you’re making Anthropic API calls? Wouldn’t an LLM have to invoke this, and as such, somehow the LLM needs to invoke this MCP tool (which is done using a tool call ie an answer from the LLM) before sending the request to Anthropic?

I am so confused why you chose an MCP server to solve this, wouldn’t a regular API at least have some merit in how it could be used (in that it doesnt require an LLM to invoke it) ?
by swat535 | 2026-03-13 13:36:36+00:00
Yes, these are true, doing the right thing, eating well and taking caring of yourself is not a magical bullet.

However it's irrefutable that exercising, sleeping and nutrition improves your health.

Will it prevent you from ever getting cancer? no, but it sure helps.

My mother passed away from cancer, she always exercised and took care of herself, it made the quality of her life much better. Looking back, she would have suffered much more had she not done that.
by PeterisP | 2026-03-13 13:36:59+00:00
That would be a violation of the copyright law or the GPL licence - you aren't permitted to take GPL code and redistribute it with some extra restrictions added on to it.

If it's not (fully) your code, you aren't free to set the licence conditions; Linus can't do that without getting approval from 100% (not 99% or so) of authors who contributed code.

What one can do is add an informative disclaimer saying "To the best of our knowledge, installing or running this thing in California is prohibited - we permit to do whatever you want with it, but how you'll comply with that law is your business".
by bregma | 2026-03-13 13:37:01+00:00
The Linux kernel is licensed GPLv2. The GPLv2 license forbids adding addition terms that further restrict the use of the software.

A "Linux distro" is not the Linux kernel. It's possible for some distros to add such license terms to their distribution media, but others like Debian and Debian-based ones adhere to the GPL so no go.
by fhdkweig | 2026-03-13 13:37:24+00:00
Could you define the acronym "e/acc"? DDG seems to think it means: "What Does E/Acc Stand For, And What Does It Mean? E/acc stands for the phrase effective accelerationism, and it basically indicates one's personal ideological belief that artificial intelligence will one day become an all-powerful being that can fix the vast majority of humanity's problems."

I don't think I have ever heard a MAGA talk about AI.
by ndriscoll | 2026-03-13 13:37:31+00:00
That's not a problem of age verification. That's a problem of what qualifies for liability and what is protected speech, and the same questions do exist in physical space (e.g. Barnes and Noble carrying books with adult themes/language).

So again, assuming we have decided to restrict something (and there are clear lines online too like commercial porn sites, or sites that sell alcohol (which already comes with an ID check!)), why isn't liability for online providers the obvious conclusion?
by jjice | 2026-03-13 13:37:54+00:00
800 lines config to compile code that's later interpreted is wild. I get the general idea behind having a script instead of a static config, so you can do some runtime config (whether or not we should have runtime changes to config is a different conversation), but this is absurd.

I'm a big believer in fully reviewing all LLM generated code, but if I had to generate and review a webpack config like this, my eyes would gloss over...
by FrankWilhoit | 2026-03-13 13:38:09+00:00
Up the road from me (Licking County, Ohio), two new dedicated gas-turbine generating plants are being built to serve new data centers. The (24-inch, 12-mile) gas pipeline to serve them was built over the coldest part of winter -- the contractor were obviously scrambling to get it done and invoice it before the bubble pops. They had a huge number of crews working on it simultaneously, and nearly around the clock, to get it done faster. The wait for gas turbines is still, as far as I am aware, five years. The data centers and power plants are one road over from the Intel fab. None of this stuff will ever open. It will all be white elephants.
by rich_sasha | 2026-03-13 13:38:20+00:00
My favourite bit of Biblical trivia. Consider this passage from the Revelation of St John: https://www.biblegateway.com/passage/?search=Revelation%208%... describing, perhaps, events leading to the end of the world:

> The third angel blew his trumpet, and a great star fell from heaven, blazing like a torch, and it fell on a third of the rivers and on the springs of water. The name of the star is Wormwood. A third of the waters became wormwood, and many people died from the water, because it had been made bitter.

"Wormwood", a type of bitter plant, translates to Russian as "Chernobyl", and Ukrainian "Chornobyl": https://en.wikipedia.org/wiki/Chernobyl > Etymology
by roywiggins | 2026-03-13 13:38:22+00:00
Even easier is just using an X server, if you have it set up properly you just need to run the remote app and the window pops up on your machine.

(I think terminal-based GUIs are neat just for fluidity of use- you can pop one open during a terminal session and close it without switching to mouse or shifting your attention away from the terminal. They can also be a nice addon to a primarily CLI utility without introducing big dependencies)
by NoMoreNicksLeft | 2026-03-13 13:38:23+00:00
You haven't really paid attention, I guess.

Entire trees of invitees, going back months and years, are pruned. Mercilessly, indiscriminately, and self-servingly for the few people privileged enough that they are above suspicion. And if you're unlucky to be on the wrong side of it, there's nothing like an appeals process.

>and doesn't abuse the invite system

That's wild.

>When things go bad, it's usually not because of malice,

I never said it was malice. It's because the system itself is pathologically flawed and there's no way to make it work.
by AnimalMuppet | 2026-03-13 13:38:24+00:00
But does it start the discussion off on the entirely wrong foot? If Putin endorses Dugin's book, requiring the military academies to read it, don't we have fairly high confidence that it is at least close to Putin's position?

So I don't think it's the entirely wrong foot. It's a shortcut and an imprecision, but the point (that Putin actually thinks this) seems to be valid. (Though one should have less than 100% certainty that it represents his position - but with Putin, that should apply to a direct quote as well.)
by Aurornis | 2026-03-13 13:38:46+00:00
The parent commenter was mixing two concepts together.

DDR4 training is not defined. It’s vendor-implemented.

If you want to work with a vendor’s memory controller chip, you need the documentation for that chip.

So the secret isn’t memory training (the topic of this article) it’s just proprietary chips on motherboards. Memory training is only one of many things that have to be reverse engineered or known for an open firmware.
by orra | 2026-03-13 13:38:51+00:00
Oh! This is cool. When they announced it 5 months ago it looked interesting, but it wasn't open source. Discussion at the time: https://news.ycombinator.com/item?id=45537035

With this being open sourced, and being the integration and creation of several fast components, this becomes an obvious recommendation for JS/TS. Similar to Cargo for Rust and uv for Python, yes?
by _pdp_ | 2026-03-13 13:39:03+00:00
Am I the only one who thinks the recent TUI explosion is absolutely not necessary?

I mean yes, code editor are great for this but a lot of the TUIs I see are so slow it begs the question why they exist to begin. CLIs are supposed to be remixable and scriptable.

I think a better architecture would be to generally keep CLIs work like CLIs and have separate processes that add terminal rendering functionalities for those that need / want it but in general it is an anti-pattern to start from this as default.
by mikkupikku | 2026-03-13 13:39:04+00:00
Bitch please, mouse events work over SSH just fine and enabling that virtually the only legitimate reason, other than style and fashion, to make a TUI instead of a real GUI. Since the whole point of a TUI is to show off your "hacker man" aesthetic, the more fancy features you can cram into it the better. Mouse clickable tabs isn't even very exotic, vim and emacs both have it, even htop has it, I wouldn't count it as fancy and just table stacks for any modern TUI.
by mattkevan | 2026-03-13 13:39:17+00:00
I sometimes think there should be a completion state to capitalism.

When you reach an arbitrary score, like $100 million, you get presented with a cup that says ‘congratulations, you won capitalism’ on it and are given the choice of either playing again from the start but this time on hard mode, or keeping your winnings but fucking off to an island somewhere to never be seen or heard of again.

Seriously though, that billionaires can exist, that so much power and wealth can be concentrated in the hands of so few while so many have nothing is utterly repugnant.
by bee_rider | 2026-03-13 13:39:18+00:00
I’m surprised the baseline to compare against is shrinking the image to one pixel, that seems extremely hacky and very dependent on what your image editor happens to do (and also seems quite wasteful… the rescaling operation must be doing a lot of extra pointless work keeping track of the position of pixels that are all ultimately going to be collapsed to one point).

So, making a library that provides an alternative is a great service to the world, haha.

An additional feature that might be nice: the most prominent colors seem like they might be a bad pick in some cases, if you want the important part of the image to stand out. Maybe a color that is the close (in the color space) to the edges of your image, but far away (in the color space) from the center of your image could be interesting?
by tbyehl | 2026-03-13 13:40:15+00:00
Nonono, despite my outward white appearance, I follow the sage wisdom of Chris Rock[0]. It's so I have enough advance notice to blast "Fuck the Fire Department" so we can share a nice laugh at the historic rivalry between LE / FD.

[0] How Not To Get Your Ass Kicked by the Police: https://www.youtube.com/watch?v=uj0mtxXEGE8
by Bender | 2026-03-13 13:41:06+00:00
App and website developers shouldn't be burdened with extra costly liability to make sure someone's kids don't read a curse word, parents can use the plethora of parental controls on the market if they're that worried.

App and website operators should add one static header. [1] That's it, nothing more. Site operators could do this in their sleep.

User-agents must look for said header [1] and activate parental controls if they were enabled on the device by a parent. That's it, nothing more. No signalling to a website, no leaking data, no tracking, no identifying. A junior developer could do this in their sleep.

None of this will happen of course as bribery (lobbying) is involved.

[1] - https://news.ycombinator.com/item?id=46152074
The spec said "handle user input securely." Three teams interpreted this differe
by Lliora | 2026-03-13 13:41:16+00:00
The spec said "handle user input securely." Three teams interpreted this differently.

Team A built a fortress - every form field got sanitized, validated, escaped, then re-validated. User registration takes 47 seconds but by god it's bulletproof.

Team B went minimalist - "security through simplicity." Strip everything to alphanumeric. Emoji? Denied. Apostrophes? Suspicious. John O'Brien becomes JohnOBrien and learns to live with it.

Team C implemented quantum security - the form both accepts and rejects input until observed. They spent three weeks on this. Nobody knows if it works. They're afraid to check.

The real kicker? All three passed security review. The spec was technically satisfied.

How do you write specifications that don't require telepathy? Do you specify the exact validation rules? Provide examples? Or accept that "secure" means different things to different people?

#DevLife #Programming #Security #SoftwareEngineering #TeamWork
by kivle | 2026-03-13 13:41:24+00:00
There used to be a lot more of that, but a system was put in place where you have to identify yourself with electronic ID to access the information, and the information is logged so the other party can see it.

Nowadays I think mostly journalists use it to pull up information about politicians and other people that are in the public spotlight. There are of course the yearly "richest people in Norway" lists in various categories.
by I_Nidhi | 2026-03-13 13:41:46+00:00
In biological age clocks, the kind COSMOS used, skin is one of the primary tissues researchers use to validate them. Epigenetic methylation patterns in skin cells are among the most studied markers precisely because skin is accessible and responds visibly to the same aging processes the clocks are trying to measure from blood.

The COSMOS trial gives everyone the same pill and measures a whole-body average signal from blood samples. It can't tell you which vitamin drove the effect or where in the body it's acting. It's a limitation of what a broad systemic intervention can tell you. The more targeted work is happening at the tissue level.

In skin specifically, L'Oréal and UC San Diego looked at 1,000+ subjects in 2024 and found that bacterial diversity in the skin microbiome correlates directly with both chronological age and wrinkle depth. They're building these as actual measurable aging biomarkers. Unilever's 2025 study also showed that people whose facial microbiome had higher Acinetobacter and lower Staphylococcus aureus were read as biologically 5–7 years younger. Many other companies are also researching biomarkers for skin anti-aging, and now the longevity trend is being seen in the food industry as well.

Microbiome as a modifiable aging clock is where the real specificity is starting to come from. I work in this space, and we recently mapped where this research is heading. We also did a session exploring the underlying science if you want to go deeper: https://greyb.com/resources/skin-microbiome-beauty/

L'Oréal Study: https://www.frontiersin.org/journals/aging/articles/10.3389/...
Unilever Study: https://academic.oup.com/bjd/article/193/Supplement_2/ii24/8...
by yuppiepuppie | 2026-03-13 13:41:49+00:00
> Voting, debate, democracy are for people that are on the same team.

Im sorry, but I dont agree with this one bit. Debate and the spread of ideas that you think are good is really the only thing that is lasting, regardless of which "team" you are on.

I also dont think America(ns) have been on the same team for its entire history. Its not a very recent phenomenon that neocons have pioneered.

> You do not vote your way out of these problems.

Are you suggesting something else?