RSS feed [root] /



title search:


Sun Jul 23 22:00:11 HKT 2017

(google search) (amazon search)
download zip of files only

Sat Sep 02 08:18:21 HKT 2017 From /gallery/Home/YimChing


(google search) (amazon search)

Sat Sep 02 08:18:18 HKT 2017 From /gallery/Home/YimChing


(google search) (amazon search)

Thu Aug 31 10:38:43 HKT 2017 From /weblog/java/tools


The jhsdb tool is described on its Oracle JDK 9 Documentation Early Access page, "You use the jhsdb tool to attach to a Java process or to launch a postmortem debugger to analyze the content of a core-dump from a crashed Java Virtual Machine (JVM)." The tool comes with several "modes" and several of these modes correspond in name and function with individual command-line tools available in previous JDK distributions. The jhsdb tool not only provides a single tool that encompasses functionality of multiple other tools, but it also provides a single, consistent approach to applying these different functions. For example, the jhsdb command-line syntax for getting help for each of the "modes" is identical.[..]UID-0345CAEB-71CE-4D71-97FE-AA53A4AB028E

(google search) (amazon search)

Thu Aug 31 10:36:38 HKT 2017 From /weblog/design

logging[..]08/12/16/7-good-rules-to-log-exceptions/ - look obvious but a lot of program still make those mistakes.

Do you prefer log more or log smarter? It is good to log smart but if you log more, even if you not smart enough, you still have the data. -

Basic log techniques -

Advances and Challenges in Log Analysis -

Filtering only useful stacktrace -[..]ter-irrelevant-stack-trace-lines-in.html

Some suggestion about logging -[..]/10-tips-proper-application-logging.html and

9 Logging Sins in Your Java Applications, the "Logging Plain User Input" is a good one -[..]9-logging-sins-in-your-java-applications

(google search) (amazon search)

Tue Aug 29 10:34:21 HKT 2017 From /weblog/design


Comment about the java document of jdk8 -[..]14/03/illuminating-javadoc-of-jdk-8.html

Thoughts On Comments -[..]ques/documentation/thoughts-on-comments/

The Art of Crafting Architectural Diagrams -

(google search) (amazon search)

Tue Aug 29 09:44:12 HKT 2017 From /weblog/science


颱風啓示錄(2017年8月的天鴿/帕卡) -

(google search) (amazon search)

Mon Aug 28 19:17:18 HKT 2017 From /weblog/software_engineering/testing


The evil test:

1. Evil tests create a lock on how the code is implemented.
2. Cause duplication.
3. Builds uncertainty on the tests (red is meaningless).
4. Decrease productivity.
5. Discourage change.

use thread in junit -[..]blog/2007/11/05/false-positives-in-junit

Don't try to test everything -[..]ay?entry=unit_testing_avoiding_extremism

Why TDD fail? Because test is too complicate to write - ( I agree it a lot )

Hard to test something? Unreadable tests? Slow running tests? It takes too long to write a test? Some solution suggested -[..]/last-d-in-tdd-means-more-than-just.html

Comment out test so that the code compile -

A list of TDD antipattern -

And the long discussion using random in unittest -[..]rivendevelopment/message/20458?var=1&l=1
Here is an example of using random in unittest, it actually same for every new instance! -

Test abstraction smells -[..]com/2011/11/test-abstraction-smells.html

Basically, we should keep it simple, and driven the development rather than post test -[..]stteam/Posts/13-01-24/top-5-tdd-mistakes

A good list of anti-pattern -[..]2014/05/06/getting-unit-testing-to-fail/
Test rely on shell script return is difficult to maintain, say the script running at background can cause problem -[..]m/2014/01/10/another-shell-test-pitfall/

Six Things That Go Wrong With Discussions About Testing -

(google search) (amazon search)

Sat Aug 26 16:59:04 HKT 2017 From /weblog/trip/travelling


嘉義~東石鰲鼓濕地 -

滋補暖胃的台灣冬季美食 -

食金湯經典麵食館 -

2013-08 台中閒遊之旅 -

2013-08 十天台中台北閒遊:后里 清境 日月潭 平溪線 九份 金瓜石(已全部發表,多謝收看) -

台中南投,日光之旅。彩虹眷村,高彩國度。 -

Bike routes -

【蘭嶼大哉問】看完這個指南,蘭嶼的吃喝玩樂一次搞定! -

我的三山五嶽(六) 雲浮 玉山 ( 台灣 南投縣 ) -[..]%E7%B8%A3-/cmbz/57179ac70cf253d6b39a76b4

【綠島】吃住交通玩樂指南 -

2016多出的假期怎麼過?全台玩樂攻略! -

【高雄】五個私房秘境報你知 -

歡迎來到大稻埕!30處老舖新店探祕散步地圖 -[..]70105-city-travel-taipei-dadaocheng-map/

沁涼一夏!夏日登山,透心涼新體驗! -

(google search) (amazon search)

Sat Aug 26 14:11:22 HKT 2017 From /weblog/java/fundamental


Some overview articles -[..]/2011/04/garbage-collection-in-java.html[..]10/01/garbage-collection-references.html[..]work/java/javase/gc-tuning-6-140523.html

Interview with Azul, about the pauseless GC -

A story of how to tune GC -

NewRatio ( XX:MaxNewSize ) is important, but usually ignored -[..]ector/entry/the_second_most_important_gc

Java memory configuration and monitoring -[..]ry-configuration-and-monitoring-3rd-act/

How Garbage Collection differs in the three big JVMs -[..]ollection-differs-in-the-three-big-jvms/

Garbage Collection Bootcamp 1.0 -[..]1/03/27/garbage-collection-bootcamp-1-0/[..]ollection-interview-question-answer.html

How CMS work -[..]thecollector/entry/hey_joe_phases_of_cms

Compare between difference VM -[..]IsTheFastestGarbageCollectorInJava8.html

GC handbook -

Check what GC you are using -[..]16/04/determining-garbage-collector.html

About G1 Java Garbage Collector -[..]G1-Java-Garbage-Collector.html&Itemid=29

Tools to visualize GC -

Visualizing difference algorithm -[..]sualizing-garbage-collection-algorithms/

safepoints -

(google search) (amazon search)

Tue Aug 22 22:38:19 HKT 2017 From /gallery/Home/YimKan/htc


(google search) (amazon search)

Tue Aug 22 22:17:23 HKT 2017 From /gallery/Home/YimKan/htc


(google search) (amazon search)

Tue Aug 22 10:08:21 HKT 2017 From /weblog/google/development


Google + API -

google sso -[..]es-of-x-google-token-and-why-it-matters/

google ajax server api -

Tips of google chat api -[..]g-google-chart-api-from-server-side.html[..]ing-chart-api-in-kml-for-quick-data.html

String s = URLEncoder.encode("Há tantos burros mandando em homens de inteligência, que, às vezes, fico pensando que a burrice é uma Ciência", "UTF-8");
URL url = new URL(""+s);
JSONObject obj = (JSONObject) ((JSONObject)JSONValue.parse(url.getContentAsString())).get("responseData");


Google cloud platform -

Google JSON library articles -

AI api -

Case study of grpc from tidb -

(google search) (amazon search)

Sun Aug 20 22:21:56 HKT 2017 From /weblog/finance


(google search) (amazon search)

Sun Aug 20 00:55:51 HKT 2017 From /weblog/photographic


10+ Of The Most Epic Long Exposure Shots Ever -

享受長曝的樂趣 -

(google search) (amazon search)

Sun Aug 20 00:46:47 HKT 2017 From /weblog/health/food


綠茶中的綠茶素能幫助蒙古兒消除上述那個叫APP的垃圾(J. Nutr., Vol.139, pp.1987-1993),也能減低DYRK1A的作用(Plos One, Vol.4, pp.e4606-e4613);這是天然的補健食品,在一些腦筋不靈活的小孩身上,也會帶來好處。 -


牛油果 健腦最強 -[..]20120323&sec_id=12187363&art_id=16181315
1秒辨認完熟「 牛油果 」 聰明挑選、切開、加速成熟實用法則 -[..]%E6%B2%B9%E6%9E%9C-%E5%AE%8C%E7%86%9F/4/

(google search) (amazon search)

Sat Aug 19 20:27:14 HKT 2017 From /gallery/Home/YimKan/htc


(google search) (amazon search)

Sat Aug 19 20:27:13 HKT 2017 From /gallery/Home/YimKan/htc


(google search) (amazon search)

Sat Aug 19 20:27:11 HKT 2017 From /gallery/Home/YimKan/htc


(google search) (amazon search)