I have a collection of files from the late ´90s and early ´00s. Many of them are .JPG, .MP3, .WAV, instead of .jpg, .mp3, and .wav. Why was that the norm at the time? I usually just change the extension myself.
I have a collection of files from the late ´90s and early ´00s. Many of them are .JPG, .MP3, .WAV, instead of .jpg, .mp3, and .wav. Why was that the norm at the time? I usually just change the extension myself.
Adding to the replies, uppercase letters have lower hexadecimal values than lowercase in the ASCII table. For example, 0x4C is uppercase L, while 0x6C is lowercase L.
Mathematically, uppercase + 0x20 = lowercase.
Alphabetically, 41 to 4f = A to O, then 50 to 5a = P to Z; 61 to 6f = a to o, then 70 to 7a = p to z. (Believe it or not, I’m typing this from meat memory, as I kind of managed to memorize it and I can even 74 79 70 65 20 6c 69 6b 65 20 74 68 69 73 as if it were a second language; it’s thanks to mnemonic shortcuts such as alpha and Omega A to O, “PTZ” p to z, among other crazy pattern matching my ND brain often does).
Back in the DOS/MS-DOS times, RAM and (floppy) disk were very small (a floppy disk had <2MB, and I’m talking about the “modern” floppy disks from the 2000s), so there was this thing called “code golfing” in which programmers used to do some arcane math-magick to conjure as many bytes as possible from inside a single byte. Things like “packed” game sprite channels, side channel data (wonder how compression algorithms got created?), etc. They wouldn’t and often couldn’t “throw more hardware at the problem” like we’re used to nowadays. Sparing the 3rd most significant bit (01x1 1010, Z if x = 0, z if x = 1) would allow for side-channel data such as visual formatting (e.g. whether the character is selected in a terminal emulator).
This all likely played a role when they got chosen as the default interval for alphabet letters back then. Also, decimal numbers, 0x30 to 0x39 (resp. 0 to 9) are closer to the uppercase letters than to the lowercase letters, and so are most of the punctuation (which I didn’t get to memorize yet, but I remember they’re scattered across 0x21 to 0x2f then 0x3a to 0x3f then 0x5b to 0x5f).
This legacy kind of still lingers nowadays, for example, in PC keyboards whose key codes for alphabet letters (afaik) map to the 0x41 to 0x5a range when it gets to the HID driver. Then there are also devices in which program logic is burned into IC chip, such as “old” digital cameras and camcorders, so they ended “frozen” in a time where the file extension was conventionally uppercase.
(And, no, I’m not a millennial, although I’m almost one, sitting at the very cusp between them and Zs, two generations who saw the transition from analog to digital tech during our childhoods/teens).
!nostupidquestions@lemmy.world
1992 born, I got the tail end of that. My mom was a cobol programmer, while my dad was able to get his hands on recycled hardware. Before the house fire, he had at least 20 towers, bags of parts, a closet full of monitors, keyboards and mice.
It was trippy to see the growth of technology from windows 95 to now.
My tism found that as adorable as electrickery. 😊