New

The latest blog posts to take off on Hacker News. 4,614 posts.

Web & Frontend
Any year
302

Just use a button

One of the weirdest “debates” I seem to perpetually have with framework-enthusiastic developers is whether or not a <div> is “just as good” as a <button>. Spoiler: it’s not. Let’s dig in. The problem Among the React crowd, and also among people who seem to enjoy HTMX, I see a lot this… <div onclick="showSignIn()">…

306

Springs and bounces in native CSS

The “linear()” timing function is a game-changer; it allows us to model physics-based motion right in vanilla CSS! That said, there are some limitations and quirks to be aware of. I’ve been experimenting with this API for a while now, and in this post, I’ll share all of the tips and tricks I’ve learned for using it…

310

Feed the bots

A week ago , I set up a dynamically generated nonsense maze to catch LLM scrapers. Now, requests to it make up 99.9% of my server's traffic, but my total request volume did not increase. The bots didn't come to my site because of the trap.

312

WebDAV isn't dead yet

I should have titled this post “I hate S3”. 📢 What is the status quo? FTP is dead (yay), SFTP is too dependent on SSH and unix authentication. AWS made S3 pervasive and now every webapp that needs to store files assumes you’ll be able to connect it S3. This …