Topics /

Web & Frontend

The most popular blog posts about web & frontend on Hacker News. 596 posts.

2022
303

A Poor Man's API

Creating a full-fledged API requires resources, both time and money. You need to think about the model, the design, the REST principles, etc., without writing a single line of code. Most of the time, you don’t know whether it’s worth it: you’d like to offer a Minimum Viable Product and iterate from there. I want to…

304

Scaling Mastodon in the face of an exodus

TL;DR: Mastodon’s Sidekiq deferred execution jobs are the limiting factor for scaling federated traffic in a single-server or small cluster deployment. Sidekiq performance scales poorly under a single process model, and can be limited by database performance in a deployment of the default Dockerized configuration.

312

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.

316

An argument for a return to Web 1.0

The web was established with the best of intentions. The basic idea was that if everyone could share their thoughts and ideas with the world, the best ones would be vetted and float to the top. The bad ones would be ignored and pushed to the bottom.