Thank you for the reply and info. I’ll have to read up on the approaches thing, but sure, in principle I’m game.
Yup, approaches are generally more helpful in my experience. All students completing an exercise have access to approaches. Students who request mentoring (a small sliver of the overall population) also need a mentor who uses the mentoring notes to benefit. Regular mentors may have their own notes for the exercise as well.
When I was newer to mentoring or mentoring an exercise the first few times, I would read the mentoring notes. I haven’t looked at them in ages, though.
While the purpose and audience is slightly different, it might make sense at some point (or not?) to replace mentoring notes entirely with the other exercise Approaches/Articles docs.
Yeah, Julia has a few mentoring notes in particular I recall that could easily be spun out as approaches. I’ll ping the maintainers after Thanksgiving and see if they’re interested. The original contributors should be in the Git history hopefully so they can get credited.
We’ll look into it. There has been some discussion about this sort of thing, but maybe we need to move it up the priorities (cc @depial).
The original authors are no longer active on Exercism, but we’ll take care of credit.
@petrem – I got sidetracked by a nasty CSS grid problem on a project I’m working on, so your PR hasn’t been reviewed yet. My apologies! I will get to it as soon as I beat this issue I’m having into submission.
Thank you very much for opening a PR! ![]()
After looking into this in more detail, it turns out that we’re in better shape than we realized. Most of these already have Approaches on the Julia track. Of the 4 that don’t, one is just a near-empty stub file, and we’re thinking about how to edit the remaining 3 to make them more student-friendly.
That was off-topic for this thread, but to bring it back to Python: There are at least 4 different exercises that Bethany and I wrote approaches for in Python, now probably worth reworking for Julia. Things like matching-brackets and all-your-base have enough algorithmic complexity to transfer between languages, regardless of syntax details.
And even more on-topic: I was shocked to see how many typos survived into the final, merged Python approaches. That might be worth a cleanup PR, sometime when I’m more awake and @BethanyG is less stressed!
I was just vaguely aware of approaches and articles until now.
I’d look into adding some contributions to approaches, and weeding out typos could be a good start for me.
My English, while not native, is relatively OK, but this would be a spell checker job anyway (see, I can rhyme!).
I continue to insist that typos are alive, and they breed and multiply in the dark when we’re not looking.
Reviewed, approved, and merged!
Thank you for submitting this @petrem.
Gotta go back and review my solution now. I think I did an attr creation in my __init__, so I am doing work every time an object is instantiated. oops.
![]()
Would welcome typo patrols from you and @colinleach - should either of you care to take that on! My spelling is terrible, and I am (purportedly) a native speaker. One wonders. ![]()
What I meant was NOT that someone with good English doesn’t do typos. I meant that I should be able to spot many such typos and make sense of the phrasing, and so on, so that it wouldn’t be inappropriate for me to take that on.
Book publishers have (or had) people just hunting for typos (ok, and grammar issues), so they are correcting after the most proficient language users out there… I wont be ashamad for my typoing sir!
Sorry @colinleach, while I agree typos can and do breed in the dark, someone has to have created the first two (per realm of existence), to start with. They aren’t lice, after all.
I … don’t know if that tracks. Abiogenesis feels like it applies to some of my writing. There are many things that I swear I spell-checked that end up with typos anyway. I’m so good at them that I often flummox the checker and it can’t come up with a suggestion! ![]()
But perhaps they migrate to find partners, or are a contaminate from my fingertips… ![]()
I did once have a teacher ask in wonder if I was “trying” to prove a point with my spelling test scores - they just couldn’t figure out why someone with my level of comprehension could be so stupid with the words.
Ok, I will stop now. ![]()
Hi @BethanyG ,
I finally finished a project and will have some free time.
For me it would be helpful to read through the approaches on the Python track and do a typos patrol, along with other minor checks and fixes, should there be anything that stands out.
Please let me know if that’s OK with you, and whether I should do separate a pull request per exercise or one PR to rule them all (or some other way).
If there’s any simple housekeeping that needs doing and makes sense to be done at the same time, please let me know.
@colinleach please let me know if you’d like to do some of them, or perhaps double-check after I’m done?
Hi @petrem!
I’d be delighted if you wanted to do an approaches audit. ![]()
The easiest for me would be 1 PR per exercise, especially if you’re going to review syntax and grammar as well as typos (doing just typos is just fine - so don’t feel obligated!). Easier to have a discussion in GH, and easier to “check off the list”, once we’ve reviewed ![]()
I think it can feel a little overwhelming at first. Each completed set of approaches is in the .approaches folder under each exercise. So, for example, the approaches for wordy are under https://github.com/exercism/python/tree/main/exercises/practice/wordy/.approaches
Each .approaches should have a config.json and a introduction.md (which outline all the available approaches for an exercise). Then there will be 2 or more subfolders that include the approach in detail, along with a code snippet. Be careful of the snippets: they are sharply limited in length, so aren’t necessarily complete nor “Python formatted” with extra whitespace (since that counts as a line). For more info on approaches, see the approaches section in the Building Exercism docs.
See the table below for which exercises have completed approaches and which are “in progress” (which have an unmerged PR). Hopefully, I didn’t miss any.
Exercises With Approaches
| Completed? | Exercise Name |
|---|---|
| Acronym | |
| Affine Cipher | |
| IN PROGRESS (PR 3652) | All Your Base |
| Allergies | |
| Alphametics | |
| Anagram | |
| Armstrong Numbers | |
| Atbash Cipher | |
| Bank Account | |
| Binary Search Tree | |
| Binary Search | |
| Bob | |
| Book Store | |
| Bottle Song | |
| Bowling | |
| Change | |
| Circular Buffer | |
| Clock | |
| Collatz Conjecture | |
| Complex Numbers | |
| Connect | |
| Crypto Square | |
| Darts | |
| Diamond | |
| Difference Of Squares | |
| Diffie Hellman | |
| IN PROGRESS (PR #3666) | Dnd Character |
| Dominoes | |
| Dot Dsl | |
| IN PROGRESS (PR 3378) | Etl |
| Flatten Array | |
| Food Chain | |
| Forth | |
| IN PROGRESS (PR 3772) | Gigasecond |
| Go Counting | |
| Grade School | |
| Grains | |
| Grep | |
| Hamming | |
| Hangman | |
| High Scores | |
| House | |
| Isbn Verifier | |
| Isogram | |
| Kindergarten Garden | |
| Knapsack | |
| Largest Series Product | |
| Leap | |
| Ledger | |
| Linked List | |
| List Ops | |
| Luhn | |
| Markdown | |
| Matching Brackets | |
| Matrix | |
| Meetup | |
| IN PROGRESS (PR 3935) | Flower Field (Minesweeper) |
| Nth Prime | |
| Ocr Numbers | |
| Paasio | |
| Palindrome Products | |
| Pangram | |
| Perfect Numbers | |
| Phone Number | |
| Pig Latin | |
| Poker | |
| Pov | |
| Prime Factors | |
| Protein Translation | |
| Proverb | |
| Pythagorean Triplet | |
| Queen Attack | |
| Rail Fence Cipher | |
| Raindrops | |
| Rational Numbers | |
| React | |
| Rectangles | |
| Resistor Color Trio | |
| Resistor Color Duo | |
| Resistor Color | |
| Rest Api | |
| Reverse String | |
| Rna Transcription | |
| Robot Name | |
| Robot Simulator | |
| Roman Numerals | |
| Rotational Cipher | |
| Run Length Encoding | |
| Saddle Points | |
| Satellite | |
| Say | |
| Scale Generator | |
| Scrabble Score | |
| Secret Handshake | |
| Series | |
| Sgf Parsing | |
| Sieve | |
| Simple Cipher | |
| Simple Linked List | |
| Space Age | |
| Spiral Matrix | |
| Sublist | |
| IN PROGRESS (PR 3375) | Sum Of Multiples |
| Tournament | |
| Transpose | |
| Tree Building | |
| Triangle | |
| Twelve Days | |
| Two Bucket | |
| Two Fer | |
| Variable Length Quantity | |
| IN PROGRESS (PR 3371) | Word Count |
| Word Search | |
| Wordy | |
| Yacht | |
| Zebra Puzzle | |
| Zipper |
Given all the other things I have been totally failing to do recently, it would be dishonest to pretend that I can make much of a useful contribution to this, any time soon. Sorry!
Like @BethanyG, I would be delighted for you to get started on this. Good luck!
Thank you for the details.
Here’s a first attempt: robot-name approach: fix typos, minor rephasing/improvements by petrem · Pull Request #4051 · exercism/python · GitHub
Please let me know if this is along the lines you had in mind, if I went too far with the changes, etc.
I wouldn’t want to take up too much of your time, so don’t be too gentle ![]()
oooh. THANK YOU!! Left some comments and suggestions. ![]()
rna-transcription is next: rna-transcription approach: a few improvements by petrem · Pull Request #4052 · exercism/python · GitHub
Please review it when you have a bit of time, thank you.