(that particular answer is 1 of 5 that the user posted in a short amount of time, another hint at CGPT use; they had been inactive for nearly a year before this point).
If you are willing to find more posts like these and flag them for mod attention, I can add you to that room where they'll show more of what we can do.
Once you have seen a few more obvious examples it becomes easier to spot, but there are a few tools that use AI to detect AI output (go figure). And you can always try out the question in ChatGPT yourself and see what the output is that is being produced.
Hi Vestland! What kind of information are you looking for? If you are interested in helping us find more CGPT answers, we have some resources we could give you access to.
Without a base class, when you use a @property decorator on a getter, this produces a new property instance which you then reference by it's name to attach a setter.
It turns out that property objects are a lot like that broom; if you replace all the parts, is it still the same property object? See stackoverflow.com/questions/75487566/….
@OlegValteriswithUkraine: I can make a PR right now; I've been testing it to see if my userscript-under-development would pull in Stacks and it doesn't.
Also, I wonder if we can't now just import Stacks definitions from Stacks itself instead of redefining (so, replace the module contents with declare global { const Stacks: typeof import("@stackoverflow/stacks"); })
@OlegValteriswithUkraine: might I ask for a new release of @userscripters/stackexchange-global-types? I'd like to have access to the newer Stimulus dependency :-)
I saw a bunch of VLQ and NAA and a R/A on the post. I declined the R/A and then deleted. Without the edit it could have gone either way with the R/A. The edit was not helpful in that it didn't make any sense to polish up a turd and it changed the nature of the post somewhat.
For starters, rather than use range(len(example)) and then using the index to get back each value, why not use enumerate()? Use it with starmap() instead of map(), and you can already reduce the amount of code one has to parse here. Each language has idiomatic code patterns, I always try to learn those patterns when working in another programming language. List comprehensions are a Python idiomatic pattern.
Yes, verbosity can aid clarity, but only if you actually use it to add clarity. Like using separate variables with clear names to break down a complex expression into its constituent parts.