print('butt')

394 points · 24 comments · view on lemmy.world

24 Comments

hperrin@lemmy.world · 73 pts · 2y (3 replies)

Console:

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

Me:

Haha! I got you!

KillingTimeItself@lemmy.dbzer0.com · 5 pts · 2y (2 replies)

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

hperrin@lemmy.world · 13 pts · 2y (1 reply)

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

KillingTimeItself@lemmy.dbzer0.com · 2 pts · 2y

that's always how it is.

And eventually it becomes second nature. lol

Ozzy@lemmy.ml · 44 pts · 2y (1 reply)

background: red; goes harder imo

Redjard@lemmy.dbzer0.com · 6 pts · 2y

background: #f0f

s12@sopuli.xyz · 24 pts · 2y (1 reply)

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 · 4 pts · 2y

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

normalexit@lemmy.world · 20 pts · 2y

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

victorz@lemmy.world · 16 pts · 2y (4 replies)
lightnegative@lemmy.world · 3 pts · 2y (1 reply)

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!

victorz@lemmy.world · 2 pts · 2y

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

bitfucker@programming.dev · 3 pts · 2y (1 reply)

Damn, this looks handy. Thanks for sharing

victorz@lemmy.world · 1 pts · 2y

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

Labna@lemmy.world · 15 pts · 2y (4 replies)

Often we use

outline : red 1px solid;

, that's clean!

kevincox@lemmy.ml · 5 pts · 2y (2 replies)

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

kuneho@lemmy.world · 3 pts · 2y

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

B0rax@feddit.de · 2 pts · 2y

Purple, yellow, pink, light blue, …

umbrella@lemmy.ml · 3 pts · 2y
[ removed ]
KillingTimeItself@lemmy.dbzer0.com · 4 pts · 2y (4 replies)

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

RollForInitiative@feddit.de · 2 pts · 2y (3 replies)

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.com · 2 pts · 2y (2 replies)

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 · 1 pts · 2y (1 reply)

Thank you, i'll take a look!

KillingTimeItself@lemmy.dbzer0.com · 2 pts · 2y

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.

lseif@sopuli.xyz · 4 pts · 2y

when doing headless shell scripting i debug with notify-send

umbrella@lemmy.ml · 2 pts · 2y
[ removed ]