287
print('butt') (lemmy.world)
submitted 4 months ago by [email protected] to c/[email protected]
all 26 comments
sorted by: hot top controversial new old
[-] [email protected] 68 points 4 months ago

Console:

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

Me:

Haha! I got you!

[-] [email protected] 5 points 4 months ago

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

[-] [email protected] 10 points 4 months ago

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

[-] [email protected] 1 points 4 months ago

that's always how it is.

And eventually it becomes second nature. lol

[-] [email protected] 29 points 4 months ago

background: red; goes harder imo

[-] [email protected] 5 points 4 months ago

background: #f0f

[-] [email protected] 19 points 4 months ago

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

[-] [email protected] 16 points 4 months 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.”

[-] [email protected] 2 points 4 months ago

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

[-] [email protected] 14 points 4 months ago* (last edited 4 months ago)

Often we use

outline : red 1px solid;

, that's clean!

[-] [email protected] 3 points 4 months ago

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

[-] [email protected] 2 points 4 months ago

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

[-] [email protected] 2 points 4 months ago

Purple, yellow, pink, light blue, …

[-] [email protected] 2 points 4 months ago

i'm more of a background-color:red; guy myself

[-] [email protected] 13 points 4 months ago
[-] [email protected] 3 points 4 months ago

Damn, this looks handy. Thanks for sharing

[-] [email protected] 1 points 4 months ago

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

[-] [email protected] 2 points 4 months 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!

[-] [email protected] 1 points 4 months ago

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

[-] [email protected] 2 points 4 months ago

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

[-] [email protected] 0 points 4 months 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.

[-] [email protected] 0 points 4 months 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.

[-] [email protected] 0 points 4 months ago

Thank you, i'll take a look!

[-] [email protected] 2 points 4 months 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.

[-] [email protected] 1 points 4 months ago

when doing headless shell scripting i debug with notify-send

this post was submitted on 20 May 2024
287 points (97.0% liked)

Programmer Humor

32070 readers
507 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS