Programming · Latest articles
29 new today · 2,700 articles · from 79 blogs
Don't Solve Problems, Eliminate Them
How eliminating problems can drastically simplify your codebases and life
Super Simple Start to Remix
The simplest distraction-free version of a remix app
What’s new in Svelte: May 2021
AI summaryThis May 2021 Svelte update highlights content from the recent Svelte Summit along with new compiler features, including :global() support in compound CSS selectors and CSS custom properties for component theming. SvelteKit received notable improvements such as static adapter SPA support, configurable SSR, more readable pre-rendering errors, and layout resetting, while the language tools gained features like style attribute autocomplete and slot/event type inference. The post also rounds up community projects, starter templates, and learning resources built with or for Svelte.
How I Built My Blog
An in-depth look at the technical stack behind this very blog! We'll see how I use Next's API routes to implement my hit and like counters, how I use MDX to add interaction and customization, and how I organize my codebase, among others. Ke
Tail Latency Might Matter More Than You Think
AI summaryThe article argues that tail latency—rare high-latency service calls—matters far more than its low frequency suggests. In modern microservice architectures using parallel fan-out and serial call chains, many backend calls combine into a single user interaction, making rare slow calls likely to affect most users. The author recommends monitoring high-percentile latencies and end-to-end client experiences, noting that tail-trimming statistics can miss these effects, and while the mean is the best single metric, more than one should be measured.
Tailwind UI: Now with React + Vue support
Last year we released Tailwind UI — a huge directory of professionally designed UI examples built with Tailwind CSS. Today we’re excited to add first class support for React and Vue 3 to all of the examples in Tailwind UI, which makes it ev
Headless UI v1.0
Last fall we announced Headless UI, a library of completely unstyled, fully accessible UI components, designed to pair perfectly with Tailwind CSS. Today we’re super excited to release Headless UI v1.0, which more than doubles the amount of
Redundant against what?
AI summaryThe article argues that redundancy in distributed systems is not a single property but a defense against different classes of failures—infrastructure, software, and logical—and that designers often focus only on infrastructure redundancy. Using event logs, replicated state machines, and primary/backup replication as examples, it shows how running the same deterministic software on the same state means a poison pill event or software bug can produce the same failure across all replicas. The author encourages applying threat-modeling-style questioning to system design, asking which failures your redundancy actually protects against, including software bugs.
Is WebAssembly magic performance pixie dust?
Super Simple Start to ESModules in Node.js
All supported versions of Node.js support ESModules now. Here's how to get started using them.
Jakub Konka Hired Full Time
Tailwind CSS v2.1
We just released Tailwind CSS v2.1 which brings the new JIT engine to core, adds first-class CSS filter support, and more!
Game Engine Black Book: DOOM, Korean Edition
Marketing and sales intelligence with Elixir at PepsiCo
A case study of how Elixir is being used at PepsiCo.
What’s new in Svelte: April 2021
AI summaryThe April 2021 Svelte update announces that SvelteKit, the framework for building SSR, serverless, and SPA applications, is now in public beta, and slotted components (including ) are now available in Svelte 3.35.0. It also covers new Language Tools features like linked editing and improved type definition resolution, along with community showcases, tools, starter kits, and learning resources for Svelte developers.
Building a Magical 3D Button
Every action we take on the web starts with a button click, and yet most buttons are ho-hum and uninspired. In this tutorial, we'll build an animated 3D button with HTML and CSS that sparks joy. Keep reading.
Dark mode in 5 minutes, with inverted lightness variables
AI summaryThe article presents a quick technique for adding dark mode to a website by defining CSS custom properties for color lightness values and overriding them in a prefers-color-scheme: dark media query with the inverse (100% minus the lightness). The author acknowledges that HSL lightness is not perceptually uniform, so results can be inconsistent, and demonstrates that using the newer LCH color space produces noticeably better dark modes. The article also covers automating lightness variable generation with Sass loops and explains why attempting to derive inverted values with calc() self-references fails due to CSS's non-imperative, declarative nature.
Heroicons v1.0
Today we're releasing Heroicons v1.0, which includes over 450+ free icons in two styles, official React and Vue libraries, and Figma assets.
SvelteKit is in public beta
AI summaryAfter five months of development, SvelteKit — a framework for building Svelte apps with server-side rendering, routing, and code-splitting, serving as the successor to Sapper — has entered public beta. Though initially drawn to Snowpack, the team chose Vite 2 under the hood because its framework-agnostic design and built-in SSR support better matched SvelteKit's requirements. Despite its beta status, SvelteKit already powers the New York Times' coronavirus county risk pages, and the team is now seeking community feedback as they work toward a 1.0 release.