Monthly Archives: March 2011

BarCamp Boston 6, April 9-10, 2011 Cambridge, MA

Make sure you don’t miss one of the best tech events of the year in the Boston Area: Barcamp Boston 6, April 9-10 in Cambridge, MA. From the site: “BarCamp Boston is Boston’s geek unconference, organized on the fly by … Continue reading

Posted in career, leanstartup, mysql, programming, ruby on rails | Leave a comment

Example code for storing environment-specific configuration variables in rails

Here’s some example code I’ve used for storing configuration variables using Ruby on Rails. This code allows for defaults as well, so you only have to specify variables per environment if they override the default value. This first file should … Continue reading

Posted in code, programming, rails, ruby on rails | Tagged , , | 1 Comment

How to validate an email address using regular expressions

Anyone who writes web applications has likely built forms for users to enter their e-mail address. It’s considered a part of our basic identity now – like our name and address. It’s expected we have them. But then, inevitably, once … Continue reading

Posted in programming, ruby on rails | Tagged , , , | Leave a comment

‘seed’ data versus ‘testing’ data (and custom rake tasks) for Ruby on Rails

I’ve been a part of discussions on how to define ‘seed’ data versus ‘testing’ data on a Ruby on Rails project. Here’s a summary of what I’ve seen work well — please comment if you have anything to add. Data … Continue reading

Posted in agile, programming, rails, ruby on rails | Tagged , , , , | 4 Comments

Best Quora Answer Ever.

I saw this on Quora today and thought it was the best answer ever. The question, as you can see, was “Who is the Mayor of Palo Alto as of March 10, 2011?” The answer, contributed by Mayor Sid Esponisa … Continue reading

Posted in quora | Tagged , , , | 1 Comment

“We don’t get out of bed for less than $10,000 per day.”

“We don’t get out of bed for less than $10,000 per day.” I really loved this blog post. It hits the nail on the head for a lot of reasons. The writing style is good and catchy. The content is … Continue reading

Posted in agile, career, leanstartup, personal_insight | Tagged , , | 1 Comment

Overriding the OmniAuth callback url for twitter or facebook oath processing.

A lot of people are now using OmniAuth for Oath processing to connect applications to twitter, facebook, linkedin or any number of other SAAS applications. It’s easy and it works well. I’m using it for some work I’m doing with … Continue reading

Posted in agile, leanstartup, programming, rails, twitter | Tagged , , , , | 8 Comments