Saturday, 1 March 2014

9 habits of mentally strong people

My iPad is passed away thanks to Z4's folding roof. I didn't aware of my bag is behind the car seat. 
Too sad....but I should.... let her go.

9 habits of mentally strong people
Some people are able to overcome obstacles, while others crumble at life’s daily challenges and frustrations. It all depends on mental strength.

“In a world that we don’t control, tolerance is obviously an asset,” Ryan Holiday, author of the forthcoming book “The Obstacle Is the Way,” was quoted as saying. 

It is a simple truth that the ability to cope with difficult emotions and situations is a significant predictor of our success and happiness, the U.S. news website Huffington Post stated. 

To become a capable individual who turns any obstacle into a source of growth and opportunity, you may want to take note of the characteristics of mentally strong people. 

Here are the nine habits and practices of mentally strong people revealed by the Huffington Post on Feb. 18. 

1. They see things objectively

Shakespeare’s famous line read, “There is nothing either good or bad, but thinking makes it so.” The way we perceive a situation has a tremendous power to either help or harm us. Look at things objectively to overcome a challenge.

2. They let go of entitlement

Thinking that we deserve to get what we want all the time, namely, having an attitude of entitlement, can make it more difficult to cope with hardships. Mentally strong people recognize that their entire life plans, and life itself, could be derailed at any moment. They don’t waste time complaining about their destiny when things go wrong. 

3. They keep an even keel

Mental strength is not about always being happy. It is more about “keeping an even keel at any and all times,” says Holiday. Emotional stability and the ability to stay cool is an asset when handling challenging situations. 

4. They don’t aspire to be happy all the time

Preoccupation with happiness can lead to unhappiness. People who are strong mentality do not avoid negative emotions. Accepting both positive and negative emotions and letting them coexist is a key component of resiliency. 

5. They are realistic optimists

Mentally tough people have the habit of rising after they fall instead of getting upset, feeling hopeless and giving up in the face of obstacles. They tend to be “realistic optimists” by having the hopefulness of optimists and the clarity of pessimists. 

6. They live in the present moment

Being present -- rather than dwelling on the past or anticipating the future -- allows people to see things as they are. The mentally strong tend to have a mindful and attentive way of engaging with the world. The science also proves that mindfulness can boost brain power, stabilize emotion and reduce stress and anxiety. 

7. They are persistent in the pursuit of their goals

One of the fundamental qualities of resilient people is perseverance, or as Angela Lee Duckworth puts it, grit. “Grit is passion for very long-term goals. Grit is having stamina. Grit is sticking with your future,” she said, citing the results of her study.

8. They know when it is time to let go

Mentally strong people have no trouble letting things go. Only actions can be controlled, not the results of those actions. Accepting this fact allows us to yield to the things that are beyond our power. Change what we can control, but accept what we cannot control, and know the difference between the two. 

9. They love their lives

The last key to being mentally tough is to be grateful and appreciative of obstacles. Turns and twists are life itself. Find joy in embracing the things that happen to you. May you always remember that obstacles in the path are not obstacles, they ARE the path, according to the author Jane Lotter.

Monday, 24 February 2014

Want to live like this poem

Success( Ralph Waldo Emerson)
To laugh often and much;
To win the respect of intelligent people
and the affection of children;
To earn the appreciation of honest critics
and endure the betrayal of false friends;
To appreciate beauty,
to find the best in others;
To leave the world a bit better,
whether by a healthy child,
a garden patch or a redeemed social condition;
To know even one life has breathed easier
because you have lived.
This is to have succeeded.

Tuesday, 4 February 2014

10 years anniversary of Facebook - Mark Zuckerberg

Today is Facebook's 10th anniversary.

It's been an amazing journey so far, and I'm so grateful to be a part of it. It's rare to be able to touch so many people's lives, and I try to remind myself to make the most of every day and have the biggest impact I can.

People often ask if I always knew that Facebook would become what it is today. No way.

I remember getting pizza with my friends one night in college shortly after opening Facebook. I told them I was excited to help connect our school community, but one day someone needed to connect the whole world.

I always thought this was important -- giving people the power to share and stay connected, empowering people to build their own communities themselves.

When I reflect on the last 10 years, one question I ask myself is: why were we the ones to build this? We were just students. We had way fewer resources than big companies. If they had focused on this problem, they could have done it.

The only answer I can think of is: we just cared more.

While some doubted that connecting the world was actually important, we were building. While others doubted that this would be sustainable, you were forming lasting connections.

We just cared more about connecting the world than anyone else. And we still do today.

That's why I'm even more excited about the next ten years than the last. The first ten years were about bootstrapping this network. Now we have the resources to help people across the world solve even bigger and more important problems.

Today, only one-third of the world's population has access to the internet. In the next decade, we have the opportunity and the responsibility to connect the other two-thirds.

Today, social networks are mostly about sharing moments. In the next decade, they'll also help you answer questions and solve complex problems.

Today, we have only a few ways to share our experiences. In the next decade, technology will enable us to create many more ways to capture and communicate new kinds of experiences.

It's been amazing to see how all of you have used our tools to build a real community. You've shared the happy moments and the painful ones. You've started new families, and kept spread out families connected. You've created new services and built small businesses. You've helped each other in so many ways.

I'm so grateful to be able to help build these tools for you. I feel a deep responsibility to make the most of my time here and serve you the best I can.

Thank you for letting me be a part of this journey.

Thursday, 12 September 2013

Arduino + BUB

Arduino (UNO) + BUB Soldering

It has been a while ....I did soldering long long time ago.... Cannot remember how I finished all the course work - analogue, digital circuits , PWM , assembler, micro controller and so on.

Now, I brought my interests again - This is Arduino Uno (upper part) made by Italy and with micro controller chip and BUB (lower part) It took two hours to finish soldering according to design spec.
And tested Arduino example source code to verify all the receiving/transmitting parts  are working correctly for half an hour.



Wednesday, 11 September 2013

iOS7

Core Motion API
- Identify User Movement (similar with Activity Recognition in Android
- Optimized for Context Awareness
measures motion data continuously; accelerometer, gyroscope, compass
- M7 : motion co-processor

Time to add Health and Fitness App example in the course 


iWork and iLife apps could go free in iOS 7

including iPhoto, iMovie,Keynote, Numbers and Pages 

Wednesday, 4 September 2013

The official Google Code blog: Gmail for Mobile HTML5 Series: A Common API for We...

The official Google Code blog: Gmail for Mobile HTML5 Series: A Common API for We...: On April 7th, Google launched a new version of Gmail for mobile for iPhone and Android-powered devices. We shared the behind-the-scenes stor...

100% perfect girl, 100% perfect boy

Once upon a time, there lived a boy and a girl. The boy was eighteen and the girl sixteen. He was not unusually handsome, and she was not especially beautiful. They were just an ordinary lonely boy and an ordinary lonely girl, like all the others. But they believed with their whole hearts that somewhere in the world there lived the 100% perfect boy and the 100% perfect girl for them. Yes, they believed in a miracle. And that miracle actually happened.

One day the two came upon each other on the corner of a street.

“This is amazing,” he said. “I’ve been looking for you all my life. You may not believe this, but you’re the 100% perfect girl for me.”

“And you,” she said to him, “are the 100% perfect boy for me, exactly as I’d pictured you in every detail. It’s like a dream.”

They sat on a park bench, held hands, and told each other their stories hour after hour. They were not lonely anymore. They had found and been found by their 100% perfect other. What a wonderful thing it is to find and be found by your 100% perfect other. It’s a miracle, a cosmic miracle.

As they sat and talked, however, a tiny, tiny sliver of doubt took root in their hearts: Was it really all right for one’s dreams to come true so easily?

And so, when there came a momentary lull in their conversation, the boy said to the girl, “Let’s test ourselves - just once. If we really are each other’s 100% perfect lovers, then sometime, somewhere, we will meet again without fail. And when that happens, and we know that we are the 100% perfect ones, we’ll marry then and there. What do you think?”

“Yes,” she said, “that is exactly what we should do.”

And so they parted, she to the east, and he to the west.

The test they had agreed upon, however, was utterly unnecessary. They should never have undertaken it, because they really and truly were each other’s 100% perfect lovers, and it was a miracle that they had ever met. But it was impossible for them to know this, young as they were. The cold, indifferent waves of fate proceeded to toss them unmercifully.

One winter, both the boy and the girl came down with the season’s terrible influenza, and after drifting for weeks between life and death they lost all memory of their earlier years.

They were two bright, determined young people however, and were able to acquire once again the knowledge and feeling that qualified them to return as full-fledged members of society. Indeed, they even experienced love again, sometimes as much as 75% or even 85% love.

Time passed with shocking swiftness, and soon the boy was thirty-two, the girl thirty.

One beautiful April morning, in search of a cup of coffee, the boy was walking from west to east, while the girl, mailing a special-delivery letter, was walking from east to west, along the same narrow street in the Harajuku neighborhood of Tokyo. They passed each other in the very center of the street. The faintest gleam of their lost memories glimmered for the briefest moment in their hearts. Each felt a rumbling in their chest. And they knew:

She is the 100% perfect girl for me.

He is the 100% perfect boy for me.

But the glow of their memories was far too weak, and their thoughts no longer had the clarity of fourteen years earlier. Without a word, they passed each other, disappearing into the crowd. Forever.

Thursday, 8 August 2013

08723 N6 Summer Mobile App Course Final Project

 Finally students project were posted. Check 08723 N6 Summer Mobile App final Project youtube videos. Amazing app and interesting ideas.

First year I focused on a seamless and consistence user experience in both Android and iOS devices.
Second year I emphasized on utilizing web services with REST API client and integrating social network services like facebook and twitter.
http://www.youtube.com/watch?v=pu4c8uU915g&list=PL1TkRA1gvjp9j6HTfUYNySpzp_WGauzS3

Third year,  moving on extensibility, I guided to use more sensors and hardware features on the phone.
http://www.youtube.com/watch?v=POObXKUOwFI&list=PL1TkRA1gvjp8mfgFQG449zl33gTwSlMCv

Every single semester, students had struggled with learning new languages and APIs but they eventually delivered amazing ideas with their own story with architectural decision and design rationales.

Got great feedback from 08-723 N6 student. Always detail feedbacks make me speculate what they want and how to improve my lectures. - Feeling happy.


"I had very good hands on with excitement working in both platforms.
I feel this course opened me up new windows for mobile software development.
Your lectures were up to the point and practical.

I will definitely recommend this course to my juniors.

Thank you again for your continuous support."


I love teaching in CMU when I got inspired by all the students who made tremendous effort to learn something knew and make something cool.



Friday, 26 July 2013

2013 GOOGLE IO


  • Google I/O 2013 
  • 900 Million Android Activations world wide ( double the 2012 figure of 400 million)
  • 48 Billion Apps downloaded from Google Play (Apple's recent milestone of 50 billion)
  • The revenue per user is up 2.5x what it was a year ago

  • Google Play Games : achievements, cloud saves,  leaderboards , and synchronous multiplayer.  Single Sign on cross platform logins 
  • Android Studio: IntelliJ IDEA Based, preview strings of code, colors, layouts and even translations
  • Developer Admin: Translation service, alpha and beta testing 
  • Google Cloud Messenger  bidirectional XMPP messaging between server and devices, persistent connections, upstream messaging and synchronized notifications (for multiple devices.) 
  • Map API: Geofencing, Fused Location Provider (battery-friendly location API) Recognition Activity (API) - telling user's activity by walking, driving, or biking 
  • Integrating Google Maps + Google Earth 
  • Google Places: Place Recommendation, Offers, Dynamic Re-routing, Landmarks, Explorer
  • "Clicking on a museum creates a map of museums, clicking on restaurant shows similar recommendations, and so forth. And with Google Earth integrated, you can literally fly from outer space right into the interior of a building, thanks to user image uploads."
  • Google Play for Education:a content marketplace of apps, books and videos designed for educators in a virtual classroom 
  • Google Music Play : iTunes + Pandora + Spotify 
  • Google+ : Managing photos , "motion" "Awesome", :Highlight"
  • Unified Google Hang out : built into Gmail and Google+, chat with multiple people at once and send media from any device. Everything is synced between devices by Google.
  • Now cards: scheduler /reminder
  • New Video (VP9) and Image(WebP) format: reducing file size 63%, 31% respectively.

  • GMail + Google wallet 
  • Google App Engine to support PHP and Cloud Storage, targeting Amazon EC2 customers
  • Google Voice Search coming to Chrome and Chrome OS. Just say “Ok, Google…”
  •  Smarter Search: including use of "hot words," letting it take potentially ambiguous queries like "when does my flight land" and use your own data to answer it
  • Google Play Developer Console – new features in consoleApp translations
  • Revenue Graphs
  • Alpha and beta testing
  • Staged Rollouts
  • Optimisation tips
  • Google Analytics
  • Referral tracking


Tuesday, 12 February 2013

An 87 Year Old College Student Named Rose

"An 87 Year Old College Student Named Rose
The first day of school our professor introduced himself and challenged us to get to know someone we didn’t already know. 
I stood up to look around when a gentle hand touched my shoulder. I turned round to find a wrinkled, little old lady beaming up at me
with a smile that lit up her entire being.
She said, “Hi handsome. My name is Rose. I’m eighty-seven years old. Can I give you a hug?”
I laughed and enthusiastically responded, “Of course you may!” and she gave me a giant squeeze.
“Why are you in college at such a young, innocent age?” I asked.
She jokingly replied, “I’m here to meet a rich husband, get married, and have a couple of kids…”
“No seriously,” I asked. I was curious what may have motivated her to be taking on this challenge at her age.
“I always dreamed of having a college education and now I’m getting one!” she told me.
After class we walked to the student union building and shared a chocolate milkshake. We became instant friends. Every day for the
next three months, we would leave class together and talk nonstop. I was always mesmerized listening to this “time machine”
as she shared her wisdom and experience with me.
Over the course of the year, Rose became a campus icon and she easily made friends wherever she went. She loved to dress up and she reveled in the attention bestowed upon her from the other students. She was living it up.
At the end of the semester we invited Rose to speak at our football banquet. I’ll never forget what she taught us. She was
introduced and stepped up to the podium.
As she began to deliver her prepared speech, she dropped her three by five cards on the floor. Frustrated and a little embarrassed she leaned into the microphone and simply said, “I’m sorry I’m so jittery. I gave up beer for Lent and this whiskey is killing me! I’ll never get my speech back in order so let me just tell
you what I know.”
As we laughed she cleared her throat and began, “We do not stop playing because we are old; we grow old because we stop
playing. There are only four secrets to staying young, being happy, and achieving success. You have to laugh and find humor every day.
You’ve got to have a dream. When you lose your dreams, you die.
We have so many people walking around who are dead and don’t even know it!There is a huge difference between growing
older and growing up.
If you are nineteen years old and lie in bed for one full year and don’t do one productive thing, you will turn twenty years old.
If I am eighty-seven years old and stay in bed for a year and never do anything I will turn eighty-eight.
Anybody can grow older. That doesn’t take any talent or ability. The idea is to grow up by always finding opportunity in change.
Have no regrets.
The elderly usually don’t have regrets for what we did, but rather for things we did not do. The only people who fear death are those
with regrets.”
She concluded her speech by courageously singing “The Rose.”
She challenged each of us to study the lyrics and live them out in our daily lives.
At the year’s end Rose finished the college degree she had begun all those years ago. One week after graduation Rose died
peacefully in her sleep.
Over two thousand college students attended her funeral in tribute to the wonderful woman who taught by example that it’s
never too late to be all you can possibly be .When you finish reading this, please send this peaceful word of advice to your friends and family, they’ll really enjoy it!
These words have been passed along in loving memory of ROSE.
REMEMBER, GROWING OLDER IS MANDATORY. GROWING UP IS
OPTIONAL.
We make a Living by what we get, We make a Life by what we give."

Saturday, 9 February 2013

Mark Warner Wake Forest Commencement Speech 2006

"This is the spirit which makes America unique. Our insatiable desire to push the boundaries of what we know and what we can do is what propels our science, our scholarship and our economy.I know; it can be scary. I'll often remember ... after college, I went to law school and a year or so after law school, I decided I would become an entrepreneur. So, I took my life savings — $5,000 — invested in a little energy start-up company. I went to work for that company and, in six weeks, in six weeks I helped that company go totally broke.

I then went into real estate. It took me six months to fail at that. So, at the ripe old age of 26 — student loans coming due — was living out of my car — sleeping on the couches of my law school classmates. This was back in 1982. A new friend told me about a new industry starting up called cellular telephones. I'll always remember my law school classmates saying to me, "Warner, you're so crazy. Go get a real job. Nobody's ever going to want a car phone!" They're still practicing law. So, I fell into that industry and ended up co-founding Nextel. 

- Mark Warner Wake Forest Commencement Speech 2006"

Intelligence

Regarding to intelligence,.I would say someone is intelligent if one has three capabilities - collecting "relevant" pieces of information, interpreting them considering involved party's concern/interest and making best decision to meet,  social equilibrium, in other words, at least to draw majority satisfaction.  But among these three capabilities, I would appreciate more about "considering involved party's concern/interest".  (Hmm, this sounds very metaphysical, in short, I appreciate a considerate person.)

We, as a member of society, are surrounded by full of decision making processes - even finding where to hangout, whom to meet, and what to do for fun. As a human being I believe we are natural-born self-ego and lonely even with friends and family. So that one could easily behave and pursue his/her own interest only and try to utilize all the resources as many as possible in order to fulfill his/her desire even including their friends and family members. However, some people are so considerate by putting themselves into other's shoes and suggesting somethings to meet other's satisfaction as well as his/hers. And I believe this attitude could bring more intellectual conversation , even inspire all the involved people and lead to better conclusion when it comes to decision making. This is my understanding of "intelligent people" and I try to be the one and want to win the respect from "intelligent people". 

Thursday, 31 May 2012

connecting Xcode4 with SVN server


Are you using xCode 4 with Snow leopard?

In this case, I solved like this. I think this caused by a bug  in Xcode or permission problem in Mac or something though.

1.Launch  the terminal in your mac,
2. type in the terminal   svn ls svn://svnserverURI/Repository
3. And it will ask you password (This is your Mac's password), and then your ID (svn repository ID) and password (svn repository PW) again
4. once you typed correctly, it will show you success.
5. Go to Organizer in Xcode, and hook up repository, then you will see ID/PW and No Revision updated on the work space

Android expiration error


Goto  /Users/name/.android/debug.keystore 
rm debug.keystore

Saturday, 5 May 2012

Team work and productivity.

Teamwork is the ability to work together toward a common vision.
The ability to direct individual accomplishments toward organizational objectives.
It is the fuel that allows common people to attain uncommon results.
~Andrew Carnegie


In my program at the Carnegie Mellon University, we highly promote this motto - "learning by doing" , like Andrew Carnegie said, we highly value on "uncommon results" from teamwork. 


As far as Web technologies and network has been evolved, it has been way easy to get oneself exposed to any educational environment. People could learn how to install software and tips from blogs, Youtube, iTunes university, even from limited 160 words from Twitter. It's been hard to add more value added service in education area without building environment to share, think and conclude together. 


I totally agree with Andrew Carnegie's Teamwork spirit, and want to promote this spirit to my classroom as well to bring more unforgettable moments to my students. 


I see some students feedback regarding to team work and productivity. I see some complaints about slackers. However, I've observed tremendous outcomes from any teams in the class room. They could not reach those results without inspiring , challenging, arguing and debating each other. That being told, I wish my summer lecture going well to bring same team spirits for SE , ISR and INI students.  I do believe their potential ability to bring their best efforts to inspire each other as well as myself, other guest judges and guest lectures. I hope they could build strong companionship each other and learn each other. Can't wait to see it. 

Sunday, 29 April 2012

Work, Family, Health, Friends, and Spirit - Five balls by James Patterson


Imagine life is a game in which you are juggling five balls. The balls are called work, family, health, friends, and integrity (your spirit) . And you're keeping all of them in the air. But one day you finally come to understand that work is a rubber ball. If you drop it, it will bounce back. The other four balls–family, health, friends, integrity–are made of glass. If you drop one of these, it will be irrevocably scuffed, nicked, perhaps even shattered. And once you truly understand the lesson of the five balls, you will have the beginnings of balance in your life.

Imagine life as a game in which you are juggling some five balls in the air. You name them - Work - Family - Health - Friends - Spirit, and you're keeping all of these in the air.

You will soon understand that work is a rubber ball. If you drop it, it will bounce back. But the other four balls -- family, health, friends and spirit are made of glass. If you drop one of these, they will be irrevocably scuffed, marked, nicked, damaged or even shattered.

Totally agreed. To me my spirit is the most important thing as well as my family - actually Mom. She needs lots of attention before going back to nature. I know as a human being, we need to answer the nature's call, my mom will do the same at most in 50 yeas. Sometimes I was mean to her, even though I always aware of her problem, but I am a human being as well....so sometimes I was not friendly to her. I should keep this in mind more seriously. Time and resources are limited, and I should focus on something important in my life rather than other's criteria. Focus!

Monday, 23 April 2012

Goal for this year.

1. Appreciation : to earn the appreciation of honest critics, to appreciate beauty, to find the best in others;
2. Respect : to win the respect of intelligent people
3. Trust : to build trust with at least two friends and two coworkers 
4. Individual growth
5. Companionship with co-workers

Recall from 80/20 principle , the village theory


From Chapter 12,  The 80/20 Principle: The Secret to Success by Achieving More with Less” by Richard Koch
“Apparently, the common pattern of people in any society is to have two important childhood friends, two significant adult friends and two doctors. Typically, there are two powerful sexual partners who eclipse the others. Most commonly, you fall in love only once and there is one member of your family whom you love above all others. The number of significant personal relationships is remarkably similar for everyone, regardless of their location, sophistication or culture. This has led to the anthropologists’ ‘village theory’. In an African village, all these relationships happen within a few hundred meters and are often formed within a short period of time. For us, these relationships may be spread all over the planet and over a whole lifetime. They nonetheless, constitute a village which we each have in our heads. And once these slots are filled, they’re filled forever. The anthropologists say that if you have too much experience, too early, you exhaust your capacity for further deep relationships. This may explain the superficiality often observed in those whose profession or circumstances force them to have a great number of relationships, such as salespeople, prostitutes or those who move house very frequently.”
For This reason we should be careful in choosing our relationships and try to fill these slots with the most valuable people we can find and not rush to fill them. 

Thursday, 6 October 2011

Tribute to Steve Jobs from Mr. President

“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.”

iPhone 5 to Feature Apple Friend Locator?


http://www.iphonefaq.org/

Recently revealed patents point to Apple developing a native location reporting app that would make it possible to broadcast your iPhone location to friends and see who's nearby. The patent, filed in June 2009, is titled "Push-Based Location Update" and is credited to four Apple engineers.

The Friend Locator app would track users based on their iTunes account login, and feature voluntary privacy controls such as blocking individual users from seeing your location. Those who have their iPhone set to push location updates will be listed along with their location and the distance, or as a push pin on a map.

Location services can be set to automatically update the service or use only manual updates similar to a Foursquare check in. Apple is competing directly against Google's Latitude service, which finally launched in the App Store last week. Apple had said it was evaluating the app and they were concerned it could confuse users of the built-in Maps application. Google Latitude boasts nine million active users.

When it comes to location services and GPS, speculation has centered on Apple's recent acquisitions of mapping companies Placebase and Poly9. Recent reports have indicated that Apple might offer a native navigation app that would speak directions to iPhone owners for free. With this patent on the books, it seems that the Apple Geo Team has its hands full developing a variety of new built-in features for a future iOS devices.

The iPhone 5 is expected to ship in summer 2011. Apple could include Friend Locator and voice navigation applications on the next generation device, however the company normally keeps tight-lipped until several months before a new product is available. Stay tuned for updates on new location services coming to future iOS releases.