Let's look at the top ten questions from 20211, by score, in the tag:
- TAR_BAD_ARCHIVE and TAR_ENTRY_INVALID when trying to npm install any package (1)
- Error: docker buildx on x86_64 for building multiarch--x86_64, arm64 (1)
- Disable Chrome's gzip automatic decompression (2)
- What is the fundamental difference between tar (Unix) and tarfile (Python)? (3)
- Remove duplicates from tar archive (4)
- AWS lambda tar file extraction doesn't seem to work (4)
- How do I extract a tar file in nodejs using the pipeline() method? (4)
- How to dump in memorry files to an in memmory tar and than dump that tar to disk in python (4)
- Can't map a function to tarfile members in parallel (4)
- How decompress and unpack tar.gz archive in download process? (4)
The numbers beside the links are my categorization (groups):
"I tried to install a development tool or otherwise set up a programming environment, using an installation process that involves extracting a tar
archive; what went wrong?"
"I have some Javascript code that is supposed to download compressed data, but on some browsers it decompresses automatically, which I don't want; how do I prevent it?"
"Why do these two tar
archives representing the same content have different file sizes?" (i.e., a conceptual question about the file format itself, being asked in order to verify that the code is working properly, or possibly to look for opportunities to conserve disk space... ?)
"How can I manipulate/extract the contents of a tar
archive in a specific way using actual code (in bash, Python etc.)?" (or debugging questions related to this, e.g. a failure of an AWS setup to extract the archive automatically)
Do you see the pattern? These are all technical questions about how to use tar
, in a programming context, to solve a practical problem that matters to programmers.
Having a list of file extensions doesn't represent such a problem. You might be able to frame it as one - for example, if you said that you were writing a Bash script that automatically "does something" with every file in a directory, depending on its type, and the "something" includes extraction for tarfiles. (Even then - while Bash is a programming language and writing Bash scripts is definitely on topic for Stack Overflow - you would probably get better help at Unix & Linux Stack Exchange.)
However, this would be a massive XY problem. The question isn't really "what suffixes are there?", but instead "how can I tell if a given file is a tar file?". The thing is - there isn't an exhaustive list, because tar
comes from the Unix ecosystem, where filename extensions are not expected to determine the type of a file. Any time you see foo.tar.gz
, that is people following a convention to communicate information on a human level - a convention that comes from the DOS world. (At some point, of course, everyone stopped caring about limiting those extensions to three letters, but that doesn't change the history.)
Also note here that "list" questions generally don't do very well. To justify "what are all the Xs?", it needs to be demonstrable that X is a closed set; it has to be able to solve a practical problem to have that information; and it should be that an explicit list of Xs is for some reason more useful than a simple rule that tells you whether or not something is an X.
I have been using Stack Overflow for over 10 years now and I can't remember a time when questions about software tools used during software development were considered off-topic.
It comes across that you might be wondering if the policy has changed over time. I don't think it's the case that questions about tar
have become inherently more or less likely to be deemed on topic over the years.
My evidence: As you note, there are over 2500 questions in the tag - I currently see 2576, of which 2438 are not closed. In the above search for questions from 2021, I see 193 results, of which 186 are not closed. Stack Overflow has been around for about 14 years, so it seems to me that tar
questions are being asked at around the usual pace; and if anything they are more accepted now than usual (96% vs 95%, although this result seems very unlikely to be statistically significant).
[1] That was what was easy to search for. Searching for questions in 2022 wouldn't be fair since the year isn't over yet.
tar
-the-program is a programming related problem, in how far is the list of tar archive suffixes a programming related problem?tar
? And how many coders do you know who use such command line utilities?ping
doesn't change its topicality after I started coding.