this post was submitted on 07 Jul 2023
976 points (98.0% liked)

Programmer Humor

32361 readers
439 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
[–] tsac@lemmy.world 99 points 1 year ago (5 children)

I like this version more personally.

[–] candyman337@lemmy.world 19 points 1 year ago

jesus, this is so accurate is not even funny.

[–] Joe_0237@lemmy.ml 14 points 1 year ago (2 children)

That is when you should have gone to sleep by now, but you just want to figure this out first, and of course it feels impossible because youaree far too tired to think

[–] TrontheTechie@infosec.pub 12 points 1 year ago

Or you mistimed the Balmer Peak managed to do an ungodly amount of progress, forgot to comment in any meaningful way, and the next day try to go through all the changes you did and figure out what the Fuck your were on about, and how this thing works when it seems it really shouldn’t.

[–] candyman337@lemmy.world 4 points 1 year ago

man, you are right, I've gone down some deep, stupid, rabbit holes trying to code while sleep deprived

[–] lowleveldata@programming.dev 7 points 1 year ago

Personally my memory cache is not big enough in the first place to wrap around complex problems. So I just write things down while thinking.

[–] ForgetReddit@lemmy.world 4 points 1 year ago

Yeah the op is a rip off of this original that’s far better imo

[–] Dohnakun@lemmy.fmhy.ml 2 points 1 year ago

Ditch the Remote Config Loader.

[–] barrage4u@lemmy.world 47 points 1 year ago (3 children)

This is why I write down the questions I'm trying to answer in a text doc, e.g:

Where is this network call comming from? ../some-api-call.js Why do you think it's causing a 403?

  • I am authenticating correctly
  • the object seems to exist in s3
  • the bucket name is wrong

Etc. So if I lose my thought (all the time), I know exactly what and why I was doing it. Also stops you from re-investigating things you forget

[–] madeindjs@lemmy.ml 6 points 1 year ago

It's a very valid advice.

I also try to do it for complicated bug and it helps me to keep a track of what I tried to do and my hypothesis.

[–] oddityoverseer@lemmy.world 5 points 1 year ago

I often take notes in the form of "TODO" comments, as I work through a problem. Then I have my editor set up to highlight them, and my git asks me if I'm sure I want to commit them. Works pretty well with keeping my thought process straight

[–] SeriousBug@infosec.pub 4 points 1 year ago

It's also an amazing way of duck-debugging. By the time you write down what the problem is, you'll figure out where's the issue or at least what you should try next.

"X is giving me an error, I checked X's logs. X communicates with Y... Oh, I need to check Y next!"

And if you can't figure it out, you have the problem and everything you tried documented so you can ask for help and get answers effectively.

[–] Aceticon@lemmy.world 27 points 1 year ago

Actually there's also the breaking of the psychological state of Flow, which is the mental state of total focus and maximum productivity, which takes about 15 minutes to get to.

Years ago when I had to work as a programmer from the Trading Floor of a major Investment Bank (think Fishmongers' Market but with Financial Assets) I bought some noise reduction earphones and have used those kind of things ever since as they really cut down on distractions and it mainly works.

It even cuts down on the "can you help me for a second" thing because other people actually have to get up and move to were you are to get your attention (as you can't hear them unless they shout), so the zero-effort choice of just calling you from their seat to help them isn't there anymore and one thingI learned pretty early in my career is that in the absence of a zero-effort help path through you for their problems, your colleagues will actually try to first solve their problems themselves and only come to you if they're really stuck, whilst if you're the least effort path to having their problems solve most will just default to breaking your focus and using your time to have their problem solved.

[–] Cityshrimp@lemmy.world 25 points 1 year ago (1 children)

Just sent this to programmer friends to induce certain irony

[–] SinJab0n@mujico.org 5 points 1 year ago

U madman.

I like it !

[–] totallynotarobot@lemmy.world 20 points 1 year ago* (last edited 1 year ago) (6 children)

Aw I wish they had used “they” instead of “he” so I could put this up at work. But… accurate

Edit: the kind reactions here have changed this comic from one that would remind me of nasty to one that will remind me of nice when I see it. It’s going up.

We’re not on Reddit any more, see below for proof.

[–] excel@lemmy.megumin.org 24 points 1 year ago (1 children)

The top part is useless anyway, it's funnier if you just crop off the header... that's just one of those things people slap on so they can feel like they've contributed something, but really it's just noise.

Alternatively, just use this one instead:

[–] candyman337@lemmy.world 3 points 1 year ago

jesus, this is so accurate is not even funny.

[–] shmanio@lemmy.world 10 points 1 year ago (1 children)
[–] mrmanager@lemmy.today 4 points 1 year ago* (last edited 1 year ago) (1 children)

Your work doesn't know about males?

Why can't it say he? Don't understand...

[–] fishsticks@lemmy.world 2 points 1 year ago (1 children)
[–] mrmanager@lemmy.today 0 points 1 year ago* (last edited 1 year ago) (1 children)

So female developers only share jokes about female developers? Whats the point of that? Gender is irrelevant in this community of programmers.

[–] fishsticks@lemmy.world 2 points 1 year ago (1 children)

You're asking why it can't say "he"

I am saying that using that pronoun makes the meme exclusive when it isn't specifically about male developers

The OP doesn't want to share this meme as it is because they presumably have female developers in their team

[–] mrmanager@lemmy.today -2 points 1 year ago* (last edited 1 year ago) (1 children)

So you think we should have gender neutral memes now, or have separate sections for male and female memes where we only joke about our own gender?

How about female devs share memes about both males and females, and male devs do the same? Or is that too simple and we need to make it ridiculous? :)

God forbid a woman shares a meme about a male dev! We can't have that disaster happen...:)

[–] fishsticks@lemmy.world 3 points 1 year ago (1 children)

So you think we should have gender neutral memes now

It is quite that simple :)

[–] mrmanager@lemmy.today 0 points 1 year ago

Well you have the right to your opinion :)

[–] danc4498@lemmy.world 13 points 1 year ago

Adderall my dudes

[–] marx2k@lemmy.world 11 points 1 year ago

Working from home solved a lot of thos for me

[–] demonsword@lemmy.world 7 points 1 year ago

the only downside of home office is having my wife do something like that 5x each day

[–] evirac@vlemmy.net 7 points 1 year ago

That's so true when I'm trying to understand wtf the code is doing

[–] kemsat@lemmy.world 7 points 1 year ago (2 children)

Aren’t you supposed to write out the broad-strokes of what you’re trying to do, that way when you get to the computer, you already know what you’re trying to write & you have an outline to reference.

[–] candyman337@lemmy.world 11 points 1 year ago

Correct, came here to say this.

Now, do I practice what I preach? ehhhhhhhhh

[–] Dohnakun@lemmy.fmhy.ml 2 points 1 year ago* (last edited 1 year ago) (1 children)

You write it up only to write it up? Sounds like two times the work with no benefit. And what if someone breaks your concentration while you write the strokes up?

[–] kemsat@lemmy.world 2 points 1 year ago (1 children)

That’s what I was taught. Right an outline, in English or what you speak, of what each component of the program is supposed to do, then you write the actual components, in code, on the computer.

[–] Dohnakun@lemmy.fmhy.ml 1 points 1 year ago

Ah, that's what you meant, lol.

[–] thesanewriter@vlemmy.net 6 points 1 year ago

Yeah, this happens a lot, especially when I'm tired. Luckily, I usually leave cues for myself so that I remember what I was doing.

[–] BluDood@lemmy.world 6 points 1 year ago

Memory limit exceeded

[–] Catasaur@lemmy.catasaur.xyz 4 points 1 year ago

This is why return to office is a joke.

[–] kr0n@lemmy.ml 4 points 1 year ago

Totally agree

[–] Joe_0237@lemmy.ml 2 points 1 year ago

We have all been there ...

load more comments
view more: next ›