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 Pig Latin from May 28 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 Pig Latin
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.
I never actually did this exercise so I’ll port to Euphoria. If it goes well, I’ll work on Coffeescript and Emacs Lisp. Most tracks already have Space Age the following week so I’ll probably backfill more tracks that need this exercise.
“The translation is defined using four rules, which look at the pattern of vowels and consonants at the beginning of a word“
Is a complete lack of vowels a valid pattern? Rule three indicates a valid pattern is the lack of consonants at the beginning but consonants can still occur at the end.
As an aside, I noticed a typo in the instructions for rule 2. “ If a word begins with a one or more consonants” should be “If a word begins with one or more consonants”.
there are acronyms like RSVP that are commonly used.
“nth” seems to be a real word. It is even pronounced like it starts with a vowel, so “nthay” would be the appropriate pigification.
Contraindicating that would be something like “pwned” which I assume would be pigified like “wnedpay”, but a rule for that would be very hard to compose.
I’m not really strongly advocating for this new test case, but the discussion is worthwhile.
Someone noticed that the Elixir track had some extra (no-canonical) tests with some that actually break the official rules.
I opened a PR to remove those tests, but that means that all current Elixir solutions pass all the tests but still break the general rules. If we ever want to add some tests, those might be good ones to look at.