I like the concept of building my tools. I respect things I build more than easy purchases. There is a certain sense of pride in completing a project. It serves as a catalyst for making more stuff. This is the most complex project I've taken on to date, and I'm enjoying the success.
There was a lot . . .
Are your step definitions 10+ lines long? Are you relying too much on state to test? Do you get confused when you read your tests back?
I believe that opinionated specifications are the best tests. They focus in on detail and cut through lines of integration that make tests slow and brittle. They restrict degrees of freedom, making . . .
If you're using Ruby and RSpec with RSS you can save a lot of quick checking time by using functional programming.
After loading in the RSS feed, you can use the following transforms on the data:
def descriptions items.map(&:description) end def missing_any?(field_sym) fields = send(field_sym) . . .
I thought it would be a fun experiment to list the tools I work with on (at least) a daily basis at work:
These tools all have one very important thing in common: they are F/OSS. I've recently been doing some . . .
I block ads because they abuse my trust and privacy and generally assault my senses. Hyperbolic? Not really.
If you can slot without offending visitors to your site, do it. Respect trust, respect privacy, and serve clean ads. Here's a few examples of how to do it right:
Sponsorship Forecast.io does it on a weekly . . .
The former is about handling exceptions in Ruby with grace, even preventing them in some case. The latter is about a crazy thing called a combinator, which is a . . .
The task: write a test step that verifies an image is in the correct aspect ratio. On our first pass, we can:
Then /^the image dimensions are (\d+) by (\ . . .