Insight: 7 market myths that make investors poorer

July 26th, 2014 by Terrence Miao No comments »

1. You can’t be Warren Buffett
2. You get what you pay for?
3. You should focus either on fundamentals or technical analysis?
4. The myth of ‘passive’ investing
5. The stock market will make you rich?
6. You have to beat the market?
7. ‘Stocks for the long run’ is the best strategy?

Embedded Link

You can’t be Warren Buffett, but you can be a better investor Outside the Box

Google+: View post on Google+

Good developers have a passion for coding, a passion for helping others, and a passion…

July 26th, 2014 by Terrence Miao No comments »

Good developers have a passion for coding, a passion for helping others, and a passion for communicating

• Stack Overflow doesn't use many unit tests because of their active community and heavy usage of static code.
• Performance As A Feature 
• Hardware is cheaper than developers and efficient code. You are only as fast as your slowest bottleneck and all the current cloud solutions have fundamental performance or capacity limits.
Garbage collection driven programming. StackOverflow goes to great lengths to reduce garbage collection costs, skipping practices like TDD, avoiding layers of abstraction, and using static methods. While extreme, the result is highly performing code.
• The cost of inefficient code can be higher than you think. Efficient code stretches hardware further, reduces power usage, makes code easier for programmers to understand.

Embedded Link

StackOverflow Update: 560M Pageviews a Month, 25 Servers, and It’s All About Performance – High Scalability -

The folks at Stack Overflow remain incredibly open about what they are doing and why. So it&…
» Read more: Good developers have a passion for coding, a passion for helping others, and a passion…

How To Tie Shoelaces

July 26th, 2014 by Terrence Miao No comments »

How To Tie Shoelaces

How To Tie Shoelaces

Google+: View post on Google+

金三胖版小苹果奥巴马亲情助演

July 26th, 2014 by Terrence Miao No comments »

金三胖版小苹果奥巴马亲情助演

Google+: View post on Google+

The Bug-A-Salt air-powered RIFLE takes out creepy crawlies with a single blast of…

July 8th, 2014 by Terrence Miao No comments »

The Bug-A-Salt air-powered RIFLE takes out creepy crawlies with a single blast of SALT

• The Bug-A-Salt is an air-powered rifle that blasts a pinch of normal table salt at such high velocity that it is lethal to creepy-crawlies
• Unlike fly swatters, which often leave smears of dead fly after they have been squashed, the only clean-up this remarkable device needs is a quick brush
• The device was designed by a Santa Monica, California-based artist

Embedded Link

Bug-A-Salt: The Original Salt Gun
Fly problem? The Bug-A-Salt gun fires ordinary table salt to kill flies and other pesky insects. Experience the thrill of shooting the original salt gun to eliminate the common housefly.

Google+: View post on Google+

There are web services mocking tools like latest SoapUI 5.0,  focused on improving…

July 7th, 2014 by Terrence Miao 3 comments »

There are web services mocking tools like latest SoapUI 5.0,  focused on improving the REST testing capabilities, and UltraESB mocking a typical ESB in SOA environment.

Now there is WireMock, an extra light weight tool by creating an actual standalone HTTP server response stubbing, or embeded within an application, even as mocked stub in unit test.

Embedded Link

WireMock | WireMock
WireMock¶. WireMock is a flexible library for stubbing and mocking web services. Unlike general purpose mocking tools it works by creating an actual HTTP server that your code under test can connect to as it would a real web service. It supports HTTP response stubbing, request verification, …

Google+: View post on Google+

Whoever said money can't buy happiness simply didn't know where to go sh…

July 6th, 2014 by Terrence Miao No comments »

Whoever said money can't buy happiness simply didn't know where to go shopping.

Bo Derek

Google+: View post on Google+

Don't mock types you don't own

June 23rd, 2014 by Terrence Miao 1 comment »

Using a mock framework (as eg Mockito) to create stubs, but not to create mock objects.

Embedded Link

Don’t mock types you don’t own – dave^2 = -1
I’ve found applying the guideline* of not mocking types you don’t own to have helped my designs a fair bit recently. I’ve mentioned …

Google+: View post on Google+