RSS feed [root] /



title search:


Thu Jun 30 11:18:51 HKT 2016

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

Tue Nov 29 00:12:57 HKT 2016 From /weblog/design/interview


"They build their own infrastructure for performance, reliability, and cost control reasons. By building it themselves they never have to say Amazon went down because it was company X's fault. Their software may not be more reliable than others, but they can fix, debug, and deployment much quicker than when working with a 3rd party."

Shel Kaphan -

(google search) (amazon search)

Tue Nov 29 00:10:37 HKT 2016 From /weblog/software_engineering


“Introduction of Lean Project Management” -

Applying Kanban -[..]s/applying-kanban-to-it-processes-part-2[..]-and-kanban-for-it-operation-kanban.html

Deming’s 14 Points, obvious and theoric, but still a good reading -[..]ng-lean-thinking-to-software-development

Free Online Kanban Tools -

(google search) (amazon search)

Tue Nov 29 00:03:32 HKT 2016 From /weblog/history


A History of Hard Drives -

(google search) (amazon search)

Wed Nov 16 23:37:49 HKT 2016 From /weblog/health


(google search) (amazon search)

Tue Nov 15 16:56:18 HKT 2016 From /weblog/software_engineering/testing


Being proactive! -[..]to-be-first-class-citizen-as-tester.html

Well, of course it say yes...... -[..]6/27/software-testers-need-learn-coding/

(google search) (amazon search)

Tue Nov 15 10:53:50 HKT 2016 From /weblog/design

value object

Discussion of DTO -

Discussion of value object -

(google search) (amazon search)

Tue Nov 15 10:49:25 HKT 2016 From /weblog/design/concurrency


How to write safer concurrency code -

reentrant and thread safe functions -[..]/31/reentrant-and-thread-safe-functions/

Libraries / toolkits for multicore process -[..]intableArticle.jhtml?articleID=212900103

Introduction -[..]QQSNDLRSKHSCJUNN2JVN?articleID=212903586[..]CQSNDLRSKHSCJUNN2JVN?articleID=213001517

Collections of links -[..]rallel-Or-Get-Left-Behind.html&Itemid=29

Briefing of difference modeling of threading system -[..]intableArticle.jhtml?articleID=215900465[..]inners-guide-to-multithreaded-libraries/[..]haloms_blog/2010/08/concurrency-101.html

Saving the Failwhale: The Art of Concurrency (Page last updated December 2012, Added 2012-12-26, Author Dhanji R. Prasanna, Publisher informit). Tips:

1) Contention is unavoidable - some resources are just slower, and you must wait for them. The secrets to good concurrency are 1) ensuring that these slower resources are rarely used, and 2) during such waiting periods, giving the faster tiers other work to do so that they continue to be utilized well.
2) Overuse of synchronization constructs such as locks and mutexes leads to systems that perform poorly under load.
3) ConcurrentHashMap is an efficient thread-safe map while HashMap is not thread-safe.
4) ConcurrentHashMap doesn't do away with locks, it still uses them but it uses more than the single global lock, so that threads gain some measure of concurrency. It uses separate locks for partitions, so that multiple threads writing to the map are likely to access different partitions, using separate locks and therefore process their data simultaneously. This technique is known as lock-striping. Efficient striping uses a number of locks proportional to the number of CPU cores in a system.
5) The asynchronous processing model smooths resource spikes by adding requests to a queue which is serviced by a pool of workers - spikes in requests make the queue grow rather than overloading the workers. (The ExecutorService is essentially a thread pool accompanied by a task queue.)

Discussion of using difference model for concurrency -[..]cks-application-architecture-pros-a.html

Concurrency vs Parallelism -[..]/2013/12/concurrency-vs-parallelism.html

Compare between Actors, CSP, Disruptor and raw Threads -[..]omparision-of-different-concurrency.html

Few coding tips that should be useful for most languages -[..]erformance-scalability-and-liveness.html[..]2015/09/java-concurrency-essentials.html

Service Design
Do one thing, do it well
No shared operational state
Bound your queues
Name custom thread pools and register an UncaughtExceptionHandler
Prefer immutable data objects over mutable state[..]-to-25-billion-notifications-during.html

(google search) (amazon search)

Sun Nov 13 22:10:09 HKT 2016 From /weblog/health/sport


首次公开拉筋术,俗话说:筋长一寸,寿长十年! -[..]type=android-17&version=25000338&lang=en[..]/use-five-movements-do-dynamic-warm.html[..]h-life/six-poses-for-a-better-sleep.html

床上懶人拉筋8式-助眠改善下背痛 -[..]b-%e5%8a%a9%e7%9c%a0-%e8%83%8c%e7%97%9b/

5 simple morning stretching -[..]ute-morning-routine-feel-better-day.html

(google search) (amazon search)

Sat Nov 12 11:38:21 HKT 2016 From /gallery/Nature/macro


(google search) (amazon search)

Sat Nov 12 11:38:19 HKT 2016 From /gallery/Nature/macro


(google search) (amazon search)

Sat Nov 12 00:32:58 HKT 2016 From /weblog/learning


It takes time
It takes practice
It takes motivation
It takes inspiration
It takes discipline
It takes courage
It takes effort
It takes concentration
It takes perseveration
It takes education[..]become-a-valuable-software-professional/

Other articles about this topic -[..]dvice_on_How_to_Become_a_Programmer.aspx

I love the following sentence a lot:

"Programmers are problem solvers. Programmers are logical thinkers. Programmers can figure out why it doesn't work. Programmers like to build new things and make old things work better.
Perhaps some folks think that limits programming to young folks, but I respectfully disagree. "[..]lds/archive/2004/12/too_old_to_prog.html

In constrast -

How to be a Programmer: A Short, Comprehensive, and Personal Summary -[..]ways-to-think-wisely-in-development.html

Problem solving analysis -[..]01/08/solving-problems-breaking-it-down/

How to improve yourself -[..]blog/2008/06/the-ultimate-code-kata.html , also, those task replicating add up bit by bit and comsuming time -

being-a-developer-after-40 -[..]veloper-after-40-3c5dd112210c#.rgkhc7zba

Don't let failure limit yourself -[..]-94081bb66bec?gi=be728cf1cf03#.2kt2xkvoj

(google search) (amazon search)

Fri Nov 11 14:47:24 HKT 2016 From /weblog/health/food


解癮御用 黑巧克力 -[..]ews/black-chocolate-is-good-for-you.html

benefits-to-eating-chocolate -[..]late-that-will-ease-your-guilt/?view=all

(google search) (amazon search)

Wed Nov 09 15:36:35 HKT 2016 From /weblog/hack+and+faq


Solve "unable to get local issuer certificate”, git config --global http.sslVerify false -[..]-issuer-certificate-using-git-on-windows

(google search) (amazon search)

Tue Nov 08 10:36:03 HKT 2016 From /weblog/copyright


A nice table show the difference between difference type of opensource licence

A more detail look of GPL:

Summary of some key point of typical business licence -

Free book about it -

Another discussion about choosing open source licence using -[..]stimates-contributor-license-agreements/

Cost of GPL -

(google search) (amazon search)

Sat Nov 05 20:31:31 HKT 2016 From /gallery/Travelling/Hangzhou2016


(google search) (amazon search)

Sat Nov 05 20:31:26 HKT 2016 From /gallery/Travelling/Hangzhou2016


(google search) (amazon search)

Sat Nov 05 20:31:23 HKT 2016 From /gallery/Travelling/Hangzhou2016


(google search) (amazon search)

Sat Nov 05 20:31:17 HKT 2016 From /gallery/Travelling/Hangzhou2016


(google search) (amazon search)

Sat Nov 05 20:31:10 HKT 2016 From /gallery/Travelling/Hangzhou2016


(google search) (amazon search)

Sat Nov 05 20:31:05 HKT 2016 From /gallery/Travelling/Hangzhou2016


(google search) (amazon search)

Sat Nov 05 20:30:58 HKT 2016 From /gallery/Travelling/Hangzhou2016


(google search) (amazon search)

Sat Nov 05 20:30:52 HKT 2016 From /gallery/Travelling/Hangzhou2016


(google search) (amazon search)

Sat Nov 05 20:30:49 HKT 2016 From /gallery/Travelling/Hangzhou2016


(google search) (amazon search)

Sat Nov 05 20:30:46 HKT 2016 From /gallery/Travelling/Hangzhou2016


(google search) (amazon search)