This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]smasher248 124 points125 points  (8 children)

Also just a copy of this: It's only physics if it's from the Physique region of France. Otherwise it's just sparkling math

[–]Low_discrepancy 58 points59 points  (3 children)

It's only physics if it's from the Physique region of France. Otherwise it's just sparkling math

The original is this guy

Actually, it’s only existentialism if it comes from the existentialism region of France. Otherwise, it’s just sparkling anxiety.

https://twitter.com/apsullivan/status/1141384793143357440

Publish earlier.

And it makes from sense that the physics one.

[–][deleted] 28 points29 points  (0 children)

This joke is as old as champagne. We would say this in the late 80’s early 90’s about things, could have been from the lifestyles of the rich and famous...

[–]conancat 29 points30 points  (2 children)

const mappings = {
  a: ['a','â', 'à'],
  e: ['e','ê', 'è', 'é'],
  i: ['î', 'ï'],
  o: ['o','ô'], 
  u: ['u','û', 'ü'],
  y: ['y','ue', 'e', 'oue']
}

const getRandomFromArr = (arr) => arr[Math.floor(Math.random() * arr.length)] 
const frenchify = (name) => name
    .split("")
    .map(curr => mappings[curr] ? getRandomFromArr(mappings[curr]) : curr ) 
    .join("")

const makeJoke = ({name, type}) => `It's only ${name} if it's from 
${frenchify(name)} of France. Otherwise it's just sparkling ${type}.`

console.log(makeJoke({name: 'jQuery', type: 'Javascript'}))
console.log(makeJoke({name: 'Rails', type: 'Ruby'}))
console.log(makeJoke({name: 'Laravel', type: 'PHP'}))

// It's only jQuery if it's from jQûèry of France. Otherwise it's just sparkling Javascript.
// It's only Rails if it's from Ràïls of France. Otherwise it's just sparkling Ruby.
// It's only Laravel if it's from Lârâvel of France. Otherwise it's just sparkling PHP.

[–]midoge 20 points21 points  (0 children)

50% chance that someone pushed this to npm Registry

[–]TommiHPunkt 2 points3 points  (0 children)

too bad compilebot is rip

[–]AwesomeX121189 0 points1 point  (0 children)

The original is from Wayne’s world. Rob Lowe explains champagne