RSS feed [root] /




login:

password:

title search:




 


Tue Mar 17 14:56:13 HKT 2020



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

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

camera


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

(google search) (amazon search)


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

feedback


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

3 Undisclosed Tips for Digital Creatives, 2 are getting feedback - http://www.targetprocess.com[..]isclosed-tips-for-digital-creatives.html

5 tips of getting feedback quicker - http://www.inside.com.tw[..]/04/02/5-tips-for-getting-replies-faster

Negative feedback antipatterns - http://blog.d3in.org[..]942984306/negative-feedback-antipatterns

How to give feedback - https://www.infoq.com/news/2017/05/feedback-software-teams http://www.infoq.com/cn/news/2017/05/feedback-software-teams

孩子衝動易怒怎麼辦?玩這種遊戲有望快速學會冷靜 - http://cn.wsj.com/big5/20170913/LIF181719.asp

Asking for feedback isn’t the distraction — pretending that your employees don’t have feedback is. - https://m.signalvnoise.com/excuses-excuses-3a25cdafe06b

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.
- https://medium.com[..]ave-kept-for-over-300-years-db30bf1bad4c

研究表明,自我認知水平較高的人(懂得如何觀照自我、如何融入社會,對別人如何看待自己一清二楚)做出的決定會更明智,在學業和工作上會更出色,養育的孩子也更成熟。他們不太會撒謊、欺瞞和偷盜。他們與別人的關係也會更健康。- http://cn.wsj.com/big5/20171016/LIF152338.asp

Let's people complaint - https://blog.codinghorror.com/complaint-driven-development/

Don't fear of looking dumb - https://medium.freecodecamp.org[..]arning-fast-is-looking-dumb-9166fb78c234

(google search) (amazon search)


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

git


Suggestful github project - http://rdegges.com/successful-github-development

GIT to SVN command guide - http://www.javacodegeeks.com[..]vs-svn-commandline-syntax-reference.html

pretty cool guide - http://martin.elwin.com[..]e-to-an-ioke-dev-env-from-source-part-1/ http://www.ralfebert.de/tutorials/git/ http://www.drdobbs.com[..]rticleId=240160261&siteSectionName=tools http://www.drdobbs.com[..]&siteSectionName=architecture-and-design

Some comments about possible issues - http://www.ericsink.com/entries/git_index.html

http://www.developer.com[..]an-streamline-your-writing-projects.html

Several ppl blog about why GIT better than SVN - http://inancgumus.com[..]tages-of-git-over-subversion-svn-a-brief http://altdevblogaday.org[..]03/09/its-time-to-stop-using-subversion/ http://blog.ashodnakashian.com/2011/06/git-for-personal-projects/

A suggested branching model - http://nvie.com/posts/a-successful-git-branching-model/

Some advantage of GIT over Mercurial - http://blog.extracheese.org[..]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

From http://leonardoborges.com[..]ngs/2011/05/29/a-few-useful-git-commands

Some more suggested workflow - http://eclipsesource.com/blogs/2011/06/09/git-lessons-learned/ http://sandofsky.com/blog/git-workflow.html

Move from SVN, experience of JIRA - http://www.drdobbs.com[..]from-subversion-to-git-and-the/240009175 http://blogs.atlassian.com/2013/10/git-workflows-webinar-qa

Merge or Rebase? http://blogs.atlassian.com[..]13/10/git-team-workflows-merge-or-rebase

http://www.javaworld.com[..]ntial-tips-for-git-and-github-users.html

change-default-git-commit-message-template - http://blog.ajduke.in[..]nge-default-git-commit-message-template/

https://codewords.recurse.com/issues/two/git-from-the-inside-out

Git cheat list - https://gist.github.com/aleksey-bykov/1273f4982c317c92d532

https://examples.javacodegeeks.com[..]re-development/git/git-commands-tutorial

https://dev.to/hector6872/how-good-are-git-hooks-14ho

https://medium.freecodecamp.org[..]nds-in-less-than-10-minutes-c53922625a73

(google search) (amazon search)


Mon May 13 16:23:25 HKT 2019 From /weblog/design

Architecture


Top Ten Software Architecture Mistakes - http://www.infoq.com/news/2007/10/top-ten-architecture-mistakes

Discussion about the balance of upfront design - http://blog.objectmentor.com[..]4/25/the-scatology-of-agile-architecture

There is no conflict in agile and architecture - http://www.andrejkoelewijn.com[..]s-no-conflict-in-agile-and-architecture/

http://c2.com/cgi/wiki?HexagonalArchitecture

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

Problem of too many layer - http://johannesbrodwall.com[..]/10/the-madness-of-layered-architecture/

http://edmundkirwan.com/general/simple.html

http://blog.schauderhaft.de[..]are-architect-here-is-your-reading-list/

Sometime it is worth to build to throw - http://martinfowler.com/bliki/SacrificialArchitecture.html

Business Transactions
External Dependencies
Caching Strategy
Garbage Collection
Application Topology
http://blog.appdynamics.com[..]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. - http://edmundkirwan.com/general/simple.html

http://blog.cloudera.com[..]ting-started-with-big-data-architecture/

Twitter - http://www.infoq.com/cn/articles/twitter-architecture-evolution http://highscalability.com[..]tter-handles-3000-images-per-second.html

Suning, more on HTTP - http://www.infoq.com[..]oduct-details-system-architecture-design

Decision - https://javax0.wordpress.com/2016/05/04/architects-dont-decide/

Some suggestion of making system simple, well, but the suggestion itself it is that simple - https://www.infoq.com/articles/driving-architectural-simplicity

https://medium.com[..]ural-patterns-in-a-nutshell-a0b47a1e9013

https://www.in28minutes.com/introduction-to-software-architecture

(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. - http://nat.truemesh.com/archives/000630.html

The other interesting reading - http://blog.secosoft.net[..]ass-kickin-interviewscreening-questions/

Phone interview - http://www.joelonsoftware.com/articles/ThePhoneScreen.html

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

Another interview question and answer - http://journeymanjournal.blogspot.com/2005/03/sir-am-i-hired.html http://paultyma.blogspot.com[..]/howto-pass-silicon-valley-software.html http://www.codinghorror.com/blog/archives/001042.html

How about lie at CV? http://jroller.com[..]mon?entry=lying_on_your_r%C3%A9sum%C3%A9

Interviewing in google - http://pyre.third-bit.com/blog/archives/000174.html

What interviewee should asked at interview - http://blog.reindel.com[..]programmer-should-ask-on-a-job-interview

What should not waste time to ask the candidate - http://www.innerspace.com.hk/cl_life.html

http://www.ehow.com[..]303_use-technique-ace-job-interview.html

Beware of the small things during interview - http://cn.wsj.com/big5/20100115/eoe145304.asp

The concern of putting negotiable in salary - http://jobtipsforgeeks.com/2014/08/08/negotiable/

http://www.zdfs.com/code/2015/on-interviewing-software-engineers

how-to-carry-out-technical-recruitment - http://www.infoq.com[..]s/how-to-carry-out-technical-recruitment http://ramblinjan.com[..]ing-Process-is-your-engineering-process/

Assessing technical experience (a great idea) - https://hackernoon.com[..]to-hire-the-best-developers-3ac0fa4e3f39

Bet you can’t solve this Google interview question. - https://medium.freecodecamp.org[..]s-google-interview-question-4a6e5a4dc8ee

system-design-interview-questions - https://dzone.com[..]stem-design-interview-questions-for-java

(google search) (amazon search)


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

undersea



水底攝影入門(一):水底光線的考慮 - http://www.dcfever.com/column/read.php?id=2459

Undersea macro - https://www.scubadiving.com/murky-macro-photography-tips

(google search) (amazon search)


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

landscape


勿加偏光鏡!水面有反光構圖更靚 - https://www.dcfever.com/news/readnews.php?id=23813&link=guid https://fstoppers.com[..]-especially-landscape-photography-311376

India guide - http://www.dchome.net/viewthread.php?tid=481974

How to take astro landscape photo - http://www.hokoon.edu.hk/astro/photocontest/astro_landscape.html

How to take cloud sea photo - http://www.dcfever.com/column/read.php?id=2273

TimeLapse tutorial - http://www.dcfever.com/column/read.php?id=3381 http://www.dcfever.com/news/readnews.php?id=20997

如何避免廣角鏡頭的失真 - https://digiphoto.techbang.com[..]-avoid-the-distortion-of-wide-angle-lens

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

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

Tips of taking sunrise photo - https://mymodernmet.com/sunrise-photography-guide-anton-gorlin


(google search) (amazon search)


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

attitude


Customer attitude will affect how the software engineering workflow a lot: http://groups.yahoo.com[..]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 - http://gojko.net[..]t-the-software-craftsmanship-conference/

Related blog, finding the common between taking photo and software testing - http://andreas-simon.blogspot.com[..]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? - http://janetgregory.blogspot.com[..].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 - http://beust.com[..]ectural-meltdown-around-iteration-three/

Tooling, Insight and Humility - http://www.developsense.com[..]reasons-for-testers-to-learn-to-program/

Insufficient Requirements is not an excuse - http://www.developsense.com[..]-blog-posts-9-insufficient-requirements/

What is the meaning of working - http://www.developsense.com[..]14/03/very-short-blog-posts-14-it-works/

How Much is Enough? Testing as Story-Telling - https://www.satisfice.com/blog/archives/6203

(google search) (amazon search)


Sun Apr 28 14:13:30 HKT 2019 From /weblog/trip

hongkong_hiking


** 欣賞好風景, 就在花瓶頂 ** - http://www.utravel.com.hk/forum/viewthread.php?tid=3862

野外美食餐單大交流! - http://go2nature.net/forum/viewtopic.php?p=1168681

(9:15)錦英>雁谷>靈猿守谷>猿頭>吊手岩>雁谷>110礦洞>耀安(12:30) - http://hk.myblog.yahoo.com/uncle_1389

路線:沙頭角公路→紅花嶺→礦山→紅花嶺→沙頭角公路 - http://go2nature.net/forum/viewtopic.php?p=1148245#1148245

路線:落馬洲→鐵坑山→鳳崗 - http://go2nature.net/forum/viewtopic.php?p=1149172#1149172

迪士尼後面山頭 - http://go2nature.net/forum/viewtopic.php?p=1149194#1149194

紅花秘洞 - http://hiking1688.xanga.com/756623531/2011-11-12/ http://trackhikers.blogspot.com.au/2012/04/blog-post.html

丫髻穿鼻 - http://hiking1688.xanga.com/757264463/2011-12-03-/

石芽北脊 - http://anlth2010.blogspot.com/2011/11/2011-11-20.html

路線:警校道→南朗山北橫山徑→海馬→南朗山頂→南朗山南脊→南朗山路→黃竹坑 - http://go2nature.net/forum/viewtopic.php?p=1160106#1160106

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

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

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

松柏 鶴嘴遊 - https://plus.google.com[..]22/albums/5764282192850561249?banner=pwa

路線:貝澳→十塱→芝麻灣監獄→長沙灣→61山頭→蝦鬚排→正生書院→芝麻灣郊遊徑→水塘→十塱→貝澳 - http://go2nature.net/forum/viewtopic.php?p=1189410

青衣自然徑 城門水塘 鶴藪至鳳園 荔枝窩 青山寺 - http://www.utravel.com.hk/DetailTour.php?id=ADsRYxEo

深涌野營 - http://go2nature.net/forum/viewtopic.php?t=491

潛龍 - http://go2nature.net/discuz/viewthread.php?tid=35258

全港五大長跑徑推介 - http://www.utravel.com.hk/DetailTour.php?id=ADsRYxEr

石硤尾主教山 - https://www.google.com[..]1%A4%E5%B0%BE%E4%B8%BB%E6%95%99%E5%B1%B1

屯門老虎坑 - http://wild1688.xanga.com/771669864/

白燕岩 - http://www.wildconqueror.com/web/outdoor813/PakYin.htm

觀音石河 - http://blog.yahoo.com/_ADKUGL33P2HG6RY5VPN7XRFDXM/articles/176086

鶴咀 海角回憶1 - http://hk.apple.nextmedia.com[..]/supplement/travel/art/20131013/18461339

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

長梯級路線 - http://go2nature.net/forum/viewtopic.php?p=1267470#1267470

《衛奕信徑全征系列》第五、六段-沙田坳、九龍水塘及城門水塘[計劃出發中] - http://blog.comefromhk.com/2014/03/2746/

米粉咀 - http://www.oasistrek.com/mai_fan_tsui.php

火石洲上山下海之旅 - http://danny-yum.blogspot.com.au/2014/05/2014-05-25.html

http://www.skywalker.autozine.org/Place/

Google Map 終於有遠足徑街景!你我都可以做 Map Maker - http://www.dcfever.com/news/readnews.php?id=10460&link=guid

由耀安邨出發,走半坳嶺北脊上馬鞍山村,跟著礦場脊上馬頷峽,落樹帶棧道,走至象門,so far so good… http://go2nature.net/forum/viewtopic.php?p=1311936#1311936

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

新界西北區水塘系列 - http://matthew-chin.blogspot.com/2015/10/blog-post_29.html

下花山看荃青全景 - http://matthew-chin.blogspot.com/2015/11/blog-post.html http://matthew-chin.blogspot.hk/2015/05/blog-post_17.html

Tunnels at High West - http://gwulo.com/node/29966

十個你不知道的鳳凰山秘境 - http://wanderingphotographyhk.blogspot.hk/2016/04/blog-post.html https://thestandnews.com[..]B1%E7%A7%98%E5%A2%83-%E5%BE%8C%E7%AF%87/

【假日親子遊】閒遊西貢橋咀島 - http://www.bkmilk.com.hk/?p=144786

鳳凰徑全征系列 - http://blog.comefromhk.com/2011/03/1653/ http://blog.comefromhk.com/2011/03/1638/ http://blog.comefromhk.com/2012/12/1936/ http://blog.comefromhk.com/2013/04/2198/ http://blog.comefromhk.com/2013/11/2457/ http://blog.comefromhk.com/2013/12/2580/

【啹喀的後裔6】重遊昔日三大軍營 前軍人望活化軍營推啹喀文化 - https://www.hk01.com[..]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

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. - http://www.artima.com/weblogs/viewpost.jsp?thread=46706

Argue why space base design is better than n-tier design - http://www.google.com[..]0The%20End%20of%20Tier-based%20Computing

Some key research of google for distributed computation - http://www.infoq.com/news/2007/06/google-scalability

Someone think we are not yet (per Oct 2007) have good language support for distibuted computing - http://kasparov.skife.org/blog/2007/10/11/

A blog contain a lot distributed computing information - http://www.highscalability.com/

How Wikipedia manage their site - http://dammit.lt/uc/workbook2007.pdf

Google tutorial for Design Distributed System - http://code.google.com/edu/parallel/dsd-tutorial.html

http://en.wikipedia.org/wiki/Distributed_hash_table

The Hadoop Distributed File System: Architecture and Design - http://hadoop.apache.org/core/docs/r0.18.0/hdfs_design.html

http://www.metabrew.com[..]-a-list-of-distributed-key-value-stores/

Applying experience from CPU design for distributed solution - http://blog.paralleluniverse.co[..]o/post/26909672264/on-distributed-memory

Distributed systems for fun and profit - http://book.mixu.net/distsys/single-page.html

Monitor and design - http://highscalability.com[..]buted-mission-critical-applications.html

Uber case study - http://highscalability.com[..]les-their-real-time-market-platform.html

Load balancer design - http://www.thegeekstuff.com/2016/01/load-balancer-intro/

Some issues of distributing logic to difference systems - http://blog.takipi.com[..]t-f-up-your-microservices-in-production/

https://blog.acolyer.org[..]lised-solution-to-distributed-consensus/

(google search) (amazon search)


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

messaging


ZeroMQ: The Design of Messaging Middleware - http://www.drdobbs.com[..]&siteSectionName=architecture-and-design

When NOT to use a message queue - http://techblog.bozho.net/?p=1455

现代IM系统中的消息系统架构 - 架构篇 - https://yq.aliyun.com/articles/698301

(google search) (amazon search)


Fri Apr 12 00:44:19 HKT 2019 From /weblog/design

performance


http://highscalability.com[..]6/big-list-of-20-common-bottlenecks.html

Nothing specific, mostly code clean up, refactoring and simplification, the performance boost was a surprise. <- This is a good one - http://bad-concurrency.blogspot.com.au[..]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. - http://mechanical-sympathy.blogspot.com.au[..]emory-access-patterns-are-important.html

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

Beware about the performance issue of static initalization - http://stackoverflow.com[..]-cause-problems-with-multi-threading-how

Experiment show why arraylist is better in most cases - http://www.javaadvent.com/2013/12/arraylist-vs-linkedlist.html

How to design low latency application in java - http://vanillajava.blogspot.com.au[..]5/chronicle-and-low-latency-in-java.html

http://highscalability.com[..]ciples-of-high-performance-programs.html http://blog.libtorrent.org[..]principles-of-high-performance-programs/

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

Beware the performance penalty of logging - https://plumbr.eu/blog/locking-and-logging

Keep thing dynamic - http://highscalability.com[..]ciples-of-high-performance-programs.html

http://www.rationaljava.com[..]st-rule-of-performance-optimisation.html

http://www.eecs.berkeley.edu[..]u/~rcs/research/interactive_latency.html

http://highscalability.com[..]aling-data-platforms.html?SSLoginOk=true

Discuss about developing low latency financial application - http://queue.acm.org/detail.cfm?ref=rss&id=2770868

Discussion of object pooling - http://highscalability.com[..]-but-forgotten-trick-object-pooling.html http://coffeenco.de[..]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.
http://www.rationaljava.com[..]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.
http://highscalability.com[..]eduler-jitter-using-cpu-isolation-a.html
http://epickrram.blogspot.co.uk[..]o.uk/2015/09/reducing-system-jitter.html

About design for performance for webapi - http://tech.forter.com[..]y-decision-as-a-service-design-patterns/

check list - http://techbeacon.com[..]ery-software-development-team-should-ask

Beware if system utilization over 80% - http://www.infoq.com/cn/news/2016/02/utilisation-wait-latency http://robharrop.github.io[..]/20/service-latency-and-utilisation.html

scalable-io-events-vs-multithreading-based - https://thetechsolo.wordpress.com[..]lable-io-events-vs-multithreading-based/

How to find out bottleneck - https://vanilla-java.github.io[..]entile-latencies-in-Chronicle-Queue.html

https://www.inkandswitch.com/slow-software.html

Compiler Performance and LLVM - http://pling.jondgoodwin.com/post/compiler-performance/

(google search) (amazon search)


Wed Apr 10 17:06:39 HKT 2019 From /weblog/java/performance

io


Improvement from io -> nio, then -> MappedByteBuffer - http://dobbscodetalk.com[..]blog&show=File-IO-in-Java.html&Itemid=29

How to improve performance by tuning the IO - http://pzemtsov.github.io[..]enefits-of-stream-buffering-in-Java.html

(google search) (amazon search)


Tue Apr 09 18:38:55 HKT 2019 From /weblog/software_engineering/testing

mock


Yet other discussion of Stubs, Fakes, and Mock Objects - http://vladimirlevin.blogspot.com/2007/11/stubs-fakes-mocks.html http://www.sustainabletdd.com/2012/05/mock-objects-part-1.html

While reviewing this article, Marty Andrews pointed out an important insight: there are two ways to use a mock object, either as a testing technique or as a design technique, and the intended use helps shape the available choices.

http://www.onjava.com/lpt/a/4526

Someone post some arguement that using mock probably a bad idea , which look like a endless arguement... - http://jroller.com[..]xRuiz?entry=mocks_for_concrete_class_can

Alberto Savoia on Testing the Untestable, raise a point that mocking make testing more portable, it probably true, but database setup may be not that difficult to port. - http://www.artima.com/forums/flat.jsp?forum=276&thread=213402

http://gojko.net[..]ut-isolation-but-about-responsibilities/

http://blog.objectmentor.com[..]ing-the-invasion-of-dots-and-parentheses

Fakes should have their own tests - http://googletesting.blogspot.com.au[..]/testing-on-toilet-fake-your-way-to.html

http://lkrnac.net/blog/2014/01/18/mock-final-class/

Again, other post on pros and cons for difference approach - https://codurance.com/2019/04/08/Introduction-to-test-doubles/

(google search) (amazon search)


Sat Apr 06 00:15:46 HKT 2019 From /weblog/software_engineering/team

Team work


Building trust for team - http://cocreatr.typepad.com[..]nity-of-practice-and-trust-building.html

One nice article about teamwork:

Directing (hi directive + lo supportive, for "enthusiastic beginners")
Supporting (hi directive + hi supportive, for "disillusioned learners")
Coaching (lo directive + hi supportive, for "reluctant contributors")
Delegating (lo directive + lo supportive, for "peak performers")

http://www.cmcrossroads.com[..]bbthreads/showflat.php?Cat=&Number=64809

Is it a people problem or process problem - http://blog.nayima.be[..]01/21/people-problem-or-process-problem/

importance of teamwork - http://www.butunclebob.com[..]leS.MichaelFeathers.ProgrammingOnYourOwn

5 Dysfunctions of a Team - http://www.anticlue.net/archives/000279.htm

A Leaner Start: Reducing Team Setup Times - http://www.infoq.com/articles/pat-kua-onboarding-new , I think article "letting-go" is really insightful - http://www.thekua.com[..]007/09/24/onboarding-strategy-letting-go

A good explanation of what is courage, and the result of didn't have courage. It also mention a bit of how to bulit courage within the team, but not much about it - http://www.xprogramming.com/xpmag/NotXP.htm

A potential issue of focus too much on people, rely on few heros - http://jchyip.blogspot.com[..]12/people-over-process-misses-point.html

Our agile process requires people to spend the effort to listen and talk to each other, working closely. You have to be a people person to like it. It doesn't suit sociopaths. Accidently hiring a sociopath is going to make XP impossible. Trust me, I know. To me this is XP's fundamental weakness. http://jchyip.blogspot.com[..]12/extreme-programmings-fundamental.html

What important is team but not idea - http://www.codinghorror.com[..]g/2010/01/cultivate-teams-not-ideas.html

http://www.infoq.com/news/2011/11/enable-high-performance-teams

http://www.infoq.com/presentations/Co-Making-Great-Products


A Measure of Your Team’s Health: How You Treat Your “Idiot” - http://quickbase.intuit.com[..]r-teams-health-how-you-treat-your-idiot/ http://www.inside.com.tw[..]ur-teams-health-how-you-treat-your-idiot

https://www.infoq.com/news/2018/05/culture-safety-ei-teams

How to Create a Great Team Culture (and Why It Matters) - https://queue.acm.org/detail.cfm?ref=rss&id=3323993

(google search) (amazon search)


Sat Mar 09 23:33:41 HKT 2019 From /weblog/java/concurrency

framework


https://dzone.com[..]ye-view-on-java-concurrency-frameworks-1

(google search) (amazon search)


Sat Mar 09 23:32:04 HKT 2019 From /weblog/java/performance

static


https://pangin.pro/posts/computation-in-static-initializer

(google search) (amazon search)




Thu Feb 28 12:47:16 HKT 2019 From /weblog/design/examples

analytic


Experience of using AWS Redshift - http://highscalability.com[..]on-events-a-day-the-shift-to-redshi.html

(google search) (amazon search)


Tue Feb 26 00:02:36 HKT 2019 From /weblog/trip/travelling

Africa


蘇丹之旅 - http://cn.wsj.com/big5/20120222/PHO092032.asp?source=rss

博茨瓦纳乔贝国家公园之行 - http://blog.sina.com.cn/s/blog_552d54170100kojt.html

莫桑比克的魅力 - http://cn.wsj.com/big5/20131108/lif072646.asp?source=rss

遊搜好行:遊在最前 塞舌爾 - http://hk.apple.nextmedia.com[..]/supplement/travel/art/20130322/18202846

The Complete Guide Of Things To See, Do And Eat In Madeira - https://handluggageonly.co.uk[..]-of-things-to-see-do-and-eat-in-madeira/

走過500多年 奈及利亞傳統染坑等待復興 - https://dq.yam.com/post.php?id=10777

(google search) (amazon search)



Sat Feb 23 01:24:19 HKT 2019 From /weblog/history

hongkong


Childhood memories of 1920s Hong Kong - http://gwulo.com/node/17419

《 香港老字號:廖同合荳品廠 》 - http://www.dcfever.com/column/read.php?id=2095

《 香港老字號:「慈善遮王」何希記造遮 》 - http://www.dcfever.com/column/read.php?id=1975

Tram - gwulo.com/node/19084

Inside Kowloon walled city - http://projects.wsj.com/kwc/#chapter=intro

1957-8: Andrew Suddaby's photos - http://gwulo.com/node/28655

一樓一古:宅在摩星嶺文物屋 - http://hk.apple.nextmedia.com[..]supplement/culture/art/20130527/18272607

Tong Lau / 唐樓, the Hong Kong shophouse - http://gwulo.com/node/34384

Some old color photos - http://gwulo.com/node/34665

【動畫●橫瀾島牛奶叔】最後的燈塔守護者 28年自給自足最開心 - http://hk.apple.nextmedia.com[..]om/realtime/supplement/20161125/55956449

中環卅間唐樓-鬧市中的迷樣建築群 - https://thestandnews.com/city/中環卅間唐樓-鬧市中的迷樣建築群/

Tokwawan - https://thestandnews.com[..]%96%E7%95%8C%E7%9A%84%E5%85%A8%E9%83%A8/

當銀行計劃書變成獨立宣言-滙豐銀行的建立與香港金融民族主義 - https://thestandnews.com[..]%8D%E6%B0%91%E6%97%8F%E4%B8%BB%E7%BE%A9/

(google search) (amazon search)


Sat Feb 23 01:09:17 HKT 2019 From /weblog/health

gut


http://www.bbc.com/future/columns/microbes-and-me

(google search) (amazon search)


Thu Feb 21 00:30:42 HKT 2019 From /weblog/learning

goal


It's never too late to reinvent yourself.txt - http://headrush.typepad.com[..]ing_passionate_users/2005/01/you_20.html

Related interview - http://www.inside.com.tw[..]/06/16/jill-abramson-commencement-speech http://www.washingtonpost.com[..]sons-commencement-speech-at-wake-forest/

How to improve yourself - https://medium.com[..]w-to-impress-an-interviewer-c210d9d8e84a

1. Connect to Your Emotions
2. Email Prompts and Reminders to Yourself
3. Get an Accountability Partner
4. Start a Mastermind Group
http://www.michelemmartin.com[..]ccountable-for-achieving-your-goals.html

Don't set the goal too high -https:/[..]%88%E8%A8%82%E5%BE%97%E5%A4%A0%E4%BD%8E/

vision. A powerful vision has three elements: a significant purpose, a picture of the future, and a clear set of values. Goals speak to our brains, telling us what to do when. Vision speaks to our hearts, pulling us forward through a compelling sense of what can be.vision. A powerful vision has three elements: a significant purpose, a picture of the future, and a clear set of values. Goals speak to our brains, telling us what to do when. Vision speaks to our hearts, pulling us forward through a compelling sense of what can be. - https://www.forbes.com[..]by-truly-leading-your-life/#54bc6cba7ea0

Setting attainable goals makes us happier, even if we fail - https://www.zmescience.com[..]ience/attainable-goals-happiness-9536354

(google search) (amazon search)