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

Mon Dec 09 21:21:19 HKT 2019 From /weblog/society

HK


Old HK - http://link.brightcove.com[..]sfth6vHgTpNZZSEwcydt&bctid=1458384818001

History of HK economic growth - http://cn.wsj.com/big5/20120224/WUQ091236.asp?source=rss

Taiwanese view of 一國兩制與香港價值的流失 - http://cn.wsj.com/big5/20120206/ZTZ081933.asp?source=rss

http://www.hk-fish.net/chi/index.htm

https://digital.lib.hkbu.edu.hk/hkwildtracks/index.php

(google search) (amazon search)



Sat Nov 30 09:42:06 HKT 2019 From /weblog/learning

memory


These 3 Hacks Will Make You Remember More - https://betterhumans.coach.me[..]will-make-you-remember-more-b30a3d9b3136

When trying to memorise new material, it’s easy to assume that the more work you put in, the better you will perform. Yet taking the occasional down time – to do literally nothing – may be exactly what you need. Just dim the lights, sit back, and enjoy 10-15 minutes of quiet contemplation, and you’ll find that your memory of the facts you have just learnt is far better than if you had attempted to use that moment more productively. - http://www.bbc.com[..]effortless-way-to-strengthen-your-memory

This one is funny: "Distract yourself. You might feel like you’re being super productive and focused by sticking to your work, but you’re less likely to recall it later." - https://medium.com[..]-and-it-can-actually-be-fun-99a9c9b95d5b

https://list25.com[..]proof-techniques-to-enhance-your-memory/

http://www.bbc.com[..]-make-you-smarter?ocid=global_future_rss

Drawing something makes it easier to remember than writing it down - https://www.zmescience.com[..]drawing-better-than-writting-memory-0432

http://www.bbc.com[..]s-your-memory-is-stranger-than-you-think

Frustrated at forgetting stuff? Some simple tricks could have dramatic positive effects.
1) Walk backwards
2) Do a drawing
3) Do some exercise, but get the timing right
4) Do nothing
5) Take a nap

http://www.bbc.com[..]-ways-you-could-become-a-memory-champion

In animals, weight training appeared to promote the creation of new neurons in the memory centers of the brain. - https://www.nytimes.com[..]w-weight-training-changes-the-brain.html

The method works something like this: you use a familiar environment, such as your home, and walk through the environment associating information (like words or digits) you want to remember with various objects or scenery. In order to recall the digits in the right order, you simply have to do a mental walk through your mind palace. In Lu’s case, he devised an intricate story, and assigned images such as a chair, a king or a horse to two-digit combinations of numbers ranging from “00” to “99.” - https://www.zmescience.com[..]e-but-theres-something-that-comes-close/

Most students take a laptop with them to lectures. But are there times when they might be better off taking a pad and pen? - https://www.bbc.com[..]en-the-best-way-to-take-notes-is-by-hand

(google search) (amazon search)


Wed Nov 20 08:54:40 HKT 2019 From /weblog/health

join


What’s Wrong With My Shoulder? - https://www.webmd.com[..]anagement/ss/slideshow-shoulder-problems

knee-pain do and don't - https://www.webmd.com[..]agement/knee-pain/ss/slideshow-knee-pain

(google search) (amazon search)


Sat Nov 16 20:30:12 HKT 2019 From /weblog/design/examples

web


https://codurance.com[..]ites-using-finite-state-machines-part-I/

(google search) (amazon search)


Tue Nov 12 20:09:43 HKT 2019 From /weblog/software_engineering/team

offshore


Recently I help the company offshore some work to CN developers, many difficulty I've encounter, most difficult one is it is hard to share the vision and big picture to CN developers.

This article mention a few good notes http://martinfowler.com/articles/agileOffshore.html , the one I think I am lacking is having short meeting with them often. I will see if we can have video conferencing so that we are easier to meet.

The other tips here - http://www.theserverside.com[..]_id=45367&asrc=EM_NLN_1439070&uid=703565 but I think the tips list is too long and probably only apply to large enterprise

Tips of communication with offshore team - http://www.acceptic.com[..]on-in-software-development-projects.html

http://martinfowler.com/articles/remote-or-co-located.html

https://www.infoq.com/articles/top5-problems-distributed

https://www.infoq.com/articles/be-agile-distributed-teams http://www.infoq.com/cn/articles/be-agile-distributed-teams

https://angel.co[..]ur-remote-team-and-then-getting-it-right

(google search) (amazon search)


Sat Nov 09 22:11:44 HKT 2019 From /weblog/learning

habit


How habit affecting you - http://stephencfchan.blogspot.com[..]2012/02/poor-study-habit-and-remedy.html

How to change habit - http://cn.wsj.com/big5/20120420/trv075618.asp?source=rss

How to quit bad habit - http://now.eloqua.com[..]028&elq=2220804c77864d95acba08b4a6f21c23

好奇心,细节 - http://blog.sina.com.cn/s/blog_47841af70102e1yi.html

The most interesting things I've learnt about learning - http://jchyip.blogspot.com.au[..]-most-interesting-things-ive-learnt.html

The most interesting things I've learned about improvement - http://jchyip.blogspot.com.au[..]t-interesting-things-ive-learned_14.html

* Increase your exposure to new and different ideas
* Spend as much time learning from your trading as you actually spend trading
* Manage yourself, not just your risk and your positions

http://traderfeed.blogspot.hk[..]hree-best-practices-of-best-traders.html

http://traderfeed.blogspot.com[..]/energy-well-being-and-success-four.html

直覺的奧妙 — Blink - https://thestandnews.com[..]%A6%BA%E7%9A%84%E5%A5%A7%E5%A6%99-blink/

1)  How does the person spend his or her free time?  Per Ayn Rand's observation above, what does he or she do for enjoyment?  

2)  How does the person respond to your successes?  Many people are willing to commiserate with you when you're down and elevate themselves in the process.  A person of genuine goodwill celebrates your successes and is happy for your happiness.

3)  What strong beliefs does the person voice and live through their actions?  Character means standing for what you believe in and living your beliefs.  Go along and get along might be comfortable, but commitment is what powers effective action in the world.

http://traderfeed.blogspot.hk[..]hree-powerful-measures-of-character.html

Ask as a habit - https://thestandnews.com[..]%83%E9%80%99%E5%80%8B%E5%95%8F%E9%A1%8C/

practice consistently, stay warm - http://www.zmescience.com[..]brain/halo-starcraft-practice-excellence

Wake up early - https://medium.com[..]e-guide-for-waking-up-early-a750c011eb07

This will work, I believe, but really not easy - https://journal.thriveglobal.com[..]e-your-life-in-just-a-month-eed6c90ee6c4

3 Simple Habits to Improve Your Critical Thinking:
Question assumptions
Reason through logic
Diversify thought
- https://hbr.org[..]habits-to-improve-your-critical-thinking

A cue that triggers your brain to behave automatically
A routine that consists of some kind of action
A reward that reinforces the loop by giving you a good feeling
https://evernote.com[..]ur-productivity-and-how-to-take-it-back/

(google search) (amazon search)


Tue Oct 22 21:34:17 HKT 2019 From /weblog/health/sport

misc


memorable-sports-plays-history - http://list25.com/25-memorable-sports-plays-history/?view=all

stepping - http://www.mr-sport.com.tw[..]/cross-training/stair-training-hell.html

stretching - http://www.mr-sport.com.tw[..]aining/stretch-more-better-movement.html

change-your-cardio-training-plan - http://www.mr-sport.com.tw[..]ng/change-your-cardio-training-plan.html

彈跳床 - http://www.mr-sport.com.tw/product-test/bellicon-trampoline.html

http://list25.com/25-bizarre-sports-you-probably-never-heard-of/

http://www.mr-sport.com.tw/post/exercise-in-office-chair.html

http://www.mr-sport.com.tw/post/four-burpee-alternatives.html

http://www.mr-sport.com.tw/post/lunge.html

http://www.webmd.com[..]ercise/ss/the-7-minute-workout-slideshow

自然的訓練動作—熊爬 - http://www.mr-sport.com.tw/post/bear-crawl-introduction.html

What is the best time for training - https://thestandnews.com[..]%84%E9%BB%83%E9%87%91%E6%99%82%E6%9C%9F/

站穩了,別倒下 ( train balancing ) - http://cn.wsj.com/big5/20140313/hea083824.asp

加強天然護腰:死蟲(Deadbug) - https://www.mr-sport.com.tw/post/core-training-deadbug.html

How to persist training - http://cn.wsj.com/big5/20170612/LIF141939.asp

knee-exercises - https://www.webmd.com[..]ry-knee-pain-16/slideshow-knee-exercises

https://list25.com/25-effective-exercises-you-can-do-anywhere/

Workout routine - http://darebee.com/workouts.html https://www.jenreviews.com/workout-routines/

https://www.zmescience.com/medicine/music-less-tired-04323/

13-best-quads-exercises - https://www.vaxxenlabs.com/13-best-quads-exercises/

https://www.goodfood.com.au[..]xercise-to-burn-more-fat-20191020-h1j09p

(google search) (amazon search)


Sat Oct 19 19:19:58 HKT 2019 From /weblog/quote

fun quote


What is the difference of software architect from software designer? About 30k http://discuss.joelonsoftware.com/default.asp?design.4.491003

The law of conservation of energy - If there is no work, sleep.

Money is not everything. There's Mastercard & Visa.

One should love animals. They are so tasty.

Save water. Shower with your girlfriend.

Love the neighbor. But don?t get caught.

Behind every successful man, there is a man. And behind every unsuccessful man, there are two.

Every man should marry. After all, happiness is not the only thing in life.

The wise never marry, And when they marry they become otherwise.

Success is a relative term. It brings so many relatives.

Never put off the work till tomorrow what you can put off today.

Love is photogenic. It needs darkness to develop.

Children in backseats cause accidents. Accidents in backseats cause children.

Your future depends on your dreams.? So go to sleep.

There should be a better way to start a day than waking up every morning.

Hard work never killed anybody.? But why take the risk?

Work fascinates me.? I can look at it for hours!

God made relatives; Thank God we can choose our friends.

When two?s company, three?s the result!

A dress is like a barbed fence. It protects the premises without restricting the view.

The more you learn, the more you know, The more you know, the more you forget. The more you forget, the less you know. So why bother to learn.

Edward Abbey "Our culture runs on coffee and gasoline, the first often tasting like the second."

Ashley Montagu "The idea is to die young as late as possible."

Richard Roeper - "Even though we're a week and a half away from Thanksgiving, it's beginning to look a lot like Christmas."

Wendy Liebman - "I've been on so many blind dates, I should get a free dog."

Kin Hubbard - "A good listener is usually thinking about something else."

Joseph Conrad - "Gossip is what no one claims to like, but everybody enjoys."

J. P. Morgan - "A man always has two reasons for doing anything: a good reason and the real reason."

William Feather - "The reward of energy, enterprise and thrift is taxes."

Billy Wilder - "He has Van Gogh's ear for music."

Charles M. Schulz - "I love mankind; it's people I can't stand."

Zsa Zsa Gabor - "I'm a great housekeeper. I get divorced. I keep the house."

Jules Renard - "Laziness is nothing more than the habit of resting before you get tired."

Dan Quisenberry - "The future is much like the present, only longer."

Victor Borge - "Santa Claus has the right idea - visit people only once a year."

James Whistler - "If other people are going to talk, conversation becomes impossible."

Mark Twain - "Climate is what we expect, weather is what we get."

Natalie Wood - "The only time a woman really succeeds in changing a man is when he is a baby."

Bill Vaughan - "The tax collector must love poor people, he's creating so many of them."

Howard Nemerov - "The secrets of success are a good wife and a steady job. My wife told me."

Noel Coward - "If you must have motivation, think of your paycheck on Friday."

Malcolm de Chazal - "Monkeys are superior to men in this: when a monkey looks into a mirror, he sees a monkey."

Money can't buy love, but it improves your bargaining position. - Christopher Marlowe.

Eleanor Roosevelt - "A woman is like a tea bag - you can't tell how strong she is until you put her in hot water."

Thomas Dekker - "The calmest husbands make the stormiest wives."

Helen Hayes - "If you rest, you rust."

Joey Adams - "Marriage is give and take. You'd better give it to her or she'll take it anyway."

Philip Stanhope, 4th Earl of Chesterfield - "Men, as well as women, are much oftener led by their hearts than by their understandings."

Robert Wilson Lynd - "Most human beings are quite likeable if you do not see too much of them."

Thomas A. Edison - "The chief function of the body is to carry the brain around."

Clarence Darrow - "When I was a boy I was told that anybody could become President; I'm beginning to believe it."

When we ask for advice, we are usually looking for an accomplice. - https://www.brainyquote.com/quotes/saul_bellow_120538

(google search) (amazon search)


Tue Oct 15 12:06:14 HKT 2019 From /weblog/database/vendor

misc


Few distributed SQL DB vendor information - http://www.infoq.com/news/2013/11/sql-newsql-nosql

Approximation DB - http://highscalability.com[..]e-200x-faster-without-having-to-pay.html

Discuss and compare difference technology of querying journey(log) data - http://www.infoq.com[..]on-log-and-data-storage-query-techniques

SAP HANA - https://www.google.com/search?q=sap+hana

(google search) (amazon search)


Mon Oct 14 21:44:12 HKT 2019 From /weblog/software_engineering

review


Why code review beats testing: evidence from decades of programming research - http://kev.inburke.com[..]the-best-ways-to-find-bugs-in-your-code/

1: Review often
2: Review informal and short
3: Review with difference people
4: Keep it positive
5: Enjoy it

http://www.makinggoodsoftware.com[..]/08/06/5-tips-to-make-good-code-reviews/

Why review on naming is important - http://swreflections.blogspot.com.au[..]code-and-code-reviews-whats-in-name.html

Maybe useful... can take a look - https://www.ibm.com[..]ary/11-proven-practices-for-peer-review/ http://spin.atomicobject.com/2013/10/18/code-review/ http://www.yegor256.com/2015/02/09/serious-code-reviewer.html

checklist - http://technotes.towardsjob.com[..]com/java/code-review-checklist-for-java/ http://blog.fogcreek.com[..]-with-our-code-review-checklist-example/

another doc about review - http://www.lornajane.net[..]ode-reviews-before-you-even-run-the-code

https://www.infoq.com/articles/effective-code-reviews <- also a list

giving-better-code-reviews - https://medium.com[..]ter-code-reviews-16109e0fdd36#.hvku9f942

Measuring software engineering competency - http://www.savvyclutch.com[..]asuring-software-engineering-competency/

http://www.funretrospectives.com/

code review something you don't know - https://maxbittker.com/code-review/ https://dev.to[..]w-to-review-code-you-dont-understand-pc7

https://dev.to[..]ood-code-reviews-and-win-colleagues-2dc8

https://medium.com[..]/code-review-best-practices-19e02780015f

https://medium.freecodecamp.org[..]-for-effective-code-reviews-e30b5c95204a

https://www.fogbugz.com/blog/code-review-best-practices

https://dzone.com[..]80%9C-4-questions%E2%80%9D-retrospective

https://google.github.io/eng-practices/review/reviewer/

(google search) (amazon search)


Sun Oct 13 21:53:51 HKT 2019 From /weblog/history

hardware


A History of Hard Drives - https://www.backblaze.com/blog/history-hard-drives/

【Lynn 寫點科普】你知道你正在用的電腦是 70 年前發明的馮紐曼架構嗎? - https://www.inside.com.tw/2017/06/05/von-neumann-architecture

A Brief History of FPGA - https://makezine.com/2019/10/11/a-brief-history-of-fpga/

(google search) (amazon search)


Thu Oct 03 22:17:01 HKT 2019 From /weblog/history

people


https://list25.com/top-25-facts-about-esther-afua-ocloo

(google search) (amazon search)


Wed Oct 02 22:25:44 HKT 2019 From /weblog/history

ancient


https://www.nationalgeographic.com[..]cience/prehistoric-world/mass-extinction

(google search) (amazon search)


Tue Oct 01 20:26:51 HKT 2019 From /weblog/quote

love


"The difficulty with marriage is that we fall in love with a personality, but must live with a character." -- Peter De Vries

"Marrying for love may be a bit risky, but it is so honest that God can't help but smile on it." -- Josh Billings

Lucretius - "We are each of us angels with only one wing, and we can only fly by embracing one another."

Robert Louis Stevenson - "Marriage: A friendship recognized by the police."

Nicolas de Chamfort - "There are more people who wish to be loved than there are who are willing to love."

Edward Abbey "Love implies anger. The man who is angered by nothing cares about nothing."

Victor Hugo "To love is to act."

W. Somerset Maugham - "Marriage is a very good thing, but I think it's a mistake to make a habit out of it."

W. Somerset Maugham - "The love that lasts longest is the love that is never returned."

Helen Rowland - "Never trust a husband too far, nor a bachelor too near."

Marlene Dietrich - "Once a woman has forgiven her man, she must not reheat his sins for breakfast."

Josh Billings - "Love looks through a telescope; envy, through a microscope."

Friedrich Nietzsche - "It is not a lack of love, but a lack of friendship that makes unhappy marriages."

Thomas Aquinas - "The things that we love tell us what we are."

King Edward VIII - "When you're bored with yourself, marry and be bored with someone else."

Christian Nestell Bovee - "Our first and last love is self-love."

Pedro Calderon de la Barca - "When love is not madness, it is not love."

Maurice Chevalier - "The crime of loving is forgetting."

Leonardo da Vinci - "Art is never finished, only abandoned."

Joyce Brothers - "The best proof of love is trust."

Andre Maurois - "A successful marriage is an edifice that must be rebuilt every day."

Lorraine Hansberry - "There is always something left to love. And if you ain't learned that, you ain't learned nothing."

Vincent Van Gogh - "The more I think about it, the more I realize there is nothing more artistic than to love others."

Pindar - "Every gift which is given, even though is be small, is in reality great, if it is given with affection."

Tom Robbins - "We waste time looking for the perfect lover, instead of creating the perfect love."

https://list25.com/25-deep-truth-relationship-memes

(google search) (amazon search)


Mon Sep 30 13:28:18 HKT 2019 From /weblog/business

successful


She, start her career as beautician, and end as CIO - http://www.informationweek.com[..]rintableArticle.jhtml?articleID=47902662

Tom hardware sold for US$15-20 Million... I guess this is successful? http://mashable.com/2007/04/08/toms-hardware/

Successful story of local store - http://hk.knowledge.yahoo.com/question/?qid=7006092303309

Not rich not famous, why programming? - http://steve-yegge.blogspot.com[..]06/07/get-famous-by-not-programming.html

Way to success in career, proactive and not too aggressive - http://cn.wsj.com/big5/20110120/eoe083608.asp

7. I think I know why I admire micro-ISVs.

Some of my fascination with micro-ISVs is rooted in my wonderings about the path of my career over the long term.

When I was 22, I believed that I could write code until age 65. I saw no reason why I could not be a software developer for my entire professional career. Some folks told me that being a coder is a burnout job, but I didn't believe them.

I am 36 now, and I think I have a better understanding of things. I am starting to realize that someday I may actually want to make a career change. I am trying to picture myself running an ISV when I am 55, but I just don't see it. Running a company can be awfully stressful sometimes. Will I still want to be doing this in two more decades?

My prospects for a second career are bleak. The cold reality is that I only know how to do one thing. Instead of looking for a second career, maybe I should be looking for a way to stay in software.

This is one of the things I like about micro-ISVs. The lifestyle looks very different. The workflow looks like it might be a lot less stressful. Running a micro-ISV looks more like a marathon and less like a sprint.

At my recent lunch with Thomas Warfield (Pretty Good Solitaire), I asked him if he thought he could still be running his micro-ISV at age 50. He said yes. Warfield is 40 now, so this is not the perspective of a naive young person just getting started. I believe him, and his answer makes me wonder if somebody I will be running some sort of a micro-ISV as my full-time job.

http://msdn.microsoft.com[..]-us/dnsoftware/html/software10012004.asp

而其他實際上更重要的,卻很少被認真考量,比如牙齒接觸到那些金屬餐具的感覺,或是人們將餐具拿在手裡的平衡感。每件餐具的持續可用性也很重要,餐具的防滑性,它和食物的摩擦等等。- http://www.inside.com.tw/2012/11/12/dustin-curtis-the-best

探秘麥肯錫如何“無私”崛起, a lot about how they dress? - http://cn.wsj.com/big5/20130918/eoe073009.asp?source=rss

賈伯斯、坎貝爾、葛洛夫三位大師教我的事 - http://www.inside.com.tw/2016/04/14/jobs-campbell-grove

https://medium.com[..]productivity-not-efficiency-4ed4fe9a454f

【康揚】攜手中國山寨商,「反著做」前進印度市場!「比修正錯誤的速度」,嘉義輪椅王賣到40國
- https://yaoindia.com/archives/28634

(google search) (amazon search)


Sun Sep 22 21:13:11 HKT 2019 From /weblog/photographic/tutorial

lighting


Good use of night make everthing change - http://www.avbuzz.com/bbs/model/model-thread-80887.html

Tutorial: How to shoot a martini splash photo using only speedlights - https://www.dpreview.com[..]ly-speedlights?ref_=pe_1674010_132618830

An ok book that introduce how to setup lighting for indoor portrait - http://www.books.com.tw/exep/prod/booksfile.php?item=0010353837

https://www.wildcreatureshongkong.org[..]post/2019/09/22/TO-FLASH-or-not-to-flash

(google search) (amazon search)



Tue Sep 17 21:45:01 HKT 2019 From /weblog/health

sick


發燒?忍一忍就好了 - http://cn.wsj.com/big5/20110308/hea075907.asp http://cn.wsj.com/big5/20110801/hea073957.asp?source=rss

第一天早餐有黑芝麻牛奶蛋花麥皮1碗;午餐有紅/白米飯1碗、紅蘿蔔青椒炒牛肉及士多啤梨6粒;小食有合桃及綠茶1杯;晚飯有紅/白米飯1碗、蒜茸炒生菜、雞絲蝦仁炒蛋及橙1個。- http://www.yimho.com/1452.html

為什么有些感冒總不見好? - http://chinese.wsj.com/big5/20140416/hea113624.asp

如何應對醫學無法解釋的症狀 - http://cn.wsj.com/big5/20140318/hea074412.asp?source=rss

https://www.zmescience.com[..]ience/difference-common-cold-flu-0432423

http://www.bbc.com[..]e-chicken-soup-and-vitamin-c-really-work

So, what to do about it? Scheduling surgery for when the body is best placed to cope with it is one solution. For heart surgery, that might be the afternoon, but it may differ for other interventions. For instance, O’Neill’s study of wound healing suggested that more collagen is laid down when injuries are sustained during the daytime, which may be associated with greater scarring. - http://www.bbc.com[..]is-there-a-worst-time-of-day-to-get-sick

(google search) (amazon search)


Fri Sep 06 20:59:19 HKT 2019 From /weblog/misc

document


How to write good user guide? http://headrush.typepad.com[..]onate_users/2007/03/the_best_user_t.html

Ron Jeffries' opinions of documentation in XP - http://xprogramming.com/xpmag/Ferlazzo.htm

http://www.jankoatwarpspeed.com[..]s-for-writing-an-effective-tutorial.aspx

https://herbertograca.com[..]/08/12/documenting-software-architecture

(google search) (amazon search)


Fri Sep 06 20:56:50 HKT 2019 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

https://www.janmeppe.com/blog/regex-for-noobs/

(google search) (amazon search)


Fri Sep 06 20:54:59 HKT 2019 From /weblog/design/examples

Serialization


What serialization is bad - http://cr.openjdk.java.net/~briangoetz/amber/serialization.html

(google search) (amazon search)


Tue Sep 03 22:11:35 HKT 2019 From /weblog/health

skin


https://www.webmd.com[..]treatments/ss/slideshow-scalp-conditions

Aloe - https://www.webmd.com[..]reatments/ss/slideshow-aloe-uses-dangers

(google search) (amazon search)


Sun Sep 01 21:11:09 HKT 2019 From /weblog/trip/travelling

Indonesia


遊記分享 - 詩巴丹神山十二日瘋狂之旅 (更新左最美的神山16/3) - http://go2nature.net[..]t=0&sid=af04440b821a247a2384f9f4e5ec15e1

http://martinfowler.com/bliki/Saba.htmlReally need to go this place once - http://thenatureoftheworlds.blogspot.hk[..]2/pangrango-national-park-indonesia.html

Really need to go this place once - http://thenatureoftheworlds.blogspot.hk[..]2/pangrango-national-park-indonesia.html

【印尼】峇里島十大必去景點和體驗 - http://blog.kkday.com/2016/11/Bali10mustdo.html

http://www.travelettes.net/hidden-paradise-in-indonesia/

【隱世天堂推介】吉利群島海天一色 峇里都要企埋一邊 - https://hk.lifestyle.appledaily.com[..]style/realtime/article/20190829/59983709

(google search) (amazon search)


Thu Aug 22 08:00:00 HKT 2019 From /weblog/software_engineering/testing

antipattern


The evil test:

1. Evil tests create a lock on how the code is implemented.
2. Cause duplication.
3. Builds uncertainty on the tests (red is meaningless).
4. Decrease productivity.
5. Discourage change.

http://www.makinggoodsoftware.com/2012/01/27/the-evil-unit-test

use thread in junit - http://softwareintegrityblog.com[..]blog/2007/11/05/false-positives-in-junit

Don't try to test everything - http://www.nearinfinity.com[..]ay?entry=unit_testing_avoiding_extremism

Why TDD fail? Because test is too complicate to write - http://agile.dzone.com/news/why-you-fail-tdd ( I agree it a lot )

Hard to test something? Unreadable tests? Slow running tests? It takes too long to write a test? Some solution suggested - http://www.stephenchu.com[..]/last-d-in-tdd-means-more-than-just.html

Comment out test so that the code compile - http://martinfowler.com/bliki/TestCancer.html

A list of TDD antipattern - http://blog.james-carr.org/?p=44 http://www.exubero.com/junit/antipatterns.html

And the long discussion using random in unittest - http://tech.groups.yahoo.com[..]rivendevelopment/message/20458?var=1&l=1
Here is an example of using random in unittest, it actually same for every new instance! - http://www.skizz.biz/archives/000568.html

Test abstraction smells - http://agileinaflash.blogspot.com[..]com/2011/11/test-abstraction-smells.html

Basically, we should keep it simple, and driven the development rather than post test - http://blogs.telerik.com[..]stteam/Posts/13-01-24/top-5-tdd-mistakes

A good list of anti-pattern - https://techblog.betclicgroup.com[..]2014/05/06/getting-unit-testing-to-fail/
Test rely on shell script return is difficult to maintain, say the script running at background can cause problem - http://stuartmarks.wordpress.com[..]m/2014/01/10/another-shell-test-pitfall/

Six Things That Go Wrong With Discussions About Testing - http://www.satisfice.com/blog/archives/1728

https://codurance.com/2019/08/21/seven-testing-sins/

(google search) (amazon search)