this post was submitted on 20 May 2024
4 points (100.0% liked)

Programmer Humor

32400 readers
491 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 15 comments
sorted by: hot top controversial new old
[–] hperrin@lemmy.world 3 points 5 months ago (1 children)

Console:

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

Me:

Haha! I got you!

[–] KillingTimeItself@lemmy.dbzer0.com 0 points 5 months ago (1 children)

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

[–] hperrin@lemmy.world 3 points 5 months ago

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

[–] victorz@lemmy.world 1 points 5 months ago (1 children)
[–] lightnegative@lemmy.world 1 points 5 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!

[–] s12@sopuli.xyz 1 points 5 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.”

[–] normalexit@lemmy.world 1 points 5 months 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 0 points 5 months ago* (last edited 5 months ago) (1 children)

Often we use

outline : red 1px solid;

, that's clean!

[–] kevincox@lemmy.ml 2 points 5 months ago (2 children)

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

[–] kuneho@lemmy.world 1 points 5 months ago

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

[–] B0rax@feddit.de 0 points 5 months ago

Purple, yellow, pink, light blue, …

[–] KillingTimeItself@lemmy.dbzer0.com 0 points 5 months ago (1 children)

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

[–] RollForInitiative@feddit.de 0 points 5 months ago (1 children)

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 0 points 5 months ago (1 children)

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 0 points 5 months ago

Thank you, i'll take a look!