this post was submitted on 01 Feb 2025
1344 points (99.2% liked)

Programmer Humor

20275 readers
841 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
[–] [email protected] 9 points 5 hours ago

Why fight when you can just do cd /mnt/c/Program\ Files\ \(x86\)/

[–] [email protected] 20 points 1 day ago (2 children)

Would it be more efficient to say Unix vs Windows?

[–] [email protected] 9 points 7 hours ago

You mean right vs. wrong?

[–] [email protected] 12 points 23 hours ago (2 children)
[–] [email protected] 1 points 6 hours ago (1 children)

I thougt linux is no longer Posix compliant, or is just partially posix compliant.

[–] [email protected] 2 points 6 hours ago (1 children)

It was never fully compliant. POSIX threads, in particular, are a long time sticking point on Linux.

[–] [email protected] 2 points 5 hours ago (1 children)

Is there any OS that's fully POSIX-compliant?

[–] [email protected] 5 points 4 hours ago (1 children)

Yes, in fact, there's a formal certification process by the IEEE and the Open Group.

https://en.wikipedia.org/wiki/POSIX#POSIX-oriented_operating_systems

Mind you, I think only one of the fully-certified OSen has any substantial use these days (MacOS X). People tend to overvalue it, IMO.

[–] [email protected] 2 points 1 hour ago

Thank you for educating this dumbass.

[–] [email protected] 6 points 14 hours ago

I'd just like to interject for a moment. What you're refering to as Linux, is in fact, GNU/Linux, or as I've recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.

Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called Linux, and many of its users are not aware that it is basically the GNU system, developed by the GNU Project.

There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine's resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called Linux distributions are really distributions of GNU/Linux!

[–] [email protected] 15 points 1 day ago

Duel of the fates: \//\

[–] [email protected] 287 points 1 day ago (9 children)

This meme is way more clever than it should be

[–] [email protected] 1 points 4 hours ago

Took me a minute

[–] [email protected] 62 points 1 day ago (9 children)

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

load more comments (9 replies)
load more comments (7 replies)
[–] [email protected] 72 points 1 day ago* (last edited 1 day ago) (26 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.

[–] [email protected] 59 points 1 day 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.

[–] [email protected] 30 points 1 day ago (1 children)

Such a microsoft thing to do.

[–] [email protected] 13 points 1 day ago* (last edited 1 day 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.

load more comments (2 replies)
[–] [email protected] 13 points 1 day 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".

load more comments (24 replies)
[–] [email protected] 100 points 1 day ago (6 children)

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

load more comments (6 replies)
[–] [email protected] 23 points 1 day ago (5 children)

File systems aren't even real.

[–] [email protected] 7 points 1 day ago (1 children)

at that point operating systems are also not real.

[–] [email protected] 5 points 23 hours ago (1 children)
[–] [email protected] 1 points 7 hours ago

How Can Mirrors Be Real If Our Eyes Aren't Real

load more comments (4 replies)
[–] [email protected] 58 points 1 day 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 ›