System Verilog

There is an opening at my work related to system verilog. System verilog may not be taught in school so don’t be shy if you don’t have any experience with it. The overall hardware design conceptual understanding is probably more important than anything. The main part of this job has something to do with dynamically switching on/off circuits to conserve power. This is a really good opportunity to build something from ground up with cutting edge technology. If you know of anyone interested please let me know. ...

April 25, 2011 · 1 min · birdchan

氣囊缺陷 豐田召回30萬輛SUV

豐田汽車公司(Toyota)21日宣布召回超過30萬輛在美國出售的全功能車(SUV)RAV4和Highlander,以修理有缺陷的安全氣囊感應器。 這項召修包括21萬4000輛2007和2008年份的RAV4,以及9‧4萬輛2008年份的Highlander與Highlander HV。這項召修不包括Lexus和Toyota的其他任何款式汽車。 Toyota美國銷售公司說,RAV4和Highlander的安全氣囊感應器組合有兩個偵察汽車側傾角度的感應器,如果一個感應器失靈,警告燈就會亮起,造成側傾偵察系統停止作用;如果兩個感應器同時故障,預束式安全帶和側邊簾式安全氣囊可能被意外啟動。這項感應器故障不會造成在撞車時安全氣囊打不開。 Toyota公司一位發言人說,該公司收到一些與此缺陷有關的輕微受傷報告,包括3月一名駕車者的手被安全帶割傷。該公司的經銷商將免費為召修車輛更換新的感應器組合。 過去一年半Toyota因汽車的各種缺陷,包括出錯的踏腳墊、卡住的加油踏板和煞車軟體錯誤,在全球召修了超過1400萬輛汽車。該公司因對三次召修的處理不當,付給美國政府破紀錄的4880萬元罰款,也面對數十起美國車主提出的控訴,包括駕駛人因這些汽車缺陷而喪生的指控。 ref link: http://www.worldjournal.com/view/full_news/12889104/article-%E6%B0%A3%E5%9B%8A%E7%BC%BA%E9%99%B7-%E8%B1%90%E7%94%B0%E5%8F%AC%E5%9B%9E30%E8%90%AC%E8%BC%9BSUV?instance=m3b

April 22, 2011 · 1 min · birdchan

Sam Richards - A Radical Experiment in Empathy

This is a powerful presentation about stepping into someone else’s shoes. The moment you do that, all of a sudden many things that seemed weird before start to make sense. Conflicts seem to be unavoidable yet each side has its own views justified. Beneath the civilized humanity surface lies the same old barbaric force, driving us to obtain a better life at the cost of many others that we conveniently overlook. In the name of goodness, evil practices are allowed. ...

April 19, 2011 · 1 min · birdchan

什麼是窩輪?

「 窩輪」是英文Warrants的譯音,專業名稱為認股證,是一種以小博大衍生工具,持有人在規定期間內或特定到期日,有權按約定價格向發行人購買或出售的證券,或以現金結算方式收取結算差價的有價證券。 認股證分為兩大類,股本認股證及衍生認股證,股本認股證由上市公司發行,衍生認股證由 金融機構(俗稱窩輪商或輪商)發行,再細分為認購證(call輪)及認沽證(put輪)兩種。 如果投資者看好某隻股票或指數的前景,可買入相關的call輪,賺取回報,如看淡的話,則可買put輪。 去年本港窩輪的累積成交額逾4.7萬億元,較前年增加1.6倍,是全球成交額第二最大的窩輪市場,第一為中國,全年成交額逾8萬億元。 窩輪的定價方法包括布萊克-斯科爾斯 模型(Black-Scholes)、二元樹模型、蒙特卡羅模擬和有限差分方法。其中以布萊克-斯科爾斯模型(又稱BS模型)最為常用。 窩輪在用於投機時提升風險,使收益的方差擴大;在用於套期保值時,降低風險,使收益的方差降低。2006年5月31日,茅臺認售權證(上交所:580990)在上海證券交易所上市首日漲幅高達922.82%,最高達到3.037元!但隨後幾天又大幅回落,2006年6月5日收於2.384元,而此時該窩輪的理論價值小於0.20元。 窩輪用於投機時,風險遠高於股票的原因如下: 窩輪具有時間性,當窩輪到期後,沒有行權價值的窩輪將被注銷,此時窩輪持有人沒有任何收益。 窩輪的交易價格普遍較低,當價格變化1單位時,便會有較大的收益率變動。 窩輪的波動率較大,需要隨時關注。 窩輪的時間價值會每天減少,故即使股市一個月沒有升跌,相關窩輪尚有25%-40%的下跌空間。 實際價格與理論價格仍有差距,能預測股市走勢不等於由理論得出的利潤。

April 15, 2011 · 1 min · birdchan

Caroline Casey: Looking past limits

Caroline Casey is a very inspirational woman. I usually don’t spend time watching talks of this kind, but this time she somehow touched and moved me with her words. This video makes me think a little bit about what I am doing and if there is more. [youtube &w=640&h=390] ...

April 14, 2011 · 1 min · birdchan

記住這23條,你至少成熟5歲

[轉帖] 記住這23條,你至少成熟5歲! 1、遇到不想回答的問題:直視對方的眼睛,微笑、沉默。 2、走路抬頭挺胸,心情不好時,不想跟人招呼,點頭微笑,逕直走過。 3、請記得:好朋友的定義是,你混的好,他打心眼裡為你開心,你混的不好,他由衷的為你著急。 4、做自己的決定,然後準備好承擔後果。從一開始就提醒自己,世上沒有後悔藥吃,而我永遠有個B計劃。 5、自己分內的事情,努力做到一百分。 6、接受自己不過是個「小小的我」,但眼裡要能夠悅納「大大的世界」。 7、如果你真的喜歡一個人,就給他自由。如果他能回到你身邊,他就是你的,如果他沒有回來,那他也永遠不屬於你。 8、不要試圖給自己找任何借口,錯誤面前沒人愛聽那些借口。 9、不要隨意發脾氣,誰都不欠你的。 10、不說謊話,因為總有被拆穿的一天。 11、別低估任何人。 12、你沒那麼多觀眾,別那麼累。 13、過去的事情可以不忘記,但一定要放下。 14、別人說的記在腦袋裡,而自己的,則放在心裡。 15、社會是有等級的,很多事不公平,別抱怨,因為沒有用。 16、你永遠沒有你自己想像中那麼重要。 17、錢能解決的問題統統不叫問題。 18、無論何時說「我愛你」,請真心實意,無論何時說「對不起」,請看著對方的眼睛。 19、永遠不要以貌取人,慢慢地說,但要迅速地想。 20、找點時間,單獨呆會兒。 21、不是自己的東西不要,就是再喜歡也不行,要懂得放棄。 22、不要覺得是生活虧欠了你,其實是我做的努力不夠。 23、努力向前,再努力向前,再努力一下下,願望就會實現!

April 11, 2011 · 1 min · birdchan

osx random freezes

I have had my macbook pro 13-inch for about 2 years now. It’s been running very well until recently, it randomly freezes. The keyboard and mouse would not respond and I would be forced to do a hard restart. After a few incidences, I noticed that this often happens when I am watching a youtube video or any long videos on VLC. At first I thought it was some corrupt libraries in the kernel and so I re-installed osx, but the problem remains. Then I clicked around, trying to investigate… to my horror, it was actually that my cpu fan stopped spinning! ...

April 9, 2011 · 2 min · birdchan

Obama’s Remarks on Libya

[youtube=http://www.youtube.com/watch?v=hUXEiwJiKj4&w=640&h=390] Good evening. Tonight, I’d like to update the American people on the international effort that we have led in Libya – what we have done, what we plan to do, and why this matters to us. I want to begin by paying tribute to our men and women in uniform who, once again, have acted with courage, professionalism and patriotism. They have moved with incredible speed and strength. Because of them and our dedicated diplomats, a coalition has been forged and countless lives have been saved. Meanwhile, as we speak, our troops are supporting our ally Japan, leaving Iraq to its people, stopping the Taliban’s momentum in Afghanistan, and going after al Qaeda around the globe. As Commander-in-Chief, I am grateful to our Soldiers, Sailors, Airmen, Marines, Coast Guardsmen, and their families, as are all Americans. ...

March 29, 2011 · 16 min · birdchan

Perl Arrays of Arrays

Coming from the python background, this arrays of arrays in perl has given me so much pain. I decided to put down this cheat sheet here for future reference. Basic perl knowledge is assumed. # assign to our array, an array of array references @AoA = ( [ "fred", "barney" ], [ "george", "jane", "elroy" ], [ "homer", "marge", "bart" ], ); print $AoA[2][2]; # assign a reference to array of array references $ref_to_AoA = [ [ "fred", "barney", "pebbles", "bambam", "dino", ], [ "homer", "bart", "marge", "maggie", ], [ "george", "jane", "elroy", "judy", ], ]; print $ref_to_AoA->[2][2]; For @array, use parentheses, i.e. the top example. For a reference, use square brackets, i.e. the bottom example. ...

March 28, 2011 · 2 min · birdchan

相当巴适, 很给力

“相当巴适, 很给力” ??? 甚麼意思??? 巴适, 西南方方言, 就是舒服的意思. 此方言主要流传于四川, 重庆, 贵州等地. bā shì (重庆读音: ba 二声 si 四声) 很好 舒服, 正宗,地道 给力, (brilliant/awesome). 读音为, gěi lì, 中国北方的土话, 表示给劲, 带劲的意思. 在地方方言中就是"带劲儿", “牛”, “酷"的意思. 用作动词, 指"给以力量”, “加油”. “给力"一般理解为有帮助, 有作用, 给面子.

March 25, 2011 · 1 min · birdchan