Live data from Hacker News

I found the best anagram in English (2017)

blog.plover.com

61–70 of 236 posts

Re: I found the best anagram in English (2017)

#61
post #21

Earlier quoted context omitted.

Clint Eastwood = Old West Action is still my favorite serendiptious anagram. I also like the mathematically correct ELEVEN PLUS TWO = TWELVE PLUS ONE especially because it's also an numeric anagram 11 + 2 = 12 + 1

Mother in law = Woman Hitler is another classic

Does that count as Godwinning the anagrams discussion?

Re: I found the best anagram in English (2017)

#62
post #40

What’s nostalgic to me is that this is such a classic Perl pattern: hashing manipulated strings to find relationships. Prior to Perl doing this was painful. Boost wasn’t a thing. Python was in its cradle and Java was still struggling with beans. Perl removed the barriers between complex coding ideas and an implementation that C wasn’t ready for. The time from thought to prototype was near instant compared to current…

You don't _need_ to hash anything. The simplest way to do it, is to convert all the words to (normal_form, orig_word) pairs, write the list to a file, then sort it. It will be trivial to find the words with common normal form after the sort. (Of course, you wouldn't catch me trying to implement that with C if perl is an option...)

But the normal form as defined by the article is an hash, even if you then use sorting instead of bucketing

Re: I found the best anagram in English (2017)

#63
I'm a non-coding lurker here, but the only thing that ever motivated me to write my own program was to solve the newspaper anagram puzzle, "Jumble", faster than my wife. I wrote it in Basic, then re-wrote it in assembly language, I forget when. Then in Fortran while home bound during the first summer of the pandemic - to atone for my past sin of neglecting to learn Fortran when I had a chance in the late 1960's.

Re: I found the best anagram in English (2017)

#67

This is the TXR Lisp interactive listener of TXR 285. Quit with :quit or Ctrl-D on an empty line. Ctrl-X ? for cheatsheet. TXR's sound system features 120 dB separation between quarreling audiophiles. 1> (flow "/usr/share/dict/words" file-get-lines (group-by sort) hash-values (keep-if cdr) (sort @1 : [chain car len])) (("ho" "oh") ("am" "ma") ("em" "me") ("no" "on") ("ah" "ha") ("it" "ti") ("mu" "um") ("eh" "he") ("a…

Waiting for someone to post a 4-symbol APL version (which makes use of a language feature added by an eccentric hedge fund millionaire in 2002 and removed in 2017, to ensure nobody ever runs it).

Re: I found the best anagram in English (2017)

#68

My favorite has always been: A man a plan a canal Panama

That's a palindrome, not an anagram. If you'd like to see the director's cut of that palindrome, it's available here:

http://www.fun-with-words.com/palin_panama.html

I've always been partial to pangrams: sentences that use every letter in the alphabet at least once, typically shooting for a short sentence.

My favorite is "Pack my box with five dozen liquor jugs". Not minimal, but delightful and uses only words that most mortals know.

Re: I found the best anagram in English (2017)

#69
post #6

That was pretty good for a one-word anagram. Back in the 1990s I wrote a program that generated anagrams for longer phrases and I was surprised to find these prescient ones: Saddam Hussein = He damns Saudis Charles Manson = Slasher con man David Letterman = Dead mitral vent Mary Jo Kopechne = My joke chaperon * Benito Mussolini = So, I bout Leninism Lee Harvey Oswald = Oe, why ever Dallas? * * "Chaperon" is a valid a…

Clint Eastwood = Old West Action is still my favorite serendiptious anagram. I also like the mathematically correct ELEVEN PLUS TWO = TWELVE PLUS ONE especially because it's also an numeric anagram 11 + 2 = 12 + 1

> ELEVEN PLUS TWO = TWELVE PLUS ONE

Goedel's incompleteness theorem fans would be drooling all over this

Post reply on HN