RSS feed [root] /



title search:


Wed Apr 15 10:18:54 HKT 2020

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

Tue Jul 02 21:44:37 HKT 2019 From /weblog/photographic

From forums

Collections of nice photos[..]bums/y246/photosilicone/Xinjiang%202007/[..]/world-reflected-in-eyes-of-another.html

(google search) (amazon search)

Sat Jun 22 09:23:22 HKT 2019 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

What We Got Wrong: Lessons from the Birth of Microservices -*bT1UfuVoj1I6NRNM3U

(google search) (amazon search)

Tue Jun 18 08:30:03 HKT 2019 From /weblog/entertainment


六四舞台莊梅岩:我們不能不做,香港人不會習慣那種沒自由的生活方 -

(google search) (amazon search)

Mon Jun 17 08:30:14 HKT 2019 From /weblog/database/sql


With IN and subquery / or "top" like keywords -[..]econd-highest-or-maximum-salary-sql.html

Top 5 Online Courses to Learn SQL and Database for Beginners - Best of Lot

(google search) (amazon search)

Sat Jun 15 22:04:26 HKT 2019 From /weblog/trip


大雪過後,歸來的人 -[..]814-international-survival-47days-liang/[..]815-international-survival-47days-liang/[..]816-international-survival-47days-liang/

【果籽人話】跑得仲快過選手!山跑攝影師跑勻世界名山「最美是香港」 -[..]style/realtime/article/20190527/59637748[..]e-are-the-most-secluded-hikes-in-the-u-s

(google search) (amazon search)

Wed Jun 12 07:45:55 HKT 2019 From /weblog/misc


(google search) (amazon search)

Mon Jun 10 20:13:52 HKT 2019 From /weblog/java/fundamental


Substring no longer just change offset -[..]hanges-to-stringsubstring-in-java-7.html

(google search) (amazon search)

Fri Jun 07 22:10:25 HKT 2019 From /weblog/science


The temperature-driven change in the mobility of water molecules on the surface perfectly matches how ice’s friction coefficient changes with temperature — the more mobility at the surface, the lower the friction. -

“As the physicist Richard Feynman predicted, the solution was not to be found in new equations, but rather within the equation that was already available to us,” explained Tobias Schneider, author of the new study. “Until now, researchers didn’t have powerful enough mathematical tools to verify this.”-[..]ws-science/turbulent-fluid-flow-28052019

(google search) (amazon search)

Tue Jun 04 22:10:50 HKT 2019 From /weblog/love


How to recover after betray?

如何面對走到盡頭的婚姻 -

示愛方式不同的兩人如何相處 -

How to keep marry -[..]d-around-the-world-and-fell-back-in-love

a lot of people blog about 夫妻相處之道, surprising -[..]%9B%B8%E8%99%95%E4%B9%8B%E9%81%93&type=2

nice article, hope google translate it nice -[..]E767C5&langpair=en%7Czh-TW&hl=en&ie=UTF8 , Orginal -[..]B94&elq=B029032F08E74AA9BAC9D27FFDE767C5

Love have a cost -

How to keep good relationship -

$$$$$ -

love and food -

如何與伴侶討論性? -

女婿的力量, also how should wife communication with Mother in law -

當你的另一半是個胖子…… -

過度分享 -

當另一半讓你難堪 -

與伴侶增進感情的小秘訣 -[..]how-we-end-up-marrying-the-wrong-people/

We judge people in a snapshot – and those first impressions are powerful but misleading. If you are looking for love, here are the most important things to bear in mind. -[..]here-such-a-thing-as-love-at-first-sight

尼泊爾華麗如夢婚禮 喜馬拉雅山腳下見證幸福 -

(google search) (amazon search)

Tue May 28 01:06:20 HKT 2019 From /weblog/business


Applying Agile to making decision -

Maybe failure, maybe difiiculty to overcome -

How do you determine what is "truth"?[..]ible-criteria-for-determining-truth.html

How will I feel about it in 10 minutes?
How will I feel about it in 10 months?
How will I feel about it in 10 years? -[..]arren-buffett-and-ray-dalio-99e4857d05e3

Six science-backed techniques to help you make hard decisions -[..]elp-you-make-hard-decisions-fde6e234c887

【Boss Talk】金融界「拆彈專家」 八達通張耀堂:星展保險箱奇案最難拆 -[..]nance/realtime/article/20190527/59644722

(google search) (amazon search)

Mon May 27 00:19:51 HKT 2019 From /weblog/software_engineering/team

program manager

Sharing from a PM -

It sound interesting but I don't exactly sure what is the difference with traditional approach -[..]omputest-transformation-agile-enterprise[..]/18/build-engineering-culture-tech-team/

(google search) (amazon search)

Mon May 27 00:08:38 HKT 2019 From /meaningful


These Navy SEAL tricks will help you perform better under pressure -[..]l-help-you-perform-better-under-pressure

(google search) (amazon search)

Sun May 26 23:56:41 HKT 2019 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/

Dr. Nico Rose cites research that finds that happy people tend to be more effective leaders. -[..]-your-money-managing-your-life-part-one/[..]ge-manager-vs-great-manager-cf8a2e30907d

Don't pretend -[..]ad-my-five-biggest-mistakes-fd7f4a2f1808[..]les-of-effective-leadership-d2f9d28a49fb

(google search) (amazon search)

Thu May 23 22:45:47 HKT 2019 From /weblog/design


軟體相機時代來臨!Google Pixel 工程師來台揭秘相機技術 -[..]cle/16465-google-pixel-camera-background

(google search) (amazon search)

Tue May 14 00:05:38 HKT 2019 From /weblog/learning


1. Create a structure for requesting feedback.
2. Get specific.
3. Act and report back.[..]ee-tips-for-getting-better-feedback.html

3 Undisclosed Tips for Digital Creatives, 2 are getting feedback -[..]isclosed-tips-for-digital-creatives.html

5 tips of getting feedback quicker -[..]/04/02/5-tips-for-getting-replies-faster

Negative feedback antipatterns -[..]942984306/negative-feedback-antipatterns

How to give feedback -

孩子衝動易怒怎麼辦?玩這種遊戲有望快速學會冷靜 -

Asking for feedback isn’t the distraction — pretending that your employees don’t have feedback is. -

As a startup CEO, it is hard to take time to step back, reflect, and learn. But making it a mandatory routine — and actually calling it a captain’s log — has imbued the practice with power and meaning, both for me and the company I run.


Let's people complaint -

Don't fear of looking dumb -[..]arning-fast-is-looking-dumb-9166fb78c234

(google search) (amazon search)

Mon May 13 17:33:43 HKT 2019 From /weblog/software_engineering/SCM


Suggestful github project -

GIT to SVN command guide -[..]vs-svn-commandline-syntax-reference.html

pretty cool guide -[..]e-to-an-ioke-dev-env-from-source-part-1/[..]rticleId=240160261&siteSectionName=tools[..]&siteSectionName=architecture-and-design

Some comments about possible issues -[..]an-streamline-your-writing-projects.html

Several ppl blog about why GIT better than SVN -[..]tages-of-git-over-subversion-svn-a-brief[..]03/09/its-time-to-stop-using-subversion/

A suggested branching model -

Some advantage of GIT over Mercurial -[..]hy-i-switched-to-git-from-mercurial.html

#undo last commit
git reset HEAD^

#show files in a given commit
git show --pretty="format:" --name-only rev_number

#remove untracked files and directories
git clean -f -d

#track remote branch
git branch --track branch_name origin/master

# given you created a new local branch 'branch_name'
# pushes 'branch_name' to 'origin/branch_name', creating the remote branch for you
git push origin branch_name

#delete remote branch
git push origin :remote_branch_name


Some more suggested workflow -

Move from SVN, experience of JIRA -[..]from-subversion-to-git-and-the/240009175

Merge or Rebase?[..]13/10/git-team-workflows-merge-or-rebase[..]ntial-tips-for-git-and-github-users.html

change-default-git-commit-message-template -[..]nge-default-git-commit-message-template/

Git cheat list -[..]re-development/git/git-commands-tutorial[..]nds-in-less-than-10-minutes-c53922625a73

(google search) (amazon search)

Mon May 13 16:23:25 HKT 2019 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. -[..]ting-started-with-big-data-architecture/

Twitter -[..]tter-handles-3000-images-per-second.html

Suning, more on HTTP -[..]oduct-details-system-architecture-design

Decision -

Some suggestion of making system simple, well, but the suggestion itself it is that simple -[..]ural-patterns-in-a-nutshell-a0b47a1e9013

(google search) (amazon search)

Mon May 13 00:11:07 HKT 2019 From /weblog/career/jobs

interviewer tip

The best way I've found to interview candidate developers is to pair program with them to do real work on the actual code of the project that is hiring. If not possible, give programming exercise which is:

The exercise must involve working with current development tools.
The exercise must require the candidate to apply important features of the language.
The exercise must involve understanding and working with existing code.
The exercise must involve error handling.
The exercise must involve testing.
The exercise must offer scope for domain modelling.
The exercise must involve asking questions.
The exercise must be realistic.
The exercise must involve changing requirements.
The exercise must offer the candidate enough rope to hang themselves.
The exercise must test many different skills and practices.

A good interview programming exercise takes at least an hour. -

The other interesting reading -[..]ass-kickin-interviewscreening-questions/

Phone interview -

Questions that somebody like to ask... although I think this guy is a bit arrogance -[..]y-favorite-java-developer-interview.html

Another interview question and answer -[..]/howto-pass-silicon-valley-software.html

How about lie at CV?[..]mon?entry=lying_on_your_r%C3%A9sum%C3%A9

Interviewing in google -

What interviewee should asked at interview -[..]programmer-should-ask-on-a-job-interview

What should not waste time to ask the candidate -[..]303_use-technique-ace-job-interview.html

Beware of the small things during interview -

The concern of putting negotiable in salary -

how-to-carry-out-technical-recruitment -[..]s/how-to-carry-out-technical-recruitment[..]ing-Process-is-your-engineering-process/

Assessing technical experience (a great idea) -[..]to-hire-the-best-developers-3ac0fa4e3f39

Bet you can’t solve this Google interview question. -[..]s-google-interview-question-4a6e5a4dc8ee

system-design-interview-questions -[..]stem-design-interview-questions-for-java

(google search) (amazon search)

Sat May 11 13:17:41 HKT 2019 From /weblog/photographic/tutorial


水底攝影入門(一):水底光線的考慮 -

Undersea macro -

(google search) (amazon search)

Sat May 11 13:16:20 HKT 2019 From /weblog/photographic/tutorial


勿加偏光鏡!水面有反光構圖更靚 -[..]-especially-landscape-photography-311376

India guide -

How to take astro landscape photo -

How to take cloud sea photo -

TimeLapse tutorial -

如何避免廣角鏡頭的失真 -[..]-avoid-the-distortion-of-wide-angle-lens

星芒的成因 & 拍攝技巧 -[..]01/diffraction-spikes-for-apertures.html

初學者也能拍出唯美畫面:攝影師教你捕捉絕美風景照的4步驟 -[..]ture-the-stunning-scenery-of-the-4-steps

Tips of taking sunrise photo -

(google search) (amazon search)

Mon Apr 29 10:54:01 HKT 2019 From /weblog/software_engineering/testing


Customer attitude will affect how the software engineering workflow a lot:[..]gprog/message/7420?threaded=1&var=1&p=24

Do you think this piece of code are too simple to have test case to cover? read this -[..]t-the-software-craftsmanship-conference/

Related blog, finding the common between taking photo and software testing -[..]hotographic-testing-lessons-learned.html . However, there is one big difference, it is harder to define a good photo than bug feel software

If it is good to put developer as tester? -[..].com/2011/03/programmers-as-testers.html

In fact I am kind of agree about this article, but maybe I just not TDD hard enough -[..]ectural-meltdown-around-iteration-three/

Tooling, Insight and Humility -[..]reasons-for-testers-to-learn-to-program/

Insufficient Requirements is not an excuse -[..]-blog-posts-9-insufficient-requirements/

What is the meaning of working -[..]14/03/very-short-blog-posts-14-it-works/

How Much is Enough? Testing as Story-Telling -

(google search) (amazon search)

Sun Apr 28 14:13:30 HKT 2019 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山頭→蝦鬚排→正生書院→芝麻灣郊遊徑→水塘→十塱→貝澳 -

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

深涌野營 -

潛龍 -

全港五大長跑徑推介 -

石硤尾主教山 -[..]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…

維多利亞城界石尋寶遊 / 戴緻賢 -[..]B6%E9%81%8A-%E6%88%B4%E7%B7%BB%E8%B3%A2/

新界西北區水塘系列 -

下花山看荃青全景 -

Tunnels at High West -

十個你不知道的鳳凰山秘境 -[..]B1%E7%A7%98%E5%A2%83-%E5%BE%8C%E7%AF%87/

【假日親子遊】閒遊西貢橋咀島 -

鳳凰徑全征系列 -

【啹喀的後裔6】重遊昔日三大軍營 前軍人望活化軍營推啹喀文化 -[..]E%A8%E5%95%B9%E5%96%80%E6%96%87%E5%8C%96

(google search) (amazon search)

Sun Apr 28 00:48:00 HKT 2019 From /weblog/design/distribute


In one sentence, here's why: humans are notoriously bad at keeping "self" distinct from "other". Egomania, projection (transference), and enmeshment are well-known symptoms of this problem. OK, so I hear you saying, "yeah, but what does this have to do with programming?" It certainly seems absurd to suggest that if we are bad at something we know the most about (our "selves"), how could we possibly say that we have a good approach for the programming analogues - objects, modules, etc. -

Argue why space base design is better than n-tier design -[..]0The%20End%20of%20Tier-based%20Computing

Some key research of google for distributed computation -

Someone think we are not yet (per Oct 2007) have good language support for distibuted computing -

A blog contain a lot distributed computing information -

How Wikipedia manage their site -

Google tutorial for Design Distributed System -

The Hadoop Distributed File System: Architecture and Design -[..]-a-list-of-distributed-key-value-stores/

Applying experience from CPU design for distributed solution -[..]o/post/26909672264/on-distributed-memory

Distributed systems for fun and profit -

Monitor and design -[..]buted-mission-critical-applications.html

Uber case study -[..]les-their-real-time-market-platform.html

Load balancer design -

Some issues of distributing logic to difference systems -[..]t-f-up-your-microservices-in-production/[..]lised-solution-to-distributed-consensus/

(google search) (amazon search)

Sun Apr 28 00:45:21 HKT 2019 From /weblog/design/examples


ZeroMQ: The Design of Messaging Middleware -[..]&siteSectionName=architecture-and-design

When NOT to use a message queue -

现代IM系统中的消息系统架构 - 架构篇 -

(google search) (amazon search)

Fri Apr 12 00:44:19 HKT 2019 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 -

Discussion of object pooling -[..]-but-forgotten-trick-object-pooling.html[..]m_performance_part_1_object_pooling.html

Efficiency - the amount of work you need to do.
Performance - how fast you can do that work
Efficiency - governed by your algorithm
Performance - governed by your data structures.[..]e-difference-between-efficiency-and.html

Turning off power save mode on the CPU reduced brought the max latency from 11 msec down to 8 msec.
Guaranteeing threads will always have CPU resources using CPU isolation and thread affinity brought the maximum latency down to 14 microseconds.[..]eduler-jitter-using-cpu-isolation-a.html[..]

About design for performance for webapi -[..]y-decision-as-a-service-design-patterns/

check list -[..]ery-software-development-team-should-ask

Beware if system utilization over 80% -[..]/20/service-latency-and-utilisation.html

scalable-io-events-vs-multithreading-based -[..]lable-io-events-vs-multithreading-based/

How to find out bottleneck -[..]entile-latencies-in-Chronicle-Queue.html

Compiler Performance and LLVM -

(google search) (amazon search)