RSS feed [root] /




login:

password:

title search:




 


Sun Jul 23 22:00:11 HKT 2017



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

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

IMG_20170902_081819



(google search) (amazon search)


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

IMG_20170902_081817



(google search) (amazon search)



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

jhsdb


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.

http://marxsoftware.blogspot.hk/2017/06/jhsdb-jdk9.html
https://docs.oracle.com[..]UID-0345CAEB-71CE-4D71-97FE-AA53A4AB028E

(google search) (amazon search)


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

logging


http://www.codemonkeyism.com[..]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. - http://www.codinghorror.com/blog/archives/001192.html

Basic log techniques - http://www.ddj.com/cpp/212902973?cid=RSSfeed_DDJ_All

Advances and Challenges in Log Analysis - http://queue.acm.org/detail.cfm?id=2082137&ref=fullrss

Filtering only useful stacktrace - http://www.javacodegeeks.com[..]ter-irrelevant-stack-trace-lines-in.html

Some suggestion about logging - http://www.javacodegeeks.com[..]/10-tips-proper-application-logging.html and http://googletesting.blogspot.com.au/2013/06/optimal-logging.html

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

(google search) (amazon search)


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

documentation


Comment about the java document of jdk8 - http://marxsoftware.blogspot.com.au[..]14/03/illuminating-javadoc-of-jdk-8.html

Thoughts On Comments - http://blog.codefx.org[..]ques/documentation/thoughts-on-comments/

The Art of Crafting Architectural Diagrams - https://www.infoq.com/articles/crafting-architectural-diagrams http://www.infoq.com/cn/articles/crafting-architectural-diagrams

(google search) (amazon search)


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

weather


http://www.airconco.com/most_extreme_weather/

http://list25.com[..]zen-wonders-you-have-to-see-this-winter/

颱風啓示錄(2017年8月的天鴿/帕卡) - http://matthew-chin.blogspot.hk/2017/08/20178.html

(google search) (amazon search)



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

antipattern


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.

http://www.makinggoodsoftware.com/2012/01/27/the-evil-unit-test

use thread in junit - http://softwareintegrityblog.com[..]blog/2007/11/05/false-positives-in-junit

Don't try to test everything - http://www.nearinfinity.com[..]ay?entry=unit_testing_avoiding_extremism

Why TDD fail? Because test is too complicate to write - http://agile.dzone.com/news/why-you-fail-tdd ( 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 - http://www.stephenchu.com[..]/last-d-in-tdd-means-more-than-just.html

Comment out test so that the code compile - http://martinfowler.com/bliki/TestCancer.html

A list of TDD antipattern - http://blog.james-carr.org/?p=44 http://www.exubero.com/junit/antipatterns.html

And the long discussion using random in unittest - http://tech.groups.yahoo.com[..]rivendevelopment/message/20458?var=1&l=1
Here is an example of using random in unittest, it actually same for every new instance! - http://www.skizz.biz/archives/000568.html

Test abstraction smells - http://agileinaflash.blogspot.com[..]com/2011/11/test-abstraction-smells.html

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

A good list of anti-pattern - https://techblog.betclicgroup.com[..]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 - http://stuartmarks.wordpress.com[..]m/2014/01/10/another-shell-test-pitfall/

Six Things That Go Wrong With Discussions About Testing - http://www.satisfice.com/blog/archives/1728

(google search) (amazon search)



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

Taiwan


嘉義~東石鰲鼓濕地 - http://blog.udn.com/kocj/5954464

滋補暖胃的台灣冬季美食 - http://cn.wsj.com/big5/20130111/lux072659.asp?source=rss

食金湯經典麵食館 - http://079705551.tw.tranews.com/

2013-08 台中閒遊之旅 - http://go2nature.net/forum/viewtopic.php?p=1260087

2013-08 十天台中台北閒遊:后里 清境 日月潭 平溪線 九份 金瓜石(已全部發表,多謝收看) - http://go2nature.net/forum/viewtopic.php?p=1265218#1265218

台中南投,日光之旅。彩虹眷村,高彩國度。 - http://www.dcfever.com/travel/readtravelogue.php?id=36221

Bike routes - http://sportsroad.hk/archives/101275

【蘭嶼大哉問】看完這個指南,蘭嶼的吃喝玩樂一次搞定! - http://blog.kkday.com/2016/05/OrchidIsland.html

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

【綠島】吃住交通玩樂指南 - http://blog.kkday.com/2016/05/greenisland.html

2016多出的假期怎麼過?全台玩樂攻略! - http://blog.kkday.com/2016/10/2016vacation.html#more

【高雄】五個私房秘境報你知 - http://blog.kkday.com/2016/11/kaohsiung5spots.html

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

沁涼一夏!夏日登山,透心涼新體驗! - https://theinitium.com/article/20170810-pickup-newtaipeicity/

(google search) (amazon search)


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

garbage


Some overview articles - http://javarevisited.blogspot.com[..]/2011/04/garbage-collection-in-java.html http://jeremymanson.blogspot.com[..]10/01/garbage-collection-references.html http://www.oracle.com[..]work/java/javase/gc-tuning-6-140523.html

Interview with Azul, about the pauseless GC - http://www.infoq.com/interviews/gil-tene-azul-zing

A story of how to tune GC - http://kirk.blog-city.com/why_do_i_have_this_long_gc_pause.htm

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

Java memory configuration and monitoring - http://blog.codecentric.de[..]ry-configuration-and-monitoring-3rd-act/

How Garbage Collection differs in the three big JVMs - http://blog.dynatrace.com[..]ollection-differs-in-the-three-big-jvms/

Garbage Collection Bootcamp 1.0 - http://www.lucidimagination.com[..]1/03/27/garbage-collection-bootcamp-1-0/

http://javarevisited.blogspot.sg[..]ollection-interview-question-answer.html

How CMS work - https://blogs.oracle.com[..]thecollector/entry/hey_joe_phases_of_cms

Compare between difference VM - http://www.optaplanner.org[..]IsTheFastestGarbageCollectorInJava8.html

GC handbook - https://plumbr.eu/java-garbage-collection-handbook

Check what GC you are using - http://marxsoftware.blogspot.hk[..]16/04/determining-garbage-collector.html

About G1 Java Garbage Collector - http://dobbscodetalk.com[..]G1-Java-Garbage-Collector.html&Itemid=29

Tools to visualize GC - http://gceasy.io/

Visualizing difference algorithm - https://spin.atomicobject.com[..]sualizing-garbage-collection-algorithms/

safepoints - http://performantcode.com/gc/safepoints/

(google search) (amazon search)



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

VID_20170822_223819



(google search) (amazon search)


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

VID_20170822_221723



(google search) (amazon search)


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

misc


Google + API - http://developers.google.com/

google sso - http://dystopics.dump.be[..]es-of-x-google-token-and-why-it-matters/

google ajax server api - http://blogs.cocoondev.org/dims/archives/004722.html

Tips of google chat api - http://www.diegoparrilla.com[..]g-google-chart-api-from-server-side.html http://googlemapsapi.blogspot.com[..]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("http://ajax.googleapis.com/ajax/services/language/detect?v=1.0&q="+s);
JSONObject obj = (JSONObject) ((JSONObject)JSONValue.parse(url.getContentAsString())).get("responseData");
System.out.println(obj.get("language"));
System.out.println(obj.get("confidence"));

- http://blog.furiousbob.com[..]2009/07/06/automatic-language-detection/

http://blog.0x1fff.com[..]oogle-open-source-projects-that-you.html

Google cloud platform - https://cloud.google.com/products/compute-engine/

Google JSON library articles - http://blog.ajduke.in/tag/gson/

AI api - https://cloud.google.com/products/machine-learning/

Case study of grpc from tidb - http://www.infoq.com/cn/articles/tidb-and-grpc

(google search) (amazon search)





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

tradingPlatform


https://www.linkedin.com[..]64545-open-source-trading-platforms-list

(google search) (amazon search)


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

long-exposure


10+ Of The Most Epic Long Exposure Shots Ever - http://www.boredpanda.com/interesting-long-exposure-photos/ http://www.dcfever.com/news/readnews.php?id=20049&link=guid

享受長曝的樂趣 - http://photobygod.blogspot.hk/2016/05/NISIND1000.html


(google search) (amazon search)


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

brain


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

地中海式飲食在結構上側重於蔬菜、水果、魚類、全麥、堅果、橄欖油﹐配以適量酒精﹐少量紅肉、甜食和白麵包、白米飯等細糧。- http://cn.wsj.com/big5/20120223/hea080615.asp?source=rss

牛油果 健腦最強 - http://hk.apple.nextmedia.com[..]20120323&sec_id=12187363&art_id=16181315
1秒辨認完熟「 牛油果 」 聰明挑選、切開、加速成熟實用法則 - http://www.weekendhk.com[..]%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

IMAG0123



(google search) (amazon search)


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

IMAG0122



(google search) (amazon search)


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

IMAG0121



(google search) (amazon search)