Numeronymize

(leancrew.com)

48 points | by surprisetalk 91 days ago

16 comments

  • 2shortplanks 90 days ago
    Fowler's Law on Unicode: There's always another bug, you just haven't found it yet.

    Dr Drang's script counts the number of _characters_ not the number of _glyphs_. This matters because there's more than one way to represent é: Either just as unicode character \x{e9} ("NFC") or as a combination of "e" and the combining character that adds the accent ("NFD")

    For example for "léon" this prints out "l3n" for me.

    What you need to do is normalize to NFC.

    > /usr/bin/perl -C -MUnicode::Normalize -pe '$_=NFC($_);s/(.)(.+)(.)/$1 . length($2) . $3/e'

    • wizzwizz4 90 days ago
      NFC isn't right, either: some letters don't have pre-composed forms. Imo, you need to pull in a whole glyph-counting algorithm.
  • timpark 90 days ago
    For fun, I wrote some Javascript that will numeronymize text, but it will also "de-numeronymize" it again by converting the result back into random words that also match. (if a match can't be found, it returns the original word, and unlike the article, it doesn't handle non-English characters) https://www.timpark.org/n10e-s2e-t2t/

    Ex: "accessibility localization internationalization multilingualization globalization" becomes "a11y l10n i18n m17n g11n" becomes "applicability locomutation intercrystallization metaphenylenediamin gastrocnemian"

  • Feathercrown 90 days ago
    I dislike numeronyms. They may be shorter to type, but unlike acronyms, where the acronym itself is a valid pronounciation, numeronyms cannot usually be pronounced. The only way to know how is to know what the original word is, so you have to ask every time.
    • griftrejection 90 days ago
      It will never cease to be funny how inaccessible "a11y" is if you don't already know what it means. Mike Judge couldn't even make this stuff up.
      • card_zero 90 days ago
        Probably anorthography: a loss of the ability to write or to express thoughts in writing because of a brain lesion.
      • hollerith 90 days ago
        If you don't already know, you use a search engine to find out.

        (Lack of an obvious pronunciation is a good objection, tho.)

        • cowsandmilk 90 days ago
          That doesn’t change the fact that it is inaccessible for no gain.
          • NeoTar 90 days ago
            It’s shorter to say (4 vs 6 syllables), and to write - how is that ‘no gain’?
            • MrVandemar 90 days ago
              False economy. The trade-off between "saving some syllables" and the concomitant problems it causes is not worth it.

              To this day I don't know what Eli8 means, and I'm not going to even bother to look it up. It's not communication.

        • carlob 90 days ago
          >(Lack of an obvious pronunciation is a good objection, tho.)

          ally?

    • NeoTar 90 days ago
      I18n is 4 syllables, internationalisation 7. It may not be pronounceable, but many abbreviations are not, and it’s still faster.

      But yes, like every abbreviation, do use the full word the first time you use it “Considering the topic of internationalisation (i18n)…”

    • lifthrasiir 90 days ago
      Indeed, it is strictly worse than an abbreviation made by removing the medial part, e.g. intl'n or acc'y, because numeronyms only keep the first and last character.
    • adolph 90 days ago
      My kates auth zen operator doesn’t support I ate teenen.

      It works ok as long as there’s nobody named Katherine.

  • berikv 90 days ago
    T3e is no b4r w1y to w3e t2t w2h l2g w3s t2n to n10e t2m e8e!

    > perl -C -pe 's/(\w)(\w+)(\w)/$1 . length($2) . $3/ge'

    Or for the less o4e among us, this v5n will only n10e words with l4h six and up:

    > perl -C -pe 's/(\w)(\w\w\w\w+)(\w)/$1 . length($2) . $3/ge'

    F3l v5n:

    perl -C -pe 's/(\p{L})(\p{L}*)(\p{L})/$1@{[length($2)]}$3/g'

    N12g w5t i18n w3d n1t b0e c6e, t2s t2s a u1f-8 c8e v5n. I c2l i0t I16r-v1.0

    새0로 오0신 모0든 분1께 인3고 싶2다.

    • AlecBG 90 days ago
      Translation:

      There is no better way to write with long words than to numeronymise them everywhere!

      Or for the less obtuse among us, this version will only numeronymise words with length six and up:

      • worstspotgain 90 days ago
        I spent some time staring at l4h, after quickly reading o4e as 'obese' on the way there. I suppose this might be a good Freudian slip generation scheme?
    • awelotta 90 days ago
      Numeronymizing without internationalization would not be complete, thus this [???] a utf-8 compatible version. I call it Internumeronymizer-v1.0
  • KaiserPro 90 days ago
    I'm loving the perl one liners. I fear its a dying art!

    Tangent:

    I worked at a large financial news site for a number of years.

    One of our best engineers spun up an "a11y" sub team. As it was quite involved and they went team to team doing things, I assume it was some sort of dev tool initiative.

    It was only after I left and I was describing it as the "ally" team that I was told what it meant.

    Its like "banal" its only when you say it out load amongst (hopefully) friends do you realise that you've not got it quite right....

  • OscarCunningham 90 days ago
    I-1i think this i0s funnier t0o apply t0o short words. Also t1e word 'a4d' i0s pronounced like i1's written.
    • bckr 90 days ago
      Okay what’s a4d
      • Etheryte 90 days ago
        By the description I'd guess "afford", it's neat that you pronounce it the same way when it's abbreviated.
  • fifticon 90 days ago
    I misinterpreted this first as hacker/leet-speak, so that those words would be ALLY and CLAN..
  • jl6 90 days ago
    Ambiguously rude numeronyms can make you look like a big s2t.
    • 082349872349872 90 days ago
      Make your service names easy to remember: adopt the convention that they should be Hamming-distance 1 away from swears.
  • magicalhippo 90 days ago
    I guess this is the modern variant of l33t[1].

    [1]: https://megatokyo.com/strip/9

  • lxe 90 days ago
    Thought it was a typo. It's not:

    https://mastodon.hccp.org/@igb/112734767519719978

    > e14n -> "Andreesen Horowitz" is not a typo, it is a bit of an easter egg/joke (Sorry, I can't help myself.):

    > "e14n" has recently shown up in social meda as shorthand for @pluralistic's "enshittification" coinage. Andreesen Horowitz often refers to themselves using a numeronym: "a16z".

  • 627467 90 days ago
    for whatever reason I always thought a11y was ally. but, is c14n c(i)yan? and, what is l18n?
  • ThrowawayTestr 90 days ago
    Is this 1337 speak for the modern world?
  • ajuc 90 days ago
    Spelling accessability as a11y is the pinnacle of irony.
  • smartmic 90 days ago
    Perl and its powerful oneliners deserve the credit for this exercise.
  • perks_12 90 days ago
    this will come in handy once I start my vc fund.
    • kurthr 90 days ago
      You like to n10e for a11y, I like to n10e for c14n, Let's call the whole thing off.
    • Etheryte 90 days ago
      Hopefully your v5e c5l fund will be a good fit for my s5p.