Editing 1301: File Extensions

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 10: Line 10:
 
Computer file names often end in {{w|file extension}}s like ".ppt" or ".exe". These extensions are a holdover from early operating systems like {{W|DOS}} in which filenames had a maximum eight characters followed by a period and the three-character extension. The extension was used by the operating system to determine filetype so that the system would know how to handle the file (e.g. which program could open the file). Newer operating systems and file systems now accept longer-than eight-character filenames, and extensions of greater than three characters; although most extensions remain three characters.
 
Computer file names often end in {{w|file extension}}s like ".ppt" or ".exe". These extensions are a holdover from early operating systems like {{W|DOS}} in which filenames had a maximum eight characters followed by a period and the three-character extension. The extension was used by the operating system to determine filetype so that the system would know how to handle the file (e.g. which program could open the file). Newer operating systems and file systems now accept longer-than eight-character filenames, and extensions of greater than three characters; although most extensions remain three characters.
  
Most extensions are created as proprietary to certain pieces of software, although software by other developers may later be designed to be able to read the format. For example, .doc is a Microsoft Word document, although because of that software's popularity, many word processors include the ability to open .doc files. Some common file extensions are not proprietary to a piece of software and may be handled by various programs; .jpg or .gif images are examples. In either case, a file's extension is generally a good indicator of what type of data the file contains.
+
Most extensions are created as proprietary to certain pieces of software, although software by other developers may later be designed to be able to read the format (for example, .doc is a Microsoft Word document, although because of that software's popularity, many word processors include the ability to open .doc files). Some common file extensions are not proprietary to a piece of software and may be handled by various programs (.jpg or .gif images are one example). In either case, a file's extension is generally a good indicator of what type of data the file contains.
  
Certain file types are more prevalent for certain uses, with some being almost exclusive to one use, while other are in general use and might contain almost anything. Here, [[Randall]] presents a series of file extensions which often contain information, and he is rating the reliability of the information they generally contain from most reliable to least.
+
Certain file types are more prevailant for certain uses, with some being almost exclusive to one use, while other are in general use and might contain almost anything. Here, [[Randall]] presents a series of file extensions which often contain information, and he is rating the reliability of the information they generally contain from most reliable to least.
  
*{{w|.tex}} files are source files for the programs {{w|TeX}} and {{w|LaTeX}}, which are used often and almost exclusively by academics, especially in mathematics and the hard sciences. .tex pretty much means serious business, and Randall does not anticipate that anyone would use such a format other than for reliable information.
+
* {{w|.tex}} files are source files for the programs {{w|TeX}} and {{w|LaTeX}}, which are used often and almost exclusively by academics, especially in mathematics and the hard sciences. .tex pretty much means serious business, and Randall does not anticipate that anyone would use such a format other than for reliable information.
*{{w|.pdf}} files are a '''p'''ortable (as in over the web) '''d'''ocument '''f'''ormat by Adobe, frequently used for publication. Companies use them for official documentation. Thus, a .pdf file is likely to be some type of final product or polished work. Further, .tex files are generally compiled into .pdf files in order to make them readable. It would be strange to trust a .tex file without trusting the .pdf to which it compiles. For example, when submitting to academic journals in math and the hard sciences, the journal accepts the .tex file, but then compiles it and publishes the resulting .pdf. On the other hand, software which can produce a .doc/.xls(x), as described below, these days tends to have an inbuilt or addable ability to "Export to PDF", with the promise of slightly more read-onlyness and localisation-immunity than the .doc, so it might arise - in good faith or otherwise - from a less professional editor ''trying'' to look a little more serious about the copy they distribute in this document format.
+
* {{w|.pdf}} files are a document format by Adobe, frequently used for publication. pdf files are commonly used by professionals and companies for official documentation. Thus, a .pdf file is likely to be some type of final product or polished work.
*{{w|.csv}} are '''c'''omma-'''s'''eparated '''v'''alues: tables of information delimited by commas, and often consist of computer-generated raw data (from, say, a scientific experiment or a database).
+
* {{w|.csv}} are comma-separated values: tables of information delimited by commas, and are often computer-generated (from, say, a scientific experiment).  
*{{w|.txt}} files contain only plain text, no "rich text" or anything fancy. Programmers often use them for README files. The txt format indicates that the creator prioritizes recording the information over making the information visually appealing, although {{w|ASCII art}} images or multiline 'bannering' of text might be included by some authors.
+
* {{w|.txt}} files contain only plain text, no "rich text" or anything fancy. Programmers often use them for README files.
*{{w|.svg}} files are a ('''s'''calable) '''v'''ector '''g'''raphics format used a lot for diagrams, such as on Wikipedia.
+
* {{w|.svg}} files are a vector graphics format used a lot for diagrams, such as on Wikipedia.
*{{w|.xls}} and {{w|.xlsx}} files are spreadsheets used and created by the program Microsoft Excel, part of a bundle of applications known as Microsoft Office (also supported by compatible free software such as LibreOffice). These applications are very commonly used, especially for business, finance and data analysis tasks. {{w|.xls}} is a binary format used for Excel versions up to 2003, while {{w|.xlsx}} is a ZIPped XML-based format used for Excel versions 2007 and later.
+
* {{w|.xls}} and {{w|.xlsx}} files are spreadsheets used and created by the program Microsoft Excel, part of a bundle of applications known as Microsoft Office (also supported by compatible free software such as LibreOffice). These applications are very commonly used, especially for business, finance and data analysis tasks. {{w|.xls}} is used for Excel versions prior to 2007, while {{w|.xlsx}} is used for Excel versions 2007 and later.
*{{w|.doc}} files are a rich-text document format used and created by the program {{w|Microsoft Word}}, another application in the Microsoft Office bundle. As with .xls, almost anyone with access to Microsoft Office could easily make one of these. While Excel is generally used for creating tables and presenting data, Word could be used for any text-based document. Thus, Word documents tend to be far more prevalent and casually created than Excel documents, which is presumably why Randall doesn't trust them as much.
+
* {{w|.doc}} files are a rich-text document format used and created by the program {{w|Microsoft Word}}, another application in the Microsoft Office bundle. As with .xls, almost anyone with access to Microsoft Office could easily make one of these. While Excel is generally used for creating tables and presenting data, Word could be used for any text-based document. Thus, Word documents tend to be far more prevalent and casually created than Excel documents, which is presumably why Randall doesn't trust it much.
*{{w|.png}} files are a bitmap image format designed for the Internet. They enjoy wide popularity for providing crisp, full-color images with lossless (reversible) compression. Almost all xkcd comics, this diagram included, use PNG. But, since anyone can create an image (you can draw something online and it will use .png), Randall rates this type as not very trustworthy.
+
* {{w|.png}} files are a bitmap image format designed for the Internet. They enjoy wide popularity for providing crisp, full-color images with lossless (invisible) compression. Almost all xkcd comics, this diagram included, use PNG. But since he rates the format so low, is Randall saying we shouldn't trust this chart?
*{{w|.ppt}} files are used and created by the program {{w|Microsoft PowerPoint}}; as with the other two Office applications, almost anyone could easily make one of these. As they are usually used for presentations rather than documents, the information in them may be arranged differently, possibly to "dumb down" the content, or in marketing materials or talks in which the author may not be very objective. Further, several years ago, PowerPoint presentations were sometimes included instead of plain images as attachments in e-mail forwards containing inaccurate information. These emails still occasionally circulate, and may be the source of Randall's distrust.
+
* {{w|.ppt}} files are used and created by the program {{w|Microsoft PowerPoint}}; as with the other two Office applications, almost anyone could easily make one of these. As they are usually used for presentations rather than documents, the information in them may be arranged differently, possibly to "dumb down" the content, or in marketing materials or talks in which the author may not be very objective. further, several years ago, PowerPoint presentations were sometimes included instead of plain images as attachments in e-mail forwards containing inaccurate information. These emails still occasionally circulate, and may be the source of Randall's distrust.
*{{w|.jpg}} files are another image format with high compression capabilities, good for storing photos and not so good for many other things. Photographs in general are prone to image manipulation, hence Randall's low score for this file format.
+
* {{w|.jpg}} files are another image format with high compression capabilities, good for storing photos, and not so good for many other things. JPEG is prone to annoying compression artifacts, so it's generally bad for images of numerical or textual information. Cameras often take high-quality photos in the {{w|Raw image format|.raw}} format and then compress it into a much, much smaller JPEG; a JPEG file's content may be less trustworthy as it doesn't contain as much of the detail in the original image.
*{{w|.jpeg}} files are the same thing as .jpg files, but these are more likely to have been created manually rather than automatically, making them even less reliable.
+
* {{w|.jpeg}} files are the same thing as .jpg files; however, it is more likely that an image with this extension was created manually rather than automatically by, for example, the aforementioned digital camera. This makes it less trustworthy.
*{{w|.gif}} files are yet another bitmap image format, notable for supporting short animations. GIF was once ''the'' Internet image file format until PNG gradually replaced it. Since GIF is the only common image format capable of animation, it is often used to contain things like silly clips of cats falling into boxes, or annoying, blinking advertisements claiming that "you're the '''[[570|100,000,000]]th VISITOR!'''". GIFs are also created by Internet trolls, such as on 4chan.org, to feed misinformation to gullible gamers and other computer users. For example, a recent [http://mashable.com/2013/12/09/xbox-one-hoax-4chan-backward-compatible/ Xbox One Hoax GIF] contained instructions that were said to make the Xbox One backwards compatible with Xbox 360 games, but would actually make the console inoperable.
+
* {{w|.gif}} files are yet another bitmap image format, notable for supporting short animations. GIF was once ''the'' Internet image file format until PNG gradually replaced it. Since GIF is the only common image format capable of animation, it is often used to contain things like silly clips of cats falling into boxes, or blinking advertisements claiming that you're the '''[[570|570,000]]th VISITOR!'''. Their frequent use in the most annoying types of advertisements (pop-ups, etc.) is presumably why Randall deems it the least trustworthy out of all file extensions listed here. Additionally, GIF files can be concatenated with a ZIP file to hide an archive within a GIF file (Steganography), thus resulting in a file that can easily be untrustworthy.
  
 
Note that while the extensions .xls/.xlsx, .doc, and .ppt were originally exclusive only to Microsoft Office and users of Windows, there now exist a number of open source programs such as Open Office, Libre Office, and some Android apps that are capable of editing such files. These programs can run on systems other than just Windows, such as Linux, perhaps contributing to making them even more widespread and easy to make than before.
 
Note that while the extensions .xls/.xlsx, .doc, and .ppt were originally exclusive only to Microsoft Office and users of Windows, there now exist a number of open source programs such as Open Office, Libre Office, and some Android apps that are capable of editing such files. These programs can run on systems other than just Windows, such as Linux, perhaps contributing to making them even more widespread and easy to make than before.
  
The title text refers to how .txt files contain only plain text and nothing else, meaning that any alignment (such as for indentation, tables, or {{w|Justification (typesetting)|justification}}) would have to be performed manually by adding in spaces or tabs. Anyone who would go through such an effort to improve their text's readability is likely to be trustworthy, and almost by definition, the opinion presented would be justified.
+
The title text refers to how .txt files contain only plain text and nothing else, meaning that any alignment (such as for indentation or tables) would have to be performed manually by adding in spaces or tabs. Anyone who would go through such an effort to improve their text's readability is likely to be trustworthy.
  
 
==Transcript==
 
==Transcript==
:[Caption above the bar chart:]
 
 
:Trustworthiness of Information by File Extension
 
:Trustworthiness of Information by File Extension
 
+
:[A bar graph charting this. No units or figures are given, but for ease of comprehension this transcript will arbitrarily designate the highest score as "+100"; subsequent scores are estimates based on the size of their bars.]
:[A line is going down and from that gray bars charting the trustworthiness in a bar graph that goes both left and right of the line. No units or figures are given. For ease of comprehension this transcript will arbitrarily designate the highest score as [+100]; subsequent scores are estimates based on the size of their bars.]
+
::.tex: +100
:[+100]: .tex
+
::.pdf: +89
:[+89]: .pdf
+
::.csv: +85
:[+85]: .csv
+
::.txt: +67
:[+67]: .txt
+
::.svg: +65
:[+65]: .svg
+
::.xls/.xlsx: +49
:[+49]: .xls/.xlsx
+
::.doc: +21
:[+21]: .doc
+
::.png: +15
:[+15]: .png
+
::.ppt: +14
:[+14]: .ppt
+
::.jpg: +3
:[+3]: .jpg
+
::.jpeg: -8
:[-8]: .jpeg
+
::.gif: -36
:[-36]: .gif
 
 
 
==Trivia==
 
The various extensions are, for the most part, abbreviations of the file type.
 
*.tex isn't short for anything, {{w|TeX}} (that lowercase e is very important) is in fact the full name of the program
 
*.pdf is an acronym for Portable Document Format
 
*.csv is an acronym for Comma-Separated Values
 
*.txt is short for "text" - the 8.3 format meant the vowel was dropped
 
*.svg is an acronym for Scalable Vector Graphics
 
*.xls is short for eXceL Sheet (it's also why Microsoft Excel has an "X" on its icon rather than an "E")
 
*The extra x in .xlsx (.docx and .pptx) refers to the upgrade from binary to ZIPped '''X'''ML for those formats
 
*.doc is short for DOCument
 
*.ppt is short of PowerPoinT presentation
 
*.png is an acronym for Portable Network Graphics
 
*.jpg is short for .jpeg - the 8.3 format again removed the vowel
 
*.jpeg is an acronym for Joint Photographic Experts Group, the organization that created the standard
 
*.gif is an acronym for Graphics Interchange Format
 
  
 
{{comic discussion}}
 
{{comic discussion}}
 
+
[[Category:Charts]]
[[Category:Bar charts]]
 
[[Category:Computers]]
 

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)