News for hackers. Stuff that matters.
Re:NumPy 1.24.0 has been released by curious_cat_163 on Sunday December 18, 2022 @10:29PM (#34048066)
I use "num-pee". It seems like the "correct" English pronunciation because of words like these: https://www.thefreedictionary.com/words-that-end-in-py

However, it does not surprise/bother me if someone goes for "num-pie".

Re:NumPy 1.24.0 has been released by atoav on Sunday December 18, 2022 @10:32PM (#34048093)
> However, it does not surprise/bother me if someone goes for "num-pie".

I mean the Py comes from python where it certainly sounds more like pie.

The real question then is: How would the file ending .py be pronounced?

Re:NumPy 1.24.0 has been released by anigbrowl on Sunday December 18, 2022 @11:13PM (#34048393)
source code dot pie
Re:NumPy 1.24.0 has been released by _huayra_ on Sunday December 18, 2022 @11:20PM (#34048441)
fwiw I have never met a native English speaker who says "num-pee". Although -py = "pee" for most English words, this random made-up proper noun is yet again another weird English exception...
Re:NumPy 1.24.0 has been released by zarzavat on Monday December 19, 2022 @12:08AM (#34048725)
It's two abbreviations joined together Num- and Py- so they keep their pronunciation. You'd have to ask why is Python pronounced as "pai"? Another example with similar pronunciation is Pythagoras. That's a less easy question to answer due to words like pyramid, pygmy that start with a reduced i sound (sorry can't type IPA on my phone).

When you have a consonant and a Y, it's generally quite common for that Y to make an "ai" sound. Like bylaw, dynamo, kyle, lying, rye, xylophone. So I'd say that Python's pronunciation is unexceptional.

In the case of pyramid, it comes from French pyramide so it follows the pronunciation of French. It's worth noting that both pyramid and pygmy have alternate/misspellings that use "pi" which shows that their spelling as "py" is not very natural to native speakers.

Re:NumPy 1.24.0 has been released by theLiminator on Monday December 19, 2022 @12:39AM (#34048900)
Wish people would pronounce regex with the same logic
Re:NumPy 1.24.0 has been released by mijamo on Monday December 19, 2022 @12:50AM (#34048942)
Don't they? I always used that rule and pronounced it as in REGular EXpression. Do people say it differently? Like a soft g and long e like in "regent"?
Re:NumPy 1.24.0 has been released by _huayra_ on Monday December 19, 2022 @01:42AM (#34049228)
It is easier to make the "j" said for "rejex". The "g" sound is more effortful (it is "made" more in the back of the mouth, compared to "j"). Laziness wins the day again on pronunciation xD
Re:NumPy 1.24.0 has been released by bee_rider on Monday December 19, 2022 @03:28AM (#34049795)
I would pronounce it “regular expression.” I can see shortening it in text, it is a lot of letters, but reg-eks seems only marginally shorter than “regular expression” and the latter has normal, easy flowing words without weird stop in the middle. “Reglr spression” “Regula espressen.”
Re:NumPy 1.24.0 has been released by laserlight on Monday December 19, 2022 @12:50AM (#34048945)
Yeah, where did rejex even come from? Perhaps, people don’t know that it’s regular expression?
Re:NumPy 1.24.0 has been released by comedowntous on Monday December 19, 2022 @03:57AM (#34049972)
Interesting. Both python and pyramid most likely come from Latin though, and in both Latin and French the "py" python is pronounced the same as the "py" in pyramid. So there must be more to it.
Re:NumPy 1.24.0 has been released by Terretta on Monday December 19, 2022 @05:49AM (#34050676)
The pygmy pyromaniac in pyjamas drove the python from the pyramid with pyrotechnics.
Re:NumPy 1.24.0 has been released by skelpmargyar on Monday December 19, 2022 @04:18AM (#34050084)
I say num-pee because it sounds more funny. It's a good contrast to the cold, lifeless, calculating heart of modern scientific computing.