Lemmy Coupou.fr
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
hypertown@lemmy.world to Programmer Humor@lemmy.ml · 1 year ago

print('butt')

lemmy.world

message-square
24
link
fedilink
393

print('butt')

lemmy.world

hypertown@lemmy.world to Programmer Humor@lemmy.ml · 1 year ago
message-square
24
link
fedilink
alert-triangle
You must log in or register to comment.
  • hperrin@lemmy.world
    link
    fedilink
    arrow-up
    74
    ·
    1 year ago

    Console:

    here
    here 2
    here 3
    here 4
    here 4a
    here 4b
    

    Me:

    Haha! I got you!

    • KillingTimeItself@lemmy.dbzer0.comBanned
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      ah yes, counting from 2, because as everyone knows “” is one

      • hperrin@lemmy.world
        link
        fedilink
        arrow-up
        14
        ·
        1 year ago

        You put in that first “here” thinking it’ll be the only one.

        • KillingTimeItself@lemmy.dbzer0.comBanned
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          that’s always how it is.

          And eventually it becomes second nature. lol

  • Yuumi@lemmy.ml
    link
    fedilink
    English
    arrow-up
    46
    ·
    1 year ago

    background: red; goes harder imo

    • Redjard@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      background: #f0f

  • s12@sopuli.xyz
    link
    fedilink
    arrow-up
    25
    ·
    1 year ago

    Me: “Is bugger a term that denotes a bugged state?
    Senior: “No. That’s just what I have it print to show if something has failed.”

    • sunbytes@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      I like to call pair-programming sessions (for bugs) “bebuggery sessions” at work and people haven’t complained yet.

  • normalexit@lemmy.world
    link
    fedilink
    arrow-up
    20
    ·
    1 year ago

    Printing Butt is fun and all, but if I’m at the point of logging nonsense, it is usually a stronger word.

  • Labna@lemmy.world
    link
    fedilink
    arrow-up
    16
    ·
    edit-2
    1 year ago

    Often we use

    outline : red 1px solid;
    

    , that’s clean!

    • kevincox@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      My problem is that I do red, blue, green then can’t think of any more clearly visible colours.

      • kuneho@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        I often use magenta, pink, cyan and purple, too

      • B0rax@feddit.de
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Purple, yellow, pink, light blue, …

    • ☂️-@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      7 days ago

      deleted by creator

  • Victor@lemmy.world
    link
    fedilink
    arrow-up
    16
    ·
    1 year ago

    Pro tip: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/debugger

    • lightnegative@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      Wow, and here I was trying to set breakpoints using the devtools debugger and faffing around with sourcemaps.

      Wish I knew about this 10 years ago!

      • Victor@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Is it too late?! Are you still webdevvving? 😃

    • bitfucker@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      Damn, this looks handy. Thanks for sharing

      • Victor@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        My pleasure! Though I’m gonna be honest, I mostly use console.debug(). 😇

  • lseif@sopuli.xyz
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    when doing headless shell scripting i debug with notify-send

  • KillingTimeItself@lemmy.dbzer0.comBanned
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    i3wm having urgency cues was the single greatest thing any DE/WM has ever done.

    • RollForInitiative@feddit.de
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Could you please point me to docs about this or keywords i should search with? This sounds interesting, but a quick search with i3 and urgency cues gave me nothing.

      • KillingTimeItself@lemmy.dbzer0.comBanned
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        i believe they’re referred to in documentation as “urgency hints” it should be in the user guide. heres the guide just do a ctrl f for urgency, it should pop some stuff up. It’s also a default config option for the base file.

        • RollForInitiative@feddit.de
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Thank you, i’ll take a look!

          • KillingTimeItself@lemmy.dbzer0.comBanned
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 year ago

            the user guide while rather terse and not verbose, is still incredibly detailed, and often includes a good bit of information to get you where you need to be.

  • ☂️-@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    7 days 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.

  • 181 users / day
  • 1.76K users / week
  • 3.15K users / month
  • 10.1K users / 6 months
  • 1 local subscriber
  • 35.9K subscribers
  • 1.89K Posts
  • 39K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org