News for hackers. Stuff that matters.
Re:Every possible pun of the form ‘You put the X in Y’ by jayd16 on Friday November 06, 2020 @04:14PM (#25011237)
>YOU PUT THE BITCH IN OBITUARY.

Welp, I have to say it's a resounding success.

Re:Every possible pun of the form ‘You put the X in Y’ by kgwxd on Friday November 06, 2020 @06:07PM (#25011983)
I got: YOU PUT THE BISCH IN AMBITION :)
Re:Every possible pun of the form ‘You put the X in Y’ by asdfman123 on Friday November 06, 2020 @03:44PM (#25010962)
Oh lordy, I've got a thing to say about your Javascript.

You could keep the word pairs server side and retrieve them as the page is accessed... or at the very least if you're going to store all your data in a static file you could store them in an array to save space, instead of the whole links. You could get real fancy and make some kind of soundex map thing.

Question: did you just break each word into syllables, and find soundex matches?

No worries, though, I like the compulsive punning. I just like talking about things on the internet.

Re:Every possible pun of the form ‘You put the X in Y’ by Xevi on Friday November 06, 2020 @04:26PM (#25011337)
What the...

Is that a function with a 560000+ lines long comment inside of it, that gets turned into a string, then sliced, and split on newlines, then assigned to a global variable that gets used in another global function?

It took a minute just to open the source code in my browser. Chrome used 5.2GB of RAM while viewing the source code, just for that tab.

Re:Every possible pun of the form ‘You put the X in Y’ by Gene_Parmesan on Friday November 06, 2020 @06:13PM (#25012026)
This is one of those things I would have just assumed was impossible, so never would have tried. Not that I should try something like this, mind, but it is a good reminder not to underestimate these machines we have.
Re:Every possible pun of the form ‘You put the X in Y’ by umvi on Friday November 06, 2020 @04:43PM (#25011472)
Yeah! Just goes to show you can make a cool thing that is really quick and dirty under the hood.

You could make this page load instantly by making the random selection happen in the backend instead of in the browser, but then I guess it would no longer just be a static file.

You could also just have a compact array of pairs and then generate the sentences in the browser instead of having half a million pre-generated strings.

Re:Every possible pun of the form ‘You put the X in Y’ by westcort on Friday November 06, 2020 @04:03PM (#25011110)
I just did string matching (on about 7.6 billion items 133000^2) and matched the pronunciation portion. It’s a fun lark.
Re:Every possible pun of the form ‘You put the X in Y’ by mabbo on Friday November 06, 2020 @04:20PM (#25011293)
I feel that to really make this work you would need to filter words with common origins. Like, if one word appears in the dictionary definition of the other word, they likely aren't going to be funny.

Examples:

YOU PUT THE REFINE IN REFINERY.

YOU PUT THE DETECT IN DETECTS.

YOU PUT THE POLYTECHNOLOGY IN POLYTECHNOLOGIES.

But words with no commonality at all and a good rhyme are brilliant.

YOU PUT THE RUDENESS IN SHREWDNESS.

Re:Every possible pun of the form ‘You put the X in Y’ by default-kramer on Friday November 06, 2020 @04:58PM (#25011572)
Hmm, rhymes don't really do it for me. I might even filter out rhymes if I built this. I've heard humans use this format often enough, and I don't think I've ever heard someone use a rhyme. It's just too easy. Putting "the cologne in colonialism" is significantly better.
Re:Every possible pun of the form ‘You put the X in Y’ by cwkoss on Friday November 06, 2020 @05:57PM (#25011933)
Yeah, I think the currently allows 1-phoneme differences. I think it would be better if it only allowed 2-3+ phoneme differences when at the end of the word. -s -ies -y arent interesting suffixes.
Re:Every possible pun of the form ‘You put the X in Y’ by tyingq on Friday November 06, 2020 @05:53PM (#25011902)
I'd have missed "YOU PUT THE ARRAY IN ARRAYS", which felt apt.
Re:Every possible pun of the form ‘You put the X in Y’ by WilTimSon on Friday November 06, 2020 @05:34PM (#25011791)
There are also some that are just nonsensical but when you read a dozen of these in a row, they feel actually kind of funny. Just tunes your brain to a different wavelength.
Re:Every possible pun of the form ‘You put the X in Y’ by harimau777 on Friday November 06, 2020 @08:42PM (#25012669)
Removing perfect nouns for the "in Y" part might also help.
Re:Every possible pun of the form ‘You put the X in Y’ by klodolph on Friday November 06, 2020 @04:03PM (#25011105)
I'm going to stick with my favorites.

Put the romance in necromancer and

Put the fun in dysfunctional.

Re:Every possible pun of the form ‘You put the X in Y’ by erik_seaberg on Friday November 06, 2020 @08:47PM (#25012688)
“Gee, boss, you really know how to put the fun in funeral.”—Harley Quinn
Re:Every possible pun of the form ‘You put the X in Y’ by pontifier on Saturday November 07, 2020 @07:44AM (#25014751)
Got "man in romance" and thinking about chaining a few of these together now.
Re:Every possible pun of the form ‘You put the X in Y’ by tobyhinloopen on Friday November 06, 2020 @04:10PM (#25011195)
These are the best
Re:Every possible pun of the form ‘You put the X in Y’ by westcort on Friday November 06, 2020 @04:04PM (#25011115)
Great!
Re:Every possible pun of the form ‘You put the X in Y’ by tomcatfish on Friday November 06, 2020 @04:08PM (#25011163)
Wow, some of these are really unique and would be EASILY missed by simpler string matching. I had to read some out-loud to understand

Faves:

> YOU PUT THE OUGHT IN WATERCOLORS.

> YOU PUT THE REITAN IN FRIGHTENED.

> YOU PUT THE EFFICIENTLY IN INEFFICIENTLY . > YOU PUT THE BORED IN DEBORD.

> YOU PUT THE FARAH IN PHEROMONES. (!!?)

Re:Every possible pun of the form ‘You put the X in Y’ by matsemann on Friday November 06, 2020 @04:18PM (#25011275)
> YOU PUT THE DICKS IN DICTIONARIES

This is great! Just wish it was possible to filter out uncommon words. I have no idea what half of them means or how they're supposed to be pronounced (non-native).

Re:Every possible pun of the form ‘You put the X in Y’ by duskwuff on Friday November 06, 2020 @05:56PM (#25011923)
> > YOU PUT THE FARAH IN PHEROMONES. (!!?)

"Farah" and "phero-" are both pronounced ˈfɛrə ("fair-ruh").

Re:Every possible pun of the form ‘You put the X in Y’ by cafard on Friday November 06, 2020 @07:16PM (#25012327)
"We wonder Mr. Babbage does not invent a punning engine; it is just as possible as a calculating one."

--Walter Bagehot, "The First Edinburgh Reviewers", an essay of 1855. You can find the essay at https://babel.hathitrust.org/cgi/pt?id=njp.32101068581279&vi... .

[Edit: removed stray colon.]

Re:Every possible pun of the form ‘You put the X in Y’ by westcort on Friday November 06, 2020 @07:47PM (#25012464)
This is amazing! I guess we have gone full circle.

This also ties in to the other thing locserendipity.com does. It is a corpus of all pre-1918 books. Just use site:locserendipity.com in Google.

Re:Every possible pun of the form ‘You put the X in Y’ by lqet on Friday November 06, 2020 @03:39PM (#25010918)
> YOU PUT THE EXACT IN INEXACT.
Re:Every possible pun of the form ‘You put the X in Y’ by jayd16 on Friday November 06, 2020 @04:16PM (#25011257)
This reminds me of precision vs accuracy.
Re:Every possible pun of the form ‘You put the X in Y’ by triceratops on Friday November 06, 2020 @03:40PM (#25010934)
Can't wait to use that one someday.
Re:Every possible pun of the form ‘You put the X in Y’ by westcort on Friday November 06, 2020 @04:04PM (#25011123)
Good one!
Re:Every possible pun of the form ‘You put the X in Y’ by gok on Friday November 06, 2020 @03:50PM (#25011008)
Some de-stemming would make these work a lot better: https://en.wikipedia.org/wiki/Stemming
Re:Every possible pun of the form ‘You put the X in Y’ by westcort on Friday November 06, 2020 @04:05PM (#25011129)
Definitely something I could do with a quick regex. Great idea!
Re:Every possible pun of the form ‘You put the X in Y’ by nullsense on Friday November 06, 2020 @04:37PM (#25011421)
YOU PUT THE CON IN CONGRESS.

Ooooh. Topical.

Edit: also YOU PUT THE ERICA IN AMERICA. That's adorable.

Re:Every possible pun of the form ‘You put the X in Y’ by tyingq on Friday November 06, 2020 @06:20PM (#25012070)
Since you're already on the dad joke train, what's the opposite of "con"-gress? Progress.
Re:Every possible pun of the form ‘You put the X in Y’ by guerrilla on Friday November 06, 2020 @05:59PM (#25011942)
The latter was in Stranger Things: "You can't spell America without Erica"
Re:Every possible pun of the form ‘You put the X in Y’ by nullsense on Friday November 06, 2020 @06:19PM (#25012063)
Maybe they should do a You Can't Spell X without Y snowclone generator next.

Detractors of the popular genre of music often trot out the old adage "you can't spell crap without rap", but what most people fail to realize is that you can't spell fish and chip shop without hip hop.

Re:Every possible pun of the form ‘You put the X in Y’ by AnthonyMouse on Friday November 06, 2020 @11:19PM (#25013196)
> YOU PUT THE CON IN CONGRESS.

If the opposite of pro is con then the opposite is progress is...

Re:Every possible pun of the form ‘You put the X in Y’ by wnissen on Friday November 06, 2020 @03:49PM (#25010992)
This reminds me of the time I needed to generate some names for testing, and I simply combined the Social Security list of most common first and last names at random. It turns out that the vast majority of possible name combinations are terrible. Not quite "Sleve McDichael" from the notorious Super Famicon game, but close.

Like this, I could read through a whole page of names before finding one that scans. Bennett Takeshita, e.g., is effectively unpronounceable.

https://www.avclub.com/check-out-these-wonderful-american-na...

Re:Every possible pun of the form ‘You put the X in Y’ by westcort on Friday November 06, 2020 @04:04PM (#25011124)
I like this idea!
Re:Every possible pun of the form ‘You put the X in Y’ by voisin on Friday November 06, 2020 @03:50PM (#25011002)
It would be neat to let people vote up and down to give some social value component.
Re:Every possible pun of the form ‘You put the X in Y’ by westcort on Friday November 06, 2020 @04:06PM (#25011149)
Good idea!
Re:Every possible pun of the form ‘You put the X in Y’ by saghm on Friday November 06, 2020 @04:06PM (#25011139)
"YOU PUT THE RHEAULT IN CROSSNO"

"YOU PUT THE OUGHT IN REAUTHORIZE"

I'm not positive what's going on here, but it seems like it's incorrectly detecting syllable divisions? If it thinks that the division is between "o" and "s" in the first and between "t" and "h" in the second, those results would make sense. I don't think anyone actually pronounces "reauthorize" like "warthog", though...

Re:Every possible pun of the form ‘You put the X in Y’ by kthejoker2 on Friday November 06, 2020 @04:07PM (#25011155)
6 winners among a sea of .. not .. winners.

You put the SCENES in Francine's.

You put the DORIS in Maquiladoras.

You put the UNDER in underwriting.

You put the SOMETHING in Twentysomethings.

And the two actual puns:

You put the RACY in Gracie.

You put the BROAD in Broadway.

Re:Every possible pun of the form ‘You put the X in Y’ by abakker on Friday November 06, 2020 @04:16PM (#25011254)
You put the KILLED in unskilled
Re:Every possible pun of the form ‘You put the X in Y’ by MagnumPIG on Friday November 06, 2020 @04:05PM (#25011138)
"You put the Dinosaur in Dinosaurs"

Get outta here!

Re:Every possible pun of the form ‘You put the X in Y’ by daotoad on Friday November 06, 2020 @04:26PM (#25011345)
I got YOU PUT THE SWAYZE IN SWAYZE.

There really needs to be a filter to block these kinds of results.

I wish the word links would let me navigate the set of puns rather than going to google. X links should let me see all the combos that have the same word in the X position. Y links should do the same thing, mutatis mutandis.

Re:Every possible pun of the form ‘You put the X in Y’ by tasty_freeze on Friday November 06, 2020 @04:14PM (#25011232)
My favorite lexical pun, but not auditory, is "You put the laughter into slaughter".
Re:Every possible pun of the form ‘You put the X in Y’ by CamelCaseName on Friday November 06, 2020 @03:36PM (#25010896)
Some of these are a bit suspect...

> YOU PUT THE OOOHS IN DEPOSE

Re:Every possible pun of the form ‘You put the X in Y’ by forddavis on Friday November 06, 2020 @03:45PM (#25010976)
Just encountered > YOU PUT THE )PARENS IN (BEGIN-PARENS. Although arguably more of a feature than a bug
Re:Every possible pun of the form ‘You put the X in Y’ by SamBam on Friday November 06, 2020 @03:49PM (#25010996)
Yeah, it doesn't look like it's just string matching.

    YOU PUT THE MINNER IN PETROMINERALS. 
    YOU PUT THE GUINN IN GINSU. 
    YOU PUT THE READER IN TREDER. 
Seems like doing it "wrong" like this would actually be harder? I'm a bit confused.
Re:Every possible pun of the form ‘You put the X in Y’ by triceratops on Friday November 06, 2020 @03:40PM (#25010929)
They seem to be accent dependent.
Re:Every possible pun of the form ‘You put the X in Y’ by patrickthebold on Friday November 06, 2020 @05:21PM (#25011721)
I'll add my favorite:

You put the 'b' in subtle.

Re:Every possible pun of the form ‘You put the X in Y’ by arthurjj on Friday November 06, 2020 @05:41PM (#25011831)
Looks pretty great. If someone is looking to do something similar the NLTK has a library with mappings to the pronunciation or you can use soundex. I used the NLTK library for answering "How many rhymes are there in English"[1] but the phonemes were in a different format than IPA.

I don't know if there is something similar to the NLTK library with the mappings but for IPA

[1] https://medium.com/@the_ajohnston/how-many-rhymes-are-there-...

Re:Every possible pun of the form ‘You put the X in Y’ by commandlinefan on Friday November 06, 2020 @04:07PM (#25011154)
Third result:

> YOU PUT THE WHICHEVER IN WHICHEVER.

Re:Every possible pun of the form ‘You put the X in Y’ by koliber on Friday November 06, 2020 @04:17PM (#25011264)
Technically correct, which is the best kind of correct.
Re:Every possible pun of the form ‘You put the X in Y’ by jtokoph on Friday November 06, 2020 @04:32PM (#25011385)
"YOU PUT THE {BRACE IN {OPEN-BRACE" takes the cake
Re:Every possible pun of the form ‘You put the X in Y’ by AnthonyMouse on Friday November 06, 2020 @05:30PM (#25011765)
You put the RUSTED in DISTRUSTED.

You put the PYHRRIC in EMPIRICALLY.

You put the ALLAH in CLIMATOLOGIST.

You put the ICING in ENTICING.

You put the SCENT in DISINCENTIVE.

It includes names though, which are almost never interesting:

You put the REECE in RECENTLY.

Re:Every possible pun of the form ‘You put the X in Y’ by smnrchrds on Friday November 06, 2020 @04:01PM (#25011088)
Is there a way to search in the list? I want to see if it has caught "put chalk in chocolate" (typically used regarding to Hershey's).
Re:Every possible pun of the form ‘You put the X in Y’ by westcort on Friday November 06, 2020 @04:04PM (#25011120)
View source and you can see all of them
Re:Every possible pun of the form ‘You put the X in Y’ by smnrchrds on Friday November 06, 2020 @04:44PM (#25011480)
Thanks. I see that it does include it.
Re:Every possible pun of the form ‘You put the X in Y’ by cwkoss on Friday November 06, 2020 @06:00PM (#25011944)
YOU PUT THE MARTYR IN SMARTER.

nice

Also,

YOU PUT THE NATION IN EXTERMINATION.

YOU PUT THE SEWER IN PURSUER.

YOU PUT THE SIGH IN UNDECIDED.

YOU PUT THE ARREST IN OVERESTIMATE.

YOU PUT THE TROLL IN UNCONTROLLED.

YOU PUT THE GODLESS IN IRREGARDLESS. (Kinda need a Boston accent for this one)

Re:Every possible pun of the form ‘You put the X in Y’ by WClayFerguson on Friday November 06, 2020 @03:52PM (#25011022)
I had calculated the square of the number of words in the dictionary and was disappointed to see that some were missing on the site.
Re:Every possible pun of the form ‘You put the X in Y’ by westcort on Friday November 06, 2020 @04:08PM (#25011162)
Just used CMUDICT 0.7 which had 133000 or so entries, so there could be others if you used the OED. I did learn a lot of words from this though
Re:Every possible pun of the form ‘You put the X in Y’ by techbio on Friday November 06, 2020 @03:33PM (#25010866)
Good start--now if you can only make them funny.
Re:Every possible pun of the form ‘You put the X in Y’ by asdfman123 on Friday November 06, 2020 @03:38PM (#25010911)
As a compulsive punner I object to the expectation they're supposed to be funny.

I pun for mental stimulation, and to make everyone around me cringe.

Re:Every possible pun of the form ‘You put the X in Y’ by triceratops on Friday November 06, 2020 @03:34PM (#25010874)
Add a thumbs-up/down button, train a neural net. Easy peasy.
Re:Every possible pun of the form ‘You put the X in Y’ by rflrob on Friday November 06, 2020 @03:49PM (#25011000)
I noticed there's a few cases where a th sound puns with a t sound. For example, you put the OUGHT in ROTHMEYER. Intentional due to loose matching? Uncertainty in pronunciations? Or is this a bug where the θ phoneme is represented as the digraph th?
Re:Every possible pun of the form ‘You put the X in Y’ by westcort on Friday November 06, 2020 @04:06PM (#25011145)
I just did an index of match, so the t from th could have matched. It was quick and dirty, but it’s just for fun, so please forgive those
Re:Every possible pun of the form ‘You put the X in Y’ by peterburkimsher on Friday November 06, 2020 @05:40PM (#25011825)
I like it! I started making a similar kind of page before as a brainstorming challenge: "noun is like a noun".

2 people could sit in front of the screen, and the first person to guess how the nouns are similar would win the point.

http://peterburk.github.io/programs/nounIsLikeANoun/index.ht...

I'd also like to make a pun dictionary of similar-sounding words in English & Chinese, using the data I already gathered for Pingtype.

Re:Every possible pun of the form ‘You put the X in Y’ by Asraelite on Friday November 06, 2020 @03:56PM (#25011047)
What pronunciation dictionary did you use?

I've been looking for a good one that 1. includes variant pronunciations, and 2. distinguishes all phonemes, e.g. considers Rosa's and roses distinct. So far I haven't found any that fulfill these criteria.

Re:Every possible pun of the form ‘You put the X in Y’ by westcort on Friday November 06, 2020 @04:01PM (#25011089)
I used CMUDICT v0.7
Re:Every possible pun of the form ‘You put the X in Y’ by djbeadle on Friday November 06, 2020 @04:22PM (#25011310)
I love it, but I don't know a lot of these words!

If the author is reading I think a nice small improvement would be to prefix the Google search with "define" (as in: "define ${word}") to invoke Google's dictionary function.

Re:Every possible pun of the form ‘You put the X in Y’ by westcort on Friday November 06, 2020 @05:04PM (#25011601)
Great idea! I was not aware if that!
Re:Every possible pun of the form ‘You put the X in Y’ by Veen on Friday November 06, 2020 @03:33PM (#25010864)
Amusing, although you should remove examples where Y is just the plural of X. I got "You put the rooftop in rooftops."
Re:Every possible pun of the form ‘You put the X in Y’ by mFixman on Friday November 06, 2020 @03:37PM (#25010900)
Even worse, "you put the climatologists in climatologist".

Still, I love when small people silly personal projects get promoted in HN. We should have more of these.

Re:Every possible pun of the form ‘You put the X in Y’ by FiatLuxDave on Friday November 06, 2020 @06:18PM (#25012057)
It has my favorite one, which I've actually heard used in conversation in the South:

YOU PUT THE DICK IN DIXIELAND

Re:Every possible pun of the form ‘You put the X in Y’ by Gene_Parmesan on Friday November 06, 2020 @06:15PM (#25012037)
Might be worth pointing out for any mobile users that PunGenLink.html is a hefty 93mb download.
Re:Every possible pun of the form ‘You put the X in Y’ by ddingus on Friday November 06, 2020 @03:39PM (#25010916)
Did you include:

"You put the foo in bar?"

Fun lark, I laughed at some. Wondered at some others.

Re:Every possible pun of the form ‘You put the X in Y’ by twiceaday on Friday November 06, 2020 @04:05PM (#25011127)
Would be good to prioritize popular words, if that data is out there.
Re:Every possible pun of the form ‘You put the X in Y’ by lopmotr on Friday November 06, 2020 @04:00PM (#25011085)
Saw one that makes sense "You put the insel in tinseltown".
Re:Every possible pun of the form ‘You put the X in Y’ by mgkimsal on Friday November 06, 2020 @10:38PM (#25013069)
"You put the laughter in slaughter"

Please tell me this one is in there...

Re:Every possible pun of the form ‘You put the X in Y’ by Jugurtha on Friday November 06, 2020 @04:41PM (#25011459)
I read the site as loserendipity.com and thought it was a nice pun.
Re:Every possible pun of the form ‘You put the X in Y’ by freetime2 on Friday November 06, 2020 @04:16PM (#25011260)
A couple of these actually made me laugh out loud. Nice job!
Re:Every possible pun of the form ‘You put the X in Y’ by westcort on Friday November 06, 2020 @05:28PM (#25011755)
Thanks! It makes my day that this could make someone laugh!
Re:Every possible pun of the form ‘You put the X in Y’ by doodlebugging on Friday November 06, 2020 @05:27PM (#25011752)
YOU PUT THE I IN TEAM

I probably screwed that up. Oops, I just made that up.

Re:Every possible pun of the form ‘You put the X in Y’ by hyperdimension on Friday November 06, 2020 @08:00PM (#25012508)
Well, you know what they say: "There's no 'I' in 'TEAM,' but there's always room for you in the 'A'-hole."
Re:Every possible pun of the form ‘You put the X in Y’ by doodlebugging on Saturday November 07, 2020 @01:57AM (#25013595)
Never heard that. Pretty funny! Thanks!
Re:Every possible pun of the form ‘You put the X in Y’ by goodmachine on Saturday November 07, 2020 @02:42AM (#25013694)
Ah, nice.

(mutters to self) another project I did not complete.

Re:Every possible pun of the form ‘You put the X in Y’ by _Microft on Friday November 06, 2020 @04:12PM (#25011212)
> YOU PUT THE SPORT IN TRANSPORTING.

This is a nice one.

Re:Every possible pun of the form ‘You put the X in Y’ by BernardTatin on Friday November 06, 2020 @03:49PM (#25010998)
Did you put the French in some fries?
Re:Every possible pun of the form ‘You put the X in Y’ by dripton on Friday November 06, 2020 @06:24PM (#25012088)
YOU PUT THE WHEELCHAIR IN WHEELCHAIR.

Might want to exclude this kind of trivial case.

Re:Every possible pun of the form ‘You put the X in Y’ by noahsmitty on Sunday November 08, 2020 @11:24AM (#25026748)
YOU PUT THE SIMPSON IN SIMPSON'S. Thanks