RSS feed [root] /



title search:


Sun Jul 23 22:00:11 HKT 2017

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

Thu Aug 03 00:35:47 HKT 2017 From /weblog/health/food


Pros and Cons for vegi -[..]84%E5%BC%8A%E8%88%87%E5%88%A9-%E4%B8%80/

B12 is important -

熟吃損失多少維生素? -[..]0%91%E7%B6%AD%E7%94%9F%E7%B4%A0%EF%BC%9F

中國城市人的香椿情結 -

西蘭花如何幫助身體應對空氣污染 -

13 Easy Ways to Eat More Greens -

Recipes that use veggies from garden -[..]s-and-veggies-from-your-garden/?view=all

lutein-veggies-cognitive-protection -[..]n-veggies-cognitive-protection-01082018/

(google search) (amazon search)

Tue Aug 01 23:47:19 HKT 2017 From /weblog/learning


When child lie...

How to encourage child -[..]4/09/fun-ways-to-teach-kids-to-code.html

Give Child some duty for good -

步入青春期的孩子最需要從父母那裡得到什麼? -

初中男生多煩惱,父母可知道? -

研究發現和沒有做家務或者十幾歲才開始做家務的孩子相比,3-4歲就開始做家務的青年成人更有可能和家人及朋友關系融洽、學習優秀、較早實現事業成功及經濟獨立。 -[..]uter-science-and-computational-thinking/

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

如何培養出真正的成年人 -

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

No gifted child -[..]such-thing-as-a-gifted-child-einstein-iq

公平地“偏心”。確保每個孩子都得到優待:例如,如果把周末花在女兒的足球比賽上,那就在工作日找些時間關注你兒子的興趣愛好。 -

(google search) (amazon search)

Mon Jul 31 13:57:56 HKT 2017 From /weblog/security


Make sure all your passwords are 12 characters or more, Use bcrypt or PBKDF2 exclusively to hash anything you need to be secure. -

Password is only worked for one time -

crack captcha -

Java password mask -[..]er/technicalArticles/Security/pwordmask/

OpenID resource -[..]ge/spidaman/20070225#the_openid_snowball[..]_id=46569&asrc=EM_NLN_2030603&uid=703565

OpenID explain -

A technique that crack winxp password at 3 min -

Using image as password -

The other interesting idea, Evolving Password -[..]uid=79730e53-1d30-47ae-98e8-abb55201429b

Passphrase Evangelism -

Rainbow Hash Cracking - , add salt (token) to prevent it -

How to make password harder to be guessed, but I guess there should be simple way to guess "this is fun", other than take 2537 years? -

Discussion about if some old suggested rules about still valid or not -

Using quantum for password? -

Salted Password Hashing - Doing it Right -[..]w-to-encrypt-the-user-password-correctly

It sound like outsource is better -

(google search) (amazon search)

Sun Jul 30 17:10:51 HKT 2017 From /weblog/unix


Few config suggestions -[..]20-linux-server-performance-tips-part-2/

Linux kernel profiling with perf -

Intel VTune Amplifier profiler -

Oracle solaris studio -[..]torage/solarisstudio/overview/index.html <- "This page links to various Linux performance material I've created, including the tools maps on the right."

(google search) (amazon search)

Thu Jul 27 22:25:31 HKT 2017 From /weblog/science/animal


Rare birds -[..]irds-you-might-have-never-seen/?view=all

Eagles -[..]ht-change-the-way-you-see-them/?view=all

Owl -

Kiwi -[..]animal-files-kiwi-birds-one-unique-birds

(google search) (amazon search)

Thu Jul 27 10:50:05 HKT 2017 From /weblog/health


depression -[..]pression-and-improve-your-mood/?view=all

【壹週刊健康】認識ADHD》腦裡有嘭嘭聲乜都喊 -

鍛煉能改善孤僻和拖延? -

(google search) (amazon search)

Thu Jul 27 00:22:26 HKT 2017 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

(google search) (amazon search)

Thu Jul 27 00:21:49 HKT 2017 From /weblog/ai


What AI can done -[..]om/a-tour-of-machine-learning-algorithms

How Quora do machine learning -[..]/machine-learning-quora-xavier-amatriain

And NLP -[..]on-Quora-Over-Time-through-Question-Text

Recommandation libraries -[..]ava-libraries-for-recommendation-system/

Overview of Recommender Algorithms –[..]verview-of-recommender-algorithms-part-1[..]verview-of-recommender-algorithms-part-2[..]verview-of-recommender-algorithms-part-3[..]verview-of-recommender-algorithms-part-4[..]verview-of-recommender-algorithms-part-5[..]/the-components-of-a-recommender-system/[..]borative-filtering-for-recommend-systems

Artificial Intelligence, foundations of computational agents -
Deep Learning, An MIT Press book in preparation -[..]com/learning-ai-resources-links-courses/

机器学习:现在与未来 -

网站文章如何能自动判定是抄袭?一种算法和实践架构剖析 -[..]rticle-utomatically-determine-plagiarism

neural network -

Users-AI-application-cases-enter -[..]2016/12/Users-AI-application-cases-enter

Some more discussion of AlphaGO -

How self driving car work -[..]chnology/how-self-driving-cars-work.html

人工智慧 Libratus 是如何擊敗德州撲克高手的? -

Good video tutorial from facebook -[..]8519962/artificial-intelligence-revealed

MindMeld’s Guide to Building Conversational Apps -

Time Series Anomaly Detection Algorithms, The current state of anomaly detection techniques in plain language -[..]nomaly-detection-algorithms-1cef5519aef2

Data science simplified: principles and process -[..]fied-principles-and-process-b06304d63308

(google search) (amazon search)

Wed Jul 26 10:57:03 HKT 2017 From /weblog/database

time series

Some information about Time Series:[..]ocs/cd/A87860_01/doc/inter.817/index.htm[..]1/time-series-forecasting-part-1_23.html

Discussion of time in time series database - UTC or local -[..]ime-in-time-series-database-utc-or-local

Market data:

and a book:[..]iented-database-applications-in-sql.html

Should we use DATE as key or INT as key?[..]senting-time-series-implementation-level

Collections of column-oriented stores -[..]s/1392/usage-of-nosql-storage-in-finance

时序数据库深入浅出之存储篇 -

深入浅出时序数据库之压缩篇 -

pretreatment -[..]les/pretreatment-in-sequential-databases

Why -

分级存储 -[..]archical-storage-of-sequential-databases

(google search) (amazon search)

Wed Jul 26 10:20:22 HKT 2017 From /weblog/web


One of many tips of how to design a website that deliver content faster -[..]006/02/02/10-steps-to-a-faster-web-site/

The other, for user to read quick -[..]0-ways-to-design-for-impatient-visitors/

Webmaster tools, marketing -
Webmaster tools, page development -
and tools to tune page performance -[..]tools-to-boost-up-your-site-performance/

Tips from codinghorror -[..]og/2011/06/performance-is-a-feature.html

Tips from ACM -

Web Framework Benchmarks -

How taobao optimize their mobile app -[..]bao-521-performance-optimization-project

The timeline of how browser showing the page, and how to optimize it -[..]rontend-performance-chrome-timeline.html[..]-for-the-browser-f2f51a29c572#.7ivccwl5e

How a page loaded fast -[..]d-page-loads-lessons-learned-4bb1be3ed07

About making picture load faster -[..]icles/yelp-lossless-compression-pictures

(google search) (amazon search)

Tue Jul 25 11:18:11 HKT 2017 From /weblog/trip/travelling

south america

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

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

Hotel next to Perito Moreno Glacier -


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

(google search) (amazon search)

Tue Jul 25 00:48:50 HKT 2017 From /weblog/science


Interesting, test speed of light with ping -[..]experiments-to-derive-the-speed-of-light

History of color photograph -

光電效應:愛因斯坦的諾貝爾 -[..]19/photoelectric-effect-einsteins-nobel/

光速:宇宙高速公路的速度限制 -

What exactly is a photon? Definition, properties, facts -

Why Gold is yellow in color -[..]other/feature-post/gold-color-relativity

(google search) (amazon search)

Fri Jul 21 17:24:58 HKT 2017 From /weblog/database/performance

Note of SQL performance tuning

Note of this book -

1) Order of "and" and "or" is matter, if no cost-base optimizer

where column1 = 'a' and column2 = 'b' -> where column2 = 'b' and column1 = 'a' if column2 'b' is less likely

2) <> is more expensive than =

3) Can force to use index if SELECT * FROM table WHERE indexed_column > 0

4) UPPER(column) might lose information, use LOWER is better

5) WHERE column = 'WORD' or column = 'word' is always faster than WHERE LOWER(column) = 'word' , even faster version is test if database if case-insensitive: WHERE column = 'WORD' or ('WORD' <> 'word' AND column = 'word')

6) 32bit integer is the fastest datatype for 32bit OS

7) column in (?, ?) is faster than column =? or column = ? for some database, and don't slow in any database

8) For aggregate functions, prevent using having, try to use fewer columns in group by and use subquery if possible

9) In fact, count(1) is not faster than count(*)

10) CAST before aggregate function: SELECT CAST(SUM(column) AS INT) -> SELECT SUM(CAST(column as INT))

11) Use constant as much as possible, e.g.: select * from t1, t2 where t1.c1 = t2.c1 and t1.c1 = 1 -> select * from t1, t2 where t1.c1=1 andn t2.c1=1

12) Information of Join vs Subqueries

13) Information of optimum column type (VARCHAR, TIMESTAMP, WORD size INT and CHAR(1) usually better), shift effect for page

14) prevent NULL for porting issue

15) Low level table physical information

Some related links -[..]9/12/sql-optimization-tipsquestions.html

16) Prevent database level transaction, prevent joining, prevent locking ( like auto increment key ), pretty good suggestion -

Few good tips, like avoid cursors -[..]ent/21-rules-for-faster-sql-queries.html

(google search) (amazon search)

Thu Jul 20 00:11:49 HKT 2017 From /weblog/learning


In other words, both groups were stressed, but one group channeled the stress as a performance challenge; the other group as a performance threat. It wasn't the stress of a difficult test that caused distress--everyone felt that. It was how subjects interpreted their stress. -[..]mbracing-stress-minimizing-distress.html

Calming when conflict -[..]ks-in-the-human-body-to-make-or-break-us

(google search) (amazon search)

Wed Jul 19 17:07:17 HKT 2017 From /weblog/political



民主、法治與自由 -


Noam Chomsky -

從思考終審法院的多數決制度我們能學到什麼? -[..]%BD%E5%AD%B8%E5%88%B0%E4%BB%80%E9%BA%BC/

(google search) (amazon search)

Wed Jul 19 14:59:51 HKT 2017 From /weblog/design


Avoid circular dependencies between packages!

2 common approach, by function or by layer -

(google search) (amazon search)

Wed Jul 19 00:22:53 HKT 2017 From /weblog/security


The NSA has open-sourced dozens of security tools

(google search) (amazon search)

Tue Jul 18 23:56:58 HKT 2017 From /weblog/learning


焦慮能讓你表現更出眾 -

Importance of finding out your Signature Strengths -[..]ature-strengths-and-trading-success.html

那么,你應該從哪做起呢?加州德爾馬(Del Mar)的心理學家理查德‧萊瓦克(Richard Levak)表示:“首先,我們必須認識到性格中有哪些因素對我們構成了影響。如果我愛發牢騷,好爭辯,還有點多疑,我總是因為跟同事吵架,老是責怪別人而被解雇,那我就必須意識到得改變一下。”

How you can use your negative emotion -[..]reat-depression/304247/?single_page=true

Performance improvements… or experiments? -[..]ormance-improvements-or-experiments.html[..]e-you-operating-in-peak-performance.html

This, I find, is the single greatest impediment to pursuit of excellence: Most of us are simply too busy doing our jobs well to become truly world class at what we do. I occasionally ask traders to go back to old journal entries and tell me how much time they spent reviewing those entries and assessing their progress over the past week. In the great majority of instances, the journal entries are never revisited! -[..]ndar-into-a-peak-performance-tool/print/

10-questions-can-dramatically-change-life and business (I don't think so, but anyway a good reading) -[..]ns-can-dramatically-change-life-business

(google search) (amazon search)

Tue Jul 18 23:55:18 HKT 2017 From /weblog/health


Are we really need 8 hours of sleep?

Find the best sleep position -

Take a nap is good! -

Why it is good to sleep together -

中老年人怎樣睡個好覺? -

Facts about sleep -[..]nsane-facts-about-sleep-infographic.html

關注男士健康 側身睡覺有利養肝 -[..]6%BA%E6%9C%89%E5%88%A9%E9%A4%8A%E8%82%9D

We all know that kind of situation very well. You are supposed to work or study but you cannot help dosing off. Sometimes, staying awake can be a real challenge; especially if you are tired or bored. Fortunately, there is a surprisingly wide range of various tricks and hacks to help you fight the annoying drowsiness. Here are 25 Ways To Stay Awake When All You Want To Do Is Sleep. -[..]-awake-when-all-you-want-to-do-is-sleep/

At least 7 hours sleep.... -[..]-health-life/news/sleep-or-exercise.html[..]ch-might-help-you-sleep-better/?view=all[..]-sleep-you-probably-didnt-know/?view=all

about-sleep-paralysis -[..]p-paralysis-that-make-it-scary/?view=all

Power nap -[..]ke-naps-at-work-apologize-to-no-one.html

(google search) (amazon search)

Tue Jul 18 11:31:43 HKT 2017 From /weblog/design


A nice thread of discussing how to comment in code -

A Taxonomy Of Comments -[..]hniques/documentation/taxonomy-comments/

Everything have 2 sides -[..]s/documentation/comments-costs-benefits/

Example of comment haven't update freq enough -[..]even-good-code-comments-deteriorate.html[..]health-to-comment-or-not-to-comment.html

(google search) (amazon search)

Tue Jul 18 00:44:48 HKT 2017 From /weblog/science/animal


animals-with-insane-survival-adaptations -[..]th-insane-survival-adaptations/?view=all

rarest-animals-in-the-world -

fastest-land-animals -

unreal-animals-you-wont-believe-exist -[..]animals-you-wont-believe-exist/?view=all

bizarre-animals-youve-ever-heard-of-before -[..]als-youve-ever-heard-of-before/?view=all

Most hated insects -

awesome-animals -

adorable-hatchlings-that-are-too-cute-for-their-own-good -[..]re-too-cute-for-their-own-good/?view=all

little-known-facts-about-arctic-foxes -[..]known-facts-about-arctic-foxes/?view=all

fascinating-little-known-facts-about-polar-bears -[..]-known-facts-about-polar-bears/?view=all

adorable-photos-of-yawning-animals -

animals-with-outrageous-body-proportions -[..]th-outrageous-body-proportions/?view=all

new-species-discovered-in-2014 -[..]new-species-discovered-in-2014/?view=all

lethal-animals-you-hope-to-never-see -[..]ethal-animals-you-hope-to-never-see.html

natural-phenomena-that-science-has-yet-to-explain -[..]hat-science-has-yet-to-explain/?view=all

dangerous-looking-animals-that-are-relatively-harmless -[..]s-that-are-relatively-harmless/?view=all

Shoebill Stork -[..]05/if-you-ever-doubted-existence-of.html

sad-facts-about-animals-that-might-make-you-shed-a-tear -[..]animals-that-might-make-you-shed-a-tear/

animal-kingdom-facts-that-you-might-find-hard-to-believe -[..]cts-that-you-might-find-hard-to-believe/

popular-myths-about-animals-that-you-probably-believe -[..]about-animals-that-you-probably-believe/

scary-creatures-living-in-australia -[..]scary-creatures-living-in-australia.html

strangest-prehistoric-creatures -

unusual-cat-species -

most-powerful-bites-in-the-animal-kingdom -

freakish-looking-animals -

US animals-you-wont-find-anywhere-else -[..]ls-you-wont-find-anywhere-else/?view=all

most-invasive-creatures-on-earth -

scorpion -[..]ost-people-may-not-be-aware-of/?view=all

【寵物】10種奇特動物 你見過邊種? -[..]om/realtime/supplement/20151221/54553011

albino-animals -[..]-animals-you-have-to-see-today/?view=all

Some huge animal -[..]at-are-larger-than-you-realize/?view=all

underwater -[..]and-other-underwater-creatures/?view=all

animal-beards-that-outshine-the-biggest-hipster -[..]t-outshine-the-biggest-hipster/?view=all

kangaroo -[..]facts-to-keep-your-mind-hoping/?view=all

biggest record -

stunningly-beautiful-insects -

largest prey -

Manatees -[..]-show-how-fascinating-they-are/?view=all

endangered-animals -[..]imals-we-may-lose-this-century/?view=all

strange-animals -[..]ange-animals-that-will-confuse-your.html

red animal -[..]als-you-need-to-see-to-believe/?view=all

“Larger animals need more food to keep their bodies fueled,” Manger explains. “The elephant, which can eat several hundred kilograms of low-quality food each day, devotes a lot of time to eating, leaving less time for sleep.” -[..]gy/animals-ecology/wild-elephants-sleep/

chameleon -[..]imal-superpowers-that-are-actually-real/

Capybara (Hydrochoerus hydrochaeris) is a rodent of unusual size -[..]-files-capybaras-worlds-largest-rodents/

(google search) (amazon search)

Tue Jul 18 00:30:55 HKT 2017 From /weblog/learning


How to capture the attention from audience in 30 second -[..]tter-beginnings-how-to-capture-your.html

How you can build Meaningful Interactivity into your eLearning -[..]010/01/how-you-can-build-meaningful.html

3 Ways to Spice up Linear Navigation in Elearning -[..]ys-to-spice-up-linear-navigation-in.html

5 Simple Ideas to Avoid Presentation Nervousness -[..]-simple-ideas-to-avoid-presentation.html

3 Visual Design tips to make your presentation slides pop -[..]4/3-visual-design-tips-to-make-your.html

Questions to ask to make presentation short -[..]blog/2011/03/29/make-a-long-story-short/

Some tips for developing presentation skill -[..]w-grow-speakers-your-technical-community

做個一流講者 -

Ignite, a way of short presentation -[..]s-to-make-yourself-effortlessly-charming

(google search) (amazon search)

Mon Jul 17 16:27:36 HKT 2017 From /weblog/java/features


Incompatibility across versions -[..]6/06/java-backwards-incompatibility.html

http2 client -

(google search) (amazon search)