不要這麼快下結論,因為你不知道別人正在面對什麼

一位醫生在接到緊急手術的電話之後,以最快的速度趕到醫院,並用最快的速度換上手術服。 當他朝手術室走來時,焦急萬分的男孩的父親失控地對他喊道:「你怎麼這麼晚才來?你難道不知道我兒子的生命正處在危險中嗎?你難道一點責任心都沒有嗎?」 醫生淡然地笑著說:「很抱歉,剛剛我不在醫院。但我一接到電話就以最快的速度趕來了。現在,我希望您能冷靜一下。這樣我也好去做我的工作。」 「冷靜?如果手術室裡是你的兒子,你能冷靜嗎?如果現在你兒子死了,你會怎樣?」男孩的父親憤怒地說。 醫生又淡然地笑了,回答道:「我將會默誦聖經上的一句話:‘我們從塵土中來,也都歸於塵土,祝福是主的名字。‘醫生不能延長生命,我們只是在神的恩典下盡力而為,請為你的兒子祈禱吧。」 「當人漠不關心時才會給出如此輕巧的建議。」男孩的父親嘀咕道。 幾個小時後,手術順利完成,醫生高興地走出來,對男孩的父親說:「謝天謝地,你的兒子得救了!」 然而,還沒有等到男孩的父親答話,他便匆匆離去了,並說:「如果有問題,你可以問護士!」 「他怎麼如此傲慢?連我問問兒子的情況這幾分鐘的時間他都等不了嗎?」父親對護士忿忿不平地說道。 護士的眼淚一下子就流出來了。「他的兒子昨天在一次交通事故中死了。當我們叫他來為你兒子做手術的時候,他正在去墓地的路上。現在,他救活了你兒子,要趕去完成他兒子的葬禮。」 有時候不要這麼快下結論,因為你不知道別人正在面對什麼! Ref link: http://ibook.idv.tw/enews/enews721-750/enews735.html

September 16, 2012 · 1 min · birdchan

What job are you suited for?

I did become an engineer, haha.

September 14, 2012 · 1 min · birdchan

Highcharts pie charts can have url links

For some reasons the default highcharts pie chart has no url links. Or at least that feature is not being demo’ed. See their example here: http://www.highcharts.com/demo/pie-basic. After tweaking the code for a while, here is the code that enables URL links in a pie chart. var chart; $(document).ready(function() { chart = new Highcharts.Chart({ chart: { renderTo: 'my_chart_id', plotBackgroundColor: null, plotBorderWidth: null, plotShadow: false }, title: { text: 'my_title' }, tooltip: { formatter: function() { var y = this.y; var p = Math.round(this.percentage*100)/100; return ''+ this.point.name +': ' + y + ' (' + p + '%)'; } }, plotOptions: { pie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: false }, showInLegend: true } }, series: [{ type: 'pie', name: 'overall', point: { events: { click: function(e) { //this.slice(); //console.log(e); location.href = e.point.url; e.preventDefault(); } } }, data: [ {name: 'Not Tested', color: '#FFA850', y: 87, url: 'http://my_site1.com'}, {name: 'Fail', color: '#FF2929', y: 2, url: 'http://my_site2.com'}, {name: 'Pass', color: '#31FF4F', y: 32, url: 'http://my_site3.com'} ] }] }); }); The part that enables the clicking is the new url key in data, and the event handling. ...

September 8, 2012 · 2 min · birdchan

Comcast Internet service only $62.95 a month?

I have signed up for Comcast’s bundle deal for TV and internet a few months ago. After a while I cancelled the TV service. I wasn’t really paying much attention to my bills until today I checked, Comcast is charging me $62.95 for internet service only? Really? Why??? I have done some research and all I can say is the pricing info is very unclear, not until you get your bill. ...

September 7, 2012 · 1 min · birdchan

年少無知

[youtube &w=640&h=360] 年少無知 電視劇【天與地】片尾曲 主唱:林保怡.陳豪.黃德斌 作曲:黃貫中 填詞:林若寧 編曲:黃貫中.劉志遠 監製:黃貫中 歌詞 林:年少多好 頑劣多好 不甘安於封建制度裡迷信上街真理會達到 旗幟高舉 群眾聲討 不惜犧牲一切去上訴權貴的想法太俗套 只可惜生活是一堆挫折 只可惜生命是必須妥協 陳:年少多好 貧困多好 一蚊積蓄足以快樂到廉價結他抒發我暴躁 財富得到 年歲不保 捐輸不必講究有回報人世間總會有異數 只可惜生活是一聲發洩只可惜生命是一聲抱歉怕追討 合:如果命運能選擇十字街口你我踏出的每步更瀟灑 如果活著能坦白舊日所相信價值不必接受時代的糟蹋 黃:年少多好 朋友多好 一番爭執不會有被告遊戲競爭不會記入腦 年歲增長 無法修補 青春的詩總會老 時間多恐怖 合:如果命運能選擇十字街口你我踏出的每步無用困惑 如果活著能坦白舊日所相信價值今天發現還未老 如果命運能演習現實中不致接納一生每步殘酷抉擇 留守過去的想法我會否好像這樣生於世上無目的鞭撻

September 3, 2012 · 1 min · birdchan

Install Homebrew on osx

Homebrew is simply the The missing package manager for OS X. Notice it’s better to not install macport on the same system with homebrew. To install it, do: ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go) Then to install say autoconf, simply do brew install autoconf It’s that simple!

August 22, 2012 · 1 min · birdchan

Adding a user to a group on osx

Here is a handy command line to say, add user user1 to the wheel group. sudo dseditgroup -o edit -a user1 -t user wheel Very handy command. Then you may want to add group write permission to your target directory.

August 22, 2012 · 1 min · birdchan

Outgrow.me

I think we all heard of Kickstart or Indiegogo, where projects are funded by the crowd. Some projects died without enough funding, while some made it and became very popular. For those projects that made it, you can go to this place called outgrow.me to look them up once again in case you forget about them. It’s also a nice place to brainstorm gift ideas as well!

August 21, 2012 · 1 min · birdchan

iDisk is gone...

If you freaked out like me coz you forgot to back up your iDisk, then you can calm down a bit. Yes, MobileMe ended on June 30, 2012, and iDisk syncing is no longer available. But perhaps your files are backed up by osx. Check and see if you have a folder called Previous local iDisks folder on your Desktop. If you see it, then you are in luck. Double-clicking on the image file will give you back all your files. ...

August 14, 2012 · 1 min · birdchan

test -x /etc/init.d/sendmail &amp;&amp; /usr/share/sendmail/sendmail cron-msp

I recently got lots of cron error emails having the email subject " test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp", and body being " /usr/share/sendmail/sendmail: 1248: /usr/sbin/sendmail-msp: not found". According to this post, it was probably due to my POSTFIX installation, having the side effect of not removing the OLD sendmail files, and thus those error emails… sigh… So do the following to fix it: sudo apt-get --purge remove sendmail-base sendmail-cf sendmail-doc sudo apt-get install sendmail-bin Here we remove the old sendmail, install the plain sendmail binary back, and removes postfix. ...

August 14, 2012 · 1 min · birdchan