4,852 karma · joined August 4, 2018
https://loopit.dk/banding_in_games.pdf
(Not my talk, but I found it enlightening.)
I naively assumed it was just failing to display the decimal point. But no, going by the manufacturer statement, the actual value entered and used will ignore the decimal point. You still have to confirm the (correctly-displayed-incorrectly-received-value). If you don't pay attention (because the last 10 times it worked) you might just die... That's unbelievable.
Aside: This is reminding me of the relatively-orthogonal-but-still-awful-imo-UX where entering numbers into payment fields (e.g. card reader or PayPal app) just floods in the numbers from the right, with every digit passing through the decimal places as you type. I don't know why it irks me so much more than "normal" number entering, but it just feels so wrong. I'm entering a quantity in (e.g.) dollars, but I have to type it as a number of pennies. Normally, entering the decimal point would disambiguate my intent clearly even if I type too few or too many decimal zeros...
...in titled Tuesday, i.e. when there is a real-life name and chess career on the line.
How do you undo a merge that you didn't mean to do/did wrongly?
git reset --hard <last commit before merge>
Have some cosmetic fixups on your local branch that really should go into main (or a separate branch) first before merging a bigger feature? git stash
git checkout main
git stash apply
By thinking about branches as pointers, the commit graph existing independently, and stashes just being temporary commits, I feel I'm working much more directly with the underlying abstraction. Yes, git has commands for specific combinations of actions, but for an occasional user it's harder to remember every such command and which arguments and flags to pass in which order. It's either "look through documentation until you find graph diagrams illustrating what will happen for this order of arguments and flags" or "use the primitives 'move branch pointer', 'commit to branch', 'hold these changes for a second' for obtaining the commit tree you actually want. Knowing that the reflog exists also makes this insane-sounding working mode pretty non-scary. And yes, some operations (e.g. cherry-pick) you just need to do the "real" way.(My git stash obsession is most likely just damage from years of using Perforce, which doesn't have a modified/staged distinction. The only way to commit only part of a changed file is via the equivalent of stash -> [restore half the file] -> commit -> stash pop.)
Prepares to be crucified...
One important economy management aspect is matching your metal income with at least as much energy income and buildpower so you can actually spend it (excess energy is turned into a bit of extra metal). And then yes, you should spend it, but the factories support queues (including automatic re-queueing), and you can of course shift-queue buildings.
Another important aspect is that dead units leave behind metal scraps. This can boost your metal income substantially (e.g. if a failed enemy attack leads to a bunch of dead units near your base).
In short, balancing metal income (/territory expansion) with energy income and buildpower is the core economy management loop. But because units have pretty capable AI (e.g. auto-kite when applicable), you can devote a lot more of your attention to this aspect, as well as higher-level decision making.
It provides (in some sense) maximally un-aliased parameter choices when trying to cover a (continuous) parameter space. It generalizes to arbitrary dimensions, doesn't require you to choose the number of samples/experiments beforehand, and actually expands trivially to parameters representing classes (including possibly weighting the classes).
I think it would be interesting to see how using this sequence fares in such a fractional factorial analysis, i.e. how close to optimal the (e.g. binarized) pseudorandom parameter choices are for different numbers of experiments!
But also, particularly for pets I believe anything with a non-negligible amount of fur or similar (i.e. anything that is not just bare skin) will be fundamentally impossible to achieve good enough acoustic coupling for. Unless you also sell shaving equipment with it. Anything with bone in the way (e.g. a ribcage with gaps smaller than a human one) is also more or less out.
For inanimate objects I really wonder what use cases you have in mind. Acoustic properties (and coupling) are even more of a variable there...
Is there a reason not to just handle/accept everything that has a valid `std::tuple_size` specialization?
Also, the type system in C++, despite all the template stuff, is not actually very good for serious functional programming. For example, when taking a function, there is no generic way to specify its signature in your own signature (and no, taking a std::function is not generic). `require` goes a long way though nowadays.
I too would, from a pure self-interest perspective, like to share e.g. media with impunity, but for the sake of evaluating this opinion it's not reasonable to assume a position where copyright doesn't exist.
I'd be interested in arguments against this opinion.
What about by-hand-inlining `std::find` makes the code better?
That's a strawman argument about semantics ("assign" in English does not always mean "soviet-style"), which I'm not going to bother engaging with.
> Scientific writing should not be a product of it's date and political climate.
By virtue of using language, it virtually always is. For example, the common/acceptable way of referring to ethnicities changed over time. It's virtually impossible in anything involving humans to have language (and therefore scientific language) not evolve over time.
> From a scientific standpoint, Female and Male are clearly defined.
And how do you distinguish the "scientific" female and male from the "colloquial" female and male, without leaving it ambiguous according to the "political background" of the reader? Or rather, what if, in a purely hypothetical future English, "female" and "male" refer unambiguously to the gender people identify as? It seems like you would like scientific writing to conform specifically (and only) to what you consider acceptable language _right now_, and are not actually particularly interested in accessibility to future readers.
But those are just very precise facts? Clarifying that they refer to "female sex assigned at birth" is strictly less ambiguous than "female".
What your analysis is not touching on is the prior probability that an asteroid will hit earth (you collapse this to "any asteroid will either hit or not", but that is not helpful for "model calibration" or whatever you want to call this) - or, equivalently, the prior probability of making (a series of) observations with a certain uncertainty/error distribution. If that prior were actually as uniform as each measurement error suggests, I don't see any Bayesian wiggle room left for why we don't have those 3% of impact actually happen.
(I'm no expert, but presumably you need multiple measurements to predict a trajectory, and while their measurement error distributions may be independent, it seems plausible to me that the prior probability of making two specific noise-affected observations, i.e. of the asteroid being on a certain trajectory, is most likely not so uniform. That's the part that I'd like to learn more about though.)