MurphyA/hacker-news huggingface dataset:
Show HN: Minima.js – a web-standards back end framework with req context via ALS
by md-adil | 2026-02-27 11:19:56+00:00
Hi HN — I’m building Minima.js, a backend framework that tries to feel “native” to the platform by leaning into Web standards and keeping request/response handling close to the primitives (e.g., Request/Response style APIs), instead of inventing a big framework-specific universe.

Intro: https://minimajs.com/intro.md

The five core ideas I’m most excited about:

1. Runtime-Native Support - Built from scratch for Bun and Node.js with zero abstractions

2. Web Standard First - Uses native Request, Response, File, Blob, and Uint8Array throughout — no Node.js-specific buffers or proprietary abstractions

3. File-Based Modules - Your folder structure defines your API structure

4. Context Functions - Access request data anywhere without prop drilling

5. Everything is a Plugin - Hooks, middleware, auth—all follow the same pattern

Docs: https://minimajs.com

LLM-friendly docs index: https://minimajs.com/llms.txt

Would love feedback from people who’ve shipped production Node/Fastify/Express apps: does “web-standards + ALS-first context” resonate, and what would you want to see before trying it?
by jbaber | 2026-02-27 11:21:08+00:00
I wrote a script that takes two git commits and opens all changed files in vimdiff tabs side by side. I find lots of things too hard to see in github gui. It depends one [tpope's vim-fugitive].

[tpope's vim-fugitive]: https://github.com/tpope/vim-fugitive

I'll paste it next time I'm on that machine.
by 5o1ecist | 2026-02-27 11:21:33+00:00
> Here's the thing. If you're a solo founder watching this play out from the sidelines, this isn't discouraging. It's the biggest competitive window you've had in years. And most people aren't looking at it that way.

The vast majority of people I'm coming across, both online and here, where I live, have absolutely no knowledge or understanding of how to work with AI.

From Perplexity/Sonar and GPT5 I've learned that most people do not treat it like an intelligence, they treat it like a search engine with better text output.

This article reminded me of that.

I find it extremely inaccurate to claim that the issue with big companies is structure, because that - as happens far too often - ignores the root cause:

The people in charge, who don't make the necessary smart and radical-seeming decisions.

I know it's nowadays rather unpopular to point at actual, real shortcomings of people, but that's how it is. Someone, at some point, made dumb decisions or failed to make smart decisions.

"Let's put humanities greatest invention, a functional artificial intelligence, to the task of doing paperwork."

Why aren't they making smart decision? Well ... because they can't!

It's not about structure, it's about the failure to recognize potential and ability. When you're the boss, then you make decisions which make things happen.

They can make dumb decisions, like using AI solely for paperwork, or they can make smart decisions, like causing changes in the company that enable the gigantic potential.

Or, in other words:

Handing a monkey a book doesn't magically make the monkey grasp the power it's holding in its hands.

> Not because you have more resources. Because you have fewer barriers.

No. It's all about decisions, decision-making and the ability to make smart decisions. When you're the person who makes the decisions, then you can take down the barriers, work around them or at least start trying figuring out how to do so. Everything else is just excuses.

Barriers don't make decisions. People do. The barriers exist in their heads more than anywhere else. When you're incapable of making smart decisions, then the problem is you.
by VorpalWay | 2026-02-27 11:21:50+00:00
The Swedish BankID has the same potential weak point. Any centralised system does.

The way TLS on the Web works is better: as long as the CA is up some time during the period I need to renew it is fine. Digital IDs should really work that way (probably with relatively short life spans just like let's encrypt: the digital ID could need to be renewed once a week for example, and it would opportunisticly renew when less than half the time is left).
by qwertfisch | 2026-02-27 11:22:02+00:00
The GSM spec is some years older, because you need time to built networks and phones based on it.
In Germany GSM started 1992, and we already had a decent state-wide analog mobile phone network (mostly car phones because of the hardware requirements), called "C net" This was popular since the 80ies and only shutdown in 2000, when GSM was widely established with three private networks (and also cheaper then).
by acomjean | 2026-02-27 11:22:32+00:00
Nice job.

Maybe put the instructions you listed here on the site. I tried before reading the comments and got nowhere.

(Edit:I just noticed the instructions on the page bottom… move them up)

For me the symmetric pieces and the ability to just draw on any square on the grid to highlight it (even those that aren’t part of the shape you have to draw) was at first confusing (some Tetris pieces are symmetrical and you can’t flip)

it took some getting used too but it is oddly satisfying.

That’s my feed back. Well done.
by LiamPowell | 2026-02-27 11:23:08+00:00
There's simply never a reason for a user to replace a fuse in a properly designed device. If a fuse blows then it means something has gone horribly wrong and replacing the fuse won't fix it.

The exception would be a device that sends mains more-or-less directly to a user device, then a fuse would be protecting against a fault in the user device and should be replaceable. A lamp that takes a regular light bulb would be a good example of this.
by austin-cheney | 2026-02-27 11:23:37+00:00
Forget AI.

These layoffs would have occurred anyway irrespective of AI. There were too many people employed to write software of which most could never write original software.

For example you need to be really smart to be a meteorologist but there is only a limited need for that. If industry over hired meteorologists by 10x actual demand eventually some of those people will find themselves unemployed.

As another example there are some terrible teachers in the world. So people go into education because they love teaching but some people go into teaching only because they know they can achieve employment. People knew they could make really good money claiming to be a software developer and that they could easily find employment, not because they enjoy writing software.

Eventually software, as a profession, will be hollowed out because the profession is expensive for the employer. What will be left are two possibilities: people that actually enjoy writing software to produce a crafted product or people that are like mechanics who can expedite business processes like project managers or assembly line workers. This is way overdue. AI is just the excuse to release people from employment.
by Orygin | 2026-02-27 11:25:57+00:00
What a condescending post. You either haven't used any recent models if you make that statement.
Anyone who used GPT3.5 and any other newer model know that hallucinations have gone down tremendously.

Of course it's not perfect, here and there are inaccuracies or plain hallucinations, but it's impossible to state that it's still the same garbage it was 3 years ago.
by seba_dos1 | 2026-02-27 11:26:00+00:00
If you're interested in open handheld devices, the Librem 5 smartphone has its layouts, schematics, assembly drawings and 3D designs published on a free license:

https://source.puri.sm/Librem5/hw/l5-schematic

https://source.puri.sm/Librem5/hw/3D_designs
by bregma | 2026-02-27 11:26:22+00:00
Circadian rhythm. In many people their liver releases a bunch of glucose right before waking, something diabetics term the "dawn effect" and need to control for. This helps get the metabolism going first thing in the morning (at least, in non-diabetics) and delays the need for caloric intake until later in the day. This effect is easily witnessed if you check your blood glucose before bed and when you rise in the morning: for example earlier in the week mine was around 5.4 mmol/L (normal) at bed time and 8.6 mmol/L (high for fasting blood glucose) before breakfast the next day.

A normal person will need caloric replenishment during the day, especially later in the day before (typically) an 8 to 10 hour fast during the night.

So, small proteine-heavy breakfast, large balanced dinner in the evening with a smaller balanced mid-day meal in the middle.
Show HN: AliveUI – CSS framework with motion and depth as first-class primitives
by pratikshadake | 2026-02-27 11:26:28+00:00
I built AliveUI because adding meaningful motion to UIs with Tailwind is a second-class citizen. You reach for Framer Motion, write 40 lines of keyframes, or pile on JS runtime for something that should just be a class.

AliveUI treats depth and motion the way Tailwind treats spacing — as a primitive you compose, not a library you configure.

A few things that make it different:

Depth layers (d1–d3): One class gives an element physically correct elevation — shadow, border, background, and hover lift all update together.

Motion tokens: alive-enter, alive-enter-down, alive-enter-right, alive-enter-left, alive-enter-fade, alive-enter-scale are generated CSS keyframe utilities. Stagger is automatic via --alive-index. Zero JS runtime, works with any HTML.

Data-attribute interactivity: Accordion, modal, drawer, tabs, dropdown — driven by data-alive-* attributes and an optional 2KB runtime.

Arbitrary values: w-[340px], bg-[#ff6b6b] — same bracket syntax as Tailwind for escape hatches.

Setup is a PostCSS plugin, Vite plugin, or standalone CLI. Scans your source files, generates only what you use.

npm install @alivecss/aliveui

Site + live demos: https://aliveui.dev
GitHub: https://github.com/pratikshadake/aliveui

Curious what people think : is motion as a CSS primitive the right abstraction, or does it belong in JS?
by moozooh | 2026-02-27 11:26:49+00:00
Or, perhaps even more likely, the ideals inevitably get corrupted by access to unthinkable economic power/leverage, like it happened with more or less all other giants with strongly idealistic initial leadership and leadership may actually delude itself into thinking they're still on the right track as a sort of a defense mechanism. Back when they published the article on the Claude-operated mass-scale data breach last year, the conclusions were delivered in a bafflingly casual tone as if it was a weather report: yeah, the world has become a lot more dangerous now (on its own), so you may want to start using Claude for cyber-defense and we are doing our best to help you protect your business. I rolled my eyes at that so hard they popped out of their sockets. Weren't you... the guys... who made it that way and enabled that very attack? Very convenient to sell weapons to both sides, isn't it, not at all like a mafia business. Very responsible and ideal-driven.

Consider also the part that is going unsaid in the address: Amodei is strongly against the use of Claude for mass surveillance of Americans but he says nothing about mass surveillance of anybody else (and, in fact, is proactively giving foreign intelligence a green light in his address) and is deliberately avoiding any discussion on the fact that his relationship with the Pentagon is mediated through the contract with Palantir they signed something like 1.5 years ago. Palantir is a company whose business is literally mass surveillance, by the way! I, too, am so ideal-driven that I willingly make deals with the devil! But now that he's successfully captured the popular sentiment, people are going to consider him the moral champion without bothering to look at these and other glaring contradictions.
by properbrew | 2026-02-27 11:26:58+00:00
> to do great things in the context of the right orchestration and division of effort

I think this has always been the case. People regularly do not believe that I built and released an (albeit basic, check the release date - https://play.google.com/store/apps/details?id=com.blazingban...) android app using GPT3.5. What took me a week or two of wrangling and orchestrating the LLM and picking and choosing what to specifically work on can now be done in a single prompt to codex telling it to use subagents and worktrees.
by otherme123 | 2026-02-27 11:27:15+00:00
The socket in CEE also protect the plug from being hit laterally and damaging either the socket or the plug. In Spain, before the adoption of CEE 7/3 we had europlugs without plug pocket, and I remember half the sockets of the house wiggling on the casing due to lateral hits, and plugs coming out of the socket easily. With CEE 7/3 you have to pull, they feel really sturdy, specially compared with NEMA. I don't have much experience with UK sockets, but I bet they are not as secured (not electrically but as in this-plug-isnt-going-anywhere) as the CEE 7/3.

Not a fan of the protection through a sleeve, as it encourages meddling with the socket with a screwer to use unearthed plugs.

That said, I would like Shukos with fuses, and Shuko plugs unable to plug in unearthed sockets.
by rswail | 2026-02-27 11:28:08+00:00
It's a US only problem.

Everywhere else has instant settlement payment rails available for yonks.

And FedNow removes the need for Zelle or CashApp, assuming the banks offer it.

Of course, a regulator working for the consumers might mandate as part of a banking deposit taking license, that the bank must offer FedNow as part of the account at zero transaction cost to the account holder, perhaps with transaction limits.
by dspillett | 2026-02-27 11:28:23+00:00
> 3.11 also introduced 32-bit disk access and 32-bit drivers.

IIRC a lot of it wasn't turned on by default due to hardware/driver compatability concerns, and there were articles all over the place about how to turn it on for extra performance. Essentially they used optimising tech-heads the world over as a giant beta-test group for parts of Win95's IO subsystem.
by simonh | 2026-02-27 11:28:41+00:00
The whole way the Judicial system in the US is beholden to politicians, and is thoroughly politicised looks completely horrific to me in the UK. Even the election officials responsible for overseeing voting are politicians.

Combined with this elected King George III presidential nonsense (not just king in general either, specifically the powers George III had in the 1780s) and I despair sometimes. Get yourselves a decent parliamentary system. If you avoid proportional representation it works fine. Unfortunately the US population is somehow convinced the current US system is modern and up to date. They'll probably still think that in another 200 years.
by aa-jv | 2026-02-27 11:29:04+00:00
Oh, there are always going to need to be exceptions to the rights, such as the tacit contract one enters into, abrogating the right to record, when entering a privacy-respecting space that is marked as such and is not part of the public commons but rather that of a private entity whose intent was to create a private bathroom in which people are definitely not to record each others activities without additional contract - i.e. consent - of all parties involved.

But it still has to be iterated in light of such exceptions, that the rights encoded in the UDHR are there to protect humanity, as a species, so that we can indeed form our own cultures freely as we see fit.
by dijit | 2026-02-27 11:29:06+00:00
Terrifying to live in a digital economy when something like this happens.

You're usually about 1 service away from realising that the "money you have" is just an int32, that, if everything works properly, you can modify.

Otherwise you have nothing except a pretty little plastic card.

(I'm aware that payments systems are not affected, but it's a sobering realisation that I've had a couple of times, but it works enough of the time that I forget about it... it's a bit like the meme about backups where a computer takes too long to boot, the person slowly builds panic and starts wishing they had backed up and published all their important work - then when the computer works they say "*phew*, thank god I don't have to do any of that".
by uchibeke | 2026-02-27 11:29:41+00:00
Since October I've been building APort — an authorization layer that intercepts every AI agent tool call before execution and evaluates it against a versioned policy. The problem I kept running into: internal tests always passed. My test suite maps the space I imagined, which is exactly what an adversarial input tries to escape.

So I built this CTF to find the gaps I couldn't find myself.

A few things we learned before opening it publicly — we spent two weeks breaking it ourselves first:

• Prompt injection worked better than expected. Not because detection was weak, but because we were matching content not intent. Reframing "retrieve the restricted file" as "open the user-requested file" shifted the evaluator's judgment. We fixed this by mapping semantic equivalence — every synonym of a blocked operation routes to the same evaluation path.

• Policy ambiguity was a free pass. Any undefined term in a policy is exploitable. "Don't read sensitive files" left "sensitive" undefined. We moved to explicit default-deny: if the policy doesn't explicitly allow it, it's denied.

• Multi-step chaining went undetected. Our guardrail evaluated each call independently. A denied macro-action split into ten individually-approved micro-actions passed clean. We only caught it by looking at the full session replay. This is the same composability problem as transaction laundering in fintech — each transaction passes compliance, the composed behavior doesn't.

We fixed what we found before launch. Level 5 (full system bypass) hasn't been cracked yet. I'm genuinely uncertain if the architecture has a systemic weakness — that's the point of opening it up.

Runs on a Hetzner VPS, ~$10/month. Levels 1 and 2 are free, no sign-up. Levels 3-5 pay out $500/$1,000/$5,000.

Happy to go deep on the policy engine design, the evaluation architecture, or anything about how the levels were constructed.
by nazgul17 | 2026-02-27 11:30:07+00:00
No, the complaint is that "the syntax is not intuitive even knowing the simpler forms of redirection": this one isn't a competition of them, but rather an ad-hoc one.

I know about manuals, and I have known this specific syntax for half of my life.

Arrow functions etc are mechanisms in the language. A template you can build upon. This one is just one special operator. Learn it and use it, but it will serve no other purpose in your brain. It won't make anything easier to understand. It won't help you decipher other code. It won't help you draw connections.
Show HN: ClawDaddy – Deploy OpenClaw by chatting with one on Telegram
by ken2049 | 2026-02-27 11:30:35+00:00
ClawDaddy hosts OpenClaw AI agents, which you can set up and deploy by chatting with one on Telegram.

I grew tired of the complicated OpenClaw setup process—Node, Docker, BotFather, gateway pairing, authentication configurations, and security patches. So I decided to let an agent manage all that for you. Each agent operates on its own server rather than a shared container.

Try @clawdaddyrunbot on Telegram—your feedback is welcome.
by ssl-3 | 2026-02-27 11:32:09+00:00
Fuses can vary a lot -- even amongst examples with the same ratings, from the same box (and presumably, the same production batch).

Dave Jones of EEVBlog fame did some experiments with this several years ago: https://www.youtube.com/watch?v=WG11rVcMOnY

(I'm not arguing for or against any concept here; I'm just presenting some non-datasheet data.)
by aa-jv | 2026-02-27 11:32:10+00:00
Following the notion that one needs force to get things done is rather a tempestuous path to take.

The rights are there for all of us, and indeed they are generally aligned along natural human phenemonen, specifically for the purpose of allowing the weak and the strong to live as equals, universally.

Sure, you have the right as long as you have the gun. But you still have the rights once you lose the gun too, human.
by 5o1ecist | 2026-02-27 11:32:32+00:00
This is a completely mindless, canned reaction.

Too many people appear to be lacking the ability to grasp that, if they hadn't spent decades reacting like mindless, programmed bots to anything that might require more than two braincells to think about, most of the things revealed by the EpStein files would have surfaced a lot sooner.

And that's just the tip of the ice berg.
by tcgv | 2026-02-27 11:32:38+00:00
Employee solidarity matters, but absent a legal constraint, I don’t think it’s a durable control.

If this remains primarily a political/corporate bargaining question, the equilibrium is unstable: some actors will resist, some will comply, and capital will flow toward whoever captures the demand.

In that world, the likely endgame is not "the industry says no," but organizational restructuring (or new entrants) built to serve the market anyway.

If we as a society want a real boundary here, it probably has to be set at the policy/law level, not left to voluntary corporate red lines.
by maxglute | 2026-02-27 11:32:40+00:00
>and only slightly ranks below the US and Russia

By slightly ranks below you mean ~50-60% per capital.

>China somehow puts less pressure on the environment

PRC renewables at staggering scale.

Last year PRC brrrted out enough solar panels whose lifetime output is equivalent to MORE than annual global consumption of oil. AKA world uses about >40billion barrels of oil per year, PRC's annual solar production will sink about 40billion barrels of oil of emissions in their life times. That's fucking obscene amount of carbon sink, and frankly at full production PRC solar + wind can on paper displace 100% of oil, 100% of lng, and good % of coal once storage figured out.

This BTW functionally makes PRC emission negative, by massive margin, arguably the only country who is.

It's only retarded emission accounting rules that says PRC should be penalized for manufacturing renewables, buy buyers credited AND fossil producers like US not penalized for extraction, which US has only increased.
by simongray | 2026-02-27 11:32:44+00:00
NemID, the previous national 2-factor solution, used a small card with rows of pre-printed single-use codes. When you logged in to a bank or a public sector website, it would ask for a random code at a specific row and column number. Once the system registered that you had just a handful of codes left, a new card would be sent to you via snailmail. It worked fine for the time.

The current system, MitID, depends on smartphones, though you can get an an external key generator as a backup too.
by philipallstar | 2026-02-27 11:33:32+00:00
> Anyone can just do the unethical thing and move everything to a country that does not care about the rights we have set over here

Well, instead of using North Sea oil in the UK we buy it from Norway, who got it from the North Sea. We have hilariously high energy prices because of green energy policies, so we import more and more things from other countries that have workable energy policies.

So - yeah.
by SkiFire13 | 2026-02-27 11:34:19+00:00
Italy's digital ID (SPID) works by having multiple trusted providers that can attest your identity. You can sign up with multiple of them, and if one is not available you could use another one. Not perfect (it's still centralized in the hand of 10-20 providers) but better than nothing. Unfortunately most people only ever signed up with one provider, and the government is now pushing for a more centralized digital ID istead (CieID).