RSS feed [root] /



title search:


Sun Mar 16 19:10:24 HKT 2014

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

Thu Jun 25 16:15:32 HKT 2015 From /weblog/design


Top Ten Software Architecture Mistakes -

Discussion about the balance of upfront design -[..]4/25/the-scatology-of-agile-architecture

There is no conflict in agile and architecture -[..]s-no-conflict-in-agile-and-architecture/

Experience of build instead of buy -[..]uy-one-companys-decision-to-go-it-alone/

Problem of too many layer -[..]/10/the-madness-of-layered-architecture/[..]are-architect-here-is-your-reading-list/

Sometime it is worth to build to throw -

Business Transactions
External Dependencies
Caching Strategy
Garbage Collection
Application Topology[..]s-to-capture-in-enterprise-applications/

invent a solution the majority of whose components depend on no others with those few components whose task it is to compose those other components being left largely to coordination roles. -

(google search) (amazon search)

Thu Jun 25 16:08:37 HKT 2015 From /weblog/trip/travelling


遊搜好行:蜜月尋夢  63,000公里 -[..]20120421&sec_id=12187369&art_id=16266814

看北極光、鐘乳石、瀑布彩虹、動物大遷徒、泰姬陵等,都是美國有線新聞網絡( CNN)精選的人生必遊景點 -

尋找心中的最後一塊淨土 -

The best sun set -

Nice places at various places on earth -[..]0dad2d4ac0e22b0f5459e87f1ab5a3b2a7238ee2

地球最深的影像 库鲁伯亚拉洞穴探险 (Krubera Cave,又名Voronya Cave) -

unbelievable-photographs-of-national-parks-from-around-the-world -[..]al-parks-from-around-the-world/?view=all

restaurants-with-jaw-dropping-views -[..]urants-with-jaw-dropping-views/?view=all

places-that-look-like-they-are-from-another-planet -[..]e-they-are-from-another-planet/?view=all

places-you-can-get-away-from-pretty-much-everything-and-everybody -[..]-much-everything-and-everybody/?view=all

earths-most-breathtaking-natural-wonders -[..]t-breathtaking-natural-wonders/?view=all

craziest-things-found-in-nature -

astounding-fairytale-like-european-castles-and-chateaus -[..]-european-castles-and-chateaus/?view=all

五大人生必到之湖 -[..]realtime/international/20140730/52742210

amazingly-unique-walks-around-the-world -[..]-unique-walks-around-the-world/?view=all

popular-landmarks-that-are-creepy-suicide-hot-spots -[..]t-are-creepy-suicide-hot-spots/?view=all

unique-travel-destinations-most-travelers-have-no-clue-exist -[..]st-travelers-have-no-clue-exist/view=all

unique-spring-break-destinations-you-have-to-visit -[..]destinations-you-have-to-visit/?view=all

amazing-places-to-watch-the-sunrise-from-around-the-world -[..]-sunrise-from-around-the-world/?view=all

小島在呼救 -[..]ernational-day-for-biological-diversity/

most-dangerous-hikes-treks-and-climbs-on-earth -[..]ikes-treks-and-climbs-on-earth/?view=all

best-countries-to-live-in -[..]to-the-human-development-index/?view=all

incredible-national-parks-on-earth -[..]eet-food-from-around-world-that-you.html

placed-star-wars-was-filmed-that-you-must-visit -[..]tar-wars-was-filmed-that-you-must-visit/

most-visited-museums-in-the-world -

(google search) (amazon search)

Wed Jun 24 10:06:30 HKT 2015 From /weblog/science


四川現遠古生物「仙女蝦」 幼卵無懼100℃滾水 -

animals-with-insane-survival-adaptations -[..]th-insane-survival-adaptations/?view=all

rarest-animals-in-the-world -

fastest-land-animals -

unreal-animals-you-wont-believe-exist -[..]animals-you-wont-believe-exist/?view=all

bizarre-animals-youve-ever-heard-of-before -[..]als-youve-ever-heard-of-before/?view=all

awesome-animals -

adorable-hatchlings-that-are-too-cute-for-their-own-good -[..]re-too-cute-for-their-own-good/?view=all

little-known-facts-about-arctic-foxes -[..]known-facts-about-arctic-foxes/?view=all

fascinating-little-known-facts-about-polar-bears -[..]-known-facts-about-polar-bears/?view=all

adorable-photos-of-yawning-animals -

animals-with-outrageous-body-proportions -[..]th-outrageous-body-proportions/?view=all

new-species-discovered-in-2014 -[..]new-species-discovered-in-2014/?view=all

extinct-animals-that-scientists-want-to-de-extinct -[..]-scientists-want-to-de-extinct/?view=all

lethal-animals-you-hope-to-never-see -[..]ethal-animals-you-hope-to-never-see.html

Ant -[..]he-remarkable-self-organization-of-ants/

natural-phenomena-that-science-has-yet-to-explain -[..]hat-science-has-yet-to-explain/?view=all

dangerous-looking-animals-that-are-relatively-harmless -[..]s-that-are-relatively-harmless/?view=all

Shoebill Stork -[..]05/if-you-ever-doubted-existence-of.html

sad-facts-about-animals-that-might-make-you-shed-a-tear -[..]animals-that-might-make-you-shed-a-tear/

(google search) (amazon search)

Sat Jun 20 14:34:52 HKT 2015 From /weblog/health


Are we really need 8 hours of sleep?

Find the best sleep position -

Take a nap is good! -

Why it is good to sleep together -

中老年人怎樣睡個好覺? -

Facts about sleep -[..]nsane-facts-about-sleep-infographic.html

關注男士健康 側身睡覺有利養肝 -[..]6%BA%E6%9C%89%E5%88%A9%E9%A4%8A%E8%82%9D

We all know that kind of situation very well. You are supposed to work or study but you cannot help dosing off. Sometimes, staying awake can be a real challenge; especially if you are tired or bored. Fortunately, there is a surprisingly wide range of various tricks and hacks to help you fight the annoying drowsiness. Here are 25 Ways To Stay Awake When All You Want To Do Is Sleep. -[..]-awake-when-all-you-want-to-do-is-sleep/

(google search) (amazon search)

Mon Jun 15 16:33:01 HKT 2015 From /weblog/history


united-states-postal-service -[..]ited-states-postal-service-then-and.html

surprising-facts-about-the-united-states-military -[..]-facts-about-the-united-states-military/

about-the-revolutionary-war-you-might-not-know -[..]tionary-war-you-might-not-know/?view=all

(google search) (amazon search)

Mon Jun 15 11:37:34 HKT 2015 From /weblog/science


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

色彩斑斕的動物 -

地球上仍存活的最古老生物 -

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

rare-flowers-that-are-stunning-to-look-at -

earth-facts-that-might-surprise-you -

(google search) (amazon search)

Sun Jun 14 17:58:16 HKT 2015 From /weblog/finance


Explanation about advantage of KDB -[..]c-director-video-interview-asiaetrading/[..]-thing-out-there-as-a-substitute-for-kdb

Calculating RSI in KDB -

(google search) (amazon search)

Thu Jun 11 11:41:22 HKT 2015 From /weblog/software_engineering


The crucial bridge between theory and practice is called execution -[..]l/2012/2/22/importance-of-execution.html

Analysis for Continuous Delivery: Five Core Practices

1. Start with a minimum viable product (MVP).
2. Measure the value of your features.
3. Perform just enough analysis up front.
4. Do less.
5. Include feature toggles in your stories.

Discussion about various issue when thing change -[..]ankensystems-half-strangled-zombies.html[..]-patterns-in-development-and-operations/[..]/06/08/deadly-sins-software-project.html

(google search) (amazon search)

Tue Jun 09 17:22:45 HKT 2015 From /weblog/database


(google search) (amazon search)

Sun Jun 07 17:25:09 HKT 2015 From /weblog/business

starting business

Starting business at rentaroder, do you think this true o false ?[..]/2011/10/24/my-life-freelancer/#more-750

Speed of deliver rule -[..]up-suicide-%E2%80%93-rewriting-the-code/

My boss say that it brilliant, see if it good -

The other reference -

Joey recommendation -

And how to set price -[..]rd/Weblog/demand_curve_for_java_software

Successful case of home made game -

"You want to do your best, or you want to do the best of this world?" -

The cost and risk of starting business, may be as high as you thought - ; meanwhile, as an high paid employee may not that nice -

Fire startup staff??? -[..]tartup-lessons-i-learnt-at-protoinday-1/

How to parening software product and team?

Ideas are nice, but technical is still the key -[..]linator-and-not-death-by-popularity.html

Comment mistakes -

Haha, very true: 有一個重點我想說, 必須要有人願意付錢給你做你喜歡做的事情 -[..]dex.php?op=ViewArticle&articleId=2862620

Few examples of teen starting their own business -[..]ive-learned-from-founding-4-technology-2[..]ive-learned-from-founding-4-technology-b[..]y/feeding-a-startup-your-next-500-ideas/

Build something that do something you don't want to do -[..]2/paul-graham-how-to-get-startup-ideas-c

Confidence -[..]ence-is-the-pass-badge-for-entrepreneurs[..]efore-starting-their-very-first-business

Suggestion about starting business -[..]ting-meaningful-work/?fromcat=all#!sxLsH[..]e-learned-about-creating-meaningful-work[..]t-fab-ceo-learned-from-operating-company[..]014/01/21/success_entrepreneur_qualities[..]o-start-talking-about-what-you-want.html

Story of starting business in Japan -

*TA 就在身邊的好處,是可以快速 Iterate,更快找到PMF
*需要教育市場的新產品,要善用YouTube 的力量
*向下相容很重要 (美國小孩間本就有編織友誼手鍊互送的習俗)
*正向力量很重要 (與其打電動,父母更希望孩子動手)

(google search) (amazon search)

Mon Jun 01 11:59:15 HKT 2015 From /weblog/history


歐洲最後的信鴿軍團 -

創新和叛逆:蒸汽機發明者的啟示 -

最後的月食,永恒的羅馬 -[..]C-%EF%BC%8F-%E6%A2%81%E6%96%87%E9%81%93/

Fact about Pompeii -[..]-about-the-pompeii-destruction/?view=all

facts-you-probably-didnt-know-about demarks -[..]facts-you-probably-didnt-know-about.html

hitler-that-might-take-you-by-surprise -[..]hat-might-take-you-by-surprise/?view=all

stalin-you-probably-never-knew -[..]stalin-you-probably-never-knew/?view=all

ancient-romans -[..]romans-were-out-of-their-minds/?view=all

byzantine-empire -[..]may-not-know-about-the-byzantine-empire/

(google search) (amazon search)

Wed May 27 10:17:34 HKT 2015 From /weblog/design


When XP says "go for the simplest possible design", what does that mean?
1. Simplest possible design to IMPLEMENT?
1. Simplest possible design to UNDERSTAND LATER?

An thread discuss how far should we go. Seen most people agree what should be done is "Simplest possible design to TEST and IMPLEMENT"

It apply on feature, not on quality -

(google search) (amazon search)

Tue May 26 10:45:22 HKT 2015 From /weblog/software_engineering/testing

best practices

Consider the risk of not being tested -[..]sting-on-toilet-risk-driven-testing.html

Fidelity, Resilience, Precision -[..]testing-on-toilet-effective-testing.html

Attributes that unit test should have: Functionality, Accuracy, Instant, Locator -

Isolation -[..]/2012/04/is-your-unit-test-isolated.html

Tips of keeping unit tests running fast -

Testing Patterns -

Continuously to break thing so that we know our system is solid -[..]11/04/working-with-the-chaos-monkey.html

First rule -[..]08/10/01/nothing_is_too_trivial_to_test/

Test first/last is not important? Unit test either? What do you think?

* The name of the test should describe the requirement of the code
* There should be at least one test for each requirement of the code. Each possible path through of the code is a different requirement#
* Test the goal of the code, not the implementation[..]AppQuality&asrc=EM_NLN_761453&uid=703565[..]og/2007/08/how-not-to-run-beta-test.html

The teaser: Fast, Isolated, Repeatable, Self-validating, and Timely. -[..]es/2007/08/02/not-a-task-but-an-approach

Corner cases -[..]s/2007/02/testheuristicscheatsheetv1.pdf

One of the targets of TDD coding -[..]e-code-is-about-managing-complexity.aspx

Design for unit test -[..]es/content/DesigntoUnitTest/article.html

Push and Pull approach -

When not to test -

Test the story, rather than the implementation -[..]ving-to-scenario-based-unit-testing.html

Test the configuration -[..]TSS10ctqa&asrc=EM_NLN_8746433&uid=703565

Feel the deep synergy of design and test constraint -[..]athers_blog/2007/09/the-deep-synerg.html

Another set of principles for automated testing -[..]of-principles-for-automated-testing.html

Priority for tester -[..]

A lot of links -[..]-links-biased-toward-exploratory-testing[..]nit-tests-5-principles-for-unit-testing/

Some information and suggestion about setting up a local integrated testing environment -[..]

Virtual Panel: Code-to-Test Ratios, TDD and BDD -

A test is complete when its body contains all of the information you need to understand it, and concise when it doesn't contain any other distracting information. -[..]ting-on-toilet-what-makes-good-test.html

Discussion about naming the tests -[..]14/03/17/getting-junit-test-names-right/[..]ting/writing-clean-tests-naming-matters/[..]esting-on-toilet-test-behaviors-not.html <- Test behaviour, not method. This will make your tests more resilient since adding new behaviors is unlikely to break the existing tests, and clearer since each test contains code to exercise only one behavior.

Tips on having better assertion or cleaner test -[..]ur-test-code-with-custom-assertions.html[..]-friday-most-internal-dsls-are-outdated/[..]ertions-with-a-domain-specific-language/

Good to prevent setup and tearDown?

(google search) (amazon search)

Sun May 24 15:31:06 HKT 2015 From /weblog/design


Nothing specific, mostly code clean up, refactoring and simplification, the performance boost was a surprise. <- This is a good one -[..]12/07/disruptor-v3-faster-hopefully.html

Is there anything we can do about this when designing algorithms and data-structures? Yes there is a lot we can do. If we perform chunks of work on data that is co-located, and we stride around memory in a predictable fashion, then our algorithms can be many times faster. For example rather than using bucket and chain hash tables, like in the JDK, we can employ hash tables using open-addressing with linear-probing. Rather than using linked-lists or trees with single items in each node, we can store an array of many items in each node. -[..]emory-access-patterns-are-important.html

Skip lists are used instead of b-trees because b-trees don’t scale. -[..]ast-mvcc-inmem-lockfree-codegen-and.html

Beware about the performance issue of static initalization -[..]-cause-problems-with-multi-threading-how

Experiment show why arraylist is better in most cases -

How to design low latency application in java -[..]5/chronicle-and-low-latency-in-java.html[..]ciples-of-high-performance-programs.html[..]principles-of-high-performance-programs/

Suggestion about how to determine number of thread pool -[..]rmine-Web-Applications-Thread-Poll-Size/

Beware the performance penalty of logging -

Keep thing dynamic -[..]ciples-of-high-performance-programs.html[..]st-rule-of-performance-optimisation.html[..]u/~rcs/research/interactive_latency.html[..]aling-data-platforms.html?SSLoginOk=true

Discuss about developing low latency financial application -

(google search) (amazon search)

Sat May 23 22:07:04 HKT 2015 From /weblog/software_engineering/team


Servant Leadership -[..]t-be-my-style-of-servant-leadership.html , similarly, what a leader should do is helping other to do better, not to be the best of the team -[..]/03/onthings-manga-taught-me-leadership/[..]what-do-you-look-for-in-a-servant-leader

Mentorship -[..]entorship-in-software-craftsmanship.html

Keep focus, or lose -[..]0/how-steve-jobs-influenced-googles.html

The anti-pattern and suggestion about new joiner -[..]-you-will-face-as-a-software-team-l.html

Believe me, the objective was not to make decisions, but to create the right environment so that the right decision would be made.

A nice set of questions to ask for a leader -[..]3/questions-on-influence-and-growth.html

In short, don't put your shoes on others' foot -[..]earned-in-the-army_Printer_Friendly.html

4 types of leadership style, well, I think he model leadership a little too simple -[..]s-the-best-leader-for-the-software-team/

Your experts are spending all their time mentoring novices. Therefore:

Put one expert in charge of all the novices, let the others develop the system. -[..]010/2/25/organizational-pattern-day-care

What is the key Characteristics of great team -

This is very insightful obversation, in many time we look into something work in short term but not really solve the problem, a discussion about why so many people like micromanagement even if they know it is bad -[..]m/2011/01/programmers-and-micromanaging/[..]best-thing-you-can-do-for-your-team.html <- is provide required information, probably more transparent.

Don't make me think... but you have no business not allowing me to think if I choose to. -[..]allow-me-to-think-just-dont-make-me.html

How To Lead Clever People, actually I am double about this, let's see -

How to grow the leadership -[..]og/mpd/2012/11/nurturing-leadership.html

他在公司的名言是「When you give, you get」。他在上海成立科研中心,大方讓上汽參與,他認為各懷鬼貽的氣氛不可能做出成績。合資公司理論上是獨立個體,合資公司員工應把合資公司利益放到最前,而不是自己原屬公司的利益,但很少人做得到。慢慢下來,上汽也逐漸對墨菲產生尊重。


10. 永遠記得,做出決定前要先綜觀全局。

9. 否定別人跟切換開關一樣容易。但你最好拼死抵抗這種衝動,因為你也曾經做過蠢事。你做過爛決定,然後學習、成長,別人也一樣。

8. 掃地、擦桌、關燈。哪裡有漏洞要補就去補——即便那很瑣碎、沒人會注意。你必須做這些事去造福你的產品、你的公司,以及所有你們團隊共同打造的,令眾人驚艷、神奇的事物。

7. 你無法做所有的事。閉上眼睛,向後仰倒,學會信任。

6. 顯然有某種更為有效的方法能處理你正在做的事。是什麼呢?在每天回家的路上反覆思考吧。

5. 找出總是在依賴你的人,想想要怎麼做才能協助他們,讓他們自力更生。或許你覺得當個壟斷市場的鮭魚供應商很重要,但如果小鎮的所有人都學會捕魚,便能將你解放出來去做別的事。像是學習種小麥,或是如何馴服那些可愛的小狼。

4. 別說任何對當下討論沒有貢獻的話。你的聲音並非悠揚到絕對必須被聽見。

3. 做得出最好的決定比不上處在得以確保做出更多最佳決定的流程。

2. 就像你經常發表意見那樣,多說感謝和鼓勵的話語。

1. 最重要的是:永遠要掃除障礙物。那怕只是玩玩手指、看看窗外的雲,也別讓你那愚蠢、幼稚的自我阻礙團隊前進的腳步。[..]oftware-leadership-6-read-every-checkin/[..][..]op-5-mistakes-for-first-time-tech-leads/

How to lead with diplomatic -[..]how-to-be-both-assertive-and-diplomatic/

(google search) (amazon search)

Sat May 23 21:42:37 HKT 2015 From /weblog/trip


** 欣賞好風景, 就在花瓶頂 ** -

野外美食餐單大交流! -

(9:15)錦英>雁谷>靈猿守谷>猿頭>吊手岩>雁谷>110礦洞>耀安(12:30) -

路線:沙頭角公路→紅花嶺→礦山→紅花嶺→沙頭角公路 -

路線:落馬洲→鐵坑山→鳳崗 -

迪士尼後面山頭 -

紅花秘洞 -

丫髻穿鼻 -

石芽北脊 -

路線:警校道→南朗山北橫山徑→海馬→南朗山頂→南朗山南脊→南朗山路→黃竹坑 -

龍園 -> 外環單車徑 -> 流浮山老街 -> 蠔塚 -> 沙江天后廟 -[..]content=main&utm_campaign=weekend-120201

Valentino Chocolatier -> 半月灣 -> 橋咀洲地質景區 -> 吉光片羽 -[..]content=main&utm_campaign=weekend-120606

西貢街渡協會(9080 5794 / 9082 2057)

松柏 鶴嘴遊 -[..]22/albums/5764282192850561249?banner=pwa

路線:貝澳→十塱→芝麻灣監獄→長沙灣→61山頭→蝦鬚排→正生書院→芝麻灣郊遊徑→水塘→十塱→貝澳 -

青衣自然徑 城門水塘 鶴藪至鳳園 荔枝窩 青山寺 -

深涌野營 -

潛龍 -[..]t=35258&postdays=0&postorder=asc&start=0

全港五大長跑徑推介 -

石硤尾主教山 -[..]1%A4%E5%B0%BE%E4%B8%BB%E6%95%99%E5%B1%B1

屯門老虎坑 -

白燕岩 -

觀音石河 -

鶴咀 海角回憶1 -[..]/supplement/travel/art/20131013/18461339

花山 -[..]%B1%E5%B1%B1%E8%97%8F%E8%90%AC%E6%9F%B1/

長梯級路線 -

《衛奕信徑全征系列》第五、六段-沙田坳、九龍水塘及城門水塘[計劃出發中] -

米粉咀 -

火石洲上山下海之旅 -

Google Map 終於有遠足徑街景!你我都可以做 Map Maker -

由耀安邨出發,走半坳嶺北脊上馬鞍山村,跟著礦場脊上馬頷峽,落樹帶棧道,走至象門,so far so good…

(google search) (amazon search)

Fri May 22 18:09:27 HKT 2015 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

(google search) (amazon search)

Thu May 21 14:40:04 HKT 2015 From /weblog/political


(google search) (amazon search)

Sat May 09 16:11:37 HKT 2015 From /weblog/database


Normally, we store object like


However, some say store as


is better for many cases...

ROW base DB are dead end? -

(google search) (amazon search)

Sat May 02 13:23:20 HKT 2015 From /weblog/unix


Introduction of 10 useful commend: objdump, file, od, xxd, strings, nm, time, ps, fuser, strace, ctags

Install a Visual OS server at Linux , may be useful later -[..]-feisty-fawn-the-complete-newbies-guide/

Hello world of driver development -

Commands cheat sheet -

Tutorial of build various servers -

# !!- run the previous command.
# !ls - run the last command that started with ‘ls’.
# !ls:p - This will display the command instead of running it.
# !$ - run the last word of the previous command. (for substitutions)
# !$:p - Instead of running the last word of the previous command this will print it out.
# !* run the previous command without the first word. (for substitutions)
# !*:p - print, again

Tutorial of system logging under unix -[..]mmon-linux-log-files-name-and-usage.html

(google search) (amazon search)

Sat May 02 12:35:28 HKT 2015 From /weblog/health/food


(google search) (amazon search)