How do we tell him ?

2 years ago by devilish666 to c/programmerhumor

andyburke 187 points 2 years ago

I get the joke.

But if, like me, you actually feel this here's how I got away from it: make sure you actually understand things.

Read the error message over and over again, look up the words, understand what it is saying.

If something isn't working, start reading the code and making sure you understand what each line is doing.

It will feel incredibly slow and painful at first. Eventually you will strengthen those.muscles, however, and it'll become second nature.

Then you can cut and paste with confidence! 🤣

path: 0 8942328, hotness: undefined, score: 187, children: 28
NegativeLookBehind 77 points 2 years ago
path: 0 8942328 8942515, hotness: undefined, score: 77, children: 17
andyburke 66 points 2 years ago

There are still some errors where you just need to know the fix. In that case it's a baseball bat.

path: 0 8942328 8942515 8942729, hotness: undefined, score: 66, children: 5
pearsaltchocolatebar 12 points 2 years ago

Or just filling the paper tray (that's what the error means)

path: 0 8942328 8942515 8942729 8945065, hotness: undefined, score: 12, children: 3
zurohki 15 points 2 years ago

Filling the paper tray with US Letter sized paper. If you aren't in the US, you don't use it and might not even be able to buy any.

path: 0 8942328 8942515 8942729 8945065 8946430, hotness: undefined, score: 15, children: 2
BlueSquid0741 6 points 2 years ago

Damn it feels good to be a gangsta

path: 0 8942328 8942515 8942729 8948779, hotness: undefined, score: 6, children: 0
snooggums 26 points 2 years ago

Having worked at a copy place for a few years, that one makes me laugh every time.

For those that don't know, the error is Print Cartridge needs letter sized paper to be loaded. It is just out of paper.

path: 0 8942328 8942515 8943115, hotness: undefined, score: 26, children: 6
letsgo 11 points 2 years ago

You'd often get the error when there was paper in the printer though. Turns out the cause is the slightly different size between US letter page size and A4 page size. Technically the printer's correct to complain (for the same reason it'd be correct to complain about an A4 sized print while full of A5), but virtually nobody gives a shit about that difference and so the "PC Load Letter" message just translated to "You have to push that stupid button before I'll do anything because pedantry."

path: 0 8942328 8942515 8943115 8945493, hotness: undefined, score: 11, children: 0
NegativeLookBehind 7 points 2 years ago
path: 0 8942328 8942515 8943115 8944666, hotness: undefined, score: 7, children: 0
pingveno 7 points 2 years ago

Wouldn't that be the Paper Cartridge?

path: 0 8942328 8942515 8943115 8947434, hotness: undefined, score: 7, children: 3
bitchkat 2 points 2 years ago path: 0 8942328 8942515 8943115 8947434 8947528, hotness: undefined, score: 2, children: 0
ChrysanthemumIndica 1 point 2 years ago

I believe it is Paper Cassette! And yes, I feel very old.

path: 0 8942328 8942515 8943115 8947434 8960373, hotness: undefined, score: 1, children: 1
cmnybo 18 points 2 years ago

The printer is obviously telling you to stuff some letters into your computer.

path: 0 8942328 8942515 8942757, hotness: undefined, score: 18, children: 2
magic_lobster_party 10 points 2 years ago

Like, duh. How else is email sent? Magic?

path: 0 8942328 8942515 8942757 8943452, hotness: undefined, score: 10, children: 1
MonkeMischief 3 points 2 years ago

A series of pneumatic tubes, actually!

The internet...you see... it's.... it's not just a big truck.

path: 0 8942328 8942515 8942757 8943452 8954831, hotness: undefined, score: 3, children: 0
bitchkat 3 points 2 years ago

Paper cassette: load letter size paper (aka. the letter size paper tray is empty)

path: 0 8942328 8942515 8947510, hotness: undefined, score: 3, children: 0
Ilflish 22 points 2 years ago

Additionally, don't copy and paste anything until you understand it. If you don't understand what code golf is being spewed, don't take the top answer. If you don't understand any answer, you probably don't understand the underlying systems well enough and need to re-evaluate what your asking for.

path: 0 8942328 8942739, hotness: undefined, score: 22, children: 1
pixelscript 6 points 2 years ago

The only difference between a novice and a professional is that a professional checks what they are copying to understand it first before allowing it into their codebase.

Novices copy code to avoid having to understand it. Professionals copy code to avoid reinventing the wheel.

path: 0 8942328 8942739 8947266, hotness: undefined, score: 6, children: 0
saltesc 8 points 2 years ago

ChatGPT is making me better because I've learned not to fucking trust it and double check everything it spits out to ensure its actually doing what's asked of it.

path: 0 8942328 8945250, hotness: undefined, score: 8, children: 1
TexasDrunk 3 points 2 years ago

I use it to help me lay out pseudo code and check it against what I come up with. It has made the way I structure things (and comment on things) way better.

path: 0 8942328 8945250 8947047, hotness: undefined, score: 3, children: 0
Maeve 4 points 2 years ago

Got me! I laughed tears!

path: 0 8942328 8942842, hotness: undefined, score: 4, children: 0
DharkStare 3 points 2 years ago

Exactly. I cut and paste all the time but I make sure I know what the code is doing first before I actually add the code.

path: 0 8942328 8943506, hotness: undefined, score: 3, children: 0
Rowan 1 point 2 years ago

You wouldn't happen to be Burke from CS, would you?

path: 0 8942328 8966127, hotness: undefined, score: 1, children: 3
andyburke 2 points 2 years ago

I am who my name says and I have a degree in CS if that's what you are asking.

path: 0 8942328 8966127 8994875, hotness: undefined, score: 2, children: 2
Rowan 1 point 2 years ago

Didn't want to put too many details in the question for privacy sake. Knew a guy with your name in college, was curious if you were the same. Have a great day!

path: 0 8942328 8966127 8994875 9068728, hotness: undefined, score: 1, children: 1
andyburke 2 points 2 years ago

👍

path: 0 8942328 8966127 8994875 9068728 9068729, hotness: undefined, score: 2, children: 0
parpol 98 points 2 years ago
path: 0 8946176, hotness: undefined, score: 98, children: 12
fidodo 64 points 2 years ago

The difference between a junior and senior developer is that a senior developer actually understands what he's copy pasting

path: 0 8946176 8946734, hotness: undefined, score: 64, children: 6
Potatos_are_not_friends 10 points 2 years ago

Pretty much. I try to tell juniors that the things I'm teaching you is things I made a mistake on. I have a decade of failure and I'm trying to help you shortcut it.

path: 0 8946176 8946734 8948361, hotness: undefined, score: 10, children: 2
SpaceCowboy 1 point 2 years ago

But as soon as someone gets to an intermediate level and start thinking for themself and make those exact same mistakes.

"We've been doing things wrong this whole time! I figured out a better way!" Then spend a lot of time implementing the "better" way only to find out it performs like shit and actually takes more work to implement and maintain anything.

Everyone has to do that at least once.

path: 0 8946176 8946734 8948361 8995229, hotness: undefined, score: 1, children: 0
hardcoreufo 1 point 2 years ago

That approach never sinks in with anyone I train. They seem to remember that I told them something about something so they do that not remembering I said not to do that.

path: 0 8946176 8946734 8948361 8975419, hotness: undefined, score: 1, children: 0
dan 9 points 2 years ago

I'm a senior developer and I rarely copy and paste... I'll sometimes look at some other code to get ideas, but I retype it. It helps me understand the code, and I can refractor it or write it differently as I go.

path: 0 8946176 8946734 8975774, hotness: undefined, score: 9, children: 0
bitchkat 4 points 2 years ago

Back in the olden days, our copy and pasting was retyping from manuals or magazines.

path: 0 8946176 8946734 8947476, hotness: undefined, score: 4, children: 0
LemmyKnowsBest 3 points 2 years ago

But who's the guy that originally wrote the code that everyone else is copy pasting? I think Nathan Kellert desires THAT level of expertise.

path: 0 8946176 8946734 8949116, hotness: undefined, score: 3, children: 0
blackbirdbiryani 17 points 2 years ago

I've only been programming seriously (for work) in the last two years and honestly don't get the copy pasting memes. I get copy pasting a 1-3 line terminal snippet sometimes, but idk how people are getting away without actually writing their own code.

path: 0 8946176 8946333, hotness: undefined, score: 17, children: 4
pup_atlas 8 points 2 years ago

I program professionally, and I copy paste all the time. The difference is when I copy paste, its 10-20 lines of code, not a line or two— and I’m not fishing for a solution to the problem. I already have the optimal solution in my head, and I am just searching for the solution I already know. It’s just faster than typing it by hand 🤷🏻

path: 0 8946176 8946333 8959896, hotness: undefined, score: 8, children: 1
alex_02 5 points 2 years ago

I do this often. Not because I can't do it myself or understand what I'm doing, but why would I write the exact same code when it has been done and pasted online a million times?

path: 0 8946176 8946333 8959896 8960169, hotness: undefined, score: 5, children: 0
bitchkat 6 points 2 years ago

Believe me, some people will find a way and they often copy and paste the same thing over and over because they don't know how to create reuseable code.

path: 0 8946176 8946333 8947489, hotness: undefined, score: 6, children: 0
WalrusDragonOnABike 3 points 2 years ago

I only program non-seriously for work on occasions and I've rarely used copy/pasted code. Except maybe some of my own code because of using lazy logic trees to deal with variation in the data being processed. Doesn't need to be pretty or efficient. Just needs to work well enough so I do a less manual work.

path: 0 8946176 8946333 8956864, hotness: undefined, score: 3, children: 0
NOT_RICK 75 points 2 years ago

It’s all imposter syndrome, all the way down

path: 0 8941928, hotness: undefined, score: 75, children: 2
Fuck_u_spez_ 16 points 2 years ago

IDK man, all the way? I don't think I'm good enough to have actual impostor syndrome like real developers.

path: 0 8941928 8947497, hotness: undefined, score: 16, children: 1
Kyrgizion 5 points 2 years ago

Haha right? Not saying this is you but whenever people try to tell me I have impostor syndrome, I'm thinking like "incompetent people exist. I'm just one of them".

path: 0 8941928 8947497 8951889, hotness: undefined, score: 5, children: 0
dutchkimble 48 points 2 years ago

Get a pro GPT subscription and command it to copy paste for you of course

path: 0 8952172, hotness: undefined, score: 48, children: 7
Nommer 6 points 2 years ago

I may do that already when I get stuck... Tbf I am trying to learn and only ask it to explain how to do something or if I have a bug I can't figure out. I feel sometimes it's just best to get an answer if I've been stuck for a while because I'm not making progress anyway.

path: 0 8952172 8957785, hotness: undefined, score: 6, children: 6
stratoscaster 5 points 2 years ago

I swear to God it gets things wrong like 50% of the time though (both syntax and conceptually) for programming.

path: 0 8952172 8957785 8960220, hotness: undefined, score: 5, children: 1
hardcoreufo 2 points 2 years ago

When I was messing around with it, I had to go back and fix it's code more often than not. It's still useful for get the be bones of a program going though.

path: 0 8952172 8957785 8960220 8975208, hotness: undefined, score: 2, children: 0
SpaceCowboy 4 points 2 years ago

It's not too bad for learning a new language, but you still have to make an effort to understand why the code it's giving you works... or doesn't work which can happen often.

path: 0 8952172 8957785 8995161, hotness: undefined, score: 4, children: 3
interdimensionalmeme 1 point 2 years ago

It's so great at getting unstuck and learning news ways of doing thing that everyone knows but me. Even if most of its actual code is borked.

path: 0 8952172 8957785 8995161 8999485, hotness: undefined, score: 1, children: 1
SpaceCowboy 0 points 2 years ago

Yeah today after getting three bad answers in a row from ChatGPT I was quoting Thanos... "Fine. I'll do it myself."

path: 0 8952172 8957785 8995161 8999485 9019926, hotness: undefined, score: 0, children: 0
Nommer 1 point 2 years ago

Oh yeah for sure. It's given me incorrect code before but I was able to recognize the issue and fix the error which was mostly a logic one.

path: 0 8952172 8957785 8995161 8996599, hotness: undefined, score: 1, children: 0
Buttons 25 points 2 years ago

To become a real programmer, you must install Copilot and let it copy and paste for you.

path: 0 8944254, hotness: undefined, score: 25, children: 1
KrankyKong 7 points 2 years ago

I feel like im slowly losing my ability to program between copilot, phind, and chatgpt...

path: 0 8944254 8946021, hotness: undefined, score: 7, children: 0
DudeDudenson 23 points 2 years ago

The real developer has been inside you all along!

path: 0 8942049, hotness: undefined, score: 23, children: 1
stringere 3 points 2 years ago

Inside me?

gets scalpel

Here goes...

path: 0 8942049 8956675, hotness: undefined, score: 3, children: 0
waz 23 points 2 years ago

I feel like most of my googling of simple code is because I know what I'm trying to do, but I don't remember the correct function name and or language structure for the language I'm currently using.

path: 0 8950015, hotness: undefined, score: 23, children: 1
SpaceCowboy 3 points 2 years ago

This is about 50% of what I use ChatGPT for. Something I've done many times before, but I just need a quick reminder about the exact syntax.

The other 50% is just creating DTOs that have properties that are suitable for parsing JSON or XML or can be used to dump data from SQL into. The boring shit.

path: 0 8950015 8995356, hotness: undefined, score: 3, children: 0
Kyrgizion 19 points 2 years ago

Funny, I've been in my current support/devops role for 9 years and every year I wonder more what the hell I'm doing. It somehow seems like I get dumber/lose knowledge/the field expands much more rapidly than my broken mind can keep up with.

I feel like a glorified script kiddie most of the time. I couldn't program my way out of a wet paper bag if my life depended on it.

path: 0 8951867, hotness: undefined, score: 19, children: 0
MrJameGumb 16 points 2 years ago

Wait, that's a thing??? I can earn programmer money just by using copy & paste??? Maybe it's time I changed jobs...

path: 0 8942079, hotness: undefined, score: 16, children: 8
Zedd00 42 points 2 years ago

I spent years getting great with powershell so I can now confidently copy code out of chatgpt. Chatgpt's ability to spit out close to correct code faster than I can type it is amazing, but useless if you don't understand what the hell it's trying to do.

path: 0 8942079 8942517, hotness: undefined, score: 42, children: 6
mac 19 points 2 years ago

Pretty much this, it's the one use case for copilot, I know what I want to type anyway and copilot is usually close enough that 2 edits is faster than typing the whole thing and better for rsi.

path: 0 8942079 8942517 8942773, hotness: undefined, score: 19, children: 5
Kalothar 6 points 2 years ago

Basically the work flow has changed from:

Find a framework that I need to integrate for whatever reason. Go to GumboChumbo.io read the docs.

Write some code based off of what’s in the doc, test the thing, read error message, read docs, ad new thing, but wall for obscure reason, spend thirty minutes looking through similar issues via Google-fu and then find an obscure comment from 6 years ago, That some how fixes this current issue. Implement it, get it working and then customize it.

Now it just streamlines finding these solutions.

path: 0 8942079 8942517 8942773 8946218, hotness: undefined, score: 6, children: 1
mac 3 points 2 years ago

Yeah it's definitely a lot quicker than searching through 15 articles and stack overflow posts sometimes. Except for with regex and the sed command, the bastard thing kept messing that up

path: 0 8942079 8942517 8942773 8946218 8950686, hotness: undefined, score: 3, children: 0
poinck 2 points 2 years ago

But sometimes Copilot just uses too much words to present the answer, so I use ChatGPT which can be personalized.

(Maybe it is possible with Copilot, too, maybe I have to ask how to do it)

path: 0 8942079 8942517 8942773 8949924, hotness: undefined, score: 2, children: 2
mac 3 points 2 years ago

I find the opposite, chatgpt (free version at least) gives all the explanation and stuff then a code block, copilot (not Microsoft the GitHub one) just prints the boilerplate directly in the editor then you press tab to accept.

path: 0 8942079 8942517 8942773 8949924 8950669, hotness: undefined, score: 3, children: 1
Feathercrown 27 points 2 years ago

Copying and pasting: $1
Knowing what to copy and where to paste it: $999

path: 0 8942079 8942957, hotness: undefined, score: 27, children: 0
PumpkinEscobar 14 points 2 years ago

Real answer, learn how to paste several code snippets from stack overflow into a ChatGPT window and ask it to do what you need. Sprinkle in some copilot to tweak as needed. Congrats, Mr Programmer.

path: 0 8942311, hotness: undefined, score: 14, children: 0
some_guy 10 points 2 years ago

It's like that person who thought they'd found a cheat code called Google.

path: 0 8958684, hotness: undefined, score: 10, children: 0
Yaztromo 9 points 2 years ago

Honestly, I hate these memes. As an old school hacker/programmer who has been doing this for many decades, I can usually just start thinking in code and start dumping out everything I need from my brain through my fingers to the keyboard. I never copy-and-paste code from online for something I’m coding (I don’t count something like copying a script to do a quick shell task of some-sort; for something like Amazon’s directions for installing Corretto I’m not going to type all that out manually; and I don’t really consider that “programming”).

But as a tech manager (and former University comp.sci instructor), I know this happens more often than I’d prefer. But some of the worst code I’ve had to review has been copy-and-paste jobs where the developer didn’t understand the task correctly and jammed in something they found online as a quick solution. I get that I started in a generation where you had to understand the problem and code the solution from scratch (because the Internet crutch wasn’t what it is today) — but the fact that so many younger developers revel in the fact they copy-and-paste code on the regular makes me sad.

path: 0 8946283, hotness: undefined, score: 9, children: 1
blotz 4 points 2 years ago

+1 ai tools are fine if you already know what you want to write and it speeds up the process of coding. But when ai tools are writing code you don't understand, you cannot verify that any of the code is actually correct and doesn't introduce bugs. Ditto for copy-pasting.

path: 0 8946283 8950701, hotness: undefined, score: 4, children: 0
force 8 points 2 years ago

Depends on the language. I'm not gonna find shit to copy-paste for what I'm doing in Scala 3 or F#, but in Rust or C++ I'll frequently Google an issue I can't figure out and someone will have some fancy black magic hacker solution with super-iterators and turbofishies and weird type inference that I couldn't think of myself and just throw it in my code with some minor modifications :)

path: 0 8976284, hotness: undefined, score: 8, children: 0
backhdlp 8 points 2 years ago

read the code and pretend you understand it (real understanding will slowly come with that)

path: 0 8944828, hotness: undefined, score: 8, children: 0
dohpaz42 6 points 2 years ago

I’ve been professionally programming for 18 years now. And honestly, I hate writing code from scratch. I copy/paste code from other parts of my codebase and just tweak as needed. Writing code from scratch feels like I’m doing something wrong.

path: 0 8943633, hotness: undefined, score: 6, children: 2
0ops 2 points 2 years ago

The feeling before writing a piece of code in an empty file isn't unlike the feeling I get when I'm about to step into the hot tub. Once I'm in I'm good, but I really have to psyche myself up to get in

Edit: Come to think of it, it's the same with writing

path: 0 8943633 8973176, hotness: undefined, score: 2, children: 1
dohpaz42 1 point 2 years ago

Funny you say that. I’m 18 days from having a 10-page paper due that will determine whether I graduate in May or not, and I have yet to start it. Like you, I just need to get past that initial hump, and then it’ll go smoother.

path: 0 8943633 8973176 8974332, hotness: undefined, score: 1, children: 0
Blass_Rose 5 points 2 years ago

You tell him "stop giving away our secrets!"

And yeah, a lot of people in the comments are running away from the joke, but realistically, to copy+paste code and have it work, you generally have to have a grasp of the code, at least to ask what you want and to paste it and change the variable names, and write the lines to stitch it all together.

Add imposter syndrome on top of that, and it may seem like you don't do anything of use because you copied 3 functions out of a 1k line file.

path: 0 9021592, hotness: undefined, score: 5, children: 0
gerryflap 2 points 2 years ago

Do people really constantly copy-paste code? If I don't know something I'll look it up, but then I'll read the answer and apply it to the code I'm writing rather than copying it directly. I rarely see a piece of code that I can copy over directly into what I'm doing, and even if I can it's usually not thr best idea because the naming etc would be inconsistent

path: 0 9009844, hotness: undefined, score: 2, children: 0
SnotFlickerman -1 points 2 years ago

Boomers: He just needs to learn to code!

path: 0 8942383, hotness: undefined, score: -1, children: 9
tsonfeir 4 points 2 years ago

Why is this a boomer thing?

path: 0 8942383 8954452, hotness: undefined, score: 4, children: 8
SnotFlickerman 5 points 2 years ago

Because, as I can attest as someone in their forties...

Boomers spent my youth telling me that I just needed a college degree, any college degree, and I would have a great job lined up for me almost anywhere.

Later, after many of us had graduated into a world that was absolutely fucking us we were told "Your degree was useless, why did you invest in something stupid that nobody uses like Early Childhood Education?" (something literally every child needs, adults with competent knowledge of early childhood education...)

Further, they would go on to say "Look at the tech industry, there's good jobs there. Only STEM degrees matter, who gives a fuck about art or the human condition or literature. Who needs fucking "media literacy" and who needs to learn from the past to make sure we don't make the same mistakes! LEARN TO CODE!"

"Learn to code" has been shoved down people's throats by Boomers in positions of power for two decades now. After massive layoffs in the tech industries, it has become an even bigger joke than it was, because what are all those coders without jobs supposed to do? Learn to code? Pretty sure they already did that step.

path: 0 8942383 8954452 8954537, hotness: undefined, score: 5, children: 7
tsonfeir 3 points 2 years ago

Hmmm. Okay… but if someone doesn’t understand the code they are haphazardly copying and pasting until it “works,” they should learn how it works or they are a liability.

Do you disagree?

path: 0 8942383 8954452 8954537 8954624, hotness: undefined, score: 3, children: 6
SnotFlickerman 1 point 2 years ago

I think the joke about impostor syndrome went over your head.

path: 0 8942383 8954452 8954537 8954624 8954675, hotness: undefined, score: 1, children: 5
RuikkaaPrus -9 points 2 years ago
path: 0 8943743, hotness: undefined, score: -9, children: 0
programmerhumor
programmerhumor

@lemmy.ml

login for more options
43205
1614
1357

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

go to feed...