RSS feed [root] /




login:

password:

title search:




 


Sun Oct 11 19:44:56 HKT 2020



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

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)



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)



Mon May 18 11:41:19 HKT 2020 From /weblog/unix

filesystem


Advisory Locking and Mandatory Locking - http://www.thegeekstuff.com/2012/04/linux-file-locking-types/

Basic info of inode - http://www.thegeekstuff.com/2012/01/linux-inodes/

Explanation of /proc filesystem - http://www.redhat.com[..]anual/ref-guide/s1-proc-directories.html

Linux file system structure - http://www.thegeekstuff.com/2010/09/linux-file-system-structure/

File system for archive files - http://linuxtoy.org/archives/avfs.html

BeOS file system, other than discuss about BeOS FS, also discussing about evolution of design of file system - http://arstechnica.com[..]rce/news/2010/06/the-beos-filesystem.ars http://arstechnica.com[..]03/past-present-future-file-systems.ars/

ZFS - http://www.thegeekstuff.com/2015/07/zfs-on-linux-zpool/ https://clusterhq.com/2014/09/11/file-systems-data-loss-zfs/ http://www.linuxjournal.com/content/zfs-linux https://arstechnica.com[..]derstanding-zfs-storage-and-performance/

The file size of command "df" return is compressed data, raw disk usage
If we want compress amount, we need to get the compressratio using /usr/sbin/zfs
We can get more system detail via perl package Sun::Solaris::Kstat , we can google "arc_summary.pl" as an example

Using ZFS as version control - http://zef.me/blog/6023/who-needs-git-when-you-got-zfs


(google search) (amazon search)


Sun May 17 01:10:13 HKT 2020 From /weblog/design/examples

zoom


http://highscalability.com[..]2020/5/14/a-short-on-how-zoom-works.html

(google search) (amazon search)


Sat May 16 23:34:15 HKT 2020 From /weblog/software_engineering/team

work from home


work from home guideline from sun - http://blogs.sun.com[..]y=designing_from_anywhere_best_practices

Comment about working as independence consultant, a good reading that discuss some issue at HK or China limited this area of jobs - http://blog.nona.name/200801251.html

10+ productivity tips when working from home, in summary, treat is as office - http://www.codeforest.net[..]productivity-tips-when-working-from-home https://medium.com[..]work-from-home-do-it-better-f33dd0e150d1 http://www.inside.com.tw/2014/01/20/10-tips-for-working-from-home

https://blog.trello.com/remote-work-guide-for-parents

I’ve Worked From Home for 22 Years. Here’s What I’ve Learned. - https://www.wsj.com[..]years-heres-what-ive-learned-11585354640

(google search) (amazon search)


Sat May 16 23:18:14 HKT 2020 From /weblog/business

management


Using game as training - http://cn.wsj.com/big5/20120514/eoe080717.asp?source=rss , and drawing for communication - http://cn.wsj.com/big5/20120514/eoe082405.asp?source=rss

No control, but empower - http://www.michelemmartin.com[..]01/some-thoughts-on-managing-people.html

10 rules of success, not really very insighful ideas but still nice to take a look: http://draginol.joeuser.com/articles.asp?c=1&AID=114319

Another 10 tips for product manager - http://www.brainmates.com.au/?p=109

An interesting example of how people gaming the reward system - http://www.joelonsoftware.com/items/2007/05/10.html

Interview of Jeff Bezos and learn about his management style - http://www.fastcompany.com/magazine/85/bezos_4.html

Dos and Don'ts for line manager - http://blog.jezhumble.net/?p=29

8 elements of dysfunctional management - http://jchyip.blogspot.com[..]lements-of-dysfunctional-management.html

Talk verse Action:
All Talk and No Action - http://www.thekua.com[..]ectives-go-wrong-all-talk-and-no-action/
All Action and No Talk - http://www.thekua.com[..]ectives-go-wrong-all-action-and-no-talk/
A suggestion of taking the balance - http://www.scrumalliance.org/articles/61

Discussion about issues of managing remote teams - http://inhumanresources.blogspot.com/2008/01/1.html

Team building with the way of "pointy haired boss" ?? - http://manincentral.blogspot.com/2008/02/blog-post_12.html

Promote the problem maker to make them better?? Is that work? - http://manincentral.blogspot.com/2008/02/blog-post_16.html 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. http://www.codinghorror.com/blog/archives/001154.html

Manage to learn - http://www.ft.com[..]dd-80e9-0000779fd18c.html?nclick_check=1

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

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

What management should be - http://www.jrothman.com[..]-people-can-you-manage-as-a-manager.html

1. 清楚意識到您的創新意圖
2. 為彈性的工作時間設計一個架構
3、涉入,然後再把手收回去
4. 測量什麼是有意義的
5. 給予「無實質價值」的報酬
6. 象徵化
7. 不是標準化地複製他人的創新行為

http://www.inside.com.tw/2014/01/15/6-way-innovation-culture http://www.fastcodesign.com[..]6-ways-to-create-a-culture-of-innovation


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

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

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

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

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

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

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

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

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

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

http://cn.wsj.com/big5/20140318/eoe074616.asp?source=rss http://online.wsj.com[..]0001424052702303519404579353060931625306

給新手高管的10條建議 - http://cn.wsj.com/big5/20140318/eoe074616.asp?source=rss

http://jchyip.blogspot.com[..]/causes-and-solutions-for-bystander.html

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

Good developer cannot be good manager? - http://discuss.joelonsoftware.com/default.asp?joel.3.172310

Manager guide in google - https://www.infoq.com/news/2017/02/google-managers

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

The Seven Habits of One Highly Effective Manager of Managers: Things I Learned from Charity Majors - https://honkathon.com/2019-12-19-seven-habits

https://codahale.com/work-is-work/

SuperCell 的组织结构 - https://www.infoq.cn/article/csTfCNvzQzQZRV8sxPqz

(google search) (amazon search)


Sat May 16 23:10:40 HKT 2020 From /weblog/web/script

reference


Prototype reference - http://www.snook.ca/archives/000531.php

Discussion of javascript with a lot of pointers - http://www.codinghorror.com/blog/archives/000857.html

New version of Javascript - http://lambda-the-ultimate.org/node/2289

15 javascript you cannot live without - http://www.webcodr.com[..]vascript-snippets-you-cant-live-without/

A tutorial - http://www.sitepoint.com/print/javascript-from-scratch

Pointers of a lot of libraries - http://ejohn.org/blog/the-world-of-ecmascript/ http://developerlinks.blogspot.com[..]/my-library-of-javascript-libraries.html

The 2020 Web Developer Roadmap - https://levelup.gitconnected.com[..]-2020-web-developer-roadmap-76503ddfb327 https://www.infoq.cn/article/2byFJBbLbeLzlQ55hTQu

(google search) (amazon search)


Wed May 13 18:33:01 HKT 2020 From /weblog/health/food

protein


At least, we should not take too much per meal - http://cn.wsj.com/big5/20140326/hea115138.asp

Get the Protein You Need - https://www.webmd.com[..]y-eating-20/slideshow-how-to-get-protein

(google search) (amazon search)



Sun May 10 20:12:52 HKT 2020 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/

Hea字原來都有得寫 齊來認識廣東話 - https://hk.ulifestyle.com.hk[..]1%E8%A9%B1-%E7%94%9F%E6%B4%BB%E7%AF%87/1

(google search) (amazon search)


Fri May 08 21:38:55 HKT 2020 From /weblog/health/food

Health Meal


https://www.bbc.com[..]e/20180126-the-100-most-nutritious-foods

Again, should eat difference food - https://www.bbc.com[..]205-how-to-eat-your-way-to-a-healthy-gut

Turmeric - https://www.webmd.com/diet/ss/slideshow-turmeric

https://www.zmescience.com[..]/science/top-diets-year-ranked-explained

Fix muscle with good food - https://www.mr-sport.com.tw[..]life/food/fix-your-muscle-with-food.html

要動不要痛—調整飲食,擊退運動傷害! - https://www.mr-sport.com.tw[..]eat-when-you-get-hurt-from-exercise.html

【動畫●每日健康】新超級食物苔麩代替麵粉 多吃腸胃更暢通 - http://hk.apple.nextmedia.com[..]om/realtime/supplement/20161012/55761307

http://list25.com[..]at-makes-eating-healthier-easy/?view=all

豐富健康食譜 - http://www.yimho.com/2086.html

Eating for health, not weight - http://www.nytimes.com[..]y/the-optimal-diet.html?_r=2&ref=opinion

健康飲食還需多吃“苦” - http://cn.wsj.com/big5/20120607/lif075953.asp?source=rss

我續說︰「我建議你一個兩天的開心全餐,希望對囡囡有幫助。第一天早餐有全麥多士及低脂乳酪1杯;午餐有瘦肉粥、灼芥蘭、香蕉1條;小食有小魚乾;晚餐洋葱炒肉片、白飯、藍莓一杯。第二天早餐番茄芝士三文治及脫脂奶1盒;午餐有三文魚壽司、綠茶及奇異果1個;小食有香蕉乾;晚餐有白飯、西芹炒雞丁及木瓜半個。」- http://www.yimho.com/1450.html

1.【 想要膽固醇聽話? 每天三杯柳橙汁OK!! < http://www.sjps.kh.edu.tw/grace/home/01.htm >】

2.【 要長壽別忘蕃茄 < http://www.sjps.kh.edu.tw/grace/home/02.htm >】

3.【 喝杯水再睡_喝適量的水有益健康! < http://www.sjps.kh.edu.tw/grace/home/03.htm >】

4.【 喝下重覆煮沸的開水會致癌 < http://www.sjps.kh.edu.tw/grace/home/04.htm >】

5.【 喜歡吃冷凍水餃的人請小心 < http://www.sjps.kh.edu.tw/grace/home/05.htm >】

6.【 小心衛生筷子 < http://www.sjps.kh.edu.tw/grace/home/06.htm >】

7.【 豆漿, 請多告訴你身旁的女性朋友 < http://www.sjps.kh.edu.tw/grace/home/07.htm >】

8.【 操作電腦時要多喝茶 < http://www.sjps.kh.edu.tw/grace/home/08.htm >】

9.【 老醫之家:一個不錯的中文醫療資訊網站 < http://www.sjps.kh.edu.tw/grace/home/09.htm >】

10.【 建議大家最近別吃生魚片及去海邊玩! < http://www.sjps.kh.edu.tw/grace/home/10.htm >】

11.【 養肺的季節--養肺食譜 < http://www.sjps.kh.edu.tw/grace/home/11.htm >】

12.【 聽過喝咖啡減肥? < http://www.sjps.kh.edu.tw/grace/home/12.htm >】

13.【 幫助皮膚健康的維生素 < http://www.sjps.kh.edu.tw/grace/home/13.htm >】

14.【 造成身材浮腫的殺手食物報告出爐 < http://www.sjps.kh.edu.tw/grace/home/14.htm >】

15.【 喝雞湯 細菌黏液最快排出 < http://www.sjps.kh.edu.tw/grace/home/15.htm >】

16.【 15種吃了腿會變瘦、變美的食物 < http://www.sjps.kh.edu.tw/grace/home/16.htm >】

17.【 早餐吃熱食,才能保護胃氣 < http://www.sjps.kh.edu.tw/grace/home/17.htm >】

18.【 五種食物,讓你百毒不侵 < http://www.sjps.kh.edu.tw/grace/home/18.htm >】

19.【 不要太常吃冰 < http://www.sjps.kh.edu.tw/grace/home/19.htm >】

20.【 喝太多鋁箔包飲料容易導致老年癡呆症 < http://www.sjps.kh.edu.tw/grace/home/20.htm >】

21.【 黑糖薑茶(女人一定要看) < http://www.sjps.kh.edu.tw/grace/home/21.htm >】



健康生活篇

1.【 午餐後趴睡是健康的殺手 < http://www.sjps.kh.edu.tw/grace/home/午睡是健康的殺手.htm >】

2.【 失眠、生物電和橡皮鞋底! < http://www.sjps.kh.edu.tw/grace/home/B02.htm >】

3.【 有午睡習慣的人比較不會老 < http://www.sjps.kh.edu.tw/grace/home/B03.htm >】

4.【 睡眠不足 小心變笨 < http://www.sjps.kh.edu.tw/grace/home/B04.htm >】

5.【 深夜開燈睡易致癌 < http://www.sjps.kh.edu.tw/grace/home/b05.htm >】

6.【 用微波爐加熱水請小心 < http://www.sjps.kh.edu.tw/grace/home/b06.htm >】

7.【 杜絕感冒的六大法則 < http://www.sjps.kh.edu.tw/grace/home/b07.htm >】

8.【 每天更健康 < http://www.sjps.kh.edu.tw/grace/home/b08.htm >】

9.【 小心!看不見的「波」可能讓你致癌 < http://www.sjps.kh.edu.tw/grace/home/b09.htm >】


蒜頭飯 - 閱後傳知他人,添福添壽

一位朋友每天吃蒜頭蒸飯,晚餐用一把蒜頭切碎煮飯, 半年之後高血壓消失了,痛風症消失了,坐骨神經痛亦消失了。 對於目前流行的非典型肺炎,他認為吃蒜頭是增強免疫力的方法, 因為蒜頭是「窮人靈芝」,通血管及清除毒素,以前美軍 亦用作隨身解毒劑。

蒜頭炒飯:
蒜頭越多越香,拍碎,用油鍋炒香蒜頭放入鹽及煮好的飯,加葫 椒鹽拌炒起鍋。 ( 菲律賓人的早餐都是這道主食 )

蛋炒飯,起鍋前撒上一些蒜粉,保證您炒的不夠吃,太香太好吃了。

另一位朋友提醒要多食維他命 C,以增強抵抗力,並切忌吃煎炸熱氣食物,免引致喉嚨發
炎,病毒就由此攻入。

薑湯做法:
1. 約十公克的薑磨成糊狀。
2. 把薑糊放入玻璃杯裡。
3. 注入滾燙的熱開水。
4. 加入一匙蜂蜜,拌勻後飲用。

男女老少都適合飲用。
老薑切片或拍碎煮黑糖功效一樣 , 連續喝兩個月(每天早晚各喝一次 )據書本 記載的見證:
1. 身體變溫暖,手腳冰冷的『怕冷症』體質明顯改善。
2. 體重可減輕約十公斤。
3. 皮膚變得細嫩。
4. 去掉多餘贅肉,腰圍變細。

薑對身體很有益處,愛美又想要健康的人,不妨試試看吧!
祝身體健康!

熱門瘦身食譜排行榜Top5 - http://forward.hkwebs.net/archives/7721

冬天多吃莓果養顏排毒又減肥 (strawberry) - http://forward.hkwebs.net/archives/7818

長期食素加速衰老 - http://forward.hkwebs.net/archives/7816

Food good for slim and skin - http://forward.hkwebs.net/archives/7912

10 good food... - http://forward.hkwebs.net/archives/8043

Food to help hair - http://www.yimho.com/1425.html

地中海膳食模式——一种富于水果、蔬菜、坚果、全谷物和富含不饱和脂肪酸的鱼类的膳食, 食用三文鱼, 水果,击退中风, 放下苏打,端起咖啡, 酒精:始终都要节制, 巧克力——更多时候依然视为氧化剂, 什么不能吃:限制碳水化合物, 红肉 - http://neuro.dxy.cn/article/45615

日日食花生 更健康更長命 - http://thehousenews.com[..]%A5%E5%BA%B7%E6%9B%B4%E9%95%B7%E5%91%BD/

busy-students-eat-healthier - http://list25.com[..]lp-busy-students-eat-healthier/?view=all

breast-feeding-diet - https://www.webmd.com/parenting/baby/breast-feeding-diet

(google search) (amazon search)


Fri May 08 21:34:41 HKT 2020 From /weblog/trip

equipment


長途荒野電源 - http://go2nature.net/forum/viewtopic.php?p=1186641

想買電筒,請大家介紹 ^^ - http://go2nature.net/forum/viewtopic.php?p=1210769#1210769

DIY 酒精爐 (超詳細,圖文並茂 - http://go2nature.net/forum/viewtopic.php?p=1221463#1221463

進階技巧 之 用TrailWatch.hk 網頁規劃專屬路線 - https://www.trailwatch.hk/?t=blog&i=691

(google search) (amazon search)