Latest Posts

Problems with the Linux desktop

(Up­date: in ret­ro­spect, I have re­al­ized that this ar­ti­cle is per­haps not so well writ­ten. Ex­pect some­thing more use­ful and co­her­ent soon!)

Lin­ux seems like the per­fect so­lu­tion for the new brand of portable PCs, net­books. It’s ef­fi­cient, re­quires few re­sources, and can run most if not all of the pro­grams one usu­al­ly runs on such small com­put­ers - word pro­cess­ing, email, web brows­ing, and so on. Large, com­plex soft­ware pack­ages that re­quire Win­dows to run per­form abysmal­ly on low-pow­er com­put­ers like net­books, so ef­fec­tive­ly the need to run Win­dows is nul­li­fied.

Why, then, do con­sumers (and re­view­ers!) choose Win­dows over Lin­ux for net­books? Read more…

Tuniq Sanctum HDD cooler/silencer

tuniqshot

It doesn’t work.

Okay, that’s a lit­tle bit un­fair; it’s prob­a­bly more ac­cu­rate to say that it doesn’t work as ex­pect­ed. The Tu­niq Sanc­tum hard drive en­clo­sure is a 5.25” bay de­vice that holds a 3.5” (or small­er, I sup­pose) hard drive, and pur­port­ed­ly not on­ly re­duces the noise out­put of the drive but al­so helps to keep it cool. This de­vice, un­for­tu­nate­ly, ex­cels at one aspect of its claimed pur­pose and fails at the other. While it does in­deed keep noise levels down very ac­cept­ably, the Tu­niq Sanc­tum en­clo­sure, due to the lack of air­flow in­side the de­vice, fails to cool the hard drive ad­e­quate­ly. In fact, leav­ing the hard drive in­side the en­clo­sure will prob­a­bly de­crease the hard drive’s life­time due to the 60+ de­grees Cel­sius tem­per­a­tures some­times ex­pe­ri­enced in­side the de­vice. Read more…

Mouse repairs

This is a mouse that was on­ce bro­ken but is now healed. (A me­chan­i­cal switch on the cir­cuit board was bro­ken; upon fix­ing that, the mouse works al­most like-new.) I was ac­tu­al­ly quite sur­prised at the ex­treme sim­plic­i­ty of the ac­tu­al mouse hard­ware - a cou­ple of re­sis­tors, ca­pac­i­tors, an LED for the sen­sor, and the sen­sor chip it­self. It seems to me that the costs for build­ing such a mouse must be rather cheap in­deed. In fact, I won­der now about the op­ti­cal track­balls out on the mar­ket to­day - mine (the Kens­ing­ton Ex­pert Mouse) is to all ap­pear­ances just an up­side-down op­ti­cal mouse with a ball and a cou­ple of ex­tra but­tons; would it be per­haps pos­si­ble to con­struct my own per­fect­ly-func­tion­ing track­ball with on­ly cheap op­ti­cal mouse parts?

Fas­ci­nat­ing as that may seem, there are in­deed more ex­cit­ing pro­jects to at­tend to first.

Disable virus scanning in Firefox after download

Here’s how to stop Fire­fox from au­to­mat­i­cal­ly virus scan­ning all down­loads after they’ve fin­ished - some­thing that’s been an­noy­ing me since I’ve up­grad­ed to Fire­fox 3 be­cause of the ex­tra­ne­ous disk ac­cess­es it cre­ates. Open up the about:config (open a new tab, type about:con­fig in the lo­ca­tion bar), and find the browser.down­load.man­ager.scan­When­Done val­ue. Type in browser in the fil­ter bar for quick search­ing. Set that val­ue to false by dou­ble-click­ing. And that’s it! What, were you ex­pect­ing some­thing more?

(orig­i­nal­ly read here)

A tool for removing duplicate files

Down­load Re­moveDu­pli­cates.py

One of the prob­lems with us­ing hy­brid Win­dows and Lin­ux en­vi­ron­ments is that one needs to watch close­ly for filesys­tem and file anoma­lies and in­con­sis­ten­cies. Dif­fer­ing end-of-line mark­ers, for ex­am­ple, cause many prob­lems when shar­ing files be­tween the two op­er­at­ing sys­tems. One par­tic­u­lar prob­lem I’ve run in­to is that of hav­ing du­pli­cate files, or in other words, mul­ti­ple files with the same file­name. This can hap­pen if, say, you copy a di­rec­to­ry some­where in Win­dows, then switch to Lin­ux and use a tool such as rsync to copy that same di­rec­to­ry over again. If the cap­i­tal­iza­tion is dif­fer­ent, Lin­ux will not re­place the old files, be­cause Lin­ux, un­like Win­dows, is case-sen­si­tive. This will even hap­pen, and is tech­ni­cal­ly ac­cept­able, on NTFS filesys­tems.

The so­lu­tion I’ve come up with is this sim­ple script, called Re­moveDu­pli­cates.py. Ob­vi­ous­ly, you need Python in­stalled to run it, but it has no ad­di­tion­al de­pen­den­cies. Sim­ply run it in the di­rec­to­ry you wish to clean, and it should do the rest. Note that you shouldn’t use this for en­tire filesys­tems (yet), be­cause it will use ridicu­lous amounts of mem­o­ry if it is given a high num­ber of files. Down­load it here!

P.S. Al­so, I can­not guar­an­tee that this tool will work as in­tend­ed or will be bug-free. Use wise­ly.

VMware & Ubuntu 8.04

I have been hav­ing, to put it light­ly, some prob­lems with VMware server and an Ubun­tu guest. My guess as to why is this: VMware server is, in my eyes, built for pro­duc­tion-level server vir­tu­al­iza­tion. It’s not re­al­ly built for on-the-side home server vir­tu­al­iza­tion, like the kind that I’m do­ing, and on fair­ly desk­top-ori­ent­ed hard­ware to boot. Ba­si­cal­ly, my Ubun­tu in­stall often has trou­ble with disk ac­cess, and some­times net­work ac­cess as well. (I’m run­ning a Vis­ta Home Premi­um host with an Ubun­tu Server 8.04 guest.) Read more…

Call of Duty 2 problems on Windows Vista 32-bit

I found to­day that I was hav­ing prob­lems launch­ing Call of Du­ty 2 on Win­dows Vis­ta. I could not start ei­ther the sin­gle or mul­ti­play­er: both would crash and the Vis­ta “this pro­gram has stopped work­ing” di­alog box would pop up. A quick search on the In­ter­nets told me that this was def­i­nite­ly a com­mon prob­lem, and with the help of some pret­ty ob­scure fo­rum posts, I fi­nal­ly fig­ured it out. I’m go­ing to sum­ma­rize my so­lu­tion here for fu­ture ref­er­ence:

Sys­tem en­vi­ron­ment:

  • nVidia graph­ics card
  • Win­dows Vis­ta Home Premi­um 32-bit
  • 2 GB RAM
  • In­te­grat­ed “HD” au­dio

The so­lu­tion for me:

  1. Re­mem­ber to set CoD2 to com­pat­i­bil­i­ty mode with Win­dows XP SP2! You can do this by right-click­ing the short­cut and se­lect­ing “Prop­er­ties”, then open­ing the “Com­pat­i­bil­i­ty” tab at the top.
  2. First tried up­dat­ing Di­rec­tX 9. Vis­ta users should note that Di­rec­tX 9 and Di­rec­tX 10, while both com­ing pre-in­stalled on Vis­ta, are sep­a­rate com­po­nents. You should still up­date to the lat­est Di­rec­tX 9 even if you have Di­rec­tX 10. Un­for­tu­nate­ly, while a good first step, this didn’t work for me.
  3. Then, added “+set com_in­tro­played 1” to the end of the short­cuts. You can do this by open­ing the short­cut prop­er­ties (see step 0) and adding those char­ac­ters, with­out quotes, to the end of the “Tar­get:” box, so that the full line looks like: “C:\Pro­gram Files\Ac­tivi­sion\Call of Du­ty 2\cod2sp_s.exe” +set com_in­tro­played 1 This fixed the sin­gle-play­er for me, but I still could not open mul­ti­play­er.
  4. I found on NT­com­pat­i­ble.com a seem­ing­ly-ridicu­lous lit­tle propo­si­tion. The poster sug­gest­ed that, to run CoD2 mul­ti­play­er, one should plug some­thing in to the mi­cro­phone jack. So, I did, and lo and be­hold, it worked! Rather a strange so­lu­tion, I do say. It like­ly has some­thing to do with the in­ter­ac­tion be­tween my in­te­grat­ed au­dio and the voice chat fea­tures of CoD2, so turn­ing off voice chat might al­low it to run with­out a mi­cro­phone plugged in.

Any­ways, that’s how I got this game to work on Vis­ta; hope it helps some­body else too!

Google Chrome - first impressions

So here it is, fi­nal­ly: the le­gendary Google browser.

And like ev­ery­thing else that Google puts out, it is a glo­ri­ous­ly in­cred­i­ble piece of work. It has the best char­ac­ter­is­tics a piece of soft­ware could have: it’s sim­ple, fast, re­spon­sive, and stable. I’ve been run­ning it for just a lit­tle while now, and while We­bKit’s ren­der­ing (espe­cial­ly of fonts) is slight­ly dif­fer­ent from Gecko’s, ev­ery­thing works just about the same as in Fire­fox… it’s all just way, way faster. Open­ing new tabs is faster. Us­ing Gmail is faster (thanks, no doubt, to the new V8 JavaScript engine). Writ­ing posts is faster. It’s re­al­ly quite in­cred­i­ble… in fact, pos­si­bly one of the most im­pres­sive open-source de­vel­op­ments to date, right up there with Fire­fox 1 and the Lin­ux ker­nel. Give it a spin your­self and see.

Personal build - ultra-silent, uATX, gaming - part 2

I fi­nal­ly re­ceived my new moth­er­board and in­stalled it in­to my com­put­er. It runs quite well, quite cool, and very qui­et. Here’s the fi­nal de­tails on the qui­et cool­ing sys­tem:

Fans/air­flow:

  • 2 x qui­et 60mm fans be­hind the CPU cool­er
  • 1 x SilenX 60mm fan next to video card, dou­bles as case ex­haust
  • 1 x 120mm fan in PSU, helps move air through CPU cool­er
  • 1 x Arc­tic Cool­ing 90mm PWM fan on other side of CPU cool­er

Heatsinks:

  • Ther­mal­take Big Ty­phoon (mod­i­fied) on CPU (re­moved fan and fan mount)
  • Arc­tic Cool­ing Ac­celero S2 on video card
  • Tu­niq Sanc­tum hard drive si­lencer/cool­er

Ef­fec­tive­ness? CPU tem­per­a­tures at 37-40 de­grees C at idle. Not too shab­by, I sup­pose. I’m plan­ning to use (and al­ready us­ing) this ma­chine for some se­ri­ous com­put­er work, in­clud­ing 3D pro­gram­ming and graph­ics. I’ve ac­tu­al­ly re­cent­ly in­stalled Vi­su­al C# 2008 Ex­press Edi­tion, and I’m find­ing C# (and Mi­crosoft’s IDE) to be an in­cred­i­bly pow­er­ful and in­tu­itive lan­guage. I think I might switch to us­ing C# in­def­i­nite­ly, un­til some­one writes a de­cent­ly sim­ple and pow­er­ful IDE for D, my cross-plat­form lan­guage of choice. Oh, and fix X11 and give us one win­dow­ing toolk­it that works and has amaz­ing graph­i­cal tools while you’re at it, please?

I’m al­so run­ning VMware server (and hav­ing lots of prob­lems with that…) with an Ubun­tu 8.04 Server guest, to han­dle my req­ui­site Apache and MySQL stuff, and al­so to keep up with the very few Lin­ux-on­ly soft­wares I use.

Projects

Pages


Articles

Reviews

Categories

Tags

Archives

Meta

Powered by WordPress
0.76 seconds