RSS feed [root] /




login:

password:

title search:




 


Thu Jun 30 11:18:51 HKT 2016



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

Tue Jan 03 09:42:59 HKT 2017 From /weblog/java/performance

option list


-XX:+PerfDisableSharedMem , prevent locking by sharedmem in linux - http://www.evanjones.ca/jvm-mmap-pause.html

How linkedin turn the GC - http://engineering.linkedin.com[..]ughput-and-low-latency-java-applications

Using generational & concurrent GC collector - http://www.javacodegeeks.com[..]/04/ibm-jvm-tuning-gencon-gc-policy.html

Full VM option list : http://blogs.sun.com/roller/resources/watt/jvm-options-list.html, update for Java7 - http://nerds-central.blogspot.com[..]ot.com/2011/07/all-jvm-7-xx-options.html http://stas-blogspot.blogspot.com[..]ost-complete-list-of-xx-options-for.html

A simplified list for some frequency use options - http://rdafbn.blogspot.com.au[..]rbage-collector-guidelines-and-tips.html

HotSpot JVM garbage collection options cheat sheet - http://aragozin.blogspot.com[..]spot-jvm-garbage-collection-options.html http://www.oracle.com[..]va/javase/tech/vmoptions-jsp-140102.html

An example and story about effect of difference VM parameter affecting the performance - http://www.javaspecialists.eu/archive/Issue191.html

Clear the code cache automatically with -XX:+UseCodeCacheFlushing - http://blogs.amd.com[..]time-for-long-running-java-applications/

Discussion about -XX:MinHeapFreeRatio parameter - http://www.gossamer-threads.com[..]s.com/lists/lucene/java-user/44286#44286

The other detailed guide for VM parameters tuning - http://java.sun.com/j2se/1.5/pdf/jdk50_ts_guide.pdf

Here is a more simple cookbook - http://java.sun.com/performance/reference/whitepapers/tuning.html

A outdated (1.4) , compehensive but still not really too detailed, overview of various GC tuning - http://www.petefreitag.com/articles/gctuning/

Some say following VM parameter is good enough
-server -Xmx -XX:+UseParallelGC
http://blogs.sun.com[..]/page/binublog?entry=java_tuning_for_xml

Some say is useful if you have huge memory
-XX:+UseLargePages
http://blogs.sun.com[..]dagastine?entry=java_se_tuning_tip_large

Some say below parameter keep GC in low pause
-XX:MaxGCPauseMillis=5000
Some say below parameter are very optimal
-XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:NewSize=1200m -XX:SurvivorRatio=16
http://www.theserverside.com[..]d.tss?thread_id=41258&ASRC=EM_NNL_347804
Some say those parameter is good
-XX:+UseConcMarkSweepGC
-XX:ParallelCMSThreads=1
-XX:+CMSIncrementalMode
-XX:+CMSIncrementalPacing
-XX:CMSIncrementalDutyCycleMin=0
-XX:CMSIncrementalDutyCycle=10
http://blog.mikiobraun.de/2010/08/cassandra-gc-tuning.html

Just in case anyone is curious, the flags enabled by -XX:+AggressiveOpts in JDK 1.6.0_25 are:

-XX:+EliminateAutoBox
-XX:AutoBoxCacheMax=20000
-XX:BiasedLockingStartupDelay=500
-XX:+DoEscapeAnalysis
-XX:+OptimizeStringConcat
-XX:+OptimizeFill

Generate dump with OOME - -XX:+HeapDumpOnOutOfMemoryError

GC log sample of -XX:+UseConcMarkSweepGC -XX:PrintFLSStatistics=1 -XX:+PrintGCDetails - https://gist.github.com/1329783

A case study of tuning VM GC parameters - http://plumbr.eu[..]ld-you-trust-the-default-settings-in-jvm

Explanation for few performance related VM parameters - http://www.techpaste.com[..]ine-options-jvm-performance-improvement/

Show the exact vm flag that java using - http://matthewkwilliams.com[..]/looking-inside-a-jvm-xxprintflagsfinal/

For G1GC - https://dzone.com[..]e-first-garbage-collector-tuning-flags-1

(google search) (amazon search)


Fri Dec 30 11:59:27 HKT 2016 From /weblog/learning

personality


A prioritized list of desired traits:

Character
Critical thinking
Motivation
Creativity
Business knowledge
Technical knowledge

My only suspect is Technical knowledge is lower than Business knowledge, what will you think about this? - http://www.davenicolette.net/agile/index.blog?entry_id=1220879

Difference type of employee - http://headrush.typepad.com[..]onate_users/2007/03/is_your_app_an_.html

The Power of Introverts: A Manifesto for Quiet Brilliance - http://www.scientificamerican.com[..]fm?id=the-power-of-introverts&print=true http://h30565.www3.hp.com[..]How-to-Succeed-as-an-Introvert/ba-p/1522

Honesty - http://www.michelemmartin.com[..]elf-and-starting-from-where-you-are.html


23 Signs You’re Emotionally Intelligent & Destined for Success:

The ability to listen and to speak to the “human needs” of coworkers and customers and make them feel understood and respected
Ability to build relationships and connect with others on a deep level
Good conversation skills
The ability to propose solutions to problems, not just talk about problems
Meaningfully contribute to brainstorming
Ability to write well
Problem-solving skills
Being a team player
Being likeable
Self-confidence
Strong work ethic
Optimism/positive attitude
Good communication skills
Storytelling abilities for presentations
Time management abilities
Being good at “reading” people
Exercise tact when delivering a message

http://www.thepowerofintroverts.com[..]onally-intelligent-destined-for-success/


What Makes Good Traders Great Entrepreneurs

* An intense drive to succeed;
* The ability to adapt to changing circumstances;
* Decisiveness
* Energy
* Perseverance and determination
* Risk tolerance
* Strong self-confidence

http://traderfeed.blogspot.com.au[..]14/03/what-makes-good-traders-great.html

What is professional - http://cn.wsj.com/big5/20140513/DJL071521.asp?source=rss

How to change your character: 索托說:“你應該從改變行為做起,接下來,如果你能長期保持這種新行為,這種行為就會被鎖定下來。 - http://cn.wsj.com/big5/20140502/lif114051.asp?source=rss

If I say just trust me and I’m wrong, I’m untrustworthy. If I say here’s my work and it’s wrong, I’m honest, human, and serving scientific progress. - http://simplystatistics.org/2016/12/29/some-stress-reducers/

(google search) (amazon search)


Fri Dec 30 11:58:51 HKT 2016 From /weblog/entertainment

music


Prince - http://list25.com[..]-the-artist-you-knew-as-prince/?view=all

elvis-presley - http://list25.com[..]ting-facts-about-elvis-presley/?view=all

george-michael - http://list25.com[..]-not-know-about-george-michael/?view=all

(google search) (amazon search)


Thu Dec 29 00:38:31 HKT 2016 From /gallery/City+Snapshot/Yau+Ma+Tei

_1001007



(google search) (amazon search)


Thu Dec 29 00:38:23 HKT 2016 From /gallery/City+Snapshot/Yau+Ma+Tei

_1001006



(google search) (amazon search)


Thu Dec 29 00:38:15 HKT 2016 From /gallery/City+Snapshot/Yau+Ma+Tei

_1001005



(google search) (amazon search)


Thu Dec 29 00:38:05 HKT 2016 From /gallery/City+Snapshot/Yau+Ma+Tei

_1001004



(google search) (amazon search)


Thu Dec 29 00:37:58 HKT 2016 From /gallery/City+Snapshot/Yau+Ma+Tei

_1001003



(google search) (amazon search)


Thu Dec 29 00:37:51 HKT 2016 From /gallery/City+Snapshot/Yau+Ma+Tei

_1001000



(google search) (amazon search)


Thu Dec 29 00:37:39 HKT 2016 From /gallery/City+Snapshot/Yau+Ma+Tei

_1000997



(google search) (amazon search)


Tue Dec 27 18:03:52 HKT 2016 From /gallery/Home/YimKan/PanaVideo

P1001009



(google search) (amazon search)


Tue Dec 27 01:21:07 HKT 2016 From /weblog/science

nature


蓋亞假說:美麗的神話 - http://thehousenews.com[..]%8E%E9%BA%97%E7%9A%84%E7%A5%9E%E8%A9%B1/

色彩斑斕的動物 - http://cn.wsj.com/big5/20131203/PHO101146.asp?source=rss

地球上仍存活的最古老生物 - http://cn.wsj.com/big5/20140430/PHO082434.asp?source=rss

deep-sea-mysteries-and-oddities-that-will-leave-you-baffled - http://list25.com[..]nd-oddities-that-will-leave-you-baffled/

rare-flowers-that-are-stunning-to-look-at - http://list25.com/25-rare-flowers-that-are-stunning-to-look-at/

earth-facts-that-might-surprise-you - http://list25.com/25-earth-facts-that-might-surprise-you/

north-pole-facts-most-people-are-not-aware-of - http://list25.com[..]s-most-people-are-not-aware-of/?view=all

earth-facts-you-probably-have-not-considered - http://list25.com[..]u-probably-have-not-considered/?view=all

http://www.attenboroughsreef.com/

amazon - http://list25.com[..]he-most-unique-places-on-earth/?view=all

25 Interesting Tidbits About Deserts That Will Make You Glad For Rain - http://list25.com[..]at-will-make-you-glad-for-rain/?view=all

Antarctica is one of the coldest, most desolate places in the world, and today you're going to learn all about it. - http://www.damncoolpictures.com[..]interesting-facts-that-you-probably.html

great-barrier-reef - http://list25.com[..]-reef-facts-youll-want-to-hear/?view=all

(google search) (amazon search)


Tue Dec 27 00:56:08 HKT 2016 From /weblog/health

pressure


Relaxing tips - http://thehousenews.com[..]%9B%E5%A3%93%E5%B0%8F%E8%B2%BC%E5%A3%AB/


積極思考能夠緩解壓力,這一點毫不令人意外。不過明尼蘇達大學卡爾森管理學院工作及組織學教授、該報告的作者之一格隆布(Theresa Glomb)說,事實證明,積極正面的思考可能比用人單位目前采取的很多抗擊工作壓力的方法都更實用,這些方法包括提供靈活的工作安排或創建新的組織結構圖,而這實際上并沒有改變辦公室的日常生活。

寫下一天中發生的好事本身就很有價值,但格隆布說,真正的影響來自寫下為何這些事會讓你感覺良好。這樣做會凸顯出一個人在工作生活中獲得的資源和支持,比如技能、幽默感、讓你感到鼓舞的家人、或是一個富有同情心的老板。 - http://cn.wsj.com/big5/20130909/eoe073851.asp?source=rss

5 Things We Need For Sustainable Performance At Work - http://www.targetprocess.com[..]for-sustainable-performance-at-work.html

什么時候說“不”? - http://cn.wsj.com/big5/20140528/lif112842.asp?source=rss

界(刀)手 - http://thehousenews.com[..]%92%E5%BA%A6%E4%BD%9C%E6%8E%A2%E8%A8%8E/


【朝朝正能量】七招減壓秘技讓你活在當下 - http://hk.apple.nextmedia.com[..]realtime/international/20140724/52721787

【健康online】deadline趕到無氣抖 上班族5招踢走工作壓力 - http://hk.apple.nextmedia.com/realtime/news/20161227/56084029

(google search) (amazon search)


Mon Dec 26 12:03:04 HKT 2016 From /gallery/Home/YimKan/PanaVideo

P1000990



(google search) (amazon search)


Sun Dec 25 22:44:07 HKT 2016 From /weblog/health

hiking


Scarpa Hiking Shoes - http://go2nature.net/forum/viewtopic.php?p=1066141#1066141

中暑之後怎麼辦?- http://cn.wsj.com/big5/20110815/hea073758.asp

應付沙蚤 - http://go2nature.net/forum/viewtopic.php?p=1179333#1179333

Tips of choosing hiking shoes - http://blog.comefromhk.com/2014/01/2705/

蟹行- http://hk.apple.nextmedia.com/realtime/news/20161222/56012348

(google search) (amazon search)



Thu Dec 22 15:47:37 HKT 2016 From /weblog/java/fundamental

collections


Detailed decision of arraylist and linkedlist, consist of a lot benchmark results, take a look if interested: http://javachaos.crazyredpanda.com/?p=99

One bug from java HashMap explaining it can be difficult to achieve fail-fast - http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6625725 http://java.dzone.com/articles/do-your-iterators-always-fail

Performance difference of difference collection - http://java-persistence-performance.blogspot.com[..]0/12/what-is-faster-jvm-performance.html http://leolewis.website.org[..]/2011/07/14/java-collection-performance/

A treelist implementation - http://binkley.blogspot.com/2007_02_01_archive.html

Implement LRU cache using LinkedHashMap - http://vanillajava.blogspot.com[..]11/06/java-secret-lru-cache-in-java.html

Problem of using soft-reference for automate cache clean up - http://comments.gmane.org[..]gmane.comp.java.jsr.166-concurrency/7982

if it claims that an element is contained in it, this might be in error, but if it claims that an element is not contained in it, then this is definitely true. - http://codingjunkie.net/guava-bloomfilter/

Comment of various collections library - http://plumbr.eu/blog/selecting-your-collections-library

List of FAQ of Java collections - http://www.journaldev.com[..]lections-interview-questions-and-answers

Java Collections – Performance (Time Complexity) - http://infotechgems.blogspot.com.br[..]1/java-collections-performance-time.html

Performance improvement for HashMap for Java8 - http://www.nurkiewicz.com[..]hashmap-performance-improvements-in.html

Introduction to GS collection - http://www.infoq.com[..]s/gs-collections-examples-tutorial-part1 http://www.infoq.com[..]s/gs-collections-examples-tutorial-part2

removeEldestEntry, interesting function of linkedhashmap - http://www.ageofjava.com[..]/prevent-your-caches-from-exploding.html

(google search) (amazon search)


Sat Dec 17 21:37:44 HKT 2016 From /weblog/child

education


Discussion about using monday as prize - http://cn.wsj.com/big5/20121228/inv072631.asp?source=rss

bullying - http://list25.com[..]-about-bullying-you-probably-didnt-know/

(google search) (amazon search)


Fri Dec 16 16:36:04 HKT 2016 From /gallery/Home/YimKan/PanaVideo

P1000987



(google search) (amazon search)


Thu Dec 15 23:54:14 HKT 2016 From /weblog/misc

IOT


http://www.instructables.com[..]om/id/Uber-Home-Automation-w-Arduino-Pi/

(google search) (amazon search)


Thu Dec 15 23:38:28 HKT 2016 From /weblog/trip

hk_camp


http://welcomebeach.com.hk/

(google search) (amazon search)



Mon Dec 12 00:37:16 HKT 2016 From /weblog/finance

cas study


How GF Securities do realtime event processing - http://www.infoq.com[..]-event-processing-engine-based-on-Lambda

Future of fintech? - https://www.thoughtworks.com[..]/blog/fintech-threat-financial-orthodoxy

(google search) (amazon search)


Sun Dec 11 23:06:01 HKT 2016 From /weblog/science

light


Interesting, test speed of light with ping - http://physics.stackexchange.com[..]experiments-to-derive-the-speed-of-light

History of color photograph - http://writescience.wordpress.com/2012/11/21/in-living-color/

光電效應:愛因斯坦的諾貝爾 - https://phycat.wordpress.com[..]19/photoelectric-effect-einsteins-nobel/

光速:宇宙高速公路的速度限制 - https://phycat.wordpress.com/2016/12/08/speed-of-light/

(google search) (amazon search)


Sun Dec 11 15:34:34 HKT 2016 From /gallery/Day+Trip/%E5%A4%A7%E6%A3%A0

_1000986



(google search) (amazon search)