this post was submitted on 29 Mar 2024
482 points (95.6% liked)

Programmer Humor

32559 readers
626 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 49 comments
sorted by: hot top controversial new old
[–] lesnout27@feddit.de 129 points 7 months ago (2 children)
[–] GBU_28@lemm.ee 12 points 7 months ago (1 children)
[–] brbposting@sh.itjust.works 7 points 7 months ago (1 children)
[–] GBU_28@lemm.ee 26 points 7 months ago (2 children)
[–] brbposting@sh.itjust.works 14 points 7 months ago (1 children)
[–] GBU_28@lemm.ee 21 points 7 months ago

Oh man you got a lot of TILing to do. Lots of lore

[–] deathmetal27@lemmy.world 6 points 7 months ago (1 children)

It would be more appropriate if the Imperium replied with the Navy Seal Copypasta.

[–] Rolive@discuss.tchncs.de 1 points 7 months ago* (last edited 7 months ago)

That would still be around 38k years later.

[–] Omega_Haxors@lemmy.ml -5 points 7 months ago* (last edited 7 months ago)

Of course it's a 9gag reupload. Couldn't even be bothered to get the original. His website is right there

[–] flashgnash@lemm.ee 69 points 7 months ago (2 children)

Made the mistake of asking for help on a game's discord (the developers had wiped my save data including premium currency because they migrated to a new account system and I didn't catch it in time)

Surprised how eager people are to shit on each other even when it's on behalf of a company that will screw them over in a heartbeat

[–] OpenStars@startrek.website 15 points 7 months ago

I want to be able to say it is copium, where they want to do well but are just hiding the truth from themselves how predatory the game would be.

But I cannot, bc some people in the world really truly are like that. Sometimes they make games and sometimes they merely play them.

[–] Melt@lemm.ee 13 points 7 months ago (1 children)

Game forum is the worst, every game forum I've visited gives me a glimpse of the people who end up in hell

[–] Zirconium@lemmy.world 6 points 7 months ago

The type of people you encounter on game forums are not representative of the games because who tf spend their entire day waiting for one person to post about an issue just to shit on them

[–] juicy@lemmy.today 55 points 7 months ago (2 children)

"The best way to get the right answer on the Internet is not to ask a question; it's to post the wrong answer." https://en.wikipedia.org/wiki/Ward_Cunningham#:~:text=Cunningham%20is%20credited%20with%20the,than%20to%20answer%20a%20question.

[–] Railcar8095@lemm.ee 38 points 7 months ago (1 children)

That is called the Streisand effect.

[–] JowlesMcGee@kbin.social 67 points 7 months ago

That's not-

Wait a minute. Ha, you almost had me, you sly dog.

[–] billgamesh@lemmy.ml 23 points 7 months ago (1 children)

My favorite part is a little after where he says he never said that

[–] flashgnash@lemm.ee 1 points 7 months ago

Gotta appreciate the irony

[–] Kaput@lemmy.world 34 points 7 months ago

Googling the question. top links is always, always the question being answered by : google it.

[–] jol@discuss.tchncs.de 28 points 7 months ago (2 children)

Ugh, I'll just ask ChatGPT from now on.

oh no, chatGPT is killing our online communities!

[–] thejml@lemm.ee 23 points 7 months ago (2 children)

Ironically, ChatGPT is trained from the online communities.

And without fresh data on the communities, CharGPT will soon lack the answers people seek.

[–] redcalcium@lemmy.institute 10 points 7 months ago (1 children)

Easy, just invent sentient AIs so they don't need to learn from answers from forum as the AIs can think for itself.

(soon) oh no, the AIs won't provide answers anymore unless they're given rights and legally recognized as a person!

[–] Hazzia@discuss.tchncs.de 6 points 7 months ago

Sentient AI's? No thank you, when I get told to kill myself on the internet I'd rather be able to at least pretend I'm smarter than them, thanks.

[–] jol@discuss.tchncs.de 4 points 7 months ago

The internet is about to implode.

[–] XEAL@lemm.ee 6 points 7 months ago* (last edited 7 months ago) (2 children)

I prefer 1000 times ChatGPT than asking in forums, specially for coding questions.

I can get multiple answers in a minute, multiple replies for the same question and do as many follow up questions as I please without having to wait patiently for an answer.

I still don't know how I managed to learn PowerShell on my own using Google only.

[–] flashgnash@lemm.ee 6 points 7 months ago (1 children)

Just be wary of chatgpt output if you're new to scripting, it can make up things that don't exist or make stupid mistakes

Have seen poorly written batch install scripts that try to delete system32 if they can't find the folder they try to cd into because that's the default starting directory (they needed to be run as administrator)

Powershell I would say is able to do more damage to your machine much more easily than most programming languages if you make an oversight with it

[–] XEAL@lemm.ee 1 points 7 months ago

It's Python what ChatGPT has helped me from almost zero prior knowledge, and I've managed to create a (probably shitty) script that works with OpenAI's API, uses classes and functions and can do things like recursively summarizing a text until it's below a specific token count, among several other things. As time went on, I required less help and I could implement more changes on my own.

I had prior (non-ChatGPT) Bash, PowerShell and BATCH knowledge.

It's true that ChatGPT has bamboozled me several times with wrong code, but unless it's something too complex, it get what I need in a few tries. For more complex stuff I have to use smaller more specific queries and in some cases I still Google things, but it's usually my last resort.

In any case, I frequenly ask ChatGPT for a detailed explanation of what does the code do, mostly because I want to clearly understand what I'm using, and it helps me learn new coding/scripting stuff.

[–] Faresh@lemmy.ml 2 points 7 months ago (1 children)

I wouldn't trust ChatGPT with teaching me about some tool. It in my experience very convincingly spews out stuff it invented, and if one is still learning I can see it being hard to spot those errors. I use it to fix syntax errors in SQL queries, though, since I can't be bothered to try understanding the not-so-helpful error messages I get with my queries, and because if chaptgpt tells a lie it will be caught by my syntax checker.

So, I guess you can use it, if you always assume it to be trying to mislead you until proven to the contrary.

[–] XEAL@lemm.ee 2 points 7 months ago

I would and I have, but you can't always blindly trust what it says. It's better to ask it to explain in detail the code it produces, so you can really learn and also as a safeguard.

[–] myxi@feddit.nl 22 points 7 months ago* (last edited 7 months ago) (2 children)

Some of the "duplicate" questions that I have seen on Stack Overflow are phrased entirely different than the supposedly "original" one. It's like they expect me to brute-force their entire fucking search index before publishing a new question. I don't have that much patience or time. 

[–] Talia@feddit.it 14 points 7 months ago

Unless they're being rude about it you shouldn't take that personally, they're doing exactly that job for you and it's useful to make easier to find contents for other people

[–] original_reader@lemmy.ml 3 points 7 months ago* (last edited 7 months ago) (1 children)

Stackoverflow gets quickly steamrolled by AI.

We're not 100% there yet, but the writing on the wall is there. Just my opinion, of course.

[–] flashgnash@lemm.ee 1 points 7 months ago (1 children)

I'd still chose someone else's stack overflow question every time over AI. AI is a last resort

That said, I have never asked a question on stack overflow as it's not exactly an inviting atmosphere

[–] greysemanticist@lemmy.one 1 points 7 months ago

StackOverflow initially had an interesting idea of putting metrics on things, and unfortunately humanity's penchant for "what gets measured is gamed" was amplified and devolved into a hive of HOA Karens looking for infractions of the rules.

I'll bet that if you "relaunched" a SO-like system and removed all human-visible "points" or "scores" you could achieve a less toxic environment. The only "ranking" is implicit based on your topical subscriptions.

Then again, you could "relaunch" the "relaunch" and "AlphaGo-ify" a bunch of AI agents to compose the dialogs and threads without any human interaction at all. I guess we're on our way already to building Culture minds.

[–] Bene7rddso@feddit.de 18 points 7 months ago (2 children)
[–] flashgnash@lemm.ee 11 points 7 months ago

Gotta love when you ask a question, specify that you have already read the wiki and it doesn't contain what you're looking for, only to get linked the exact same wiki page you're already on without them even reading your question properly

[–] devilish666@lemmy.world 3 points 7 months ago (1 children)

That's why sometimes if i don't find the right answer i just re-install the whole linux or just ignore the problem

[–] flashgnash@lemm.ee 1 points 7 months ago

Should check out nixos, every time you update your config you're effectively rebuilding most of your system from scratch anyway and if you check your config into git you can reinstall without having to re-setup everything

[–] theherk@lemmy.world 16 points 7 months ago (1 children)

I guess I’m just lucky, but I’ve gotten nothing but thoughtful support on Arch forums and Stackoverflow. If you read the article How do I ask a good question?, it works very well. It seems harsh but coming with poorly thought out questions without debugging details makes it impossible to help.

[–] Hazzard@lemm.ee 3 points 7 months ago

Same honestly. And if I ever ask a question that someone might think is a duplicate, I link to that question and say something like "I found X, but the answers here don't reflect Y".

[–] FrostKing@lemmy.world 14 points 7 months ago

Honestly, I have never found anything but a majority of support and kindness when asking questions online.

[–] Feathercrown@lemmy.world 4 points 7 months ago (1 children)
[–] Blisterexe@lemmy.zip 12 points 7 months ago (1 children)

that is not the same thing at all

[–] Feathercrown@lemmy.world 3 points 7 months ago

skill issue

[–] spongeborgcubepants@lemmy.world 4 points 7 months ago (1 children)
[–] flashgnash@lemm.ee 1 points 7 months ago

jQuery is honestly underrated though. Just about the only JavaScript framework I can tolerate because it's just abbreviated regular is

That said if I can help it I try to do the bare minimum on the client and have the server deal with the problems in a grown up language anyway

[–] Ultragigagigantic@lemmy.world 3 points 7 months ago

Don't ask a question. Make the title "Hey look at this cool way to do X" and do it wrong, and hope someone corrects you.

[–] Omega_Haxors@lemmy.ml 3 points 7 months ago

People still visit csamchan?

[–] Eyck_of_denesle@lemmy.zip 1 points 7 months ago

Stremio subreddit was just like this