Would it be more efficient to say Unix vs Windows?
Programmer Humor
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
Posix
The number of times I had to ask "how can I tell where the file 'physically'" (I know) "lives" on the network when I took up work at a Windows shop, it was just baffling. And Win people couldn't understand what I was asking.
There's a location for this effing thing. I want to know where it is, really! How do I get that info?!
Duel of the fates: \//\
Shouldn’t the blade be green? I thought Luke wore all black in ROTJ when he got hos green lightsaber.
Fun fact, though: Linux is the only case-sensitive one.
Edit: I feel silly for forgetting that it's all about the choice of FS. If anyone needs anything from me, I'll be in the corner, coloring.
From a technical standpoint, the windows NTFS filesystem is designed inherently case sensitive, just windows doesn't allow creating case sensitive files.
Connecting an NTFS drive to linux, you can create two separate files readme.txt and Readme.txt.
Using windows, you can see both files in the filesystem, but chances are most (if not all) software will struggle accessing both files, opening readme.txt might instead open Readme.txt or vice versa.
You're correct. I once was trying to rename a file in Windows in a git repository that had a wrong capitalization. It was tricky.
Such a microsoft thing to do.
NTFS was designed back in the mid 90s, when the plan was to have the single NT kernel with different subsystems on top of it, some of those layers (i.e. POSIX) needed case sensitivity while others (Win32 and OS/2) didn't.
It only looks odd because the sole remaining subsystem in use (Win32) barely makes use of any of the kernel features, like they're only just now enabling long file paths.
For a few years now, Windows has had the capability of marking certain directories as case-sensitive. So you can have a mixed-case-sensitivity filesystem experience now. Yeah. :/
I once ran into a bug in an Arduino program where it wouldn't compile. The author blamed my "broken environment". Turned out, he had included "arduino.h" instead of the correct "Arduino.h".
Although you can use case insensitive filesystems with Linux, and case sensitive filesystems with macOS. I believe the case sensitivity is a function of the specific filesystem
but yeah, practically, the root for Linux is always case sensitive, and APFS ~~ain't~~ is only if you ask it to be ( https://support.apple.com/lv-lv/guide/disk-utility/dsku19ed921c/mac ).
When case insensitivity is the default I always wonder how many apps unknowingly rely on that due to typos somewhere. I encountered this once while porting a Windows/macOS app to Linux that someone imported a module with the wrong case and nobody noticed
As is right and proper.
File systems aren't even real.
at that point operating systems are also not real.
Wait, are we real?
What is this "real" concept anyway?
Adam Savage famously stated on Mythbusters "I reject your reality and substitute my own"
Sure, but is reality even real then? Is anything real?
Not that I meant to get all pop-philosophical on this beautiful Sunday morning, sorry about that.
I, too, first heard this quote from Adam on Mythbusters as a child. But, I'm pretty sure I also heard it was said first by some philosopher.
I would later be informed that "some philosopher" was the 1984 film The Dungeon Master.
Only apparently that was not the first, and it was said in a 1974 episode of Doctor Who. Well, someone on Reddit said that, and linked to this WikiQuote page but on that page it also says it's from The Dungeon master.
So, I don't know what to believe any more, and I still hope it was actually an obscure lost quote of Rene Magritte or something because in my head it would just make sense.
Yes
Interpretation of reality is individual
Reality itself is relative
But if it didn't exist we wouldn't be chatting about it right now
That's my reality anyway
What's yours?
This meme is way more clever than it should be
Can you please explain? I've never used Mac and it's been a long time since I've properly used windows.
File paths in Linux and Mac use / while Windows uses \
Take a look at the angle of the lightsabers.
I never would've gotten that!
Like I said, way more clever than it should be. Props to the creator for sure.
Technically, Windows understands both / and \. I personally always use / just because it's easier to type that.
The lightsaber orientation is the same as the slash orientation
Ha, neat!
Didn't realize until I read your comment. Thanks.
I didn't realise until I read that comment, your comment and the other comment about slash direction.
It's not something the Jedi would tell you.
I hate that I need to use escape characters when creating something for windows.
You can actually use / as a path separator on Windows in functions like fopen(), because it supports some ancient version of POSIX standard.