Officially April-Fools Day is over (here), but...
On 01/04/2021 19.25, Chris Angelico wrote: > On Thu, Apr 1, 2021 at 3:36 PM dn via Python-list > <python-list@python.org> wrote: >> >> On 01/04/2021 13.54, Chris Angelico wrote: >>> Real and imaginary are the same thing, just rotated a quarter turn.... >> >> In which dimension(s)? > > Cartesian. Isn't this water you get out of the ground and then deliver using an horse-pulled vehicle? >>>> Without looking into the details/context: surely there's a more >>>> straightforward approach? >>> >>> Perhaps, but there are potentially a LOT of recipes, and I needed to >>> be able to cleanly edit those, even if the code at the top was a mess. >>> (The goal here is to map out production patterns in the game >>> "Satisfactory", for the curious. It's easy to add other things, like >>> computer manufacturing or bauxite processing, simply by adding more >>> recipes.) >>> >>> My original plan was basically pairwise tuple summing (deriving a set >>> of "oil in, water in, rubber out, fuel out" for each set of recipes, >>> where some might be zero), but it turned out that that wasn't flexible >>> enough, and it really needed more options than that. >> >> Which was where my mind was going*. Why not a dict of inputs, processes, >> and outputs**? Each dict having variable length, from None, and >> key:values assigned at declaration/init. In the case of process, the >> contained objects could be Python-functions. With "compact >> representation" (3.6+) the functions could also be relied upon to >> represent a 'production line' or pipeline of functions. > > 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? >>> I already have certificates from Rutledge's Asylum and MaayaInsane's >>> (unnamed) asylum, so that seems pretty likely. >> >> Noted you on the list of lauded alumni at the latter. > > Hmm, where do you see that list? I'm curious. Appeared to be some sort of 'leader board' for the game. Recognised your handle there. Think it was https://www.twitch.tv/maayainsane. Perhaps I was looking at the same time as you logged-in? Daren't disappear down that rabbit-hole again... >> When you left the former, did they allow you to keep the t-shirt, or did >> you have to buy your own memorabilia? >> (https://mysterious.americanmcgee.com/products/rutledge-asylum-mug) > > I beg your pardon? What is this "left"? I'm still there! Actually I > pay my membership on a monthly basis, and in return, my walls are > lavishly decorated in Alice art. Whereas us lateral-thinkers don't like the feeling of being fenced-in. >> The latter's treatment list sounds remarkably like .mil training. I know >> of plenty with that t-shirt - but can't think of a one sporting a mug... >> Should you have one, kindly bring it (with appropriate contents) come >> ANZAC Day at the end of this month... > > https://streamlabs.com/maayainsane/merch/1053635 > This is what I'd bring. They're the standard mugs that I offer to > guests. Well, I would if ever I had guests, but hermitism is a > thing... Is that the same as (anti-) club-ism (cue Groucho: https://www.goodreads.com/quotes/6517787-i-wouldn-t-want-to-belong-to-a-club-that-would) After suffering the RSA's ?quaint tradition of rum-in-milk (that BEFORE Dawn Parade, and thereafter marching on a less-than flat surface) I have learned to guard against the pre-dawn cold by heading for the Hot Chocolate counter - can't say the mugs look like that though. >> 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! -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list