Business and Engineering alignment
How to convince "the business folks" to let you do what you want.
29 new today · 2,698 articles · from 79 blogs
How to convince "the business folks" to let you do what you want.
“Margin collapse” has a dastardly reputation, one of the trickier parts of CSS. Fortunately, it gets a lot easier once you learn a few rules! In this tutorial, we take a deep dive into the governing principles, and learn how to use them to
How to get help from Kent
AI summaryThe article describes how large databases tend to lose important features over time—such as ACID transactions, referential integrity, non-nullable columns, efficient indexing, and expressive SQL access—due to technological limitations, stability concerns, cost, and convenience, often reducing sophisticated systems to glorified key/value stores. The author argues this degradation isn't inevitable, citing systems like Citus, Spanner, and CockroachDB that restore difficult features like cross-shard transactions, and proposes operations-friendly improvements such as pauseable index builds, easier NOT NULL migrations, a strict SQL dialect, query efficiency signaling, and built-in migration frameworks.
AI summaryThis December 2020 edition of 'What's new in Svelte' highlights recent Svelte releases (3.29.5–3.31.0) featuring custom web component support, a new hasContext lifecycle function, and the SvelteComponentTyped class for improved TypeScript integration, alongside updates to rollup-plugin-svelte, Sapper, and news about SvelteKit. The article also showcases community projects such as narration.studio, Pattern Monster, and various demos, learning resources, and component libraries. It closes with an invitation to get involved with the Svelte community through Svelte Society, Reddit, and Discord.
The simple rules for when to use each.
AI summaryThis article is Lea Verou's position statement for the 2020 W3C TAG election, in which she presents her cross-disciplinary background spanning front-end development, open source work, W3C standards participation, and PhD research at MIT on programming language design and human-computer interaction. If elected, she pledges to make Web technologies more learnable and approachable, favor declarative HTML/CSS solutions over JS-only APIs, improve platform extensibility, and document implicit design principles. The statement is supported by endorsements from prominent figures in the Web community, and an update notes that she was ultimately elected.
AI summaryThe author has released Flap Hero, a free, open source Flappy Bird clone written entirely in C++, with MIT-licensed source code and public domain assets available on GitHub. The game was created to promote Plywood, a module-oriented open source C++ framework (not a game engine) that integrates third-party libraries like Assimp, SoLoud, stb, and GLFW through its workspace and built-in modules. Flap Hero exemplifies the lean, 'handmade' software style Plywood is designed to support, and the author plans future work such as a GUI build manager, with a source code review to follow in the next blog post.
AI summaryThis article is an in-depth tutorial on creating an adorable interaction called the 'boop'. It teaches how to use React components and hooks to abstract behaviors and design a clean, well-crafted API. The author notes that even readers who aren't interested in animations will find the content worthwhile.
AI summaryLea Verou advocates for a 'weak dependencies' pattern in JavaScript, where libraries detect and leverage optional peer dependencies already loaded in the environment to provide enhanced functionality, while falling back to simpler, dependency-free implementations otherwise. She argues this progressive enhancement approach offers benefits like better performance, smaller bundles, and flexibility in choosing among multiple libraries, and defends it against criticism that it's an unpredictable antipattern by noting it complements rather than replaces explicit parameter injection. Finally, she explores how this could work with ESM—which currently offers no way to detect if a module is already loaded without importing it—suggesting solutions like a global module registry or a weak dynamic import syntax such as import(url, {weak: true}).
Today we're finally releasing Tailwind CSS v2.0, including an all-new color palette, dark mode support, and tons more!
A case study of how Elixir is being used at Slab.
AI summaryThe author revisits his five-year-old article on creating CSS pie charts, now recommending conic gradients since they are supported in over 87% of browsers, while advising against his old -prefix-free polyfill as too heavy a dependency for modern sites. Instead, he suggests graceful degradation using @supports, with a conic-gradient pie chart in modern browsers and a linear-gradient progress bar fallback for browsers like IE11, optionally using CSS variables and square dimensions to keep layouts consistent. He also explains why radial gradients make poor fallbacks, since their areas do not proportionally represent percentages without complex math.
The simplest getting started guide for Firebase Cloud functions
Easily create server code without worrying about managing servers yourself
AI summaryThe article announces SvelteKit, the successor to Sapper, explaining that rather than releasing Sapper 1.0, the Svelte team is rewriting and rebranding the app framework to simplify onboarding and modernize its foundational assumptions. SvelteKit embraces an unbundled development workflow powered by Snowpack for near-instant startup and hot module reloading, and fully supports serverless deployment platforms via an adapter API, while still using Rollup for production builds and allowing fully static or Node-based apps. A public beta is expected within weeks, with full TypeScript support at launch, straightforward migration from Sapper, and the guarantee that Svelte can still be used standalone or with third-party frameworks.
Is it possible to create an implementation of a design that matches to-the-pixel? Well, not really, but that shouldn't discourage us! In this article, I'll show how I became designers' best friend by leveraging a series of tricks to get my
AI summaryThis November 2020 Svelte update covers new features and bug fixes such as Promise destructuring with {#await}, slot forwarding fixes, better TypeScript typings, and various Sapper improvements including new preload types and route layout fixes. The month's Svelte Summit featured Rich Harris demoing SvelteKit, a not-yet-public project promising a first-class developer experience, alongside talks from 17 speakers available on YouTube. The article also showcases community projects like Svelte Lab, Budibase, Interference 2020, and several other tools and sites built with Svelte.