I recently added the vcr gem to one of our repositories, and was adding tests for an external API.
One of my tests was passing, and I wanted to commit the VCR cassette, along with the test/code that went with it.
I had thought I’d rebuilt the VCR cassette a few minutes before, but when I did git status, none of the expected files showed up. VCR cassettes record API calls and store them as big .yml files, which should show up in git status:
This did not map to my expectation - I expected to see the VCR cassette.
Two tools to help find the missing cassettes
First, I had to make sure the cassettes actually existed and were being used in my tests. Second, assuming the cassettes existed, I had to find them.
I checked the test_helper.rb, to see where the cassettes were supposed to be stashed:
A few weeks ago, I gave two talks about Ruby and Rails:
An 8-minute “lightning talk” about using .count vs .size in ActiveRecord query methods
A 30-minute talk at the Boulder Ruby Group arguing that developers should embrace working with non-development business functions, and the constraints therein. I illustrated this via a story about finding slow SQL queries, and using .count vs .size in ActiveRecord query methods.
Things that went well
I enjoyed actually giving the talks
I heard positive feedback after-the-fact
I learned a lot from the process, and next time the prep will be much less anxiety-inducing
Things that went poorly
I felt quite anxious in the ten days or so leading up to the talks, thought it was because I was procrastinating.
I felt stressed and shameful about not having the talks prepared.
I did not finalize either talk until few minutes before leaving to give it, and was up late at night the night before each talk, doing the lions share of the preparation, therefore I was sleep deprived.
This post started life as this gist, and existed in that state for a while. I’m pulling it into a slightly more visible location, and updating/modifying it, hopefully to the betterment of all future readers.
This is a collection of resources that come from a range of conversations I’ve had with Turing students. Some of it is specific to getting/working remotely, but most of it is (in my opinion) useful for any sort of role. Finally, I think “advice to others” is a tall order. All I know is things I did, and what seemed to correlate with good results. Correlation is not causation, etc.
Where do remote jobs “live”
I’ve had the most success getting email responses from a few places:
oh, and with the hacker news posts, they’re often hundreds of entries long. I.E. hundreds of potential jobs.