房事

事隔將近一年,今天晚上逛網路的時候,看到這幾篇,突然有種奇怪的感覺…很討厭的感覺…damn…
三萬元的教訓-天母夢碎(PART I)
三萬元的教訓 — 天母夢碎 (PART II)
三萬元的教訓-天母夢碎(PART III)
三萬元的教訓-天母夢碎(PART IV)
三萬元的教訓-天母夢碎(PART V 完結)
自己買房子的經過跟他們所遇到的情況,還…真的是…很相像!!
所以,那就是說….可惡~~
原來自己真的是涉世未深…

斷句的巧妙

這篇文章裡面的兩首詩詞又是佳作~

清明时节雨,
纷纷路上行人,
欲断魂。
借问酒家何处,
有牧童,
遥指杏花村。

黄河远上,
白云一片,
孤城万仞山。
羌笛何须怨,
杨柳春风,
不度玉门关。

以前也有看過類似的

千山鳥 飛絕
萬徑 人蹤滅
孤舟 簑笠翁
獨釣寒江 雪

甚至還自己創作過..

白日依山盡黃河
欲窮千里入海流
目送孤枝隨波去
晚霞卻已灑滿樓

希望以後還有時間來搞這些東西,中國的文化真的是很博大精深….

GeNToo

What is GeNToo??
It means “Gentoo on the NT kernel”

夠神奇吧…
把 kernel 換成 NT kernel, 然後其他部分改用 Gentoo Linux 的軟件,我只能說,這些外國人還真是有創意!!

詳情請看這裡:GeNToo – Gentoo on the NT kernel

P.S. 後來才知道,這是愚人節的玩笑。

扭曲變形的樣子

當別人覺得你是這樣,而你自己也覺得是這樣的話
那就表示真的是很嚴重…

Jerry(Phantom of the Opera) 說:
“一個井底的青蛙, 跳出這個井, 赫然發現~這個世界是很大的~每天在井底被水桶砸頭的日子果然很蠢, 而且舌頭一伸~可以吃到很多蒼蠅, 而且曬太陽的感覺真是舒服”
mimi, 宮部美幸, 理由. 說:
謝謝
Jerry(Phantom of the Opera) 說:
YA~又騙到飲料一杯~雖然不知道是喝什麼^^V
mimi, 宮部美幸, 理由. 說:
🙂
mimi, 宮部美幸, 理由. 說:
其實前幾天有認真的想了很久
Jerry(Phantom of the Opera) 說:
有什麼比較建設性的想法嗎
mimi, 宮部美幸, 理由. 說:
1. 改變自己 2. 應該會在七月閃人
Jerry(Phantom of the Opera) 說:
建議你
Jerry(Phantom of the Opera) 說:
如果想閃,要就早一點要就晚一點
Jerry(Phantom of the Opera) 說:
七月的時間不好,工作會不好找
Jerry(Phantom of the Opera) 說:
大部分的企業不會在那個時候徵才
mimi, 宮部美幸, 理由. 說:
真的呀,不過可能會休息一個月
mimi, 宮部美幸, 理由. 說:
邊休息邊找
Jerry(Phantom of the Opera) 說:

Jerry(Phantom of the Opera) 說:
你確實需要休息
Jerry(Phantom of the Opera) 說:
根據我的觀察
Jerry(Phantom of the Opera) 說:
你的整個人的心都被摧毀了
mimi, 宮部美幸, 理由. 說:
差不多了…
Jerry(Phantom of the Opera) 說:
跟當初的那個樣子差太多
mimi, 宮部美幸, 理由. 說:
去洗澡了…
Jerry(Phantom of the Opera) 說:
根本是扭曲變形了
mimi, 宮部美幸, 理由. 說:
@_@

Software requirements specifications

IEEE Standard 830
IEEE recommended practice for software requirements specifications
A good example: http://www.fsai.fh-trier.de/~federhen/dippaper/docu/11_Software_Requirements_Sp.html
In “Software Requirements – MS Press”, Page 155
1. Introduction
1.1 Purpose
1.2 Document conventions
1.3 intended audience and reading suggestions
1.4 project scope
1.5 references
2 overall description
2.1 product perspective (展望,roadmap)
2.2. product functions (一般以條列為主)
2.3 user classes and characteristics (誰會用這產品)
2.4 operating environment
2.5 design and implementation constraints
2.6 assumptions and dependencies (可能會用到的 library/components…)
3 external interface requirements
3.1 user interfaces
*GUI standards or product family style guides that are to be followed
*Screen layout or resolution constraints
*standard buttons, functions, or navigation links that will appear on every screen( such as help button)
*shortcut keys
*error message display standards
more details can be describe in a separate user interface specifications, not here.
3.2 hardware interfaces
3.3. software interfaces
the interfaces which export to other software or component
3.4 communications interfaces
4. system features
organize this section by use case, mode of operation, user class, object class, or functional hierarchy.
4.x system feature X
4.x.1 description and priority
4.x.2 stimulus / response sequences
4.x.3 functional requirements
5. other nonfunctional requirements
5.1 performance requirements
5.2 safety requirements
5.4 software quality attributes
5.5 business rules
5.6 user documentation
6. other requirements
appendix a: glossary
appendix b: analysis models
appendix c: to-be-determinded list

腦髓地獄

終於將腦髓地獄看完了…
嚴格來說,我覺得並不算是推理小說,這也是被稱作”失格派推理小說”的緣故…
前面有點枯燥,但是讀到後面會有想讓你一口氣讀完的衝動…
但是很可惜,最後並沒有所謂的結局,而是可能性高達90%的繼續.
如果不是推理小說熱愛者,這本我看就免了,個人覺得不適合一般人來看…

mod_mono_server init script

為了要讓 mod_mono_server 能在開機時自動啟動,就得自行撰寫 script.
自己嘗試了幾次,總是不如己意.大概是自己的 bash script 功力不到家吧~
只能利用 Google 大神去搜尋別人的成果.
很幸運,已經有人寫出來了.有好幾種版本:
1. mono-server.init, 這個 script 相當不錯,已經可以讓你在配置檔(/etc/xsp/mono-xsp-hosts.conf)裡面設定 host 了.同時也已經收錄,作為 Debian 官方 xsp 套件的一部分.
2. local-xsp, 這個 script 也是 for Debian 的,但沒辦法設定 host.
3. mod_mono, 我是在這兒找到的,這個可以在 fedora/red hat 裡面用,沒問題.
我最後是用了 3 的 solution,並加上了一些修改,不過你應該看的出來,更動並不大就是了 🙂

#!/bin/sh
#
# chkconfig: 2345 99 01
# description: Provides ASP.NET functionality for Apache
# mod_mono Start the mod_mono-server
#
NAME=aspnet
MONOPIDFILE=/var/run/aspnet.pid
export MONO_PATH=/usr/lib/mono/1.0/
start_mod_mono() {
tmp=`ps ax | grep -m 1 “/usr/bin/mono”`
tmp=`echo $tmp | grep “/usr/bin/mod-mono-server.exe” | awk ‘{print $1}’`
if [ $tmp ]; then
echo -n “$NAME already started”
else
echo “Starting server $NAME”
#/usr/bin/mono /usr/bin/mod-mono-server.exe –root /usr/local/share/doc/xsp/test/ –applications /mono:. –nonstop &
#/usr/bin/mono /usr/bin/mod-mono-server.exe –root /var/www/html/mono/ –applications /mono:. –nonstop &
/usr/bin/mono /usr/bin/mod-mono-server.exe –root /usr/share/doc/xsp-0.9/xsp/test –applications /mono:. –nonstop &
sleep 3
chmod 666 /tmp/mod_mono_server
fi
}
stop_mod_mono() {
# (MO): Asking for an existing process for the mod-mono-server
# (MO): Abfragen, ob es eine Prozeß für mod-mono-server schon gibt.
tmp=`ps ax | grep -m 1 “/usr/bin/mono”`
tmp=`echo $tmp | grep “/usr/bin/mod-mono-server.exe” | awk ‘{print $1}’`
if [ $tmp ]; then
echo -n “Stopping mod_mono”
tmp=`ps ax | grep “/usr/bin/mono” | grep “/usr/bin/mod-mono-server.exe” | awk ‘{print $1}’`
kill -9 $tmp
else
echo -n “$NAME is not started”
fi
}
case “$1” in
start)
start_mod_mono
;;
stop)
stop_mod_mono
echo
;;
restart)
echo “Restarting $NAME”
stop_mod_mono
echo
sleep 1
start_mod_mono
;;
status)
tmp=`ps ax | grep -m 1 “/usr/bin/mono”`
tmp=`echo $tmp | grep “/usr/bin/mod-mono-server.exe” | awk ‘{print $1}’`
if [ $tmp ]; then
echo “$NAME is running”;
else
echo “$NAME is not runnung”;
fi
;;
*)
echo “Usage: /etc/init.d/$NAME {start|stop|restart|status}”
exit 1
;;
esac
if [ $? -eq 0 ]; then
#echo
exit 0
else
echo ” failed”
exit 1
fi