frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

It's hard to justify Tahoe icons

https://tonsky.me/blog/tahoe-icons/
16•lylejantzi3rd•22m ago•3 comments

Databases in 2025: A Year in Review

https://www.cs.cmu.edu/~pavlo/blog/2026/01/2025-databases-retrospective.html
160•viveknathani_•5h ago•48 comments

Decorative Cryptography

https://www.dlp.rip/decorative-cryptography
100•todsacerdoti•3h ago•26 comments

A spider web unlike any seen before

https://www.nytimes.com/2025/11/08/science/biggest-spiderweb-sulfur-cave.html
104•juanplusjuan•5h ago•43 comments

Anna's Archive Loses .Org Domain After Surprise Suspension

https://torrentfreak.com/annas-archive-loses-org-domain-after-surprise-suspension/
121•CTOSian•1h ago•37 comments

Revisiting the original Roomba and its simple architecture

https://robotsinplainenglish.com/e/2025-12-27-roomba.html
43•ripe•2d ago•18 comments

Show HN: Circuit Artist – Circuit simulator with propagation animation, rewind

https://github.com/lets-all-be-stupid-forever/circuit-artist
31•rafinha•4d ago•1 comments

Lessons from 14 years at Google

https://addyosmani.com/blog/21-lessons/
1317•cdrnsf•20h ago•582 comments

Ask HN: Help with LLVM

20•kvthweatt•2d ago•3 comments

The unbearable joy of sitting alone in a café

https://candost.blog/the-unbearable-joy-of-sitting-alone-in-a-cafe/
659•mooreds•21h ago•394 comments

During Helene, I just wanted a plain text website

https://sparkbox.com/foundry/helene_and_mobile_web_performance
243•CqtGLRGcukpy•9h ago•131 comments

Why does a least squares fit appear to have a bias when applied to simple data?

https://stats.stackexchange.com/questions/674129/why-does-a-linear-least-squares-fit-appear-to-ha...
257•azeemba•15h ago•70 comments

Building a Rust-style static analyzer for C++ with AI

http://mpaxos.com/blog/rusty-cpp.html
69•shuaimu•7h ago•32 comments

Street Fighter II, the World Warrier (2021)

https://fabiensanglard.net/sf2_warrier/
393•birdculture•21h ago•70 comments

Monads in C# (Part 2): Result

https://alexyorke.github.io/2025/09/13/monads-in-c-sharp-part-2-result/
34•polygot•3d ago•28 comments

Show HN: Terminal UI for AWS

https://github.com/huseyinbabal/taws
328•huseyinbabal•15h ago•167 comments

I charged $18k for a Static HTML Page (2019)

https://idiallo.com/blog/18000-dollars-static-web-page
325•caminanteblanco•2d ago•83 comments

Logos Language Guide: Compile English to Rust

https://logicaffeine.com/guide
43•tristenharr•3d ago•24 comments

Baffling purple honey found only in North Carolina

https://www.bbc.com/travel/article/20250417-the-baffling-purple-honey-found-only-in-north-carolina
91•rmason•4d ago•23 comments

Web development is fun again

https://ma.ttias.be/web-development-is-fun-again/
409•Mojah•21h ago•502 comments

Eurostar AI vulnerability: When a chatbot goes off the rails

https://www.pentestpartners.com/security-blog/eurostar-ai-vulnerability-when-a-chatbot-goes-off-t...
166•speckx•15h ago•40 comments

Show HN: An interactive guide to how browsers work

https://howbrowserswork.com/
245•krasun•21h ago•34 comments

Microsoft Office renamed to "Microsoft 365 Copilot app"

https://www.office.com
51•LeoPanthera•3h ago•32 comments

Six Harmless Bugs Lead to Remote Code Execution

https://mehmetince.net/the-story-of-a-perfect-exploit-chain-six-bugs-that-looked-harmless-until-t...
79•ozirus•3d ago•21 comments

Claude Code On-the-Go

https://granda.org/en/2026/01/02/claude-code-on-the-go/
347•todsacerdoti•16h ago•218 comments

How to translate a ROM: The mysteries of the game cartridge [video]

https://www.youtube.com/watch?v=XDg73E1n5-g
23•zdw•5d ago•0 comments

Linear Address Spaces: Unsafe at any speed (2022)

https://queue.acm.org/detail.cfm?id=3534854
162•nithssh•5d ago•120 comments

Ripple, a puzzle game about 2nd and 3rd order effects

https://ripplegame.app/
129•mooreds•18h ago•32 comments

NeXTSTEP on Pa-RISC

https://www.openpa.net/nextstep_pa-risc.html
41•andsoitis•11h ago•10 comments

Agentic Patterns

https://github.com/nibzard/awesome-agentic-patterns
136•PretzelFisch•16h ago•26 comments
Open in hackernews

Show HN: I reinvented PHP in TypeScript (demo)

https://github.com/vseplet/morph
25•vseplet•7mo ago
I built Morph, an experimental fullstack HTML-first library for Deno, Node, and Bun.

Everything returns HTML, not JSON. No React, no Vite — just plain HTML with server-side rendering.

No build steps, no preprocessors, no complex configs — everything runs from a single file.

Perfect for Telegram Web Apps, internal tools, simple admin panels, dashboards, or anywhere a full-blown SPA feels like overkill.

Important: I built this entirely for myself — to solve my own problems. I hate complex frontend. I hate writing it. And I don’t want to waste time on it. But maybe it’ll help you too.

Comments

askonomm•7mo ago
So this is supposed to be following the practices that were common in PHP ten years ago? Modern PHP is not written in such a way where business logic is mixed with templating. For good reason.
bovermyer•7mo ago
For applications you're right.

For trivial scripts, though, that practice is still pretty common. You don't necessarily need Twig or whatever if you just need a script to spit out the rows from a single database query.

al_borland•7mo ago
Not everything is a big web app. Applying this separation of concerns to everything, and assuming everything will scale into Facebook, brings a lot of needless complexity into what should be simple little pages. Old PHP was great at that, and still is. I’m continually shocked that it has seemed to be the only game in town for decades. It seems like such an obvious use case. Maybe this is a testament to how well PHP solve this space, despite catching a lot of flack online. Similarly to this project, PHP also started out of the developer’s need to manage his Personal Home Page, not large scale enterprise apps.

So many people talk about missing the old Internet and the virtues of the small web, and breaking free from platforms… then at the same time speak out against the tools that allow a person to start small and dip their toe into the water of web development, without needing to spend several months in a boot camp for a few lines of server side code.

oaiey•7mo ago
My naive question: so if I have node, express, and JS tagged template literals. Is not that what PHP does. Route some url to a html interpolated with code.

What is the add-on from this library? The only thing I read out of it, is some css and other templating benefits. Which is not the essence of PHP. The essence of PHP is that you mix html and code (which many JS tagged templates support).

This goes more in the direction of component oriented development (e.g. what Blazor does... even Angular). So my rant is about comparing it with PHP.

Not a node & browser dev, but I have my past in PHP and currently some Blazor.

Oxodao•7mo ago
php has not been "mix html & code" for the last 10 years if you use it properly
ZYbCRq22HbJ2y7•7mo ago
You mean that the general patterns that people implement when using PHP changed. The language hasn't changed in a fundamental way that prevents it from being utilized in this way.
Oxodao•7mo ago
Yes
ipaddr•7mo ago
No it's still proper to mix html and php code. You could always use a templating language like smarty 20 years ago so if it wasn't proper 10 years ago it wasn't proper 20 years ago. The truth is <=$variable?> is very readable.
Oxodao•7mo ago
The issue is not the readability, it's that you don't handle how your stuff is sent. Using php as a template language, it starts to send everything until it reaches a Php tag to be executed.

That's why people taught each other that "you absolutely need to make session_start at the beggining of your file". No you don't, but since afterward the content starts to be sent the headers are already too.

I'm not saying you absolutely need to use a framework, but you should have only one echo in your requests.

I've never said the syntax you're saying is bad, I mean pretty much any templating language such has Twig uses this kind of stuff. The issue I have with this is how it works behind the scenes

bdcravens•7mo ago
You should call it NodeFusion
PetahNZ•7mo ago
I think this misses one of the main selling points of PHP, the shared nothing, single thread, fire and forget methodology that I can throw behind a load balancer and spin up 100 servers.
ChocolateGod•7mo ago
You can probably use something like https://www.cgi-node.org/ to get close to the PHP model in the JS world.

But, I wouldn't be surprised if its slower than PHP due to the overhead of starting up NodeJS for each request, as PHP has been optimised to have fast start times.

WorldMaker•7mo ago
This project is suggesting Deno, which has rather different startup characteristics to Node, and tuned for Deno Deploy which is already a "serverless" scale-to-zero/scale-as-many-as-you-need-behind-a-load-balancer deployment host. Deno Deploy is a proprietary solution, of course, but not alone in the growing world of JS-based "serverless" (Netlify, Vercel, Cloudflare Edge, and more).
ZYbCRq22HbJ2y7•7mo ago
PHP can be multi-threaded, share many things. So can nodejs.
DonHopkins•7mo ago
PHP is a templating languages designed to be so inadequate that you have to implement other templating languages in it.

https://news.ycombinator.com/item?id=32961202

>PHP was already a templating language, but somebody got it in their head that there should be an iron-clad separation between designers and programmers, and that PHP gave designers too much power and confused them, and that their incompetent untrustworthy designers who refused to learn anything about programming deserved something even "simpler" than PHP, so they came up with Smarty.

>Then over time the realized that their designers were powerless, so their programmers would have to learn TWO languages so they could wade into the Smarty templates to make them actually work with all the extra code they had to write because Smarty was so crippled, so they nickle-and-dimed more and more incoherent programming language elements into Smarty, making it EVEN HARDER to use and more complicated and less consistent than PHP, yet nowhere near as powerful.

askonomm•7mo ago
Modern PHP is not a templating language. It can be, much like many other languages can be, but it's not how it is used. Most other languages also implement their own templating languages. Have you seen modern PHP ... I don't know, sometime in the last 10 or so years, or is this just another circle jerk of hating on something you have little clue about?

Now if you see that as a bad thing, separating business logic and presentation, and sandboxing presentation so it has no larger access to the system, then I'm afraid you're just not a good programmer.

ZYbCRq22HbJ2y7•7mo ago
> Modern PHP is not a templating language. It can be

Modern PHP has the same capabilities as PHP 5 had, and more. There was nothing fundamental removed from the language that keeps it from being used as it was in PHP 5.

scsh•7mo ago
It didn't seem like they were suggesting otherwise?
ZYbCRq22HbJ2y7•7mo ago
Not sure we read the same thing?
cess11•7mo ago
Object-oriented PHP, i.e. PHP 5, was released in 2004. PHP 4 was killed in 2008.

Separating out templates was already something one used to do back when Laravel added Blade back in 2010-2011 sometime, in one of the first iterations of the framework. It's not like they experienced pushback because of Blade.

nusl•7mo ago
The title originally threw me off but reading the link made me quite like the idea. Keep existing skills and use them in other contexts better suited for the application.
hu3•7mo ago
Interesting pattern. This is specially nice to me:

"No build steps, no preprocessors, no complex configs".

I worked on a project recently that followed this and Devs loved it. The DX was amazing.

vseplet•7mo ago
Thank you, DX was really important for me in this project. I will add some examples and documentation in the near future, it will be cool. But writing README is very difficult for me =(

Well, I am sure that we need to develop the part with api. It already exists and works great, but lacks middlware functions and caching

lylejantzi3rd•7mo ago
A lot of people here are comparing it to PHP, but it looks more like python to me.
buttocks•7mo ago
This project is cool but the author seems to have never actually touched PHP that he compares it to.
vseplet•7mo ago
I studied it a long time ago — maybe it was even taught in college. Yeah, the comparison isn’t entirely accurate, but what I meant was the idea of merging code with its template plus rendering it all server-side right away.
gbraad•7mo ago
The selling point of PHP is the case of deployment on shared gisteren, who either use the pho module with Apache or fpm, or other CGI method. But, as a user, you do not care about this.

Just unpack, set MySQL credentials, and done.

andrewmcwatters•7mo ago
Not really. That implies that you’re running each HTTPS call as a lifetime process that starts and ends with that request, and the entire body of the JavaScript file, beginning to end is HTML with subtrees of the document including optionally some JavaScript that is synchronously run.

Respectfully, this doesn’t look anything like that at all.

fennecbutt•7mo ago
Oh my god I have to share this with my php friend ahahaha.
fpauser•7mo ago
https://www.youtube.com/watch?v=EnnpbVW7Yb8