2013年5月22日 星期三

casting 在程式語言中的的中文意義..


casting ..查yaohoo 字典會出現下面幾個意思:
  1. 投; 擲 
  2. 鑄造(物) 
  3. 放棄; 蛻皮 
  4. 角色的分派
在程式語言中,也會常看到casting這字眼,不過似乎跟上面的意思都不太搭,

其實在程式語言中,casting有另一個意思,就是 "轉型"

或許有個更正式的寫法 "Type Casting" ,代表著從一種型態傳換成另一種型態。

casting常會跟某些單字一起出現,

像是explicit casting(顯式轉型)、implicit casting(隱式轉型)。

其他會用來代表轉型的英文字眼,

我知道的還有convert,conversion,都有轉型的意思,

一個是動詞一個是名詞。

2013年5月21日 星期二

Dead simple 的中文意思

Dead simple 如果在google 直接查詢這字眼,

會發現這是一本書,"簡單死亡"..

書的內容...其實我不知道..我也沒看過..

dead simple 其實還有個意思,就是 "簡單的要死 "...

據說這種用法可以追朔到14世紀...恩 網友說的..不是我

http://english.stackexchange.com/questions/51593/where-does-the-phrase-dead-simple-originate

dead 在這裡的意思,有utterly,absolutely,的意思。

同樣的用法還有:dead easy

2013年4月4日 星期四

Lenka 的Everything At Once--windows 8 的廣告主題曲 中文歌詞

Lenka - Everything At Once

真的很好聽耶...這算是輕快節奏吧..
我對音樂不了解..只是喜歡..
非正規的中文歌詞 =="
自己爽的...
我覺得歌詞有一種童話般的幻想...
所以想這樣翻...



"Everything At Once"

As sly as a fox, as strong as an ox
狡猾的狐狸,強壯的公牛
As fast as a hare, as brave as a bear
敏捷的野兔,勇敢的棕熊
As free as a bird, as neat as a word
自由的小鳥,美妙的歌詞
As quiet as a mouse, as big as a house
安靜的老鼠,大大的房子

All I wanna be, all I wanna be, oh
我好想要,我好想要,喔!~~
All I wanna be is everything
我好想要變成每一樣東西..

As mean as a wolf, as sharp as a tooth
酷酷的野狼,尖尖的牙齒
As deep as a bite, as dark as the night
深深地咬一口,(在)黑黑的夜晚
As sweet as a song, as right as a wrong
好好聽的歌,是對又是錯..
As long as a road, as ugly as a toad
長長的路,醜醜的蟾蜍(癩蝦蟆)

As pretty as a picture hanging from a fixture
掛起來的美麗相片
Strong like a family, strong as I wanna be
像一個家一樣的堅固,像我想要一樣的堅強..
Bright as day, as light as play
白天的明亮,輕快的閃動
As hard as nails, as grand as a whale
堅硬的爪子,雄偉的鯨魚

All I wanna be, all I wanna be, oh
我好想要,我好想要,喔!~~
All I wanna be is everything
我好想要變成每一樣東西..
Everything at once
每一樣東西,就是現在(立刻、馬上)
Everything at once, oh
每一樣東西,就是現在(立刻、馬上),喔!~~
Everything at once
每一樣東西,就是現在(立刻、馬上)

As warm as the sun, as silly as fun
溫暖的太陽,愚蠢的玩笑
As cool as a tree, as scary as the sea
沉著的樹,與恐怖的海
As hot as fire, cold as ice
熱熱的火,寒冷的冰
Sweet as sugar and everything nice
甜甜的糖跟一切美好的事物

As old as time, as straight as a line
古老的歲月,筆直的線條(搞不好有其他意思 像詩行間的嚴肅??)
As royal as a queen, as buzzed as a bee
高貴的皇后,嗡嗡叫的蜜蜂
Stealth as a tiger, smooth as a glider
潛伏的老虎,平靜的滑翔機 (像滑翔機一樣沒有毛 XD")
Pure as a melody, pure as I wanna be
純粹的旋律,純粹的想要..

All I wanna be, all I wanna be, oh
我好想要,我好想要,喔!~~
All I wanna be is everything
我好想要變成每一樣東西..
Everything at once
每一樣東西,就是現在(立刻、馬上)



2013年3月14日 星期四

leap second 的中文意思

leap second 閏秒:

閏秒是在協調世界時間(UTC)為了符合平太陽時所使用的時間調整機制。
閏秒很複雜,有興趣可以去維基看看。

2013年3月11日 星期一

Breaking news 的中文意思

Breaking news =>突發新聞

突發性的新聞..
即時新聞
重大消息 
之類的..
就字面的意思@@"
應該不用啥解釋 XD"

2013年3月5日 星期二

2013年2月26日 星期二

code unit 的中文意思

code unit 代碼單元
代碼單元其實就是各種不同編碼中的一個編碼單位,
代碼單元的大小就是編碼的長度。
譬如說 UTF-8的代碼單元是由 8 個位元組成,UTF-16 的代碼單元是由 16 個位元組成。

除此之外,code unit有時候會有另一種解釋,
我把它翻成程式碼區塊,
譬如說一個迴圈區塊,就可以稱之為一段code unit。
很多段區塊 就叫做code units,廢言了...
如果看到code unit,卻很明顯不是在講代碼單元,
那它可能就是代表著一段程式碼區塊。