2012年8月11日 星期六

[English]The Five Cents

閃點行動(Flashpoint) S04E09 00:40:54

Do I give you the five cents now?
我現在像是在對你說廢話嗎?

Supplement:
http://www.englishenhancer.com/2008/09/03/my-five-cents/
Both the phrases “My five cents” or “put in one’s two cents’ worth” are used when one wants to give one’s opinion on some topic.

[English]You wanna sit this next one out

閃點行動(Flashpoint) S04E06 00:42:04
You wanna sit this next one out....
你想跳過這個任務....

sit out
sit this one out
sit the next one out

2012年7月18日 星期三

林書豪發射火箭

中午就會知道結果, 我是覺得尼克放棄的機會非常大, 原因應該不是金額的問題, 而是團隊和諧的考量, 第三年破千萬其實無所謂, 豪華稅也沒關係, 都可以從其他地方賺回來, 但薪資比三巨頭其中的中鋒高, 這是大問題, 在哪個產業都一樣, 薪資決定能力和階級, 即使職業運動以運動能力和商業條件為考量, 但畢竟在團體合作上, 還是會有定位的價值和年資的考量, 特別是林書豪主打的位置是整合連貫團隊的戰線, 一旦隊友之間心有嫌隙, 想必很難形成一致的戰意, 當初火箭開價, 只要比三巨頭略低, 尼克留人就相對容易決定, 我是不知道是不是只有比錢德勒高一點, 但如果是, 想必火箭是考慮到這一點來做定價策略, 增加搶人大戰的成功機率.

2012年7月12日 星期四

如果你在做的不是你喜歡做的,別再做下去,若等到四十幾歲再來思考,就太晚了。


每日一句學管理 2012/07/12 電子報

如果你在做的不是你喜歡做的,別再做下去,若等到四十幾歲再來思考,就太晚了。
~諾貝爾化學獎得主戚凱羅(Aaron Ciechanover)


今天看到電子報, 基本上有資格討論這件事是有前提的, 首先必須是有能力做選擇, 這裡的能力指的是: 1. 已經沒有經濟壓力, 不需要為生活而工作或是喜歡做的內容附帶的所得能滿足生活條件; 2. 認識自己, 確認自己想做的是什麼.


第二點是最難的, 也是最重要的. 如果你在20歲之前就了解自己的天命所在, 而且有環境讓你展露你的天賦, 相信一切都不會有問題. 但現實狀況下, 絕大多數人渾渾噩噩, 相信這數量遠超過80%. 四十歲再來思考, 很多事情已經無可挽回, 甚至已經沒有體力腦力財力來考慮這些事情, 更不用說太多人從來不會去想生活的目的甚至生命的意義.


一般人的職涯規畫非常簡單, 不是穩定的工作就是賺大錢, 鮮少考慮是不是喜歡做的, 這一方面是社會價值觀, 另一方面是沒想過自己喜歡做什麼, 而且喜歡做什麼指的不是利益自己的想法, 而是要能對大眾有貢獻, 不然吃喝玩樂誰不喜歡.

我的想法是, 當你考慮你的生命只剩10年, 你打算做什麼, 只剩20年, 你打算做什麼, 這樣去倒推你的生涯規畫, 或許你會考慮犧牲生活品質, 去做一些真正想做的事. 不管你現在幾歲, 去想這些事情絕對不會太早也不會太晚, 而且計畫總是趕不上變化, 隨時檢討做調整, 這也是生命專案的一環.

2012年6月29日 星期五

[English]Rock and a hard place

GrimmS01E07

This is one of those "rock and a hard place" type things, isn't it?

http://en.wikipedia.org/wiki/Between_a_rock_and_a_hard_place
Between a rock and a hard place, a dilemma, more specifically a Morton's fork; a situation offering at least two possibilities, neither of which is acceptable

2012年6月25日 星期一

[God]Staying On Track

Charles Stanley(intouch.org)

2012-04-29 GoodTV
在正軌上行走
Staying On Track
1. 默想神的話
Meditating words of god.
2. 順服神, 並將一切結果交託給祂
Obey God and leave all the consequences to him.
3. 在各樣景況下順服神
Trust God in every circumstance.
4. 等候神的帶領
Wait upon the Lord for his direction.
5. 倚靠聖靈
Depend upon the holy spirit.
6. 神愛你是毫無條件
Remember God loves you unconditionally.
7. 慷慨給神
Giving to God generously.
8. 向你保證神完全掌管你的人生
Rest in the assurance that God is in absolute control of your life.
9. 定睛於終點站
Keep your eyes on your destination.




[English]cannot ~ too ~ (再怎麼...也不為過)

地球村文法(綠) P.47
One cannot put too much emphasis on one's health.
(我們再怎樣強調健康也不為過)
彭蒙惠英語 2012 JUNE P.35
... for whom open spaces can't be too wide.
(給空間寬廣也不嫌多的人)

[English]Bite the proverbial bullet

電影 加勒比海盜4

http://www.icrystalnotes.com/movies/440?page=14


  • Or you can just bite the proverbial bullet , as it were .
    proverbial [prəˈvɜːbiəl; NAmE -ˈvɜːrb-] adj. 谚语的,谚语式的,众所周知的;那东西,那玩意儿
  • 喻指咬紧牙关 忍受苦难的现实

2012年6月24日 星期日

[English]apostle, prophet, evangelist, pastor, teacher

Bible
[NIV]Ephesians 4:11
So Christ himself gave the apostles, the prophets, the evangelists, the pastors and the teachers,
[CNV/新譯本]以弗所書  4:11
他所賜的, 有作使徒的, 有作先知的, 有作傳福音的, 也有作牧養教導的,
[CUNP/和合本]以弗所書  4:11
他所賜的, 有使徒, 有先知, 有傳福音的, 有牧師教師,

金山詞霸(http://www.iciba.com)
(耶稣基督的)门徒,使徒 The apostles were the followers of Jesus Christ who went from place to place telling people about him and trying to persuade them to become Christians.
先知 A prophet is a person who is believed to be chosen by God to say the things that God wants to tell people.  
福音传教士;巡回布道者 An evangelist is a person who travels from place to place in order to try to convert people to Christianity.
(某些新教教会的)牧师 A pastor is a member of the Christian clergy in some Protestant churches. 
牧师;传道士 A preacher is a person, usually a member of the clergy, who preaches sermons as part of a church service. 
教师;老师;教员 A teacher is a person who teaches, usually as a job at a school or similar institution. 

2012年6月19日 星期二

[English]wind-winded vs wind-wound

查遍線上各大字典(或許還有遺漏), 始終沒有滿意的講法, 回去查N年前的文馨辭典, 解說很清楚, Longman感覺比Oxford要清楚,但不知為何沒標音標

基本上
和"風"有關的(動詞名詞都有), 就是wind /wɪnd/ winded winded
(http://www.ldoceonline.com/dictionary/wind_3)
(http://oald8.oxfordlearnersdictionaries.com/dictionary/wind_2)
和"彎曲纏繞"有關的(動詞名詞都有), 就是wind /waɪnd/ wound /waʊnd/ wound /waʊnd/ 

如果是吹(樂器), 吹(信號), 吹出(聲音)則以上兩種發音及時態都可以用
還有在詩裡, 風的名詞也會念成/waɪnd/
wound的發音和受傷的發音不一樣

2012年6月8日 星期五

[English] Recently and Lately

2012/06/08 from StudioClassroom Magazine

VIEWPOINTS

ENERGY DRINKS – GOOD OR BAD?

能量飲料究竟是好是壞?


...
A lot of people in our class have been drinking them recently.
...

Here we can modify to
A lot of people in our class have been drinking them lately.

When we talk about a single action or event, we should use "recently".
Donna was in the library recently.
"Lately" is used with continuous actions.
Donna has been coming to the library a lot lately.

Recently can referred to a single event or continuous event in a near past.
I haven't seen Donna recently.
I haven't seen Donna lately.

Notice
When you talk  about a single event that happened in a near past, you can only use recently.

2012年3月11日 星期日

Preview Office Document in PDF(with Security) or JPEG


1. Use OpenOffice(portable version) to export PDF with security
2. Use ImageMagick to convert PDF to JPEG

2012年2月8日 星期三

Computer Programming Bugs

承認自己孤陋寡聞, 但知道了就要學起來, 原來Bug是有學理上的分類的, Heisenbug和Bohrbug是最常遇到的, 定義請參照Wiki或去問Google, 還有其他的bug類型, 但我覺得廣義去分類, 應該這兩種就夠了, 甚至也不用什麼分類, 有Bug是必然的, 弄清楚系統和平台運作原理, 熟悉各種Debug技巧, 什麼類型的Bug都無所謂, 適時適地擬定對策去解決問題比較重要, 老是執著在分析問題, 卻提不出解決辦法也沒用, 能完整詳細的分析問題當然很好, 但不要忘了, 解決問題才是最終的目的, 在分析問題時, 要同時把對策一併設想, 這樣才會有效率

http://en.wikipedia.org/wiki/Heisenbug


2012年1月18日 星期三

哪一種resize最好

http://www.dchome.net/viewthread.php?tid=346632

Lanczos-3 的效果最好, 其次是Bicubic, 最後是Bilinear

2012年1月6日 星期五

Feature Detect in OpenCV


OpenCV v2.3 documentation
http://opencv.itseez.com/index.html
OpenCV Tutorials in OpenCV v2.3 documentation
http://opencv.itseez.com/doc/tutorials/tutorials.html

feature2d module. 2D Features framework
http://opencv.itseez.com/doc/tutorials/features2d/table_of_content_features2d/table_of_content_features2d.html
1. Harris corner detector
http://opencv.itseez.com/doc/tutorials/features2d/trackingmotion/harris_detector/harris_detector.html

2. Shi-Tomasi corner detector
http://opencv.itseez.com/doc/tutorials/features2d/trackingmotion/good_features_to_track/good_features_to_track.html

3. Creating yor own corner detector
http://opencv.itseez.com/doc/tutorials/features2d/trackingmotion/generic_corner_detector/generic_corner_detector.html

4. Detecting corners location in subpixeles
http://opencv.itseez.com/doc/tutorials/features2d/trackingmotion/corner_subpixeles/corner_subpixeles.html

5. Feature Detection
http://opencv.itseez.com/doc/tutorials/features2d/feature_detection/feature_detection.html
   1). Use the FeatureDetector interface in order to find interest points. Specifically:
       a) Use the SurfFeatureDetector and its function detect to perform the detection process
       b) Use the function drawKeypoints to draw the detected keypoints
6. Feature Description
http://opencv.itseez.com/doc/tutorials/features2d/feature_description/feature_description.html
   1). Use the DescriptorExtractor interface in order to find the feature vector correspondent to the keypoints. Specifically:
       a) Use SurfDescriptorExtractor and its function compute to perform the required calculations.
       b) Use a BruteForceMatcher to match the features vector
       c) Use the function drawMatches to draw the detected matches.

7. Feature Matching with FLANN
http://opencv.itseez.com/doc/tutorials/features2d/feature_flann_matcher/feature_flann_matcher.html

8. Features2D + Homography to find a known object
http://opencv.itseez.com/doc/tutorials/features2d/feature_homography/feature_homography.html
   1). Use the function findHomography to find the transform between matched keypoints.
   2). Use the function perspectiveTransform to map the points.

9. Detection of planar objects
http://opencv.itseez.com/doc/tutorials/features2d/detection_of_planar_objects/detection_of_planar_objects.html
   1). Create a new console project. Read two input images.
   2). Detect keypoints in both images.
   3). Compute descriptors for each of the keypoints.
   4). Now, find the closest matches between descriptors from the first image to the second:
   5). Visualize the results:
   6). Find the homography transformation between two sets of points:
   7). Create a set of inlier matches and draw them. Use perspectiveTransform function to map points with homography:
   8). Use drawMatches for drawing inliers.

2012年1月5日 星期四

.eml 改成 .mht 就可以用IE開啦

就如標題所說
.eml 改成 .mht 就可以用IE開啦

這樣可以解決用文字編輯器開會出現不對的編碼問題

2012年1月4日 星期三

產品研發前期評估 or Self Test


一般Project初期,為了方便軟體同步開發,或是demo, 是會做模擬器.

可能是純軟體的, 也可能是拿類似機種改的, 也可能拿實驗平台組出來的,例如Labview.

都沒有的,基本上除非很有把握,不然後面都會很辛苦.

或許也不叫模擬器, 其實在Test-Oriented programming來說, 就是測試程式, 只是不一定以軟體存在,只要能方便做function test, 什麼形式都可以, 這和機構,電子, 軟韌體領域無關, 只是在軟體界, 以及測試量測領域, 很習慣這樣去兜出要的系統, 但以我寫System FW or DSP FW的經驗, 是一樣可行的, 而且除了可以做self-test, 要釐清整合的問題也很方便.