18 Things Mentally Strong People Do

November 29th, 2014 by Terrence Miao 1 comment »

18 Things Mentally Strong People Do

18 Things Mentally Strong People Do

Google+: View post on Google+

Learning by doing is probably the most efficient way to learn

November 28th, 2014 by Terrence Miao 3 comments »

Learning by doing is probably the most efficient way to learn

Embedded Link

Things I Wish I Were Told About Angular.js
Things I Wish I Were Told About Angular.js. 25 May 2013. Recently I have worked on a project using Angular.js. As of writing this post, it’s a medium sized app (~10 modules, ~20 controllers, ~5 services and ~10 directives) with quite decent test coverage. When I look back, I find myself learning …

Google+: View post on Google+

The Zen of Angular

November 27th, 2014 by Terrence Miao 1 comment »

Angular is built around the belief that declarative code is better than imperative when it comes to building UIs and wiring software components together, while imperative code is excellent for expressing business logic.

• It is a very good idea to decouple DOM manipulation from app logic. This dramatically improves the testability of the code.
• It is a really, really good idea to regard app testing as equal in importance to app writing. Testing difficulty is dramatically affected by the way the code is structured.
• It is an excellent idea to decouple the client side of an app from the server side. This allows development work to progress in parallel, and allows for reuse of both sides.
• It is very helpful indeed if the framework guides developers through the entire journey of building an app: from designing the UI, through writing the business logic, to testing.
• It is always good to make common tasks trivial and difficult tasks possible.

Google+: View post on Google+

JavaScript doesn't need a Classical Object Inheritance

November 26th, 2014 by Terrence Miao 5 comments »

JavaScript can be used like a classical language, but it also has a level of expressiveness which is quite unique.

Classical objects are hard. The only way to add a new member to a hard object is to create a new class. In JavaScript, objects are soft. A new member can be added to a soft object by simple assignment.

Because objects in JavaScript are so flexible, you will want to think differently about class hierarchies. Deep hierarchies are inappropriate. Shallow hierarchies are efficient and expressive.

Embedded Link

Classical Inheritance in JavaScript
Classical Inheritance in JavaScript. Douglas Crockford · www.crockford.com. And you think you’re so clever and classless and free. — John Lennon. JavaScript is a class-free, object-oriented language, and as such, it uses prototypal inheritance instead of classical inheritance.

Google+: View post on Google+

The Conversation Prism – visual map of the social media landscape by Brian Solis…

November 24th, 2014 by Terrence Miao 1 comment »

The Conversation Prism – visual map of the social media landscape by Brian Solis and JESS3

URL – http://conversationprism.com/

The Conversation Prism

Google+: View post on Google+

Nauru, a used to be resource rich country, famous of its natural phosphate rock,…

November 24th, 2014 by Terrence Miao No comments »

Nauru, a used to be resource rich country, famous of its natural phosphate rock, fall into its own disgrace after a series of collapsed investments.

As same as resource rich, will Australia follow the Nauru's path, squandering opportunities, or transfer itself from a mining, agriculture dominated country into a high tech, industry power house?

Embedded Link

The Naughty Nation of Nauru

Google+: View post on Google+

3 stock-picking lessons from Warren Buffett

November 23rd, 2014 by Terrence Miao No comments »

3 stock-picking lessons from Warren Buffett

Embedded Link

3 stock-picking lessons from Buffett –
Morningstar provides investment research for stocks, funds, ETF’s, hybrids, and LIC’s as well as financial data, news, and investing articles and videos.

Google+: View post on Google+

The most frequently invented device in U.S. history

November 21st, 2014 by Terrence Miao No comments »

Ralph Waldo Emerson was credited said "build a better mousetrap, and the world will beat a path to your door."

The phrase has turned into a metaphor about the power of innovation, and is frequently taken literally, with more than 4,400 patents issued by the United States Patent and Trademark Office for new mousetraps, with thousands more unsuccessful applicants.

Google+: View post on Google+