AI summaryThe author laments the web's growing centralization into walled-garden platforms like Facebook and Medium, arguing that renewed decentralization depends on people continuing to create content that lives outside them. In that spirit of old-internet experimentation, they've launched Sequences, a self-hosted project in Berlin publishing one photo per day with a few words of text, distributed via RSS feed and announced on Twitter. It's framed as an independent, old-school alternative to Instagram, with no likes, comments, or reactions—just content published openly to the web.
AI summaryThe author describes implementing live reloading for a custom Go-based static site generator, using fsnotify to watch for file changes (with special handling for editor artifacts like Vim's backup files and the mysterious 4913 file) and coordinating watch/build goroutines so changes arriving during a build trigger a follow-up rebuild. Build completion is broadcast to browsers over WebSockets via Gorilla's library using a condition variable, prompting a tiny client-side JavaScript snippet to reload the page. The article also covers keeping connections alive with automatic reconnection and reflects on how well-abstracted foundational libraries made the implementation surprisingly simple.
AI summaryThe Rust language team has made its final decision on the await operator syntax, opting for the postfix dot syntax, written as future.await. This decision, reached at the May 23 meeting, follows the preliminary proposal outlined earlier by the author, who also points readers to previous posts for background and a discussion of the trade-offs.
AI summaryThe article explains that icon-only buttons are common in user interfaces but often lack proper accessibility for users of assistive technologies, and it outlines several techniques for giving them accessible names. These techniques include embedding visually hidden text inside the button (hidden via CSS), hiding text with the HTML hidden attribute and referencing it with aria-labelledby, applying aria-label directly to the button, or labeling the SVG icon itself with aria-label. It also covers best practices such as hiding decorative icons with aria-hidden, preventing unwanted focus in Internet Explorer with focusable="false", and using Chrome DevTools' Accessibility panel to verify a button's accessible name.
In this post, we'll explore a technique we can use to "fold" a DOM node, like folding a letter in real-life. On that journey, we'll learn a lot about 3D transforms and CSS animation techniques! Keep reading.
AI summaryThe article explores the concept of 'zero cost abstractions,' a foundational design principle in programming languages like Rust and C++ that allows developers to write high-performance programs with minimal effort. The author, whose work is tied to Rust, seeks to clarify what exactly a zero cost abstraction is, referencing the original formulation by C++ creator Bjarne Stroustrup.
AI summaryRust's language team has announced a final proposal for the await operator syntax, one of the last major unresolved questions blocking the stabilization of async/await in Rust. The post covers the timeline for the final decision, the most likely syntax to be adopted, and the justification for the choice. Once stabilized, this feature will enable many more people to write non-blocking network services in Rust.
AI summaryThe author, who enjoys hand-editing SVG files, describes the frustration of moving paths when exported path data mixes relative and absolute commands, since only fully relative paths adapt easily when the initial M command changes. To solve this, they built a quick demo based on the Snap.svg library that instantly converts any pasted path into both all-relative and all-absolute versions, displaying previews so users can verify the output matches the original.
AI summaryIn robotics, models are often trained in simulators because deep RL algorithms are sample inefficient and collecting data on real robots is costly, yet the 'reality gap' between simulation and the physical world frequently causes failures on real robots. This gap stems from inconsistencies in physical parameters such as friction, damping, and mass, as well as from incorrect physical modeling of phenomena like collisions between soft surfaces.
AI summaryThe article argues that neural network training is a leaky abstraction that fails silently—misconfigured networks often still train but perform worse without throwing errors—so a 'fast and furious' approach leads to suffering. The author proposes a disciplined recipe that builds from simple to complex: first thoroughly inspect and understand the data, then set up an end-to-end training/evaluation skeleton with deliberately simple models and dumb baselines, verifying explicit hypotheses at each step (e.g., checking initial loss, overfitting a single batch, visualizing inputs and prediction dynamics). The core principle is to avoid introducing large amounts of unverified complexity at once, instead relying on patience, paranoia, and obsessive visualization to catch bugs early.
AI summaryThe Svelte team announces the stable release of Svelte 3, a component framework like React or Vue that distinguishes itself by running at build time as a compiler, generating efficient imperative code that surgically updates the DOM. The major overhaul centers on rethinking reactivity: instead of APIs like this.set or React's setState, state changes are now expressed with plain JavaScript assignments, with the compiler instrumenting updates behind the scenes for a much better developer experience. The release also brings a new logo, website, and tagline, requires some manual upgrading from Svelte 2, and future work includes Sapper updates and first-class TypeScript support.
AI summaryThe article argues that code size matters because more code leads to more bugs, longer development times, and greater cognitive effort, yet developers rarely focus on minimizing it. It demonstrates how Svelte, being a compiler unconstrained by JavaScript's peculiarities, enables writing significantly less code than React or Vue — a simple component takes 145 characters in Svelte versus 442 in React — through features like flexible top-level elements, declarative bindings, and simple state assignments. The author contends that eliminating boilerplate results in more idiomatic, readable, and performant applications.
AI summaryThe article addresses the unresolved debate over the final syntax for the await operator in async/await, noting that a summary of the language team's positions is forthcoming. The author instead focuses on a related but less-considered question—how to design for loops that process streams—since it directly impacts the await syntax decision.