Blog

@fredwu 14 years ago | 1 min read | no comments
[] Dear Photoshop, please don’t, just don’t.
@fredwu 14 years ago | 1 min read | no comments
[] Don’t you just hate that. Fortunately I have the ‘CMD + S’ syndrome.
@fredwu 14 years ago | 1 min read | no comments
Today Opera has released its latest and greatest version of Opera browser 10.5 Beta for Mac. It features speed enhancement as well as a unified Cocoa interface. Just how speedy is it exactly? Let’s test it out against other major browsers. The benchmarks were run on my Macbook Pro (OS X 10.6.2, 2.53GHz CPU, 4GB RAM). I have performed three benchmark tests from Dromaeo - All JavaScript Tests, DOM Core Tests and JavaScript Library Tests. The following browsers are used: - Firefox 3.6 - Minefi...
@fredwu 14 years ago | 1 min read | no comments
So we want to dynamically instantiate an object (i.e. convert a string to a class constant). Instead of doing this: @dynamic_var = "User" eval(@dynamic_var) You can do this: @dynamic_var = "User" @dynamic_var.constantize See more about the constantize method in Rails’s API.
@fredwu 14 years ago | 1 min read | no comments
[] Dear Vodafone 3G, please fix your network. Kthx.
@fredwu 14 years ago | 1 min read | no comments
[] So I received my Dell U2711 today, even though I was told by a sales rep it will be delivered tomorrow. ;-) The thing is, I ordered a Mini DisplayPort to DisplayPort connector and it’s not here yet. So instead of enjoying the native 2560x1440 resolution, I have to put up with 1920x1080 for now. It’s still a nice upgrade from my ViewSonic 20" (1680x1050).
@fredwu 14 years ago | 2 min read | no comments
A few days ago I was conducting some preliminary tests and benchmarks on a couple of NoSQL solutions such as Redis, Cassandra and Riak. As expected, Redis performed really really well, its speed is unmatchable by Cassandra and Riak. However, that’s not the point. One thing I noticed is that quite a few people don’t really get what ’scalability’ actually means. In this case, Redis does not scale (yet), so comparing the raw performance (on a single machine) isn’t entirely useful. Both Cassandra...
@fredwu 14 years ago | 1 min read | no comments
I’m hoping to post more regularly by having this Tumblr blog. :) Ruby puts 'Hello Tumblr!' Python print 'Hello Tumblr!' PHP echo 'Hello Tumblr!'; Falcon >> 'Hello Tumblr!'