Programming language file extensions that match ISO 3166-1 alpha-2 country codes

4 days ago (bruh.ltd)

Back in the day pl was a real problem.

It was and is the conventional extension for the Perl programming language, and Perl was most popular for server side (CGI) scripts for some time.

At same time the idea that webserver and user agent should negotiate the most suitable form of content was all the rage. Little of that survived (compression algorithm) but it used to be used for language as well.

Apache had the convention to use the two letter language code as file extension to encode the language. For example it shipped with collection of error messages in many languages, e.g. 404.html.pl.

Since this conflicted with Perl CGI scripts, Perl got .plx for Perl Executable in Apache and it was proposed as the official Perl extension, but did not stick.

Isn't ruby .RB?

And why have I not seen loads an loads of .py domains for python? Paraguay is a stable enough country for this purpose. Do they limit domain names to residents?

Try also

    wget https://iso639-3.sil.org/sites/iso639-3/files/downloads/iso-639-3.tab
    grep -xFf <(grep -o ^... iso-639-3.tab) /usr/share/dict/british-english 

You can make whole English sentences out of ISO 639-3 language codes:

    woo yes, any fun car has the big dry cat, and thy ads are zen too; bye!

using the codes of Manombai Nyankpa Anyin Fulniô Galibi_Carib Haisla Chitwania_Tharu Biangai Darai Catalan Ansus Tha Adamorobe_Sign_Language Western_Arrarnta Zenaga Xicotepec_De_Juárez_Totonac Pouye

.cs is missing (for Czechoslovakia). Anecdotally, it also seems that c# is more popular in Czech Republic than in neighboring countries. Also quite some people from the MS C# team from there

I love random associations between different concepts! And that the page title becomes 'Michaelsoft Teams' when inactive <3

Which are some interesting programs written in the Markdown programming language?

  • I think according to the spec markdown can contain any JS program you want (inside raw html).

.sh is Saint Helena? I always assumed it was just "shell". Are there any file extensions on the list that are technically country codes but nobody actually uses them for the country?

  • All two letter TLDs are some country's code. .tv (the oldest and longest example of a popular country code used by businesses) is Tuvalu but Tuvalu makes a nice revenue in all the television domains so they are mostly happy with the arrangement. It amuses me how much it bugs some of my friends when I ask what they are watching today on "Twitch dot Tuvalu".

    A more controversial example is .io for the Chagos Islands which was assigned .io because at various times it has been referred to by its colonialist name the British Indian Ocean Territory. As a place it is full of ugly history including the British forcefully exiling big parts of the native population to help the US build a military base there. The registrar in charge of .io is a British company and the money has almost never benefited the natives or residents of the Chagos Islands. But it became the "hip" tech company TLD because it looks like input/output. There have been multiple awareness campaigns trying to get tech companies to offset this colonial bias in internet infrastructure with donations to useful charities.

    • Since Europeans were first to discover and settle on the islands, wouldn't they have a greater claim to "indigenous" status than later ethnic groups? I genuinely don't understand, having had a quick read of the history, how your narrative of "colonialism" (in the pejorative) fits the actual timeline.

      3 replies →

  • > Are there any file extensions on the list that are technically country codes but nobody actually uses them for the country?

    Do we count .su?

We must prepare for the possibility of a malicious secession of Exeter City, likely with Chris Martin as president.