Blog: timdream
網路、Mozilla、天文、物理、科學、科幻、社會 …… 自由

iTunes Artwork Extractor

February 27, 2006

Screenshot of iTunes Artwork Extractor

The best way to stop modifying your script for function that would never be used is to publish it. Here I am.

iTunes Artwork Extractor is a HTA script (on Windows) that extract artworks of tracks in your iTunes Music Library. Good for showing off your music collection.

Download

Get it from here. Please do not redistribute the file.

Licence

Same as licence for this blog.

Known Issue

  • When you click start, your anti-virus software will ask permission of running this script; some software even prevent you from downloading the script. This script is not a virus, it will not contain any virus if you download it from here.
  • The script name images with the name of folder containing the music file. It will be the name of the album when all your music files are stored and managed by iTunes. The reason to do this is because genetic album names sometimes contain characters that can not be used in file name.

週記:選課

February 25, 2006

大學生的自由在這種地方顯得特別麻煩:選課。這學期因為一些意外所以系上的課與必修掉到了14學分;所以只能拼命找能選的課來修。說起來我還真的不知道怎麼掉進這個情況的;當然大家都會說「當然要選好過的課呀」但是我就是(欠打的)先考慮我想學什麼,然後再考慮 whether I could handle it or not. For the past semesters, I fail to handle some of the lessons that I thought I could handle it in the beginning. 然後也不想考慮一些補救措施,例如寫作業抄解答、甚至作弊等等。搞成這樣當然無法證明自己是對的,所以也不能說選涼課、寫作業抄解答、甚至作弊是錯的事情。

離題了,總之我選了一門通識外加去加選先修大三的全校共同必修。我很疑惑我能不能先修大三的那門課,雖然加選是加選到了。說不定會加退選時間結束之後會被開課單位手動退選,那我就真的變成16學分了。媽啊。

說到通識,這次修的通識是劉兆漢老師(UST總校長、前中央大學校長)的「全球變遷與永續經營」;第一門課非常刺激,老師把全部英文的 hand out 發下來然後說「This lesson will be conducted in English, and I expect all the homeworks and exams in English.」一瞬間我感受的到台下有淡淡的驚呼聲;老師的意思是他期望課程能像美國的college一樣進行啦,用英文而且有互動。只是我很懷疑加退選結束之後會有幾個人選。我會留下來,因為我還滿期待這門課這樣的進行方式的。如果系上必修課也這樣開的話就太有趣了;這門課也滿足我本來想要選「英文演講與簡報」卻和必修課衝堂的遺憾。希望能順利過完這們課,不是又一次的誤判。

補習班又來煩我要不要去補習的事情。決定跟他說暑假再說,管你有什麼先報名的什麼優惠。

英文畢業門檻還是沒去考;還沒想要準備什麼考試。

還要想這學期的設計什麼自製實驗呢。

試著讓在宿舍的生活保持規律,另一個目標是要養成運動的習慣。體育選到運動養身術(哈)。

—— 一學期的挑戰現在開始。

Tim

Update: 結果今天去上課,老師說二年級不能先修三年級的課。只好和同學去選孫維新老師的網路數位化天文觀測了。孫老師的課可以學到很多,但是pretty demanding。 My interest in astronomy just not enough for me to take such professional lesson this year.

算了,選了都選了,想這麼多幹麻。


Map and Satellite Images on Web

February 23, 2006

Google Maps finally covers high-resolution image near my home – the eastern part of Taipei. It’s kind of strange that they didn’t cover this area – where the highest building of the world is – at the first place.

No, I won’t tell you where my home is. If you visiting my site frequently, you would notice that my home is in the region that accidentally black-out yesterday.

Google Sightseeing immediately put the introduction on their page.

Before Google had done that, UrMap has already providing maps of Taiwan with satellite image taken by Taiwan-owned satellite – the FormoSat 2. They released their API yesterday, and should enable a lot of coding geeks here to localize U.S. websites using Google Maps API (e.g. where to find wireless internet access.)

Another question comes into my mind is that when FormoSat 2 was made, they claim the max resolution would be 2m – images on UrMap just don’t seems that good, even worse than Google.

Google Maps 終於把我家的位置 —— 台北東區提升到高解析度了;到處都有衛星地圖,竟然沒有照到世界最高的大樓這區是怎樣XD。

嗯,我不會告訴您我家在哪裡,不過如果您常常光臨敝站的話就會發現我家位於昨天意外停電的區域內orz。

Google Sightseeing 那時候很快就把台北101的介紹貼出來了。

在 Google 侵犯台北東區的隱私之前,台灣本地廠商 UrMap 已經把台灣的地圖和衛星照片全部貼出來了;用的衛星照片還是福爾摩沙衛星二號拍的。UrMap昨天也正式發表了它們的 Map API ,這應該會讓一堆台灣網站設計師很興奮的開始寫美國利用 Google Maps API 的網站的台灣版本(例如城市免費無線網路攻略之類的。)

倒是我心中有個問題:福衛二號建造的時候它們說衛星照片的最高解析度是2公尺平方,但是 UrMap 上面的影像好像沒有這麼清楚,甚至比 Google 還差。

總之太陽底下沒有秘密就是了。


<language> Element in RSS 2.0 Specification

February 20, 2006

<language> element in a RSS Feed specifies the language that this feed is written in. WordPress prints the value of `rss_language` option.

This can be consider as a bug in WordPress – there is no option in admin page to change the value, you have to change it by yourself from the database. This affects everyone who blog using WordPress and blog in non-English lanugage.

Another problem of mine: What should I do to express the fact that the feed of my blog is written in both Chinese and English? RSS Spec doesn’t allow <language>en,zh-tw</language> expression (invaild ISO country code) nor the <language>en</language><language>zh-tw</language> (cannot be used twice).

Maybe I just … can’t. In this moment, I think I should edit wp-include/wp-rss2.php to read value from polyglot.

Before WordPress fix the bug, everyone should change their `rss_language` value in `options` table to stop your feed sending bad metadata.

RSS Feed裡面的<language>元素定義這個feed撰寫的(人類的)語言。WordPress會拿選項資料表裡的 `rss_language` 來顯示。

然後,這算是WordPress的一個bug —— 網站管理員裡面並沒有任何設定可以改這個資料;安裝的時候也沒有。所有 blog feed 送出來的語言定義都是 en ,除非您自己去資料庫修改。這個bug影響所有用WordPress寫blog的人

接著就是我的問題了:我要怎麼表達我的 feed 是用英文與中文兩種語言撰寫的?RSS標準格式不准許 <language>en,zh-tw</language> 寫法 (無效的 ISO 國家代號),也不准用 <language>en</language><language>zh-tw</language> (此元素不可使用兩次)。

說不定我根本就無法這樣定義。總之我應該會去改 wp-include/wp-rss2.php 讓它去讀 polyglot 的設定值吧。

在WordPress提供可以修改 `rss_language` 的選項之前,大家先趕快去資料庫的 `options` 資料表改吧。不然會一直送錯誤的資料出去喔(飄)。


週記:開學準備週

February 19, 2006

下星期就開學了呢!依照原訂計劃提早回到學校準備。說是準備也不是準備什麼下星期要上的課程啦(汗);我的想法是把一切與學業無關的事情通通在這星期收尾,然後開學之後就盡量不要理它。頗有進度的啦:再度重架了系學會網站;把電腦室所有的電腦安裝完畢;安頓好寢室的位子,有flip flap小盆栽喔(轉圈圈灑小花**)~

倒是選課這件事情讓我有點煩惱。到學校接上網路,一到選課系統就發現游泳課因為只有9個人選所以……停開了?現在我不知道要選什麼體育了;說不定只能去選高爾夫球?

好想游泳啊(哭)。

最後幾天在台北做的事情:因為星期二朋友有事情(咋咋),所以就約了星期三再聚會。去離家很近的蔵月とんかつ日式豬排;感覺就跟那時候在名古屋吃的一樣;不過我似乎是誤解了豬肉了:有油有嚼勁的豬肉是大里肌,纖維細緻不油略乾的是小里肌。在日本吃到的是後者,我不喜歡後者。蔵月則是兩種都有。另外的小花絮就是「蔵月(くらづき)」國語到底要怎麼唸?「ㄘㄤˊ月」或是「ㄗㄤˋ」月好像都怪怪的。問店員很蠢所以也沒問就是了。

吃完去逛遠企樓下的city’super:它真的不是超級市場喔,我那天才知道(炸);是很棒的精品店,差點被某系列商品吸走…… 住這麼近沒發現這種好店真是可惜啊。

當我星期二一個人在外面吃飯的時候,星期三才有空的那位同學約了「朋友」去看電影。哎呀,情人節出去看電影是曖昧的開始喔…

希望明年的情人節……啊,也沒什麼好希望的。會變成怎樣都是肇因於自己的行動或是不行動,所以要希望什麼只放在腦中的話也是沒用的。

Tim


Royale Shell Style

February 17, 2006

For yous don’t like Luna Shell Style – the only one included in Windows XP – there is finally a official alternative. Royale Shell Style is the shell style that included in Windows XP Media Center Edition. You can legally download it for the link (choose ‘royale.zip’); of course you need the legally own a Windows first.

There are a lot of unofficial themes out there. The most one turn Windows XP into a MacOS X Aqua! But sadly they requires cracking system dll (either do it yourself or by using Style XP.)

I prefer getting a real Mac than doing so (smile).

終於有個正式版的 Shell Style 可以取代 Windows XP 內附且唯一的 Luna Shell Style 了。Royale Shell Style是 Windows XP Media Center Edition 內附的 Shell Style,可以從上面的連結合法下載 (抓 ‘royale.zip’);當然,「合法」的意思是您要先合法的擁有一份 Windows XP。

網路上有一脫拉庫的非正式 Shell Style。其中最有名的還可以把 Windows XP 換成 MacOS Aqua!只是它們都需要先破解一個系統檔案才能裝;不管是自己破還是用Style XP

Well, 真要玩那個,我會去弄一台真正的麥金塔(笑)。


« Previous Entries