Oh boy... <https://github.com/pantsbuild/pants/iss...
# random
b
w
Interesting use of idempotent. 2-pass idempotency?
🤯 1
Ahhhh, I know what it is
The classic
idempotent++
vs
++idempotent
e
It seems a bit insane the tool doesn't hide this by running itself twice under the covers at least. Maye its only needed for a narrow set of cases and is too slow otherwise?
w
Yeah, you'd figure it runs until convergence? But, I guess it's just a rare enough occurence?
Or alternatively, that it would track multi-step upgrades 🤷
h
"it is idempotent -- it just needs two passes" is quite the sentence
Also, I wonder if there is some kind of pumping lemma that can be applied to create (possibly pathological) code that requires more than two passes
e
Eventually Idempotent - just like taking a bite of cookie
🙃 1
h
Reminds me of having to reason with MongoDB fans about why eventual consistency isn't a thing for a respectable database
"If you do no further transactions then eventually your bank account will show the correct balance"