Collecting my attempts to improve at tech, art, and life

Every Post Has a UUID

Tags: site helpful-hint

Gave them all a Universally Unique Identifer, per RFC 4122.

Should simplify rearranging the site sources. Helpful hint: don’t rely on filenames as unique content identifiers for your workflow. Oh sure they work fine 80% of the time, but that last 20% is a doozy.

I used Python’s uuid library. There’s also the uuidgen command if I switch away from a Python workflow.

2024-01-14

Yeah that didn’t last. Persistent file paths are way easier to read.


Got a comment? A question? More of a comment than a question?

Talk to me about this page on: mastodon

Added to vault 2024-01-15. Updated on 2024-01-26