Sunday, March 2, 2008

login then nothing happen. 登入沒反應

If you log in one website, nothing happen. But you use another PC and login successfully, you can delete your cookie and try it again.
如果你登入網站,輸入帳號密碼沒錯,換一台電腦卻進得去,可以嘗試刪除cookie唷~

檔名太長,無法刪除. file name is too long to delete.

I met a problem about dealing with the files which is generated by some programs, like weka.
If the name of the files are too long, I found that I can't delete them.
http://support.microsoft.com/kb/320081/zh-tw
There some hits about the problems in the above URL.
It mentioned about using another tools which can browse files with long path.
So I use some kinds of file manager software, named free commander, it works.
Its download page is http://www.freecommander.com/.
And there are a lot's kinds of file managers, I think they are all able to delete the files with long path or long name.

前幾週我遇到了一些問題,手殘的我,為了跑實驗,跑出了一堆有很長名字的檔案。
結果發現砍不掉,後來查了一些訊息,得知可以使用其它可以讀取長路徑的檔案管理程式來處理。
很剛好的,為了整理論文,所以我灌了free commander這個軟體,發現真的可以刪除了。
好家在,不然桌面上好多檔案都刪不掉,好醜啊~謝天謝地~

Sunday, February 17, 2008

Hierarchical clustering using R

The example is using a file, primates.txt, from Table 10.1 of the book, Computational Genome Analysis.

Hy GCCCTCTTCCTAACACTCACAACAAAACTAACCAACACTAACATTACGGATGCCCAAGAA
Pa GCCCTTTTCCTAACACTCACAACAAAACTAACTAATACTAGTATTTCAGACGCCCAGGAA
Go GCCCTTTTCCTAACACTCACAACAAAGCTAACTAGCACCAACATCTCAGACGCCCAAGAA
Ho GCCCTTTTCCTAACACTCACAACAAAACTAACTAATACTAACATCTCAGACGCTCAGGAA
Po GCCCTTTTCCTAACACTCACAACGAAACTCACCAACACTAACATCTCAGATGCCCAAGAG

Above is the content of the Table 10.1. It will occur error, if you copy the sequence into the primates.txt. There are some works to do. We just use 4 rows like the example.

You have to delete the labels, like Hy, Pa, Go, etc., and replace the A,C,G,T into 1,2,3,4, respectively.
It is easy to using the replace function by any kind of editor even the simplest one, wordpad in windows.
Then you will get the 4 sequences.

322242442241121242121121111241122112124112144123314322211311
322244442241121242121121111241124114124134144421312322213311
322244442241121242121121113241124132122112142421312322211311
322244442241121242121121111241124114124112142421312324213311

You will get wrong result of displaying of "dapes".
Becuase you just read 4 items into R, that means the one sequence is one item.
So you have to using any kind of software to let the file to be the text file separating each letter with tab.
Then you will get correct primates.txt and get right result of displaying dapes.

Wednesday, January 16, 2008

20-80理論

查了一下網路上面的說明,其實意思都差不多,應用的地方不同罷了。
1. 對一個團體而言,
80%的工作都是由20%的人負責完成,
而剩下的20%工作,是由那80%的人負責完成。
2. 對加盟店而言
80%的收入主要都集中在20%的分店,
剩下的收入當然就是剩下的80%的分店。
其實意思都差不多,
就看你要成為那20%,還是那80%。

長尾理論,有人說是顛覆20-80理論,有人則認為是補其之不足。
我也認為兩個理論不是在講同一件事情,所以沒啥好爭的,反正討論串一堆,自己搞清楚是甚麼意思就好了。
而且時代一直在變化,很多道理和常識,一下子就不能"適用"了,雖然可以解釋大部分的例子,但是現在這個時代,特例才容易引起注意。

Friday, January 4, 2008

安裝j2sdk 1_4_2_16 遇到VM問題

我對java不是很在行,想說要換成較新版本的j2sdk,所以就下載了j2sdk 1_4_2_16來安裝。
但是安裝過程一直遇到Java virtual machine運行中,無法繼續安裝工作。
所以只能選擇取消或是重試,我嘗試了關掉其他程式。
還是無法成功重試,然後就掉入了無數次的反安裝,重新安裝。
後來開始爬文,結果也不太好找類似的文章。
很湊巧的,看到有人說點選IE工具裡的設定,有幾個選項是關於Microsoft VM的選項。
我把它全關閉,結果就順利的安裝起來了!
安裝過程,有看到Spybot 1.5跳出的警告訊息,所以也可以跟Spybot有關。
Anyway,如果有人也遭遇跟我一樣的問題,可以考慮關掉IE裡的VM選項,以及Spybot。

Clicky

Clicky Web Analytics