albert's blog
2018/01/02
[閱讀筆記] The Four Pillars of Investing (1/12)
›
大部分民眾把理財一事看得太簡單,也太輕率。投資前甚少做足周密的功課,投資產生虧損時則選擇長期持有,認為不賣出就沒有虧損 投資四大關鍵 高獲利一定伴隨高風險 投資過熱後一定泡沫化,歷史總是不斷的重演 人性是理財的最大殺手,唯有反市場操作才能投資獲利 ...
2018/01/01
[閱讀筆記] Purple Cow (1/2)
›
做為一頭 purple cow 的元素,就是必須 remarkable (卓越非凡)。remarkable 是指值得討論、注意的事情,獨一無二且全新有趣 保有一個老客戶所花的錢,比開發一個新客戶所花的錢便宜多了 世界已經改變,人們有太多的選擇,但時間卻越來越少,...
2017/12/11
[Fortify] Fix Path Manipulation
›
Problem Before Original code snippet: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 public static List < String > readFi...
2017/12/10
[DBCP2] [DB2] java.lang.AbstractMethodError: com.ibm.db2.jcc.t4.b.isValid(I)Z
›
Problem I am using DBCP2 as my third party library to do connection pool. But as I try to get connection it throws exception: java.l...
2017/12/09
[Maven] How to assign WAR file name in pom.xml
›
Problem When I utilize maven to build WAR file, the WAR file name always suffix by version which define in pom.xml (i.e. StockQry-1.0.war)....
2017/12/08
[Java] How to write text message to IBM MQ?
›
Problem I am using IBM MQ as my queue service. How to write text message into IBM MQ by Java? How-To Here has sample code: 1 2...
2017/12/07
[Java] ClassCastException : cannot cast javax.jms.Message to javax.jms.TextMessage
›
Problem I get ClassCastException when I read IBM MQ queue message by Java. The code snippet looks like: 1 2 3 4 5 6 7 ...
‹
›
Home
View web version