Lets talk about bad Linux design choices and what Microsoft got better

Lets talk about bad Linux design choices and what Microsoft got better.

I'll start, binaries don't have specified file extension

Other urls found in this thread:

wiki.debian.org/MIME
en.wikipedia.org/wiki/List_of_file_signatures
twitter.com/SFWRedditGifs

The possibilities in async io, see PyParallel.
A good, standard UI library and desk... jk it's fucked.

Fuck off Sup Forumsack

Gnome 3 is cancer

this

>file extension
mime > extensions

something I really hate though is that I can't use a small KDE / Gnome tool without pulling 300mb of bloat. also that mono crap that uses 200mb.

>inb4 systemd is a lump in satan's left testicle

Care to explain? How is mime replacement for file extension?

is that why microsoft hides extension by default?

>remove extension
>suddenly windows completely shits itself

have you consulted the search engine of your choice?
wiki.debian.org/MIME
binaries have a distinct magical number at the beginning of the file. windows executables start with MZ; ELF files start with 7F E L F
many file formats have something like that at the beginning:
en.wikipedia.org/wiki/List_of_file_signatures
this renders file extentions completely redundant

Literally Sup Forums the picture

>standard ui library
>good
w-e-w

...

LOL, you all got trolled by me. There are no bad design choices in Linux. It is superior in every way to any other operating system. Haha you all fell for it. top kike

...

Am I missing something? Why the hell should I probe a file's insides to know what type of file is it? What about formats that don't have anything like a magic number? And how is this not so obviously inferior to file extensions?

...

>these are the niggers that you have to endure, posting off topic politicb8 wherever they can
Small boards best boards.

Windows is larger than a Linux with all KDE and Gnome bloat preinstalled. Linux just lets you install the bloat when you need it.

...

Again, fuck off Sup Forumsack.

Yeah, really pisses me off when gnomes go on my laptop in night and do that.

Never been to Sup Forums in my life, but thanks anyways.

t. I was only pretending to be retard.
and/or
t. I fucking love reddit.

>Why the hell should I probe a file's insides to know what type of file is it?
because the content matters, not its name. GNU/Linux does that for you automatically, use file -i for example.
>What about formats that don't have anything like a magic number?
such as? plain text files are categorized as text/plain
>And how is this not so obviously inferior to file extensions?
because the mime type is bound to the actual type, not the name. why should the name dictate how a file is being interpreted? makes no sense. actually, on windows files are interpreted based on the magic number too but only on a per-application basis. you should be able to rename a .jpg to .png and it'll open the file just fine because your image viewer doesn't care about the file extentions either. it's only windows explorer who cares about extentions, which is an ugly hack. essentially, the type is saved twice on windows and the types must at least match in category.

Is that a beard on the dude middle right? Holy mother of wispy shit

please stop ruining my thread

icons being embedded in binaries

it's all clear now
without such fine specimen of the white race, western civilization will perish

mime are fucking stupid

why?

Where do ypu store them user?
Why are they improving compared to old extensions?
I use extensions and have pbs only with stupid programs that refuse to use them.

lets talk about how bill gates reverse engineered the apple 2 and didnt even make DOS

lets talk about how he stole the window manager and GUI from apple

lets talk about how gates wouldnt even have software without hacking apple software and modding the physical hardware yet he locks down windows like a prison cell

hes the literal definition of a hypocrite

the mime type is deduced based on the file's content.
the associations are typically stored in /usr/share/mime

I miss right click run as admin.

>deduced from the file content
So inneficient. It's fucking back to the trees.

the magic number is typically 2 bytes long you fucking mongoloid

Yeah choke on that purity. Of course image viewer doesn't check whether filetype has right extension why should it? But I can just look in filemanager and see it.

People like you really bother me. You are clearly articulate and not a troll and I've seen other people say something similar yet I can't fathom why you hold that position. I mean you would rather live in a world where you download a zip file, you won't see where things inside are jpegs,pdfs or something else? Should I extract 3 GB file for minutes, run a console command to see that I downloaded a greek orthodox manuscripts instead of movie? Would that be pure?

Windows: thumbnail view in file picker since 1845.

Linux in current year: "What? Thumbnails? Just manually rename thousands of image files instead. You don't need that feature. Just drag and drop from another program. Just use ascii art instead of images. "

Where do you put it? There is a lot of format already existing. Texts formats won't impose a magic number, that's stupid.

C:\Program Files vs /bin,/usr/bin, /usr/local/bin, /usr/share, /usr/sbin, /opt

t. Got trolled twice in the same thread

C:\Program Files is basically /opt though

that's /usr/share/

Why do people fucking do this? This is basically the new anonymoose trend

C:\Program Files\* basically has no defined structure and applications can use their subfolders as they want
Everything (binaries / assets / ..) is under one directory
This is largely the same with /opt

alt-lite

>Why do people fucking do this? This is basically the new anonymoose trend
people have always wanted to fit in into a group, more so when they're actual outcasts so they don't care if they actually look and act like retards al long as they're part of something and feel appreciated by others, just look at sports hooligans

Holy shit this has to be the most cringy one yet

Also why the fuck is that Syrian flag there. I don't even.

Some people have zero self awareness

But linux has file extensions? What the fuck are you talking about retard? What the other guy was saying is that file extensions aren't what programs should use to determine what the file actually is.

you always gotta have a token negro and a token mexican

What is he so worried about?

he still has a bit of self awareness and is worried about being on the pic with all those mongs

He already told you. The file explorer tells you what kind of file it is based on the content.

"Kekistan" didn't come from Sup Forums did it? I seems like people would get run off this website if they posted that garbage

He just realized it's too late to bail because the photo just got taken, just when he realizes what he got himself into.

what do you think the clover on the top left of the flag means?

>61661481
I think it's this black guy from youtube together with reddit fags

that they stole it and slapped it on their flag? No one from Sup Forums would ever unironically like that shit

It's Sup Forums alright.

the flag came from here, they even sold badges of it on Sup Forums

this guy for sure the rest look like /r/thedonald/youtube/redditfags

Sup Forums is severely autistic surprising no one

Except foreigners have taken over Sup Forums

is that why its the most trafficked board on all of Sup Forums?

Breathe in. Read. Breathe out. Read again. He said extension in generals are an ugly hack and redundant.

What file explorer does that? And you still would have to extract that file.

a non shitty one
If you look at the files you're extracting them anyways in memory

these existing formats you're talking about all have magic numbers, retard

file extensions are stupid and binaries don't need them since you have execute permissions.
Not only binaries can be executed and interpreting a file name like what it is only a recipe for disaster

What's the magic number of a .html file again?

.html is not a binary file that needs to be opened with the correct parser/interpreter. it can be opened with a text editor just like any text file.

removing extensions creates problems mimes dont fix, smartass

But that's not the question I asked sweetie

Lies ain't arguments.

the obvious implication was that .html files don't have magic numbers, just like all text files. text files don't need a magic number to be opened with a text editor. why is this so hard to understand for your pea-sized brain?

Implying we only open text files with a text editor. I know ypu were stupid.

Any good file explorer.

To add to that, the image I uploaded is named "image" on my disk, Sup Forums added .png for illiterates like you

>remove extensions
>you can no longer group related files like html/css/js/jpg by giving them the same name, letting the extension provide uniqueness and a contextual hint of the file's purpose and how to open it
>you need to make up arbitrary suffixes to add to your related files so they are unique
>you need to let the system open a file with the registered program to determine what it is after opening it, open it once to read the mime number and then open it again with the right program, or curse as you open images in your text editor and text files in your image editor time and time again

>breaking stuff that works and exists for a reason is progress, guise!

By default we do, brainlet. Nothing stops you from opening them with something else in case you need to.

>>you need to let the system open a file with the registered program to determine what it is after opening it, open it once to read the mime number and then open it again with the right program, or curse as you open images in your text editor and text files in your image editor time and time again
Yep, you're an idiot and shouldn't be talking.

Except this doesn't happen.
And you can run a daemon or have your file manager determine what files contain. No need to start a new process

I m waiting for the day your web server confuse php and html files. That will be ₣unny. And I will laugh at you 1kloc tp guess file types, when my 10 loc will do the jobs. Mime type came from webdev, no surprises...

rar and zip archives containing images can be renamed to cbz and cbr to contextually change the file's purpose to be opened in an image viewer as an image series as the file's default action. mimes dont allow for that without modifying the file's content

that you cant think of such things and dont see how mimes and extensions are not equivalent or interchangeable shows you really dont do much with your pc and have a very small world

except yours breaks when someone doesn't name their files like you want them to

Don't argue with webdevs.

I could say the same for your mime types. And people see it very soon when they mess with ₣ile extensions.

I don't do webshit, Pajeet.

I'm not saying they shouldn't coexist, they both serve different purposes. But only using file extensions is a terrible design.
File extensions are good for a file manager or a user, but if a program refuses to open a file because it's not named the way the programmers want it to be named that's a broken program.
I.e. your 10 sloc shitware is shit, and you'll have to make it 1010 sloc instead to respect both

For desktop usage file extensions are in 99% of cases not necessary

>I'm not saying they shouldn't coexist, they both serve different purposes. But only using file extensions is a terrible design.
this desu

file extension: mime type in the filename that specifies context for usage, allowing it to be changed on a whim without compromising the data, lets users make files open in different programs that can handle the same data without altering the file, see mime type: fingerprint in data allowing software to identify its probable type as a fail-fast measure

No. I never use black magic to find a file type. In worst case I open it with ed. I never need your shitty 1kloc.

Trolling?

What the fuck is Maddox doing in that photo?!

this maddox?

you must be BRAND! new here

Wut. Are you retarded?
Mime does not imply you have to get rid of filename extensions. They are useful when processed by human, not useful when processed by the machine.

why not head | xxd you autist