Code

2011年10月6日星期四

Truely inspirational to any tech guy

Steve Jobs has passed away, tech world mourns

October 5, 2011, 5:22 PM PDT

Apple co-founder and long-time CEO Steve Jobs has passed away today after a long fight with pancreatic cancer. Jobs resigned as CEO in August and didn’t appear yesterday at Apple’s launch of the latest edition of the iPhone.

Statement from Apple

Here is the public statement from Apple’s board of directors:

We are deeply saddened to announce that Steve Jobs passed away today.

Steve’s brilliance, passion and energy were the source of countless innovations that enrich and improve all of our lives. The world is immeasurably better because of Steve.

His greatest love was for his wife, Laurene, and his family. Our hearts go out to them and to all who were touched by his extraordinary gifts.

Tribute on Apple.com

Apple has placed a simple tribute to Steve on its homepage:

Statement from Jobs’ family

The family of Steve Jobs released this statement:

Steve died peacefully today surrounded by his family.

In his public life, Steve was known as a visionary; in his private life, he cherished his family. We are thankful to the many people who have shared their wishes and prayers during the last year of Steve’s illness; a website will be provided for those who wish to offer tributes and memories.

We are grateful for the support and kindness of those who share our feelings for Steve. We know many of you will mourn with us, and we ask that you respect our privacy during our time of grief.

Tim Cook’s email to Apple employees

Here is the email message that CEO Tim Cook sent to his employees at Apple:

Team,

I have some very sad news to share with all of you. Steve passed away earlier today.

Apple has lost a visionary and creative genius, and the world has lost an amazing human being. Those of us who have been fortunate enough to know and work with Steve have lost a dear friend and an inspiring mentor. Steve leaves behind a company that only he could have built, and his spirit will forever be the foundation of Apple.

We are planning a celebration of Steve’s extraordinary life for Apple employees that will take place soon. If you would like to share your thoughts, memories and condolences in the interim, you can simply email rememberingsteve@apple.com.

No words can adequately express our sadness at Steve’s death or our gratitude for the opportunity to work with him. We will honor his memory by dedicating ourselves to continuing the work he loved so much.

Tim

Note from Bill Gates

Jobs’ longtime friend and rival Bill Gates of Microsoft released the following statement:

I’m truly saddened to learn of Steve Jobs’ death. Melinda and I extend our sincere condolences to his family and friends, and to everyone Steve has touched through his work.

Steve and I first met nearly 30 years ago, and have been colleagues, competitors and friends over the course of more than half our lives.

The world rarely sees someone who has had the profound impact Steve has had, the effects of which will be felt for many generations to come.

For those of us lucky enough to get to work with him, it’s been an insanely great honor. I will miss Steve immensely.

Note from Steve Ballmer

Microsoft CEO Steve Ballmer offered the following statement:

“I want to express my deepest condolences at the passing of Steve Jobs, one of the founders of our industry and a true visionary. My heart goes out to his family, everyone at Apple and everyone who has been touched by his work.”

Notes from Google founders

Google CEO Larry Page made this statement:

“I am very, very sad to hear the news about Steve. He was a great man with incredible achievements and amazing brilliance. He always seemed to be able to say in very few words what you actually should have been thinking before you thought it. His focus on the user experience above all else has always been an inspiration to me. He was very kind to reach out to me as I became CEO of Google and spend time offering his advice and knowledge even though he was not at all well. My thoughts and Google’s are with his family and the whole Apple family.”

Google co-founder Sergey Brin made this statement:

“From the earliest days of Google, whenever Larry and I sought inspiration for vision and leadership, we needed to look no farther than Cupertino. Steve, your passion for excellence is felt by anyone who has ever touched an Apple product (including the macbook I am writing this on right now). And I have witnessed it in person the few times we have met.

On behalf of all of us at Google and more broadly in technology, you will be missed very much. My condolences to family, friends, and colleagues at Apple.”

Note from Marc Andreessen

Web pioneer Marc Andreessen said that Jobs beamed products from 10 to 20 years in the future.

“He was the most amazing product visionary our industry had or will ever have.”

Note from President Obama

U.S. President Barack Obama released the following statement:

Michelle and I are saddened to learn of the passing of Steve Jobs. Steve was among the greatest of American innovators – brave enough to think differently, bold enough to believe he could change the world, and talented enough to do it.

By building one of the planet’s most successful companies from his garage, he exemplified the spirit of American ingenuity.  By making computers personal and putting the internet in our pockets, he made the information revolution not only accessible, but intuitive and fun.  And by turning his talents to storytelling, he has brought joy to millions of children and grownups alike. Steve was fond of saying that he lived every day like it was his last.  Because he did, he transformed our lives, redefined entire industries, and achieved one of the rarest feats in human history: he changed the way each of us sees the world.

The world has lost a visionary. And there may be no greater tribute to Steve’s success than the fact that much of the world learned of his passing on a device he invented. Michelle and I send our thoughts and prayers to Steve’s wife Laurene, his family, and all those who loved him.

CNET video tribute

CBS News video tribute

Steve Jobs on mortality

In his commencement address at Stanford University in 2005, after he had just came back from cancer the first time, Jobs said:

“Your time is limited, so don’t waste it living someone else’s life. Don’t be trapped by dogma — which is living with the results of other people’s thinking. Don’t let the noise of others’ opinions drown out your own inner voice. And most important, have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary.”

Here is the video of the full 15-minute commencement speech at Stanford:

My take

A century from now, people will still marvel at how Steve Jobs changed the world by humanizing technology. That will be his legacy.

zt. from TechRepublic

2011年10月5日星期三

两首Andy的金曲

情感的禁区 刘德华
曲:天野滋 词:陈浩贤

街中飘雨车蓬半开我心湿透水
独自飞驰追忆挥不去忧虑
当天的我不曾爱惜你痴心暗许
常令你独垂泪 弄得爱路极崎岖

今天的你已跟他去 心已被窃取
孤单的我只有叹唏嘘
踏快车 雨中追 但愿停车跟你聚
但我知 你的心 尽是情感的禁区

街灯映照车头撇湿满窗的雨水
就象我心头抑郁心中满苦泪
车厢中我心神更加仿佛空虚
连夜我未能睡 内心悔恨如有罪

当天的你已消失去 心若冷水
今天的我只有叹唏嘘
愿你知 我空虚 但愿重新跟你聚
但我知 你的心 尽是情感的禁区

----------------------------------------------------------------------------------------------------------
都怪我 刘德华
电影《新家法》片尾曲
作词:高枫 作曲:高枫
专辑:人间爱

都怪我都怪我 
看不到事情快另有个结果
当爱没有等到瓜熟蒂落 
人已分天各

都怪我太执着 
却也拼不回那撕碎的承诺
一个故事只能告一段落 
风吹叶儿落

都怪爱的故事太多完美 
我的今天才这样狼狈
付出等于收获那是自以为

都怪爱的故事太多完美 
我的今天才充满后悔
短暂等于永久那是自以为那是自以为

2011年10月3日星期一

fuking "data type mismatch in criteria expression" error

Seem like many people have encountered this daunting "data type mismatch in criteria expression" error, so do I. Some people have this when they wrote VB scripts in MS Access, but my case is not related to any code at all. I encounter it just when I try to output some data from mysql table to a static report in MS Access. So many solutions on the web could not fit into my situation.

After several days of pulling hair, I finally find the cause.

I used BigInt as one of my Mysql table field type. It seems MS access or ODBC doesn't recognize this type. After I change it to int, everything works fine now.

Microsoft really should provide more information to this bug. The error message given is too general which doesn't help in such complicated situation.