Numeronymize
The article explores numeronyms like "a11y" and "c14n," introducing a Keyboard Maestro macro, Numeronymize, to create them easily. It uses a Perl command, emphasizing the -C switch for non-ASCII characters. Credit is given to Ian Brown and Anil Dash. Mentions Mastodon post terminology.
Read original articleThe post discusses the concept of numeronyms, which are abbreviations like "a11y" or "c14n" that represent longer words. The author created a Keyboard Maestro macro called Numeronymize to easily generate numeronyms in any editable text field. The macro works by selecting a word and shortening it to its numeronym using a Perl one-liner command. The author explains the importance of the -C switch in Perl to handle non-ASCII characters correctly. Additionally, the macro simulates selecting the word to the left of the cursor and manages the clipboard history to store temporary items. Credit is given to Ian Brown for the Emacs extension and Anil Dash for popularizing numeronyms. The post also touches on the use of "tweet" and "retweet" terminologies in reference to Mastodon posts. Overall, the author shares the process of creating the Numeronymize macro and its functionality for generating numeronyms efficiently.
Related
Cognate: Readable and concise concatenative programming
Cognate is a concise, readable concatenative programming language emphasizing simplicity and flexibility. It supports operators as functions, stack evaluation, control flow statements, list manipulation, recursion, and mutable variables through boxes.
Interactive Comparator of Different National Layouts on a Computer Keyboard
The page provides a keyboard layout comparator emphasizing alphanumeric blocks and character assignment variations. It includes Unicode code points, key names, and references to keyboard resources. Tools like TMK, QMK, and Soarer's Converter are listed. Last updated 17/05/2023. Contact Miguel Farah for inquiries.
The Eternal Truth of Markdown
Markdown, a simplified code alternative to HTML, enables diverse document formats from plain text. Despite lacking standardization, it thrives for its adaptability and simplicity, appealing to writers and programmers alike.
The history of Alt+number sequences
The history of Alt+number sequences on IBM PCs and Windows systems is explored. Users could enter characters by pressing Alt and typing decimal values on the numeric keypad, leading to discrepancies in character display based on the input control used.
Doodling with the Mac's command icon
The Mac's command key symbol, designed by Susan Kare, remains iconic after forty years. An author explores variations, recreates it in SVG, and develops a method to generate diverse shapes, showcasing generative art's versatility.
Ex: "accessibility localization internationalization multilingualization globalization" becomes "a11y l10n i18n m17n g11n" becomes "applicability locomutation intercrystallization metaphenylenediamin gastrocnemian"
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'
> 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다.
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....
edit: I do realize that I might be missing the joke entirely
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".
Related
Cognate: Readable and concise concatenative programming
Cognate is a concise, readable concatenative programming language emphasizing simplicity and flexibility. It supports operators as functions, stack evaluation, control flow statements, list manipulation, recursion, and mutable variables through boxes.
Interactive Comparator of Different National Layouts on a Computer Keyboard
The page provides a keyboard layout comparator emphasizing alphanumeric blocks and character assignment variations. It includes Unicode code points, key names, and references to keyboard resources. Tools like TMK, QMK, and Soarer's Converter are listed. Last updated 17/05/2023. Contact Miguel Farah for inquiries.
The Eternal Truth of Markdown
Markdown, a simplified code alternative to HTML, enables diverse document formats from plain text. Despite lacking standardization, it thrives for its adaptability and simplicity, appealing to writers and programmers alike.
The history of Alt+number sequences
The history of Alt+number sequences on IBM PCs and Windows systems is explored. Users could enter characters by pressing Alt and typing decimal values on the numeric keypad, leading to discrepancies in character display based on the input control used.
Doodling with the Mac's command icon
The Mac's command key symbol, designed by Susan Kare, remains iconic after forty years. An author explores variations, recreates it in SVG, and develops a method to generate diverse shapes, showcasing generative art's versatility.