-
-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
two-bucket: metadata: make title singular #2126
Conversation
I'm not a native English speaker, but shouldn't "buckets" be plural because there's two? |
That is why I got it wrong in the first PR. But the slug is All the tracks that have implemented this exercise have used (I suppose the name doesn't have to follow the slug exactly, but I feel like we'd need to actually be conscious about that choice). |
So this title "Two Bucket" doesn't get displayed anywhere where proper grammar is expected? Ok then, I withdraw my objections. |
Should we think about changing the exercise name instead? I don't mind either way. Some previous exercise renamings: |
I'm okay either way. @ErikSchierboom @iHiD What is the current change process if we decide to change the name? I imagine:
|
Wait, I think I misunderstood the suggestion. There are two options, as I see it:
If (1) then I prefer to merge this as is and do the duplication/deprecation as a second step. |
(And option 0 is to revert to the status quo: keep the slug as I was referring to option 1, but option 2 is also worth considering. With option 2, we already have exactly these precedents for an exercise slug diverging from its title by more than capitalization and hyphens:
But "slug": "two-bucket",
"name": "Two Buckets", I think my preference is option 1 if it's easy, otherwise 0, then 2. Or option 0 now, with the option to do 1 eventually if convenient. |
I've dug into this and I think option 1 is easy enough. I would be happy to do the work to move all tracks to using the new exercise. As such, I'd like to merge this PR, then I'll open a new one to deprecate |
Sounds good to me. So we can't just rename the exercise in prob-specs like we did in the past, and we need to add |
@ee7 Yeah, not since we reopened the repository for changes. |
If someone forced me to come up with an argument as to why it should stay two bucket, the argument I'd use is that the https://en.wikipedia.org/wiki/Three-body_problem is called the three-body problem, not the three bodies problem, and therefore in the same vein this problem should be called the two bucket problem instead of the two buckets problem. Fortunately, I am not being forced to argue for two bucket by anyone or anything, so it's just whatever consensus decides here. |
@petertseng Had it been "The Two Bucket Problem" I would agree with you. Without "Problem" or "Solution" tacked on, though, I do think "Two Buckets" sounds more correct. The current description doesn't talk about "The Two Bucket Problem", mentioning "two buckets". Having said all of that... this exercise has existed since 2014 and nobody has ever complained about the title being singular. The only reason this has turned into a discussion is that I was trying to make all titles consistent and accidentally wrote "Two Buckets" when it should have been "Two Bucket". As I said before, I don't really feel strongly either way about this one, I just want the title to be explicitly defined so that we nudge tracks in the direction of consistency. |
My personal vote would be for option 2: having the title be different from the exercise's slug. I don't really mind that, |
To chime in from a website perspective, I'm pretty against deprecating/duplicating the exercise in the track repos, as that will mean everyone who's completed it gets a duplicate exercise in their history, and has to redo the same work on a new exercise, which feels like a bad user experience. So I think from a track-repo perspective the slug should just be updated with the uuid remaining the same. But that sounds like manual work for all the tracks, some of which may be scriptable, but some of which won't be (e.g. for tracks where directory names are with code (e.g. All of which makes me feel the churn factor here isn't worth changing the slug. |
Yeah, agreed. Okay, I'm going to call it:
I'm going to go ahead and decide that we will continue to have the slug and title that we've had since 2014: |
Follow-up from #2122 (comment)