There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmerhumor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

doppelgangmember , in That does not look like a secure parking spot

Run far away

kemsat , in Ah, when we lose focus for a second and then we don't even known what our code was supposed to do

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 ,
@candyman337@lemmy.world avatar

Correct, came here to say this.

Now, do I practice what I preach? ehhhhhhhhh

Dohnakun ,

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 ,

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 ,

Ah, that’s what you meant, lol.

vext01 , in Couldn't stop myself from posting my favorite meme
@vext01@lemmy.sdf.org avatar

At least asm won’t stab you in the back

FiskFisk33 ,

no, it stabs you repeatedly in the face

vext01 ,
@vext01@lemmy.sdf.org avatar

Lol.

You know what I mean though? There’s no optimising compiler to do something entirely unexpected when you accidentally invoke UB.

zibat , in QUIT VIM Because Modern IDES are magic

Comedy indeed. Try using a fancy IDE on an embedded system…. Laughs all around. Vim is the right tool.

Joe_0237 , in Ah, when we lose focus for a second and then we don't even known what our code was supposed to do

We have all been there …

barrage4u , in Ah, when we lose focus for a second and then we don't even known what our code was supposed to do

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 ,

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 ,

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 ,

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.

nothacking , in This repository is US property now. · Issue #981 · oilshell/oil
Joe_0237 , in How do you say C#?

c-hash?

marx2k , in Ah, when we lose focus for a second and then we don't even known what our code was supposed to do

Working from home solved a lot of thos for me

tsac , in Ah, when we lose focus for a second and then we don't even known what our code was supposed to do

I like this version more personally.

ForgetReddit ,

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

Joe_0237 ,

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

candyman337 ,
@candyman337@lemmy.world avatar

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

TrontheTechie ,

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.

lowleveldata ,

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.

candyman337 ,
@candyman337@lemmy.world avatar

jesus, this is so accurate is not even funny.

Dohnakun ,

Ditch the Remote Config Loader.

totallynotarobot , (edited ) in Ah, when we lose focus for a second and then we don't even known what our code was supposed to do

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.

Fixbeat ,

deleted_by_author

  • Loading...
  • totallynotarobot ,

    Or people could not assume programmers are male. If I fixed it and put it up, I’d be reminded of that every time I looked at it. We get enough people reminding us we don’t belong, we don’t need to remind ourselves.

    theherk ,

    Your numbers are thin but growing. You belong.

    totallynotarobot ,

    You’re kind. Thanks for taking the time to say that.

    Fixbeat ,

    Most programmers are male, but probably because it’s a hostile environment for women. We shouldn’t assume, of course.

    excel ,
    @excel@lemmy.megumin.org avatar

    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:

    https://lemmy.megumin.org/pictrs/image/6ebddf8d-a7b9-483d-9d81-1b6c441984de.png

    candyman337 ,
    @candyman337@lemmy.world avatar

    jesus, this is so accurate is not even funny.

    Joe_0237 ,
    totallynotarobot ,

    Hey thanks!

    bdonvr ,
    totallynotarobot ,

    I like this version, it is closer to my own drawing style. Thanks kind person

    mrmanager ,
    @mrmanager@lemmy.today avatar

    Your work doesn’t know about males?

    Why can’t it say he? Don’t understand…

    fishsticks ,
    @fishsticks@lemmy.world avatar

    Female developers exist

    mrmanager ,
    @mrmanager@lemmy.today avatar

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

    fishsticks ,
    @fishsticks@lemmy.world avatar

    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 ,
    @mrmanager@lemmy.today avatar

    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 ,
    @fishsticks@lemmy.world avatar

    So you think we should have gender neutral memes now

    It is quite that simple :)

    mrmanager ,
    @mrmanager@lemmy.today avatar

    Well you have the right to your opinion :)

    shmanio ,
    @shmanio@lemmy.world avatar

    The original does not have the banner

    totallynotarobot ,

    Thank you!

    Joe_0237 , in teach'em

    I wish i had a dad like this growing up

    Joe_0237 , in That does not look like a secure parking spot

    Dunmber than funny, but ill give you the upvote lol

    thesanewriter , in Ah, when we lose focus for a second and then we don't even known what our code was supposed to do
    @thesanewriter@vlemmy.net avatar

    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.

    Cityshrimp , in Ah, when we lose focus for a second and then we don't even known what our code was supposed to do

    Just sent this to programmer friends to induce certain irony

    SinJab0n OP ,

    U madman.

    I like it !

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • [email protected]
  • lifeLocal
  • goranko
  • All magazines