AI summaryThis August 2023 Svelte update covers new releases and improvements in both Svelte and SvelteKit, including Svelte 4.1.0's customizable custom element class, SvelteKit's new HEAD server method, response caching with Vary headers, and Prettier v3 support in language tools. The post also highlights a wide range of community-built apps and projects, learning resources such as podcasts and tutorials, and new libraries and tools like Melt UI and MDsveX updates.
AI summaryThe author argues that testing invariants—properties that must hold true during or after code execution—is more effective than debuggers or printf debugging, drawing on experiences from implementing Delaunay triangulation, Paxos, HNSW graphs, and AWS Lambda's container loading system. Reasoning about step-by-step and global invariants simplifies understanding of complex algorithms and distributed systems, and deterministic simulation testing makes even global, system-wide invariants automatically checkable. The takeaway is to think through invariants when designing any complex system and to build implementations so these invariants can be tested in a deterministic, repeatable way.
AI summaryThe article announces the inaugural State of HTML survey, a new addition to the Devographics survey series (alongside State of JS and State of CSS), designed by the author who previously served as Survey Design Lead for State of CSS 2022 with Google sponsorship. The survey aims to fill gaps left by the other surveys by covering HTML-related topics such as new elements, popovers, declarative Shadow DOM, and closely tied APIs like DOM, ARIA, and Web Components. The community is invited to vote on proposed features via GitHub Discussions until August 10th, since community input has proven valuable for uncovering blind spots in the survey design process.
AI summaryThe author describes migrating her 14-year-old blog from WordPress to a static site built with Eleventy and hosted on Netlify, motivated by WordPress's increasing slowness, bloat, and recurring database connection errors. She details the challenges of the migration, including converting content to Markdown, preserving Disqus comments and URL structures, and deciding to make the repository public while carefully handling licensing of code, content, and her personal design. Despite some new hassles in the editing workflow, she is happy with the flexibility and results of the new setup.
AI summaryIn this post about migrating their blog from WordPress to 11ty, the author rethinks their site's categorization, addressing tag problems such as synonym aliases (solved via dynamically generated Netlify redirects) and 'orphan' tags used only once, which by not generating their tag pages cut build time by 40%. They observe that tags almost always carry implicit hierarchies that flat tagging UIs fail to support, and propose defining parent tags centrally so they are applied automatically. Concluding that categories lack a clear purpose, the author is eliminating them, converting past categories into tags, and plans to use arbitrary metadata (e.g. 'type' and 'domain') instead.
Last month, over 200 people got together in my hometown of Cambridge, Ontario to hang out, talk shop, and get a peek behind the curtain at some of the new stuff we've been working on.
AI summaryThis article, part of a blog migration series from WordPress to 11ty (Eleventy), explains how to create "hackable" index pages for tags, years, and months so that trimming a URL still leads to useful content. The author demonstrates how to use Eleventy's pagination feature along with dynamic collections via addCollection() and custom filters to generate tag lists sorted by post count, yearly archives, and monthly archives. It also discusses trade-offs between approaches, such as CSS-based ordering (which harms accessibility), dynamic collections (recommended for most cases), and filters (better for complex scenarios).
AI summaryThe author describes how she preserved her Disqus comments while migrating her 14-year-old WordPress blog to Eleventy (11ty). Since Disqus threads were linked to WordPress post IDs that the importer didn't carry over, she extracted slug-to-post-ID mappings from the exported WordPress sitemap XML using find-and-replace tricks and JavaScript, then injected them into posts via Eleventy computed data to dynamically embed Disqus. She also extended the solution to handle new posts using URL paths as identifiers, and briefly considers future alternatives like Utterances and Giscus while weighing concerns about lock-in, privacy, and portability.
AI summaryThe author reflects on attending USENIX ATC'23 and OSDI'23 in Boston, highlighting trends such as the widespread adoption of Rust, growing interest in metastable failures, and increased attention to security issues like timing side-channels. They discuss favorite papers including Take Out the Trache, VectorVisor, EPF, and SCALENE, as well as Amazon's two ATC papers—an award-winning work on on-demand container loading in AWS Lambda and one on DynamoDB's scalable distributed transactions. The author also criticizes VM/process cloning papers for ignoring uniqueness risks like duplicated UUIDs and cryptographic keys, and expresses disappointment over US visa policies blocking researchers from attending and survey findings showing widespread harassment in the computer science conference community.
AI summaryThe author uses the draw.io desktop app on Windows or macOS to create diagrams for their website, while their asset pipeline runs on Linux. This pipeline uses a Rust program that opens headless Chromium and loads only the HTML/JS/CSS parts of draw.io needed to render diagrams. It then leverages Chromium's 'print to PDF' functionality to save the diagrams, converting .drawio files to PDF and eventually to smaller SVG files.
AI summaryThe July 2023 Svelte update announces the release of Svelte 4.0, which delivers performance fixes, developer experience improvements, a revamped site, docs, and tutorial, while setting the stage for Svelte 5 with minimal breaking changes. SvelteKit also received numerous bug fixes and new features, such as the event.isSubRequest boolean, the config.kit.env.privatePrefix option, and a newly exported VERSION. The post rounds up community showcases, learning resources, and new libraries and tools built with Svelte, including AI-powered apps, form builders, and component libraries.
AI summaryThe Svelte team has completely overhauled svelte.dev, replacing the old single-page documentation with a multi-page structure featuring search (Ctrl+K), a JavaScript/TypeScript toggle, dark mode, an updated REPL built on CodeMirror 6, and mobile bottom navigation. The redesign also unifies svelte.dev, kit.svelte.dev, and learn.svelte.dev under a shared design system package (@sveltejs/site-kit) for consistency and easier maintenance. Future plans include a redesigned blog page, improved search, and a unified playground combining the REPL and examples.
AI summaryThe article walks through generating a free Let's Encrypt wildcard SSL certificate using certbot within WSL, then converting it into the password-protected, triple DES-encrypted PFX format that Azure App Service requires. The workflow involves creating the certificate in WSL, copying it to Windows, re-importing and exporting it via PowerShell to ensure the full certificate chain is included, and finally uploading it to App Service under Bring Your Own Cert. The author notes this solves the expensive wildcard domain certificate problem, though automating the process further remains a future goal.