228
headless manhorse (lemmy.world)
top 8 comments
sorted by: hot top controversial new old
[-] Arghblarg@lemmy.ca 8 points 1 year ago* (last edited 1 year ago)

You know this would be a great programming problem for CS students. Given the phrase "head less horse man", generate all 4-word phrases, repeated words allowed. (Some of the ones in this picture aren't 4 words, but anyways...)

Consider the words "head less horse man" to be digits in a base-4 number system; head=0 less=1 horse=2 man=3. Counting from 0 to (4^4)-1 would yield 256 unique values,

  • head head head head = 0
  • head head head less = 1
  • head head head horse = 2
  • head head head man = 3
  • head head less head = 10 (4 base 10)
  • ..
  • man man man man = (4^4)-1 = 3333 (255 base 10)

Bonus points for funniest picture to go with a value (must be hand-drawn by student, no AI allowed) :)

EDIT: not permutations, which I originally said. It's more of an exercise in understanding how to count in bases other than 10.

[-] Swedneck@discuss.tchncs.de 6 points 1 year ago

no horseless headless horseman?

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

I don’t know why the Manhorse bothers me so much that it’s not a centaur..

[-] cybervseas@lemmy.world 8 points 1 year ago

Meanwhile horseman…

Maybe he's born with it…maybe it's neighbelline?

[-] Etterra@lemmy.world 3 points 1 year ago

That joke is so dead that you're breaking a sweat flailing away at it.

[-] elvith@feddit.de 4 points 1 year ago

Missed opportunity: "maneless horse" and "horseless mane"

[-] complacent_jerboa@lemmy.world 4 points 1 year ago

is that.. the beatles?

[-] Etterra@lemmy.world 1 points 1 year ago
this post was submitted on 22 Aug 2023
228 points (100.0% liked)

memes

10174 readers
2046 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 1 year ago
MODERATORS