Murmur..

Sachiko amy Kawaii accumsan urna in mi. Aenean elementum egestas tortor. Donec neque magna, auctor a, dapibus sit amet, facilisis sit amet, ligula..

Archive for February, 2007

To BCC or Not to BCC

Saturday, February 24th, 2007

Read the rest of this entry »

真邪惡的 FreeSBIE 2

Saturday, February 24th, 2007

若顧慮到隱私問題,可以考慮 FreeSBIE(FreeBSD 6.X based) 2.0 起預設有 Tor+Privoxy+PF(當然啦,還可以自己挖 SSH tunnel 來走秘道),以下摘自 FreeSBIE manaul:

2.5 Using Tor and Privoxy under FreeSBIE
Privacy is important and that is a fact. You should not want to let other people know what you do every moment of your life. Nor you want other people to know what websites you visited, where did [...]

Read the rest of this entry »

Ubuntu 內建的笑話?

Saturday, February 17th, 2007

在《次世代 Linux - Ubuntu 玩全手冊》這本書看到蠻多錯誤,茲舉例如下:

P8.33

Ekiga 是 Ubuntu 內建的網路視訊電話,...
安裝方式:apt-get install ekiga
所謂的『內建』一般應該是 built-in ,也就是連 apt-get install 都不必的意思
如果照作者這樣子講,那幾乎不只 Ubuntu 其他 Linux distro. 跟 FreeBSD 等也都算是『內建』了 @_@
同章節內卻又幾乎不對其他一樣要用 apt-get install 來安裝的程式,稱之為『Ubuntu 內建的...』
難道,這是『Ubuntu內建的』笑話嗎? 抑或者言必稱:『Ubuntu 內建的...』
改天若我們要介紹某某作者,是否也要介紹為:『各位,這位是 Ubuntu 內建的...』#_#;

P14-24

;啟用 ASP Style tag,通常用在早期使用 FrontPage 開發 ASP 程式時,
;用 <? phpinfo(); ?> 這種 tag 來取代 <? phpinfo();?> 這種正規的 tag
asp_tags = Off
正確 ASP Style [...]

Read the rest of this entry »

ipoque 這份報告在這邊,它提到 2006 年 10 月份時 P2P 已經實際佔據德國將近白天總流量的 30% ,晚上則約為 70% 總流量。
此外下面這張圖可以看到各式比較常見的 P2P 軟體,以 BT(BitTorrent) 占最大宗,其次為 eDonkey 最後則是 Gnutella 以及其他 P2P 協定。
其中 BT 跟 eDonkey 佔了 P2P 總流量的95%

然後,分析 BT 內主要是哪些內容在流通呢?看來幾乎大多是影片類型的檔案為大宗...

另外以 BT 內有分享的檔案數多寡來作分析...

ps.這裡有 《 P2P Survey 2006 – Extended Abstract》摘要報告

Read the rest of this entry »

MySQL 宣布對 3.23, 4.0, 4.1 終止維護..

Wednesday, February 14th, 2007

在 Bojack’s Blog 這邊看到 MySQL 終於也對壽命頗長的 3.23 以及 4.0、4.1 停止維護了,雖然說 4.0 跟 4.1 還會有對 Security Level 1 的漏洞繼續維護,
但是大家還是儘早升級吧 XD...出來跑的,遲早要還的
公司的機器也都要找時間升級一下...

Read the rest of this entry »

以 ipfilter 檔 Foxy/gnutella

Wednesday, February 14th, 2007

在 Babak Farrokhi(farrokhi@) 的 blog 上看到的以 ipfw 來檔 P2P 方式,於是,稍微改一下 ipfilter 的設定檔/etc/ipf.rules 內加上
## Foxy/gnutella
block out on fxp1 proto tcp from any to any port = 6346
block out on fxp1 proto udp from any to any port = 6346
再重新載入設定檔
# ipf -Fa -f /etc/ipf.rules
這樣子就清爽多了..
ps.可能某些環境下順便把 6347 也一起檔也可以,他 blog 上面有些人留下各種軟硬防火牆設定法,可以參考看看。

Read the rest of this entry »

graphviz 這畫圖工具是由 AT&T 實驗室以及 Bell 實驗室(現在的 Lucent Technologies 公司)所弄出來的一堆東西之一,
這邊有許多奇技淫巧可以參酌搭配服用。
以下僅介紹基本常見用法,詳細用法請參閱 graphviz 文件:
首先寫個檔案,假設叫做 sample.dot ,
◆ sample.dot 內容為:
digraph "" {
label="\nThe FreeBSD Update Flow";
fontsize=20;
fontcolor=navy;
bgcolor=pink;
style=filled;
color=lightgrey;
node [style=filled,color=yellowgreen];
"csup or cvsup" -> "cd /usr/src" [ label = "src tree" ];
"cd /usr/src" -> "make update"
"make update" -> "make buildworld"
"make buildworld" -> "make kernel (make buildkernel ; make installkernel)"
"make kernel (make buildkernel ; make installkernel)" [...]

Read the rest of this entry »

重建 /dev/null

Monday, February 5th, 2007

mtPaint 真機車,本來想 port 到 FreeBSD 上面看看,一時不察,結果 /dev/null 被 mtPaint 的 configure 給閹了..=_=
罪魁禍首出在下面這一行:
ld -$1 -o /dev/null -L/lib -L/usr/lib -L/usr/X11R6/lib -lX11 -lz -lm >& /dev/null
/dev/null 可是蠻重要的呀,既然被毀了,那就想辦法重建回來,
於是先到一樣同是 FreeBSD 6.x 的機器上看一下原本 /dev/null 相關屬性為何:
chinsan@BSD6 </dev> ls -al /dev/null
crw-rw-rw- 1 root wheel 0, 26 2 5 08:46 /dev/null
其中 crw-rw-rw- [...]

Read the rest of this entry »

ports-mgmt/portscout

Sunday, February 4th, 2007

由於有些軟體專案並未提供新版通知,也沒在 SourceForge、freshmeat 有註冊更新通知,也沒提供相關 release 的 mailing list。
所以,前陣子 shaun@ 同學的 portscout 一推出來就頗受大家(maintainer、以及一些 port fury)歡迎,因為如此一來許多 port maintainer 就不必緊盯著各軟體專案的網頁是否又有出新版了,但他弄的 portscout 有些缺憾,像是由於他弄的 portscout 網站更新期有點長(一開始好像是每週更新一次,但由於每次跑都相當耗頻寬,所以到後來變成大約一個月或半個月一次)、沒 source code 可供研究。所以他今年 1 月 27 日終於把 portscout 丟到 port tree 內成為 sysutils/portscout(改為ports-mgmt/portscout ),以供有志之士使用。:p
好心的 rafan@ 長輩前天左右也在這邊弄了一份 portscout,如果你也是有些 port 的 maintainer 的話,也可以寫信給他,請他加入檢查(目前他更新頻率是每天二次)。
如果裝完 sysutils/portscout 之後,不知道後續如何設定的話,可以參閱 shaun@ 這邊寫的說明。
Updated: 現在 pav@ 已經把跟 port 的管理方面都移到新的 ports-mgmt 分類去了,所以是 ports-mgmt/portscout 囉。

Read the rest of this entry »

有點久沒看電視,今晚看 HBO 剛好看到以前『淘氣阿丹』卡通的電影翻拍..
以前中視每週三下午六點會播的『淘氣阿丹』卡通歌詞、歌曲在這... 不過現在聽起來卻有點...XD
HBO 的介紹在這

Read the rest of this entry »