this post was submitted on 06 Mar 2024
388 points (97.1% liked)

Programmer Humor

32557 readers
327 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 195 points 8 months ago (3 children)

"cross-platform" exe

lists windows, windows, and windows disguised as wine

[–] [email protected] 21 points 8 months ago (1 children)
[–] [email protected] 55 points 8 months ago* (last edited 8 months ago) (2 children)
[–] [email protected] 27 points 8 months ago
[–] [email protected] 7 points 8 months ago (1 children)
[–] [email protected] 1 points 8 months ago

The "an" was the only thing not capitalized.

[–] [email protected] 5 points 8 months ago

They could have used Cosmopolitan!

[–] [email protected] 4 points 8 months ago

Fun fact: The Windows executable format is originally based on an old Unix executable format.

[–] [email protected] 123 points 8 months ago* (last edited 8 months ago) (1 children)

Haha if im not mistaken this might be about that guy saying wtf github why no exe? I’m sure someone has the link.

[–] [email protected] 136 points 8 months ago (4 children)

I am new to GitHub and I have lots to say

I DONT GIVE A FUCK ABOUT THE FUCKING CODE! i just want to download this stupid fucking application and use it https://github.com/sherlock-project/sherlock#installation

WHY IS THERE CODE??? MAKE A FUCKING .EXE FILE AND GIVE IT TO ME. these dumbfucks think that everyone is a developer and understands code. well i am not and i don't understand it. I only know to download and install applications. SO WHY THE FUCK IS THERE CODE? make an EXE file and give it to me. STUPID FUCKING SMELLY NERDS

https://old.reddit.com/r/github/comments/1at9br4/i_am_new_to_github_and_i_have_lots_to_say/

[–] [email protected] 48 points 8 months ago (1 children)

Looking at the history of that user, that's either a 12 year old or a grade D troll.

Let's remember how relatively nice Lemmy is right now..

[–] [email protected] 6 points 8 months ago

It has a certain shitposty quality to it

[–] [email protected] 20 points 8 months ago

Not much more cringe is there than redditors responding to every post literally.

[–] [email protected] 16 points 8 months ago* (last edited 8 months ago) (2 children)

This highlights how [1] compiling on windows and configuring a compiler and settings is a PITA and [2] Windows has no package manager.

Yes, yes, we understand. Maybe cry and beg daddy Windows harder and maybe they will be kind enough to condescend... I mean probably not.

Maybe if he White Knights and SIMPs harder Sempai will notice him.

[–] [email protected] 13 points 8 months ago (1 children)

The funny thing is that they could've used pip. Even on Windows. https://pypi.org/project/sherlock-hunt/

[–] [email protected] 1 points 8 months ago

Only if you have Python installed and know how to use command prompt

[–] [email protected] 8 points 8 months ago (1 children)

This used to be true but not anymore

Winget is still pretty young but very functional. And WingetUI is wonderful

And Chocolatey has been around for a long time as an unofficial Windows package manager

[–] [email protected] 5 points 8 months ago (1 children)

Yeah winget has some issues, but I regularly use it to just update everything it can recognize.

[–] [email protected] 2 points 8 months ago

Yup! Especially now that there is WingetUI I always check there first when I want to install something new

[–] [email protected] 1 points 8 months ago

This physically hurt me.

Who can I sue? Any lawyers in the chat?

[–] [email protected] 49 points 8 months ago (2 children)

...I'm confused unless this is just a fake joke image. Is there really a Microsoft page dedicated to .exe like this? A quick Google only returned non-MS results for me and I can't be bothered to look beyond that.

Also, what is there to even download for this? Just a link to Visual Studio to compile your own executables...?

[–] [email protected] 89 points 8 months ago* (last edited 8 months ago) (3 children)

Some dude was ranting somewhere recently about GitHub and "I just want the damn exe, not a bunch of stupid code". It became a bit of a meme.

[–] [email protected] 18 points 8 months ago

Ahh, I was out of the loop on that meme, hah. Thanks for explaining!

[–] [email protected] 17 points 8 months ago (4 children)

@[email protected]

I can't blame him. I recently tried to compile a rust app from github. I did not realize that cargo was pulling a GIGABYTE of data on my bandwidth-restricted connection until it was done. Then it wouldn't compile due to version mismatch. So I tried to update the rust version and that started throwing errors. The last thing I am doing is wasting my time troubleshooting such a crappy toolchain. If I have to play inspector gadget just to install the compiler and libraries to compile a small program, you can forget it. Cargo is a monstrosity and it is NOT a good toolchain if you value time and simplicity. I would much rather the maintainer offer binaries for download rather than requiring me to git clone, apt install, realize the deps aren't in the apt repo, hunt down and compile the deps, run make, then troubleshoot forever and a day before I can even do make install. Just give me a binary with everything built in. Kthxbye.

[–] [email protected] 23 points 8 months ago (3 children)

What I'm hearing is you'd rather that the developer used their time to produce binaries so you don't need to spend your own time.

The problem with open source is that people expect a lot time and effort to go into things like bug fixes, documentation and support, when often the devs start out making something to scratch a personal itch. They then share it for the benefit of others, and it can be a slippery slope where you can end up with a second job, except you don't get paid or even thanked.

Open source burnout is a big problem.

[–] [email protected] 8 points 8 months ago (1 children)

I think the difference is the intent of who will use the program.

Is the intended user the developer themselves and that's about it but they're making it available for others? Then just having the code is fine. It should still be properly documented however. Devs forgot their own shit code all the time, the documentation is there for them as well when they forget or come back to a project years later.

However if the program is intended for use by people outside the developers, then a regularly updated compiled binary should be expected. They are likely already going to be compiling it for themselves, making that process produce an updated binary release in GitHub isn't too much to ask for something intended for others to use that the dev is already likely making anyway.

[–] [email protected] 6 points 8 months ago

I see your point, but you likely also need to be compiling multiple versions for different architectures and OSes. If you offer an exe someone will turn up asking for a msi, etc, etc.

In theory, you can get this automated, but then you're requiring a dev to learn and maintain these tools instead of working on their project.

I do edit and spell check my posts because I believe that when posting something (text, software, etc) it's proper to make it easy to consume, without forcing dozens/hundreds/thousands of people to fix your errors. I would expect these things, but I don't demand these things, and I think it's inexcusably entitled for anyone to do so.

load more comments (2 replies)
[–] [email protected] 7 points 8 months ago (1 children)

I disagree, Cargo is very simple and easy to use for developers. I agree, binaries are easier for end users. I'm surprised cargo run --release didn't work for you. What was the project and OS?

[–] [email protected] 8 points 8 months ago (1 children)

+1 for this, never had an issue with cargo pulling the wrong versions unless the dev fucks up their TOML file or you're using the nightly toolchain

[–] [email protected] 1 points 8 months ago (1 children)

@[email protected] @[email protected] @[email protected] @[email protected]

"Works on my box. You must be doing something wrong. Ticket closed."

If I had a nickel for every ...

[–] [email protected] 1 points 8 months ago* (last edited 8 months ago) (1 children)

I offered help and disagreed with what you said that was wrong. Your response is unrelated and misinterprets my reply.

[–] [email protected] 2 points 8 months ago

It was meant to be humor, not a direct critique. And I don't want help, but thanks for offering. Cargo might try to download another gigabyte of data if I touch it!

[–] [email protected] 4 points 8 months ago (1 children)

It's really quite silly. I think all code repos on all sites should have their binaries attached to their repo. I make sure I do for every repo I maintain. Mine are usually container images, since I tend to develop services, but even if they are GUI applications, there are only a handful of binaries you would need to build and list for each release to reach 99.9% of users. Windows x86, Windows ARM, Apple x86, Apple ARM, and probably Flatpak would cover everyone on Linux (idk how to make GUI apps for Linux, I might be wrong about that). Make a script to build them all and push them all to your GitHub (or gitlab or wherever). Run the script every release. Easy peasy.

[–] [email protected] 4 points 8 months ago (1 children)

We all get to that point but we don't go full meme. You never go full meme.

[–] [email protected] 1 points 8 months ago

Isn't there a meme about that?

[–] [email protected] 4 points 8 months ago

They're gonna have a bad day if they ever decompress the EXE. ;)

[–] [email protected] 6 points 8 months ago* (last edited 8 months ago)

After some Googling I couldn't find anything about "code-free" .exe's or some ".EXE" framework, so probably just a joke.

[–] [email protected] 33 points 8 months ago

Reminds me of the Salesforce NO SOFTWARE era.

[–] [email protected] 25 points 8 months ago

It runs on unicorn farts

[–] [email protected] 11 points 8 months ago* (last edited 8 months ago)

So what is it now, a downloader app? The description is only confusing.

[–] [email protected] 10 points 8 months ago (1 children)

proprietary, why did they mention that if they wanna marketing broo

[–] [email protected] 13 points 8 months ago

Because it's fake, it's a joke about that GitHub troll a couple weeks ago

[–] [email protected] 8 points 8 months ago

The best compatibility is .scr files in .rar files!

[–] [email protected] 8 points 8 months ago (1 children)
[–] [email protected] 8 points 8 months ago (1 children)
[–] [email protected] 8 points 8 months ago (1 children)
[–] [email protected] 13 points 8 months ago
[–] [email protected] 7 points 8 months ago* (last edited 8 months ago)

No love for .com files?

Granted they’re the exact opposite of cross-platform.