$30 off During Our Annual Pro Sale. View Details »

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. Numeronyms
    n8s

    View Slide

  2. pydantic-i18n

    View Slide

  3. pydantic-i18n
    So what is it?

    View Slide

  4. pydantic-i18n
    pydantic-i18n is an extension to support an i18n for the pydantic error messages

    View Slide

  5. pydantic-i18n
    So what is it?

    View Slide

  6. 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.

    View Slide

  7. pydantic-i18n
    So what is it?

    View Slide

  8. What does i18n mean?
    i18n = internationalisation

    View Slide

  9. Pydantic-i18n = internationalisation for pydantic
    Why didn't you say?

    View Slide

  10. Numeronyms
    Have you read about k8s, a11y, i18n,
    l10n, m17n, c14n and v12n - but no
    idea what people are talking about?

    View Slide

  11. Numeronyms
    It's not because you're stupid -
    it's because they're obtusely using
    numeronyms!

    View Slide

  12. Numeronyms
    Numeronyms are a cryptographically
    (c15y) secure way to compress long
    words using a one-way hash, meaning
    they cannot usually be decrypted.

    View Slide

  13. Numeronyms
    Kubernetes

    View Slide

  14. Numeronyms
    Kubernetes

    View Slide

  15. Numeronyms
    Kubernetes
    -12345678-

    View Slide

  16. Numeronyms
    K 8 s

    View Slide

  17. I wrote a numeronym decrypter in Python
    $ python numeronyms.py -d i18n
    intercrystallization
    interdifferentiation
    internationalization
    institutionalization

    View Slide

  18. Are you feeling lucky?
    $ python numeronyms.py -d a11y --lucky
    aboriginality

    View Slide

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

    View Slide

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

    View Slide

  21. Want to turn a shorter word into a numeronym?
    $ python numeronyms.py -e bin
    b1n

    View Slide

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

    View Slide

  23. Want to turn an even shorter word into a numeronym?
    $ python numeronyms.py -e x
    x-1x

    View Slide

  24. 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

    View Slide

  25. 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.

    View Slide

  26. 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.

    View Slide

  27. Numeronyms are obnoxious
    Like with acronyms, don't assume people know what they mean! Expand them!

    View Slide