Words of the day – "If money doesn't loosen up, this sucker could go do…

May 10th, 2013 by Terrence Miao 1 comment »

Words of the day – "If money doesn't loosen up, this sucker could go down."

George W. Bush when he came out in front of the White House during the 2008 credit crisis

Google+: View post on Google+

Charlie Munger, the chief brain behind Berkshire Hathaway, said High Frequency Trading…

May 10th, 2013 by Terrence Miao No comments »

Charlie Munger, the chief brain behind Berkshire Hathaway, said High Frequency Trading 'Basically Evil'

He also said "You can't trust bankers to govern themselves. A banker who is allowed to borrow money at X and loan it out at X plus Y will just go crazy and do too much of it if the civilization doesn't have rules that prevent it."

Seeing parallels between Cyprus and Iceland, Munger called it "stark, raving mad" and added that "the bankers would have been doing even more if it hadn't blown up. I do not think you can trust bankers to control themselves. They are like heroin addicts."

Munger also said China is better than the U.S. at nipping crazy booms in the bud. "They're willing to step in and intervene. They're willing to take the punch bowl away right in the middle of the party," he said. "I like people like that."

Embedded Link

Bankers Are Like Heroin Addicts: Munger
Events in Europe show bankers gone wild and why you can’t trust them, said Warren Buffett’s right-hand man Charlie Munger.
» Read more: Charlie Munger, the chief brain behind Berkshire Hathaway, said High Frequency Trading…

Apache Collections' CollectionUtils, PredicateUtils and TransformerUtils make…

May 9th, 2013 by Terrence Miao No comments »

Apache Collections' CollectionUtils, PredicateUtils and TransformerUtils make Java more functional language like …

Embedded Link

Examples of Functors, Transformers, Predicates, and Closures in Java

Google+: View post on Google+

Memoto – your automatic life logging camera

May 9th, 2013 by Terrence Miao 3 comments »

Memoto has an app and cloud-storage platform to ensure that no experience— no matter how mundane — will go undocumented ..

Read more: http://memoto.com/.

Google+: View post on Google+

Using data from the OECD's measure of purchasing power parity, The Economist's…

May 8th, 2013 by Terrence Miao No comments »

Using data from the OECD's measure of purchasing power parity, The Economist's Big Mac Index and the Current Real Effective Exchange Rate (REER) as compared to its five-year average, HSBC found that Australia had the world's most overvalued currency

Embedded Link

Dollar the most overvalued currency
The Australian dollar is the most overvalued currency in the world, but there is little will to intervene, according to a global valuation.

Google+: View post on Google+

Chariot Skates

May 6th, 2013 by Terrence Miao 4 comments »

Watch more: http://www.chariotskates.com/videos.html 

Google+: View post on Google+

In most time, application showcase is so unjustified

May 4th, 2013 by Terrence Miao 1 comment »

Developers have to face the business people who hardly be satisfied and never be happy, and the application support guys who never like take over the ownership of application as coming to production soon. Both of them team together, scrutinising every corner of requirement document, ridiculing developers competence why can't do this, why that doesn't fit in the business case.

Tortured nearly for an hour, and coming to the end of showcase, one developer raises his voice. 

"Every project takes its own risk. So that's why we have development guideline and professional practice. Developers have laid down application standards which encourage the discipline."

"Look, we are sitting in this meeting room which has 20 storeys above our heads right now. We don't sit here worrying about 20 storeys above crashing on us. Why? Because we trust the architect and the builders."

"Au même titre, in the same way in English. You should trust developers who worked hard for last six months on the application. You and customers could live with the application …"

 

Google+: View post on Google+

How to set up and run MySQL on Red Hat Linux 6.1 without being root/su?

May 3rd, 2013 by admin No comments »
jenkins@ci ~
11:36:57 317 $ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.1 (Santiago)
jenkins@ci ~
11:37:07 318 $ uname -a
Linux hx371 2.6.32-131.0.15.el6.x86_64 #1 SMP Tue May 10 15:42:40 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
  • Download MySQL 5.1 (mysql-5.1.68-linux-x86_64-glibc23.tar.gz) from http://downloads.mysql.com/archives.php?p=mysql-5.1&v=5.1.68
  • Unzip tar ball into ~/mysql-binary directory
  • Create ~/mysql/data, ~/mysql/log, ~/mysql/run directories
  • Create ~/my.cnf file:
    jenkins@ci ~
    11:41:18 321 $ cat my.cnf
    [server]
    user=jenkins
    basedir=/u01/apps/jenkins/mysql-binary
    datadir=/u01/apps/jenkins/mysql/data
    socket=/tmp/mysql.sock
    port=3306
    
    [safe_mysqld]
    log_error=/u01/apps/jenkins/mysql/log/error.log
    pid-file=/u01/apps/jenkins/mysql/run/mysqld.pid
  • Set up database:
    jenkins@ci ~/mysql-binary
    11:43:37 762 $ ./scripts/mysql_install_db --defaults-file=~/my.cnf --user=jenkins --basedir=/u01/apps/jenkins/mysql-binary --datadir=/u01/apps/jenkins/mysql/data --socket=/tmp/mysql.sock
  • Start up database:
    jenkins@ci ~/mysql-binary
    11:44:58 762 $ nohup ./bin/mysqld_safe --defaults-file=~/my.cnf &

    » Read more: How to set up and run MySQL on Red Hat Linux 6.1 without being root/su?