Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Albin Jose@suppo.fi to Programmer Humor@lemmy.mlEnglish · 2 年前

Me After 10 Lines of Coding and went to sleep

suppo.fi

message-square
21
link
fedilink
677

Me After 10 Lines of Coding and went to sleep

suppo.fi

Albin Jose@suppo.fi to Programmer Humor@lemmy.mlEnglish · 2 年前
message-square
21
link
fedilink
alert-triangle
You must log in or register to comment.
  • MonkCanatella@sh.itjust.works
    link
    fedilink
    arrow-up
    60
    ·
    2 年前

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

  • XanXic@lemmy.world
    link
    fedilink
    arrow-up
    48
    ·
    edit-2
    2 年前

    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
      16
      ·
      2 年前

      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
    30
    ·
    2 年前

    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
    31
    arrow-down
    2
    ·
    2 年前

    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 年前

      No no, 10 base 512 lines of code

  • Ddhuud@lemmy.world
    link
    fedilink
    arrow-up
    15
    ·
    2 年前

    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
      2
      ·
      2 年前

      You must tame the python instead

  • lars@programming.dev
    link
    fedilink
    arrow-up
    14
    arrow-down
    1
    ·
    2 年前

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

    • the_lone_wolf@lemmy.ml
      link
      fedilink
      arrow-up
      10
      ·
      2 年前

      But some times function’s whole design is wrong

  • jscummy@sh.itjust.works
    link
    fedilink
    arrow-up
    13
    ·
    2 年前

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

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

    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 年前

      Yeah, write it down and continue sleeping.

  • teclo@feddit.uk
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 年前

    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
      4
      ·
      2 年前

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

  • Crylos@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    2 年前

    This is me almost every morning around 5am… 😭

  • raubarno@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    2 年前

    Literally me 7 hours ago

    • XpeeN@sopuli.xyz
      link
      fedilink
      arrow-up
      1
      ·
      2 年前

      deleted by creator

  • Alex@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    2 年前

    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 年前

      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 年前

    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 年前

    As a programmer with ADHD… 100% yes.

  • noproblemmy@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    2 年前

    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.

  • 324 users / day
  • 1.06K users / week
  • 3.58K users / month
  • 10K users / 6 months
  • 1 local subscriber
  • 36.2K subscribers
  • 1.64K Posts
  • 28.6K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • UI: unknown version
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org