1035
I hate it (sh.itjust.works)
top 50 comments
sorted by: hot top controversial new old
[-] thisfro@slrpnk.net 152 points 1 year ago

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

[-] Wilzax@lemmy.world 109 points 1 year ago

bdbd is not a palindrome but bddb is

[-] Klear@sh.itjust.works 53 points 1 year ago
[-] 30p87@feddit.org 11 points 1 year ago

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

[-] davidagain@lemmy.world 3 points 11 months ago

Username checks out.

load more comments (1 replies)
[-] lugal@sopuli.xyz 4 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 132 points 1 year ago

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

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

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 11 months ago* (last edited 11 months ago)

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

[-] Imgonnatrythis@sh.itjust.works 5 points 11 months ago

Well that's just mean.

[-] xmunk@sh.itjust.works 49 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 11 months ago* (last edited 11 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 27 points 11 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 () )(

[-] Kaelygon@lemmy.world 21 points 11 months ago* (last edited 11 months ago)

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 11 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 1 year ago

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

[-] palordrolap@kbin.run 37 points 1 year ago

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

[-] oce@jlai.lu 20 points 1 year ago

(╯°□°)╯︵ ┻━┻

[-] radicalautonomy@lemmy.world 6 points 11 months ago

┻━┻ ︵╯)°□°╯(

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

Why would you do this to me 😭

[-] Gsus4@mander.xyz 15 points 1 year ago

Oh god, please no 😄

[-] CanadaPlus@lemmy.sdf.org 14 points 1 year ago* (last edited 11 months ago)

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.

load more comments (4 replies)
[-] RiikkaTheIcePrincess@pawb.social 13 points 1 year ago

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

[-] 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.

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

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

[-] FreshLight@sh.itjust.works 11 points 1 year ago

Thank you for letting me hate it as well.

[-] palordrolap@kbin.run 8 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

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

[-] cRazi_man@lemm.ee 6 points 1 year ago
[-] xeekei@lemm.ee 13 points 1 year ago

The reverse would be ((-))

[-] Micromot@lemmy.zip 6 points 1 year ago* (last edited 1 year ago)

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

[-] lugal@sopuli.xyz 4 points 1 year ago

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

[-] Toneswirly@lemmy.world 5 points 1 year ago

Wild stuff.

[-] Melvin_Ferd@lemmy.world 5 points 1 year ago

Palindromes? Haha right guys so funny

Totally not feeling inadequate as a vs graduate again. How bout them FAANGS, haha Arch

[-] expr@programming.dev 11 points 1 year ago

It's not complicated at all: https://en.m.wikipedia.org/wiki/Palindrome. Not really something that's education-specific, in this instance (though I suppose it's commonly used in entry-level programming classes since it's a simple concept).

load more comments (6 replies)
[-] jaybone@lemmy.world 5 points 11 months ago

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

[-] iAvicenna@lemmy.world 5 points 11 months ago

fuck that was unexpected

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

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

[-] JokeDeity@lemm.ee 4 points 11 months ago

Okay, but yes it is if you aren't being extremely technical and pedantic.

load more comments (1 replies)
[-] Imgonnatrythis@sh.itjust.works 3 points 1 year ago

This is especially terrible when lying in bed. With a keyboard or pen and paper you can make sense of it, it hurts my brain a bit to visualize it though.

load more comments
view more: next ›
this post was submitted on 12 Aug 2024
1035 points (100.0% liked)

Programmer Humor

25518 readers
2264 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