Discuss Online
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Albin7326@suppo.fi to Programmer Humor@lemmy.mlEnglish · 2 years ago

Me After 10 Lines of Coding and went to sleep

suppo.fi

message-square
21
link
fedilink
680

Me After 10 Lines of Coding and went to sleep

suppo.fi

Albin7326@suppo.fi to Programmer Humor@lemmy.mlEnglish · 2 years ago
message-square
21
link
fedilink
alert-triangle
You must log in or # to comment.
  • MonkCanatella@sh.itjust.works
    link
    fedilink
    arrow-up
    62
    ·
    2 years ago

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

  • XanXic@lemmy.world
    link
    fedilink
    arrow-up
    51
    ·
    2 years ago

    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.

    • SpaceNoodle@lemmy.world
      link
      fedilink
      arrow-up
      17
      ·
      2 years ago

      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.

  • riplin@lemm.ee
    link
    fedilink
    English
    arrow-up
    31
    ·
    2 years ago

    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.

  • ᕙ(⇀‸↼‶)ᕗ@lemm.ee
    link
    fedilink
    arrow-up
    32
    arrow-down
    2
    ·
    2 years ago

    writes ten lines of code.

    has abug in line 255.

    ah yes code very much

    • jana@leminal.space
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      2 years ago

      No no, 10 base 512 lines of code

  • Ddhuud@lemmy.world
    link
    fedilink
    arrow-up
    18
    ·
    2 years ago

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

    • shotgun_crab@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 years ago

      You must tame the python instead

  • jscummy@sh.itjust.works
    link
    fedilink
    arrow-up
    14
    ·
    2 years ago

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

  • lars@programming.dev
    link
    fedilink
    arrow-up
    15
    arrow-down
    1
    ·
    2 years ago

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

    • the_lone_wolf@lemmy.ml
      link
      fedilink
      arrow-up
      10
      ·
      2 years ago

      But some times function's whole design is wrong

  • teclo@feddit.uk
    link
    fedilink
    English
    arrow-up
    9
    ·
    2 years ago

    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.

    • BeigeAgenda@lemmy.ca
      link
      fedilink
      arrow-up
      6
      ·
      2 years ago

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

  • henfredemars@infosec.pub
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    2 years ago

    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.

    • BeigeAgenda@lemmy.ca
      link
      fedilink
      arrow-up
      4
      ·
      2 years ago

      Yeah, write it down and continue sleeping.

  • Crylos@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 years ago

    This is me almost every morning around 5am… 😭

  • raubarno@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    2 years ago

    Literally me 7 hours ago

    • XpeeN@sopuli.xyz
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      deleted by creator

  • Alex@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    2 years ago

    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 ☹️

    • SpaceNoodle@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

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

  • Bappity@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 years ago

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

  • xmunk@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    2 years ago

    As a programmer with ADHD… 100% yes.

  • noproblemmy@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    deleted by creator

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

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.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 5 users / day
  • 450 users / week
  • 1.52K users / month
  • 6.73K users / 6 months
  • 88 local subscribers
  • 39.6K subscribers
  • 1.99K Posts
  • 41.4K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.14
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org