2009年3月27日 星期五

Lab Clean Language 2

Based on Lab Clean Language, filter the word "slater".


Lab Clean Language

1. Save the JavaScript file of Clean Language to your desktop. Make changes to the script with self-defined bad words. To do this, save the JavaScript on your desk top. Use Notepad editor to make changes. Install the modified script as Greasemonkey.
2. Use Google to search webpages that contains some bad words.
3. Try whether the filtering take effects.


Lab Tongwen

At Firefox installed with Greasemonkey, install the Simplified-to-Traditional character conversion tool Lab Tongwen.

Lab GreaseMonkey

1.Install Greasemonkey 0.8. Check the lower right corner of your Firefox and you should find a monkey at the right. Note that you must run the


2.Cookie Monster - Show cookie contents: Shows the contents of the current page cookie. Just mouse over the "Cookie" text on the bottom left. Check what cookies http://www.nytimes.com writes to you. Does our class blog use cookie or not? Does Google use cookie?

NY Times的cookie:

上課部落格Cookie:


Google的Cookie:


3.You can turn off Greasemonkey by clicking on the monkey face at the URL bar of Firefox. Click again to activate Greasemonkey.



4.Install Web Developer Toolbar to examine cookies.

NY Times的cookie:


上課部落格Cookie:

Google的Cookie:

2009年3月26日 星期四

Homework 3-20-2009

1. 網站提供 RSS 內容餵送(feed) 有何好處?

RSS最大的優點當然就是帶給使用者最迅速的資訊,不用費時地一個個開想瀏覽的網站,便可先簡單看到網站的新資訊,這項功能同時也對提供者相當有利,藉由方便的訂閱功能,可以有效地把資訊送至訂閱者,而且是非強迫性的手法,端看使用者的意願訂閱,像是3C新品的快訊等等,可以說是對主客雙方都是相當有用的功能!

2. 比較個人化入口網,與常見商業入口網的差別。例如廣告,內容,應用,服務,個人化程度等等各方面的比較。

拿iGoogle來說,可以自訂的版面,隨意加入自己想要知道的資訊ex:氣象,新聞,股市,並且配合Google的相關服務 ex:Google Reader,Google Docs,Gmail ,可說是首頁即個人網站,在廣告方面也不會見到像Yahoo!那樣全天候的輪播轟炸,應用上也是五花八門,因為可添加的工具並不限於Google提供的服務,而是類似Firefox的外掛套件一樣,讓你可以新增其他的使用者自製的小工具,我想這絕對不是現今商業化過頭的入口網可以比的!

3. 在Google 個人入口加入以下元件: GMail, Google Reader, Google Calendar, Google Docs, Google Groups

2009年3月20日 星期五

Lab: Google Docs

1. Go to Google Docs. Google Docs lets you write Word documents through an online web service.



2. Start writing.


3. Publish the Word document.

4. What's the URL of your document.
http://docs.google.com/Doc?id=df6bp3z_3g3gcvsrp

5. Add the Google Docs to your personal portal. At the portal page, you should be able to see the active documents.

6. Save your document as .doc and .pdf, the two common formats for documents.

Lab: Personal Portal

1. Enter
http://www.google.com/ig

The Google account is the same as your Blogger account.

2. Rearrange the templates. And perhaps remove blocks that you don't need.

3. Add new stuff. For now add the Google Reader, Google Docs, Google Group, Google Calendar, and GMail. You should be able to see the subscriptions in the Google Reader block of your personal portal.


Lab: RSS Reader

1. Enter Google Reader

2. Try the following

iapblog.blogspot.com
http://www.cna.com.tw/

New York Times

http://yourblog.blogspot.com/feeds/comments/default
3. What is the RSS feed that Google Reader takes in? List the URL of these RSS feeds.




網際網路應用系統設計
http://iapblog.blogspot.com/feeds/posts/default

NY Times
http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml

我的部落格
http://s9526342.blogspot.com/feeds/posts/default

2009年3月14日 星期六

Lab Content Analysis


According to the scheme above, the content of comments was characterized by the three independent dimensions. The intention of the analysis was to reveal any emergent correlations among three attributes of comments collected in the dataset.

The affective dimension was generally quite straightforward and lent itself to comparatively easy classification. To probe the range between agreement and disagreement requires more careful judgment and usually involves more reading between the lines. The boundary between reflection and non-reflection was somewhat blurred for some occurrences of comments. Some comments showed no reflection as all; some comments demonstrated sufficient reflection while others appeared to possess marginal reflection.

Perform content analysis on the dataset of comments on the essay blogs.


意見總數:73個

C(total=34) U(total=31) R(total=10) A(total=40) M(total=30) D(total=1) P(total=52) E(total=13) N(total=8)



2009年3月8日 星期日

Homework 3-6-2009

1. Google PageRank 每差距一分代表網頁的重要性有多大差別?

PageRank是Google創辦人Larry Page在Stanford University所發明,這項發明專利登記於Stanford University名下,Stanford University因此從Google這賺進了大把鈔票,這項技術也成為Google成功的招牌。

這項技術詳細的演算法原理如下:

假設一個由4個頁面組成的小團體:A,B, C 和 D。如果所有頁面都鏈向A,那麼A的PR(PageRank)值將是B,C 及 D的和。

PR(A) = PR(B) + PR(C) + PR(D)

繼續假設B也有連結到C,並且D也有連結到包括A的3個頁面。一個頁面不能投票2次。所以B給每個頁面半票。以同樣的邏輯,D投出的票只有三分之一算到了A的 PageRank 上。

換句話說,根據鏈處總數平分一個頁面的PR值。

最後,所有這些被換算為一個百分比再乘上一個係數q。由於下面的演算法,沒有頁面的PageRank會是0。所以,Google通過數學系統給了每個頁面一個最小值1 − q。



所以一個頁面的 PageRank 是由其他頁面的PageRank計算得到。Google 不斷的重複計算每個頁面的 PageRank。如果您給每個頁面一個隨機 PageRank 值(非0),那麼經過不斷的重複計算,這些頁面的 PR 值會趨向于正常和穩定。


簡單來說,PageRank的特點在於用所有鏈向它的頁面的重要性來決定分數,簡單說假如你的部落格有越多的超連結都指向你,而且這些頁面越有名,重要性越高,那你的部落格的PageRank也隨之上升,越多索引對這項數值越有幫助,一分的差距可比如像是FIFA:8分跟NBA:7分這樣的差距,代表著其影響力跟觀看人數都有相當等級的不同!

資料來源: 維基百科PageRank條目



2. 統計 Lab: All pairs shortest path 任意兩點之間的步距(hop). 相距 hop=1 有多少對,相距 hop=2 有多少對? 依此類推。
hop 定義: 如果A到C的最短路徑為 A->B->C,其hop=2。
hint: 將拓墣圖所有數字改為1。



hop=1有13對,hop=2有21對,hop=3有10對,hop=4有1對,hop=5~9都是0對

3. Making comments

Lab Making comments

4. 關於你的散文作品,你得到多少篇回應? 其中多少贊同,多少異議,多少缺乏實質內容(灌水,你好帥之類)? 這些回應對你有幫助嗎?

2篇回應,一篇灌水,一篇是舒發自己的意見。我是覺得回應可以讓我知道朋友的想法跟意見,畢竟每個人對國際情勢觀感不一樣,可以知道別人的想法對我來說還蠻有幫助的,畢竟這個社會是需要互相溝通的,而不是自己獨芳自賞!

5. 部落格是一種社會媒體,根據What is social media?ㄧ文,比較社會媒體與其他媒體之不同。

部落格平台在網路上,而網路是無國界的,這點跟其他社會媒體比起來是有許多的不同。而且內容隨時可以更新,更可以跟讀者互動,雖然像是報紙有讀者投書的版面,電台可以開放聽眾來電,不過比起部落格的互動性還是有相當的落差。更何況,部落格平台可以同時有影像跟音訊和文字,其他平台沒有這麼豐富的內容,再加上大家都喜歡的一點,It's Free!
部落格平台的使用門檻很低,任何人都可以來申請使用,不過這也是它的缺點,因為進入的門檻低,使用者的水準也參差不齊,以媒體來說,公信力跟影響力都受到質疑。常常可以聽到所謂的網路謠言,利用網路來散佈不實的言論也是常有的事,而部落格是社會媒體的一個要素,其他最為大宗的該屬網路論壇,論壇討論的主題跟內容可以很豐富,我想social media的崛起該歸功於Web2.0時代的產生,接下來便要進入Web3.0的時代,可以期待social media會不會取代其他媒體,或是有更革新的東西產生!

個人推薦一個常瀏覽的部落格雨狗,裡頭有許多運動資訊,我認為這是一個相當具有影響力的部落格,其瀏覽人次也突破900萬人次,十分驚人!

2009年3月6日 星期五

Lab: Making comments

閱讀班上同學散文,從中選取3篇加以回應,回應請直接寫在作者部落格的回應區。

回應應有實質內容。

第一篇

第二篇

第三篇

謎城觀後感




最近終於把霹靂謎城給看完了,裡面不老城跟長生殿的百年爭鬥也終於告一段落,我也感觸良多,不老城跟長生殿各自擁有不老神泉與不死秘方,雙城本來可以共同合作,互相分享各自的寶藏,已達到兩方最大的收穫:長生不死,但是雙呈不但不合作反而爭戰百年,至死方休!

讓我想到現在世界上的紛紛擾擾也是這樣,列強為了各自的利益,明槍暗鬥,為了能源利益而彼此爭鬥。
就如同海殤君的詩號:

慾海沉浮名利爭,石光電火步此生;
風塵情事揮不盡,觀世不笑是癡人。

如果人人都有素還真:我為人人,人人為我的精神,世上就可少了許多紛爭,利己不是不可取,但是利人利己方是上上策阿!

Lab: All pairs shortest path algorithm




Use Floyd-Warshall algorithm to find the all pairs shortest paths for the topology in the above.


Lab: Web Pageranking

在Firefox上安裝 PageRank , 然後使用 PageRank 量測以下網站的 PageRank (0~10分)

紐約時報 http://www.nytimes.com
CNN http://www.cnn.com/
張老師部落格


接著,以PageRank量測你常用的三個網站。

紐約時報: 9
CNN: 10
張老師部落格:1

個人常用的網站

EPILI霹靂網 :5
Google :8
NBA :7

想不到Google自己的RANK值只有8 , 而霹靂布袋戲官網只有5,我想這是因為這網站的國際性不夠,所以才會比較低
我額外測了幾個網站,發現MLB,NFL,F1都是7, 只有FIFA是8 ,可見足球在世界上還是算最普及,受歡迎的運動

Homework 2-27-2009

1. 參考單車上的靈感,或是我愛談天你愛笑,開始用部落格書寫你的個人散文,並加上適當標籤。

公開亭

2. 閱讀 Ten steps to better blogs, 然後寫下你的心得。

這篇文章對於建立個人部落格相當有幫助,裡面寫到要讓讀者可以容易的抓到主題,而且要有互動,而不是孤芳自賞,並且常常更新自己的部落格,這樣讀者才常常回來看,我想在互動這方面,我有很多要改進的。總而言之,用心經營,互動良好,這樣部落格才會有好氣象。