This issue is a discussion for contributors to collaborate in getting ready to be featured in 48in24. Please refer to this forum topic for more info.
We will be featuring Allergies from Mar 19 onwards.
Staff jobs
These are things for Erik/Jeremy to do:
☐ Check/update exercise in Problem Specifications
Create + schedule video
Community jobs
For each track:
Implement Allergies
Add approaches (and an approaches introduction!) for each idiomatic or interesting/educational approach.
Add video walkthroughs (record yourself solving and digging deeper into the exercise).
Highlight up to 16 different featured exercises (coming soon)
Existing Approaches
You can use these as the basis for approaches on your own tracks. Feel free to copy/paste/reuse/rewrite/etc as you see fit! Maybe ask ChatGPT to translate to your programming language.
My solution has borrowed from this. The enums are given the appropriate values using a lazy infinite sequence. An ACCEPTS method has been mixed in with the enum and can be called on any of the enum values to check the score matches. The smartmatch operator is a shortcut to ACCEPTS.
However, I don’t think that a draft PR would be of any help here. The PR is always automatically closed, effectively blocking any further actions. I can’t mark it as a draft, and if I push a new commit, it won’t show up. Even if I mark it as a draft, someone might get the wrong idea and not open it because they won’t see any updates.
Also, I’m not sure if there’s still an issue with not being able to open a PR if someone pushes a new commit while it is closed.
In any case, I’m not pushing anything until it’s reopened.
If you push a new commit I think it does show up. The branch still updates when you push to it. I might be wrong, but I’m pretty sure that’s the case because we often have issues reopening if people have force-pushed.
There was a very recent case where someone pushed an extra commit to their PR, and it didn’t show up until it was reopened. The same thing happened to me with a previous commit, and in my case, I believe I had force-pushed. This ended up being a mistake because it created a mismatch between the hash shown on the PR and the commit on my fork. I had to do some weird tricks before Bobbi was able to reopen it.
If the PR wasn’t closed, it wouldn’t be an issue. But with closed PRs, I’m not taking any chances. I’d rather just leave a comment