frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Primate Is the Last Great Web Framework

https://superarch.org/theanswerisc/primate-is-the-last-great-framework.html
31•terrablue•1h ago

Comments

fron•1h ago
Why use light gray code highlighting on a light background? Most of the code blocks are unreadable due to this.
terrablue•59m ago
Hey, thanks for the feedback, sorry for that. Should be fixed now.
wduquette•1h ago
We used to call this “middleware”, that which sits between the client and the server.
brightball•46m ago
I never understood that terminology since the middleware was always on the server too.
macintux•42m ago
I thought of middleware as sitting on one server, with the database behind it typically on another.
elliotec•37m ago
It can be on the client side. Middleware just means something between the operations of the application on a server and operations of the application on a client. Doesn't matter where it sits, it's just the link.

But to the parent comment, yes, I agree, this is a middleware.

echoangle•1h ago
Last or latest? I don’t get where the title comes from.
ademup•49m ago
My clients and colleagues are bragging about "headless web sites", by which they mean "sites built without WordPress (and kin)", by which they mean "sites built entirely using the English language via AI"

In that sense, the author might be implying that "web framework" may soon be a thing relegated to history

graypegg•44m ago
Wait, is that what headless means now in the agency world!? I remember headless meaning the CMS wasn't the software serving the initial request, it just provided an API that some HTML/CSS/JS on S3 or something would consume.
wredcoll•56m ago
The idea of the web-router "owning" the database fills me with a visceral sense of loathing.

Data is always the important part of any real program.

replygirl•45m ago
the connection, schema, and migrations are all separated so looks pretty easy to swap in your own ORM or have another service own data
jazzypants•43m ago
Yeah, this was the big red flag for me too. If you're going to try to decouple things, the last thing you should do is add more coupling.
terrablue•36m ago
Just a quick mention that there is next to no coupling. If you don't use `primate/store`, none of the ORM code gets pulled in. You could be using any other database client.

The same applies to sessions, i18n, or any frontend. They're all either path'd imports or distinct packages.

eithed•39m ago
The only place it make sense to me is the validation = at the route level you want to ensure that the given model exists / request attributes defining relationship (pivot), are there. This is how Laravel does this. Having said that this should be responsibity of domain rather than application
louiev•52m ago
bro at least give your frameworks main website a non-ai UI lol
wuliwong•30m ago
Making burner accounts for HN are ridiculous.

L(° O °L)

giraffe_lady•50m ago
cgi bin with extra steps.
graypegg•48m ago
I might be missing something here, but I'm struggling to understand why the concept of mixing up implementation details by request path is desirable.

Maybe for colocating a legacy application with a new application that's slowly strangling it [0], but for a new application, this seems antithethical to using a framework in the first place. I can't say for sure why you liked Laravel, but I like Laravel/Rails/et.al. because I don't have to make decisions about the parts of the application that aren't unique to what I'm building.

This just allows you to yak shave on a route-by-route basis?

[0] https://en.wikipedia.org/wiki/Strangler_fig_pattern

petra•44m ago
I think the next popular web framework would be something that would be optimized against llm code generation. So that the end result would be secure. correct. scalable(and scaling should be done by an llm).
tqwhite•44m ago
In a related idea...

https://jslightning.com

Sort of a PHP-like, folder based web serving tool that executes Javascript. Very quick and fluid.

dkarl•36m ago
> But web applications are not just pipelines of isolated tools. They are full of shared assumptions: request shapes, validation boundaries, session handling, rendering, routing, serialization, deployment targets.

Some of those things are specific to web applications. Others are not. It's fine for web-specific logic to be tied to all of the shared assumptions of a web framework, but application logic should not be. As the architecture evolves, the application logic may need to be run in other architectural contexts: as a message consumer, inside an orchestration framework, etc.

That's one of the most painful things about PHP. Entire businesses get built around business logic in PHP backends, and then when you need to execute that logic in a different architectural context, every line of it has to be rewritten, because it's too much work to extricate it from the context of serving web requests.

If you are designing your framework to contain application logic, then it should look ahead to the possibility of that logic being used in a different architectural context. It should facilitate and encourage writing application logic that is agnostic of the web context. Otherwise you're encouraging people to repeat the mistake of PHP all over again.

jjice•32m ago
If you work in a legacy PHP codebase, it's inevitable that you'll see $_GET in the middle of what you thought could be isolated business logic. The coupling that was done in my experience old PHP codebases is awful.

I guess I can't blame PHP because it comes down to the devs to enforce decent boundaries, but I think PHP makes it easier than others to do so.

PHP is so much better now, but if you're writing PHP, there's a very good chance you're not working with that new, clean PHP.

evolve2k•35m ago
Coming from Rails, which I’m sure informes part of the philosophy I really like this.

One design value of Rails is “Convention over configuration”, or what I sometimes explain as smart defaults over having to decide everything.

I see this is an area this project can help with; thought through folder and naming conventions; wrestling with issues at the seem between common tools. Making doing things the right way way (like database migrations) becomes the easiest way to do it; most of the time.

A bundle of smart conventions and ways of working that cuts down yak shaving and sometimes solves arguments as the project can be; well we thought on this a lot more than most of you and we’ve gone with this approach to stick these together and if you only half care now you can get this done for free for your apps.

deepsun•35m ago
I remember at the beginning Google didn't want to share their SOTA datacenter with public, considering it a market advantage. So instead of raw VMs they decided to promote the "framework" model, where all the seams are polished, under the name of Google App Engine.

I remember we've been going through a security audit, and many of their questions were about ports security and server access -- well, we did not even have SSH access at all, and only 80/443 ports were accessible. It was a breeze.

However, as market has shown, people really do want finer control, SSH root access, and custom ports. Along with many more fine-tuning. For example, GAE autoscaler did not reassign a request that triggered a new instance, waiting for it to start for 20s even though all requests completed within 200ms, so other workers were available, but the request waited for its own instance to wake up.

So I'm skeptical of "seams hidden" approach, as over and over again I needed to tune that one hidden seam.

ligarota•31m ago
Astro js can also handle multiple framework?!

As astro islands

threethirtytwo•27m ago
woah cool, I'll ask my agent if it likes this better. If so I'll have it start using it!
Kalanos•26m ago
It's an MVC that handles realtime frontend without React?
gitpusher•22m ago
The English language has no words (yet) to capture that special combination of nausea and embarrassment one feels when they commit in good faith to reading a long piece of prose... only to slowly realize the whole thing is AI generated. But I'm feeling it more and more often these days.
jottinger•8m ago
Does that have something to do with OP's post, though? I mean, it's written like someone who's mostly formally familiar with English. Maybe your infamiliarity with formal English itself is factoring in, because the AIs are ALSO formal in diction?

I didn't get the same "AI wrote this" that you did, but I get a lot of people saying "AI wrote this" to stuff I definitely wrote by hand, all the way.

gavino•20m ago
Honestly, why make it complicated. Just use Rails, and actually ship things.
turtlebits•14m ago
Great frameworks have great CLI tooling and just work. Be opinionated and consistent. The fact that this supports multiple frontends and multiple runtimes is a hard no for me, already know that it's going to be a massive headache to debug.

Running Gemma 4 26B at 5 tokens/sec on a 13-year-old Xeon with no GPU

https://www.neomindlabs.com/2026/06/08/running-gemma-4-26b-at-5-tokens-sec-on-a-13-year-old-xeon-...
72•neomindryan•2h ago•26 comments

Mysteries of Telegram Data Centers

https://dev.moe/en/3025
162•theanonymousone•4h ago•43 comments

Open-source memory for coding agents, synced over SSH

https://github.com/vshulcz/deja-vu/
37•vshulcz•1h ago•10 comments

Show HN: misa77 - a codec that decodes 2x faster than LZ4 (at better ratios)

https://github.com/welcome-to-the-sunny-side/misa77
52•nonadhocproblem•1h ago•9 comments

Collection of Digital Clock Designs

https://clocks.dev
27•levmiseri•1h ago•5 comments

Prioritize mental health, and why communication is so important

https://ramones.dev/posts/mental-health/
201•ramon156•6h ago•112 comments

Jurassic Park computers in excruciating detail

https://fabiensanglard.net/jurrasic_park_computers/index.html
806•vinhnx•14h ago•208 comments

Artie (YC S23) Is Hiring Software Engineers

https://jobs.ashbyhq.com/artie
1•tang8330•54m ago

Launch HN: Coasty (YC S26) – An API for computer-use agents

https://coasty.ai/docs
17•nkov47•2h ago•0 comments

Sleep regularity is a stronger predictor of mortality risk than sleep duration (2023)

https://academic.oup.com/sleep/article/47/1/zsad253/7280269
554•bilsbie•6h ago•270 comments

My midlife crisis Corolla is fast, furious, and modded

https://www.zocalopublicsquare.org/my-midlife-crisis-corolla-fast-furious-fully-modded/
60•gmays•3h ago•113 comments

Towards a Harness That Can Do Anything

https://eardatasci.github.io/c/ambiance/index.html
93•evakhoury•3h ago•52 comments

When A.I. Is a Member of the Family

https://www.newyorker.com/magazine/2026/07/20/when-ai-is-a-member-of-the-family
29•fortran77•2h ago•28 comments

US Debt Clock Live

https://www.us-debt-clock.com/
8•ourmandave•45m ago•0 comments

A General Goal-Conditioned Minecraft Model

https://pantograph.com/journal/pan-1
12•agajews•1h ago•5 comments

The Memory Heist

https://www.ayush.digital/blog/the-memory-heist
41•eieio•22h ago•3 comments

Unsolved Problems in MLOps

https://spawn-queue.acm.org/doi/pdf/10.1145/3762989
15•gnyeki•1h ago•2 comments

The well-calibrated Bayesian [pdf] (1982)

https://fitelson.org/seminar/dawid.pdf
39•Murfalo•3h ago•11 comments

The Three-Second Theft: Why AI Voice Fraud Outruns Every Defence

https://smarterarticles.co.uk/the-three-second-theft-why-ai-voice-fraud-outruns-every-defence
120•dxs•4h ago•153 comments

Today I Rescued 7,234 Old GIFs

https://danq.me/2026/07/10/rescuing-7234-gifs/
25•birdculture•2d ago•1 comments

OpenAI loses trademark dispute at EU court

https://dpa-international.com/economics/urn:newsml:dpa.com:20090101:260715-930-389143/
114•hermanzegerman•3h ago•98 comments

What designing 54 computer science cards taught me about graphic design

https://fhoehl.com/designing-algodeck
12•marukodo•1h ago•3 comments

Weathergotchi – an open-source climate Tamagotchi

https://github.com/Michael-Manning/E-Paper-Climate-Logger
92•luanmuniz•6h ago•22 comments

The Conservationist Who Turned 40 Terabytes of Public Data into a Video Game

https://blog.exe.dev/meet-the-conservationist-who-turned-40-terabytes-of-government-data-into-a-v...
61•bryanmikaelian•1d ago•10 comments

SpaceX bond worth 10% less than issue price – heading for junk bond status

https://www.ft.com/content/3a023b95-66c3-41e1-b0ce-df752a499541
458•youngtaff•4h ago•383 comments

DEA to Temporarily Schedule 7-Oh and Related Substances to Protect Public Safety

https://www.dea.gov/press-releases/2026/07/01/dea-temporarily-schedule-7-oh-and-related-substance...
61•gnabgib•2h ago•111 comments

What Every Python Developer Should Know About the CPython ABI

https://labs.quansight.org/blog/python-abi-abi3t
30•matt_d•3d ago•4 comments

FreeBSD 16 Retires the Last of Its GPL Code from Its Base System

https://www.phoronix.com/news/FreeBSD-16-Goes-GPL-Free
23•lr0•1h ago•0 comments

Show HN: 18KB ls alternative in no_std rust and Libc

https://crates.io/crates/fli-tool
14•tracyspacy•4h ago•3 comments

What's the most popular number in Hacker News titles?

https://blog.omgmog.net/post/most-popular-numbers-in-hn-post-titles/
37•omgmog•5h ago•19 comments