math poll 4/4 BONUS ROUND
Which of these numbers could you describe/define in a sentence?
(Hint, since I don't think you can submit without selecting at least one box: The sentence could be something like "the circumference of a circle with diameter of length 1" or "seven divided by eleven")
math poll 3/n
Which of these sums are AT LEAST one-half (1/2) ?
[(= 1/2) or (> 1/2)]
math poll 2/n
Which of these decimals do you recognize as simple fractions?
It's not even picking up my own old toots, what the hell.
I guess my feeling is, it looks like this is meant to *write functions for you*, and it's not obvious whether there's the capability or potential for it to *question whether the function needs to be written*.
I'm looking at the Python memoization example from https://copilot.github.com/ and thinking to myself "If I ever needed this functionality, I would simply use functools.cache".
(And if it were for some reason *imperative* for me to implement the function myself, I'd use wrapt, probably. Or functools.wraps. Not, you know, nothing, and thereby destroy the function signatures.)
It'd be like writing a CLI that prints "You're going to die." to stderr, and refusing to remove the message, because it's not *incorrect* or anything. Just useless.
boring git internals
I'm somehow still annoyed at the "Your branch is up to date with 'origin/main'." message from `git status`.
In order to make any kind of informed use of this information, you have to understand the following three-part distinction between branches:
- There is a server, locally designated as "origin", which has a "main" branch
- There is a local branch, called "origin/main", which you do not alter explicitly, but which is set to track the "main" branch on "origin"
- There is a local branch, called "main", which tracks "origin/main", and is not explicitly linked to "origin"
(I'm sure I got something at least a little wrong in all of that, but it's more correct than the mental model anyone new to git is likely to come up with. This is not a slight against people new to git.)
That message from `git status` has nothing to do with the state of the first branch I mentioned, only the other two.
I do not think the `git status` message conveys any useful info in the common use case for git.
I've been binging on viral math problem discourse because I have terrible judgement, and I've concluded that we, as a global society, are completely unprepared for a world in which a malevolent demon or extradimensional imp appears in front of us and demands that we manipulate arbitrary strings of symbols.
(In other words: "We will hold up PEP 8 violations by other tools as reasons not to use them, while simultaneously mandating behavior that specifically violates PEP 8.")
It keeps happening.
A generalist Mastodon instance with a nice domain name. Running on Glitch Social's fork with a custom theme!