Lemmy for LUS
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@hypertown@lemmy.world to Programmer Humor@lemmy.ml • 2 years ago

print('butt')

lemmy.world

message-square
25
fedilink
393

print('butt')

lemmy.world

@hypertown@lemmy.world to Programmer Humor@lemmy.ml • 2 years ago
message-square
25
fedilink
alert-triangle
You must log in or register to comment.
  • @hperrin@lemmy.world
    link
    fedilink
    74•2 years ago

    Console:

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

    Me:

    Haha! I got you!

    • KillingTimeItself
      link
      fedilink
      English
      5•2 years ago

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

      • @hperrin@lemmy.world
        link
        fedilink
        14•2 years ago

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

        • KillingTimeItself
          link
          fedilink
          English
          2•2 years ago

          that’s always how it is.

          And eventually it becomes second nature. lol

  • Yuumi
    link
    fedilink
    English
    46•2 years ago

    background: red; goes harder imo

    • redjard
      link
      fedilink
      6•2 years ago

      background: #f0f

  • @s12@sopuli.xyz
    link
    fedilink
    25•2 years 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
      4•2 years 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
    20•2 years 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
    16•
    edit-2
    2 years ago

    Often we use

    outline : red 1px solid;
    

    , that’s clean!

    • @kevincox@lemmy.ml
      link
      fedilink
      5•2 years 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
        3•2 years ago

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

      • @B0rax@feddit.de
        link
        fedilink
        2•2 years ago

        Purple, yellow, pink, light blue, …

  • Victor
    link
    fedilink
    16•2 years ago

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

    • @bitfucker@programming.dev
      link
      fedilink
      3•2 years ago

      Damn, this looks handy. Thanks for sharing

      • Victor
        link
        fedilink
        1•2 years ago

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

    • @lightnegative@lemmy.world
      link
      fedilink
      3•2 years 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
        link
        fedilink
        2•2 years ago

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

  • @lseif@sopuli.xyz
    link
    fedilink
    4•2 years ago

    when doing headless shell scripting i debug with notify-send

  • KillingTimeItself
    link
    fedilink
    English
    4•2 years ago

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

    • @RollForInitiative@feddit.de
      link
      fedilink
      2•2 years 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
        link
        fedilink
        English
        2•2 years 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
          1•2 years ago

          Thank you, i’ll take a look!

          • KillingTimeItself
            link
            fedilink
            English
            2•2 years 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.

  • ☂️-
    link
    fedilink
    2•
    edit-2
    7 months ago

    .

Programmer Humor@lemmy.ml

!programmerhumor@lemmy.ml
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.
  • 2 users / day
  • 41 users / week
  • 181 users / month
  • 1.15K users / 6 months
  • 3 subscribers
  • 1.36K Posts
  • 15.7K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @cat_programmer@lemmy.ml
  • BE: 0.18.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org