Like many people already doing so, I’ve been digging into Redis and other NoSQL products. Unlike all those anti-SQL fanboys, I have 15+ years of experience in RDBMS, and I know the relational algebra has a lot more mathematical implications in practice than the CAP theorem, not to mention the maturity of implementations, so I proceeded with caution. I first looked at Cassandra and MongoDB ,…
It’s kinda surprising that, Rails 2.3 on Ruby 1.9, which is arguably the most commonly used setup for Rails apps, just doesn’t work out of the box when it comes to encoding. Even if all you want is UTF-8. Even with Rails 2.3.8. It first seems fine in early phase of development, but later you start to get hit by seemingly random errors in ERB or Haml, or even crashes on production, like…
It is believed that using Twitter Streaming API from web apps is hard. Fortunately, that’s not true any longer - it is 2010, right? The key is the innovation which has taken place behind the scenes - Async I/O library like EventMachine has evolved as a decent choice for a real-world production app. EventMachine, sounds a tad scary? Maybe. But many of you Rails developers could be already…