Skip to content

Blag

  1. Unbiased Decisions

    When you use data to make “unbiased” decisions, the questions you ask and the data you choose are the bias.

  2. Encoding data for POST requests

    Permalink: Encoding data for POST requests

    I'm grateful that Jake Archibald has taken the time to cover some of the browser's built-in APIs for managing form data. I've been building forms for years, and I still learned a lot from this post, particularly around FormData and how fetch handles different body object types.

    On a tangentially related note, I've been tootling around with remix.run for a personal project, and one of the core design decisions is to use native browser APIs whenever possible. It really is quite nice to be able to take a <form> element and convert it to a fetch request with minimal effort:

    fetch(form.action, {
      method: form.method,
      body: new FormData(form),
    });
    
  3. The Future of CSS

    Permalink: The Future of CSS

    Miriam Suzanne gave an excellent talk about the future of CSS, outlining three of the newer working group proposals and specifications.

    Specifically:

    • cascade layers
    • scoped styles
    • container queries

    Having spent much of my career working on bespoke websites with drastically different needs and equally different approaches to design, it's gratifying to have such a clear view into the future of CSS. Having any one of the three features would be an enormous win for CSS architecture, but all three together? Revolutionary.

  4. Modern HTML Boilerplate

    Permalink: Modern HTML Boilerplate

    Manuel Matuzovic has an excellent write-up of his modern HTML boilerplate.

    I really enjoy reading these back-to-the-basics type posts because I almost always learn about some new feature that I wasn't aware of before. This post was no exception. In particular there's a lot to know about icons and image previews that I now want to integrate into all of my projects.

  5. My Focus

    Where did you go?
    I could have sworn
    you were here a minute ago.

    I looked at my phone
    to check a notification,
    only for a minute.

    Only when I looked up
    —half an hour later—
    did I realize you were gone.