Archive for the ‘Google Plus’ category

Small invention in your daily life (you don't have to patent everything like…

October 27th, 2012

Small invention in your daily life (you don't have to patent everything like Apple did) but full of creativeness.

Shout out original shared by Mr. Pie. +Michael Poloni  

Read more: http://shialabeowulf.tumblr.com/post/33670447154/99-life-hacks-to-make-your-life-easier

» Read more: Small invention in your daily life (you don't have to patent everything like…

Spring MVC thread safe distilled

October 26th, 2012

I come across this question when a controller in Spring MVC which scope is Singleton, is it thread safe?

The answer is NO.

According to java concurrency thread safety is that the shared data, like instance variables and can be modified, then the Singleton Spring MVC controller has the instance variables, or injected autowired Spring bean isn't 100% thread safe. But when member variables, inside the method body, then they are thread safe and no need for synchronised.

Now come along some goodies of the best practice of playing thread safety in Spring by following these simple rules:

1. Don’t use states on Controllers, Service Layer Objects and DAOs
2. If you can’t avoid, first rethink your design, unless you have to use synchronized
3. If you want to use prototype scoped beans, be aware of instance explosion

Google+: View post on Google+

General Melchett: "Performance isn't a dirty word, Blackadder

October 26th, 2012

Accountability is a dirty word, but performance isn't."

If you have never experienced performance tuning and testing, you should quit your I.T. job and work in a pet shop instead. If you know how to run LoadRunner (not Lode Runner, not the game), you are definitely a "qualified" and over-rated consultant who could demand big money but only make mealy mouthful work. If you know something beyond like JMeter and Grinder but not everything else, you are either too old or already out of fashion.

Introduce Gatling, a new stress testing tool with a different dimension.

• It uses concise and elegant script language to write BDD style testing scenarios, actually it's Scala.
• It uses actors and async IO patterns, asynchronous parallel computing, far more efficience than one-thread-per-user design.
• It gives more accurate results with far less memory and CPU usage.

Embedded Link

Gatling Project – Stress Tool
About. Gatling is an Open Source Stress Tool with: High performances · Simple concepts · A DSL to describe scenarios · HTTP support · A scenario recorder · Meaningful reports. Download. 10/15/2012: Ga…
» Read more: General Melchett: "Performance isn't a dirty word, Blackadder

iPad mini

October 24th, 2012

It takes 30 months and 4 generatons since first release of iPad on April 3rd 2010, Apple finally gets the right size, right weight, right price, right design, right OS, right applications, right market niche, right balanced, almost no annoying public complainted issues, nearly all bugs been fixed iPad delivered …

Google+: View post on Google+

Design of the day – Know about Fibonacci sequence from Agile practice

October 23rd, 2012

However, there are more fun playing Fibonacci sequence in your home.

Read more: http://freshome.com/2012/10/22/fun-practical-and-versatile-cabinet-inspired-by-the-fibonacci-sequence/

» Read more: Design of the day – Know about Fibonacci sequence from Agile practice

Zen of the day – One of my former colleagues was hired by a "secret" Australian…

October 22nd, 2012

Zen of the day – One of my former colleagues was hired by a "secret" Australian government agency. After several months after we caught up he told me he was recruited to do software development, but in fact he did everything since he joined the company except software development. 

The moral of this story is that sometime you are hired is not because what you could do but because of what people don't want to do.

Google+: View post on Google+

#TGIF – Step by step learning Gangnam Style

October 18th, 2012

#TGIF – Step by step learning Gangnam Style

Google+: View post on Google+

Infographic – Telling Stories With Data

October 18th, 2012

Infographic – Telling Stories With Data

Embedded Link

Where The Minerals Are | Visual.ly
Humans consume a gargantuan amount of natural resources, such as minerals, every year. Have you ever wondered where these minerals comes from? Not all

Google+: View post on Google+