Have you tried an exercise in the last week or two? What was your experience like?
I hadnāt looked at the exercises for several months, and had no idea how integrated the submission and code-review process was now. I got the sense that, before, not many people were actually reviewing other submissions. Today, though, I did a couple of exercises, reviewed other submissions, and read through all of the comments that you, Joe, and other subscribers had put on othersā. There are some good discussions.
The exercises are great on their own, but adding the aspect of having a single place to view the diffs of other solutions with inline comments makes for a great learning experience. And the repository of ideas will only grow as time goes on. Iāll be working through all of the existing exercises soon, and hope that you guys will continue to come up with new ones.
My only tiny complaint is that it doesnāt seem like comments are editable. I realize that isnāt feature #1, but would be nice for when I submit before meaning to (which happens more often than Iād like to admit)
tl;dr - The new exercise interface is awesome. If anyone hasnāt tried it, you should.
Last week I did the Rspec and Capybara: Forms exercise. I was pretty surprised with the instant feedback. I had a problem with pushing my solution and I got immediate feedback through the help function on the page.
The interface, as wpgreenway mentioned, is awesome.
My only confusion is about the documentation for these exercises. For instance, the second exercise I started is Rspec Capybara: scoping. Iām not familiar with this Capybara feature, so where should I look up documentation to solve this exercise. Should I look into Thoughtbot Learn (maybe a āweekly iterationā), or should I just look up the Capybara documentation? Maybe it would be a good idea to have a reference to documentation with every exercise.
greetings,
Anthony
So far I am liking the exercise tools and the feedback is great. I can see a couple of UI changes being very helpful though.
-
It would be nice to be able to toggle closed feedback. Some times when looking at others code and trying to figure out how they implemented something this feedback is just noise. I would like to view it once I understand at a high level how the code is working.
-
Having the ability to sort what you are viewing by folder would also be nice. The ability to minimize certain files or folders would be vary helpful.
-
Maybe a way to toggle feedback by the person would be nice. Perhaps add all the commentorās icons to the screen and be able to view them in groups.
Thanks
Thanks for the helpful feedback!
@benorenstein, exersizes are cool! But I canāt manage to find the row in peer solutions for sudoku-validator titled as benorenstein's solution
Iām not sure what you mean.
I mean, for me it is interesting to see what would be the solution for the same exercise by full time thoughtbotter with the years of TDD in background.
But thatās just a thinking out loud. Peer reviews is already a killer feature and Iām definitely going to solve all the exercises.
Iāve just run into an issue with comments sidebar on solution page. It looks like this: Dropbox - comments_sidebar.PNG - Simplify your life
I checked some other exercises - same there. So itās not specific to Rspec/Capybara part 1
Thanks for reporting that! Weāll get it fixed.
I really like the new format for exercises. I tried one or two when they where still on GitHub. I much prefer the current approach because it feels more intentional and easier to reason about.
I would love to see a status of in progress / completed exercises on the main page so that I can quickly determine which ones I have already worked on.
Have you thought of adding multiple steps to an exercise making each one more of a journey to learn about a certain topic? For instance there are two exercise on Rspec and Capybara. I could see those combining into a single exercise and as new steps are added we would have a path for increasing our skills on a particular topic. Just a thought.
Thanks for all the hard work!
Definitely going to do this.
Also definitely doing this!
today I tried to do two exercises: āRspec and Capybara Scopingā and āTell donāt askā. I pushed my solution to the remote repository and the the button āpreview your solutionā got active. However when I pushed it, I got an error message āWeāre sorry but something went wrongā
Bummer! Sorry itās not working for you.
We just changed some code that made have caused this problem.
Iāll make sure we take a look early next week.
Hereās the exception on our side:
Git::DiffParser::ParseError: Couldn't parse line: "Binary files /dev/null and b/spec/features/.scoping_spec.rb.swp differ\n"
Thatās a problem on our end. We should be able to handle that case.
However, if you find that line in your submission and remove it, I think it will work.
Thanks Ben, removing .scoping_spec.rb.swp from my repository solved the problem.
I had a global solution for keeping .swp files out of my Git repositories, but switching from RVM to Rbenv made the .swp files creep back into my repositories.
Is there a global solution for keeping .swp files out of my Git repositories?
greetings,
Anthony
Try using a global gitignore file Ignoring files - GitHub Docs
Hi Brian,
Thanks for the great tip!
greetings,
Anthony
There are a lot of examples of what to put in a global gitignore file online. This is what I use.
added ātagsā to my ~/.gitignore_global file, thanks.
Think Iāll also add āpublic/uploads/tmpā to my local .gitignore file, cause lately Iām getting lotās of āpublic/uploads/tmp/*ā file in my repository.
greetings,
Anthony