2006/11/30

Resignation

Finally resigned after working nearly 6 years, a rather long period for most of the people.
Last day: 15 Dec 2006.
Still have about 2.5 weeks to go.

2006/11/26

2006/11/25

啤牌魔術

昨晚魔術堂係學啤牌魔術:
1. 觀眾選一隻牌, 放回牌叠, 洗牌數次, 再問觀眾問題, 抽出觀眾選出的牌, 另一變化是抽出一張錯的牌,後來再把牌變成觀眾要的一張.
2. 觀眾選一隻牌, 放回牌叠, 把半叠牌翻轉, 洗在一起, 洗多數次, 最後把牌攤開, 全部牌都翻正了, 只有觀眾選的牌翻轉.
3. 洗牌後, 由觀眾把牌分4叠, 再逐叠把頭3隻放到叠底, 派3隻到其他3叠, 如是者4叠都做一次, 最後, 4叠牌的面牌也變成 K 了.
今日學始練習.

2006/11/23

Reinstalling my sister's desktop computer

Due to too many spy-ware infections, my sister wants to reinstall the whole system for her desktop computer, so I helped her to reinstall last night.

1. Remove the old partition and repartition the harddisk.
2. Install Windows XP but no driver for the on-board LAN
3. Install the motherboard driver, in order to have network access
4. Update the Windows XP to SP2
5. Get all the motherboard drivers from ASRock website and install them
6. Install firefox, maxthon, messenger, MS Office
7. Update until nothing to update for the OS and Office

Will continue tonight, to install antivirus, spyware protection and finally make a partition backup for easy reinstall later on.

2006/11/21

驚濤搶救

昨晚朋友打電話來,話悶,提議去睇戲,我想也沒想就答應了,朋友嘛!
今晚原定計劃去又一城食飯, 睇"驚濤搶救”。
放工落大雨, 去到又一城已經近七點半,約了睇 9:50,還有大把時間,朋友又未到,
又放了假,應該好快,都冇乜所謂,咪等一陣囉,點知等下等下,佢打來話仲晌油麻地,剪埋髮來。
再等到差不多八點,又打來話撞到朋友,佢地食埋飯先來。
我一個人食飯,一陣就食飽了,一路等一路想,睇 9:50, 套戲 140 分鐘,九龍塘返屋企要成個鐘,
返到屋企都一點了,橫掂佢又未出發,咁於是我就決定唔睇了。
結果自己一個人坐地鐵去荃灣睇下遊戲再返屋企。返到屋企都未夠 9:50。

OpenWrt

OpenWrt is described as a Linux distribution for embedded devices.

Instead of trying to create a single, static firmware, OpenWrt provides a fully writable filesystem with package management. This frees you from the application selection and configuration provided by the vendor and allows you to customize the device through the use of packages to suit any application. For developer, OpenWrt is the framework to build an application without having to build a complete firmware around it; for users this means the ability for full customization, to use the device in ways never envisioned.

Originally installed dd-wrt on my buffalo router, and suddenly want to try something different, so I flashed the latest version of openwrt (which FON based on) to my router and see if it works, as I heard that WBR-G54 works, mine is WBR-B11 which only with a different wireless chip.

After some time, the flashing is finished but seems the web interface is TOO SIMPLE for me, and the WAN port is incorrect, I need to manually edit the nvram myself by login to the router through SSH. It can go online afterwards, and I need to set iptables myself for port forwarding too.

Today I upgraded it to X-OpenWrt which is an extension to OpenWrt with a better looking and more powerful web interface, now I can use the web interface to set most of the things previously provided on dd-wrt.

Seems FON router firmware is based on OpenWrt... so let me try to flash my buffalo router into FON router tonight. Hope it is OK.

2006/11/19

繩子魔術

星期五晚的魔術堂學了幾個繩子的魔術, 分別是:
1. 單手閃電打結 - 只用一隻手把繩子拿著,然後一揮手,繩子就打了一個結。
2. 使觀眾打結失敗 - 和觀眾一起拿著一條繩子,教觀眾打結,但無論做多少次,觀眾打結都失敗。
3. 繩子"吊頸"兔脫 - 把繩子套在頸上打結,看似很結實,一拉,繩子穿過頸項鬆掉。
練好些有機會表演一下!

2006/11/17

FON router

今晚上堂之前去了旺角拿 FON router, 回家後安裝好, 很快就用得了, 現在我是 linus 啦~!
聽日出街 scan 下有冇 hotspot 用先得!

2006/11/15

即時舊生會

昨天晚上約了 梅姐、Angel、Roy 和 Ken 晚飯,聽到 Angel 和 Roy 講新環境有多好,真令人羨慕!果然每一個離開的人都有好前途。

2006/11/14

FON

今天加入了 FON 的社群, 星期五去拿 FON router, 咁就可以在街上用其他 FON 用戶的連線上網了, 好方便呀, 只要 $44 就得了, 概念不錯!

2006/11/12

今日唔知點解個心硬係有d 唔舒服, 感覺怪怪的, 希望沒事發生...

A Long Long Day

兩點出去北角, 食午餐.
之後玩一陣, 坐一陣.
四點八返油麻地上設計堂.
七點食晚餐, 傾計.
八點半去尖沙咀 "德國啤酒節" 睇 show, 玩.
十一點幾完 show, 走人.
十一點半坐最後一班尖沙咀至中環天星小輪.
十二點送人返屋企.
一點返到屋企.
幾開心的一天, 點解"幾"? 因為佢都未開心番.

2006/11/11

香煙消失魔法

今堂是第二堂的魔術堂, 老師教了一個"香煙消失魔法", 當然只係收埋了在手上啦!
教了一下之後, 我竟然被點了做第一個demo的同學, 哈哈, 練都沒練過, 當然係華麗地失手啦~
我要練好些先得! 要表演畀朋友看.

2006/11/09

您就是靈感 - You're the inspiration

最近聽到的,一首幾感動的歌 - You're the inspiration。

You're the inspiration
Chicago


You know our love was meant to be
The kind of love to last forever
And I want you here with me
From tonight until the end of time
You should know
Everywhere I go
Always on my mind
In my heart, in my soul, baby

You're the meaning in my life
You're the inspiration
You bring feeling to my life
You're the inspiration
Wanna have you near me
I wanna have you hear me saying
"No one needs you more than I need you"

And I know
Yes I know that it's plain to see
So in love when we're together
Now I know
That I need you here with me
From tonight until the end of time
You should know (Yes, you need to know )
Everywhere I go
You're always on my mind
You're in my heart, in my soul

When you love somebody
'Til the end of time
When you love somebody
Always on my mind
No one needs you more than I

MacBook with Core2Duo CPU released!

昨晚靜靜地推出了。

其實我自己的睇法就係覺得,而家我呢一刻買左部機,兩個月(唔算短日子嘛?)就無啦啦出左另一部快D但一樣價錢的出黎,都幾唔開心的。如果真係兩個月,都唔緊要,至少享受了兩個月。

當初我買iBook G4,一星期後有新版,一樣價錢有埋 bluetooth,CPU 又快D。OK Fine, 早買早享受嘛,但如果11月6號買左部 MacBook CoreDuo 的人 真係喊得出囉...

實質個問題係, Apple (其他公司我就唔知) 好似唔會有咩 product schedule 咁,無啦啦又 upgrade,有少少預告都好丫... 而家買電腦好似買股票咁。雖然我知佢唔係公益事業,佢都要賺錢...

純個人感覺 :D

2006/11/08

望.穿.秋.水.

5點左右收到一個電話,等了很久很久了,終於等到!
是萬信打電話來叫我明天可以拿回我的可憐的NDSLite,等了兩個月!
我來了~~

2006/11/07

新game: Elite Beat Agents


今晚又忍唔住去了睇games, 諗住買二手, 點知冇乜邊隻o岩心水, 又見到"美版應援團" - EBA 幾平, $240, 就買左了, 好正呀, 有排玩!!

肥田主題曲

幾有feel, 記低先!

主題曲:醜得漂亮 [許志安+胡杏兒]
作曲:陸偉峰
填詞:林若寧

優美才容易獲取所爱 總要和各界眼光比赛
長相你叫我怎麼改 自尊心也被人笑聲掩蓋
只怪凡人用眼睛戀愛 身世才淪為被愛的障礙
觀眾眼界線改不改 亦好好對待叫人人意外

誰完美的標準 怎去量度幸福的輕重
一千噸 這樣重 張開手 能用力地抱擁

天生不算做漂亮 都多得你愿見諒
當醜小鴨被撇下 流亡 然後又被領養
人從來天生天養 然而難得你對我緊張

不必選美覓對象 醜樣都這樣漂亮
不必當世俗偶像 這世界誰亦有被愛的福相

蒙起這雙眼冥想 誰會讓你戀上 忘記言論重量

總要被旁人目光批鬥 得我憑快鏡遇上佳偶
所愛 我怕我講出口 會給婉拒換來我心傷透

關愛 仍然是你所尊有 總有 情人明白你小宇宙
給我抱抱你一雙手 另一種美貌 我全部接受

誰完美的標準 怎去量度幸福的輕重
一千噸 這樣重 張開手 能用力地抱擁

天生不會做偶像 都多得你愿見諒
彷佛整個鬧市内 完全無人剩下我兩
評頭和品足咀臉 原來無需要太過緊張

(人人能愛上,人人能結雙)
請不必背負這樣 醜樣都這樣漂亮
心底可拼命發亮 這世界其實有萬百種色相

旁觀者總會了解 何以共我戀上 誰會是最理想

天生不算做漂亮 都多得你愿見諒
當醜小鴨被撇下 流亡 然後又被領養
人從來天生天養 然而難得你對我緊張

不必選美覓對象 醜樣都這樣漂亮
不必當世俗偶像 這世界誰亦有被愛的福相

蒙起這雙眼冥想 誰會讓你戀上 忘記言論重量

2006/11/04

忙碌 Saturday

今日下晝有3項活動.
2點和 Wilson 去了旺角買 NDS 俾佢老婆玩, 哈哈哈, 又多一個人買機了, 真好!
4點50分去油麻地, 和 Wendy 上設計科, 估不到上堂是沒有電腦的, 不過都ok啦, 但係功課同project都有, 好認真呢.
上完堂7點, 趕返元朗同阿明, Anna, Josephine, Johnny, Claudia睇 "地海傳說"和食宵夜, 套戲唔講了, 摸不著頭腦的劇情, 宵夜在元朗的大排檔, 幾好味呀.
返到屋企, 終於見到部 iPod Shuffle 了, 等了個多月.






咁唔知我部 NDS Lite 幾時返來呢...

2006/11/03

魔術堂第一課

今晚是魔術入門的第一課, 主要是講解魔術師的規則, 表演要注意的事項和怎樣能表演得令觀眾投入和有氣氛.

AIGLX on Ubuntu on iBook

Install Ubuntu 6.10 on iBook using firewire harddisk, it is running fine, but when I look for AIGLX installation, seems there is no powerpc packages for me, so I use pbuilder to build packages for beryl and emerald myself.
The beryl package's dependency is not very good, after some modifications it can build, but, the same problem as FC6, blue screen after running beryl-manager, so I need to repackage xserver too.
Using the same patch, I made xserver and it is working very fine now!
On the other hand, FC6 can use my firewire harddisk without crashing now, seems due to partitioning problem before, or some reiserfs related bugs, as the home partition on my home desktop is reiserfs and encountered nearly same problem in FC6...

2006/11/01

Fedora Core 6 with AIGLX on iBook

Finally found the reason of having a "blue" screen upon starting beryl-manager, it is due to some stupid coding in Xorg server, which has not considered big endian architectures, like PowerPC.
The patch to add is:
--- xorg-server-1.1.1/GL/glx/glxdri.c.ppc 2006-11-01 14:25:42.000000000 +0800
+++ xorg-server-1.1.1/GL/glx/glxdri.c 2006-11-01 14:29:40.000000000 +0800
@@ -401,7 +401,12 @@
if (pixmap->drawable.depth >= 24) {
bpp = 4;
format = GL_BGRA;
- type = GL_UNSIGNED_BYTE;
+ type =
+#if X_BYTE_ORDER == X_LITTLE_ENDIAN
+ GL_UNSIGNED_BYTE;
+#else
+ GL_UNSIGNED_INT_8_8_8_8_REV;
+#endif
} else {
bpp = 2;
format = GL_RGB;

At the same time, it is my first time to build RPM for Fedora Core 6, using pbuilder like program called "mock", it is so easy and tidy!