3 bookmarks for 2026-07-01

2255.

If I want more IRL, I must go AFK - blakewatson.com

www.blakewatson.com/journal/if-i-want-more-irl-i-must-go-afk

I use a computer for hours and hours a day, partly because I love it, and partly to compensate for my disability. But how much is too much?

2254.

The KDL Document Language

kdl.dev

kdl is a document language, mostly based on SDLang, with xml-like semantics that looks like you're invoking a bunch of CLI commands!

Semantics similar to XML!

package {
  name my-pkg
  version "1.2.3"

  dependencies {
    // Nodes can have standalone values as well as
    // key/value pairs.
    lodash "^3.2.1" optional=#true alias=underscore
  }

  scripts {
    // "Raw" and dedented multi-line strings are supported.
    message """
      hello
      world
      """
    build #"""
      echo "foo"
      node -c "console.log('hello, world!');"
      echo "foo" > some-file.txt
      """#
  }

  // `\` breaks up a single node across multiple lines.
  the-matrix 1 2 3 \
             4 5 6 \
             7 8 9

  // "Slashdash" comments operate at the node level,
  // with just `/-`.
  /-this-is-commented {
    this entire node {
      is gone
    }
  }
}

Also reminds of QML, nginx config and of course Mycomarkup.

2253.

Making HTTP requests from a container that has no curl, using bash /dev/tcp

mareksuppa.com/til/bash-dev-tcp-http-without-curl

Minimal container images often ship without curl, wget, or any HTTP client at all. Bash can open a TCP socket through /dev/tcp, which is enough to write a tiny HTTP/1.1 request by hand for quick checks.