RSS feed [root] /




login:

password:

title search:




 


Wed Apr 15 10:18:54 HKT 2020



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

Mon Jun 08 23:57:27 HKT 2020 From /weblog/history

China


找個理由不革命--黎元洪們的第一選擇 - http://cn.wsj.com/big5/20120829/YMA082402.asp?source=rss http://cn.wsj.com/big5/20120910/YMA072242.asp?source=rss

解除黨禁:大政治家的無奈與膽識 - http://cn.wsj.com/big5/20130926/YMA071220.asp?source=rss

http://hk.apple.nextmedia.com/culturalrevolution

China: The Virtues of the Awful Convulsion - http://www.nybooks.com[..]ina-the-virtues-of-the-awful-convulsion/

城市哈哈鏡──老上海的新式百貨文化 - https://dq.yam.com/post.php?id=11078

「把六四事件告訴全世界,人們是這麼說的」 回到8964這一天 - https://dq.yam.com/post.php?id=11179

【世界公民】「康熙」的英文 - https://www.inside.com.tw/article/18511-Kangxi

行走江湖的「保標」,真的存在嗎?官方公文找答案 - https://dq.yam.com/post.php?id=12611

(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

food


寫在沙中線通車前幾年,我最喜愛的土瓜灣十間食肆 - http://foodie-smashingpumkins.blogspot.hk/2017/07/2017.html http://foodie-smashingpumkins.blogspot.hk[..]ns.blogspot.hk/2015/06/blog-post_13.html

肉乾怎麼做的?為什麼牛肉乾絲絲分明、豬肉乾香軟多汁、肉紙又輕薄脆口? - https://dq.yam.com/post.php?id=9161

https://www.webmd.com[..]od-poisoning/ss/slideshow-leftover-facts

正宗的拿坡里披薩有多講究?讓世界披薩冠軍帶你一探究竟 - https://dq.yam.com/post.php?id=12612

(google search) (amazon search)


Mon Jun 08 23:33:17 HKT 2020 From /weblog/learning

child


When child lie... http://cn.wsj.com/big5/20120508/lif074336.asp?source=rss

How to encourage child - http://blog.sina.com.cn/s/blog_4701280b0102ek51.html

http://www.hackerchick.com[..]4/09/fun-ways-to-teach-kids-to-code.html

Give Child some duty for good - http://cn.wsj.com/big5/20141229/PHO095935.asp?source=rss

步入青春期的孩子最需要從父母那裡得到什麼? - http://cn.wsj.com/big5/20160824/LIF092635.asp?source=rss

初中男生多煩惱,父母可知道? - http://cn.wsj.com/big5/20161220/LIF162636.asp?source=rss

研究發現和沒有做家務或者十幾歲才開始做家務的孩子相比,3-4歲就開始做家務的青年成人更有可能和家人及朋友關系融洽、學習優秀、較早實現事業成功及經濟獨立。 - http://cn.wsj.com/big5/20170105/LIF172240.asp?source=rss

https://blog.google[..]uter-science-and-computational-thinking/

專家回答:這不容易,但還是有可能的。人際關系專家兼咨詢專欄作家April Masini說:“家長既要讓孩子繼續保持這種精神氣,又讓他們知道自己行為的後果,要在兩者之間找好平衡點。”她稱,家長可以通過具體的事例,來給孩子講述,在什麼場合、用哪些方法來質疑老師和長輩是OK的,還要解釋這樣做的可能後果。你這樣教育的目的,是讓孩子知道,有時候規則可以打破,邊界可以移動,但行為卻是會帶來風險的。 http://cn.wsj.com/big5/20170222/LIF145613.asp?source=rss

如何培養出真正的成年人 - http://cn.wsj.com/big5/20170526/OPN173543.asp?source=rss

所以,你要做的不是告訴你的孩子冷靜下來,而是應該告訴他們,有機會展現自己的才能,是一件特別幸運的事。<- this is a simple suggestion - http://cn.wsj.com/big5/20170626/LIF172732.asp

No gifted child - https://www.theguardian.com[..]such-thing-as-a-gifted-child-einstein-iq

公平地“偏心”。確保每個孩子都得到優待:例如,如果把周末花在女兒的足球比賽上,那就在工作日找些時間關注你兒子的興趣愛好。 - http://cn.wsj.com/big5/20170801/LIF154506.asp?source=rss

Science Says the Most Successful Kids Have Parents Who Do These 9 Things - https://www.inc.com[..]ids-who-thrive-science-says-do-thes.html

From 0 to 12 months - https://www.webmd.com[..]nting/baby/ss/slideshow-baby-development

但為什麼不在早期教育中教授這些技能呢? 現任利茲大學商學院的Wandi Bruine de Bruin及其同事已經證明, 決策失誤的討論可以納入高中學生的歷史課程中 。 它不僅提高了後續合理性測試的表現; 它也促進了他們對歷史事實的了解。 - http://www.bbc.com[..]9-has-humanity-reached-peak-intelligence


“Part of what is so interesting and surprising about our study is that a simple manipulation — just the way people think about a past event — is changing their conclusions about what they’re doing and whether they’re interested or not,” Niese said.

“It’s something people could do on their own if they wanted to and gain these benefits in situations where cultural stereotypes or pre-existing beliefs might be likely to bias their judgment or cloud their memories.”

https://www.zmescience.com[..]erception-perspective-enjoyment-8235342/

Instead it is the quality of the conversation that is important. That is, the back and forth, turn-taking nature that requires listening and responding. It’s what Hirsh-Pasek and her long-time collaborator Roberta Golinkoff refer to as a “conversational duet”, because “you can’t sing it alone”. In fact, another study found that if a conversation is interrupted by a phone call, the child does not learn a newly presented word, but will learn it if the conversation is not interrupted. - https://www.bbc.com[..]-that-affects-how-your-babys-brain-grows https://dq.yam.com/post.php?id=11656

They found that children who watched Sesame Street were more likely to be academically on track, and less likely to be held back, than those who didn’t. - https://www.bbc.com[..]ren-find-weird-television-so-mesmerising

Instead of repeating the mistakes of previous generations with heavy-handed tactics, let’ understand the psychological source of the problem. Ultimately, parents’ goal should be to help kids learn strategies for coping with overuse on their own so that they do what’s good for them even when we’re not around. By teaching self-regulating habits, promoting intentional gaming, and helping kids find suitable alternatives, parents can help kids find what they are really looking for. - https://getpocket.com[..]mes-it-s-about-unmet-psychological-needs

Materials - http://www.blake.com.au/Blake-eClub-Members-Resources-s/2170.htm https://readingeggs.com.au/free-resources/ https://digital.scholastic.com[..]lp/#/login?productCode=tcb&ucn=637963938 User ID: schteachables46 Password: blue

因為讀書和上堂時,重要的是注意「大圖畫(Big Picture)」 - https://faith100.media[..]6%9B%B8%E7%9A%84%E6%96%B9%E6%B3%95/65984

(google search) (amazon search)


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

cpu


Memory Ordering in Modern Microprocessors - http://www.linuxjournal.com/article/8211 http://www.linuxjournal.com/article/8212

http://spectrum.ieee.org[..]ors/25-microchips-that-shook-the-world/0

FPGA CPUs, how to turn a FPGA to a working CPU? - http://dobbscodetalk.com[..]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 - http://www.javacodegeeks.com/2011/09/cpu-vs-gpgpu.html

CPU DB: Recording Microprocessor History - http://queue.acm.org/detail.cfm?id=2181798&ref=fullrss

Difference CPU comparing - http://randomascii.wordpress.com[..]12/03/28/fractal-and-crypto-performance/

Detail about how CPU caching work - http://mechanical-sympathy.blogspot.gr[..]/2013/02/cpu-cache-flushing-fallacy.html

CPU design on paper - http://www.drdobbs.com[..]0_h&elq=891e5022435b400e89040e1342c10b72

http://vanillajava.blogspot.hk[..]rdware-transactional-memory-in-java.html

Interview about TSX - https://www.infoq.com[..]views/tene-hardware-transactional-memory

quantum - http://www.zmescience.com[..]ience/flip-flop-quantum-computer-043242/

meltdown - https://hackaday.com[..]15/spectre-and-meltdown-how-cache-works/

https://www.freecodecamp.org/news/how-does-a-cpu-work/

缓存与存储的一致性策略:从 CPU 到分布式系统 - https://xie.infoq.cn/article/fa1f0f9ac1cfee7845f7b29fe

(google search) (amazon search)


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

personality


A prioritized list of desired traits:

Character
Critical thinking
Motivation
Creativity
Business knowledge
Technical knowledge

My only suspect is Technical knowledge is lower than Business knowledge, what will you think about this? - http://www.davenicolette.net/agile/index.blog?entry_id=1220879

Difference type of employee - http://headrush.typepad.com[..]onate_users/2007/03/is_your_app_an_.html

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

Honesty - http://www.michelemmartin.com[..]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
Self-confidence
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

http://www.thepowerofintroverts.com[..]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

http://traderfeed.blogspot.com.au[..]14/03/what-makes-good-traders-great.html

What is professional - http://cn.wsj.com/big5/20140513/DJL071521.asp?source=rss

How to change your character: 索托說:“你應該從改變行為做起,接下來,如果你能長期保持這種新行為,這種行為就會被鎖定下來。 - http://cn.wsj.com/big5/20140502/lif114051.asp?source=rss

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. - http://simplystatistics.org/2016/12/29/some-stress-reducers/

I Used To Be Shy. This Is How I Became Confident - https://medium.com[..]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. - https://psiloveyou.xyz/where-confidence-comes-from-785df9139d83

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

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

堅韌意志的秘密 - http://cn.wsj.com/big5/20171124/OPN165323.asp

如何培養懂得感恩的孩子? - http://cn.wsj.com/BIG5/20180309/OPN174053.asp

Conscientiousness
Adjustment
Ambiguity acceptance
Curiosity
Risk approach (or courage)
Competitiveness
http://www.bbc.com[..]ecrets-of-the-high-potential-personality

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

(google search) (amazon search)


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

VM


How to write a (toy) JVM - https://zserge.com/posts/jvm/

(google search) (amazon search)


Wed Jun 03 08:20:56 HKT 2020 From /weblog/learning

focus


How to train focus - https://www.infoq.com/news/2017/01/attention-awareness-teams http://www.infoq.com/cn/news/2017/01/attention-awareness-teams

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

17 yrs don't speak... - https://dq.yam.com/post.php?id=7898

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

Why focusing is important - https://www.theverge.com[..]-practice-training-neuroscience-research

How To Dramatically Sharpen Your Attention And Focus = https://medium.com[..]en-your-attention-and-focus-416444802997

How to due with information overload - https://betterhumans.coach.me[..]-hurts-us-and-how-to-escape-4a2924800e16

獨自練習(反覆針對問題點,進行大量重複聚焦式的練習。)
全神貫注(因為很容易累,要搭配充足睡眠。)
保持覺察(不要讓自己在練習時,因為習慣了就開始不思考。隨時抓出關鍵轉折點,然後針對問題,重點密集的練習克服。)
拆解專家的技術,去分析其心智模型(不斷討論,思考他為何要這麼做?)
接受專家高質量針對性的回饋(後期可以透過心智模型自我回饋) - https://www.inside.com.tw[..]ecrets-from-the-new-science-of-expertise

How to concentrate - https://medium.com[..]-no-such-thing-as-motivation-e02edd7de30

https://markmanson.net/attention-diet

https://getpocket.com[..]-focus-and-get-more-meaningful-work-done

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

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

https://kevinabdulrahman.org/stay-focused-at-work/ https://www.webmd.com[..]d/ss/slideshow-top-concentration-killers https://www.webmd.com/add-adhd/ss/slideshow-stop-wasting-time


(google search) (amazon search)


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

flavor


Slideshow: Surprising Food Combos for Big Flavor - http://www.webmd.com/food-recipes/ss/slideshow-food-combos

The unusual origins of our favorite spices - https://www.zmescience.com[..]-unusual-origins-of-our-favorite-spices/

Health Benefits of Cinnamon - https://www.webmd.com/diet/ss/slideshow-cinnamon

(google search) (amazon search)


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

garbage


Some overview articles - http://javarevisited.blogspot.com[..]/2011/04/garbage-collection-in-java.html http://jeremymanson.blogspot.com[..]10/01/garbage-collection-references.html http://www.oracle.com[..]work/java/javase/gc-tuning-6-140523.html https://www.infoq.com[..]derstand-classic-java-garbage-collection

Interview with Azul, about the pauseless GC - http://www.infoq.com/interviews/gil-tene-azul-zing

A story of how to tune GC - http://kirk.blog-city.com/why_do_i_have_this_long_gc_pause.htm

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

Java memory configuration and monitoring - http://blog.codecentric.de[..]ry-configuration-and-monitoring-3rd-act/

How Garbage Collection differs in the three big JVMs - http://blog.dynatrace.com[..]ollection-differs-in-the-three-big-jvms/

Garbage Collection Bootcamp 1.0 - http://www.lucidimagination.com[..]1/03/27/garbage-collection-bootcamp-1-0/

http://javarevisited.blogspot.sg[..]ollection-interview-question-answer.html

How CMS work - https://blogs.oracle.com[..]thecollector/entry/hey_joe_phases_of_cms

Compare between difference VM - http://www.optaplanner.org[..]IsTheFastestGarbageCollectorInJava8.html

GC handbook - https://plumbr.eu/java-garbage-collection-handbook

Check what GC you are using - http://marxsoftware.blogspot.hk[..]16/04/determining-garbage-collector.html

About G1 Java Garbage Collector - http://dobbscodetalk.com[..]G1-Java-Garbage-Collector.html&Itemid=29

Tools to visualize GC - http://gceasy.io/

Visualizing difference algorithm - https://spin.atomicobject.com[..]sualizing-garbage-collection-algorithms/

safepoints - http://performantcode.com/gc/safepoints/

Few new GCs for huge heap - https://dzone.com/articles/java-garbage-collection-3

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. - https://blogs.oracle.com[..]agazine/understanding-garbage-collectors

JVM Pauses - It's more than GC - https://blanco.io/blog/jvm-safepoint-pauses/

(google search) (amazon search)


Tue Jun 02 12:39:22 HKT 2020 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

https://noidea.dog/glue

(google search) (amazon search)


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

collections


Detailed decision of arraylist and linkedlist, consist of a lot benchmark results, take a look if interested: http://javachaos.crazyredpanda.com/?p=99

One bug from java HashMap explaining it can be difficult to achieve fail-fast - http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6625725 http://java.dzone.com/articles/do-your-iterators-always-fail

Performance difference of difference collection - http://java-persistence-performance.blogspot.com[..]0/12/what-is-faster-jvm-performance.html http://leolewis.website.org[..]/2011/07/14/java-collection-performance/

A treelist implementation - http://binkley.blogspot.com/2007_02_01_archive.html

Implement LRU cache using LinkedHashMap - http://vanillajava.blogspot.com[..]11/06/java-secret-lru-cache-in-java.html

Problem of using soft-reference for automate cache clean up - http://comments.gmane.org[..]gmane.comp.java.jsr.166-concurrency/7982

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. - http://codingjunkie.net/guava-bloomfilter/

Comment of various collections library - http://plumbr.eu/blog/selecting-your-collections-library

List of FAQ of Java collections - http://www.journaldev.com[..]lections-interview-questions-and-answers

Java Collections – Performance (Time Complexity) - http://infotechgems.blogspot.com.br[..]1/java-collections-performance-time.html

Performance improvement for HashMap for Java8 - http://www.nurkiewicz.com[..]hashmap-performance-improvements-in.html

Introduction to GS collection - http://www.infoq.com[..]s/gs-collections-examples-tutorial-part1 http://www.infoq.com[..]s/gs-collections-examples-tutorial-part2

removeEldestEntry, interesting function of linkedhashmap - http://www.ageofjava.com[..]/prevent-your-caches-from-exploding.html

How new version of java help immutable style - https://dzone.com/articles/java-collections-are-evolving

https://blog.frankel.ch/map-merge-compute

(google search) (amazon search)


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

math


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. - http://ejml.org/wiki/index.php?title=Main_Page

https://mkyong.com/java/java-mod-examples

(google search) (amazon search)


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

efficiency


Cool diagram showing what slow us down - http://www.targetprocess.com[..]m/blog/2012/01/faster-faster-faster.html

Usually, not a good idea to grow a team too big too soon - http://martinfowler.com/bliki/PrematureRampUp.html

Taken from Interview of Charles Simonyi ( http://www.shamit.org/charles_simonyi.htm ) , both the interview and the discussion are nice to read: http://discuss.joelonsoftware.com/default.asp?joel.3.341396 , 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 - http://www.markhneedham.com[..]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
- http://jchyip.blogspot.com[..]2010/12/8-behavioural-dimensions-of.html

http://www.funretrospectives.com/anchors-and-engine/ <- a simple way to check what make team move faster, and things that slow team down.

http://www.targetprocess.com[..]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. - http://www.targetprocess.com[..]/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. - https://medium.freecodecamp.org[..]-best-decision-we-ever-made-4c0a99728fde

https://ronjeffries.com/articles/019-01ff/kate-red-threads/

http://testobsessed.com/2020/02/momentum-urgency

(google search) (amazon search)


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

communication


溝通的最高境界,如何像律師一樣爭論 - https://dq.yam.com/post.php?id=10077

Stick to one theme--one number--per slide. Your audience will thank you. - https://www.inc.com[..]ke-their-slides-instantly-memorable.html

The Tricks to Make Yourself Effortlessly Charming - https://getpocket.com[..]s-to-make-yourself-effortlessly-charming

https://hbr.org/2016/01/collaborative-overload

(google search) (amazon search)


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

diverse


https://hbr.org/2016/11/why-diverse-teams-are-smarter

(google search) (amazon search)


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

java14


http://cr.openjdk.java.net[..]jlaskey/Strings/TextBlocksGuide_v10.html

https://ondro.inginea.eu[..]new-features-between-java-8-and-java-14/

JDK 14 Foreign-Memory Access API Overview - https://medium.com[..]-memory-access-api-overview-70951fe221c9

Pattern Matching for instanceof in Java 14 - https://blogs.oracle.com[..]ttern-matching-for-instanceof-in-java-14

(google search) (amazon search)


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

unsafe


The infamous sun.misc.Unsafe explained: object creation, native memory allocation, native concurrency - http://mydailyjava.blogspot.hk/2013/12/sunmiscunsafe.html

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

Tips of using unsafe - http://vanillajava.blogspot.com.au[..].com.au/2014/06/making-unsafe-safer.html

An overview of it - http://www.infoq.com[..]A-Post-Apocalyptic-sun.misc.Unsafe-World https://blogs.oracle.com[..]ine/the-unsafe-class-unsafe-at-any-speed

(google search) (amazon search)


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

IO


Watch service, watch if directory changed - http://www.javacodegeeks.com/2012/02/java-7-watchservice.html

Tips of using bytebuffer - http://worldmodscode.wordpress.com[..]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: http://javarevisited.blogspot.com[..]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 - https://www.marcobehler.com/guides/java-files

(google search) (amazon search)


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

Implementation


Tired with duplicating Try-Catch for resource acquisition? Can try to create proxy method - http://hamletdarcy.blogspot.com[..]clarative-synchronization-with-java.html

Discussion of naming of if block - http://blog.objectmentor.com/articles/2008/09/26/if-methods-redux

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

Don't think , stay focus - http://www.threeriversinstitute.org/blog/?p=594

Using class name as variable name is a bad thing? I doubt about it, but interesting idea - http://www.warski.org/blog/2013/01/dry-parameter-names/

The problem of using generic name - http://martinfowler.com/bliki/TransparentCompilation.html

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

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

More careful to check null - http://blog.jooq.org[..]et-paranoid-java-programming-techniques/

http://www.infoq.com/cn/articles/wisdom-of-programming

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

Think twice before running a loop - https://blog.jetbrains.com/idea/2017/08/code-smells-iteration

Example of how to remove mutation status - https://blog.jetbrains.com/idea/2017/08/code-smells-mutation

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

Small change can make big difference - https://blog.pitest.org[..]ars-with-a-single-character-code-change/

Eager is Easy, Lazy is Labyrinthine - https://medium.com[..]s-easy-lazy-is-labyrinthine-b12605f13048

(google search) (amazon search)


Mon Jun 01 21:39:18 HKT 2020 From /weblog/photographic/tutorial

misc


About marco photograhy - http://www.dpreview.com[..]7237/depth-of-field-in-macro-photography https://www.wildcreatureshongkong.org[..]018/08/22/Macro-photography-in-the-field

動 態 攝 影 分 享 - http://www.dchome.net/viewthread.php?tid=432312 http://patricklenz.com[..]ts/gymnastics-fundraiser-portfolio-shoot http://www.dcfever.com/news/readnews.php?id=14264&link=guid

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

Street photographic - http://www.dchome.net/viewthread.php?tid=819443 http://www.dcfever.com/column/read.php?id=1562 , 呈圓狀, 二等分, 重覆式, 同形狀

What is the real meaning of Aperture in zoom len - http://digitaljournalist.org/issue0909/tech-tips.html

How to take building photo look proper vertically - http://www.dchome.net/viewthread.php?tid=833344

How to take a good photo - http://www.dpreview.com/articles/4491391950/evolution-of-an-image

Think about composition rule - http://www.dpreview.com/articles/1304360703/breaking-the-rules

http://www.petapixel.com[..]or-beautiful-light-painting-photographs/

Using shifted len to create landscape photo - http://www.dpreview.com/articles/9496515776/the-dslr-field-camera

http://erickimphotography.com[..]-can-teach-you-about-street-photography/

Tutorial about using DSLR to take good movie - http://www.dcfever.com/news/readnews.php?id=9500&link=guid

進階對焦技巧 – 快門對焦分開處理 - http://wlcreative.com[..]%A6%E5%88%86%E9%96%8B%E8%99%95%E7%90%86/

http://petapixel.com[..]active-photography-skill-tree-beginners/

Zone system - http://www.mobile01.com/topicdetail.php?f=257&t=2487912

How to use flash in studio - http://www.dcfever.com/fillens/read.php?id=308

Tips of taking photo for wildlife - http://cn.wsj.com/big5/20150601/PHO101044.asp https://digiphoto.techbang.com[..]ecipes-to-take-note-of-wildlife-shooting

用小電筒照出静物「封面相」 - http://www.dcfever.com/column/read.php?id=3937

How to find your vision? practice, practice, practice - http://www.mikkolagerstedt.com[..]3/how-to-find-your-vision-in-photography

How to show dimension - http://digiphoto.techbang.com[..]the-construction-of-space-in-photography

How to take food photo - http://letsfilm.org/archives/320676

How to tone color - http://digiphoto.techbang.com[..]gh-ideas-learn-to-tone-and-color-control

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

Common shutter speed - http://digiphoto.techbang.com[..]professional-photographers-shutter-speed

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

3D photographic technique - http://www.dchome.net/viewthread.php?tid=266665&extra=page%3D1

相機帶「拍攝術」 - http://www.dcfever.com/news/readnews.php?id=21934&link=guid

【不用 PS 不用水氹】利用電話屏幕,拍攝類似「天空之鏡」效果照片 - https://www.dcfever.com/news/readnews.php?id=22458&link=guid

Effect of different focal length - https://digiphoto.techbang.com[..]t-shot-for-a-portrait-four-shot-pro-test

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

3種構圖手段,讓你的照片更突出- https://digiphoto.techbang.com[..]-ways-to-make-your-photos-more-prominent

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

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

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

長鏡用家必學!高速鎖定目標有秘訣 - https://www.dcfever.com/news/readnews.php?id=25907&link=guid

https://www.zmescience.com[..]y/how-to-get-started-with-birding-05232/

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

How to photograph minimalist landscapes? - https://www.mikkolagerstedt.com[..]/how-to-photograph-minimalist-landscapes

告別手震!6個手持穩定相機的方式,你都學會了?? - https://digiphoto.techbang.com[..]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

Japan


Travler pass - http://www.tokyotopia.com/japan-rail-pass.html

Introduction of http://www.jorudan.co.jp/ http://www.jorudan.co.jp/english/ about how to figure out the public transport at Tokyo - http://digiphoto.techbang.com/posts/3732

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

【岐阜】二訪世界文化遺產︰白川鄉的初夏極緻 - http://www.dcfever.com/travel/readtravelogue.php?id=36264

平住東京3大文青旅館 $300 有找! - http://www.dcfever.com/travel/deal.php?id=13896&link=guid

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

spectacular-railways - http://list25.com[..]railways-you-should-ride-before-you-die/

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

【日本世界遺產】日本人心中的TOP 10 你都去過了嗎? - http://blog.kkday.com/2016/05/JapanTopTen.html

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

The best 50 things to do in Tokyo - https://www.youcouldtravel.com[..]l-blog/the-best-50-things-to-do-in-tokyo

5 Must See Spots in Japan - http://frame.bloglovin.com[..]5862927717&blog=13214417&frame_type=none

National museum of nature and science, Tokyo - http://www.kahaku.go.jp/english/

八丈島 - http://blog.kkday.com/2017/11/Hachijo-jima.html

【夢想之旅】登上日本第一高峯:富士山登山指南
- https://hk.lifestyle.appledaily.com[..]style/realtime/article/20180104/57660736 https://minglingworldtour.blogspot.com/2018/08/2018.html

登上富士山,其實唔難 - http://www.dcfever.com/travel/article.php?id=4072 http://www.fujiyama-navi.jp/ http://tw.mtfuji-cn.com/ http://www.fujisanguide.com[..]/forms/menutop/menutop.aspx?menu_id=1650

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

【東北溫泉】乳頭溫泉鄉 冬天不營業的秘湯
- https://hk.lifestyle.appledaily.com[..]style/realtime/article/20180130/57768751

https://witandfolly.co/things-to-do-in-japan/

(google search) (amazon search)


Thu May 28 21:44:28 HKT 2020 From /weblog/misc

aws


AWS services explained in one line each (adayinthelifeof.nl) - https://adayinthelifeof.nl/2020/05/20/aws.html

(google search) (amazon search)


Mon May 25 23:29:39 HKT 2020 From /weblog/history

Taiwan


羽化成蝶的寄生蟲,「臺灣山林王」的一頁傳奇 - https://guavanthropology.tw/article/6815

(google search) (amazon search)


Sat May 23 12:22:23 HKT 2020 From /weblog/design

refactoring


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

Refactoring to Patterns Catalog - http://www.industriallogic.com/xp/refactoring/catalog.html

Article talk about the book: http://www.oreillynet.com/ruby/blog/2006/03/transformation.html

Catagories smell into "smell in class" and "smell between class" - http://www.codinghorror.com/blog/archives/000589.html

Known but good to remind http://www.thecodejunkie.com[..]10/01/6-steps-to-master-refactoring.html

An experience sharing - http://www.javacodegeeks.com[..]m/2011/05/refactor-hudson-god-class.html http://www.peterprovost.org[..]treme-Refactoring-with-Brian-Button.aspx

Refactoring should not introduce bug... - http://jchyip.blogspot.com[..]01/so-why-are-you-refactoring-again.html

A way to have formal refactoring, through Feature Clustering, Rapid Scratch Refactoring and Twisting Classes - http://www.thekua.com[..]rom-michael-feathers-brutal-refactoring/

Not all code change is refactoring - http://parlezuml.com/blog/?postid=850 , and

Some common issues about refactoring code in a team - http://www.rickylui.com[..]/2008/01/28/dont-be-a-refactoring-bigot/ http://blog.joepoon.com[..]01/dangers-of-premature-refactoring.html , beware taking the balance - http://www.makinggoodsoftware.com[..]ith-beautiful-code-the-refactor-syndrome

Refactory if needed - http://dreamhead.blogbus.com/logs/24874404.html

Refactoring, when start, when stop? - http://martinfowler.com/bliki/OpportunisticRefactoring.html

Refactoring metric - http://www.grahambrooks.com[..]rics-based-refactoring-for-cleaner-code/

Getting rid of util class
1) If the family of methods uses different parameters, depending on optional input or representations of the same input, then consider transforming the Helper via a fluent interface using the Builder pattern: from a collection of static methods like Helper.calculate(x), calculate(x, y), calculate(x, z), calculate(y, z) we could easily get to something like newBuilder().with(x).with(y).calculate(). The helper class would then offer behaviours, reduce its list of business methods and provide more flexibility for future extensions. Callers would then use it as internal field for reuse or instantiate it where needed. The helper class (as we knew it) disappeared.
2) If the helper class provides methods which are actually actions for different inputs (but, at this point, for the same domain), consider applying the Command pattern: the caller will actually create the required command (which will handle the necessary input and offer a behaviour) and an invoker will execute it within a certain context. You may get a command implementation for each static method and your code would move from an Helper.calculate(x, y), calculate(z) to something like invoker.calculate(new Action(x, y)). Bye bye helper class.
3) If the helper class provides methods for the same input but different logics, consider applying the Strategy pattern: each static method may easily become a strategy implementation, vanishing the need of its original helper class (replaced by a context component then).
4) If the given set of static methods concerns a certain class hierarchy or a defined collection of components, then consider applying the Visitor pattern: you may get several visitor implementations providing different visit methods which would probably replace partially or entirely the previously existing static methods.
5) If none of the above cases met your criteria, then apply the three most important indicators: your experience, your competences in the given project and common sense.

http://www.refactoringideas.com[..]-to-get-rid-of-helper-and-utils-classes/

Converting forloop to streaming - http://martinfowler.com/articles/refactoring-pipelines.html

Refactoring JavaScript from Sync to Async in Safe Baby-Steps - http://www.natpryce.com/articles/000812.html

code-refactoring-dos-donts - https://jaxenter.com/code-refactoring-dos-donts-135960.html

Let clean code guide you. Then let it go. - https://overreacted.io/goodbye-clean-code/ https://www.infoq.cn/article/dNO484YEeumvC6b6ZNWL

https://martinfowler.com/articles/class-too-large.html

(google search) (amazon search)