Topics /
Web & Frontend
The most popular blog posts about web & frontend on Hacker News. 4,614 posts.
Making Pulled Pork with React Native, Expo, and Express
I was planning to make pulled pork the next day. That evening I set up the Weber kettle, got out the bag of charcoal and some chunks of apple wood, and laid everything out. Mise en place , as they say. I’d be waking up at 7am the next morning to light it up, and I didn’t trust my sleepy self to remember everything.
The Only Type of API Services I'll Use
I'll only use API services with usage-based pricing and automatic volume discounts. Why that model works, and why bucket and enterprise pricing don't.
The FAIR Package Manager: Decentralized WordPress infrastructure
In December, I wrote about the state of leadership in the WordPress ecosystem. I shared how too much power rests with one person, and how the lack of transparen
Google’s new popup will further weaken Facebook’s advertisement business
Android 12’s privacy-focused permission deepens the woes of Facebook by vowing to end invasive location-targeted marketing
Disable AI in Firefox
Quick reference for how to turn off AI features in Firefox
Aggressive bots ruined my weekend
The web-scraping arm race continues
The Disadvantages of Single Page Applications (2014)
Single page applications are slower, break accessibility, and cause usability issues. Learn why SPAs hurt performance and what to do instead.
Cartography Comparison: Google Maps and Apple Maps
Google Maps and Apple Maps . At first glance, the columns below look very similar...
Underscore Price Dynamics
Every iOS developer needs to listen to _DavidSmith’s most recent podcast episode, Real World Price Dynamics with Lauren Smith (it’s just 22 minutes).
Nginx: a caching, thumbnailing, reverse proxying image server
A month or two ago, I decided to remove Varnish from my site and replace it with Nginx's built-in caching system . I was already using Nginx to proxy to my Python sites, so getting rid of Varnish meant one less thing to fiddle with. I spent a few days reading up on how to configure Nginx's cache and overhauling the…
How rel=nofollow Works
Links shared on Twitter aren't surfacing in Google's Search Plus Your World because Twitter wants it that way.
Color Formats in CSS
CSS gives us so many options when it comes to expressing color—we can use hex codes, rgb, hsl, and more. Which option should we choose? This turns out to be a surprisingly important decision! In this article, we'll take a tour of color formats in CSS, and see which option will serve us best.
HTML Kong
There are two things I’ve always wanted to try in HTML : generating a photorealistic image using CSS , and creating an interactive game without the need for JavaScript. HTML Kong is the end result of those two ambitions – a reproduction of the Game & Watch video game, Donkey Kong , using just HTML and CSS .
Understanding delete in Javascript
How the delete operator really works: property attributes, DontDelete, undeclared assignments, Gecko and IE bugs, and what ES5 strict mode changes.
JSDoc is TypeScript
In May of 2023 an internal refactoring PR from the Svelte repo made it to the front page of the Hacker News forums. The (superficially) controversial PR seem...
Tailwind: style your site without writing any CSS
Tailwind: style your site without writing any CSS!
Deno's Decline
The one where I nosey through rather telling git commits
Managing State with Signals
An experiment of using incremental computations for managing state in Humble UI
Fat JSON
Most server-side APIs these days are JSON-over-HTTP. Developers are generally comfy with this, but I notice when I look at the JSON that it’s often, uh, what’s the tactful term these days? Let’s say “generously proportioned”. And I see clumsy code being written to walk through it. The options for dealing with this are…
PayPal's Beautiful Demonstration of Extended Validation FUD
Sometimes the discussion around extended validation certificates (EV) feels a little like flogging a dead horse. In fact, it was only September that I proposed EV certificates are already dead [https://www.troyhunt.com/extended-validation-certificates-are-dead/] for all sorts of good reasons that have only been…
Fifty problems with standard web APIs in 2025
Recently, I made a free game . It's a little mystery investigation game which I was inspired to write after enjoying games like Case of the Golden Idol , Roottrees are Dead , and Return of the Obra Dinn . I thought my UX ideas were pretty simple, so I decided to implement it in HTML5 .
Windows 3.1 All Over Again
Reactive programming and thread sharing. Javascript, Node.js, Go, Rails, Elixir and Erlang. Rewind the clocks to Windows 3.1 In 1992 with Windows 3.1 we had this thing non-preemptive multitasking, i.e. “Cooperative Multitasking”. Cooperation is a funny term, it should actually be “Programmer Controlled Multitasking”…