this post was submitted on 12 Aug 2024
1032 points (97.8% liked)

Programmer Humor

19623 readers
1 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] thisfro 159 points 3 months ago (3 children)

It looks very weird, but if you put it like abab vs abba, it makes more sense

[–] Wilzax@lemmy.world 113 points 3 months ago (5 children)

bdbd is not a palindrome but bddb is

[–] Klear@sh.itjust.works 56 points 3 months ago
[–] intensely_human@lemm.ee 15 points 3 months ago (5 children)

bddb is my favorite word to pronounce

[–] kambusha@sh.itjust.works 8 points 3 months ago

I think you just hacked my modem

[–] ninja@lemmy.world 8 points 3 months ago

do you have to say it while flipping your finger up and down over your lips?

[–] houndeyes@toast.ooo 4 points 3 months ago* (last edited 3 months ago)

Is it pronounced like that Super Troopers Porsche song?

load more comments (2 replies)
[–] 30p87@feddit.org 10 points 3 months ago (2 children)

Yes, baddragonbaddragon is, in fact, not a palindrome.

load more comments (2 replies)
[–] lugal@sopuli.xyz 5 points 3 months ago

This is much easier to parse for me than the one in the post. Interesting. I guess letters are easier to abstract

load more comments (1 replies)
load more comments (2 replies)
[–] underisk@lemmy.ml 134 points 3 months ago (2 children)

"()()" is an ambigram, which wikipedia describes as "visual palindromes", for whatever that's worth.

[–] TriflingToad@lemmy.world 12 points 3 months ago (1 children)
[–] CanadaPlus@lemmy.sdf.org 5 points 3 months ago* (last edited 3 months ago)

Oh boy, they have some good ones. You've been missing out.

Edit: Quicksort has a nice one. SVD for linear/matrix operations too.

I'm pretty sure I've seen even better ones that could almost stand as a YouTube video but I can't remember where now

[–] Imgonnatrythis@sh.itjust.works 9 points 3 months ago (1 children)

I love that the word ambigram can be made to look as an ambigram whereas palindrome - wtf, could have done so much better with naming that guys.

[–] bstix@feddit.dk 12 points 3 months ago* (last edited 3 months ago) (1 children)

hippopotomonstrosesquipedaliophobia (Fear of long words) was clearly not defined by anyone suffering from the phobia either.

[–] Imgonnatrythis@sh.itjust.works 5 points 3 months ago

Well that's just mean.

[–] xmunk@sh.itjust.works 52 points 3 months ago

This is an unacceptable glitch in the universe.

It's time to reboot it with a patch.

[–] Emmie@lemm.ee 44 points 3 months ago* (last edited 3 months ago)

Let us substitute: ( - x, ) - y
Thus ()() becomes xyxy
())( becomes xyyx
Now clearly it can be seen, even while high, that the second one is and the first isn’t

[–] TriflingToad@lemmy.world 26 points 3 months ago

for those too lazy to google,
palindrome /păl′ĭn-drōm″/ noun A word, verse, or sentence, that is the same when read backward or forward. "madam; Hannah; or Lewd did I live, & evil I did dwel."

() () backwards is )( )(
() )( backwards is () )(

[–] parapsyker@startrek.website 25 points 3 months ago

This has ruined my day.

[–] Kaelygon@lemmy.world 21 points 3 months ago* (last edited 3 months ago) (1 children)

this took me a while but after converting to ascii in hex I get it

"())(" = 40 41 41 40

"()()" = 40 41 40 41

As long your strings aren't null terminated

[–] pingveno@lemmy.world 11 points 3 months ago

As long your strings aren’t null terminated

What kind of monstrous bug prone language would do that?

[–] bruhduh@lemmy.world 19 points 3 months ago (1 children)

What about ⊂⁠(⁠(⁠・⁠▽⁠・⁠)⁠)⁠⊃

[–] palordrolap@kbin.run 37 points 3 months ago (1 children)

⊃))⁠・⁠▽⁠・(⁠(⊂

[–] oce@jlai.lu 19 points 3 months ago (1 children)

(╯°□°)╯︵ ┻━┻

[–] radicalautonomy@lemmy.world 6 points 3 months ago

┻━┻ ︵╯)°□°╯(

[–] limonade@jlai.lu 18 points 3 months ago

Why would you do this to me 😭

[–] Gsus4@mander.xyz 16 points 3 months ago

Oh god, please no 😄

[–] RiikkaTheIcePrincess@pawb.social 14 points 3 months ago

That's horrible and horrifying and I'm never gonna sleep again and also I hate you :(

[–] ArmokGoB@lemmy.dbzer0.com 14 points 3 months ago

1212 isn't a palindrome, but 1221 is.

[–] CanadaPlus@lemmy.sdf.org 13 points 3 months ago* (last edited 3 months ago) (5 children)

Calm down, everyone. Brackets form a tree structure, and can be represented by a free magma, while strings with concatenation are equivalent to a free monoid. You're essentially asking for the two respective common involutory operations to be connected by this map, just because they're involutory, which put that way is a wild guess at best. In fact, reversing this string produces something outside the range of the map entirely, which is injective and so can't be surjective for combinatorical reasons.

... Yeah I might be the only person that finds that useful.

[–] schnurrito@discuss.tchncs.de 5 points 3 months ago (1 children)

yeah but that's just like your opinion man

load more comments (1 replies)
load more comments (4 replies)
[–] Evil_Shrubbery@lemm.ee 13 points 3 months ago

I'm not saying I was having a good day before, but this made it that lil bit worse.

[–] FreshLight@sh.itjust.works 11 points 3 months ago

Thank you for letting me hate it as well.

[–] istoff@lemmy.world 11 points 3 months ago

Had to take a break and come back later before it made sense.

[–] palordrolap@kbin.run 9 points 3 months ago

Yes it does bother me a little that the letters in the latter half of my username can't be written backwards. (Well, some can, and the p can become a q, but then it's not a p any more.)

[–] istoff@lemmy.world 7 points 3 months ago (1 children)

Best palindrome I ever come across is boob. I heard Jimmy Carr say it, but he could be repeating somebody else's joke.

[–] Toneswirly@lemmy.world 6 points 3 months ago

Wild stuff.

[–] cRazi_man@lemm.ee 5 points 3 months ago (1 children)
[–] xeekei@lemm.ee 13 points 3 months ago (1 children)

The reverse would be ((-))

[–] Micromot@lemmy.zip 7 points 3 months ago* (last edited 3 months ago) (1 children)

Wouldn't it be ()-)( as a palindrome?

[–] lugal@sopuli.xyz 4 points 3 months ago (1 children)

That's a palindrome because the reverse is the same. The comment above you shows that the one above isn't a palindrome since the reverse is different, not showing a palindrome

[–] Micromot@lemmy.zip 4 points 3 months ago

Yeah I realized

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

Stupid brain, filling in the gaps when I didn't even want it to...

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

fuck that was unexpected

[–] jaybone@lemmy.world 4 points 3 months ago

A palindrome is about symbols. Not the visual representation of those symbols.

load more comments
view more: next ›