AI summaryBased on a Twitter poll, this article explores different semantic HTML approaches for marking up an FAQ section without JavaScript, comparing headings paired with divs, unordered lists, definition lists, and the native and elements. The author discusses the accessibility advantages and drawbacks of each approach for assistive technology users and how easily each can be enhanced into an interactive accordion with JavaScript and ARIA. The key takeaway is that semantic HTML should be the foundation of accessible content, with interactive behavior added progressively.
AI summaryPostgres 11 makes ALTER TABLE ... ADD COLUMN with a non-null DEFAULT fast by eliminating the full table rewrite and ACCESS EXCLUSIVE lock that previously blocked all operations on large tables. Under the hood, new pg_attribute fields (atthasmissing and attmissingval) supply missing default values to existing rows on the fly, while new rows are populated as they're inserted. This change means operators can now maintain strong data integrity through non-null constraints without risking long lock-induced outages in production.
AI summaryThe article discusses Rust's 'pinned' references, pointers that guarantee the data they refer to will stay in a fixed memory location, which enable patterns like self-referential structs and intrusive lists that were previously hard to handle. The API is being considered for stabilization, but the author is concerned about one persistent issue: the proliferation of different reference types that the design implies.
AI summaryThe author explains how her habit of writing long, technical deep dives made her overly critical of her own work, causing her to abandon drafts and stop publishing for months. By silencing her inner critic and publishing shorter, rougher case studies, she rediscovered the joy of writing — even finding that her concise articles were better received, as in the case of her well-praised HSL article. She encourages everyone to just write, publish, and share for themselves, regardless of whether anyone reads or judges their work.
AI summaryThe author explains why they converted their site's colors from HEX and RGB formats to HSL in CSS: HSL is far more intuitive for tweaking colors, creating color harmonies (such as complementary and triadic schemes), and building shades and tints. The article describes how hue, saturation, and lightness work, and shows how HSL combined with CSS Custom Properties makes creating and maintaining multiple site-wide color themes easy and maintainable. The actual conversion was done quickly with a Sublime Text plugin, and the author now feels full control over color management.
AI summaryAutoencoders are neural network models that reconstruct high-dimensional data using a narrow bottleneck layer in the middle, which captures a compressed latent encoding as a byproduct of dimension reduction. This low-dimensional representation can be used as an embedding vector in applications such as search, assist with data compression, or reveal the underlying generative factors of the data. The article was later updated with additional sections covering VQ-VAE, VQ-VAE-2, and TD-VAE.
AI summaryThe author, Sara Soueidan, shares the video recordings and slides of her talk 'SVG Filters: The Crash Course,' which she developed after learning SVG filters to customize a workshop for Netflix's design and engineering team, and which she presented at Beyond Tellerrand Munich and CSS Day Amsterdam. She had originally planned to write a series of in-depth articles on the topic, but since her interests are shifting to other areas of front-end development, she instead compiled the videos, slides, and recommended resources like the Web Platform docs and Michael Mullany's work. She notes that SVG filters offer many possibilities for recreating graphic editor effects, while acknowledging their limitations, and encourages readers to experiment with them.
AI summaryThe author tested the Rust 2018 edition preview by writing a small side project to sign git commits without gpg, and also migrated an existing library from Rust 2015 to Rust 2018 to evaluate the tooling. They wrote a blog post about their experience, noting that the most vivid change was the new module system.
AI summaryWhile preparing a light/dark theme switcher demo for an upcoming talk, the author explores how to design and mark up accessible toggle switches, concluding that the correct implementation depends on intended behavior: radio buttons suit choosing between two distinct options, while a checkbox or a button with ARIA attributes fits enabling/disabling a single feature. After studying resources like Heydon Pickering's Inclusive Components and The A11y Project, the author inspects Codepen's buggy public/private switch—a single checkbox with two labels causing confusing behavior—and discusses possible fixes depending on whether it should toggle one option or offer two. The key takeaway is that design and UX should be decided first, with accessibility baked into the markup from the very start.
AI summaryThe author prefers to sign their git commits, but git only integrates with PGP signatures, which means they must use GPG—an experience they dislike. To solve this problem, they wrote a program last week that replaces GPG for signing commits.
AI summaryThe article describes the 10,000 Year Clock ('Clock of the Long Now') being built inside a Texas mountain by the Long Now Foundation to encourage long-term thinking, and how it inspired the author to create 'Perpetual,' a simple program that posts ten tweets at exponentially increasing intervals, with the final one scheduled 10,000 years from now. The program is engineered for maximum longevity—running serverlessly on AWS Lambda, written in Go with no persistent state—yet the author acknowledges it faces many existential threats, such as API changes and platform retirements, and will likely fail long before reaching its goal, probably due to changes in Twitter's API. Ultimately, the piece argues that the clock's design principles—longevity, maintainability, transparency, evolvability, and scalability—can be adapted as valuable guidelines for building longer-lasting software.
AI summaryOpenAI used PPO, a general reinforcement learning algorithm, to train a team of five agents that beat semi-professional players at Dota, a game requiring strategy, tactics, coordination, and real-time decision-making. The agents learned purely through self-play without human game data, achieving 90-95% win rates against earlier versions, showing that deep reinforcement learning can solve extremely hard problems given enough computing scale and a good simulated environment. The author expects this approach to apply to real-world problems too complex to hand-code and views it as an important step toward general intelligence.
AI summaryThis article provides a comprehensive technical overview of attention mechanisms in deep learning, with a particular focus on self-attention and the Transformer model. It also covers related architectures such as Pointer Networks and Neural Turing Machines, and includes links to the author's implementations. The post has been revised several times with corrections and additions, including a follow-up piece on improved Transformer models.
AI summaryThis article, originally written in 2018 with a 2025 update, makes the case that GraphQL improves on REST through explicit field contracts, automatic introspection, typed schemas, built-in batch operations, and graph-based modeling, enabling APIs to evolve gradually as 'living' systems rather than ossifying around rigid versions. The author acknowledges, however, that GraphQL is 'better but not better enough'—REST's low bar is adequate for most purposes, and its momentum explains why major providers like Amazon, Google, and Stripe have not adopted GraphQL. The 2025 update tempers the original enthusiasm, suggesting that alternatives like HTTP/3 combined with SDK-driven design may ultimately be a better compromise.
AI summaryThe author, a former senior backend engineer at OkCupid, quit their job to work full-time on the Zig programming language, which they had been developing on nights and weekends as the community rapidly grew. Now supported by monthly donations, they outline an ambitious roadmap including a self-hosted compiler, tuples, a decentralized package manager, and HTTP tooling, along with a daily routine of bug fixes, documentation, and pull request reviews. They argue that Zig is a public service for the open source community, free from profit-driven motives, and ask readers to pledge $5/month to fund their work.