Fred Wu

@fredwu
Legendary
CTO by day, freelancing software consultant by night. Founder of Persumi.
@fredwu 14 years ago in Tech | 1 min read | no comments
[] Okay, this is actually an archive post from my other blog Beyond Coding, but I feel like reposting it here for some humour. :) Today I decided to upgrade my Windows 7 build 7000 to the latest build 7057. The system is installed on my Fujitsu P1610 which I use as an e-book reader and ultra-portable. I ran the DVD inside Windows, then I chose to archive the old installation and install the new version from scratch. Here is a screenshot of the archived Windows folder, apparently Microso...
@fredwu 14 years ago in Tech | 1 min read | no comments
In case you don’t already know, both PunyPNG and Smush.it are lossless image compression services. From my experience, PunyPNG produces better results than Smush.it does. The sprite image for this blog yields 160kb when it was created. Smush.it reduced the size by 30%, PunyPNG reduced the size by 50%. [] The PunyPNG API is going to be extremely useful when it is out of beta.
@fredwu 14 years ago in Tech | 1 min read | no comments
When making the new design of this blog, I inevitably come to the dilemma of whether to use traditional CSS sprites (i.e. to use background image positions to locate the images) or to use Data URI sprites (i.e. to use Data URI / MHTML to replace the actual image files). First of all, during the design and development stage, everything was built without any sprites in mind. It is just so much easier to build the template without worrying about background image positions. After the template is fi...
@fredwu 14 years ago in Tech | 1 min read | no comments
After spending the weekend coming up with the design, one night of chopping and slicing and half a night of Tumblr themeing, I have finally done it! [] Thanks to 960.gs and the Variable Grid System, they made making layout so easy! The theme is tested in all major browsers, except IE6. Let me know what you think! :-)
@fredwu 14 years ago in Tech | 1 min read | no comments
[] Dear Photoshop, please don’t, just don’t.
@fredwu 14 years ago in Tech | 1 min read | no comments
[] Don’t you just hate that. Fortunately I have the ‘CMD + S’ syndrome.
@fredwu 14 years ago in Tech | 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 in Tech | 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 in Tech | 1 min read | no comments
[] Dear Vodafone 3G, please fix your network. Kthx.
@fredwu 14 years ago in Tech | 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).