Archive for December, 2007
December 14, 2007 at 10:42 am · Filed under General
I make mistakes every now and then. For example, I saw that movie Rize
recently. Good movie. I was talking to a few people about it and I mentioned that
I thought it was pretty cool for Dave Chapelle to
back this movie. At that point, I found out that I made the same mistake that many others have made. The movie
was by another very different chappelle, Dave LaChapelle.
Why do I mention this?
Recently, I heard that COPA was overturned in the courts. Unfortunately, like many others, I thought
that COPPA was one and the same. Both are similar. They both are related to protecting children. My experience is with COPPA. It is the one that requires a birthdate on the registration screen. I watched several companies scramble to be compliant
with the law. It stressed both companies and the effectiveness of the law remains questionable. I thought it was overturned, but it was just another simple mistake due to a low
Levenshtein Distance between two words.
p.s. there is a very interesting review of Rize as comment 1.
December 11, 2007 at 6:27 pm · Filed under General
Winter is here, and with it, I got my first cold of the season. The last time I had an issue was a sore-throat going
around about 3 months ago. Before that, it was October 2006.
Between the hallucinations and the sinus headaches, it seems hard that I would forget what this feels like.
Yet, when I’m not sick, I go about my business without a single thought of what it feels like to be sick. I
just forget over time.
It is only when I’m sick that I go back and think about the times when others have told me they are sick.
At this one point, I always have that empathy… something like “wow, that must have been bad.”
Health problems are no fun. May your downtime be short.
December 7, 2007 at 4:56 pm · Filed under General
When using a few different Unix environments for development, the location of the socket
for MySQL tends to vary quite a bit. Having to keep your database config different from the tree
is a pain.
Luckily, there is a neat, but not widely known fix for this issue. It turns out that the YAML files
used for Rails configuration are actually passed through the ERB. Now I can use
this and it works without modification:
development:
adapter: mysql
database: development
username: root
password:
host: localhost
socket: <%=
['/opt/local/var/run/mysql5/mysqld.sock', # darwinports
'/opt/local/var/run/mysqld/mysqld.sock', # darwinports, again
'/var/run/mysqld/mysqld.sock', # ubuntu/debian
'/tmp/mysql.sock'].select { |f| File.exist? f }.first %>
yes, I know this isn’t mindblowing, but seriously… in the real world of development… isn’t it nice to get
rid of the nits that pile up and frustrate everyone.
December 4, 2007 at 11:46 am · Filed under General
Hey we just released a new version of our web site. Check it out!
http://www.brightroll.com/