Terrific quote by Joshua Ballanco on an otherwise silly hacker news thread:
…people don’t remember that a feature was missing once you implement it, but they remember broken features long after you’ve fixed them.
Terrific quote by Joshua Ballanco on an otherwise silly hacker news thread:
…people don’t remember that a feature was missing once you implement it, but they remember broken features long after you’ve fixed them.
One of my biggest personal failures is my inability to convince those around me to stop sticking with jobs/careers/industries/etc they hate.
If it doesn’t feel right, don’t settle on the first or second career field you dabble in. Keep searching. Eventually you will find work you love to do. If you catch yourself working hard and loving every minute of it, don’t stop. You’re on to something big. Because hard work isn’t hard when you concentrate on your passions.
It doesn’t matter what you have already invested. You will never get that back. Look forward and find something you love to do (and yes, it is possible for everyone).
Mike Perham details why you should never rescue Exception directly.
A must read for every ruby developer.
Also, as mentioned in the comments, Avdi Grimm’s Exceptional Ruby is also highly recommended.
Osfoora is a new’ish Twitter client for the Mac.
Overall, it is a very polished app that works extremely well. It has all the features you would expect in a great Mac Twitter client:
However, there are some things which drive me nuts and I hope get fixed/updated/implemented:
Despite the list above, I still highly recommend it. $5 is a small price to pay for something as nicely put together as Osfoora.
And of course, don’t forget you can find me way too often on Twitter at @scottw.

NEVER, EVER, EVER, NEVER SEND A CUSTOMER AN EMAIL SHE CANNOT REPLY TO.
Why miss the opportunity to engage with your (would be) customer? Why make them jump through even a single hoop to contact you?
I wrote about this a while ago on the KickoffLabs blog as well: Email Is Never Just a Notification.
Unwind has a single goal. Take a url and figure out what it actually points to.
It is able to walk various redirect status codes, handles relative and absolute locations, and a couple of other gotchas.
Once completed you have the destination url and a list of the hops along the way.
1 2 3 4 | |
Hat Tip: This gem started with code from John Nunemaker’s Following Redirects with Net/HTTP which provided the basic code to get this done.
Why is this important? It means no more committing the public directory into git.
Even with just 200 or so posts, my git history felt like it was exploding every time I wrote a new post.
I went ahead and nuked my old blog repo and recommitted this cleaner (and leaner) version if you need a starting place.
Jason’s steps were great, but I did run into two snags:
I have been meaning to implement this on my own for a while.
I did make one minor adjustment David’s example. Instead of inlining the glyph, I am adding it via CSS:
1 2 3 | |
For KickoffLabs, we rolled our own authentication. This worked really well, but doing it (even if we packaged it up) for future projects is less than appealing.
I have used/tried Devise, Clearance, and AuthLogic but none of them seemed to fit.
Enter Sorcery. Sorcery is a relatively new player in the rails authentication arms race.
If you google for Heroku SSL you will find a surprisingly long list of blog posts usually with many steps.
However, it is actually much easier than what most of them list, especially if you are using DNSimple (note: affiliate link).
Here is how to setup a Hostname Based certificate on Heroku: