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

Programmer Humor

25567 readers
357 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 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] thisfro@slrpnk.net 162 points 1 year ago (3 children)

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

[–] Wilzax@lemmy.world 114 points 1 year ago (5 children)

bdbd is not a palindrome but bddb is

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

bddb is my favorite word to pronounce

[–] kambusha@sh.itjust.works 8 points 1 year ago

I think you just hacked my modem

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

Is it pronounced like that Super Troopers Porsche song?

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

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

load more comments (2 replies)
[–] lugal@sopuli.xyz 5 points 1 year 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 137 points 1 year ago (2 children)

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

[–] TriflingToad@lemmy.world 12 points 1 year ago (1 children)
[–] CanadaPlus@lemmy.sdf.org 5 points 1 year ago* (last edited 1 year 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 1 year 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 1 year ago* (last edited 1 year ago) (1 children)

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

Well that's just mean.

[–] xmunk@sh.itjust.works 53 points 1 year ago

This is an unacceptable glitch in the universe.

It's time to reboot it with a patch.

[–] Emmie@lemm.ee 44 points 1 year ago* (last edited 1 year 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 1 year 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 1 year ago

This has ruined my day.

[–] Kaelygon@lemmy.world 21 points 1 year ago* (last edited 1 year 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 1 year ago

As long your strings aren’t null terminated

What kind of monstrous bug prone language would do that?

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

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

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

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

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

(╯°□°)╯︵ ┻━┻

[–] radicalautonomy@lemmy.world 6 points 1 year ago

┻━┻ ︵╯)°□°╯(

[–] limonade@jlai.lu 18 points 1 year ago

Why would you do this to me 😭

[–] Gsus4@mander.xyz 16 points 1 year ago

Oh god, please no 😄

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

[–] ArmokGoB@lemmy.dbzer0.com 14 points 1 year ago

1212 isn't a palindrome, but 1221 is.

[–] istoff@lemmy.world 13 points 1 year ago

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

[–] Evil_Shrubbery@lemm.ee 13 points 1 year ago

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

[–] CanadaPlus@lemmy.sdf.org 13 points 1 year ago* (last edited 1 year 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 1 year ago (1 children)

yeah but that's just like your opinion man

load more comments (1 replies)
load more comments (4 replies)
[–] FreshLight@sh.itjust.works 11 points 1 year ago

Thank you for letting me hate it as well.

[–] palordrolap@kbin.run 9 points 1 year 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 1 year 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 1 year ago

Wild stuff.

[–] voracitude@lemmy.world 5 points 1 year ago

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

[–] iAvicenna@lemmy.world 5 points 1 year ago

fuck that was unexpected

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

The reverse would be ((-))

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

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

[–] lugal@sopuli.xyz 4 points 1 year 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 1 year ago

Yeah I realized

[–] jaybone@lemmy.world 4 points 1 year ago

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

load more comments
view more: next ›