News for hackers. Stuff that matters.
Re:Counterfactuals are not causality by Jtsummers on Monday July 26, 2021 @08:55PM (#27967397)
Those aren't counterfactuals, they're negative statements.

"Why are the lights off?"

"Because I didn't turn them on."

That's not a counterfactual, it's a fact. Just like the admins not configuring file purging is a (presumed) fact in the scenario under discussion in the article. Negative statements are not counterfactuals. Now, they may not be helpful for a 5 Whys analysis, but that's a separate thing.

Counterfactual: If the admins had turned on file purging, then the volume would not have been full.

Why? Because they didn't turn it on so this is a counterfactual in that it is dealing with facts not in existence in the reality under examination and reaching a conclusion of how things would have been different with those different facts. But nearly all the causes in a 5 Whys can be seen as counterfactuals if phrased correctly:

"Builds did not complete." Why? "Kubernetes could not start the pod, and the operation timed out after 1 hour."

As a counterfactual: If Kurbernetes could have started the pod, then the operation would not have timed out after 1 hour and the builds would have completed.

Re:Counterfactuals are not causality by cwp on Monday July 26, 2021 @11:20PM (#27968256)
"I didn't turn them on" is a fact. It's the "because" that's not a fact. The whole point of the article is that you can't get causality from things that didn't happen. There are seven billion other people in the world who also didn't turn on the lights. What makes your inaction special?

In order to get the "because" we have to imagine another state of the world where you DID turn on the lights, and further speculate that this would have been effective to illuminate the room. That's counterfactual, because the fact is that it's dark in here.

Re:Counterfactuals are not causality by cycomanic on Tuesday July 27, 2021 @02:07AM (#27969163)
But the because is not about imagining another state of the world, it's about using logic.

If me turning on the light is a necessary condition for the light being on, then it implies that if I did not turn on the light the light is off. There is no speculation. This is also what distinguishes this one "counterfactual" from all the others.

The article seems to completely ignore that we can readily argue about negative statements. I highly doubt that airplane crash investigators would avoid counterfactuals.

Re:Counterfactuals are not causality by scatters on Tuesday July 27, 2021 @05:40AM (#27970473)
There are no necessary conditions in the physical world. If you hadn't turned on the light, perhaps someone else would have. Or perhaps a bird or a meteorite could have flown through the window and struck the switch in just such a way as to turn it on. Or perhaps a wire could have come loose inside the switch and fallen in just such a way as to close the circuit.
Re:Counterfactuals are not causality by cycomanic on Tuesday July 27, 2021 @06:15AM (#27970699)
Sure there are necessary conditions in the real world. It is a necessary condition for the apple to hang on the tree, for it to fall from the tree onto Newton's head.

By arguing there are no necessary conditions you are essentially saying we can't use mathematics to describe nature and there are no laws of physics.

Re:Counterfactuals are not causality by scatters on Tuesday July 27, 2021 @06:34AM (#27970811)
For the apple to fall on Newton's head? It could have been dropped by a passing swallow (or possibly two, held on a line between the dorsal guiding feathers).

For it to fall from the tree? Well, that's a linguistic trick; for it to fall from the tree it must have been hanging on the tree, so that necessary condition is actually a tautology.

Physics describes a world with statistical regularities, not absolute laws. Even a clockwork Newtonian universe is not time-reversible; it has multiple pasts that can lead to the observed present.

Re:Counterfactuals are not causality by cycomanic on Tuesday July 27, 2021 @08:15AM (#27971506)
It's not a tautology to say for an apple to fall of a tree it has to be on a tree, it's not a tautology for a plane to crash to be flying first or for a car to stop it needs to be in motion first. They are all necessary conditions, in fact this is the definition of a necessary condition.

Something to be a necessary condition has nothing to do with time-reversibility, it simply states a logical relationship

Let me give you another example: To accelerate a body with mass m it is necessary to exert a force onto it. All mathematical descriptions In fact equivalency, requires conditions to be necessary and sufficient.

Your argument that physics describes a world with statistical regularities is a maybe a nice philosophy, however most physicists (and regular people) do not believe we live in a simulation, but physical laws describe the real world.

Re:Counterfactuals are not causality by nytgop77 on Tuesday July 27, 2021 @08:04AM (#27971425)
Regarding Newtonian universe. Is that really true, that multiple pasts can exist? Some source would be very welcome.
Re:Counterfactuals are not causality by scatters on Tuesday July 27, 2021 @05:28PM (#27977893)
Yes; a simple example is Norton's dome. It is possible to construct a frictionless curve such that a particle that is pushed up the curve with correct initial velocity will reach the top and halt in finite time. Observing a particle sitting at the top of the dome, there is no way to tell when it reached that point or from which direction.
Re:Counterfactuals are not causality by svieira on Tuesday July 27, 2021 @09:52AM (#27972444)
It's not that "multiple pasts can exist", it's that "multiple pasts _would be sufficient to explain_ the effect that is being observed now".

E. g. "The apple hit Newton on the head" could be explained by:

1. The apple was hanging on the tree at `t - 1` and the wind shook it loose.

2. The apple was flying through the air because his mother threw it and it collided with his head

3. The apple spontaneously generated due to as-yet-not-understood quantum fluctuations 3 meters above his head.

Re:Counterfactuals are not causality by lyxell on Tuesday July 27, 2021 @08:58AM (#27971846)
I think it is hard to answer this without reducing the real world into something it may not be. What constitutes an event in the real world? Is the universe discrete or continuous? Do we really use mathematics to describe nature, or do we use it to model and approximate some properties of it?
Re:Counterfactuals are not causality by js8 on Tuesday July 27, 2021 @05:31AM (#27970407)
I think the article doesn't say that the counterfactuals are not useful, it explicitly mentions they can be used as recommendations, as in "do not forget to monitor your disk space".

What they say is that counterfactuals stop the search for the root cause. Not monitoring disk space isn't a root cause of the filled disk. The root cause might be "application has suddenly written too many logs". This gives another set of counterfactuals, like "if your application was configured properly, it would write less logs". But it also gives an option of continuing the search for the root cause, which might be, for example, "there is a bug in the application which triggered the log writes".

I think the point of methods like 5 whys is not to stop at the first set of counterfactuals and deepen the search.

Re:Counterfactuals are not causality by cycomanic on Tuesday July 27, 2021 @06:19AM (#27970716)
Let's take a different example, the plane crashed because the landing gear did not retract. This is a counterfactual according to the article, do you really believe it stops us for looking at the root cause for why the landing gear didn't retract? In fact, I don't think we would be able to even investigate the root cause if we hadn't first identified the cause of the landing gear not retracting.
Re:Counterfactuals are not causality by js8 on Tuesday July 27, 2021 @03:46PM (#27976722)
I think your example is not a counterfactual, because in your world, landing gear actually didn't retract. Remember, whether something is counterfactual or not depends on what the facts are.

Had the landing gear been retracted in your hypothetical world, then it would be a counterfactual, but it probably wouldn't arise because it's not something out of ordinary - the landing gear retracting is a usual procedure. I think humans are more prone to make the mistake that is described in the article (stopping to search for the root cause) when they see a counterfactual conditional which premise is, in the factual, a procedural error (for example, "operator failed to monitor the disk space"). We see an error and mistake it for the root cause.

Re:Counterfactuals are not causality by munchbunny on Tuesday July 27, 2021 @05:54AM (#27970565)
If me turning on the light is a necessary condition for the light being on, then it implies that if I did not turn on the light the light is off.

To be pedantic, it’s not quite that either. The logic theorem states if A => B then !B => !A. The => means that A is sufficient for B, because “false => true” evaluates to “true” but “true => false” evaluates to “false”. If it were “necessary”, those statements would evaluate the opposite way.

This means that if me turning on the lights is sufficient for the light being on, then the light being off is sufficient to deduce that I did not turn it on.

Re:Counterfactuals are not causality by cycomanic on Tuesday July 27, 2021 @06:12AM (#27970682)
I don't think you're contradicting my post.

You are simply stating that me turning on the light is not a necessary condition, but a sufficient condition (which is a reasonable argument).

My argument was that if the statement "if the light is on it was turned on by me" is true (i.e. the me turning on is a necessary condition), then if I did not turn on the light the light is off [edited after mistyping before].

I think this works better with other examples, because as you state, we typically think more of the turning on as a sufficient condition.

Re:Counterfactuals are not causality by munchbunny on Tuesday July 27, 2021 @06:28AM (#27970772)
I don't think you're contradicting my post.

Yes, it wasn’t my intent to contradict your overall point, just to correct your logic.

My argument was that if the statement "if the light is on it was turned on by me" is true (i.e. the me turning on is a necessary condition) then it follows that if the light is off, I have not turned it on.

I disagree with you here. The counterfactual, or at least the logic theorem, for the statement [light is on] => [I turned the light on] (me turning it on is necessary for it to be on) is [I did not turn the light on] => [the light is not on]

That’s sound, though it’s not a particularly insightful leap of logic.

If you translate this to the author’s point, they’re basically saying that !A => !B doesn’t tell you that A => B. And that’s correct as far as Boolean logic goes. I am unclear on whether we disagree on that point.

Re:Counterfactuals are not causality by cycomanic on Tuesday July 27, 2021 @09:00AM (#27971874)
Sorry I edited my post just after posting it, because I realised I wrote it the wrong way around (too many nots and light switches ;). You managed to reply just in between.

>I disagree with you here. The counterfactual, or at least the logic theorem, for the statement [light is on] => [I turned the light on] (me turning it on is necessary for it to be on) is [I did not turn the light on] => [the light is not on]

Yes you're correct and that's what I corrected my statement to where you managed your reply in between.

However my original statement was:

>If me turning on the light is a necessary condition for the light being on, then it implies that if I did not turn on the light the light is off.

so A=>B therefore !B=>!A. Where A == "light is on", and B == "me turning light on". I agree that it's not particularly insightful.

My point was regarding the statement "The whole point of the article is that you can't get causality from things that didn't happen" from the OP I replied to. That's just not true, we can make statements about causality for things that didn't happen, because we can deduce them from logical conditions.

>If you translate this to the author’s point, they’re basically saying that !A => !B doesn’t tell you that A => B. And that’s correct as far as Boolean logic goes. I am unclear on whether we disagree on that point.

Although we agree in principle I disagree what you say is the authors point.

From the article: >They [counterfactuals] express wishful thinking about an alternate history where the bad event didn’t happen. Because they represent “events that didn’t occur” they cannot have caused anything.

This is a statement I disagree with. To me that sounds that the author essentially says we can not make statements of the type of !A => B (or !B). To me that is wrong and also not a counterfactual. Counterfactuals, are statements about a hypothetical event, i.e. "If I had not turned the light on it would be off now". To me though the author seems to extend the definition of counterfactuals to mean "events that did not happen", maybe he means the correct thing, but both his words and examples do not reflect the correct meaning IMO

Re:Counterfactuals are not causality by kozd on Tuesday July 27, 2021 @05:37AM (#27970452)
How would you determine that it's a necessary condition and not just a sufficient condition?
Re:Counterfactuals are not causality by drdeca on Monday July 26, 2021 @11:32PM (#27968322)
Are you saying that "If I had turned on the lights, they would be on" wouldn't be a true statement?

It seems like it would be strange to reject as an answer to "why do blind people tend spend less on lighting?" with "Because they don't tend to use the lighting, because the lighting isn't useful to them, so they don't turn the lights on as much (unless someone else who isn't blind is there).".

How else would you answer that question? (modulo little wording changes and such)

Re:Counterfactuals are not causality by GavinMcG on Monday July 26, 2021 @11:44PM (#27968388)
It's tautologically true, in that you used the word "on" in both clauses, and "if on, then on" is always true.

But no, in a meaningful sense it's not a true statement about the world. It's a good guess, and for a statement that simple, there might be no need to go further. For a statement about why a volume is full with too many files, the point is that a nice-sounding "if only" isn't something you can test or be certain of.

Your answer about blind people is a very good guess as well, and the same one I would make, but it's not data.

Re:Counterfactuals are not causality by Jtsummers on Tuesday July 27, 2021 @12:05AM (#27968486)
I actually meant to present that as: Because I didn't flip the switch.

A counterfactual requires posing a situation with changed facts. I stand by my statement, saying "X because not Y" is not a counterfactual on its own. "not Y" is still a (potentially) factual statement. And guesses still aren't counterfactuals. "Maybe the lights aren't on because we didn't flip the switch?" That's a hypothesis, and a testable one. Still not a counterfactual. If we know the flip hasn't been switched, then it's just a fact even if the statement is in the form of not X.

Re:Counterfactuals are not causality by cwp on Tuesday July 27, 2021 @12:35AM (#27968654)
The counterfactual is "if I had flipped the switch, the lights would be on." That is a situation with changed facts, and therefore counterfactual. The tricky bit is the causality. We have to construct an alternate history, with a counterfactual cause and a counterfactual result. And we can't actually know that. Maybe the bulb is burnt out. Maybe there's a power outage just now. Maybe we've blown a fuse. The causality is just conjecture.

Now consider the opposite. The lights are off because the bulb burnt out. That's a lot less ambiguous. If you want to doubt the causality you've got to get all mystical.

Re:Counterfactuals are not causality by coldtea on Monday July 26, 2021 @11:24PM (#27968282)
>Those aren't counterfactuals, they're negative statements.

Wikipedia doesn't seem to agree with you:

"The term "Counterfactual" is defined by the Merriam-Webster Dictionary as contrary to the facts.[2] A counterfactual thought occurs when a person modifies a factual prior event and then assesses the consequences of that change.[3] A person may imagine how an outcome could have turned out differently, if the antecedents that led to that event were different. For example, a person may reflect upon how a car accident could have turned out by imagining how some of the factors could have been different, for example, If only I hadn't been speeding...."

The forms the article mentions are like those "if" statements.

>That's not a counterfactual, it's a fact.

That's because there's a one-way casual relationship there. Not the case with TFA examples.

Re:Counterfactuals are not causality by boxed on Tuesday July 27, 2021 @02:41AM (#27969351)
I read the quoted passage to mean exactly what the previous poster said.
Re:Counterfactuals are not causality by nimithryn on Tuesday July 27, 2021 @02:49AM (#27969391)
In the language of do-calculus, counterfactuals have a very specific meaning. Ferenc gives some great examples here: https://www.inference.vc/causal-inference-3-counterfactuals/

The main idea: Let Y be the set {y, not y} and X be the set {x, not x}. y denotes timing out, and x denotes “Kubernetes not starting the pod”. We have some distribution P(Y=y|X=x) (in this case, the probability of “timing out” (y) given “Kubernetes not starting the pod” x. The counter factual distribution is NOT the same as P(Y= not y | X= not x) (the “probability of not timing out given Kubernetes starting the pod”). The counterfactual is P(Y’=not y| X=x, Y=y, X’=not x), or “the probability of not timing out given that it did originally time out when Kubernetes did not start the pod, and given that this time it did start the pod”.

This aligns roughly with what you are saying above.

Re:Counterfactuals are not causality by nimithryn on Tuesday July 27, 2021 @03:02AM (#27969458)
I will say that while I think this article doesn’t give a good treatment of counterfactuals - the “I can offer infinite counterfactuals so counterfactuals aren’t useful” argument is a kind of intellectual nihilism I don’t really buy - I think at its core this article is really just arguing that we should pose forward facing solutions when we encounter bugs, rather than explanations. That proposition seems fine to me.
Re:Counterfactuals are not causality by np_tedious on Monday July 26, 2021 @10:23PM (#27967929)
I think those counterfactuals can be the most useful explanation, while not being the direct cause.

"why did the disk fill up" would be most directly explained by the most recent write. That's not useful though. It doesn't really matter what the last write was.

Re:Counterfactuals are not causality by bb88 on Monday July 26, 2021 @10:57PM (#27968138)
"The disk filled up because the website was trying to save a configuration backup to disk." -> Stop backing up configurations.
Re:Counterfactuals are not causality by guerrilla on Tuesday July 27, 2021 @01:57AM (#27969092)
I agree with you. This author not only doesn't know the basics but is making an absolute fool of themselves by being ignorant of the robust and very popular (within analytic philosophy) research on counterfatual theories of causation. [1]

1. https://plato.stanford.edu/entries/causation-counterfactual/

Re:Counterfactuals are not causality by terrib1e on Tuesday July 27, 2021 @07:51AM (#27971323)
Regardless of the semantics, I love how this post has lead to a philosophy 101 debate.