Rails views performance matters: can render slow you down?
In this post, we’ll benchmark and analyze the most used view rendering options, the optimizations Rails provides, and when it makes sense to use each alternative (or not).
The Big Gotcha With @starting-style • Josh W. Comeau
CSS has been on fire lately, with tons of great new features. @starting-style is an interesting one; it allows us to use CSS transitions for enter animations, something previously reserved for CSS keyframe animations. But is the juice worth the squeeze?
There are books & many articles online, like this one arguing for using Postgres for everything. I thought I’d take a look at one use case - using Postgres instead of Redis for caching. I work with APIs quite a bit, so I’d build a super simple HTTP server that responds with data from that cache. I’d start from Redis as this is something I frequently encounter at work, switch it out to Postgres using unlogged tables and see if there’s a difference.
cleaning house in nx monorepo, how i removed 120 unused deps safely
Real cleanup in a big Nx monorepo. I used Knip to flag unused deps, verified removals, handled false positives, and shaved about a minute off yarn install with lower CVE risk.
When you go into a restaurant and you see a sign that says “No Dogs Allowed,” you might think that sign is purely proscriptive: Mr. Restaurant doesn’t like dogs around, so when he…
Have you ever heard of SEMA? It’s a fairly esoteric system for measuring how good a software team is. No, wait! Don’t follow that link! It will take you about six years just to understa…
The Real Cost of Server-Side Rendering: Breaking Down the Myths
The Real Cost of Server-Side Rendering: Breaking Down the Myths There’s a growing narrative in the web development community that Server-Side Rendering (SSR) is nothing more than an expensive …
The Timeless Way of Building by Christopher Alexander is a classic text on real-world architecture. In computing, it was influential in the emerging field of object-oriented programming in the late 1970s and 1980s. The book still has much to teach us about how we think about software design.
The Complete Guide to Self-Hosting Next.js at Scale
A comprehensive guide to self-hosting Next.js in production with horizontal scaling, covering critical solutions for distributed caching, image optimization, reverse proxy configuration, and deployment challenges learned from real-world experience.
(See how I cleverly did not mention AI in the title!) You know we have seen more than our fair share of slop reports sent to the curl project so it seems only fair that I also write something about the state of AI when we get to enjoy some positive aspects of this technology. … Continue reading A new breed of analyzers →