Friday, November 30, 2007

XP outperforms Vista

半年前寫下《手提電腦的禁買期》和《 XP vs. Vista》,至今用XP還是比用Vista要爽。最近看到一篇比較兩者的文章:《Windows XP Significantly Outperforms Vista, Tests Show》,又一再力證XP比Vista好。到底事實是否如此?真的如文章所說:

"Windows XP trounced Windows Vista in all tests -- regardless of the versions used or the amount of memory running on the computer. In fact, XP proved to be roughly twice as fast as Vista in most of the tests."

當年初初推出XP時(大約2000-2001年),而我的電腦購入於2000年春,用上當時最快的CPU:Pentium III 600MHz,拿來跑XP其實有點兒慢,如今我用來跑XP很爽的是一台小黑,是Centrino 1.7G(效能約莫等於Pentium 4 3.4GHz)。Vista推出時高階的CPU是Core2Duo 2GHz,前後對比,那即是說,只要Core2Duo再多出兩代、內頻提升至3.8GHz以上而L2 Cache有16MB左右時,跑Vista應該會暢順了吧!?只是若要用上這種速度/價錢來跑XP,效能應該會似火箭吧。

無獨有偶,Apple最近終於推出了Leopard,我由Tiger升級到Leopard,沒有performance的損失,因為我用兩者時都不覺得系統特別地快,但最少不會令用家呼叫要求downgrade回水。

Apple的新廣告又串Microsoft:"Ask not what Vista can do for you, but what you can do for Vista",真抵死。

Intel Core 2 Duo 2.16 GHz w/ 4 MB L2 Cache
2GB DDR-2 667 MHz memory
ATI Radeon X1600 128MB VRAM
同一個configure,跑什麼好?

- Vista? 勉強吧,多開幾個程序就死掉,而且又分幾廿款版本,騙錢的東西
- XP Pro? 沒錯,應該有點「快到曉飛」,但隨便一台Centrino 1.8G以上的電腦已綽綽有餘

最好嘛,還用說:Mac OS X 10.5 Leopard啦!

(會有人踩場說Ubunto或者Linux嗎?)

Tuesday, November 27, 2007

Smultron - editor for programming

"Smultron is a free text editor for Mac OS X Leopard 10.5 which is both easy to use and powerful. It is designed to not confuse newcomers nor disappoint advanced users. It has all the advantages of an Cocoa application and some of its features are tabs, line numbers, support for syntax colouring for many different languages, functions list, support for text encodings, snippets, a toolbar, a status bar, preview, split window, multi-document find and replace with regular expressions, possibility to show invisible characters, authenticated open and saves, command-line utility, full screen editing and running commands and scripts from within the application."

It supports coloring syntax for different languages, and a default one (says C++) so that it will able to work with Symbian C++ where many non .cpp files are in fact in C++ syntax. Also, one may create a new syntax definition to suit his needs.

This application is a must-have, because besides of its powerful feature, it's free after all!

Direct download Smultron v3.2.1 here.

Sunday, November 25, 2007

DVI KVMP Switch

IOGEAR GCS1764 - 4-Port DVI KVMP Switch USB Console, USB Peripherals, Audio
官方網站索價US$350,但某些販賣網站標價一百六十餘元(折合約一千三百港元),與市面一般的VGA KVM比較,這價錢尚算合理(如果考慮擺放空間和操作)至偏高(若只考慮功能),因為它除了是DVI KVM外(註一),也可以分流audio和USB設備(如scanner和printer)。

可以把GCS1764當作為三個分流器合一的產品:KVM Switch、Audio和Switch USB Switch,因為使用鍵盤來控制時,各switch可獨立操作,能隨意調動KVM、audio或USB至不同的port位而互不影響;使用面板上的按鈕可簡易地只調動KVM或調動全組設備至下一個port。詳細的操作,可參閱官方的說明書。

理想中的設定:

Share: 20" LCD (DVI-D), USB KB MS, 2.1 speaker, printer
Port 1: iMac
Port 2: PS3
Port 3: TV Box (VGA->DVI-I)
Port 4: notebook/old PC

問題:往哪兒買呢?

註一:KVM是Keyboard Video Mouse的縮寫,指多台電腦共用一套KVM。

Running XP on iMac (natively)

上回提到,為了讓我的iMac發揮其應有的效能,所以要在iMac上跑Windows來玩遊戲(好好使用它的128MB Radeon X1600)。因為之前無法分割出空間來安裝BootCamp,所以鏟機。鏟機重裝MacOS X 10.4之後立即升級為10.5,之後便安裝BootCamp和Windows XP。看到iMac在跑XP,感覺並不好受,大材小用呢。其實要它跑Vista也應該游刃有餘,只是我沒有Vista的license,而且我也不渴望跑那個龜速的殘廢系統。

搞咁多只為玩PC Game,好似有點兒過火。

WhatSize help to locates large files

"WhatSize is a simple tool that allows the user to quickly measure the size in bytes of a given folder and all subfolders and files within it. You would be surprised at how many useless files might be laying around on your hard disks. The files and folders are automatically sorted by size, with the biggest sizes first." - ID-Design, Inc.

Although Finder allows to display the size of a folder, this feature is not turn on by default to reduce unnecessary I/O access. This software, WhatSize, will do a calculation on whichever folder you select, for one time. It helps me to locate the largest folder, and eventually locate some unnecessary repeated files which take up quite a lot of space. For example, it shows me that I've made several backup copy of my RS-MMC memory card for my Nokia N70 (left figure).

Creating XP SP2 boot disc

With Core2Duo 2.16Ghz, 2GB RAM and ATI X1600 128MB GRAM, my iMac is the most powerful PC at home. For gaming, I need to run Windows natively, not on Parallels. BootCamp is the only solution. To install XP over BootCamp, bootable disc with *XP SP2* is required. Since I only have a XP disc and license without any service pack, I need to create a XP SP2 disc myself. For steps, read "Slipstreaming Windows 2000 /XP SP1,SP1a,SP2 /Server 2003 SP1" from TackTech. Another article from HelpWithWindows.Com also help me alot.

It sounds a lot easier than it actually is. In fact, it took me two days and wasted 3 CD-R to create a workable CD. Slipstreaming part is very easy indeed. The burning part is hard. Nero Burning Rom 5 or 6 is no longer available. I gave up the Nero 8 as it took too long to download. I find Nero 6 (~26MB) from non-official website and I need a serial because the program is "expired" for demo purpose (even though I just need the demo feature).

If you have Nero OEM version, *do not* use it. It cannot take the boot image download from TackTech or extract by IsoBuster (IsoBuster help you to extract the file "Microsoft Corporation.img" from your original boot disc, and this feature is avaiable in its free demo). Two discs created this way are wasted as they cannot be read under Mac OS (Mac OS rejects them and Windows says they're 0byte). You must find the "Nero Burning ROM" from full version. You can run it as trial and still be good enough for you to create the bootable disc. If trial is expired (that's my case), you might have to crack it. May be Nero 8 will work but I can't wait for the long download (>150MB).

To make thing worst, Nero 5.0/6.0 cannot recoginize my CD writer on my IBM ThinkPad T42. So I cannot create the CD directly on my T42. My final step which work the best is:
  1. create slipstreamed XP SP2 installation files.
  2. prepare the boot image (download or extract from CD).
  3. create the bootable ISO image by Nero Burning ROM. Every details as described by TackTech, except I do not burn to CD but to an ISO file.
  4. transfer the ISO file to my Mac and test it under Parallels. Make sure it can boot up the Parallels, install and the Windows work well.
  5. burn the ISO to CD using my iMac.

I'm now doing a clean install of my iMac from 10.4 and upgrading to 10.5 because BootCamp cannot install due to unmovable files. Next I'll have to create a 50GB NTFS space for Windows. The down side is the XP partition will be read-only under MacOS. I may also upgrade my Parallels 2 to Parallels 3 for advanced feature ($ again). Sigh, using Mac is as cool as Steve Jobs said, if you can afford the cost of money.

Thursday, November 22, 2007

Wednesday, October 03, 2007

Code Monkey

Two URLs of the song "Code Monkey". If you don't get a grip, try the second one:

www.youtube.com/watch?v=v4Wy7gRGgeA
www.youtube.com/watch?v=aqTaqVi9J8k


Song: "Code Monkey"
Artist: Jonathan Coulton
Album: Thing a Week III

Code Monkey get up get coffee
Code Monkey go to job
have boring meeting with boring manager Rob
Rob say Code Monkey very diligent
but his output stink
his code not functional or elegant
what do Code Monkey think
Code Monkey think maybe manager oughta write goddamn login page himself
Code Monkey not say it out loud
Code Monkey not crazy just proud

Code Monkey like Fritos
Code Monkey like Tab and Mountain Dew
Code Monkey very simple man
with big warm fuzzy secret heart
Code Monkey like you
Code Monkey like you

Code Monkey hang around at front desk
tell you sweater look nice
Code Monkey offer buy you soda
bring you cup bring you ice
you say no thank you for the soda ’cause
soda make you fat
anyway you busy with the telephone
no time for chat

Code Monkey have long walk back to cubicle
he sit down pretend to work
Code Monkey not thinking so straight
Code Monkey not feeling so great

Code Monkey like Fritos
Code Monkey like Tab and Mountain Dew
Code Monkey very simple man
with big warm fuzzy secret heart
Code Monkey like you
Code Monkey like you a lot

Code Monkey have every reason
to get out this place
Code Monkey just keep on working
to see your soft pretty face
Much rather wake up eat a coffee cake
Take bath, take nap
This job fulfilling in creative way
such a load of crap
Code Monkey think someday he have everything even pretty girl like you
Code Monkey just waiting for now
Code Monkey say someday, somehow

Code Monkey like Fritos
Code Monkey like Tab and Mountain Dew
Code Monkey very simple man
with big warm fuzzy secret heart
Code Monkey like you
Code Monkey like you

Thursday, September 20, 2007

Better, if not the Best

八月中旬,在3專門店買了一部諾基亞6120手提電話,機價一千三百,以當時來說可謂最平的S60 3.1電話,應該令人很高興吧。可是,最令我不爽的是背面的外殼和電池蓋並不level,接口處左右一高一低,經我自行「修正」後,右面算是修復了,但左面依然是高低差0.5MM。沒錯,這0.5MM令我很不爽,電話的手感很重要!而且上一次買E50時落order要黑色來了白色已經很不爽,這一次又出問題,更是不爽(乘二)。

今日見到友人新買的6120,他的也有這個高低差的問題,只是沒我那個嚴重,但他的手機無論正面還是背面,甚至裡面(系統)都是著3的徽號,而我的雖也是從3專門店買,但卻和普通行貨沒兩樣,而且他的手機沒有Bloxx這個遊戲。噢!買桔。原來,我的6120也不算是很差,至少,它沒有人人討厭的operator logos。

但,我還是很想拿去維修,因為公司裡的prototype都沒有這個問題耶!

Wednesday, September 19, 2007

阿婆系列

阿婆系列最新杰作,你鐘意邊個阿婆?阿婆睇住?阿婆加食?阿婆爛路?阿婆實浦?

手上還是拿著五年前的「阿婆睇住轆」,依然實淨,電力依然有八小時以上。還有「阿婆實浦」,正所謂「夾住去浦,爽到無譜,邊個最好?阿婆實浦」。

阿婆果然係~勁!

參看歷屆阿婆系列。

Monday, September 17, 2007

Nokia In-device Search

A "Search" program is available for download at Nokia.com. It is, however, not the same "Search" application that built-in on E50. The former one search online, costing GPRS and money. The latter one search locally for SMSs, contacts, files, images, audio etc. Obviously, the latter one is much useful than former one, even one like me seldom run search on phone at all.

It is so disappointing when I found the "Local Search" not available on my 6120c. Not to mention that Zip is missing too. Why would Nokia remove or restrict the availability of these tools? I think it add-value to their products. Tommi thinks so (See Tommi's discussion about not having "Search" as built-in feature). Unless, they wish us to learn how to do searching.

Although I seldom use it on E50 (actually I didn't use E50 as my primary phone at all), I still want it back on 6120. So, I googled nokia "in-device search" symbian and found the download page at Symbian-Freak.com, as well as a discussion about the two Search programs. Seems many people are longing for the local search feature.

Come on, Nokia. Do more and don't let us down! Or else I'll go back to my 8250.

Friday, September 14, 2007

誰跑得最快

犀利龍、石穿龍、撇科鵰、歌都鵰,哪個跑得最快?

Wednesday, September 05, 2007

Nokia Map Loader

One of the must-download item from Download! PC is the Nokia Map and Nokia Map Loader (later on, I found it these can be download directly from here without using the Download! PC client).

This is cool, despite of it's kinda slow and large in size, that you can have maps of nearly all famous cities around the world, for FREE. The down side, especially to Chinese, is that the map are mostly in English (not localized). I got a problem when using it in Macau. But, after all it is free. What do you expected?

Thursday, August 30, 2007

Nokia Download! PC Client

Recently, Nokia launched Download! PC client. It allows users to connect their phones to PC and access content which were originally available via Download! only. This is a great news for users. Even the free content available at Download! add up to over 3 GB, include 30 language packages for Text-to-Speech and over 50 maps. With the PC client, users can get as much as they want with low-cost/free (and faster) PC Internet access, and get more out of their expensive phones. I've added Nokia map to my 6120 classic.

Download! - a preloaded application on several Nokia phones which allow users to browse and download region-specific contents. Some are free, some charges, and some try-for-free.

What concern end-users the most is not the long download time (GPRS is relative slow) but the traffic cost (no true-unlimited GPRS in HK yet). Especially, 3.0 applications are mostly build by the free GCCE compiler, not the thousands Euro ARMV compiler (which only available for Symbian.com customers to purchase only). Compare with ARMV compiled, GCCE compiled application could be 3 to 10 times larger in size. Which cost end-users more $ for download.

So, isn't it great ot have the Download! PC? Go grab one now! (Only available for Windows OS......... and MacOS if you have virtual Windows)


Nevertheless, I found that I couldn't download the Presenter.jar probably. So I download the Presenter.jad, open it using Notepad, and find the following line and download the file using a normal browser:

MIDlet-Jar-URL: http://cgw.nokia.mobi/ntp-cgw/dl?m=6120c&l=en&o=13&c=454&a=cn&ci=00e116a382fddc48373ea9da&cl=3.2.734&cp=S60&cmcc=454&cmnc=03&ovf=false&cc=30668&d=D2745&content=1188476529539

Wednesday, August 29, 2007

Desktop Pass-through problem in ActiveSync 4.2

When Pocket PC connected to Windows' ActiveSync, it not only able to sync data with Outlook, but also able to connect to Internet via the PC being connected to. However, I got an error "The page you are looking for connect be found due to unknown error. 0x80072f78". This problem has prevent me to update my Avantgo.

Since my router at home has broken down for unknown reason, I cannot get my Acer n300 connect to Internet. So, I made a rough search online and found the following pages:

Activesync 4.2 now available for download from Jason Langridge's WebLog - MR Mobile!
ActiveSync 4.5 and Weatherpanel problem from Aximsite.

Both pages has point out that the error is due to new ActiveSync has "a problem with Desktop Pass-through ... caused by a Layered Service Provider (LSP) that use the Windows TCP/IP stack." This known issue can be solved by enabled the LSP by modifying the registry manually. This solution has absolutely *no* warranty and use at your own risk!

Open the registry (run RegEdit), locate: HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows CE Services\, and add "AllowLSP"=dword:0. Restart your ActiveSync. You may kill the process using Task Manager, and restart from Start menu. Alternatively, you can reboot your computer (of course).

This work for my Acer n300 and ActiveSync 4.2, on Window XP Pro (English).