richliu’s blog

Linux, 工作, 生活.

richliu’s blog header image 4

eXtreme Programming

September 10th, 2005 · 1 Comment

這邊講的 eXtreme Programming 不是極緻軟體製程(就是找人盯你寫程式那一種)
而是取用 schee 的 極限部落格經驗 eXtreme Blogging的意思.
在何種狀況下可以寫程式

Tags: Linux, Programming

[Read more →]

Tags: Linux · Programming

Subversion 用 E-mail 寄送更新通知.

July 26th, 2005 · No Comments

主要是參考 yungyuc 的 寄送 subversion repository 的更新通知
在多人使用, 和多個 Repository 的環境下
如果寄件者要改成 Commit 的人, from_addr 要改成如下
from_addr = %(author)s@example.com
如果有很多個 Repository . 那要怎麼辦呢?
在 mailer.conf 的最下方有說明, 有解決方案, 我自己的解決方案是這樣

[another-example]
# # commits to personal repositories should go to that person
for_repos = /home/svn/(?P[^/]*)
commit_subject_prefix = [%(who)s commit]
我的 Repositroy 是放在 /home/svn, for_repos 取出變數值
commit_subject_prefix 就是信件標題, 這樣才分得出是那一個 Project 用的.
python 似乎變數名稱要加 s 才會正常, 所以請記得是 %(who)s [...]

[Read more →]

Tags: Programming

CMMI 中文版

June 1st, 2005 · No Comments

http://www.sei.cmu.edu/cmmi/translations/trad-chinese/models/
記錄一下. 或許未來會用到.

Tags: Programming

[Read more →]

Tags: Programming

Kdevelop PHP Subversion Support .

May 7th, 2005 · No Comments

Gentoo 的 Kdevelop 預設很多 support 是 disable 的.
難怪我一直找不到那邊可以設定 Subversion 的選項
今天才找到 … -_-!
在 make.conf 的 USE 加上 “php subersion” 就可以啟動 kdevelop 的 subversion 及 php support .
其他還有.
IUSE=”ada clearcase fortran haskell java pascal perforce perl php python ruby sql subversion”
kdevelop 愈用愈順手了 :p

Tags: Gentoo, Programming

[Read more →]

Tags: Gentoo · Programming

CPR

April 28th, 2005 · No Comments

我很久以前提到的一個名詞 CPR, 我說這是每一個 Programmer 必備技能
這個 CPR 不是心肺復甦術
而是 Copy Paste Replace . 相信很多人看了, 心有戚戚焉……
這己經是五年前講的, 今天還是覺得很正確呢….
剛剛和 Priv 聊天才想起來, 特此紀念…

Tags: Programming, 隨手札記

[Read more →]

Tags: Programming · 隨手札記

慶祝 PageRank 到 3 ..

April 23rd, 2005 · 20 Comments

賀 PageRank 達到 3 ,我就來唸一下最近工作上的鳥事吧…..

Tags: Hardware, Programming, trumpery

[Read more →]

Tags: Hardware · Programming · trumpery

kdbg

April 22nd, 2005 · No Comments

kdbg一個 gdb 的 frontend . for KDE .
雖然功能不如 ddd
強大, 但是介面易單, 容易上手, 試用了一下, 應該可以將 ddd 移掉了 …… XD

Tags: Programming, UNIX

[Read more →]

Tags: Programming · UNIX

丟臉丟大了…….

March 23rd, 2005 · 1 Comment

最近在研究 dbus
Gentoo 安裝是很簡單啦,就是下一個
#emerge dbus
就可以了
我在寫第一隻小程式的時候,竟然少一個 “dbus-arch-deps.h”
我本來將 dbus 的 tar 解開,然後丟進去 /usr/include/dbus-1.0/dbus 下就可以 compile
因為以為是 Gentoo 有問題,就在那邊的 Bugs 開了一個dbus 0.23.4 lost include file “dbus-arch-deps.h”
結果人家說 duplicate 就算了.
而且我的用法還是錯的
要用 bug 80314 的一段話

errr.. I’m both wright and wrong. Everything is installed fine so long as you use pkg-config as said by foser. Don’t spank me, I’m an [...]

[Read more →]

Tags: Gentoo · Linux · Programming

Linux Device Driver 3rd

March 16th, 2005 · No Comments

在 Jesse 的 Blog 看到的Linux Device Drivers 第三版
我這本書有中文版(第一版), 英文版(2nd), 沒有想到己經出了第三版了
第一版和第二版主要是查在 USB Function
第三版主要是在 2.6.10 , 我認為如果你有在 2.6.x 版開發 Driver , 應該買一本.
下載點在http://lwn.net/Kernel/LDD3/

Tags: Hardware, Linux, Programming, Software

[Read more →]

Tags: Hardware · Linux · Programming · Software

Reconfigureable Computer

January 7th, 2005 · No Comments

Linux Journal 2005/January 內有一篇文章是講 Reconfigure Computer .
主要概念就是將 FPGA/CPLD 做成可以使用一般的程式去設定成特殊的 function. 所以你寫一隻程式, 很多 function 可以利用 FPGA/CPLD 去達成.

Tags: Hardware, Programming

[Read more →]

Tags: Hardware · Programming