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 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?

NYtimes :



class blog :



google :



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.





Lab Tongwen

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


Homework 3-20-2009

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

RSS優點在於方便使用者可以最快速的方式得到需要的資訊:只要取得RSS讀取器的帳號並訂閱每個網站的RSS摘要,不用留下任何個人資料,不用被動的去每個網站上去查詢,更不需再重複執行搜尋或移至每個網站來查看最新消息,就可以輕鬆獲得最新資訊。

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

一般商業入口網,夾雜許多廣告,絕大部分都不是我必須的,加上商業入口網每日人數流量大,因此會有各式各樣的服務,來滿足每個使用者的需求,相對的,因為不是為了個人,所以有些服務並不是我需要的。

個人化入口網,我可以自己選擇自己想要的資訊,譬如說可以外加RSS讀取器來快速取得資訊,這是一般商業入口網沒有的服務,最重要的是可以不必看到五花八門的廣告以保持版面的簡潔。


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

2009年3月20日 星期五

Lab:Online Editing

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_0f2rk36dx

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.

Hint: This is a sample Word document.

News coverage:
Google “Docs & Spreadsheets” Launches ,Oct 2006

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

The New York Times
http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml

網際網路應用系統設計(自己的BLOG)
http://s9526354.blogspot.com/feeds/posts/default

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.




C:12(15%)______U:19(23.75%)___R:49(61.25%)
A:43(53.75%)___M:36(45%)_____D:1(1.25%)
P:34(42.5%)____E:60(75%)_____N:6(7.5%)

2009年3月13日 星期五

Homework 3-6-2009

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

PageRank 以Google公司創辦人拉里·佩奇(Larry Page)之姓來命名。此技術通常和搜索引擎優化有關,Google用它來體現網頁的相關性和重要性。Google的創始人拉里·佩奇和謝爾蓋·布林於1998年在史丹福大學發明了這項技術。

演算法原理如下:
假設一個由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 上。


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



3. Making comments

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

9篇,大部分都贊同,分享生活心情,加上沒有引戰語氣,話題好發揮,所以,比較不會有灌水或爭論內容,
這些回應,表示大家對某件事的看法,要做好一個部落格,我覺得要接納大家的意見,並加以吸收。

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

現在資訊發達,部落格也是一種資訊分享的媒介,優點是便利性及普及性,只要有網路,任何人都可以架設一個自己專屬的"工作室",但是只要一斷電,就拿他沒辦法了。

其他媒體會因為利益而決定發布走向,部落格這種社會媒體,更新頻率高,只要有網路就能隨時隨地修改文章
,但也有缺點,文章內容會因作者觀感而變動,難免會有爭議,所以,各有優缺點。

2009年3月6日 星期五

Lab: Making comments

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

回應 in 堯堯

回應 inFish

回應 in胖蘇

回應 in戰神展展

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分)

紐約時報 : (9/10)

CNN : (10/10)

張老師部落格 : (1/10)

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

NBA官網 : (7/10)

WWE官網 : (8/10)

無限討論區 : (3/10)

熱門運動網站的PageRank值都蠻高的都有6~8,相對的封閉論壇的值就不高
Google自己的PageRank值為8,由此就能大約推測那些運動網站平時的搜尋頻率有多頻繁了


參考資料:
PageRank 介紹
PageRank 的論文
Google 廣告獲利模式

Homework 2-27-2009

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

請按這邊連結至文章

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

文章內提到許多讓自己Blog經營的更好的方法,不外乎風格、寫作頻率、宣傳等等,常常看到網路上不管是論壇還是bbs,會有人想替自己的blog衝人氣,而故意發偏激文章或是利用各種手段騙點閱數,但我想這不是一個好的部落客該有的心態,我覺得一個好的blog,不一定要介面華麗,不一定要每天都更新,只要維持一個更新頻率,就算是樸而無華,也是深藏不露。

善變的春天

這幾天的氣候也真夠詭異的了,有時候熱的像夏天,隔天又開始下雨轉冷。

人家說春天後母心,這一點都沒錯阿,想要好好出去打個球運動身心,

就又怕遇到下雨。

前幾天跑去石門水庫散散步,也發現新聞說缺水是真的,水位明顯下降很多,

希望這幾天能把雨下足,不然等到夏天又限水,那真的是太痛苦了。