Subscribe to RSS Subscribe to Comments Blog of Roy Chan

Blog of Roy Chan


There is sth I wrote about C/C++ in my 1st Personal Homepage:

C is a programming language designed by Dennies Ritchie during the early 1970s and immediately used to re-implement Unix.

I first know C on 1988 in a computer magazine and scan its structure and basic syntax later for a book borrowed for Regional Urban Council Library. I was attracted by its flexibility, speed and power. And it became my main research target until I found C++.

Undoubtly, C is really diffcult to be learned. It need you to know much about how the computer work and many technical stuff. Fortunately, I have a touch on Apple IIe 6502’s Assmely Language before I met C and have a basic knowledage about how the computer system work particularly the OS). Therefore, I suffer fewer problem during learning and familier with it very fast.

However, never ask me how to intergate C with Assmely Language, I never put much time on the assmely language of Intel 80×86 and the internal detail of MS-DOS. (lazy! P )

C++, in fact, I thought that it is only an complier’s name of C (Like Borland’s Turbo C) when I find saw its’ name. But I soon realized that it is another programing language when I saw some syntax like:

cout < < "Hello World!n";

. The first thing of C++ attracted me was that it is a better C. (with const, overload and inline function) And I had bought the Chinese version of Bjarne Stroustrup’s The C++ Programming Language First Edition, the only bible of C++ at that time, in 1989 when I have no chance to have a C++ compiler. (Crazy? P )

Share It: [] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


Sometime, I found my dad is really very interesting. On the last moved (just 2 weeks ago), he found some porn under my bed. He was puzzled when he had bought those porn. Oh, did he ever realize that his son (me) have already a 28 years old guy? Will it be more strange that I never feel interest on such a kind of stuff?

Share It: [] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


今日 (Ok… 應該係昨日) 有個朋友話呢個網頁感性? Oh.. 好似 Deki 上年都講過 d 類似既說話。Ok.. 我諗我無乜會留意呢個網頁感唔感性.. 真唔真摰! It just sth I would like to write down or would like others to know. (又來 Bilingual)

計計埋理, 我都寫過幾個 version 既個人網頁,第一、二個係 Geocities, 主要都係 d links 收集。第三個因為見人將 Daily (算係 Weblog) 式既野放上網,開始有個 Feeling Tray 既野出現。第四個完全變左Linux 新聞網,第五個吸收左 slashdot 既形式.. 就成為呢個網站既前身。大家都睇到我停寫左野成年半.. 係令年三月尾先重新寫番.. 又申請埋個 Domain 改左 d code…

Why this page? 為乜搞個咁賴深情既網? 係我第三個個人網站 就咁寫過:

In the view of most of my friends, I may be a very quiet guy or talketive but always technical and can’t be understood by others. hmm…. In fact, I enjoy to express myself with others but don’t want to bore anyone. That why I create these pages. Writing down my feeling, what I am think. Let my friends know more about me and let me understand more about myself during writing.

由細到大, 我都係一個諗多過講,講多過做既人。想過好多事,但好少記底。亦都好少或者無乜機會講俾其他人聽。Have you heard it? I’m yelling in the Cyberspace!!!!!!!!!!!!!!!!!!

Share It: [] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]

What driving to the store would be like if operating systems ran your car

  • MS-DOS
    You get in the car and try to remember wher you put your keys.
  • Windows
    You get in the car and drive to the store very slowly, because attached to the back of the car is a freight train.
  • Macintosh System 7
    You get in the car to go to the store, and the car drives you to church
  • UNIX
    You get in the car and type GREP STORE, After reaching speeds of 200 miles per hour en route, you arrive at the barber shop.
  • Windows NT
    Taligent/Pink You walk to the store with Ricardo Montalban, who tells you how wonderful it will be when he can fly you to the store in his Lear jet.
  • OS/2
    Afther fueling up with 6000 gallons of gas, you get in the car and drive to thestore with a motorcycle escort and a marching band in procession. Halfway there, the car blows up, killing everbody in town.
  • S/36 SSP (mainframe)
    You get in the care and drive to the store, Halfway there you run out of gas, While walking the rest of the way, you are run over by kids on mopends.
  • OS/400
    An attendant locks you into the car and then drives you to the store, where you get to watch everybody else buy filet mignons.

P.S. I get this from a book. Ok, I forget the book name. In fact, I read the book when still in Poly. I found it is very interesting, so take a photocopy. The book said it was posted in North Coast MAC User Group bulletin board.

Share It: [] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


I have done a personality test in Colorquiz yesterday.. and here is the reason:

  • Your Existing Situation
    Seeks to share a bond of understanding intimacy in an esthetic atmosphere of peace and tenderness.
  • Your Stress Sources
    Unfulfilled hopes have led to uncertainty and apprehension. Needs to feel secure and to avoid any further disappointment, and fears being passed over or losing standings and prestige. Doubts that things will be any better in the future and this negative attitude leads him to make exaggerated demands and to refuse to make reasonable compromises.
  • Your Restrained Characteristics
    Trying to calm down and unwind after a period of over-agitation which has left him listless and devoid of energy. In need of peace and quiet; becomes irritable if this is denied him. Circumstances force him to compromise and to forgo some pleasures for the time being. Capable of achieving physical satisfaction through sexual activity.
  • Your Desired Objective
    Wants to establish himself and make an impact despite unfavorable circumstances and a general lack of appreciation.
  • Your Actual Problem
    Disappointment and the fear that there is no point in formulating fresh goals have led to anxiety. Desires recognition and position, but is worried about his prospects. Reacts to this by protecting at any criticism and resisting any attempt to influence him. Tries to assert himself by meticulous control of detail in an effort to strengthen his position.

And this site told you your personality base on the lines on your palm. My result is:

  • LOVE FAMILY (愛家人)
  • LOVE OF HOME (愛家)
  • HEALTHY (健康)
  • DESIROUS (渴望)
  • EGOISTIC (自我中心)
  • HAUGHTY (高傲)
  • LOVE (熱情)
  • GOOD LIFE (生活好)
  • SATISFIED (易滿足)
  • GOOD LUCK (好運氣)
  • HAPPINESS (快樂)
  • HESITANT (猶豫)
  • PEDANT (空談家)
  • PUNCTUAL (守時)

Share It: [] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


OH… there is some cool GUNDAM Tee in COSPA, sad that most are soldout…

Share It: [] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


What ROY and XYCHEN stand for? Oh… C.Y.B.E.R.O.R.G. told me they are “Replicant Optimized for Yardwork” and “eXperimental Ytterbium Construct Hardwired for Exploration and Nullification”. Pretty Cool..

Share It: [] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]

瑟斯‧艾弗莉的 21 日

有想過生存是為了什麼嗎?來自星野之宣 (Yukinobu Haoshino) 短篇漫畫集星塵之旅 (StarDust Memories) 中的一個故事 - 瑟斯‧艾弗莉的 21 日就曾引起我對生存意義的一些聯想。

故事女主角瑟斯因所乘撘的調查般意外爆炸而流落行星林登,種種原因令救援隊要最少 21 後才能到達。要獨個兒在陌生星救生活廿多天對瑟斯本不是什麼一件很難的事,但她慢慢察覺到在這星系的生物之生物時鐘走得異常地快。只消兩天,瑟斯就老了差不到十年。即是說她等不 到救援隊來到就已老死了。面對這悲慘的事實,瑟斯決定到用逃生艇上的培養器為自己複製一個女兒出來。瑟斯利用壓縮學習機教曉小瑟斯一切需要的知識及技能就去了。而小瑟斯亦照老瑟斯的吩咐複製出第三代的瑟斯。就在這短短的 21 天,瑟斯就經歷了三代。第三代瑟斯到最後成為唯一被獲救者,但在她的回憶並不是短短 21 天的獨自生活,而三代…….

妳還能得救!過了 21 天救援隊來了,你就能得救! 可是我呢? 如果我是妳 …….. 媽媽! 我是為什麼來到這世上的? 只為了養育這小孩? 我沒有過去! 也沒有未來! 只為了存活數日的一生… 太殘酷了!


Share It: [] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]

Google’s visit

I have just check the log and found that Google have look around my pages these days. Ok, this mean you can search my page in Google. You know, voidoo, my buddy who help me to maintain this side, had modfield the weblog and make better for webrot to visit recently.

Share It: [] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]

Bus to Central

Hi, every body! I have gone to Central (where my new office will be) today (or better say yesterday?). Anyway, it force me to find a way to go between Tin Shui Wai and Central. Great, I found it quicky and it seem faster than go to Whampoa (Coz it needn’t to shop around Yuen Long).

However, it spent me long time to find the bus stop back to TSW at night. While I search the Bus number around those bus stops. One told me the bus stop is there. And another one told me the bus won’t stop there. I had missed 2 bus before I hack back the bus stop. Anyway, at least I found there is an overnight bus can take me back to TSW even after 1:00am.

Share It: [] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


Kwan gave me the link of Newsline of Sinobit (got some chinese news of IT industry) and SpinCircuit (sound a database of electrical devices/component from many suppliers).

Deki have just send me a page which got some photos of HKTin 95 (The netmate I met in hk.entertainment at 1995 Sep-Dec). You can see I was being happy corner by those guy coz I have told sth (I can’t remeber what it about) about Peggy to others. I remeber I have promise Peggy to bring her a bottle of Evian every time I met her in order to apologise to her. (I have keep the promise for nearly half year)

Share It: [] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]

Packing stuffs

I wrote part of this log with my palm portable keyboard on bus. Umm.. I would like to talk more about what I have found during packing stuff for moving home. Apart from those lucky money and books, I get back my treasure box.

The treasure box contain the Microprocessor (CPU) of my first computer. Yeah, do you know Apple IIe got 2 different version. The latest version named Enhanced IIe and got a different BIOS which being added some extra system call. If you replace the CPU of Enhanced IIe with a new model 65c02 (which have been use in both IIc and IIGS), you can execute some special applications. And my Apple IIe clone (also the first computer in my life) is an enhanced IIe. So I have bought the 65c02 and replaced it with the original 6502. I keep the 6502 microprocessor in the treasure box because it is the CPU of my first computer. ^^;

Share It: [] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


Hey, do you know what I have done before setup Sagit (the hostname of my IP Masq Box)? After watching the TV Programme “I have a date with Vampire“, I get back the issue 4 of HomeNet (published at march 97) and read it. You know, HomeNet had been my favourite Magazine about the Net. It got a pretty different style with other Magazine at that time. I like the section that mention some non-computer stuff like car, wine and comics but connect with related websites. It sound really a magazine for net geek. However, it stop 2 years ago become a think poor content appendix of PC Home (Another Magazine published by the publisher).

HomeNet got a section called e-journal. It print some e-mail (don’t know whether it is real or fake one). I seldom read it in past because it is written in english. May be I have change much in this year and start to be patient with such a long english. One mail with title “Will paranoid survive?” sound like the shadow of me.

My old boss once commented me as being too honest and straight forward. I know what meant: too native.

Besides, the following chinese remark of another mail “(Sim)City: invisible) is really interesting:


因為意見分歧,急於說服對方的話語衝口而出(其實不過是要對方不要再誤解自己:戀者不追求以理服人,戀者不過 desperately 要對方諒解) ,變成魯莽的話語。但由於永遠得不到即時的回,只有自己不斷的書寫、書寫,直至書寫完成,期望網絡一方未知何時的回應(我不慣用 online-chat ,因為 E-mail 與 online-chat 是兩回事:即時的應對而要用書寫去進行是荒謬的,比口述語言更辭不達意,況且:書寫是一種悉心經營,chat ? 你不會你的戀人 chat)。魯莽冷卻下來後,會成一種惘然,所以也是一種迷惘的書寫心態:其實也不過是戀者心態,戀者總是迷惘 (迷網) 。

Chat and E-mail, which one do you like?

Share It: [] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]

I’m back!!!!

Yahoo!!!!!! Now is 2:29am. I finally got the time and mood to re-setup my IP Masq Box. Now, I can online at home (Tin Shui Wai). Ok, coz the power supply of my MediaGX box (The box I use as IP Masq and Server) seems die after came to Tin Shui Wai, I need plug it’s HD to my old P5 200MMX box (which I use to run windoze) and use it as the IP Masq Box. Yes.. it not a difficult task. But I’m really busy and not much mood to do it until now.

Long time haven’t be online so night. The first thing I notice is that someone is missing. (ok, I know the reason.. How can you expect a person be online so night while (s)he need to back to central before 8:30am every day.

Share It: [] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


I have just gone out to buy Panadol. (Coz I have an headaches) I seldom take Panadol in past. But I have taken 8 tablets in one day this year. Ok… I know it is not good so I stop it before I take the ninth.

Share It: [] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]

New Home

搬左去新屋差不多成個禮拜,交通尚算 ok。因為我主要都係屋企同公司穿梭,而屋企附近有車直去黃埔,無塞車既情況下約一個鐘三個字就返公司,夜晚 (過左十二點) 無乜人上落就九個字左右就返到天水圍。最正係尾班車係 12:50 am ,絕對適合我呢慣常超時友。聽過話去中環仲快 .. 到時睇下點。 (不過我仲未得閒搵夜晚係旺角 (個人經常蒲點) 有乜通宵車返去。

I have moved to Tin Shui Wai for nearly a week. My friends always said it is too far but it still ok to me. There is a bus travel between Tin Shui Wai and Whampoa. It takes about one hour and 15 minutes to my office when there is no jam. After 12:00am, it takes only 45 minutes back to Tin Shui Wai. The most lucky is that the last bus is about 12:50 am, suit for those OT guy like me.

新屋唔係好太咋… 主要原因係我呢個書蟲實在太多書。我已經唔記得我曾經試過幾次企圖讀完本羅素既【為什麼我不是基督徒】但係第二章前停左(我諗我應該買左差不多十年)。呢幾日好少少係我總算將本三、四年前買既烏鴉的困惑 (李逆熵寫既)煲完。

My new home is not big… Ummm.. Or better said I got too much books in my home. How many times I try to finish Bertrand Russell’s “Why I Am Not a Christian” but stop before the 2nd chapter. (I suppose I bought it for nearly 10 years). Anyway, I have finished “The confusing of raren” (by Lee Wai Choi) which I bought about 3-4 years.

Share It: [] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]

Interesting Links

Here is an article from Linux Programming about how to choosing an Editor. Ok.. the content of the article is not much interesting (at least to me). But sound got some interesting links.

Share It: [] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]

some programs from freshmeat

Another sound interesting program from freshmeat:

    you can pipe spamming mail from your favourite mail reader and it will send complaining mail to all responsiable mail server adminstrators.
  • World Print
    A filter for Netscape/Mozilla to pring pages in Unicode, Big5, SJIS and all the ISO-8859* charsets using true type fonts.
  • OpenWeasel
    A toolkit to create a small Portal

Share It: [] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]

母親節 & 偉 Wedding

今日係母親節 & 阿偉 Wedding (佢話佢 apply 個陣都唔知呢日係母親節喎 )… 母親節要做既野自然會做 (係度講仲係覺得有點做作…) For Wai…. Thanks you be my good listeners during this half year!! 祝永結同心 ^^;

Share It: [] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


人生總有很多不同變動…. 不管其他人怎看.. 但我有我的看法。對朋友,無論其他人怎說,我對他們的誠意始終沒有懷疑。對其他,我想不能用『化』這個字來形容。我知道我要得到的是什麼。現在我所失的並不是我很想得到的,而我想得到的還未失去,這不是已足夠了嗎?

Share It: [] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]

Based on Fluidity© 1998-2007 Roy Hiu-yeung Chan