Archive for the ·

Research

· Category...

NS2 – TCL 傳入值 & 警告訊息排除 warning: no class variable

no comments

//***** 2008.03.25 update *****

原來要從 TCL 丟值進 agent 中,並沒想像中那麼難(知道怎麼傳之後,才這樣說= =,之前心底還在叫:難啊!)

=====newagent.h=====

More: Read the rest of this entry…

Tags: ,

SOP(Standard Operating Procedure,標準作業程序)之實驗步驟

no comments

SOP(Standard Operating Procedure,標準作業程序)在這次的實驗過程中,自己突然回想起的一個方法

在於實驗過程中,過多的程式修改及測試,導致錯誤叢出也浪費了不少時間

最原先的起因在於認為自己能同時控制住兩台測試機的設定及修改,但實際上在兩、三次時就開始出錯

More: Read the rest of this entry…

Tags:

NS2 傳輸範圍計算與設定

2 comments

先感謝這位作者:『網路節點模擬』研究日誌 – 設定傳輸範圍

其實在作者的網頁上已寫的蠻清楚

在路徑 /ns-allinone-2.27/ns-2.27/indep-utils/propagation/ 中可以看到 threshold.cc 這個檔案

More: Read the rest of this entry…

Tags: ,

在 Debian 3.0r0 Sarge 安裝 NS2 2.27

no comments

話說 Debian 3.0 Sarge 的版本現在不易弄到(現在看居然有些是要用買才能拿到 = =")~自己能找出兩年前抓的 Sarge DVD安裝片也真是慶幸的大叫..爽啊!

從遭遇找不到光碟片,到尋獲的過程中,真的百感交替~所以決定若有朋友需要 Sarge  DVD dis1 , 2 可留言或 e-mail 給紅,再告知如何下載

以下為安裝NS2.27 在 Debian Sarge 的過程

OS: Debian3.0r0 (代號:Sarge)

User: ns2

NS2 : NS2 2.27

安裝好 Debian 3.0rX 之後,先切換至 root 補齊以下的套件

注意,不能升級至 GCC 4.x 的版本,要使用 gcc 3.4 才行,不然編譯時即會產生錯誤

#aptitude More: Read the rest of this entry…

Tags: ,

Bad robtos 限定!Part II : 還有更惡質的 robots (spiders) 不看robots.txt 的指示時~ 用 Robot trap

1 comment

機車哩~~spider 也有這種來陰的,不照規定來的:有已寫好的 robots.txt 讓 spider 知道這兒歡不歡迎它們,但就有不看的傢伙存在

沒關係,上網 google 一下發現,還是有網友有法子可以治那些網路垃圾

有國外網友寫了這一篇資料:How to keep bad robots, spiders and web crawlers away

0.在使用這份資料之前,需先注意 apache2 是否有開啟支援 .htaccess

 看 /etc/apache2/sites-available/default 設定檔,”None” 才是有開啟

  AllowOverride None

More: Read the rest of this entry…

Tags:

Bad robtos 限定!Part I : 管理robots的搜尋及次數,更別讓劣質的robots 浪費頻寬&偷取資料~

2 comments

花了好一些時間研究 robots.txt 的寫法與設定

對於劣質的網路爬虫類(spider , BOT)實在防不勝防,想全部擋掉,但又想在 google , yahoo , MSN live 上被人找到

在未研究 robots.txt 之前,實在不是件簡單的事

導入主題~有哪些劣質的 spider 呢?google一下,發現已有 外國網友 整理

(只要複製、另存在WWW 根目錄 / robots.txt 即可跟不少 bad spiders say Goodbye 了!)

 

網路上有不少 robots.txt checker ,可以檢測我們寫的 robots.txt 語法是否正確,並給我們一些建議

紅使用 New Robots.txt Syntax Checker 來進行檢測

以紅為例子,在它的 input field 輸入  http://red.ns2go.com/robots.txt    即可

會逐行檢查語法,並依各個 BOT 是否能 通過(Allow) / 封鎖(Disallow) 將其標示顏色

More: Read the rest of this entry…

Tags:

There are 2 possible outcomes

1 comment

看著書上某章節標題下方寫著這麼一小段話,挺不錯的:

 There are 2 possible outcomes:

  If the result confirms the hypothesis, then you've made a  measurement.

  If the result contrary to the hypothesis, then you've made a discovery. 

                                -Enrico Fermi

 這幾句話,值得好好品味…

 

No tag for this post.

微積分或論文中常看到的希臘字母念法

no comments

希臘字母讀法:
把大陸網友的資料整理一下~方便使用,還要找還真煩人

中文的注音念法~~參考就好= =" 照著念還挺怪的,還是看英文注音念出來的音較正確

序號  大寫  小寫  英文注音  國際音標註音    中文注音   意義
1      Α       α      alpha       a:lf                阿爾法    角度;係數
2      Β       β      beta        bet               貝塔      磁通係數;角度;係數
3      Γ       γ       gamma    ga:m             伽馬      電導係數(小寫)
More: Read the rest of this entry…

Tags: