Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upRemove delta? #1772
Comments
brian-brazil
added this to the v1.0.0 milestone
Jun 29, 2016
This comment has been minimized.
This comment has been minimized.
|
It's used exactly once in all the rules at SoundCloud. ;) |
This comment has been minimized.
This comment has been minimized.
|
I'm for keeping it. We have a complete, easy to understand matrix of variants:
|
This comment has been minimized.
This comment has been minimized.
|
What @matthiasr said. Actually, that matrix should probably just be in the docs. |
This comment has been minimized.
This comment has been minimized.
|
Derive doesn't fit in that matrix, as it's using least squares rather than subtraction.
May I ask what for? |
This comment has been minimized.
This comment has been minimized.
|
The one SC usage is essentially about a gauge describing a queue length. You want to know if the queue has grown or shrunk over the last 5m. A very similar effect could be created with the |
This comment has been minimized.
This comment has been minimized.
Every time I've seen that use case previously |
This comment has been minimized.
This comment has been minimized.
|
Yes, it's an alert, and the user is probably interested in brief outliers... That's why I think deriv is undesired. However, one could argue a |
This comment has been minimized.
This comment has been minimized.
|
When I've seen this sort of thing the sign of the delta/deriv was all that was of interest, so I guess I'm thinking of a different use case. |
This comment has been minimized.
This comment has been minimized.
|
The alert fires on the sign, but then the human receiving it is interested in the amount, too. However, the sign of I can totally believe that people use If we had no |
This comment has been minimized.
This comment has been minimized.
The question I'd ask is whether it causes more harm than good. This is practically speaking our last chance to consider whether this function should stick around, so I think we should have a stronger argument than inertia. I've always found the extrapolation particularly weird too. We could always re-add it again later. |
This comment has been minimized.
This comment has been minimized.
|
I'd like to do an RC within this week. Any agreement becoming clearer here? |
This comment has been minimized.
This comment has been minimized.
|
My point about inertia was actually the other way round: If we did not have Anyway, I vote for keeping it, but by a narrow margin. (If any of you feels strongly in favor of removing it and nobody feels strongly in favor of keeping it, I'm happy to remove.) |
This comment has been minimized.
This comment has been minimized.
|
I'm for removing it, but not extremely strongly. It has always seemed like a bit of a wart. |
This comment has been minimized.
This comment has been minimized.
|
I am somewhat in favour of keeping it, but not very strongly. I guess since
it's more or less replaceable with `-` and `offset` it can go, but OTOH I'm
not sure it's worth a breaking change (even pre-1.0) to remove it.
|
This comment has been minimized.
This comment has been minimized.
|
I value everything that makes us more lightweight. Having two solutions to one problem is not great either. Given that we can always add it back later, removing it seems not like a reasonable decision to me. Especially as @beorn7 suggested he might not add it again today. |
This comment has been minimized.
This comment has been minimized.
We don't have two solution for one problem. The solutions we have each solve different problems. The differences are subtle at time but could have very noticeable effects.
One "not" too many?
As for any new feature, I would ask for a thorough analysis of use cases. Since we have the feature already, we cannot know how many are already using it legitimately. That's a rather different situation. Removing a feature and see who screams is not the way I would like to treat my users. I see a few legitimate use cases, I'm just not sure how relevant they are. If that's helpful for the decision, we can open a discussion about them. Currently, we seem to have quite a stalemate, so perhaps that's necessary. Although @fabxc 's vote was given based on the assumption that we have multiple ways of solving the same problem, which is not strictly true. |
This comment has been minimized.
This comment has been minimized.
|
Okay, I don't feel too strongly. Can you and Brian please agree and either remove it or close the issue so it's removed from the milestone very soon? |
This comment has been minimized.
This comment has been minimized.
|
We chatted a bit about it at the conference. The more I think about it, the stronger I lean towards keeping it. Brian is more like "let's remove it, and if somebody comes up with a legitimate use-case that is broken now, let's just quickly add it back". I understand the concerns about the potential for confusion, but I believe having the functionality is worth it. I accept that we weigh those aspects differently. Not sure how to resolve. I would really like to keep it. |
This comment has been minimized.
This comment has been minimized.
|
I'm not a fan of having multiple subtly different ways of doing things, as that leads to confusion and support overhead in the long run. I've yet to see any use case that's not largely (and arguably better) covered by the offset or deriv approaches so I still think it should be removed. |
This comment has been minimized.
This comment has been minimized.
|
This is the use case: I am monitoring a work queue via a gauge telling me the length of the queue. I want to know the progress I have made working through my backlog over the last hour.
|
This comment has been minimized.
This comment has been minimized.
Hmm. I'd argue that a brief dip in backlog isn't necessarily indicative, and having to wait a few minutes for the trend to be confirmed is okay. I'm not convinced that the difference between
I'm not sure this is a problem in practice. A backlog in a brand new queue seems like a niche use case, as queues tend not to be created too often. There's a more general question here of how the various range vector functions should behave in the face of incomplete data (beyond the |
This comment has been minimized.
This comment has been minimized.
|
To flesh the use-case out a bit:
Brian and I discussed a bit longer in person, but it looks we weigh the different pros and cons differently, so that we continue to come to opposing conclusions. At least we also agreed that there are bigger battles to fight elsewhere, and we shouldn't spend too much time. Anybody up for serving as a convincing tie breaker? |
This comment has been minimized.
This comment has been minimized.
|
Okay, this is blocking us for 1.0 so I'm making the call here and close. |
fabxc
closed this
Jul 14, 2016
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
brian-brazil commentedJun 29, 2016
As we come up to 1.0, I'm wondering if we should remove
delta.I don't think I've ever seen a use case for it, and it's acting as an attractive nuisance. Every time someone asks about it on IRC we advise them to use something else (usually
derivorincrease).What do others think of removing it?