(Update: in retrospect, I have realized that this article is perhaps not so well written. Expect something more useful and coherent soon!)
Linux seems like the perfect solution for the new brand of portable PCs, netbooks. It’s efficient, requires few resources, and can run most if not all of the programs one usually runs on such small computers - word processing, email, web browsing, and so on. Large, complex software packages that require Windows to run perform abysmally on low-power computers like netbooks, so effectively the need to run Windows is nullified.
Why, then, do consumers (and reviewers!) choose Windows over Linux for netbooks?
Read more…
Filed under:
Reviewsfyhuang @ December 29, 2008 6:24 pm

It doesn’t work.
Okay, that’s a little bit unfair; it’s probably more accurate to say that it doesn’t work as expected. The Tuniq Sanctum hard drive enclosure is a 5.25” bay device that holds a 3.5” (or smaller, I suppose) hard drive, and purportedly not only reduces the noise output of the drive but also helps to keep it cool. This device, unfortunately, excels at one aspect of its claimed purpose and fails at the other. While it does indeed keep noise levels down very acceptably, the Tuniq Sanctum enclosure, due to the lack of airflow inside the device, fails to cool the hard drive adequately. In fact, leaving the hard drive inside the enclosure will probably decrease the hard drive’s lifetime due to the 60+ degrees Celsius temperatures sometimes experienced inside the device.
Read more…

This is a mouse that was once broken but is now healed. (A mechanical switch on the circuit board was broken; upon fixing that, the mouse works almost like-new.) I was actually quite surprised at the extreme simplicity of the actual mouse hardware - a couple of resistors, capacitors, an LED for the sensor, and the sensor chip itself. It seems to me that the costs for building such a mouse must be rather cheap indeed. In fact, I wonder now about the optical trackballs out on the market today - mine (the Kensington Expert Mouse) is to all appearances just an upside-down optical mouse with a ball and a couple of extra buttons; would it be perhaps possible to construct my own perfectly-functioning trackball with only cheap optical mouse parts?
Fascinating as that may seem, there are indeed more exciting projects to attend to first.
Here’s how to stop Firefox from automatically virus scanning all downloads after they’ve finished - something that’s been annoying me since I’ve upgraded to Firefox 3 because of the extraneous disk accesses it creates. Open up the about:config (open a new tab, type about:config in the location bar), and find the browser.download.manager.scanWhenDone value. Type in browser in the filter bar for quick searching. Set that value to false by double-clicking. And that’s it! What, were you expecting something more?
(originally read here)
Download RemoveDuplicates.py
One of the problems with using hybrid Windows and Linux environments is that one needs to watch closely for filesystem and file anomalies and inconsistencies. Differing end-of-line markers, for example, cause many problems when sharing files between the two operating systems. One particular problem I’ve run into is that of having duplicate files, or in other words, multiple files with the same filename. This can happen if, say, you copy a directory somewhere in Windows, then switch to Linux and use a tool such as rsync to copy that same directory over again. If the capitalization is different, Linux will not replace the old files, because Linux, unlike Windows, is case-sensitive. This will even happen, and is technically acceptable, on NTFS filesystems.
The solution I’ve come up with is this simple script, called RemoveDuplicates.py. Obviously, you need Python installed to run it, but it has no additional dependencies. Simply run it in the directory you wish to clean, and it should do the rest. Note that you shouldn’t use this for entire filesystems (yet), because it will use ridiculous amounts of memory if it is given a high number of files. Download it here!
P.S. Also, I cannot guarantee that this tool will work as intended or will be bug-free. Use wisely.
Filed under:
Projectsfyhuang @ September 25, 2008 1:04 pm
I have been having, to put it lightly, some problems with VMware server and an Ubuntu guest. My guess as to why is this: VMware server is, in my eyes, built for production-level server virtualization. It’s not really built for on-the-side home server virtualization, like the kind that I’m doing, and on fairly desktop-oriented hardware to boot. Basically, my Ubuntu install often has trouble with disk access, and sometimes network access as well. (I’m running a Vista Home Premium host with an Ubuntu Server 8.04 guest.)
Read more…
Filed under:
Articlesfyhuang @ September 5, 2008 1:42 pm
I found today that I was having problems launching Call of Duty 2 on Windows Vista. I could not start either the single or multiplayer: both would crash and the Vista “this program has stopped working” dialog box would pop up. A quick search on the Internets told me that this was definitely a common problem, and with the help of some pretty obscure forum posts, I finally figured it out. I’m going to summarize my solution here for future reference:
System environment:
- nVidia graphics card
- Windows Vista Home Premium 32-bit
- 2 GB RAM
- Integrated “HD” audio
The solution for me:
- Remember to set CoD2 to compatibility mode with Windows XP SP2! You can do this by right-clicking the shortcut and selecting “Properties”, then opening the “Compatibility” tab at the top.
- First tried updating DirectX 9. Vista users should note that DirectX 9 and DirectX 10, while both coming pre-installed on Vista, are separate components. You should still update to the latest DirectX 9 even if you have DirectX 10. Unfortunately, while a good first step, this didn’t work for me.
- Then, added “+set com_introplayed 1” to the end of the shortcuts. You can do this by opening the shortcut properties (see step 0) and adding those characters, without quotes, to the end of the “Target:” box, so that the full line looks like:
“C:\Program Files\Activision\Call of Duty 2\cod2sp_s.exe” +set com_introplayed 1
This fixed the single-player for me, but I still could not open multiplayer.
- I found on NTcompatible.com a seemingly-ridiculous little proposition. The poster suggested that, to run CoD2 multiplayer, one should plug something in to the microphone jack. So, I did, and lo and behold, it worked! Rather a strange solution, I do say. It likely has something to do with the interaction between my integrated audio and the voice chat features of CoD2, so turning off voice chat might allow it to run without a microphone plugged in.
Anyways, that’s how I got this game to work on Vista; hope it helps somebody else too!
So here it is, finally: the legendary Google browser.
And like everything else that Google puts out, it is a gloriously incredible piece of work. It has the best characteristics a piece of software could have: it’s simple, fast, responsive, and stable. I’ve been running it for just a little while now, and while WebKit’s rendering (especially of fonts) is slightly different from Gecko’s, everything works just about the same as in Firefox… it’s all just way, way faster. Opening new tabs is faster. Using Gmail is faster (thanks, no doubt, to the new V8 JavaScript engine). Writing posts is faster. It’s really quite incredible… in fact, possibly one of the most impressive open-source developments to date, right up there with Firefox 1 and the Linux kernel. Give it a spin yourself and see.
Filed under:
Buildsfyhuang @ September 2, 2008 12:34 pm
I finally received my new motherboard and installed it into my computer. It runs quite well, quite cool, and very quiet. Here’s the final details on the quiet cooling system:
Fans/airflow:
- 2 x quiet 60mm fans behind the CPU cooler
- 1 x SilenX 60mm fan next to video card, doubles as case exhaust
- 1 x 120mm fan in PSU, helps move air through CPU cooler
- 1 x Arctic Cooling 90mm PWM fan on other side of CPU cooler
Heatsinks:
- Thermaltake Big Typhoon (modified) on CPU (removed fan and fan mount)
- Arctic Cooling Accelero S2 on video card
- Tuniq Sanctum hard drive silencer/cooler
Effectiveness? CPU temperatures at 37-40 degrees C at idle. Not too shabby, I suppose. I’m planning to use (and already using) this machine for some serious computer work, including 3D programming and graphics. I’ve actually recently installed Visual C# 2008 Express Edition, and I’m finding C# (and Microsoft’s IDE) to be an incredibly powerful and intuitive language. I think I might switch to using C# indefinitely, until someone writes a decently simple and powerful IDE for D, my cross-platform language of choice. Oh, and fix X11 and give us one windowing toolkit that works and has amazing graphical tools while you’re at it, please?
I’m also running VMware server (and having lots of problems with that…) with an Ubuntu 8.04 Server guest, to handle my requisite Apache and MySQL stuff, and also to keep up with the very few Linux-only softwares I use.