2007/02/28

退稅+股市

兩樣野都唔係好關我事.
人工不算高, 稅交得不多, 退也退得不多.
股票又冇興趣買, 跌到幾低, 升到幾高我都冇錢收/唔駛賠.

2007/02/26

BIOS fixed

Finally I went to 298 after lunch today.
The shop keeper helped me to use EPROM burner to burn the correct data to my BIOS chip, the process is less than 2 minutes.
It costed $80...
And now my desktop is back to life! Yeah~

BIOS error...

My motherboard shows nothing even I plugged a VIA SATA adapter into it, seems due to BIOS not support booting from it. In order to make my card can boot up, I found some people has tried to add the VIA SATA rom file into the motherboard BIOS code to make it bootable.
After several research, I downloaded the SATA ROM and also my motherboard's BIOS, AMIBCP for editing BIOS modules, but seems AMIBCP cannot work correctly on my original BIOS code.
Then I tried to use another recommended tool - mmtool, but seems it will report some strange error too (like free space in BIOS = 2xx K which is impossible).
Finally I ignore and then add the SATA ROM into the BIOS... then flash it, of course, it didn't work afterward, now I need to find a shop to reflash the BIOS for me, poor!

2007/02/24

人日拜年

今日人日,去了Leanne & Ken 家拜年打邊爐。
好耐冇去過沙田新城市廣場了,改變很大! 幾乎認唔到路。
佢地屋企唔係好大好大,但間隔做的好,冇勉強間開房間,感覺闊落好多。
5個人打邊爐,狂食,食得好飽好飽,仲有得剩添!
之後坐 Leanne 車去科學園行,再車我地出荃灣,不過唔係好識路,都幾驚險,哈哈~

Flash player with GCIN

Flash player 9 推出好一段日子了, 我一直也用不到, 每次安裝完成後, 一到了有 flash 的網頁, firefox 就會死掉.
今天終於找到元兇了! 原來是 GCIN... 更新了GCIN到最新的版本之後, flash 能用了. Yeah!

2007/02/22

Metisse

玩了 compiz 和 beryl 好一陣子了,其實除了美觀之外,桌面還是一個桌面。
偶然發現 Mandriva 有新的 3D desktop - Metisse, 就 download 來試試了。
比 beryl 還要有型! 可以把窗立體的擺來擺去,任意轉動到任何角度,什至反轉,download source code 裝在我的 gentoo 試試看。

2007/02/21

開工大吉

今日係過年後第一日返工,老細話十一點開工好,所以今朝我就同阿媽去食早餐了。
吃飽後慢慢坐960返工,好似好少人。
十點左右就回到公司了,玩玩遊戲,聽聽歌,等到十一點就開工了。
長假期後第一天返工,當然有好重的holiday mood啦! 十二點就到酒樓食開年飯,好開心,好多開工利是收! 哈哈~
準時又放工,明天開始 full gear 做野了。

2007/02/20

赤口

今日係赤口,原本係去舅父家拜年,後來想過跟明明去行南丫島,最後決定同中學同學去玩。
先去睇「翻生侏羅館」,笑死了,太好笑啦,不過中間都有地方係感人的,唔睇係損失!
之後去了AMF打保齡,當然又係落坑多過中啦~ 哈哈哈。
最後到了富泰打牌和叫外賣,Pizza Hut + KFC 打孖上! 食到好飽呢。
明天要返工了,不過11點才開工,真爽!

2007/02/19

豬事大吉

今日年初二, 自從新發村清拆, 父系的親戚搬了過富泰, 多年來, 都是會到大伯度飲茶的, 今年也不例外, 又收好多利是了~ 呵呵呵.
明天最後一天新年假期, 去舅父家, 然後和中學同學去睇戲, 打保齡和吃飯.

2007/02/18

豬年大吉

新的一年又到了! 今年肖馬的人運氣會好好!
希望財色兼收~ 哈哈哈~

2007/02/16

sxc file generation

At the beginning I think I need to output excel files by my program, so I searched a php function for spreadsheet manupulation.
Today I really need to write that part to output a form from the database, but I found that the format I need is OpenCalc (sxc) format... which is basically a zip archive containing some xml files.
After a brief search and no result, I decided to unzip the empty form and make a "template" so that I can use simple search and replace method to fill in the required field, and seems I've done most of the difficult part now!
Missing part is to delete record from database, and a simple UI for querying the data, like by time, by vender, by product, etc.
Happy new year!

2007/02/14

mysql_fetch_assoc

搞了半天的 php-mysql, 寫了很多 code 來把 mysql query 的結果放入一個 array, 今晚找找資料竟然發現原來有 mysql_fetch_assoc(result) 這個 function 可以把 1 個 row 的 result 放入一個 array 中! 明天改寫!

2007/02/13

突然

愛得太遲

曲:楊鎮邦@宇宙大爆炸
詞:林夕
編:雷頌德
監:雷頌德

我過去 那死黨 早晚共對 各也紮職以後 沒法 暢聚
而終於 相約到 但無言共對 疏淡如水
日夜做 見爸爸 剛好想呻 卻霎眼 看出他 多了皺紋
而他的蒼老感 是從來未覺 太內疚擔心
最心痛是 愛得太遲 有些心意 不可等某個日子
盲目地發奮 忙忙忙其實自私
夢中也習慣 有壓力要我得志
最可怕是 愛需要及時 只差一秒 心聲都已變歷史
忙極亦放肆 見我愛見的相知
要抱要吻要怎麼也好 偏要推說等下一次
我也覺 我體質 彷似下降 看了症得到是 別要太忙
而影碟 都掃光 但從來未看 因有事趕
日夜做 儲的錢 都應該夠 到聖誕 正好講 跟我白頭
誰知她開了口 未能挨下去 已恨我很久
錯失太易 愛得太遲 我怎想到 她忍不到那日子
盲目地發奮 忙忙忙從來未知
幸福會掠過 再也沒法說鍾意
愛一個字 也需要及時 只差一秒 心聲都已變歷史
為何未放肆 見我愛見的相知
要抱要吻要怎麼也好 不要相信一切有下次
相擁我所愛又花幾多秒 這幾秒 能夠做到又有多少
未算少 足夠遺憾忘掉
多少抱憾 多少過路人 太懂估計 卻不懂愛錫自身
人人在發奮 想起他朝都興奮
但今晚未過 你要過也很吸引
縱不信運 你不過是人 理想很 愛於咫尺卻在等
來日別操心 趁你有能力開心
世界有太多東西發生 不要等到天上俯瞰

2007/02/12

楊千嬅 - Simply Me

近年已好少買CD, 不過今晚都係忍不住買了楊千嬅的"Simply Me" 新曲+精選, $115, 都唔算貴!

PHP programmer?

I need to write a web program for my company, to process some form data (in spreadsheet) to database, and then manipulate them, like modifying information, adding additional columns and generate reports.
As a web program, I consider PHP as it is not difficult to write and can connect to database easily.
This is the 3rd PHP program in my life, it already has many new functions that I never use, like file uploading, html form processing and external library to parse excel files.
Most interesting is, I seldom write program in the previous company but write a lot here. And I still can write nice programs, yeah!

2007/02/10

Ray 大婚之喜

今日係阿 Ray 同 Cindy 大婚之喜,下午四點在中大崇基教堂行禮,不擺酒。
我兩點半左右就到了,同學們都陸續到達,在教堂外影相談天,很久沒見大學同學了! 不過大家都沒有很大的變化呢。




通常在教堂的婚禮都比較沉悶,但今次有少許分別,一來歌曲比較好聽,二來神父很搞笑,講很多笑話,全場的觀眾都很開心! 結果這次的婚禮於五點半禮成。
之後我去了奧海城和明明吃飯,Double Star 不錯! 不過她習慣早睡早起,因為小學要7點多回到學校,所以吃過飯談了一會就回家了,回到家剛好看後半集的「爭霸」大結局。

2007/02/09

路邊雞

今晚同舊同事去九龍城「路邊雞」飯店食飯,食物不錯,但地下真係又滑又油膩,好在冇滑倒~ 哈哈。
第一次搭61X 返屯門,以為好慢啦,原來都OK快啊,行鑽石山、龍翔道、西九龍返屋企,都幾方便呀,只係要去友愛轉輕鐵。
希望全部舊同事都可以搵到好工啦!

2007/02/07

Busy days

Nearly 1.5 month after changing job, the things are settled down well, but compared to the old place, it is 10 times busier, so sometimes other people may think I am a bit slow, hope I can catch up the "speed of the real world" soon.

2007/02/05

不幸買到 Win-printer

今日去買公司用的 printer, 食完 lunch 去了 298,買了一部好便宜的 HP LaserJet 1020, 大約 $12xx。
抬到返公司,一試,唔得,以為是 USB 問題,換了第二部機,又唔得,開始上網睇資料,
發現這部 printer 竟然要用 driver support 先印到野,本身唔係 postscript 類型 printer...!
Oh my god...

不過,好在找到一個 driver 可以用到,只要在 power on 部 printer 之後 upload firmware,
再用 foo2zjs driver 就可以印得到。
http://foo2zjs.rkkda.com/

但係由於係公司用,唔可以太複雜,結果都係要加錢換第二個“容易用”的 model...

2007/02/04

新game - picross



Picross 是一隻好耐之前的遊戲, 根據方格兩邊的數字, 估計哪些格子要填色, 最後填出一張圖畫出來.
NDS 上用筆玩, 感覺一流! 今日玩了大半天~ 哈哈哈, 其實有d都幾難!!

2007/02/02

好運又黎

今朝先好運地遇到超高 turnip price, 估唔到今晚一樣咁好運.
前幾日知道有 Mario 系列的 NDS 卡帶扭蛋, 估唔到今晚去上堂,
路經7-11, 竟然畀我見到個扭蛋機, 立即在7-11換了20元, 扭了2個,
再在涼茶舖換多20元, 又在報紙檔換多10元, 共扭了5個, 竟然全部唔同!



全套係6個, 一次過畀我扭到5個, 正!!

659


玩左半年 Animal crossing, 未試過去到咁高 Turnip price!! 659!!
但... 我今星期冇買!!