Horrible abuse of __init_subclass__, or elegant hack?

dn PythonList at DancesWithMice.info
Thu Apr 1 19:42:25 EDT 2021


On 02/04/2021 10.13, Chris Angelico wrote:
> On Fri, Apr 2, 2021 at 7:52 AM David L Neil via Python-list
> <python-list at python.org> wrote:
>> Officially April-Fools Day is over (here), but...
> This wasn't a prank post, although it was intended to give amusement
> rather than real education or debate or anything. So there's nothing
> wrong with keeping it going. :)

The Python 'education' is offered at a lower density than the
explanations of slang in variants of ?the? English-language...


>>> Cartesian.
>>
>> Isn't this water you get out of the ground and then deliver using an
>> horse-pulled vehicle?
> 
> Yes. Also, this is the guy who said "I think not" and promptly
> vanished from the world.
> 
> (For those not familiar, the Cartesian coordinate system or the
> Cartesian plane is what you'd normally use for graphing a mathematical
> function. You can label the axes as "x" and "y" to graph something
> like "y = sin(x)", or you can label them as "real" and "imaginary" and
> use it to depict complex numbers. Though David's response has the
> elegance of true *art*, if you examine the words carefully.)

The Cartesian coordinate system, as used in geometry, mapping, etc, was
named after the French philosopher René Descartes.

Possibly Descartes' most famous quotation is "je pense, donc je suis",
which some reason (best known to others) we were taught in Latin, as
"cogito, ergo sum". Most will be familiar with the English translation,
"I think, therefore I am".

A[n] horse-drawn (pulled) vehicle might be a cART, and cARTESIAN water
comes from an underground supply or aquifer.


Whilst we are 'messing around' with [human] languages, my French
vocabulary/translation capability has been extended by discovering that
"artesian" is "artois". Artois was a kingdom/principality that is part
of modern France, 'up' by the Belgian border. A man with French
heritage, but purported to be Dutch, built a brewery in Belgium. Hence
today one of that country's most famous exports is "Stella Artois" beer
("stella" meaning "star"!).

(but this isn't teaching me much Python - or OpenCV: this weekend's
objective...)


>>> Perhaps, but the key here is the input method. It wouldn't look nearly as clean.
>>
>> Not sure about that. For example, is it immediately-obvious which of
>> "Crude", "Residue", and "Plastic" are inputs; and which outputs?
> 
> Well, it's a simple matter of chronology. First you have crude oil,
> then time passes, and then you have plastic and residue. It makes
> sense ONLY if you think of it with a specific ordering, which implies
> Python 3.7 or later.

My anxiety over 'ordering' comes to the fore: if there are multiple
inputs and/or multiple outputs, how can one tell where the former series
ends and the latter begins?

"Explicit" cf "implicit"?


> Hot chocolate? Ahh, now, that's the other thing I drink a lot of. I
> even have a dedicated mug with a Cadbury logo on it. Sadly, not easily
> purchasable, but this one was a gift from a family member who knows
> full well that I have my priorities straight.

Cadbury do not make chocolate!
Neither do Hershey, for that matter!
There, now that I've upset most of the English-speaking world...

PS they use the milk to 'water down' the chocolate! It's much like
buying Easter Eggs: the density of chocolate is much lower for the price.

View
https://www.whittakers.co.nz/en_NZ/products/72-dark-ghana/block-250g
before questioning my curmugeonly credentials!


>>>> Magic, you ask? Well, maybe more "sinister". We did manage to find a
>>>> loose floor-board, but a sad life-lesson was learned, when certain ones
>>>> (un-named*) took it upon themselves to eat all of the contraband
>>>> secreted there.
>>>
>>> Uh oh. How old was the contraband?
>>
>> Was between 'tuck days' (when we were allowed to acquire such goodies -
>> once?twice per week). The theory being that we would all contribute, in
>> anticipation of some later "midnight feast") - such gyre and gimble-ing
>> being more Jabberwock than Alice!
> 
> Ah, I see. So you'd get some tucker, and tuck it away for later, but
> the whole scheme came... unstuck.

Time for another language lesson?

"tucker" is Australian slang for food. Hence "tucker-bag", the
'waltzer's' equivalent of a lunch-box or tiffin tin.

Back when Australia was re-considering their choice for National Anthem,
I was in full expectation (and great hope) that they would select
"Waltzing Matilda". Sadly, they did not (instead: "Advance Australia
Fair").

However, within one poem/song it is possible to learn a considerable
number of (100-year old) Australian slang terms...

Whilst visiting Freemantle (Western Australia), as a guest of Royal
Australian Navy Vets, we were marched-away from the Remembrance Day
Parade to the tune of Waltzing Matilda - something of an highlight (for
me at least)!


Contrarily "tuck" in (old) English slang represented "sweets" (or
"lollies", "candy", etc, in other forms of English). Some say it had
wider application, but I don't recall it ever being used more generally
as "food" or "meal". That said, "tuck in" is certainly slang for 'start
eating [your meal]'.

However, the phrase "best bib and tucker" means "Sunday best" clothing
or 'dressing for dinner. Those who are still following-along in the hope
of a Python reference may like to contemplate the similar implications
carried by "The Monty Python Matching Tie and Handkerchief".

>From "tuck" we get "tuck shop" (which Wikipedia tells us is indeed
closely-related to schools and confectionery
(https://en.wikipedia.org/wiki/Tuck_shop)!).

With that understanding(?) or allusion you may feel equipped to realise
the specialty nature of the "cheese shop", and thus the
Monty-Pythonesque previous name for PyPi!

Toodle-pip!
(https://en.wiktionary.org/wiki/toodle_pip)
-- 
Regards,
=dn


More information about the Python-list mailing list