How are you sleeping after ten lines of co… oh it says coding

@henfredemars@infosec.pub
link
fedilink
English
8
edit-2
1Y

Remember to take care of yourself. Just because you have an idea doesn’t mean you have to test it right this second. You need breaks.

Yeah, write it down and continue sleeping.

You run to your computer only to realize you just hallucinated some solution like chatgpt

deleted by creator

raubarno
link
fedilink
51Y

Literally me 7 hours ago

deleted by creator

Bappity
link
fedilink
English
31Y

this has happened to me after I spent weeks trying to fix a small thing it made me scream

@Crylos@lemmy.world
link
fedilink
English
61Y

This is me almost every morning around 5am… 😭

writes ten lines of code.

has abug in line 255.

ah yes code very much

@jana@leminal.space
link
fedilink
English
41Y

No no, 10 base 512 lines of code

As a programmer with ADHD… 100% yes.

@teclo@feddit.uk
link
fedilink
English
71Y

My zombie brain is my pair programmer. This happens to me so frequently that it no longer surprises me and I now chill and let my sub conscious work it out.

Code a bit, think a lot, code some more, sleep on it, get a really good idea in the shower…

And when you’re wide awake you notice it was a dream, and there’s no “behave” statement in python.

You must tame the python instead

Alex
link
fedilink
51Y

This is why I leave a couple of hours break between coding and going to bed. If I don’t I may well sleep but my dreams are full of repeating code that I don’t wake up rested. Any “insights” from the dreams are usually wrong as well ☹️

I fucked off work right hours ago and I know I’m gonna dream about bootloaders

@riplin@lemm.ee
link
fedilink
English
301Y

And then you fix the bug, test and it and it still doesn’t work and it turns out you weren’t even calling the function in the first place. I’ve had that happen several times.

If you know the line number, the bug is 99% solved

But some times function’s whole design is wrong

@XanXic@lemmy.world
link
fedilink
50
edit-2
1Y

This happens so many times. I’m a pretty firm believer in walking away for 15 minutes is a crucial part of the debugging process. It’s just hard sometimes to know when to stop and stop trying shit for a bit.

Also rubber duck debugging, I’ll talk to my dog but fuck it works so many times. Shes helpful.

I used to talk to the graphic designer next to me. I work from home now, so my wife gets to play the role 24/7.

Create a post

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.
  • 1 user online
  • 77 users / day
  • 211 users / week
  • 413 users / month
  • 2.92K users / 6 months
  • 1 subscriber
  • 1.53K Posts
  • 33.8K Comments
  • Modlog