October 2010
1 post
Thoughts on Redis
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...
August 2010
1 post
July 2010
1 post
Making Ruby 1.9 + Rails 2.3 to play nice with...
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,...
April 2010
0 posts
1 tag
How to use the Twitter Streaming API from web apps
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...
September 2009
1 post
1 tag
Now back to Tumblr...
Okay, I’m going to take a stab at using Tumblr as my blog.
Theme: “Easy Reader 2” by cubicle17
Customize -> Advanced -> Add custom CSS:
.pastie .allcode { overflow: auto; }
.gist-highlight { font-size: 0.9em }
.text-body p { margin-bottom: 0.5em }
.text-body > code,
.text-body > pre { border: 1px solid #ccc }
.text-body > pre { padding: 0 0.5em; overflow:...
April 2009
1 post
March 2009
1 post
February 2009
4 posts
January 2009
6 posts
December 2008
1 post
November 2008
5 posts
October 2008
8 posts
September 2008
1 post
August 2008
23 posts