this post was submitted on 11 Aug 2023
373 points (98.2% liked)

Programmer Humor

32048 readers
1563 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
all 17 comments
sorted by: hot top controversial new old
[–] [email protected] 24 points 1 year ago (1 children)
[–] [email protected] 5 points 1 year ago

A win in my book!

[–] [email protected] 19 points 1 year ago (2 children)

Was recently looking for emojis to indicate success/failure in a CLI and for a checkmark, you have these options: ✔️✅☑️

I figured, I'd take the one with green background for best visibility.

Now for an X-emoji, we've got this one: ❌
But isn't there one with a background, too?
Well, yes, there is, but: ❎

(That's displayed with a green background on most systems, in case it's showing differently for anyone.)

[–] [email protected] 8 points 1 year ago (2 children)

You know, what would be revolutionary?

If we could apply our own colors to text symbols. Similar to how there's different skin colors for emojis, but you could set any color.

I know what you're saying, we'd need to come up with a whole system for having colors in texts, that's never going to happen, and I hear you, but a man can dream, you know.

[–] [email protected] 8 points 1 year ago* (last edited 1 year ago)

Be the change you want to see, fuck Unicode in the ass with weird decisions that end up staying around for hundreds of years because it becomes the new standard.

Try to get full sRGB or similar color variety working, but struggle, give up, and bodge together a shitty pre-selected system of 117 colors where your orange is weirdly brown and you completely forgot to include any kind of purple/magenta.

I believe in you, you can do this.

[–] [email protected] 2 points 1 year ago (1 children)

There are also the colored circles 🔴,⭕ and 🟢. The worst part for me is that while the emojis are technically one char in code, they are usually displayed with a 2-char-width.

[–] [email protected] 3 points 1 year ago

Yeah, I considered the circles, but for folks with red-green color blindness, that difference in shape is essential.

And as for 2-char-width, normally I'd agree, but I could have used ✓× with manually set font color, and well, I didn't.
The emojis are preferable to me, because they stand out from normal text. And they do that, because they are bigger and because their bigger size allows plastic design elements...

[–] [email protected] 15 points 1 year ago

You know it's good when the dialogue is green.

[–] [email protected] 15 points 1 year ago

Http code 500: { "Status":200 "Message":"Success" }

[–] [email protected] 13 points 1 year ago (1 children)
[–] [email protected] 5 points 1 year ago (1 children)
[–] [email protected] 5 points 1 year ago

“Heeeyyy vsauce, Micheal here.

[–] [email protected] 6 points 1 year ago

Task failed successfully

[–] [email protected] 5 points 1 year ago

green is less stressful than red though

[–] [email protected] 3 points 1 year ago

Microsoft: An error has occurred.

Oh thanks.