2006-02-22

最近流行早睡, linux large file support要這樣搞?

最近流行早睡, linux large file support要這樣搞?This entry was originally published at 抓~ 抓到一隻瞌睡蟲
我要睡了, 沒想到今天的實驗卡在一個large file, linux的large file竟然要open的時候還要加個O_LARGEFILE, 可是我在FreeBSD底下試, 它是不用的啊. (open不用再加O_LARGEFILE這個flag)
至於Linux的LFS(Large File Support), 可以參考這篇: Large File Support in Linux
另外我測試的結果是 fcntl.h 要用 /usr/include/asm/fcntl.h, 而不是 /usr/include/fcntl.h, 不知道這是不是我做錯了?

錯怪ubuntu

錯怪ubuntuThis entry was originally published at 抓~ 抓到一隻瞌睡蟲
我以為它跟debian有一樣相同高的門檻, 只是distribution包得比較精美. 其實它有一套管理程式, 讓初學者也可以很快的去管理安裝過的軟體… 所以說

“Ubuntu” is an ancient African word, meaning “humanity to others”. Ubuntu also means “I am what I am because of who we all are”. The Ubuntu Linux distribution brings the spirit of Ubuntu to the software world.
它真的沒騙人喔 :P 推薦大家使用… 之前我沒有仔細看, 結果還以為它只是個debian換湯不換藥這樣. 我是錯的 Q_Q
pictures, by yhsungpictures, by yhsung
UPDATED:
是怎樣, 一樣跟相同不是都一樣相同嗎? XD…

digg: World’s largest Windows error message

digg: World’s largest Windows error messageThis entry was originally published at 抓~ 抓到一隻瞌睡蟲
剛剛在digg看到的: World’s largest Windows error message, 相當有趣啊, 電子看板的機器跑Windows, 然後程式掛掉了, 出現的error message…
嗯… 我敢相信, 這應該不會是Microsoft的廣告.

Denyhosts

DenyhostsThis entry was originally published at 抓~ 抓到一隻瞌睡蟲
昨天在howtoforge看到這篇Preventing SSH Dictionary Attacks With DenyHosts, 我現在開始試用, 設定雖然比sshit還要多, 但是我覺得用起來反而比sshit簡單的樣子. XD 是說sshit就寫rule在ipfw的table(它會開shared memory), 會比較快嗎? 可是其實用起來效果沒很好…
btw, 它會開shared memory, 所以說, 用起來要小心一點, 不然會很慌張.
UPDATED:
忘了說denyhosts是用tcpwrapper來擋.
UPDATED:
根據瑞男長輩的說法, 跟shared memory沒關係… 我只是要說它還會開shared memory, 但是沒有說清楚它是要做什麼的. XD

2006-02-21

VoIP call quality got improved with SSL VPN links?!

VoIP call quality got improved with SSL VPN links?!This entry was originally published at 抓~ 抓到一隻瞌睡蟲
忘了在哪看到跟這篇有關的東西, 剛剛才稍微仔細的看過一遍. 就是這篇: Test shows VoIP call quality can improve with SSL VPN links
我想如果對網路還有TCP/IP有一點點概念的人, 或者是有修過VoIP的人, 大概會知道為什麼VoIP call的voice/video stream會選擇用UDP, 也因此, 我們會很先入為主的這樣想, 既然TCP有head-of-line blocking, 那麼用一個SSL VPN來做VoIP call, 那麼大概也得繼承TCP的那些問題, 可是篇文章說, 他們做的測試, 在good, average (應該是這樣, 可以參考他們的文章: Review: How we did SSL VoIP test )的broadband反而會improve voice quality?!
我很驚訝, 所以看了一下他們怎麼測試的, 還有他們用的工具, 至於softphone, hardphone, 我假設是正常, 所以我去看他們的network environment, 和voice quality assessment怎麼做的.
網路是模擬出來的, 參考這個: Shunra Virtual Enterprise 4.0 Overview, 而語音品質評估, 是用這個: GL Communications Voice Quality Testing (VQT) tool suite… 在這囉, 語音品質是用objective testing, 不是subjective testing…
不過我真的很懷疑, objective testing不是很好嗎? 幹嘛還要subjective testing… 我是說之前讀一些東西得到的想法, objective testing是用在modeling, 最後還是要有user’s perception(使用者的感覺), 所以這個東西大家參考參考.

菜配愛拍照

菜配愛拍照This entry was originally published at 抓~ 抓到一隻瞌睡蟲
菜配今天穿裙子來學校, 所以他很興奮地叫我幫他拍照, 這是今天下午拍的照片, 這兩天加起來大概有八十張… 不過沒很多張成功的啊. XD
pictures, by yhsung

coding theory

coding theoryThis entry was originally published at 抓~ 抓到一隻瞌睡蟲
coding theory, 不是教你怎麼寫程式(coding), 而是教你怎麼做error detection/error correction.
我大概是因為下午太專心在測東西, 所以今天晚上就變得超沒力氣, 第二節剩20分鐘開始打瞌睡, 還好今天沒有要上很多, 剛剛偷看了一下, 已經知道今天講了什麼了. 所以現在還沒上過的課就剩seminar… 明天要去龜實驗室, 趕快把數據測出來.

online translation - 超惡搞

online translation - 超惡搞This entry was originally published at 抓~ 抓到一隻瞌睡蟲
因為我很無聊, 去找online translation, 你可以參考一下這個: Free Online Translator應該也有其它的, 不過翻譯真的是很難啊. 以前寫compiler的project就已經寫得半死, 但畢竟programming language的semantic是programmer來考慮, compiler只要搞定syntax的部份, 所以也都是一堆rule, 而natural language的translation則要考慮semantic, 所以這種自然語言的研究自然是難上加難…
底下兩張是惡搞的, 我拿我的網頁跟hubert的去翻…
haha_yhsung.twhaha_hubert.tw

Minimo 0.013 Has Been Released

Minimo 0.013 Has Been ReleasedThis entry was originally published at 抓~ 抓到一隻瞌睡蟲
參考這裡: 0.013 Has Been Released! 之前我就有偷用過一下下, 不過當時的經驗是, 還蠻慢的 XD… 有空再來試試看囉.

2006-02-20

好吃的餅乾 - delicious cookies

好吃的餅乾 - delicious cookiesThis entry was originally published at 抓~ 抓到一隻瞌睡蟲
今天早上菜配帶來給我吃的, 因為我昨天自己一個人打掃119, 所以他就說要帶餅乾給我當獎勵.
pictures, by yhsung
另外這是之前他拿給我吃的餅乾, 超香的, 感覺像在吃牛肉麵.
pictures, by yhsung
相信底下這個大家都很熟悉.
pictures, by yhsung