this post was submitted on 01 Feb 2025
1076 points (99.3% liked)

Programmer Humor

20251 readers
1598 users here now

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

founded 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] nexguy@lemmy.world 2 points 43 minutes ago

Would it be more efficient to say Unix vs Windows?

[–] yeather@lemmy.ca 1 points 36 minutes ago

Shouldn’t the blade be green? I thought Luke wore all black in ROTJ when he got hos green lightsaber.

[–] glowing_hans@sopuli.xyz 8 points 2 hours ago

Duel of the fates: \//\

[–] MooseTheDog@lemmy.world 22 points 10 hours ago (2 children)

File systems aren't even real.

[–] Sorgan71@lemmy.world 4 points 3 hours ago

at that point operating systems are also not real.

[–] BigDanishGuy@sh.itjust.works 8 points 6 hours ago (2 children)

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.

[–] GhostedIC@sh.itjust.works 1 points 36 minutes ago

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.

[–] OrteilGenou@lemmy.world 1 points 45 minutes ago

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?

[–] atx_aquarian@lemmy.world 60 points 13 hours ago* (last edited 11 hours ago) (6 children)

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.

[–] frezik@midwest.social 11 points 6 hours ago

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".

[–] Localhorst86@feddit.org 46 points 9 hours ago (3 children)

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.

[–] JackbyDev@programming.dev 1 points 50 minutes ago

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.

[–] riodoro1@lemmy.world 21 points 9 hours ago (1 children)

Such a microsoft thing to do.

[–] The_Decryptor@aussie.zone 7 points 4 hours ago* (last edited 3 hours ago)

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.

[–] pixelscript@lemm.ee 11 points 8 hours ago

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. :/

[–] qjkxbmwvz@startrek.website 14 points 12 hours ago* (last edited 12 hours ago) (1 children)

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 ).

[–] paperplane@lemmy.world 11 points 11 hours ago (1 children)

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

load more comments (1 replies)
[–] ikidd@lemmy.world 12 points 12 hours ago

As is right and proper.

[–] MooseTheDog@lemmy.world 5 points 11 hours ago (4 children)

Least favorite part of linux honestly

[–] asdfasdfasdf@lemmy.world 5 points 5 hours ago (1 children)

Hard disagree. I don't understand why anyone would want case insensitive.

Am I the only one who doesn't go around mindlessly capitalizing letters? Do people find it too difficult to capitalize things?

Do you want case insensitive passwords too?

If I type X I mean X and only X. Uppercase letters are different letters, just like X and Y are different letters.

[–] Appoxo@lemmy.dbzer0.com 0 points 1 hour ago

Passwords ≠ Filesystems

[–] SaharaMaleikuhm@feddit.org 20 points 9 hours ago (1 children)

Case-insensitive filesystems are for maniacs. They are only causing trouble. Ever had two folders with the same name but different capitalization in windows? You see both, but whichever you click it will always open the same one, while the other can't be accessed. Psychopath behavior.

[–] ahornsirup@feddit.org 2 points 7 hours ago

That's because NTFS isn't case-insensitive. If it was there'd be no two folders. Windows is a case-insensitive operating system running on a case-sensitive file system. It's pretty clear Microsoft wanted case sensitivity and then realised how much legacy software that'd break.

[–] Trainguyrom@reddthat.com 11 points 10 hours ago (1 children)

Makes changing the case of a file/folder a lot easier though. Windows you have to rename it to something else then rename it again just to change case but Linux you can just...rename it. It's a small thing but it's something

[–] stebo02@lemmy.dbzer0.com 1 points 7 hours ago

is this bug really impossible to fix just because the file system is case insensitive?

load more comments (1 replies)
load more comments (1 replies)
[–] disguy_ovahea@lemmy.world 243 points 17 hours ago (2 children)

This meme is way more clever than it should be

[–] Droggelbecher@lemmy.world 2 points 2 hours ago (2 children)

Can you please explain? I've never used Mac and it's been a long time since I've properly used windows.

[–] disguy_ovahea@lemmy.world 6 points 2 hours ago (2 children)

File paths in Linux and Mac use / while Windows uses \

Take a look at the angle of the lightsabers.

[–] Gestrid@lemmy.ca 1 points 37 minutes ago* (last edited 36 minutes ago)

Technically, Windows understands both / and \. I personally always use / just because it's easier to type that.

[–] Droggelbecher@lemmy.world 3 points 2 hours ago (1 children)

I never would've gotten that!

[–] disguy_ovahea@lemmy.world 2 points 2 hours ago

Like I said, way more clever than it should be. Props to the creator for sure.

[–] SorryQuick@lemmy.ca 3 points 2 hours ago (1 children)

The lightsaber orientation is the same as the slash orientation

[–] Droggelbecher@lemmy.world 1 points 2 hours ago
[–] runeko@programming.dev 52 points 17 hours ago (2 children)

Didn't realize until I read your comment. Thanks.

[–] Rhaedas@fedia.io 34 points 16 hours ago (1 children)

It's not something the Jedi would tell you.

[–] Aurenkin@sh.itjust.works 39 points 16 hours ago (1 children)

Only a sith deals in absolute paths.

load more comments (1 replies)
[–] Aurenkin@sh.itjust.works 37 points 17 hours ago (3 children)

I didn't realise until I read that comment, your comment and the other comment about slash direction.

[–] hemmes@lemmy.world 16 points 14 hours ago (1 children)

JFC, thank you. I didn’t realize until it was spelled out for me. I’m definitely not that kind of smart.

This is why I always sucked at games like Myst

[–] disguy_ovahea@lemmy.world 1 points 3 hours ago

Myst and Riven are two of my favorite games of all time. Give Myst another go if you’ve never finished it. After you complete the game, you unlock the “making of Myst” videos. The red and blue brothers in the videos are the two creators. They were independent developers in the 90s, so they made do with what they had. At one point they shove a rubber hose into a toilet to make the atmospheric bubbling sounds.

load more comments (2 replies)
[–] nichtburningturtle@feddit.org 90 points 17 hours ago (6 children)

I hate that I need to use escape characters when creating something for windows.

load more comments (6 replies)
[–] pelya@lemmy.world 53 points 17 hours ago (2 children)

You can actually use / as a path separator on Windows in functions like fopen(), because it supports some ancient version of POSIX standard.

load more comments (2 replies)
load more comments
view more: next ›