RSS feed [root] /



title search:


Wed Apr 15 10:18:54 HKT 2020

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

Thu Jun 18 10:28:45 HKT 2020 From /weblog/investment


【美股小知識】領先經濟指數 (LEI) -[..]E7%B6%93%E6%BF%9F%E6%8C%87%E6%95%B8-lei/


inflation -

(google search) (amazon search)

Mon Jun 15 15:10:52 HKT 2020 From /weblog/health/food


food-freshness-tricks -[..]ss/slideshow-food-freshness-tricks-hacks

(google search) (amazon search)

Fri Jun 12 15:55:40 HKT 2020 From /weblog/computer+science


(google search) (amazon search)

Fri Jun 12 08:27:22 HKT 2020 From /weblog/trip/camping


How to stay safe around wild animals -[..]animals-wildlife-attacks-national-parks/

How to Not Get Attacked by a Bear -[..]animals-science-north-america-grizzlies/

(google search) (amazon search)

Tue Jun 09 00:02:20 HKT 2020 From /weblog/java/discussion


(google search) (amazon search)

Mon Jun 08 23:45:03 HKT 2020 From /weblog/%E6%97%A5%E5%B8%B8%E7%94%9F%E6%B4%BB


寫在沙中線通車前幾年,我最喜愛的土瓜灣十間食肆 -[..]

肉乾怎麼做的?為什麼牛肉乾絲絲分明、豬肉乾香軟多汁、肉紙又輕薄脆口? -[..]od-poisoning/ss/slideshow-leftover-facts

正宗的拿坡里披薩有多講究?讓世界披薩冠軍帶你一探究竟 -

(google search) (amazon search)

Sat Jun 06 23:02:08 HKT 2020 From /weblog/hardware


Memory Ordering in Modern Microprocessors -[..]ors/25-microchips-that-shook-the-world/0

FPGA CPUs, how to turn a FPGA to a working CPU? -[..]com_myblog&show=FPGA-CPUs.html&Itemid=29

If according this article, GPU easier to have more cores is required code to be very regular fashion with no branches and inter-thread communication -

CPU DB: Recording Microprocessor History -

Difference CPU comparing -[..]12/03/28/fractal-and-crypto-performance/

Detail about how CPU caching work -[..]/2013/02/cpu-cache-flushing-fallacy.html

CPU design on paper -[..]0_h&elq=891e5022435b400e89040e1342c10b72[..]rdware-transactional-memory-in-java.html

Interview about TSX -[..]views/tene-hardware-transactional-memory

quantum -[..]ience/flip-flop-quantum-computer-043242/

meltdown -[..]15/spectre-and-meltdown-how-cache-works/

缓存与存储的一致性策略:从 CPU 到分布式系统 -

(google search) (amazon search)

Fri Jun 05 08:17:50 HKT 2020 From /weblog/learning


A prioritized list of desired traits:

Critical thinking
Business knowledge
Technical knowledge

My only suspect is Technical knowledge is lower than Business knowledge, what will you think about this? -

Difference type of employee -[..]onate_users/2007/03/is_your_app_an_.html

The Power of Introverts: A Manifesto for Quiet Brilliance -[..]fm?id=the-power-of-introverts&print=true[..]How-to-Succeed-as-an-Introvert/ba-p/1522

Honesty -[..]elf-and-starting-from-where-you-are.html

23 Signs You’re Emotionally Intelligent & Destined for Success:

The ability to listen and to speak to the “human needs” of coworkers and customers and make them feel understood and respected
Ability to build relationships and connect with others on a deep level
Good conversation skills
The ability to propose solutions to problems, not just talk about problems
Meaningfully contribute to brainstorming
Ability to write well
Problem-solving skills
Being a team player
Being likeable
Strong work ethic
Optimism/positive attitude
Good communication skills
Storytelling abilities for presentations
Time management abilities
Being good at “reading” people
Exercise tact when delivering a message[..]onally-intelligent-destined-for-success/

What Makes Good Traders Great Entrepreneurs

* An intense drive to succeed;
* The ability to adapt to changing circumstances;
* Decisiveness
* Energy
* Perseverance and determination
* Risk tolerance
* Strong self-confidence[..]14/03/what-makes-good-traders-great.html

What is professional -

How to change your character: 索托說:“你應該從改變行為做起,接下來,如果你能長期保持這種新行為,這種行為就會被鎖定下來。 -

If I say just trust me and I’m wrong, I’m untrustworthy. If I say here’s my work and it’s wrong, I’m honest, human, and serving scientific progress. -

I Used To Be Shy. This Is How I Became Confident -[..]s-is-how-i-became-confident-f0b1d0ab5e29

Confidence is, in fact, a product of repetition … but not a product of success — it’s a product of failure. -

Everyone is given the exact fuel they need to succeed. But few use it. -[..]ess-you-need-to-become-more-6d0781b464c3

You Seek Money and Titles, Not Experience and Transformation -[..]e-will-remain-in-mediocrity-6c7e24c48d12

堅韌意志的秘密 -

如何培養懂得感恩的孩子? -

Ambiguity acceptance
Risk approach (or courage)

Be Aware of the Quiet Ones like Keanu Reeves — They Are the Ones That Actually Make You Think -[..]hat-actually-make-you-think-de7c8f814d04

(google search) (amazon search)

Wed Jun 03 15:55:56 HKT 2020 From /weblog/java/discussion


How to write a (toy) JVM -

(google search) (amazon search)

Wed Jun 03 08:20:56 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[..]d/ss/slideshow-top-concentration-killers

(google search) (amazon search)

Wed Jun 03 08:08:54 HKT 2020 From /weblog/health/food


Slideshow: Surprising Food Combos for Big Flavor -

The unusual origins of our favorite spices -[..]-unusual-origins-of-our-favorite-spices/

Health Benefits of Cinnamon -

(google search) (amazon search)

Tue Jun 02 17:50:40 HKT 2020 From /weblog/java/fundamental


Some overview articles -[..]/2011/04/garbage-collection-in-java.html[..]10/01/garbage-collection-references.html[..]work/java/javase/gc-tuning-6-140523.html[..]derstand-classic-java-garbage-collection

Interview with Azul, about the pauseless GC -

A story of how to tune GC -

NewRatio ( XX:MaxNewSize ) is important, but usually ignored -[..]ector/entry/the_second_most_important_gc

Java memory configuration and monitoring -[..]ry-configuration-and-monitoring-3rd-act/

How Garbage Collection differs in the three big JVMs -[..]ollection-differs-in-the-three-big-jvms/

Garbage Collection Bootcamp 1.0 -[..]1/03/27/garbage-collection-bootcamp-1-0/[..]ollection-interview-question-answer.html

How CMS work -[..]thecollector/entry/hey_joe_phases_of_cms

Compare between difference VM -[..]IsTheFastestGarbageCollectorInJava8.html

GC handbook -

Check what GC you are using -[..]16/04/determining-garbage-collector.html

About G1 Java Garbage Collector -[..]G1-Java-Garbage-Collector.html&Itemid=29

Tools to visualize GC -

Visualizing difference algorithm -[..]sualizing-garbage-collection-algorithms/

safepoints -

Few new GCs for huge heap -

Objects are allocated with extra space for an indirection pointer. When the Java threads access the object, they first read the indirection pointer to see whether the object has moved. When the garbage collector moves an object, it updates the indirection pointer to point to the new location. New objects are allocated with an indirection pointer that points to themselves. Only when an object is copied during GC will the indirection pointer point to somewhere else. -[..]agazine/understanding-garbage-collectors

JVM Pauses - It's more than GC -

(google search) (amazon search)

Tue Jun 02 12:39:22 HKT 2020 From /weblog/software_engineering/team

Team work

Building trust for team -[..]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")[..]bbthreads/showflat.php?Cat=&Number=64809

Is it a people problem or process problem -[..]01/21/people-problem-or-process-problem/

importance of teamwork -[..]leS.MichaelFeathers.ProgrammingOnYourOwn

5 Dysfunctions of a Team -

A Leaner Start: Reducing Team Setup Times - , I think article "letting-go" is really insightful -[..]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 -

A potential issue of focus too much on people, rely on few heros -[..]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.[..]12/extreme-programmings-fundamental.html

What important is team but not idea -[..]g/2010/01/cultivate-teams-not-ideas.html

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

How to Create a Great Team Culture (and Why It Matters) -

(google search) (amazon search)

Tue Jun 02 10:14:53 HKT 2020 From /weblog/java/fundamental


Detailed decision of arraylist and linkedlist, consist of a lot benchmark results, take a look if interested:

One bug from java HashMap explaining it can be difficult to achieve fail-fast -

Performance difference of difference collection -[..]0/12/what-is-faster-jvm-performance.html[..]/2011/07/14/java-collection-performance/

A treelist implementation -

Implement LRU cache using LinkedHashMap -[..]11/06/java-secret-lru-cache-in-java.html

Problem of using soft-reference for automate cache clean up -[..]

if it claims that an element is contained in it, this might be in error, but if it claims that an element is not contained in it, then this is definitely true. -

Comment of various collections library -

List of FAQ of Java collections -[..]lections-interview-questions-and-answers

Java Collections – Performance (Time Complexity) -[..]1/java-collections-performance-time.html

Performance improvement for HashMap for Java8 -[..]hashmap-performance-improvements-in.html

Introduction to GS collection -[..]s/gs-collections-examples-tutorial-part1[..]s/gs-collections-examples-tutorial-part2

removeEldestEntry, interesting function of linkedhashmap -[..]/prevent-your-caches-from-exploding.html

How new version of java help immutable style -

(google search) (amazon search)

Tue Jun 02 10:14:05 HKT 2020 From /weblog/java/libraries


Efficient Java Matrix Library (EJML) is a linear algebra library for manipulating real/complex/dense/sparse matrices. Its design goals are; 1) to be as computationally and memory efficient as possible for both small and large matrices, and 2) to be accessible to both novices and experts. These goals are accomplished by dynamically selecting the best algorithms to use at runtime, clean API, and multiple interfaces. EJML is free, written in 100% Java and has been released under an Apache v2.0 license. -

(google search) (amazon search)

Tue Jun 02 08:58:22 HKT 2020 From /weblog/software_engineering/team


Cool diagram showing what slow us down -[..]m/blog/2012/01/faster-faster-faster.html

Usually, not a good idea to grow a team too big too soon -

Taken from Interview of Charles Simonyi ( ) , both the interview and the discussion are nice to read: , However, I will think if team work effective, 1+1 > 2

What we should really care about is effectiveness and not efficiency. and effectiveness is often inefficient -[..]our-obsession-with-efficiency-dan-north/

Handling emergencies or crisis situations
Handling work stress
Solving problems creatively
Dealing with uncertain and unpredictable work situations
Learning work tasks, technologies, and procedures
Demonstrating interpersonal adaptability
Demonstrating cultural adaptability
Demonstrating physical-oriented adaptability
-[..]2010/12/8-behavioural-dimensions-of.html <- a simple way to check what make team move faster, and things that slow team down.[..]icles/speed-in-software-development.html

The emergency team, in our understanding, was supposed to work as a point of entry for new developers, so they could know the codebase better. However, we didn’t get into account that newcomers needed to check on some things with the “old” developers. That hindered the work, and we eventually switched back to ~1 month rotation principle. -[..]/how-we-handle-bug-fixes-and-rework.html

Your team’s strength is not a function of the talent of individual members. It’s a function of their collaboration, tenacity, and mutual respect. -[..]-best-decision-we-ever-made-4c0a99728fde

(google search) (amazon search)

Tue Jun 02 08:56:24 HKT 2020 From /weblog/business


溝通的最高境界,如何像律師一樣爭論 -

Stick to one theme--one number--per slide. Your audience will thank you. -[..]ke-their-slides-instantly-memorable.html

The Tricks to Make Yourself Effortlessly Charming -[..]s-to-make-yourself-effortlessly-charming

(google search) (amazon search)

Tue Jun 02 08:55:15 HKT 2020 From /weblog/business


(google search) (amazon search)

Tue Jun 02 08:32:20 HKT 2020 From /weblog/java/features


JDK 14 Foreign-Memory Access API Overview -[..]-memory-access-api-overview-70951fe221c9

Pattern Matching for instanceof in Java 14 -[..]ttern-matching-for-instanceof-in-java-14

(google search) (amazon search)

Tue Jun 02 08:30:26 HKT 2020 From /weblog/java/features


The infamous sun.misc.Unsafe explained: object creation, native memory allocation, native concurrency -

Features that help for writing low latency application -[..]1/sunmiscunsafe-and-off-heap-memory.html

Tips of using unsafe -[..]

An overview of it -[..]A-Post-Apocalyptic-sun.misc.Unsafe-World[..]ine/the-unsafe-class-unsafe-at-any-speed

(google search) (amazon search)

Tue Jun 02 08:28:50 HKT 2020 From /weblog/java/features


Watch service, watch if directory changed -

Tips of using bytebuffer -[..]2/14/the-java-bytebuffer-a-crash-course/

path : ..\.\Java.txt
absolute path : C:\Users\WINDOWS 8\workspace\Demo\..\.\Java.txt
canonical path : C:\Users\WINDOWS 8\workspace\Java.txt

Read more:[..]getcanonicalpath-java.html#ixzz3A8Zya6YG

Jump to a position of a file, inputstream.skip() is faster than reader.skip(), and reader.skip() is faster than randomAccessFile.

Java & Files: An Introduction -

(google search) (amazon search)

Tue Jun 02 08:23:00 HKT 2020 From /weblog/design


Tired with duplicating Try-Catch for resource acquisition? Can try to create proxy method -[..]clarative-synchronization-with-java.html

Discussion of naming of if block -

Factors for choosing a strategic technology stack, runtime performance is not a factor for him, probably good idea -[..]1/04/factors-for-choosing-strategic.html

Don't think , stay focus -

Using class name as variable name is a bad thing? I doubt about it, but interesting idea -

The problem of using generic name -

Beware of where memory allocated, sometime there is no off side for lazy initalization -[..]ou-dare-to-change-hashmap-implementation

Some suggestion of how to code in order to prevent unreproducible bugs -[..]4/02/minimizing-unreproducible-bugs.html

More careful to check null -[..]et-paranoid-java-programming-techniques/

The fewer conditions you test for, the better your code “tastes”. -[..]ding-requirement-99749f37684a#.1glkhe7np

Think twice before running a loop -

Example of how to remove mutation status -

The Best Algorithm No One Knows About, linear randomization -[..]0/the-best-algorithm-no-one-knows-about/

Small change can make big difference -[..]ars-with-a-single-character-code-change/

Eager is Easy, Lazy is Labyrinthine -[..]s-easy-lazy-is-labyrinthine-b12605f13048

(google search) (amazon search)

Mon Jun 01 21:39:18 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/

提升攝影水平的44個小建議 -[..]sts/10251-44-tips-for-lifting-the-camera

How to photograph minimalist landscapes? -[..]/how-to-photograph-minimalist-landscapes

告別手震!6個手持穩定相機的方式,你都學會了?? -[..]our-hands-6-ways-to-hold-a-stable-camera

(google search) (amazon search)

Fri May 29 08:08:48 HKT 2020 From /weblog/trip/travelling


Travler pass -

Introduction of about how to figure out the public transport at Tokyo -

遊日別錯過:南阿爾卑斯, 橫跨山梨、長野、靜岡三縣的「南阿爾卑斯山脈」以及和福島縣的「只見」為新的生物圈保護區,其中別名為「赤石山脈」的「南阿爾卑斯山脈」風光如畫,山腳有溫泉景點,吸引不少遊客到此遠足或露營。 -[..]realtime/international/20140617/52582650

【岐阜】二訪世界文化遺產︰白川鄉的初夏極緻 -

平住東京3大文青旅館 $300 有找! -

日本的絕景秘境 -[..]%89%EF%BC%8F%E5%81%87%E6%89%8D%E5%AD%90/[..]%AD%EF%BC%8F%E5%81%87%E6%89%8D%E5%AD%90/

spectacular-railways -[..]railways-you-should-ride-before-you-die/

The “Venice of Japan” in Kyoto: a secret destination tourists don’t know about yet -[..]estination-tourists-dont-know-about-yet/

【日本世界遺產】日本人心中的TOP 10 你都去過了嗎? -

夏末東日本之旅(二)、新潟.白山 -[..]6%B0%E6%BD%9F%EF%BC%8E%E7%99%BD%E5%B1%B1

The best 50 things to do in Tokyo -[..]l-blog/the-best-50-things-to-do-in-tokyo

5 Must See Spots in Japan -[..]5862927717&blog=13214417&frame_type=none

National museum of nature and science, Tokyo -

八丈島 -


登上富士山,其實唔難 -[..]/forms/menutop/menutop.aspx?menu_id=1650

【富士山之巔】記者挑戰海拔3,776米日本第一峰 親睹火燒雲海「御來光」 -[..]style/realtime/article/20190816/59936445

【東北溫泉】乳頭溫泉鄉 冬天不營業的秘湯

(google search) (amazon search)