RailsConf 2008 Day 1

Actual conference started today with very interesting and entertaining keynote by Joel Spolsky of Fog Creek Software. Today’s sessions were filled with deploying and business related topics and they weren’t awfully technical. I was hoping for more details, but that was not to be. Here’s a list of things I learned today.

1. Ferret sucks, so use Spinx.
2. Having more than 3 Mongrel running per CPU doesn’t do anything.
3. Image Science causes problems in production environment.
4. Explicit returns in Ruby function is much slower than just letting it fall through.

Today ended with the keynote by DHH. As always, I found his keynote to be entertaining, but somewhat disappointed that there’s no new Rails related news.

I hope tomorrow is better - it looks much better on paper…

I’m So Stupid

I forgot to pack my medications (I suffer from heart conditions), and even worse, forgot to pack my extra battery! Considering the fact that my laptop battery lasts less than 2 hours, I’m kinda screwed.

Off To RailsConf

I’m leaving very early tomorrow to Portland for RailsConf. It’s really odd not being a speaker at a conference and I intend to enjoy it, rather than working.

I plan on posting things I learn or anything interesting on this blog, so stay tuned.

Off Topic: This is Too Funny

I saw this video on YouTube. It was incredible how someone with a Mac made this music video. Then, someone else made a parody of it using WindowsXP. I almost died laughing. Take a look.

Advanced Rails Recipes - Video Intro

Mike Clark has created an introductory video on his latest book, Advanced Rails Recipes. You can download the video here. I know it’s to promote his book, but I enjoyed it.

Oh, by the way, if you didn’t get this book yet, get it now. It’s a must for any Rails developer.

Timeout::Error

It really sucks that sometimes webservice request just hangs. What’s worse, some methods for some strange reasons returns Timeout::Error. My way of handling such problem is force a timeout. This can be done simply by wrapping the offending method or block within Timeout::timeout method. Here’s an example of what I mean:

require 'timeout'
...
begin
Timeout::timeout(2) do
# request to web for certain value
end
rescue
# put your rescue code here...
end
...

By passing 2, I’m telling the method to wait 2 seconds before raising timeout exception.

Merb 0.9.3 Released

Ezra just released Merb 0.9.3. He has the details listed here.

I really like Merb. I believe it accommodates Flex/AIR and other front-end apps better since it’s lot leaner than the Rails. Oh, another thing, frameworks are not religions! They’re all toolsets. Just use the one that’s best for your needs. I strongly urge everyone to check out Merb.

Next Page »