RSS feed [root] /



title search:


Tue Mar 17 14:56:13 HKT 2020

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

Fri Apr 03 19:15:44 HKT 2020 From /weblog/health


(google search) (amazon search)

Tue Mar 31 13:43:41 HKT 2020 From /weblog/business


Some techniques -

Claim to threaten is more useful -[..]living/negotiation-tips-giver-taker.html

(google search) (amazon search)

Mon Mar 30 10:04:05 HKT 2020 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 -

makeup-history -[..]makeup-history-facts-youll-want-to-know/

common-symbols-and-their-meanings -

amazing-battles-in-history -[..]rs-who-died-horribly-unfortunate-deaths/[..]ts-about-canada-you-probably-didnt-know/[..]y-bizarre-rituals-from-around-the-world/

10大想不到發明全來自第一次世界大戰 -

Ancient library -[..]ancient-libraries-you-should-know-about/[..]-badass-bounty-hunters-in-history-list25

宛如孤船 海上吉普賽人──巴夭族 -

萬年前最大初代農業聚居地 如現代城市過度擠擁、衛生惡劣、多暴力衝突 -[..]%9A%E6%9A%B4%E5%8A%9B%E8%A1%9D%E7%AA%81/

【世界公民】講錯了?「萬聖節」其實不是Halloween -

whistlers -

(google search) (amazon search)

Mon Mar 30 09:52:27 HKT 2020 From /weblog/science


psychology-tells-you-about-yourself -[..]ology-tells-you-about-yourself/?view=all

body-hacks-life-is-trying-to-hide-from-you -[..]ife-is-trying-to-hide-from-you/?view=all

causes-dark-circles-eyes-sleeping-people-really-tired -[..]s-sleeping-people-really-tired/?view=all

facts-about-the-human-body-you-may-not-be-aware-of -[..]n-body-you-may-not-be-aware-of/?view=all

blood -[..]you-might-not-know-about-blood/?view=all

misconceptions-about-your-body -[..]bout-your-body-that-arent-true/?view=all

pregnancy -[..]nge-the-way-you-view-pregnancy/?view=all

blindness -[..]you-didnt-know-about-blindness/?view=all

【趣味科普】同理心等於同情心?可以後天鍛鍊嗎? -[..]om/realtime/supplement/20160712/55345201

happen-to-your-body-after-you-die -[..]pen-to-your-body-after-you-die/?view=all

your-body-is-weirder-than-you-think -[..]body-is-weirder-than-you-think/?view=all[..]-that-make-absolutely-no-sense/?view=all

DNA -[..]l-help-you-understand-yourself/?view=all[..]-genetics-and-the-human-genome/?view=all

「人體農場」:聽屍體說話 -[..]%BD%E5%B1%8D%E9%AB%94%E8%AA%AA%E8%A9%B1/[..]8%82%89%E9%AA%A8%E6%9F%A5-q-a-episode-4/

Lie/Cheat -[..]o-know-someone-is-lying-to-you/?view=all

Albinism -

人腦越來越小 又關facebook事? -[..]om/realtime/supplement/20160705/55315802

為什麼人類的耳朵長成這樣 -

oxytocin -[..]us-facts-about-oxytocin-that-youll-love/

About vaginas -

Dream -[..]-about-dreams-you-might-not-be-aware-of/

Almost everything we know about salt may be wrong. Eating salt actually makes you less thirsty but hungrier -[..]ence/salt-makes-you-less-thirsty-423432/

Brain -

從進化的角度來看,幼年就是一段專門為了學習而存在的時期。在成人的庇護下,幼兒唯一的任務就是學習,他們無需操心是否要真的做出點成就來。而成人更注重的則是利用現有知識,快速有效地行動。抑制性化學物質對這一趨勢可能是有利的。自然之道的運行自有其信條:“沒壞就不用修。”既然如此,那麼大腦工作得順順當當,自然也就沒必要去改變它。 -

According to scientists, these are the three kinds of smile -

alleles -

What will happen after getting shot? -

“What’s happening with the baby is that a lot of the information is escaping even as the baby is trying to get it organized and stabilized.” In early infancy, a lot of experiences never become memories—they slip away before they can be preserved. -[..]why-we-cant-remember-before-age-3-05435/

human-digestion-system -[..]igestion-system-you-probably-didnt-know/

“信息時代的到來似乎已經創造了感覺自己無所不知的一代人,”學者們得出結論,儘管“他們對周圍世界的了解之少可能達到了前所未有的程度”。 -

Human touch can feel molecule-thin differences, study reports -[..]-molecule-thin-differences-study-reports

It is about smell -[..]ws-science/science-gut-feelings-08012017

Hypnosis -[..]facts-about-hypnosis-youll-want-to-know/

How our brain change -

allergies -

How DNA discovered?[..]-scientists-unraveled-dnas-double-helix/

200 hours to make best friends -

How body-heals-wound -

mummification -[..]ng-mummification-everything-wanted-know/

We need medical and psychological treatments for pain. But we also need to recognize that medical treatments have been overused. -[..]ment-psychology-cbt-mindfulness-evidence

無意識偏見會左右大腦認知,研究:人類沒有想像中那麼理性 -

timeline-human-evolution -[..]r/science-abc/how-fast-hair-grows-042394

在雙語轉換上,關閉舊語言比啟動新語言更需要大腦認知努力 -[..]e/news-science/human-blink-why-25092018/[..]an-handle-the-truth-more-than-you-think/[..]t-people-live-life-span-versus-longevity[..]ce/news-science/hugs-protect-mood-05423/

yawning -[..]post/yawning-science-contagious-01102019[..]-a-greater-tendency-for-disorders-though[..]edicine/how-muscle-memory-works-24012019

Scientists link properties of individual brain cell size to intelligence -[..]cience/dendrite-size-intelligence-042394

A varied biome of gut bacteria is thought to have several benefits, even so far as improving our moods. New evidence suggests it could also have a physical effect – making you skinnier, or even heavier. -[..]could-gut-bacteria-microbes-make-you-fat

疼痛難以形容?科學家開發出一種血液檢測原型,能客觀測量疼痛嚴重程度 -

Why Do People Lie? The Truth about Dishonesty -[..]do-people-lie-the-truth-about-dishonesty

How Trustworthy Are Your Memories? -[..]cience/how-trustworthy-are-your-memories

前皮克斯總裁其實無法在腦中想像任何畫面 因為他有「心盲症」 -[..]item/why-is-the-human-brain-so-efficient[..]y-cant-some-people-remember-their-dreams

Cell phones might cause skull ‘horns’ -[..]ence/cell-phones-might-cause-skull-horns

What is RNA?

酒醉不是藉口!研究顯示道德判斷不因喝醉失準 -[..]hol-really-is-no-excuse-for-bad-behavior

Researchers finally figure out the protein that senses cold temperatures -

【Healthy點】飲食失調不止是精神障礙 研究:厭食症實為「代謝及精神失調」 -[..]ional/realtime/article/20190916/59843333

Scientists discover a pattern of brain connectivity linked to anger and aggression -[..]ectivity-linked-to-anger-and-aggression/[..]1008-why-the-normal-brain-is-just-a-myth

“In simple terms, we argue that when people cannot see from birth, they rely more heavily on the context they extract from the other senses,” the researchers write. They also add that this can also explain the -[..]blind-schizophrenia-connection-14102019/[..]e/four-categories-human-goals-913513634/

Soup is good for malaria? -[..]ion-medicine/soup-malaria-good-19112019/[..]medicine/white-noise-enhance-sound-0423/[..]-might-be-counting-in-the-wrong-language[..]carbon-dioxide-mental-capacity-13542134/[..]item/why-is-the-human-brain-so-efficient[..]man-lungs-the-evolution-of-a-coronavirus

(google search) (amazon search)

Sun Mar 29 18:20:39 HKT 2020 From /weblog/security


(google search) (amazon search)

Sun Mar 29 18:15:44 HKT 2020 From /weblog/java/concurrency


Even though

private List synchList = Collections.synchronizedList(new LinkedList());

is thread safe, serialize sync List is NOT thread safe for sure. The story is, if you only synchronized the collection, and if we try to get the iterator in concurrent access environment, it will throws currencymodificationexception .

For collection is small, may be making defensive copy is good. Otherwise, in java5, there is concurrency collection.


Map operation, include use of FutureTask and putIfAbsent() method from ConcurrentMap. -

Other then lterate through the elements, adding and removing elements can also be problem, this article document a few good cases about that -[..]en-a-synchronized-class-isnt-threadsafe/

Samples of using Queue.drainTo() -[..]rforming-fixed-amounts-of-work-with.html

Overview of blockingqueue -[..]/java-util-concurrent/blockingqueue.html

Simple benchmark -[..]jvm-performance-part-iii-concurrent.html

Multi-thread behaviour -[..]hread-safety-issues-with-vector-and.html

java.util.concurrent.ConcurrentHashMap VS openhft.collections.SharedHashMap -[..]autilconcurrentconcurrenthashmap-vs.html

Why are there so many concurrent queues implementations in Java? -

Why hashmap is not thread safe -[..]a-HashMap-is-considered-as-thread-unsafe

(google search) (amazon search)

Sat Mar 28 20:09:46 HKT 2020 From /weblog/design/distribute


There are two key primary ways of scaling web applications which is in practice today.
1) “Vertical Scalability” - Adding resource within the same logical unit to increase capacity. An example of this would be to add CPUs to an existing server, or expanding storage by adding hard drive on an existing RAID/SAN storage.
2) “Horizontal Scalability” - Adding multiple logical units of resources and making them work as a single unit. Most clustering solutions, distributed file systems, load-balancers help you with horizontal scalability.

Scalability can be further sub-classified based on the “scalability factor”.
1) If the scalability factor stays constant as you scale. This is called “linear scalability“.
2) But chances are that some components may not scale as well as others. A scalability factor below 1.0 is called “sub-linear scalability“.
3) Though rare, its possible to get better performance (scalability factor) just by adding more components (i/o across multiple disk spindles in a RAID gets better with more spindles). This is called “supra-linear scalability“.
4) If the application is not designed for scalability, its possible that things can actually get worse as it scales. This is called “negative scalability“.

Report of building web application with 55k pageload with rail -[..]mongrels-handled-a-550k-pageview-digging

XMPP a IM protocol about scalability -[..]icle/the_aol_xmpp_scalability_challenge/

Presentation and resources of making you website more scalable -[..]9/Real-World-Web-Performance-Scalability[..]lications&asrc=EM_NLN_3990118&uid=703565[..]ionsPart2&asrc=EM_NLN_3990119&uid=703565

Brian Zimmer, architect at travel startup Yapta, highlights some worst practices jeopardizing the growth and scalability of a system:
* The Golden Hammer. Forcing a particular technology to work in ways it was not intended is sometimes counter-productive. Using a database to store key-value pairs is one example. Another example is using threads to program for concurrency.
* Resource Abuse. Manage the availability of shared resources because when they fail, by definition, their failure is experienced pervasively rather than in isolation. For example, connection management to the database through a thread pool.
* Big Ball of Mud. Failure to manage dependencies inhibits agility and scalability.
* Everything or Something. In both code and application dependency management, the worst practice is not understanding the relationships and formulating a model to facilitate their management. Failure to enforce diligent control is a contributing scalability inhibiter.
* Forgetting to check the time. To properly scale a system it is imperative to manage the time alloted for requests to be handled.
* Hero Pattern. One popular solution to the operation issue is a Hero who can and often will manage the bulk of the operational needs. For a large system of many components this approach does not scale, yet it is one of the most frequently-deployed solutions.
* Not automating. A system too dependent on human intervention, frequently the result of having a Hero, is dangerously exposed to issues of reproducibility and hit-by-a-bus syndrome.
* Monitoring. Monitoring, like testing, is often one of the first items sacrificed when time is tight.

Useful Corporate Blogs that Talk About Scalability -[..]l-corporate-blogs-talk-about-scalability

Overview of mapreduce and how it compare with other distributed programming model -[..]0/is-mapreduce-going-to-main-stream.html

Paper of data store at amazon

Discuss how haven't sync can cause performance issue -[..]lications&asrc=EM_NLN_6273194&uid=703565

Discussion about Cloud Based Memory Architectures -[..]ased-memory-architectures-next-big-thing[..]alability-and-performance-best-practices

Interview with google engineer -[..]gle-at-scale-everything-breaks-40093061/

Surprisingly youtube is blocking -[..]e-scalability-lessons-in-30-minutes.html

If we are seeing a sustained arrival rate of requests, greater than our system is capable of processing, then something has to give. Having the entire system degrade is not the ideal service we want to give our customers. A better approach would be to process transactions at our systems maximum possible throughput rate, while maintaining a good response time, and rejecting requests above this arrival rate. -[..]apply-back-pressure-when-overloaded.html

How twitter scaling -

How Reddit scaling -

How Hotjar scaling -[..]-while-scaling-hotjars-tech-architecture

How infiniteDB prevent locking and IO -[..]-scalable-relational-database-manag.html[..]ard-way-about-scaling-a-million-use.html[..]2014/03/26/six-things-about-scaling.html

The experiences of various big companies, about network issues -

Stackoverflow, scale without cloud -[..]nth-25-servers-and-i.html?SSLoginOk=true

How netflix scale -[..]ix-what-happens-when-you-press-play.html

Scaling to 100k Users -[..]ity/systems/2020/02/03/scaling-100k.html

(google search) (amazon search)

Fri Mar 27 11:45:09 HKT 2020 From /weblog/photographic/tutorial


About marco photograhy -[..]7237/depth-of-field-in-macro-photography[..]018/08/22/Macro-photography-in-the-field

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

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

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

What is the real meaning of Aperture in zoom len -

How to take building photo look proper vertically -

How to take a good photo -

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

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

Tutorial about using DSLR to take good movie -

進階對焦技巧 – 快門對焦分開處理 -[..]%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 wildlife -[..]ecipes-to-take-note-of-wildlife-shooting

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

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

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

How to take food photo -

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

想拍好出照片,不懂色彩怎麼行! -[..]re-do-not-understand-the-color-how-to-do

Common shutter speed -[..]professional-photographers-shutter-speed

想拍漂亮的散景靜物嗎?6步驟DIY一個超絢麗散景牆, with 鋁箔或銀色包裝紙 -[..]steps-to-a-super-gorgeous-diy-bokeh-wall

3D photographic technique -

相機帶「拍攝術」 -

【不用 PS 不用水氹】利用電話屏幕,拍攝類似「天空之鏡」效果照片 -

Effect of different focal length -[..]t-shot-for-a-portrait-four-shot-pro-test

PHOTOGRAPHY COMPOSITION: THE DEFINITIVE GUIDE -[..]hotography-composition-definitive-guide/


一個好背景,能決定拍攝者的功力 -[..]und-to-determine-the-photographers-skill

在拍極簡攝影之前,你得先了解負空間 -[..]ou-have-to-understand-the-negative-space

簡單圖解讓您立刻學會拍螢火蟲 -[..]-you-learn-to-shoot-fireflies-right-away

長鏡用家必學!高速鎖定目標有秘訣 -[..]y/how-to-get-started-with-birding-05232/

(google search) (amazon search)

Fri Mar 27 11:42:59 HKT 2020 From /weblog/learning


(google search) (amazon search)

Sun Mar 22 15:25:35 HKT 2020 From /weblog/business


Using game as training - , and drawing for communication -

No control, but empower -[..]01/some-thoughts-on-managing-people.html

10 rules of success, not really very insighful ideas but still nice to take a look:

Another 10 tips for product manager -

An interesting example of how people gaming the reward system -

Interview of Jeff Bezos and learn about his management style -

Dos and Don'ts for line manager -

8 elements of dysfunctional management -[..]lements-of-dysfunctional-management.html

Talk verse Action:
All Talk and No Action -[..]ectives-go-wrong-all-talk-and-no-action/
All Action and No Talk -[..]ectives-go-wrong-all-action-and-no-talk/
A suggestion of taking the balance -

Discussion about issues of managing remote teams -

Team building with the way of "pointy haired boss" ?? -

Promote the problem maker to make them better?? Is that work? - May be it is true that problem maker are innovator, give them more work and reward can change their negative performance to more than expected positive performance.

The most consistent and intense complaint from team members was that their team leaders were unwilling to confront and resolve problems associated with poor performance by individual team members.

Manage to learn -[..]dd-80e9-0000779fd18c.html?nclick_check=1

Suggestion about how to delegate to other, spend time to explain to vision -[..]E6%88%96%E8%80%85%E5%B4%A9%E6%BD%B0.html

Allocate free time to employee is good for company -[..]12/08/today-is-goof-off-at-work-day.html

What management should be -[..]-people-can-you-manage-as-a-manager.html

1. 清楚意識到您的創新意圖
2. 為彈性的工作時間設計一個架構
4. 測量什麼是有意義的
5. 給予「無實質價值」的報酬
6. 象徵化
7. 不是標準化地複製他人的創新行為[..]6-ways-to-create-a-culture-of-innovation

1. 在公司裡跟別人吐露的心事越少,對你越好。你以為是無傷大雅的閑聊,其實有可能會造成嚴重傷害。把你的猜測和擔憂都埋在心裡吧。

2. 務必管理好和下屬的關系。花時間和公司裡的較低層員工在一起,盡量對他們友好。對電梯操作員禮貌問候,對郵遞員表示感謝,對助理說句友善的話,這些都會得到讚賞。打造名譽要從基層做起。同樣的,碰到不爽的事情,要自己消化情緒,不要在別人面前發泄。

3. 做領導是一份全職工作,職責的時鐘永不停止。每個微小的跡象都會被解讀,你的不耐煩、失望或不安全感都會被那些解讀你的人放大。不應做出隨意、毫無準備的坦白,信息必須經過深思熟慮才能發出。要特別小心書面的東西,尤其是電子郵件──它們永遠都不會消失。

4. 保持聆聽並索取建議。每周至少在公司餐廳吃一次午飯,或者時不時在咖啡機旁逗留,聽聽其他人都在聊些什麼。如果有人想跟你說話,那就沒有理由不聽。如果有人批評,即使你不讚同也要花時間仔細回應。

5. 你覺得很風趣的俏皮話通常並不風趣。你的幽默感很容易被解讀為自傲和笨拙。如果你仍然以為講笑話或引用某個幽默故事對陳述觀點很重要,那麼請先跟你的配偶或信任的朋友演練一遍。幽默是有風險的。千萬不要拿嚴肅的事情開玩笑。

6. 很重要的一點是,保証重要事務的重要性。應該經常解釋你的戰略,可以換個措辭,但要反復強調。

7. 絕不要抱怨和解釋,沒有人會聽。出了差錯就承擔責任。不要把錯誤怪到前幾屆管理層、天氣、運氣不好或競爭對手身上。但也不要露出防御姿態。向前看──除非上級要求你辭職。

8. 信任你的專業顧問,接受他們的專業意見。不要對市場做過多猜測。沒有所謂的完美數據。做出決策,往前走。

9. 謹慎使用“平均”這個詞──平均深度為6英寸河也可能淹死人。欣然接受“平均”,只會獲得虛假的安全感。假設最糟糕的情況會發生,因為通常就是如此。

10. 最後這條是陳詞濫調,但卻是至理真言:絕不要做或說你不希望在報紙頭條看到的事情。和媒體打交道時,不要回答假設性的問題,謹記麥克風永遠不會真正關閉,絕不要同意“私下”談。對一場危機唯一值得做的公開回應是誠實。[..]0001424052702303519404579353060931625306

給新手高管的10條建議 -[..]/causes-and-solutions-for-bystander.html

以競爭激發員工潛力有其道理,但就我過往所見,鼓催互鬥文化往往淪為非實力較量,最後變成內部互搞小動作放毒箭,對公司產生最嚴重的破壞 - 內耗。 -[..]%84%EF%BC%9F%EF%BC%8F%E5%BE%90%E7%B7%A3/

Good developer cannot be good manager? -

Manager guide in google -

Every person is a vector — add them all up, and you know how much progress your company is going to make. -[..]me-about-growing-a-business-c2c173f5bff3

The Seven Habits of One Highly Effective Manager of Managers: Things I Learned from Charity Majors -

(google search) (amazon search)

Sun Mar 22 15:22:03 HKT 2020 From /weblog/health


打游戲有助老年人集中注意力 -

康寧漢說,工作要求人們集中注意力,這使得其心理、社交及物質層面的能量精力消耗枯竭,而這一切又會導致壓力的產生并降低勞動者的生產力。他說:“從辦公桌邊抽身離去進行午間休息能讓人們遠離腦力枯竭的根源。這還會為你提供在晌午時分——而不是等到一天工作結束之際——恢復大腦活力、重整精氣神的機會。” -

補腦良方要學會 -[..]ain-that-your-brain-didnt-know/?view=all

在預防痴呆症方面,速度訓練已超越另外兩種流行的大腦訓練:記憶和推理練習。 -

know-about-multiple-personality-disorder -[..]know-about-multiple-personality-disorder

alcohol help dementia -[..]ence/alcohol-dementia-research-22022018/[..]ience/healthy-diet-brain-shrinkage-0432/[..]prising_ways_exercise_changes_your_brain

high-intensity-aerobic-exercises-boost-brain-neuroplasticity -[..]c-exercises-boost-brain-neuroplasticity/

(google search) (amazon search)

Fri Mar 20 07:29:06 HKT 2020 From /weblog/learning


How to train focus -

Once you build self-control through a chosen activity, you do a better job exerting self-control in other situations. -[..]r-thanks-to-the-science-of-self-control/

17 yrs don't speak... -

5 hours rule, every day spend an hour to read/reflect/experience, 5 times a week -[..]and-oprah-all-use-the-5-hour-rule-2017-7[..]-all-embrace-the-5-hour-rule-8836f554da1

Why focusing is important -[..]-practice-training-neuroscience-research

How To Dramatically Sharpen Your Attention And Focus =[..]en-your-attention-and-focus-416444802997

How to due with information overload -[..]-hurts-us-and-how-to-escape-4a2924800e16

接受專家高質量針對性的回饋(後期可以透過心智模型自我回饋) -[..]ecrets-from-the-new-science-of-expertise

How to concentrate -[..]-no-such-thing-as-motivation-e02edd7de30[..]-focus-and-get-more-meaningful-work-done

Ignoring distractions or temptation is harder when you’re tired, stressed, or trying to remember something -[..]ognitive-control-ignoring-cues-925346345

唐鳳愛用番茄鐘工作法是什麼?教你提高專注力、重新奪回生產力 -[..]icle/19127-how-to-use-pomodoro-technique

(google search) (amazon search)

Mon Mar 16 07:47:36 HKT 2020 From /weblog/design

Object attributes

About getter and setter -

Discussion of hashcode and equal of collections -[..]11/why-no-equals-and-gethashcode-in.html

A blog discuss the problem of getter / setter -[..]rise?entry=the_case_against_the_property

Equality Is Hard -[..]m/posts/2020-03-09-equality-is-hard.html

(google search) (amazon search)

Mon Mar 16 07:46:47 HKT 2020 From /weblog/web/script


How I made a 3D game in only 2KB of JavaScript -

(google search) (amazon search)

Mon Mar 16 07:45:26 HKT 2020 From /weblog/web


(google search) (amazon search)

Mon Mar 16 07:43:47 HKT 2020 From /weblog/software_engineering/testing


A nice example of convert dbunit from using junit to testng -[..]h/blog.php?name=philzoio&mydate=20050826

redirect junit output to a file -

invokeNCopiesWithTimeout, run a test ( in runnable() ) for n times and see if it ok for multi-thread likely or not -[..]/running-n-foreground-tasks-in-java.html

Use theories to execute test with a lot difference input, probably possible for all cases -[..]010/01/31/new-feature-of-junit-theories/[..]using-junit-4-theories-to-test-contracts

The other features, rule, perform some rule on test cases -

Adding timeout -

Testing exceptions at Junit -[..]ting-expected-exceptions-with-junit.html[..]ays-of-handling-exceptions-in-junit.html[..]-java-unit-testing-frameworks-tools.html

Skip test for some cases, or create test only for some cases -[..]unit-rule-to-conditionally-ignore-tests/

What new in junit5 -[..]it-5-next-generation-testing-on-the-jvm/

(google search) (amazon search)

Sun Mar 15 19:37:18 HKT 2020 From /weblog/java/performance


A case showing java is faster than C++ -[..]mgroups#!topic/comp.lang.c++/7aNw3PzPvMI

Case show how to improve GC time spend on a java application -[..]11/java-vm-beware-of-younggen-space.html

A case study of solving thread contention -[..]fighting-thread-contention-in-your-code/[..]-of-java-application-performance-tuning/

Notes about measuring map performance -[..]ronicle-map-and-yahoo-cloud-service.html

High Performance Java - Binary instead of Objects - John Davies -

jemalloc, look like a really nice tool -[..]c-to-get-to-the-bottom-of-a-memory-leak/

story of finding why there is so many GC -[..]horough-jvm-thorough-analysis-ygc-part01

GC thread blocked by system call -

We always need benchmark -[..]2017/06/15/forward-vs-backward-loop.html

Investigation and solutions of performance issue caused by GC log -[..]c-pauses-caused-by-background-io-traffic

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

Parallel Collection Processing: Leveraging Batching -

Maybe good to careful about collection initalization -[..]ars-with-a-single-character-code-change/

(google search) (amazon search)

Sun Mar 15 19:36:47 HKT 2020 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 -

Useful parameters for OOME -

(google search) (amazon search)

Wed Mar 11 22:28:44 HKT 2020 From /weblog/java/features


(google search) (amazon search)

Tue Mar 10 07:34:13 HKT 2020 From /weblog/trip/travelling

south america

阿根廷的觀鳥天堂 -[..]

magnificent-torres-del-paine-national-park-photos-you-absolutely-have-to-see -[..]tos-you-absolutely-have-to-see/?view=all

Hotel next to Perito Moreno Glacier -


世界獨一無二 哥倫比亞彩虹河奇觀 -

【一生人一次】阿根廷最美行山路線 2日1夜無導遊欣賞Mt. Fitz Roy絶景 -[..]yle/20200304/M24ENXKLYKI7GI5VSDYIDC3LUQ/

【南美自由行】自駕遊阿根廷小瑞士40號公路 一次過睇晒七湖國家公園絕景 -[..]yle/20200310/3CTQQFMALEXULELXU2CAXBDTXY/

(google search) (amazon search)