1. Remaining Euphoria exercises on Exercism (for 48in24)
- Posted by axtens_bruce in May
- 577 views
The folk at Exercism have published a Google Sheet listing all the Practice Exercises they intend to cover in their 48in24 programme. The ones with a red X aren't implemented. Seeing as everyone here is bone idle (except Greg) maybe some of you could have a go at implementing a few so that students can solve the task in Euphoria and gain some kudos thereby.
I'd suggest starting at Week 48 with "largest series product" and working back toward the front. The worksheet lists all the other languages that Exercism teaches so if you've got expertise in COBOL or 8th or whatever, here's an opportunity to sharpen your skills. There are considerably more course materials that could be generated (see, for example, Concept Exercises and Approaches).
Each Practice Exercise has a matching Problem Specification and there is ample documentation about how to build Practice Exercises.
Did I give you the impression that this is a one-arm-behind-your-back thing? Wrong impression. This does take time and requires learning a lot of stuff. If you're looking for something to delay the onset of dementia, this is it. And, along with all the documentation there's also a Forum and a presence on Discord.
2. Re: Remaining Euphoria exercises on Exercism (for 48in24)
- Posted by petelomax in May
- 557 views
Aside: as well as cloning exercism/euphoria, I also forked it elsewhere and renamed it as exercism/phix, which seems to royally confuse github desktop...
Note the Phix test_equal() takes parameters in a different order to the Euphoria version.
You may find my Phix efforts here:
https://github.com/petelomax/exercism-phix/tree/main/exercises/practice/circular-buffer
https://github.com/petelomax/exercism-phix/tree/main/exercises/practice/zebra-puzzle
https://github.com/petelomax/exercism-phix/tree/main/exercises/practice/minesweeper
https://github.com/petelomax/exercism-phix/tree/main/exercises/practice/pig-latin
https://github.com/petelomax/exercism-phix/tree/main/exercises/practice/matching-brackets
https://github.com/petelomax/exercism-phix/tree/main/exercises/practice/spiral-matrix
https://github.com/petelomax/exercism-phix/tree/main/exercises/practice/kindergarten-garden
https://github.com/petelomax/exercism-phix/tree/main/exercises/practice/meetup
https://github.com/petelomax/exercism-phix/tree/main/exercises/practice/pascals-triangle
https://github.com/petelomax/exercism-phix/tree/main/exercises/practice/rotational-cipher
https://github.com/petelomax/exercism-phix/tree/main/exercises/practice/phone-number
https://github.com/petelomax/exercism-phix/tree/main/exercises/practice/two-bucket
https://github.com/petelomax/exercism-phix/tree/main/exercises/practice/bank-account (NB: using multi-threading)
https://github.com/petelomax/exercism-phix/tree/main/exercises/practice/food-chain
https://github.com/petelomax/exercism-phix/tree/main/exercises/practice/run-length-encoding
https://github.com/petelomax/exercism-phix/tree/main/exercises/practice/diamond
https://github.com/petelomax/exercism-phix/tree/main/exercises/practice/largest-series-product
which leaves parallel-letter-frequency (on which you can demonstrate multi-tasking, but not multi-threading), knapsack, grade-school
You might also take advantage of the output from the phix test generator, in most of those and the other exercises (currently for 67/97).
That should keep you busy!
PS: some of the Phix entries need 1.0.5 (bugfixes), and I've got at least another 12 worthwhile doing before shipping that, and maybe as many as 43,
and I'm not going to bother asking for a Phix track to be created until 1.0.5 is shipped, and I've done at least some docker tests, but it's fairly soon.
3. Re: Remaining Euphoria exercises on Exercism (for 48in24)
- Posted by axtens_bruce in May
- 499 views
So let me get this straight: you're offering me all this Phix code which I can (obviously with your permission) port to Euphoria? All you require is that the config.json for the exercise has your name on it?
-Bruce
4. Re: Remaining Euphoria exercises on Exercism (for 48in24)
- Posted by petelomax in May
- 498 views
So let me get this straight: you're offering me all this Phix code which I can (obviously with your permission) port to Euphoria? All you require is that the config.json for the exercise has your name on it?
Oh yeah, for sure, all open source, free licence, do whatever you like with it. Not even fussed about getting a credit. Just be gentle with the flames if it goes a bit pear-shaped!
I've also done parallel-letter-frequency, though as that uses multi-threading the actual code may be of little use to you, but the now-processed canonical data should be quite helpful.
5. Re: Remaining Euphoria exercises on Exercism (for 48in24)
- Posted by axtens_bruce in May
- 473 views
but the now-processed canonical data should be quite helpful.
VERY
Thanks.
-Bruce
6. Re: Remaining Euphoria exercises on Exercism (for 48in24)
- Posted by petelomax in June
- 430 views
knapsack and grade-school now done (in Phix) as well.