Archive for May, 2006

舊週記

May 28 2006 Published by timdream under Prehistoric, WordPress

隨意玩玩,竟然就把2001-2005的舊週記全部匯進blog了。比想像中的簡單;本來是想要把舊週記的文字檔寫程式轉成RSS 2.0再用匯入功能的,不過後來發現這樣的話文章代稱(slang)會弄丟;最後用EmEditor取代功能 —— 可以用Regular Expressions —— 把文字檔轉成SQL指令丟進來。

Regular Expressions 真是好物呀… 感動*。

匯進來之後發現圖片破掉了,還有以前的文章有不符現在xHTML的用法之類的(例如我以前都沒用<blockqoute>引用文字而是用 inline style);於是靠匯出SQL把文字做批次取代在 UPDATE 回去把這些東西修掉。

應該說… phpMyAdmin是好物這樣嗎XD。

未來不需要再做這些麻煩的轉換了;XHTML,WordPress能把所有文章parse成RSS2.0讓其他程式利用。想當年第一次可是手動把一百多篇文章的\r\n\r\n換成</p>呢說,真沒效率。

來說說內容:第一篇文章是2001年4月寫的,最早是放在某日記CGI程式上,被轉了3次所以文章內容很早以前就不符了(2001年當然沒有WordPress可以用)。這幾年的文章加起來有206篇,涵蓋了甄選上高中和申請到大學的軌跡;中間斷了半年就是了。

順應這篇週記的最後一句話的想法,用搜尋算了一下:blog 內目前有 251 篇文章,其中94篇文章含有「其實」、226篇文章含有「」。不知道有沒有其他我用的比「其實」還要頻繁但是沒有自覺的單詞。

嗯,那些文章的回應都關掉了;robots.txt也設了。沒事不要跟過去的提姆聊天,現在的提姆不一定喜歡這件事。

8 responses so far

Will Kyoto Protocol succeed?

May 27 2006 Published by timdream under Thoughts

Question:

Do you think the international efforts to decrease green-house gas emission through Kyoto Protocol will be successful? Please give your reasons.

My Opinion:

I think the effect of Kyoto Protocol is limited. Unlike CFCs with literally no ecomony harm, nations which sign Kyoto Protocol would have to spend money on various espects (from research to cut-down fuel usage) to reduce green-house gas emission. With that, many big nations refuse to sign it.

The other reason I think is that we don’t know how much emission we need to reduce to ensure that we are safe from “the day after tomorrow” scenario. Is 1950 even enough? or even pre-industry standard (which is none)? 1990 level defined in Kyoto is nothing but a balance result from economy consideration and fear from the mother nature (with scientific “guesses”.)

Kyoto goal will be hard to reach; even it’s done eventually, the actual effect on global warning is still questionable.

Mark:

18/20 without check mark. The teacher thinks I didn’t buy what he thought and believed (I think.)

Global Change and Sustainable Development is one of the few courses that is conducted in English in our school. In this lesson, Prof. Chao-Han Liu talks about stories of Ozone Hole, Green House Gas and Global Warming, Millennium Ecosystem Assessment, etc. This is one of the questions asked on mid-term.

No responses yet

週記

May 26 2006 Published by timdream under Journal

Dear Journal,

I sometimes ignore you because I have nothing to tell. However this time, I have too many things to say but nowhere to start. So I would just have to skip you again.

Tim

No responses yet

阿雀姨部落格 – River Comic 543

May 14 2006 Published by timdream under Internet

Blog(我拒絕把它翻成「部落格」)紅起來之後,一些莫名奇妙的事情都發生了;什麼部落格行銷,「部落格是自我行銷的工具」等等。

我就不記得我小學的時候做個人網站或是國/高中的時候寫週記有要自我行銷什麼呀,最好是小學生有東西可以自我行銷啦。

想到這麼多行銷blog,再看到這篇阿雀姨部落格; Well,這種「部落格」說不定真的會有喔,哈哈。

When the word “blog” is transliterated into Chinese, it’s means, as the comic suggested, “the tribe in a box”.

This post is talking in irony from the comic about the recent trend of “blog marketing”.

2 responses so far

Stellarium 0.8 中文字型

May 11 2006 Published by timdream under Astronomy, Software

Stellarium 中文版

Update:已不建議使用此篇的方法設定中文字型,請用Stellarium 中文增強包

最好的免費星圖程式,Stellarium 中文版出現!不過因為檔案大小的問題,官網的下載沒有包含中文字型。

感謝 Gsklee 推薦王宗漢字型;他同時也是正體中文翻譯的主要作者。

讓 Stellarium 顯示中文的小小的步驟如下:

  1. Traditional Chinese Unicode Fonts找個你喜歡的字體(我下載了王宗漢王漢宗細黑體)放到C:\Program Files\Stellarium\data
  2. 參數調整。為了大家的方便,我把以下的調整做成了一個 config.ini,如果不在乎目前的設定被蓋掉的話可以直接下載蓋掉原來的C:\Program Files\Stellarium\config\config.ini;蓋過去之後要麻煩您啟動程式改個你喜歡的設定(中文介面!),然後選[設成預設值]。
    sky_locale = zh_TW
    app_locate = zh_TW
    base_font_size = 12
    base_font_name = wt011.ttf
  3. 啟動Stellarium,就這樣。

每次啟動這個程式就有一種小小的感懷:如果我高中的時候在天文社可以用這個程式DEMO一切就會變的很非常吸引人^^: 。我可能錯過了,希望現在的社團學弟妹沒有錯過。

This is a post about how to download a GPL Chinese font and config into Stellarium to make it shows Chinese correctly. Don’t worry about it if you are not a Chinese reader.

10 responses so far

週記: Coding/Tensor/母親節(!)

May 10 2006 Published by timdream under Journal

還記得上一篇週記的最後一句話嗎?期中考前累積的代辦事項中,其中一大項就是要在星期五做出可以demo的物理演示實驗網站。

很好玩啦,但是再怎麼好玩連續幾天都在做同一件事情眼睛還是很痛;想要換一件事做(例如拿起應用數學習題開始寫)就覺得力氣都被程式碼吸去了。步調還是緩慢點好,畢竟只是個打工的工作。

期中考成績如預期的出現了,成績本身也是個預期。在大學好像比高中還要容易「預期」自己在考卷上大概寫的出幾成耶。發考卷那天因為其他事情與想法讓我很不爽 —— 或許人生真的是不斷的被狠狠敲醒的過程。

「去它媽的能者多勞。」這句話是分隔線與前後文無關(爆)。

說說課程進行到哪裡了吧。傳說中的張量(Tensor),展開會是一個方形矩陣。接下來未了避免大家頭暈所以跳過 (好啦,我也還沒讀熟所以說不出來)。

還有我把5月7日當成母親節,特別跑回台北跟母上說母親節快樂(炸);那這星期可以不用回台北留在學校趕進度嗎?最近三個星期都是前一天晚上處理第二天的作業+考試這樣orz。

No responses yet

Next »