Archives: September, 2005

我討厭~~~~~~

Friday, September 30th, 2005

跟廢渣一組!
(more…)

好忙好忙啊~~~

Wednesday, September 28th, 2005

每天過著工作15個小時的生活~
會不會太誇張啊…

Linux Program Library Howto

Thursday, September 22nd, 2005

好文一篇:)
http://www.linux.org/docs/ldp/howto/Program-Library-HOWTO/index.html

主要我是想知道使用alternative shared library的方法
只要設定LD_LIBRARY_PATH這個環境變數
把你要search shared library的路徑用”:”分隔在這個環境變數裡就OK了~~~^^b

Use SDL to play streaming media

Thursday, September 22nd, 2005

Here is some information for me to do the mp3 streaming stuff. If the mp3 is ok, I will move onto video streaming work.
(more…)

SELinux

Monday, September 19th, 2005

最近把實驗室的web server重灌
在裝phpbb的attach mod時
忽然一些include的程式出現permission denied的狀況
即使path沒錯,rwx permission全開仍然沒變
最後才知道是因為SELinux被啟動的關係
結果google到要兩行指令,下完就沒事了

chcon -R -t httpd_sys_content_t /var/www/html
chcon system_u:object_r:httpd_sys_content_t /var/www/html

不過SELinux在幹嘛還是不確定
有空再看好了~

Gentoo Bug Report

Friday, September 2nd, 2005

http://bugs.gentoo.org/

在這裡可以找和提出在gentoo裡的bug

現在才知道…:P

pthread_cond_wait & pthread_cond_signal…

Thursday, September 1st, 2005

這一類的函式是拿來在thread之間
根據某些情況來sleep or wakeup彼此的函式
不過很慘的是
我的某個project要和mplayer結合
所以在mplayer內部的code加入了pthread_cond_*的函式
結果完全不work!!
(more…)