Pages
Categories
Archives
Tags
Algorithm Bash Bell BlackBerry Blogging C# C/C++ China08Earthquake Christmas Concurrency Debian Demonoid DistroWatch DIY Environment Firefox Fun Furniture Gear Gmail Gnome Google Hot-pot Party iPhone Java Joost LFS Linux MagicDraw Math MC2037 Metal-J New Year Picture Python Street Fighter Ubuntu User_Experience Vehicle Video VIM Web Wordpress YouTube ZooomrBookmarks
Elsewhere
Meta
Monthly Archives: April 2008
Swap without Temporary Variable
When we’re programming, if we want to swap values of two integer values, the “normal” way we do it would look like: x = 5 y = 3 temp = x x = y y = temp We need a … Continue reading
A Math Problem and the Answer
Problem: Two prime numbers (>=5) and there are one and only one number between them, such as (5, 7), (11, 13), (17, 19), etc.. Prove the sum of such two prime numbers can always be divided by 6. Answer: All … Continue reading
Solution to Lenovo Y410 Sound Problem On Ubuntu 8.04
Update 2008-11-20: In a comment, Ace pointed out that Ubuntu 8.10 already has this problem fixed. Update 2008-10-6: please don’t use the y410_sound script from this article since I don’t own a Y410 anymore, so I couldn’t test and maintain … Continue reading
How to Play Rmvb Files In Ubuntu 8.04 (Hardy Heron)
If you experienced this topic earlier, you know that it’s tough to solve. Playing Real video format files (e.g. rmvb files) is still a problem in Ubuntu 8.04, but don’t worry, it’s now much easier than before. So, here we … Continue reading
Posted in Linux
28 Comments
Huge Mistake
Everybody is recommending everybody to upgrade to WordPress 2.5.1, and I did, but I made a huge mistake during the process: I deleted the uploads directory! All my blog images were located there and the even worse situation was that … Continue reading