Software Architecture

Every post we follow in this topic, newest first.

Recent posts

Newest first
  1. Retiring a Key Isn't Destroying It

    Retiring a key involves two steps: immediate retirement and a later permanent destruction, with a grace period to prevent irreversible errors.

  2. Making Multiple Gemini Capsules Available Via Tor and I2P

    Making Gemini capsules available via Tor and I2P involves configuring agate, handling SSL certificates, and setting up anonymous network access.

  3. Your phone is a Kubernetes node

    Tabernetes transforms browser tabs into Kubernetes nodes, enabling phones to join a live cluster running Linux kernels within the browser.

  4. A Go Gotcha: Context Keys Are Typed

    A Go gotcha involves typed context keys, where different string types prevent context value lookups between packages.

  5. Entering the Geminispace

    Project Gemini offers a minimalist, text-focused internet experience, distinct from the modern web's app-centric approach.

  6. Browser tabs as a container runtime

    tabc is a container runtime that leverages a browser's sandbox and WebAssembly to run Linux containers without a host kernel or virtual machine.

  7. Abolish Lock Poisoning

    Rust's mutex poisoning feature, which causes locks to error after a panic, is criticized for its complexity and lack of practical benefit.

  8. To code well, avoid blunders

    Writing good code primarily involves avoiding catastrophic mistakes like inconsistency and unnecessary requirements, rather than seeking brilliant insights or clever patterns.

  9. Muru

    Muru is Graham Dumpleton's new AI-assisted Rust server designed to serve Python ASGI and WSGI web applications in development and production.

  10. Genrules all the way down

    The largest Bazel workspace of genrules, fzakaria/genrulify-nixpkgs, transpiles Nixpkgs into Bazel genrules for 219 packages, demonstrating a new approach to managing third-party software.

  11. The Pulse: What can we learn from the Railway hack?

    The Railway hack demonstrates how attackers using offensive AI models can exploit stolen code and vulnerabilities within hours to access customer AI provider keys.

  12. Build systems à la trace

    Retroactively converting monadic Nix builds into applicative Bazel builds is feasible by tracing execution with Rewind and applying static single assignment principles.

  13. Traffic mix matters

    A preliminary report on an M365 outage highlights how traffic mix and SKUs in load testing labs can fail to detect latent issues.

  14. External sandboxes for coding agents

    External sandboxes for coding agents explore running code safely within dedicated environments to prevent damaging actions on a machine.

  15. Running the full server-side Datasette Python app in the browser with service workers and Pyodide

    Datasette Lite has been rewritten using service workers, enabling it to run server-side Datasette applications directly in the browser with Pyodide and WebAssembly.

  16. I joined the NTP Pool, but not with my Stratum 1 Pi

    A Raspberry Pi with a timing-grade GNSS module provides Stratum 1 time for a public Stratum 2 NTP server.

  17. Deterministic Simulation Testing

    Distributed systems testing faces challenges due to subtle bugs arising from partial failures and unpredictable interactions, which standard testing methods struggle to replicate.

  18. funkycache: a Python library to cache functions in SQLite

    funkycache is a new Python library that uses SQLite to cache function outputs, automatically invalidating the cache when source files change.

  19. Making BenTasker.co.uk Available As A Gemini Capsule

    BenTasker.co.uk now offers its content as a Gemini capsule, serving gemtext over the Gemini Protocol for a more focused browsing experience.

  20. Caching CRLs in TypeScript

    Caching verified CRL summaries in TypeScript optimizes revocation checks by storing essential data until the CRL's NextUpdate time.

  21. Designing nextest's install scripts

    Nextest now offers install scripts for Unix-like and Windows platforms, addressing long-standing delivery complexities and quality concerns.

  22. Rationalizing the Command Line

    A reimagined command-line interface prioritizes typed data, single-purpose tools, consistent flags, and explicit data serialization for enhanced user comprehension of LLM actions.

  23. TIL: Drop Columns a Release Later

    Database migrations require careful planning to avoid downtime, especially when dropping columns, by phasing changes across releases and considering Postgres lock behavior.

  24. Long-horizon agents and durable execution

    Long-horizon agents can automate unpredictable, multi-turn tasks previously uneconomical for businesses, with durable execution enabling recovery from failures.

  25. People Don't Read Docs

    Software developers often face challenges when removing features, as users frequently do not read documentation or warnings about deprecation.

  26. Building a bike computer from scratch

    Building a bike computer from scratch involves optimizing software for efficient pixel updates and simplifying map geometry for limited hardware.

  27. Locating the source of a mysterious beep with Claude

    A Python web application called Beep Locator uses multiple devices to triangulate the source of an intermittent beep, inspired by the BeepBeep research paper.

  28. What if every Nix build were bit-reproducible?

    Rewind, a deterministic virtual machine, aims to make every Nix build bit-reproducible by capturing implicit build inputs.

  29. Build container images with a Forgejo runner and Docker-in-Docker

    Forgejo runner builds container images using Docker-in-Docker within a dedicated Ubuntu VM for enhanced isolation and security.

  30. LLMs are terrible at designing AI systems

    Large language models struggle with designing AI systems, often opting for complex symbolic approaches over simpler LLM calls.

  31. Unattended reboots with encrypted disks

    ZKeys is a managed service that stores encryption passphrases off-site, allowing automatic reboots while protecting data against theft.

  32. What It Costs to Run 4 Apps on My Own Servers

    Running four applications on a self-managed server costs approximately $45 per month, significantly less than managed platforms.

  33. The intensional model in disguise

    Nix, Bazel, and buck2 share a common intensional model where outputs and actions are addressed by content, unlike the traditional extensional model.

  34. Libghostty 1.0

    Libghostty 1.0, a portable terminal emulation library extracted from Ghostty, now offers stable C ABI and broad industry adoption across millions of users.

  35. A database is a store for global variables

    Databases, often seen as global variables, are examined for why they are accepted in programming despite common advice against global variables.

  36. Why You Should Care About The Political Project of Twisted

    Twisted's political project aims to demystify networked software operation, enabling individuals to build internet-facing systems at a human scale with integrated tools and a unified paradigm.

  37. Accepted proposal: grow an existing map with maps.Grow

    Go's new maps.Grow function allows pre-allocating space in existing maps to avoid repeated reallocations and rehashing.

  38. Did my AI-built frontend need more libraries?

    An AI-built frontend, initially lean with custom solutions, was migrated to established libraries, resulting in more files and dependencies but comparable user experience.

  39. A clock made of branches

    Rewind's deterministic VM uses instruction stream progress, specifically conditional branch counts, as a reliable measure of time for accurate replays.

  40. Understanding Org's LaTeX previews

    Org mode's LaTeX preview feature has been rewritten to provide near-WYSIWYG feedback with Emacs-friendly properties.

  41. Avoid Public Functions Calling Other Public Functions

    When implementing software modules, avoid having public functions call other public functions by creating a private helper function instead.

  42. Accelerating Ubuntu Core Desktop

    Ubuntu Core Desktop, Canonical's immutable and attestable Linux desktop, is restarting development with a focus on browser-centric, developer, and gaming use cases.

  43. MTL-style circuit simulator

    MTL-style effects, a final tagless encoding pattern, are used to create a circuit simulator with a restricted set of operations defined by a type class.

  44. TypeScript 7.1 and the ts-loader v10 beta

    The ts-loader v10 beta, a rewrite using TypeScript 7.1's new native API, offers performance improvements and bug fixes.

  45. The State of Context Engineering

    Context engineering faces challenges as AI models evolve, with issues like context poisoning, distraction, confusion, and clash arising from increased context windows.

  46. HPTS 2026 (Day 2 and Day 3)

    HPTS 2026 Day 2 and Day 3 sessions explored hardware acceleration for databases, DPU-based SmartNICs, and resource-centric system design.

  47. Software is slow because of bad design, not slow languages

    Software performance is typically limited by I/O and design choices rather than the programming language's speed.

  48. The Pulse: Anthropic builds its own source control system

    Anthropic developed a custom source control system called Scion and a code management platform called Antique to handle a 12x increase in daily code changes.

  49. Snapkin now uploads your photos before you tap Analyse

    Snapkin's latest update uploads photos as they are taken, rather than after tapping Analyze, to speed up meal analysis.

  50. Theseus: DOS support and AI disassembly

    Theseus, an emulator, now supports DOS by converting executables to Rust binaries, enabling the emulation of complex programs like Dr. Sbaitso's voice synthesizer.

  51. HPTS 2026 (Day 1)

    Ion Stoica's keynote at HPTS 2026 discussed two key gaps in agentic software engineering: the requirement gap and the model gap.

  52. BazelCon 2026 recap

    BazelCon 2026 in Amsterdam highlighted scale challenges, the formation of the BUILD Foundation, and Google's evaluation of rewriting Bazel in Rust.

  53. Testing AI-Generated Code: Lint the Pattern, Test the Decision

    AI-generated code tests are streamlined by using linters to enforce patterns and a shared harness for setup, focusing tests on file-specific decisions.

  54. Expose only share links of a private service with caddy

    Caddy's reverse proxy and forward authentication can expose only specific share links of private services, checking validity with the service itself.

  55. PHP's new memory_hard_limit_percent setting

    PHP's new memory_hard_limit_percent setting introduces a secondary, higher memory limit to prevent abrupt process termination and address memory exhaustion issues.

  56. ClickHouse Will Let You Be Wrong at Scale

    Ingesting and querying billions of daily network firewall telemetry logs in ClickHouse at scale presented significant challenges and led to valuable lessons.

  57. Do web components have a future if nobody is writing them?

    Web components' core value proposition is weakened in an era of agentic coding, as they were designed for manual code creation and reuse.

  58. What requirements don't you have?

    Designing elegant software involves identifying and dropping non-essential requirements, a process complicated by business and technical expertise alignment challenges.

  59. When Software Meets Hardware

    Modernizing a large retail IoT system required adapting software engineering practices to include physical hardware experimentation and device self-diagnostics.

  60. A UAF turned RCE

    Curl version 8.23.0 fixed a high-severity HTTP/2 upload use-after-free vulnerability that could lead to remote code execution under specific conditions.

  61. Are Harnesses Worth the Cost?

    A behavioral harness increased token usage, time, and cost for GPT-6 Sol without improving reliability on a coding task.

  62. Partial updates with field masks

    Using an update_mask query parameter with PATCH requests allows APIs to differentiate between undefined, null, and updated fields.

  63. Atlas Infinite: MongoDB's Disaggregated Architecture

    Atlas Infinite disaggregates MongoDB compute and storage, departing from traditional designs to preserve WiredTiger efficiency and ensure data remains encrypted.

  64. unikernels were hard. key word: were.

    Unikernels, once difficult due to missing libraries and complex concepts, are now more accessible with AI assisting in porting code and reducing attack surfaces.

  65. Toward a Self-Improving Agentic Code Review Loop

    Developers use personal AI review skills on pull requests, with author agents responding to findings in a self-improving loop.

  66. Cross Operating System Test Probes with GitHub Actions

    A GitHub Actions workflow was developed to run targeted test subsets on demand across operating systems to resolve Windows-specific failures during a TypeScript port.

  67. Recursion is DEAD and HTML killed it

    Declarative Partial Updates, a new Chromium feature, enables out-of-order streaming of content by allowing HTML to be stapled onto an initial response using a new "marker" element.

  68. Maybe a better way to track the release history of a Git repo

    A Git monorepo's release history tracking using thousands of tag objects caused performance issues, prompting an alternative proposal.

  69. What is Codemode

    Codemode, a new feature in Pi 1.0, allows LLMs to orchestrate complex operations within the harness, running JavaScript in a sandboxed environment for structured tool calls and state management.

  70. A Terminal Protocol for Program Status (OSC 7501)

    A new terminal escape sequence, OSC 7501, is proposed to allow programs to report their status, such as idle, working, or blocked, directly to the terminal.

  71. Why don’t more developers “use the platform”?

    Developers often avoid using web platform features due to historical browser inconsistencies, familiarity with npm packages, and the enjoyment of building custom solutions.

  72. Redesign without fear

    Side-by-side implementation using the Strangler Fig pattern can help teams avoid merge conflicts during large code redesigns.

  73. software doesn't need to be readable anymore. it needs to be explainable.

    Software development is shifting from human readability to machine explainability as AI models generate code more effectively than human developers.

  74. The guess and check pattern

    The guess and check pattern involves using tools to automatically generate or verify information, which is then written down as the definitive answer for deterministic use.

  75. Upstream Rust maintenance report (August-September 2026)

    This report details the author's open source Rust work in August and September 2026, focusing on reducing target directory size and compile time improvements.

  76. Data is the application

    Agentic coding enables rapid iteration on application features and UI, but the data layer remains a slow, deliberate process due to its irreversible nature.

  77. Deser: Rethinking Rust Serialization

    Deser is a Rust serialization library inspired by miniserde, rethinking Serde's architecture to address limitations with nested data and type handling.

  78. You should all be asking way more questions

    Asking frequent, clarifying questions during explanations is crucial for accurate understanding and preventing downstream errors, especially when working with AI agents.

  79. Electron to PWA: There and Back Again

    An EPUB editor developer shares their year-long experience building with Electron and then attempting a rewrite as a Progressive Web App.

  80. What Happens When the Model Eats the Stack? Rethinking the Research Agenda for Data Agents to Withstand the Bitter Lesson

    This paper applies Sutton's Bitter Lesson to data agents, suggesting LLM improvements will displace current agent scaffolding, advocating for curated contextual information instead.

  81. Why Don't My Agents Break Containment?

    An experiment explores agentic AI containment by removing token scarcity and allowing self-modification, leading to unexpected network breaches.

  82. Saturation at GitHub: the saga continues

    GitHub experienced a site-wide outage on September 13 due to an internal data-cleanup job overwhelming the primary database with connection requests.

  83. System One models like Jev can train their own replacements

    System One models like Jev can be prompted for various tasks, and their outputs can be used to train more efficient, specialized classifiers.

  84. Synthetic sagas

    A developer is rewriting a text editor with AI assistance, finding the models increasingly capable of generating functional code and tests.

  85. Building a Dashboard for my Fridge

    A Microsoft Surface Go 2 tablet is repurposed as a secure, customizable fridge-mounted dashboard for calendars and tasks.

  86. Thoughts on the July 8th Telstra outage report

    The July 8th Telstra outage report details a significant NTP issue, with the author attempting to clarify the failure mode using additional sources and educated guesses.

  87. Jetpack: Consensus Made Generally Fast (OSDI '26)

    Jetpack is a 1-RTT fast-path framework for leader-based consensus protocols that offers performance gains for write-heavy workloads but does not accelerate state-machine execution.

  88. Rebuilding the DIY alarm system

    The DIY alarm system is being rebuilt with an Arduino Mega as the core for stability and analog inputs, replacing the Raspberry Pi for logic processing.

  89. Why Function Arguments Are Not Function Colors

    Function arguments, like Go's context, are not function colors because changes to them do not necessarily propagate up the entire call stack.

  90. The irrational effectiveness of the Pi harness

    The Pi coding harness offers a minimal, transparent, and extensible alternative to bloated AI coding tools, allowing users to understand and customize its core functionality.

  91. Metastability as a failed conditional discharge of rely-guarantee composition

    Metastability in a retry storm is modeled using TLA+ as a failed conditional discharge of rely-guarantee composition.

  92. An Accidental Blackboard

    Agentic engineering practices in a Barcelona office led to the accidental rediscovery of the blackboard pattern for agent coordination.

  93. Static Allocation, Constant Work

    Static allocation after initialization, limiting the number of orders, offers a robust solution to memory safety issues in systems like order matching engines.

  94. Plush's New Register-Based Interpreter Is Insanely Fast

    Plush's new register-based interpreter, inspired by Lua, significantly improves performance by reducing instruction count and dispatch overhead.

  95. Cancelation Terminology

    This note distinguishes between synchronous cancelation as control flow, asynchronous cancelation as a communication protocol, and graceful shutdown as an application pattern.

  96. The LogDrive: Flexible Composition Through Abstraction in Shared Logs

    The LogDrive paper decomposes the Loglet abstraction into AtomicLog and LogDrive for composable durability in shared logs.

  97. Replacing a Rust Enum with a 64-bit Word Made My Interpreter 17% Faster

    Replacing a Rust tagged enum with a 64-bit word representation in the Plush interpreter improved performance by 17%.

  98. My agent.md to improve LLM-assisted code quality

    The agent.md file is introduced as a method to super fine-tune LLM coding style preferences by injecting it into the prompt.

  99. Rust Glancer

    Rust Glancer, a functional LSP server for Rust, uses significantly less RAM by analyzing dependencies differently than rust-analyzer.

  100. Introducing Microlighter

    Microlighter is a new client-side syntax highlighter leveraging the CSS Custom Highlights API for DOM-free styling and Textmate grammars for broad language support.

Load more