JavaScript and CSS

August 21st, 2014 by Terrence Miao 2 comments »

JavaScript is a sloppy language, but inside it there is an elegant, better language.

Why do you hate CSS?
Mostly because you don't understand it.

Why people waste their time rewriting Javascript to Coffeescript, rewriting CSS to SASS?
Because they like JavaScript, CSS ugly and unloved.

Google+: View post on Google+

Ten colour the most comfortable to human eyes

August 9th, 2014 by Terrence Miao 1 comment »

Ten colour the most comfortable to human eyes

Ten colour the most comfortable to human eyes

Google+: View post on Google+

Two disgusting things programmers hate the most:

August 7th, 2014 by Terrence Miao No comments »

1. Writing document
2. There's no document

Google+: View post on Google+

Navdy – this $500 head-up display make you feel driving your car like flighting a…

August 6th, 2014 by Terrence Miao 1 comment »

Navdy – this $500 head-up display make you feel driving your car like flighting a figher jet

Google+: View post on Google+

When it was Clojure vs. Java and what is Clojure killer app

July 31st, 2014 by Terrence Miao 3 comments »

It seems that Clojure is good for data, big data. Not surprise that Google backs it.

Someone reckons one thing of a great power of programming language should be “Data is Code and Code is Data”.

Clojure code is data. Clojure code is representedin Clojure data. Clojure data is represented in Clojure data structures. Clojure meta data is represented in Clojure data structures as well.

On a different perspective, Java code is string. Java data is represented in Java Arrays and Java Collections. Java meta data is represented with annotations.

Already seen a much bigger aspiration?

… …

Ruby has Rails. You can create a blog app in 15 minutes. Java has tons of frameworks, you can develop an online pet shop in a day. What does Clojure have? What killer app Clojure in disguise could make Clojure become mainstream, cover from web to big data, not just a wrapper?

Someone says the next big thing alongside with web is mobile. Clojure apps run as smooth as Java apps. There will be e.g. Clojure for Android in future. Other says although there isn’t amazing library or framework Clojure could offer for some problem domain, like micro services – accessing databases (SQL and NoSQL), interacting with third party with web services, JSON, XML, REST could become Clojure's winning ground.

Steve Yegge who created Rhino for Rails once made a call that “JVM is the killer application of Clojure”.

» Read more: When it was Clojure vs. Java and what is Clojure killer app

Mr Neilson outlined four factors he argued undermine the case for housing as an …

July 30th, 2014 by Terrence Miao No comments »

Mr Neilson outlined four factors he argued undermine the case for housing as an investment: 

• property returns were often exaggerated by inflation; 
• the cost of taxes, rates and maintenance can absorb half of one’s rental yield; 
• long-term value is determined by affordability; 
• and “to be optimistic about residential property prices rising in general much faster than inflation is a supreme act of faith”.

Embedded Link

Billionaire investor Kerr Neilson puts shares ahead of property

Google+: View post on Google+

Not only build products, but also build a culture, hack culture

July 29th, 2014 by Terrence Miao No comments »

…

Embedded Link

It might get weird: why Dropbox employees are goofing around on company time
Out in the San Francisco bay, behind AT&T Park, a giant version of Dropbox’s “open box” logo bobs up and down in the waves. It’s actually a paddle boat, with the giant box built on top; inside, two…

Google+: View post on Google+

You don’t need to be an expert in order to achieve satisfactory investment returns….

July 26th, 2014 by Terrence Miao No comments »

You don’t need to be an expert in order to achieve satisfactory investment returns. But if you aren’t, you must recognize your limitations and follow a course certain to work reasonably well. Keep things simple and don’t swing for the fences. When promised quick profits, respond with a quick “no.”

Embedded Link

Buffett’s annual letter: What you can learn from my real estate investments
In an exclusive excerpt from his upcoming shareholder letter, Warren Buffett looks back at a pair of real estate purchases and the lessons they offer for equity investors.

Google+: View post on Google+