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".