RSS feed [root] /




login:

password:

title search:




 


Sun Jul 23 22:00:11 HKT 2017



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

Thu Sep 28 14:58:40 HKT 2017 From /weblog/computer+science

parsing


ANTLR tutorial, look simple enough, however hard for me to find a use case that need to write a parser myself, any recommendation?

http://www.alittlemadness.com/?p=23

https://tomassetti.me/resources-create-programming-languages/

https://tomassetti.me/guide-parsing-algorithms-terminology/

(google search) (amazon search)


Thu Sep 28 00:19:13 HKT 2017 From /weblog/learning

positive


http://www.michelemmartin.com[..]stions-for-professional-development.html <- write it down, make it a story, visualize it.

http://time.com[..]-that-can-make-you-much-more-impressive/ <- The only change was this semester he presented more enthusiastically, gesturing with his hands and modulating his voice.

http://www.forbes.com[..]ing-by-asking-the-right-questions/print/ <- Appreciative inquiry (AI) has two important elements: becoming mindful of the questions we ask and directing those questions toward strengths and positive outcomes.

有趣的是,教授說切忌養大自尊心。她發現,美國加州很多關懷青少年的機構都提倡建立自尊心(Self-Esteem),卻無助吸煙、毒品等問題。因為自尊心由「成功」養大,遇到「失敗」馬上危危乎。它的本質已有比較,要成為自尊心強的人,你就要覺得自己很特別,也比他人強。
要做到「自我關懷」,我們要接受自己會做錯,偶爾偷懶讓自己休息一下,就像對待你身邊的好友。

http://hk.apple.nextmedia.com[..]om/realtime/supplement/20160419/55001749

五萬隻鳥蛋的故事告訴我們,即使遇到一些普通如一隻鳥蛋那樣熟悉的事物,我們仍可在當中發掘新的知識,並需要勇氣挑戰舊的假設。 - https://thestandnews.com[..]B4%E4%BD%A0%E7%94%9A%E9%BA%BC-%E4%B8%8B/

Use negative emotion as an catalyst to success - http://traderfeed.blogspot.hk[..]awareness-and-acceptance-in-trading.html

It's really true: confidence doesn't come from success alone, but rather from facing failure and moving beyond it. - http://traderfeed.blogspot.hk[..]-most-important-reason-traders-cant.html

(google search) (amazon search)


Thu Sep 28 00:12:35 HKT 2017 From /weblog/learning

goal


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

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

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

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

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

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

(google search) (amazon search)


Tue Sep 26 00:19:07 HKT 2017 From /weblog/health/food

pepper


Your Complete Guide to What Peppers to Use, When - https://blog.goodeggs.com[..]to-what-peppers-to-use-when-4a3ba7dbe8ba

(google search) (amazon search)


Mon Sep 25 00:55:36 HKT 2017 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

(google search) (amazon search)


Sat Sep 23 16:46:55 HKT 2017 From /weblog/health

life


http://www.businessinsider.com[..]-secret-to-a-long-meaningful-life-2017-9

(google search) (amazon search)


Sat Sep 23 16:37:51 HKT 2017 From /weblog/trip/travelling

national park


unbelievable-photographs-of-national-parks-from-around-the-world - http://list25.com[..]al-parks-from-around-the-world/?view=all

incredible-national-parks-on-earth - http://list25.com[..]edible-national-parks-on-earth/?view=all

No Matter Where/When…Consider a National Park - http://frame.bloglovin.com[..]t=5835610263&blog=237509&frame_type=none

http://www.travelandleisure.com[..]teide-national-park-canary-islands-spain

(google search) (amazon search)


Fri Sep 22 15:29:28 HKT 2017 From /weblog/database/performance

architecture


IT Hare: Ultimate DB Heresy: Single Modifying DB Connection. Part I. Performanc - http://highscalability.com[..]y-single-modifying-db-connection-pa.html

How yandex.metrica improve DB reading - http://highscalability.com[..]of-data-structures-in-yandexmetrica.html

(google search) (amazon search)


Wed Sep 20 10:02:11 HKT 2017 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

(google search) (amazon search)


Mon Sep 18 00:08:56 HKT 2017 From /weblog/learning

emotion


The more someone has actually been victimized, the more important it is to not live life as a victim. - http://traderfeed.blogspot.hk[..]1/living-life-as-origin-not-as-pawn.html

psychological-hacks - http://list25.com[..]l-hacks-to-control-almost-any-situation/

Happiness is a Compass, Not a Destination - https://medium.com[..]a-compass-not-a-destination-903f92cf586e

(google search) (amazon search)


Sat Sep 16 00:52:13 HKT 2017 From /weblog/trip/travelling

Africa


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

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

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

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

The Complete Guide Of Things To See, Do And Eat In Madeira - http://frame.bloglovin.com[..]=5842409987&blog=4289795&frame_type=none

(google search) (amazon search)



Sun Sep 10 16:25:08 HKT 2017 From /weblog/design

Architecture


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

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

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

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

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

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

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

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

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

Business Transactions
External Dependencies
Caching Strategy
Garbage Collection
Application Topology
http://blog.appdynamics.com[..]s-to-capture-in-enterprise-applications/

invent a solution the majority of whose components depend on no others with those few components whose task it is to compose those other components being left largely to coordination roles. - http://edmundkirwan.com/general/simple.html

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

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

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

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

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

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

(google search) (amazon search)


Sun Sep 10 16:24:01 HKT 2017 From /weblog/business

development


https://medium.com[..]opment-to-grow-your-startup-b9d76027468e

(google search) (amazon search)


Sat Sep 09 00:15:42 HKT 2017 From /weblog/database

uuid


https://segment.com/blog/a-brief-history-of-the-uuid/
http://www.infoq.com/cn/articles/talk-about-the-history-of-uuid

If using uuid as PK is good idea? - https://tomharrisonjr.com[..]-as-primary-keys-be-careful-7b2aa3dcb439

(google search) (amazon search)


Fri Sep 08 17:52:03 HKT 2017 From /weblog/trip

tips


May not really useful

【飲食男女】飛機中伏位|走廊多菌 座位要識揀 - http://hk.apple.nextmedia.com/realtime/magazine/20160705/55314899
【飲食男女】飛機中伏位|摺枱加料 尿片飛機餐 - http://hk.apple.nextmedia.com/realtime/magazine/20160705/55314457
【飲食男女】飛機中伏位|飛機餐陳年生果 小心為上 - http://hk.apple.nextmedia.com/realtime/magazine/20160705/55315428

【亞洲航點總整理】臨時找機票的你,知道日本、韓國、東南亞有哪些廉價航班可以選擇嗎? - http://blog.kkday.com/2016/11/AsiaLcc.html

【旅行祕笈】用廉價航空玩歐洲竟然這麼便宜?! 購買歐洲廉航的3大技巧! - http://blog.kkday.com/2016/11/europelcc.html

TRAVELING WITH A TODDLER CHECKLIST - http://frame.bloglovin.com[..]=5828583385&blog=3512968&frame_type=none

(google search) (amazon search)


Fri Sep 08 17:43:15 HKT 2017 From /weblog/trip/travelling

Spain


Mallorca - http://frame.bloglovin.com[..]5831206523&blog=13214417&frame_type=none

西班牙北部雄偉歐羅巴山(Picos de Europa)徒步探險 - http://cn.wsj.com/big5/20140616/lux113852.asp?source=rss


(google search) (amazon search)


Fri Sep 08 17:34:06 HKT 2017 From /weblog/science

sun


太陽活動令科學家迷惑不解 - http://cn.wsj.com/big5/20131112/bus093431.asp?source=rss

https://medium.com[..]n-less-than-a-billion-years-5f9bda31b6d0

(google search) (amazon search)


Fri Sep 08 16:09:35 HKT 2017 From /weblog/misc

regex


Short tips of regex - http://immike.net[..]know-to-become-a-regular-expression-pro/

Let regex more readable - http://martinfowler.com/bliki/ComposedRegex.html

Useful Regular regression

Match username - /^[a-zA-Z0-9_]{3,16}$/
Matching an XHTML/XML tag - {]*>(.*?)}
Matching an XHTML/XML tag with a certain attribute value (e.g. class or tag) - {]*attribute\\s*=\\s*(["'])value\\\\1[^>]*>(.*?)}
Matching a URL - (a very long one... refer to article...)

http://immike.net[..]ssions-every-web-programmer-should-know/

The danger of bad regex - http://andreas.haufler.info[..]o-kill-java-with-regular-expression.html http://www.regular-expressions.info/catastrophic.html http://vladmihalcea.com/2014/02/24/the-regex-that-broke-a-server/

You have a string “BEFOREAFTER”. If this string has a ‘x’ in it, you want to capture everything before the ‘x’, else you want to capture the whole string. So,
”BEFOREAFTER” gives “BEFOREAFTER”
”BEFORExAFTER” gives “BEFORE”
http://octodecillion.com[..]apture-with-optional-delimeter/#solution

http://www.infoq.com[..]/regular-expressions-introduction-part01

https://www.guru99.com/linux-regular-expressions.html

(google search) (amazon search)


Sun Sep 03 17:22:09 HKT 2017 From /gallery/Home/YimChing

IMG_20170903_172158



(google search) (amazon search)


Sat Sep 02 08:18:52 HKT 2017 From /gallery/Home/YimChing

IMG_20170902_081837



(google search) (amazon search)


Sat Sep 02 08:18:48 HKT 2017 From /gallery/Home/YimChing

IMG_20170902_081841



(google search) (amazon search)


Sat Sep 02 08:18:23 HKT 2017 From /gallery/Home/YimChing

IMG_20170902_081821



(google search) (amazon search)


Sat Sep 02 08:18:21 HKT 2017 From /gallery/Home/YimChing

IMG_20170902_081819



(google search) (amazon search)


Sat Sep 02 08:18:18 HKT 2017 From /gallery/Home/YimChing

IMG_20170902_081817



(google search) (amazon search)