The interesting thing is that the higher your resistances the more effective each additional percentage point of resistance is.
Let's say a monster does 100 damage per attack.
If you have 0% resistance and increase it to 5%, then your incoming damage went from 100 to 95. You take 5% less damage than before.
If you have 75% resistance and increase it to 80%, then your incoming damage went from 25 to 20. You take 20% less damage than before.
It is pretty unintuitive until you realize that you need to focus on the remainder rather than the other part.
Let's say you have two vehicles, both doing 10,000 miles per year. One gets 10 mpg and the other 50.
Would you rather upgrade the 10 mpg vehicle to 13 mpg, or the 50 mpg to 100 mpg?
Not only should you pick the former - you should pick the former even if you could upgrade the 50 mpg vehicle to run on nothing.
One point of resistance gives 1% effective extra health no matter how much you already have.
100 armor give 50% reduction (100/100+100) while 200 armor give 66% (100/100+200)
The percentage 50 -> 66% is shown ingame and players often think the value per point of armor drops.
What does actually happen is your effective bonus health changes from +100% to +200% and every additional point will be worth the same
(And the reason is just the same: what matters is the remainder.)
The game has a lot of seemingly arbitrary distinctions and concepts that you just have to learn over time, but once you actually learn them, the consistency of it all makes it very easy to handle the large amounts of complexity in the game.
It's completely unbearable going back to other games that just say crap like "+30% to x" without actually distinguishing between the different ways calculations can be done, forcing you to either experiment endlessly, look up every tiny thing on a community wiki, or just wing it.
It's a nice contrast to something like WoW where every time you get a new item you just chuck the item code into some ten million LOC simulator and fuck around with limiting permutations until it doesn't take 15 minutes to run, just to find out through some totally opaque process that you have 189 more dps. And then 2 months later you find out there was a bug in the simulation and the item you deleted 1.9 months ago was actually better.
Any time your service has a high TPS, your API gets a lot of calls, a button in your app gets pressed a lot, ... this applies.
Critically, "a lot" is defined relative to your failure tolerance. It may actually be very fast or a lot, or not particularly fast but it really really needs to work.
It highlights the fallacy of equating "low probability" and "won't happen".
[1] https://docs.microsoft.com/en-us/archive/blogs/larryosterman...
Indeed. One fun example is LHC[1], where the probability of a proton in a single bunch hitting a proton in the bunch going the opposite direction is on the order of 10^-21, yet due to huge number of protons per bunch and large number of bunches per second, it still results in ~10^9 collisions per second.
[1]: https://www.lhc-closer.es/taking_a_closer_look_at_lhc/0.lhc_...
I could not find any info about that bug, anyone got a link or a source?
Read i into register.
Add one to that register.
Write i back to the memory location.
And there's a window during that "add one to the register" where you can obviously have something jump in and write something else to that memory location.What happens on your real processor is more complicated since this is going to relate to cache coherency between the processors, not directly writing RAM at that point, and that's a deep rabbit hole. I couldn't describe it all in detail anyhow. But I can observe it doesn't take much at all to turn that one cycle vulnerability into something with a larger target.
https://www.ted.com/talks/del_harvey_protecting_twitter_user...
And the final step is then, that the solid mass didn't change and therefore the liquid must be halved, instead of the solid doubled.
The obvious example is 99g water, 1g dry mass. Knowing that 1g cannot change, what do we need water to be to equal 98%? 49g.
Let’s say newly issued 100yr Treasuries pay a 1% coupon today, but tomorrow the coupon will be 2%, how much does the price of the older bond change?
The answer is a near 50% loss, simply because this is required to bump the yield of the older bond to 2%.
(If we include the discounted principal payment the exact answer becomes a 41.3% loss)
>I really like this one. It's a perfect combo of intuitive from one perspective and mind bending from another.
Comes up a lot lately because of vaccine effectiveness e.g. 95% is twice as effective as 90%.
its a common concept in games in which armor follows a linear formula (each point of armor is more effective than the last when calculating effective health)
100g strawberry total weight where the 100% is made up of 99% water and 1% solid matter. 100g strawberry total weight where the 100g is made up of 99g water and 1g solid matter. 99/100 = 0.99
50g strawberry total weight where the 100% is made up of 98% water and 2% solid matter. 50g strawberry total weight where the 50g is made up of 49g water and 1g solid matter. 49/50 = 0.98
> This one, on the other hand, I don't like. Depending on a whole bunch of subjective definitions, a one-in-billion event can happen a million times a second or practically never or whatever else you choose.
I think this is about events happening to people, the number of people alive (and assuming they all communicate "miracle" occurrences"), and how many things they experience.
That is, if I understand if correctly it's not that you can choose a random number between one and a billion and run a CPU to randomly check numbers in that range as fast as possible and get lots of results in seconds, it's that based one how we have roughly 8 billion people all communicating events that things we consider "one in a billion" occurrences will be experienced about 8 times a month across the populate, and we'll all pretty much hear about it, which may not match with our expectations of how often we should see a "one in a billion" event reported.
Edit: Here's some relevant info from the paper "Methods for Studying Coincidences"[1]:
The Law of Truly Large Numbers. Succinctly put, the law of truly large numbers states: With a large enough sample, any outrageous thing is likely to happen. The point is that truly rare events, say events that occur only once in a million [as the mathematician Littlewood (1953) re- quired for an event to be surprising] are bound to be plentiful in a population of 250 million people. If a coin- cidence occurs to one person in a million each day, then we expect 250 occurrences a day and close to 100,000 such occurrences a year.
Going from a year to a lifetime and from the population of the United States to that of the world (5 billion at this writing), we can be absolutely sure that we will see incred- ibly remarkable events. When such events occur, they are often noted and recorded. If they happen to us or someone we know, it is hard to escape that spooky feeling.
A Double Lottery Winner. To illustrate the point, we review a front-page story in the New York Times on a "1 in 17 trillion" long shot, speaking of a woman who won the New Jersey lottery twice. The 1 in 17 trillion number is the correct answer to a not-very-relevant question. If you buy one ticket for exactly two New Jersey state lot- teries, this is the chance both would be winners. (The woman actually purchased multiple tickets repeatedly.)
We have already explored one facet of this problem in discussing the birthday problem. The important question is What is the chance that some person, out of all of the millions and millions of people who buy lottery tickets in the United States, hits a lottery twice in a lifetime? We must remember that many people buy multiple tickets on each of many lotteries.
Stephen Samuels and George McCabe of the Depart- ment of Statistics at Purdue University arrived at some relevant calculations. They called the event "practically a sure thing," calculating that it is better than even odds to have a double winner in seven years someplace in the United States. It is better than 1in 30 that there is a double winner in a four-month period-the time between win- nings of the New Jersey woman.
1: https://www.gwern.net/docs/statistics/bias/1989-diaconis.pdf
However, the law of truly large numbers, as you frame it, is something you experience firsthand working in high level severity hospital settings in large metro areas. There's a large enough hospital catchment area that you start to see, on a fairly regular basis, the medical outcomes of all the bizarre and unbelievable things that happen rarely to any given person. It gets to a point it's difficult to know how to explain because the details of each case would be potentially identifying given how strange they are. And yet something happens all the time. Maybe not that one thing, but something of similar impact. It gives you a distorted sense of risk.
The Wikipedia link above says:
> Fred brings home 100 kg of potatoes, which (being purely mathematical potatoes) consist of 99% water. He then leaves them outside overnight so that they consist of 98% water. What is their new weight? The surprising answer is 50 kg.
It annoys me when mass is used interchangeably with force (weight), so I went to the Wikipedia source, and the source is accurate in using units of force throughout.
https://web.archive.org/web/20140202214723/http://www.davidd...
Wonder why the person that wrote the Wikipedia article changed it up when it is supposed to be a direct quote.
Go to any supermarket in a country that uses the metric system, potatoes will be sold by the kilogram - it's the natural way to phrase this outside of America.
In a physics context the definition of kilogram might be specifically mass, with newtons referring to weight/force. But words can have different meanings outside of technical contexts.
If you go to a metric country, and ask someone how much they "weigh", approximately zero people will say "x newtons", they will say "x kilograms" (or "x pounds" still in a lot of commonwealth countries if we're being pedantic).
Both historically and today, a "pound" (Roman libra) is a unit of mass. People use a pound-force as a unit of force only in somewhat specialized contexts.
At some point in the relatively recent past, someone (not sure who) decided that we needed to have 2 separate words for mass vs. force, and we should keep the Latin word for mass and use the Germanic word to mean force.
Now pedantic people are constantly insisting that using the standard English word weight to mean mass is "wrong".
When someone mentioned "weight" just in a qualitative way, as a burden, they might have thought at the force that presses someone down, but whenever they referred to weight in a quantitative way, they referred to the weight as measured with a weighing scale, which gives the ratio between the mass of the weighed object and the mass of a standard weight, independently of the local acceleration of gravity.
Methods that measure the force of gravity and then the mass is computed from the measured force, i.e. with the force measured either mechanically with springs or electrically, have appeared only very recently.
The distinction between force of weight and mass became important only since Newton, who used "quantity of matter" for what was renamed later to the more convenient shorter word "mass".
Perhaps it would have been better to retain the traditional words like weight and its correspondents in all other languages with the meaning of "mass", because this meaning has been used during more than 5 millennia and use a new word, e.g. gravitational force, for the force of weight, because we need to speak about this force much more seldom than about the mass of something.
That’s the same thing I just said. Why add “actually” in front? Yes, weight was historically measured with balance scales.
I guess I should have been clearer that the term “mass” as used in physics only dates from 3 centuries ago (from Newton), and did not historically mean weight in Latin. (Mass comes from Latin via French for lump of dough.)
I still think that the choice of which of the 2 should get a new name was bad, because the traditional quantitative meaning almost always referred to what is now called "mass"(with extremely few exceptions such when somebody would be described as so strong as to be able to lift a certain weight).
And wikipedia seems to agree with me, see pound (mass) vs pound (force).
Anyway, yes, the proper unit of force is the Newton.
Though checking wikipedia again, it actually specifies that torque is measured in as lbf•ft. I take that to mean that 1 ft•lb is the torque of 1/2 oz (1/32 of an lb) at 1 foot. I expect that's a test question almost everyone would get wrong, myself included.
The scales in the supermarket on earth automatically convert the weight into mass for my convenience by applying a constant factor of 1/9,81.
I am hardly far away enough from earth that the constant changed, so I did not need to distinguish between the two measures so far. When carrying the potatoes home I just use the mass of 10 kg as a proxy for the force I need.
And to determine the increased breaking distance of my car, I need to know the mass again.
They likely changed it from lb to kg because that would be more friendly to an international audience, without realizing that lb is a measure of weight and kg is a measure of mass. Therefore they didn't know to change "weight" to "mass".
FWIW, the pound is a proper unit of mass: https://en.m.wikipedia.org/wiki/Pound_(mass) .
I actually get annoyed at people who are pedantic about these things. Precision is important in some conversations, but just elitist in other.
Anyway, the term “weight” to refer to mass outdates its use as a force - its only since Newton that we distinguish the two, after all.
Brake fluid anyone?
The left out overnight is basically an absurd statement that is intended to confuse and not really related to the actual question.
The statement could be “left in a dry environment until” or simply “left to dry a few weeks”
Saying Leaving the potatoes out overnight to imply they halved in mass, sounds as reasonable as “the potatoes were in the ground for 12 hours and then doubled in amount, what percent of water are they now?” It’s so gratuitous and requires ignoring all other laws of physics, while the goal of the spherical cow type simplification is to only ignore a few key challenging ones.
It doesn't really matter, does it? The rate of evaporation is irrelevant to the problem. Mr. Potato could have waited a year, or dried them on the Uyuni salt plains.
Why do you care? Would this distraction affect your ability to solve the problem?
I really like this one. It's a perfect combo of intuitive from one perspective and mind bending from another.
> 18. A one-in-billion event will happen 8 times a month: https://gwern.net/Littlewood
This one, on the other hand, I don't like. Depending on a whole bunch of subjective definitions, a one-in-billion event can happen a million times a second or practically never or whatever else you choose.