[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Lets talk about bad Linux design choices and what Microsoft got

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 119
Thread images: 10

File: 1499971773428.jpg (220KB, 1113x1200px) Image search: [Google]
1499971773428.jpg
220KB, 1113x1200px
Lets talk about bad Linux design choices and what Microsoft got better.

I'll start, binaries don't have specified file extension
>>
>>61659303
The possibilities in async io, see PyParallel.
A good, standard UI library and desk... jk it's fucked.
>>
>>61659303
Fuck off /pol/ack
>>
>>61659303
Gnome 3 is cancer
>>
>>61659675
this
>>
>>61659303
>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.
>>
>>61659303
>inb4 systemd is a lump in satan's left testicle
>>
>>61659874
Care to explain? How is mime replacement for file extension?
>>
>>61659303
is that why microsoft hides extension by default?

>>61660057
>remove extension
>suddenly windows completely shits itself
>>
>>61660057
have you consulted the search engine of your choice?
https://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:
https://en.wikipedia.org/wiki/List_of_file_signatures
this renders file extentions completely redundant
>>
>>61659303
Literally /pol/ the picture
>>
>>61659366
>standard ui library
>good
w-e-w
>>
File: img_1563.jpg (2MB, 3242x2424px) Image search: [Google]
img_1563.jpg
2MB, 3242x2424px
>>61660224
>>
>>61659366
>>61659533
>>61659675
>>61659825
>>61659874
>>61659979
>>61660057
>>61660162
>>61660194
>>61660224
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
>>
File: 1500586607863.png (824KB, 780x617px) Image search: [Google]
1500586607863.png
824KB, 780x617px
>>61660315
>>
>>61660194
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?
>>
File: 1497763124840.jpg (91KB, 1080x720px) Image search: [Google]
1497763124840.jpg
91KB, 1080x720px
>>61660340
>>
>>61659303
>these are the niggers that you have to endure, posting off topic politicb8 wherever they can
Small boards best boards.
>>
>>61659874
Windows is larger than a Linux with all KDE and Gnome bloat preinstalled. Linux just lets you install the bloat when you need it.
>>
File: d19j87qrbb4z.jpg (759KB, 3319x3022px) Image search: [Google]
d19j87qrbb4z.jpg
759KB, 3319x3022px
>>61660350
>>
>>61660320
Again, fuck off /pol/ack.
>>
>>61660162
Yeah, really pisses me off when gnomes go on my laptop in night and do that.
>>
>>61660370
Never been to /pol/ in my life, but thanks anyways.
>>
>>61660320
t. I was only pretending to be retard.
and/or
t. I fucking love reddit.
>>
>>61660349
>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.
>>
>>61660363
Is that a beard on the dude middle right? Holy mother of wispy shit
>>
>>61660370
>>61660394
>>61660416
>>61660431

please stop ruining my thread
>>
>>61659303
icons being embedded in binaries
>>
>>61660363
it's all clear now
without such fine specimen of the white race, western civilization will perish
>>
>>61659874
mime are fucking stupid
>>
>>61660496
why?
>>
>>61660511
Where do ypu store them anon?
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
>>
>>61660534
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.
>>
>>61660644
>deduced from the file content
So inneficient. It's fucking back to the trees.
>>
>>61660686
the magic number is typically 2 bytes long you fucking mongoloid
>>
>>61660461
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. "
>>
>>61660701
Where do you put it? There is a lot of format already existing. Texts formats won't impose a magic number, that's stupid.
>>
>>61659303
C:\Program Files vs /bin,/usr/bin, /usr/local/bin, /usr/share, /usr/sbin, /opt
>>
>>61660431
t. Got trolled twice in the same thread
>>
>>61660975
C:\Program Files is basically /opt though
>>
>>61661102
that's /usr/share/
>>
File: 1501263821191.png (223KB, 505x323px) Image search: [Google]
1501263821191.png
223KB, 505x323px
>>61660315
>>61660340
>>61660350
>>61660363
Why do people fucking do this? This is basically the new anonymoose trend
>>
>>61661139
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
>>
>>61661218
alt-lite
>>
>>61661218
>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
>>
>>61660340
Holy shit this has to be the most cringy one yet
>>
>>61660340
Also why the fuck is that Syrian flag there. I don't even.
>>
>>61661218
Some people have zero self awareness
>>
>>61660745
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
>>
File: gggggggggggggggggg.png (397KB, 392x573px) Image search: [Google]
gggggggggggggggggg.png
397KB, 392x573px
>>61661356
What is he so worried about?
>>
>>61661413
he still has a bit of self awareness and is worried about being on the pic with all those mongs
>>
>>61660745
He already told you. The file explorer tells you what kind of file it is based on the content.
>>
>>61659303
>>61660350
>>61660363
>>61661356
"Kekistan" didn't come from 4chan did it? I seems like people would get run off this website if they posted that garbage
>>
>>61661413
He just realized it's too late to bail because the photo just got taken, just when he realizes what he got himself into.
>>
>>61661481
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
>>
>>61661513
that they stole it and slapped it on their flag? No one from /pol/ would ever unironically like that shit
>>
>>61661524
It's /pol/ alright.
>>
>>61661524
the flag came from here, they even sold badges of it on /pol/
>>
>>61661532

this guy for sure >>61660340

the rest look like /r/thedonald/youtube/redditfags
>>
>>61661536
/pol/ is severely autistic surprising no one
>>
>>61661524
Except foreigners have taken over /pol/
>>
>>61661583
is that why its the most trafficked board on all of 4chan?
>>
>>61661347
Breathe in. Read. Breathe out. Read again. He said extension in generals are an ugly hack and redundant.

>>61661462
What file explorer does that? And you still would have to extract that file.
>>
>>61661598
a non shitty one
If you look at the files you're extracting them anyways in memory
>>
>>61660853
these existing formats you're talking about all have magic numbers, retard
>>
>>61659303
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
>>
>>61661818
What's the magic number of a .html file again?
>>
>>61661863
.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.
>>
>>61660194
removing extensions creates problems mimes dont fix, smartass
>>
>>61661905
But that's not the question I asked sweetie
>>
>>61661818
Lies ain't arguments.
>>
>>61662055
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?
>>
>>61662204
Implying we only open text files with a text editor. I know ypu were stupid.
>>
File: image.png (31KB, 605x323px) Image search: [Google]
image.png
31KB, 605x323px
>>61661598
Any good file explorer.
>>
>>61662256
To add to that, the image I uploaded is named "image" on my disk, 4chan added .png for illiterates like you
>>
>>61661905
>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!
>>
>>61662252
By default we do, brainlet. Nothing stops you from opening them with something else in case you need to.
>>
>>61662292
>>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.
>>
>>61662292
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
>>
>>61662304
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...
>>
>>61662204
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
>>
>>61662340
except yours breaks when someone doesn't name their files like you want them to
>>
>>61662362
Don't argue with webdevs.
>>
>>61662398
I could say the same for your mime types. And people see it very soon when they mess with â‚£ile extensions.
>>
>>61662340
I don't do webshit, Pajeet.
>>
>>61662416
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
>>
>>61662416
For desktop usage file extensions are in 99% of cases not necessary
>>
>>61662458
>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 >>61662362

mime type: fingerprint in data allowing software to identify its probable type as a fail-fast measure
>>
>>61662458
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.
>>
>>61662533
Trolling?
>>
>>61661356
What the fuck is Maddox doing in that photo?!
>>
File: 1200px-Maddoxtacoma[1].jpg (111KB, 1200x1481px) Image search: [Google]
1200px-Maddoxtacoma[1].jpg
111KB, 1200x1481px
>>61662669
this maddox?
>>
>>61661524
you must be BRAND! new here
>>
>>61662292
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.
>>
>>61662620
why not head | xxd you autist
>>
>>61662639
When are they useful, aside from being a shitty hack to make a broken system with problems inherited from a consumer operating system from 1981?
>>
>>61662813
Nobody's saying there. But mimes certainly aren't useful substitute like it was implied earlier and it would be really nice if file extensions were used more.
>>
>>61661481
You are forgetting this site spawned:
Anonymous
EPIC TROLLING
Chanology
Admittedly Kekistan came around a time where /pol/ was massively flooded by Reddit kiddies ever since the election shit.

>>61662256
What if your image was like your document.
Border and everything.
How does that look?
>>
>>61662895
see >>61662292
>>61660745
>>
>>61660461

>file -i __init__.py
>__init__.py: text/x-c++; charset=us-ascii
cool
>>
>>61662937
These are user features, they require no extra features beyond allowing you to include what kind of file it is in the filename.
In most operating systems file extensions mean something beyond just being a visual name.
if you want to group them just include a hint as to what their contents are in the file name. It doesn't need to be more than a file name
>>
>>61663041
>hint
So a file "extension"?
>>
>>61663041
I wonder what that hint could look like. Something short, informative and standardized, hmm?
>>
>>61661356
Wait, what? Dave Cullen is that tall?
>>
>>61663090
>>61663091
it doesn't need to be standardized, it's a file name
you could call your word document "report on meeting, open in word". Not that it would be needed because it would take your computer a microsecond to figure out that it should be opened in Word
>>
>>61663143
Unless it was an executable with a thumbnail that just happens to look like a document file.
>>
>>61663237
letting executables determine their own icon is a huge design flaw to begin with
try again
>>
Microsoft is extremely simple to use and install
>>
>>61663282
What a shit design flaw.
Programs should be allowed to have their own custom icons.

But this still hasn't been addressed: >>61662926
>What if your image was like your document.

What happens then?
Being on the safe side, images should not be allowed to exist outside of square thumbnails, but that is also a shit design flaw just like iconless programs.
But if they don't, it means you can create images that look like documents.
THAT is a major annoyance. Especially if you are working on a project that has images and documents.
>>
>>61663400
No, application launchers should. The programs are just executable
>>What if your image was like your document.
The point of that image was that the file browser recognizes them. If the image was just like the document one would open in a document reader and the other would open in an image viewer.
>THAT is a major annoyance. Especially if you are working on a project that has images and documents.
Why in the world would your images intentionally look like documents?
>>
>>61663594
>Why in the world would your images intentionally look like documents?

You forget idiots use computers.
It can and does happen every damn day.

But there are also legit cases.
A typical infographic could look like a rich-text document. Slap a dark grey border on it and boom, seconds wasted.
Some user guides come as images because they are simple.
>>
>>61659874
Nice mime.
>>
w-wew surely 4chan is associated to this
>>
>>61663676
idiots have file extensions hidden in windows, so it doesn't make a difference
Thread posts: 119
Thread images: 10


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.