You are viewing a single thread.
View all comments View context
9 points

Amateurs.

I have evolved from using file extensions, and instead, don’t use any extension!

permalink
report
parent
reply
20 points

I don’t even use a file system on my storage drives. I just write the file contents raw and try to memorize where.

permalink
report
parent
reply
11 points

Sounds tedious, I’ve just been keeping everything in memory so I don’t have to worry about where it is.

permalink
report
parent
reply
3 points

Sounds inefficient. You can only store 8 gigs and goes away when you shut off your computer? I just put it on punch cards and feed it into my machine.

permalink
report
parent
reply
4 points
*

I use mime. Because magic bit.

permalink
report
parent
reply
3 points

Linux mostly doesn’t use file extensions… It relies on “magic bytes” in the file.

Same with the web in general - it relies purely on MIME type (e.g. text/html for HTML files) and doesn’t care about extensions at all.

permalink
report
parent
reply
1 point

“Magic bytes”? We just called them headers, back in my day (even if sometimes they are at the end of the file)

permalink
report
parent
reply
4 points

The library that handles it is literally called “libmagic”. I’d guess the phrase “magic bytes” comes from the programming concept of a magic number?

permalink
report
parent
reply
1 point

You can just go in Folder View and uncheck “hide known file extensions” to fix that! ;)

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 3.7K

    Monthly active users

  • 1.5K

    Posts

  • 35K

    Comments