Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Numeronyms are obnoxious

Ben Nuttall
September 24, 2023

Numeronyms are obnoxious

Lightning talk given at PyCon UK 2023

Ben Nuttall

September 24, 2023
Tweet

More Decks by Ben Nuttall

Other Decks in Technology

Transcript

  1. pydantic-i18n To start to work with pydantic-i18n, you can just

    create a dictionary (or create any needed translations storage and then convert it into dictionary) and pass to the main PydanticI18n class.
  2. Numeronyms Have you read about k8s, a11y, i18n, l10n, m17n,

    c14n and v12n - but no idea what people are talking about?
  3. Numeronyms Numeronyms are a cryptographically (c15y) secure way to compress

    long words using a one-way hash, meaning they cannot usually be decrypted.
  4. I wrote a numeronym decrypter in Python $ python numeronyms.py

    -d i18n intercrystallization interdifferentiation internationalization institutionalization
  5. Want to turn a long word into a numeronym? $

    python numeronyms.py -e numeronym n7m
  6. Want to turn a short word into a numeronym? $

    python numeronyms.py -e test t2t
  7. Want to turn a shorter word into a numeronym? $

    python numeronyms.py -e bin b1n
  8. Want to turn an even shorter word into a numeronym?

    $ python numeronyms.py -e ha h0a
  9. Want to turn an even shorter word into a numeronym?

    $ python numeronyms.py -e x x-1x
  10. What are numeronymns? Even Wikipedia doesn't know • 143 –

    I love you • 187 – slang for "murder" • 520 – I love you • E15 – The Eyjaallajökull volcano in Iceland • s5n – shorten • h7k – hyperlink • a16z – Andreessen Horowitz • 64 – Tiananmen Square protests of 1989 • K8s – Kubernetes • sk8r – Skater • K9 – Canine
  11. K3s? WTF? We wanted an installation of Kubernetes that was

    half the size in terms of memory footprint. Kubernetes is a 10-letter word stylized as K8s. So something half as big as Kubernetes would be a 5-letter word stylized as K3s.
  12. K3s? WTF? We wanted an installation of Kubernetes that was

    half the size in terms of memory footprint. Kubernetes is a 10-letter word stylized as K8s. So something half as big as Kubernetes would be a 5-letter word stylized as K3s.