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

Programmer Humor

32561 readers
61 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
[–] eager_eagle@lemmy.world 195 points 8 months ago (3 children)

"cross-platform" exe

lists windows, windows, and windows disguised as wine

[–] Agent641@lemmy.world 21 points 8 months ago (1 children)
[–] Asudox@lemmy.world 55 points 8 months ago* (last edited 8 months ago) (2 children)
[–] Agent641@lemmy.world 27 points 8 months ago
[–] lowleveldata@programming.dev 7 points 8 months ago (1 children)
[–] Ziglin@lemmy.world 1 points 8 months ago

The "an" was the only thing not capitalized.

[–] tiny_electron@sh.itjust.works 5 points 8 months ago

They could have used Cosmopolitan!

[–] charonn0@startrek.website 4 points 8 months ago

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

[–] sturlabragason@lemmy.world 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.

[–] SatyrSack@lemmy.one 137 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/

[–] scrubbles@poptalk.scrubbles.tech 49 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..

[–] Tangent5280@lemmy.world 7 points 8 months ago

It has a certain shitposty quality to it

[–] Simon@lemmy.dbzer0.com 20 points 8 months ago

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

[–] electricprism@lemmy.ml 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.

[–] rtxn@lemmy.world 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/

[–] godfilma@lemmy.blahaj.zone 1 points 8 months ago

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

[–] neatchee@lemmy.world 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

[–] magikmw@lemm.ee 5 points 8 months ago (1 children)

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

[–] neatchee@lemmy.world 2 points 8 months ago

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

[–] LillyPip@lemmy.ca 1 points 8 months ago

This physically hurt me.

Who can I sue? Any lawyers in the chat?

[–] bassomitron@lemmy.world 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...?

[–] fishos@lemmy.world 91 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.

[–] bassomitron@lemmy.world 19 points 8 months ago

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

[–] firefly@neon.nightbulb.net 17 points 8 months ago (4 children)

@bassomitron@lemmy.world

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.

[–] Deebster@programming.dev 23 points 8 months ago (2 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.

[–] halcyoncmdr@lemmy.world 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.

[–] Deebster@programming.dev 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.

[–] dan1101@lemm.ee 1 points 8 months ago (1 children)

Who better to compile a binary than the person that wrote the code?

[–] thevoidzero@lemmy.world 1 points 8 months ago* (last edited 8 months ago)

Yeah sure, I'll compile it in my OS. For any other OS, either I'm not knowledgeable about the tools available, and many of them that I am not going to spend money to acquire. If providing the binary a developer compiles for themselves would solve it, we'd not have that problem at all.

I specifically hate when program or libraries are only in compiled form, and then I get an error messages talking about an absolute path it has with some usernames I've never seen before, and no way to correct it as there's no code. Turns out when people pass compiled versions to the OS they don't use themselves they don't encounter the errors and think it works fine.

[–] MantisWaffle@lemmy.world 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?

[–] KaRunChiy@kbin.run 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

[–] firefly@neon.nightbulb.net 1 points 8 months ago (1 children)

@devilish666@lemmy.world @bassomitron@lemmy.world @fishos@lemmy.world @MantisWaffle@lemmy.world

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

If I had a nickel for every ...

[–] MantisWaffle@lemmy.world 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.

[–] firefly@neon.nightbulb.net 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!

[–] DAMunzy@lemmy.dbzer0.com 5 points 8 months ago (1 children)

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

[–] firefly@neon.nightbulb.net 1 points 8 months ago

Isn't there a meme about that?

[–] dandroid@sh.itjust.works 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.

load more comments (1 replies)
[–] LostXOR@fedia.io 4 points 8 months ago

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

[–] Ragdoll_X@lemmy.world 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.

[–] davel@lemmy.ml 33 points 8 months ago

Reminds me of the Salesforce NO SOFTWARE era.

[–] NegativeLookBehind@lemmy.world 26 points 8 months ago

It runs on unicorn farts

[–] MonkderZweite@feddit.ch 11 points 8 months ago* (last edited 8 months ago)

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

[–] clot27@lemm.ee 10 points 8 months ago (1 children)

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

[–] Eiim@lemmy.blahaj.zone 13 points 8 months ago

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

[–] tubbadu@lemmy.kde.social 8 points 8 months ago (1 children)
[–] perviouslyiner@lemmy.world 8 points 8 months ago

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

[–] humorlessrepost@lemmy.world 7 points 8 months ago* (last edited 8 months ago)

No love for .com files?

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