AI summaryThe article describes a technique for achieving hybrid positioning—where a sidebar navigation scrolls with the page until the header leaves the viewport, then stays fixed—by using a 3-line JS snippet to expose the scroll offset as a --scrolltop CSS variable, combined with the CSS max() function to cap the top position at 0. The author explains why position: sticky doesn't fit this use case, and how the calculation 11rem - var(--scrolltop) * 1px emulates absolute positioning within fixed positioning, with an @supports rule providing a fallback for browsers lacking max() support. An appendix also explains why using the cascade alone for the fallback fails, because invalid values with unsupported functions cause the property to be invalid at computed-value time once CSS variables are involved.
AI summaryThe article explores different forms of power, highlighting worker activism such as New York Times employees protesting the publication of a senator's op-ed advocating military violence, and Facebook employees staging a virtual walkout over the company's inaction on the president's violent posts. It also criticizes tech companies like Google, Amazon, and Shopify for their complicity in racism, surveillance, and violent policing. The author urges readers to organize with coworkers to challenge unjust practices at their workplaces, emphasizing that while individuals have little power alone, collective action can achieve meaningful change.
AI summaryAfter nearly a decade with the same blog theme, the author finally redesigned the site after realizing she was avoiding blogging out of embarrassment over how dated it looked. She reflects on how much web technology and her own life changed since designing the old theme, then adapted the WordPress Twenty Twenty default theme with personal tweaks, including animated conic gradients. The new design is a work in progress after just one day's effort, and she invites readers to report any issues.
AI summaryThe author announces they are temporarily pausing their email newsletter and social media broadcasts of new posts due to current events in their country, though they will continue writing on their blog and RSS subscribers will still be notified. They also share a curated list of anti-racist educational resources and organizations supporting Black liberation and racial justice that readers can learn from or support.
AI summaryThe article describes two ways the author uses CSS Variables to organize and maintain styles: a global _settings.scss stylesheet containing project-wide design tokens derived from the team's style guide, and component-scoped variables that act as a customizable 'settings object' for each pattern in their personal 'Skeleton' pattern library, enabling faster prototyping and theming across projects. The author notes that limited Internet Explorer support currently restricts this approach to personal projects, though a polyfill allows global variables, and they plan to eventually combine the technique with Web Components and container queries for more portable patterns.
AI summaryThe article argues that idea generation is one of the most essential skills for startup founders—citing YC's failed experiment of funding good founders with no ideas—and advises aspiring founders to improve this skill by surrounding themselves with optimistic, unconstrained thinkers and by projecting themselves 20 years into the future to spot tectonic shifts and new opportunities. It suggests evaluating ideas by asking whether they could be huge, whether they create accumulating advantages as they scale, and whether they fit the founder's own strengths. Finally, it notes that a strong sign of a great idea is being able to explain why most people think it's bad while understanding what actually makes it good.
AI summaryThe author reflects on a decade of responsive design, arguing that the industry's reliance on fixed device categories like 'mobile,' 'tablet,' and 'desktop' with predefined pixel breakpoints creates an illusion of control and neglects the web's inherent fluidity. He instead advocates focusing on 'seams'—the points where a design breaks as screens change shape or users interact in unexpected ways—and treating design system patterns as small responsive designs with their own breakpoints. Drawing on Mark Boulton's 'content-out design,' he urges designers to abandon the outdated idea of the page and embrace the web's edgeless, fluid nature.
AI summaryThe article introduces ringbahn, a prototype Rust crate that provides a safe and ergonomic API for Linux's new io-uring interface. Building on the author's previous post about designing a safe API for io-uring, the crate enables users to perform IO operations without any risk of memory unsafety.
Learn how to set up an ideal workflow for debugging your development server on your iPhone. This may not be the most exciting topic I've written about, but it's probably one of the most useful! Keep reading.
AI summaryThe author has released Plywood, a cross-platform open source C++ framework extracted from their proprietary Arc80 game engine, which builds and runs on Windows, Linux, and macOS. Plywood is not a game engine itself but a general framework featuring a workspace for sharing code across applications, 36 built-in modules for tasks like platform abstraction and JSON parsing, and a runtime reflection and serialization system. The author plans future improvements such as simplifying module creation, extending the built-in C++ parser, and improving the webserver, and welcomes community feedback.
AI summaryWhile examining a high-resolution die shot of Intel's Skylake-X CPU, the author tried to visually locate the physical register files for AVX-512 mask registers and legacy x87/MMX registers, and found that a single mystery block appeared to serve both purposes. Software microbenchmarks using the robsize tool confirmed this theory: mixing MMX and mask register instructions hit the same 128-entry resource limit as testing each alone, while mixing with SIMD or scalar instructions showed a much higher limit, proving mask and x87/MMX registers share one physical register file. This sharing saves die area and power with little practical performance impact, since obsolete x87/MMX code is unlikely to be used alongside AVX-512 mask registers.
AI summaryThe author celebrates the tenth anniversary of his landmark 'Responsive Web Design' article, recounting how the idea originated in his 2010 talk 'A Dao of Flexibility' at An Event Apart Seattle, inspired by fluid grids, flexible images, media queries, and the concept of responsive architecture. He credits the people who helped the idea succeed, particularly Mandy Brown, who encouraged him to turn the talk into an article for A List Apart, as well as his partner Elizabeth and influences like John Allsopp's 'A Dao of Web Design.' He expresses gratitude to readers and designers who embraced the concept and teases upcoming blog posts reflecting on what has changed over the decade.
AI summaryThe author, a usability researcher at MIT, recounts helping a computer scientist friend run a simple JavaScript algorithm from a GitHub package, documenting a frustrating sequence of cryptic errors involving npm, Node, ES modules, MIME types, and a TypeScript file disguised as JavaScript. Despite the friend's technical background, he gave up after about an hour, concluding never to touch Node, npm, or ES6 modules again. The author uses this experience to highlight how hostile the modern JavaScript ecosystem's onboarding experience is, questioning what hope actual novices could have.
In this final part of the series, we’ll explore a trick to make the behaviour of a macro depend on whether it’s used as a statement or as part of an expression. Using that, we’ll make the python!{} macro more flexible to allow saving, reusi
In this dazzling tutorial, we'll see how to build an animated component. Wrap it around text or images and watch them twinkle! This neat trick is a perfect way to emphasize positive or exciting things. Keep reading.
AI summaryThis article analyzes zero-store elimination on Intel's Ice Lake architecture, finding that 256-bit stores achieve roughly 96% elimination of redundant zero stores in L3 and memory writebacks—a large improvement over both 512-bit stores (~56%) and Skylake—yielding speedups of up to ~45% in the L3 region. The author also documents a bimodal performance artifact caused by AVX-512 voltage/frequency management, where switching voltage levels temporarily reduces dispatch throughput during benchmarks. Why 256-bit stores outperform 512-bit stores in the L2 and L3 regions remains an unexplained puzzle, though the author suspects the difference in elimination rates largely accounts for it.