RSS feed [root] /



title search:


Thu Jun 30 11:18:51 HKT 2016

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

Sun Apr 23 17:16:05 HKT 2017 From /weblog/learning


How to develop imagination -

7 Important Creative Thinking Skills -[..]06/7-important-creative-thinking-skills/

Are you interested to be genius? -

4 ways of treating problems
Absolution: Ignore the problem and hope it either fixes itself or someone else solves it. Default.
Resolution: Either look to the past for previous solutions to the same problem OR identify and remove the causes of the problem. Satisfice.
Solution: Analyse using quantitative methods and / or experimentation to try to yield the best possible outcome. Optimise.
Dissolution: Eliminate the problem and prevent it from arising again by redesigning the system that has the problem or its containing system. Idealise.[..]2012/06/4-ways-of-treating-problems.html

言语的非连贯性, 偏重例子, 一图抵千言,提问,回答。[..]014/03/05/25-things-ive-learn-about-life


这里有一个原则同学们要记住:不重要的学术作品大可不读,但重要的要反复重读,读多遍。不要相信重要作品的简化阐释,因为作者究竟怎样想我们不可能从简化的阐释中学到。 -


培養孩子的創業精神 -

什麼是思考方法? -
思考的必要態度:同情理解原則 -

Critical thinking is an unnatural act. We evolved to survive in a cruel world, not to play around with our hacks. To make things worse, we evolved in a herd, which means that we intuitively respect the authority of the leader. But we also have to be creative, so we have to respect ourselves first. Finding the right dose of self-respect is a crucial thing in creative work. Too little self-respect could destroy our motivation and creativity, and too much will interfere with our ability to estimate the value of our ideas, and can easily result in investing time, money and effort in worthless projects.

Noone is born a critical thinker, but almost anyone can become one. Think about what [Edward de Bono] said:

“The need to be right all the time is the biggest bar to new ideas. It is better to have enough ideas for some of them to be wrong than to be always right by having no ideas”.[..]and-creative-thinking-in-a-hackers-work/

转谈艺术。艺术当然要讲技术,不容易,要多下功夫。论技术,我认为艺术比科学重要。一位技术超凡的画家,想象力不足道,其作品可以卖得起钱。有大成的艺术家呢?单凭技术不足够,加上想象力超凡也不足够——不可或缺的是感情的表达。后者是艺术的主要困难所在。科学是不需要表达感情的。 -[..]/dope-i-should-have-thought-of-that.html

why-facts-dont-change-our-minds -[..]17/02/27/why-facts-dont-change-our-minds

What is the scientific method: definition, steps, and pitfalls -

(google search) (amazon search)

Sat Apr 01 23:22:46 HKT 2017 From /weblog/science


About PI -[..]i-%E6%98%AF%E6%B0%B8%E6%81%86-%E4%BA%8C/

Interesting maths -[..]math-principles-to-challenge-your-brain/

(google search) (amazon search)

Fri Mar 31 16:57:13 HKT 2017 From /weblog/ai


(google search) (amazon search)

Fri Mar 31 16:56:44 HKT 2017 From /weblog/ai


(google search) (amazon search)

Fri Mar 31 16:54:25 HKT 2017 From /weblog/history


回首沙龍的一生 -

surgical-tools-you-want-to-stay-away -[..]urgical-tools-you-want-to-stay-away.html

incredible-animals-that-shaped-human-history -[..]mals-that-shaped-human-history/?view=all

amazing-moments-from-history-captured -[..]azing-moments-from-history-captured.html

historically-accurate-modern-day-thanksgiving-facts -[..]-modern-day-thanksgiving-facts/?view=all

bizarre-historical-facts-you-didnt-know -[..]istorical-facts-you-didnt-know/?view=all[..]last-photos-ever-taken-of-25-famous.html

greatest-warriors-of-all-time -

incredible-historical-armors -[..]orical-armors-that-still-exist/?view=all

facts-about-world-war-i-that-shaped-the-world -[..]ld-war-i-that-shaped-the-world/?view=all

一戰戰地的今與昔 -

Last photos of 25 famous people -[..]last-photos-ever-taken-of-25-famous.html[..]ht-just-make-you-a-grandmaster/?view=all[..]-bicycles-for-bike-enthusiasts/?view=all

Nowadays doctors don't make house calls all to often but back in 1948 this type of practice was very common. As you're about to see, rural doctors had a very busy job. -[..]-it-was-like-to-be-rural-doctor-for.html[..]otos-you-wont-believe-are-real/?view=all[..]hygiene-practices-from-history/?view=all[..]ese-are-top-10-highest-iqs-in-human.html[..]warriors-ever-sent-into-battle/?view=all[..]exploration-you-might-not-know/?view=all[..]sting-facts-about-sunken-ships/?view=all

Largest cities in the world -[..]n-the-world-throughout-history/?view=all

Gold -[..]ings-you-didnt-know-about-gold/?view=all

Israel -[..]ting-and-controversial-country/?view=all

most-important-people-in-history-who-are-drastically-underrated -[..]who-are-drastically-underrated/?view=all

trivia-about-trains -

legendary-mythical-weapons -[..]l-weapons-which-shaped-history/?view=all

Boxing -[..]things-you-never-knew-about-it/?view=all

Writing system -[..]that-we-might-never-figure-out/?view=all

lesser-known-but-horrific-war-crimes -[..]ar-crimes-that-might-shock-you/?view=all

Flags -[..]ngs-you-never-knew-about-flags/?view=all

Pilots -[..]ies-and-anecdotes-about-pilots/?view=all

hardcore-people-to-have-ever-lived -[..]core-people-to-have-ever-lived/?view=all

Deadliest wars -

Favorite lanmarks -[..]tion-youve-probably-never-seen/?view=all

symbols -[..]ve-lost-their-original-meaning/?view=all

mother-teresa -[..]esa-and-her-extraordinary-life/?view=all

Bomb -[..]acts-that-are-fairly-explosive/?view=all

byzantine-emperors -[..]-byzantine-emperors-in-history/?view=all

25 Largest And Most Epic Empires In History -[..]d-most-epic-empires-in-history/?view=all

architects-whose-works-are-truly-inspiring -[..]hose-works-are-truly-inspiring/?view=all

unique-winter-traditions-around-the-world -[..]er-traditions-around-the-world/?view=all

most-remarkable-nobel-peace-prize-winners -

(google search) (amazon search)

Thu Mar 30 14:48:57 HKT 2017 From /weblog/java/performance


Will you get any performance improvement if you manage memory yourself? -[..]ne-is-faster-java-heap-or-native-memory/

More heap, GC will get slower -[..]ing-heap-size-beware-of-the-cobra-effect

Collection of tools to analysis GC activities -

Another presentation of performance hint for hotspot or memory -

Show how to enable and analyze the verbose:gc out data -[..]3/01/java-verbose-gc-tutorial-video.html

Discussion and comparison of difference GC at Java 1.7 -[..]7/java-garbage-collection-distilled.html . And here is the detail experiment among those difference GC, look like G1 is quite promising -[..]ng-and-benchmarking-java-7s-garbage.html

Memory is not allocate to single block, thus even you allocate enough memory in term of size, it may not enough to held individual object -

Introduction to metaspace -[..]optimising-memory-consumption-first.html

Some comments about System.gc() -[..]om/2015/12/why-i-dont-like-systemgc.html[..]ng-your-java-garbage-collection-overhead

Logging stop-the-world pauses in JVM -[..]log/logging-stop-the-world-pauses-in-jvm

Why we should put difference app in same VM -[..]0/generational-disparity-in-garbage.html

Atlassian GC tuning guide -[..]ollection-gc-tuning-guide-461504616.html

Using jemalloc to get to the bottom of a memory leak -[..]c-to-get-to-the-bottom-of-a-memory-leak/

Troubleshooting-Java-Memory-Issues -

(google search) (amazon search)

Thu Mar 30 14:47:41 HKT 2017 From /weblog/software_engineering/testing

test data

Suggestion of how to manage the test datas -[..]citcon-melbourne-2008-managing-test.html

Difference Pattern of managing test datas -[..]damentals-of-data-testing-setup-and.html

How to get the data feed and design automated test trading system -[..]m/2011/02/16/trading-system-testability/

False assumption about time -[..]alsehoods-programmers-believe-about-time

Create your own clock -[..]3/12/the-virtual-clock-test-pattern.html

Just change the return of Calendar -

Discussion about creating test data -[..]est-data-builders-and-object-mother.html[..]r-data-access-code-unit-tests-are-waste/

Dummy, fake, stub, spy and mock -[..]

Generation of test data -[..]/tools/open-source-test-data-generators/

Using test container, and compare it with other test data solution -[..]28/database-testing-with-testcontainers/

(google search) (amazon search)

Mon Mar 27 10:38:42 HKT 2017 From /weblog/java/features


Good : dynamic, generic
Bad: slow, don't work with Obfuscators and most searching and refactoring tools

A very nice tool to get parameter name - (e.g.: user of getUser(User user))

How to improve the performance -[..]-reflection-as-fast-as-direct-calls.html

The problem of using reflection to modify final field -[..]7-writing-to-final-fields-via-reflection

Using reflection for using test -[..]f-hacking-enums-and-modifying-final.html

Sharing about using invokedynamic -[..]ticles/Invokedynamic-Javas-secret-weapon

(google search) (amazon search)

Sun Mar 26 00:09:52 HKT 2017 From /weblog/java/string


Introduction to a library which support faster regular expression processing:[..]ite/archive/2006/03/a_faster_java_r.html[..]-expression-library-benchmarks-2015.html

Regex helper -

java-regular-expressions-cheat-sheet -[..]abs/java-regular-expressions-cheat-sheet

(google search) (amazon search)

Fri Mar 24 10:58:39 HKT 2017 From /weblog/security


Make sure all your passwords are 12 characters or more, Use bcrypt or PBKDF2 exclusively to hash anything you need to be secure. -

Password is only worked for one time -

crack captcha -

Java password mask -[..]er/technicalArticles/Security/pwordmask/

OpenID resource -[..]ge/spidaman/20070225#the_openid_snowball[..]_id=46569&asrc=EM_NLN_2030603&uid=703565

OpenID explain -

A technique that crack winxp password at 3 min -

Using image as password -

The other interesting idea, Evolving Password -[..]uid=79730e53-1d30-47ae-98e8-abb55201429b

Passphrase Evangelism -

Rainbow Hash Cracking - , add salt (token) to prevent it -

How to make password harder to be guessed, but I guess there should be simple way to guess "this is fun", other than take 2537 years? -

Discussion about if some old suggested rules about still valid or not -

Using quantum for password? -

Salted Password Hashing - Doing it Right -[..]w-to-encrypt-the-user-password-correctly

(google search) (amazon search)

Thu Mar 23 10:50:13 HKT 2017 From /weblog/science


misconceptions -[..]-everyone-wants-you-to-believe/?view=all

Biology-mysteries -[..]manity-has-not-figured-out-yet/?view=all

Inventions -[..]-that-revolutionized-our-world/?view=all

Water -

River -[..]that-you-probably-did-not-know/?view=all

statistics-about-life-and-living -[..]atistics-about-life-and-living/?view=all

plants -[..]ique-plants-you-have-ever-seen/?view=all

time -[..]-mess-up-your-biological-clock/?view=all

Gold -[..]gold-that-might-just-amaze-you/?view=all

Colour -[..]lors-that-you-never-saw-coming/?view=all

Richard Feynman -[..]%8C%E4%B8%8D%E7%A2%BA%E5%AE%9A%E6%80%A7/

About palm-oil -[..]g-and-sad-facts-about-palm-oil/?view=all

How name related to face -

biggest-scientific-discoveries -[..]tific-discoveries-in-history-of-mankind/

weird-science-facts-you-may-not-know -

(google search) (amazon search)

Wed Mar 22 10:27:28 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/

(google search) (amazon search)

Wed Mar 22 00:08:56 HKT 2017 From /weblog/business


Tips for getting the most from meeting -

No meeting should ever be more than an hour, under penalty of death.
Every meeting should have a clearly defined mission statement.
Do your homework before the meeting.
Make it optional.
Summarize to-dos at the end of the meeting.[..]/02/meetings-where-work-goes-to-die.html

Good and bad thing from meeting -

「兩個披薩」和「六頁備忘錄」, meeting attendant should not eat more than 2 plazas and the discussion item should not more than 6 pages -[..]zza-rule-for-productive-meetings-2013-10[..]zza-rule-for-productive-meetings-2013-10[..]ve-signs-your-meetings-are-waste-of.html <- I like this one: "Sign 4: Someone asks: "who will document the results of this meeting?""

上班族必學-在會議中教人刮目相看的十招, I double if it working...... -[..]%B8%E7%9C%8B%E7%9A%84%E5%8D%81%E6%8B%9B/[..]7/13/meetings-are-legalized-robbery.html

A team might agree around the conference table, but then express doubts in the “safer” environment of the hallway or coffee shop. -[..]14/03/the-meeting-after-the-meeting.html

(google search) (amazon search)

Tue Mar 21 14:31:55 HKT 2017 From /weblog/software_engineering/team


Recently I help the company offshore some work to CN developers, many difficulty I've encounter, most difficult one is it is hard to share the vision and big picture to CN developers.

This article mention a few good notes , the one I think I am lacking is having short meeting with them often. I will see if we can have video conferencing so that we are easier to meet.

The other tips here -[..]_id=45367&asrc=EM_NLN_1439070&uid=703565 but I think the tips list is too long and probably only apply to large enterprise

Tips of communication with offshore team -[..]on-in-software-development-projects.html

(google search) (amazon search)

Tue Mar 21 14:30:43 HKT 2017 From /weblog/security


Introduction to Cryptography Basic Principles -[..]01/diffie-hellman-key-exchange-algorithm[..]tography-theory-1-meaning-of-secure.html

getting-a-list-of-available-cryptographic-algorithms -[..]t-of-available-cryptographic-algorithms/

Differential privacy -

(google search) (amazon search)

Tue Mar 21 10:11:45 HKT 2017 From /weblog/trip/travelling


Europe at autumn -

Scotland castle -[..]m/2013/12/dunnottar-castle-scotland.html

西班牙北部雄偉歐羅巴山(Picos de Europa)徒步探險 -

amazing-things-unique-about-scotland -[..]g-things-unique-about-scotland/?view=all

Coldest city! -[..]tsk-in-russia-coldest-city-in-world.html

fascinating-facts-about-modern-greece -[..]ting-facts-about-modern-greece/?view=all

things-that-will-make-you-want-to-visit-greenland -[..]ke-you-want-to-visit-greenland/?view=all

If you've never been to Norway, this is what you've been missing out on. -[..]yone-needs-to-visit-norway-at-least.html

Great church -

Tips -

「世界最美海灘」的Navagio -[..]realtime/international/20140709/52671530

【夏日芬蘭】落水玩漂浮 氹氹轉望藍天 -[..]om/realtime/supplement/20140624/52619256

ALPS -[..]ns-you-should-definitely-visit-the-alps/

巴爾幹醉人風景 -

european-places-so-beautiful-you-might-cry -[..]ces-so-beautiful-you-might-cry/?view=all

In the mountains of the Czech Republic lies a 55 meter observation deck with a gigantic slide. Franek Company Architects built the slide in collaboration with Taros Nova and it stands at 1116 meters above sea level. -[..]-czech-republic-has-giant-slide-and.html

canary-islands -[..]-should-be-on-your-bucket-list/?view=all

Parthenon at Greek -[..]ting-facts-about-the-parthenon/?view=all

Alps -

prague -[..]ng-in-prague-is-not-a-bad-idea/?view=all

【托斯卡尼】Arezzo 阿雷佐・踏進電影《美麗人生》的山城場景 -

巴爾幹半島路線圖 - 實用篇 -

exotic-places-in-eastern-europe -[..]ces-in-eastern-europe-you-have-to-visit/

(google search) (amazon search)

Sun Mar 19 23:36:01 HKT 2017 From /weblog/computer+science


(google search) (amazon search)

Sun Mar 19 10:25:58 HKT 2017 From /weblog/design


The Hidden Dividends of Microservices -

Best practices -[..]constructing-micro-service-system-part03

Compare using library / service -[..]cy-management-whether-library-or-service

(google search) (amazon search)

Wed Mar 15 15:10:04 HKT 2017 From /weblog/photographic


Photo editing -[..]pair-outdoor-photo-map-steps-for-example[..]1/3/basic-lightroom-adjustments-fog-mist

About marco photograhy -[..]7237/depth-of-field-in-macro-photography

動 態 攝 影 分 享 -[..]ts/gymnastics-fundraiser-portfolio-shoot

世盃攝影師落場 三機三鏡是基本 -[..]om/realtime/all/latest/20140624/52618252

India guide -

請問點影一個人行緊過黎既情景 -[..]

Street photographic - , 呈圓狀, 二等分, 重覆式, 同形狀

What is the real meaning of Aperture in zoom len -

How to take building photo look proper vertically -

How to take astro landscape photo -

Star photo processing -

How to take a good photo -

Think about composition rule -[..]or-beautiful-light-painting-photographs/

Using shifted len to create create landscape photo -[..]-can-teach-you-about-street-photography/

HDR -[..]iv-%E5%9F%B7%E8%B5%B0%E9%AC%BC%E5%BD%B1/

你也可以做得到]超簡易DIY證件相拍攝 -

淺談燈光人像, 逆光和壓光 -[..]%87%E7%87%88%E5%85%89%E4%BA%BA%E5%83%8F/

Top 5 Tips to Photograph Stars & Night Sky -[..]top-5-tips-to-photograph-stars-night-sky[..]otography-tutorial-lightroom-5-photoshop

Tutorial about using DSLR to take good movie -

How to take cloud sea photo -

Informaton of light pillar -

How to take Lightning photos -

How to take children photo -

進階對焦技巧 – 快門對焦分開處理 -[..]%A6%E5%88%86%E9%96%8B%E8%99%95%E7%90%86/

水底攝影入門(一):水底光線的考慮 -[..]active-photography-skill-tree-beginners/

Zone system -

How to use flash in studio -

Tips of taking photo for wild life -

TimeLapse tutorial -

Basic lightroom editing tutorial -[..]%83%E5%80%8B%E5%B0%8F%E6%8A%80%E5%B7%A7/

用小電筒照出静物「封面相」 -

享受長曝的樂趣 -

How to find your vision? practice, practice, practice -[..]3/how-to-find-your-vision-in-photography

拍出令人心動的女生照片,分享如果教導模特兒擺 POSE -

How to show dimension -[..]the-construction-of-space-in-photography

How to take food photo -

How to tone color -[..]-ideas-learn-to-tone-and-color-control#_

(google search) (amazon search)

Tue Mar 14 23:52:20 HKT 2017 From /weblog/learning


How to teach kid love coding -

(google search) (amazon search)