RSS feed [root] /




login:

password:

title search:




 


Thu Jun 30 11:18:51 HKT 2016



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

Sun Mar 26 00:09:52 HKT 2017 From /weblog/java/string

regex


Introduction to a library which support faster regular expression processing: http://weblogs.java.net[..]ite/archive/2006/03/a_faster_java_r.html http://www.javaadvent.com[..]-expression-library-benchmarks-2015.html

Regex helper - https://github.com/VerbalExpressions/JavaVerbalExpressions

java-regular-expressions-cheat-sheet - https://zeroturnaround.com[..]abs/java-regular-expressions-cheat-sheet

(google search) (amazon search)


Fri Mar 24 10:58:39 HKT 2017 From /weblog/security

password


Make sure all your passwords are 12 characters or more, Use bcrypt or PBKDF2 exclusively to hash anything you need to be secure. - http://www.codinghorror.com/blog/2012/04/speed-hashing.html

Password is only worked for one time - http://www.mobileread.com/forums/showthread.php?threadid=6462

crack captcha - http://sam.zoy.org/pwntcha/

Java password mask - http://java.sun.com[..]er/technicalArticles/Security/pwordmask/

OpenID resource - http://openid.net/ http://www.arachna.com[..]ge/spidaman/20070225#the_openid_snowball http://developers.sun.com/identity/ http://www.theserverside.com[..]_id=46569&asrc=EM_NLN_2030603&uid=703565

OpenID explain - http://ravichodavarapu.blogspot.com/2007/06/what-is-openid.html

A technique that crack winxp password at 3 min - http://www.infoq.com/news/2007/09/rainbowtables

Using image as password - http://dsc.discovery.com/news/briefs/20060306/password_tec.html

The other interesting idea, Evolving Password - http://www.docuverse.com[..]uid=79730e53-1d30-47ae-98e8-abb55201429b

Passphrase Evangelism - http://www.codinghorror.com/blog/archives/000360.html

Rainbow Hash Cracking - http://www.codinghorror.com/blog/archives/000949.html , add salt (token) to prevent it - http://blog.cfelde.com/2011/04/hashing-passwords/

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? - http://www.baekdal.com/tips/password-security-usability

Discussion about if some old suggested rules about still valid or not - http://queue.acm.org/detail.cfm?id=2422416&ref=fullrss

Using quantum for password? - https://www.inside.com.tw/2017/03/01/quantum-key-distribution

Salted Password Hashing - Doing it Right - https://crackstation.net/hashing-security.htm http://www.infoq.com[..]w-to-encrypt-the-user-password-correctly

(google search) (amazon search)



Thu Mar 23 10:50:13 HKT 2017 From /weblog/science

misc


http://list25.com[..]phics-that-will-blow-your-mind/?view=all

http://list25.com[..]n-that-actually-occur-on-earth/?view=all

http://list25.com[..]ieved-that-actually-arent-true/?view=all

misconceptions - http://list25.com[..]-everyone-wants-you-to-believe/?view=all

Biology-mysteries - http://list25.com[..]manity-has-not-figured-out-yet/?view=all

Inventions - http://list25.com[..]-that-revolutionized-our-world/?view=all

Water - http://list25.com/25-odd-facts-about-water/?view=all

River - http://list25.com[..]that-you-probably-did-not-know/?view=all

statistics-about-life-and-living - http://list25.com[..]atistics-about-life-and-living/?view=all

plants - http://list25.com[..]ique-plants-you-have-ever-seen/?view=all

time - http://list25.com[..]-mess-up-your-biological-clock/?view=all

Gold - http://list25.com[..]gold-that-might-just-amaze-you/?view=all

Colour - http://list25.com[..]lors-that-you-never-saw-coming/?view=all

Richard Feynman - https://thestandnews.com[..]%8C%E4%B8%8D%E7%A2%BA%E5%AE%9A%E6%80%A7/

About palm-oil - http://list25.com[..]g-and-sad-facts-about-palm-oil/?view=all

How name related to face - http://www.zmescience.com/science/persons-name-and-face-matching/

biggest-scientific-discoveries - http://list25.com[..]tific-discoveries-in-history-of-mankind/

weird-science-facts-you-may-not-know - http://list25.com/25-weird-science-facts-you-may-not-know/

(google search) (amazon search)


Wed Mar 22 10:27:28 HKT 2017 From /weblog/java/fundamental

garbage


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

(google search) (amazon search)


Wed Mar 22 00:08:56 HKT 2017 From /weblog/business

meeting


Tips for getting the most from meeting - http://cn.wsj.com/big5/20120224/eoe082439.asp?source=rss

No meeting should ever be more than an hour, under penalty of death.
Every meeting should have a clearly defined mission statement.
Do your homework before the meeting.
Make it optional.
Summarize to-dos at the end of the meeting.

http://www.codinghorror.com[..]/02/meetings-where-work-goes-to-die.html

Good and bad thing from meeting - http://www.targetprocess.com/blog/2013/01/meetings-are.html

「兩個披薩」和「六頁備忘錄」, meeting attendant should not eat more than 2 plazas and the discussion item should not more than 6 pages - http://www.businessinsider.com.au[..]zza-rule-for-productive-meetings-2013-10 http://www.inside.com.tw[..]zza-rule-for-productive-meetings-2013-10

http://softwaredevelopmenttoday.blogspot.ch[..]ve-signs-your-meetings-are-waste-of.html <- I like this one: "Sign 4: Someone asks: "who will document the results of this meeting?""

上班族必學-在會議中教人刮目相看的十招, I double if it working...... - http://thehousenews.com[..]%B8%E7%9C%8B%E7%9A%84%E5%8D%81%E6%8B%9B/

http://www.yegor256.com[..]7/13/meetings-are-legalized-robbery.html

A team might agree around the conference table, but then express doubts in the “safer” environment of the hallway or coffee shop. - https://marketoonist.com[..]14/03/the-meeting-after-the-meeting.html

(google search) (amazon search)


Tue Mar 21 14:31:55 HKT 2017 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

(google search) (amazon search)


Tue Mar 21 14:30:43 HKT 2017 From /weblog/security

fundamental


Introduction to Cryptography Basic Principles - http://www.thegeekstuff.com/2012/07/cryptography-basics/

http://www.thegeekstuff.com[..]01/diffie-hellman-key-exchange-algorithm

http://meri-stuff.blogspot.hk[..]tography-theory-1-meaning-of-secure.html

getting-a-list-of-available-cryptographic-algorithms - http://invariantproperties.com[..]t-of-available-cryptographic-algorithms/

Differential privacy - http://www.infoq.com/cn/articles/differential-privacy-intro https://www.infoq.com/articles/differential-privacy-intro

(google search) (amazon search)


Tue Mar 21 10:11:45 HKT 2017 From /weblog/trip/travelling

Europe


Europe at autumn - http://cn.wsj.com/big5/20130926/lif080725.asp?source=rss

Scotland castle - http://thenatureoftheworlds.blogspot.com[..]m/2013/12/dunnottar-castle-scotland.html

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

amazing-things-unique-about-scotland - http://list25.com[..]g-things-unique-about-scotland/?view=all

Coldest city! - http://www.damncoolpictures.com[..]tsk-in-russia-coldest-city-in-world.html

fascinating-facts-about-modern-greece - http://list25.com[..]ting-facts-about-modern-greece/?view=all

things-that-will-make-you-want-to-visit-greenland - http://list25.com[..]ke-you-want-to-visit-greenland/?view=all

If you've never been to Norway, this is what you've been missing out on. - http://www.damncoolpictures.com[..]yone-needs-to-visit-norway-at-least.html

Great church - http://list25.com/25-great-church-buildings-challenge/?view=all

Tips - http://bikethemoment.com/traveltips/

「世界最美海灘」的Navagio - http://hk.apple.nextmedia.com[..]realtime/international/20140709/52671530

【夏日芬蘭】落水玩漂浮 氹氹轉望藍天 - http://hk.apple.nextmedia.com[..]om/realtime/supplement/20140624/52619256

ALPS - http://list25.com[..]ns-you-should-definitely-visit-the-alps/

巴爾幹醉人風景 - http://backpackersopoor.blogspot.com/2015/08/blog-post.html

european-places-so-beautiful-you-might-cry - http://list25.com[..]ces-so-beautiful-you-might-cry/?view=all

In the mountains of the Czech Republic lies a 55 meter observation deck with a gigantic slide. Franek Company Architects built the slide in collaboration with Taros Nova and it stands at 1116 meters above sea level. - http://www.damncoolpictures.com[..]-czech-republic-has-giant-slide-and.html

canary-islands - http://list25.com[..]-should-be-on-your-bucket-list/?view=all

Parthenon at Greek - http://list25.com[..]ting-facts-about-the-parthenon/?view=all

Alps - http://global.britannica.com/place/Transylvanian-Alps

prague - http://list25.com[..]ng-in-prague-is-not-a-bad-idea/?view=all

【托斯卡尼】Arezzo 阿雷佐・踏進電影《美麗人生》的山城場景 - http://travelwithmice.blogspot.hk/2016/06/arezzo.html

巴爾幹半島路線圖 - 實用篇 - http://backpackersopoor.blogspot.hk/2016/07/blog-post_18.html

exotic-places-in-eastern-europe - http://list25.com[..]ces-in-eastern-europe-you-have-to-visit/

(google search) (amazon search)


Sun Mar 19 23:36:01 HKT 2017 From /weblog/computer+science

Quantum


http://www.infoq.com/cn/news/2017/03/ibm-qiskit-quantum-computing https://www.infoq.com/news/2017/03/ibm-qiskit-quantum-computing

(google search) (amazon search)


Sun Mar 19 10:25:58 HKT 2017 From /weblog/design

microservice


The Hidden Dividends of Microservices - http://queue.acm.org/detail.cfm?ref=rss&id=2956643

Best practices - http://www.infoq.com[..]constructing-micro-service-system-part03

http://basho.com/posts/technical/microservices-please-dont/

Compare using library / service - http://blog.jessitron.com/2017/01/dependencies.html http://www.infoq.com[..]cy-management-whether-library-or-service

(google search) (amazon search)



Wed Mar 15 15:10:04 HKT 2017 From /weblog/photographic

tutorial


Photo editing - http://digiphoto.techbang.com[..]pair-outdoor-photo-map-steps-for-example http://www.mikkolagerstedt.com[..]1/3/basic-lightroom-adjustments-fog-mist

About marco photograhy - http://www.dpreview.com[..]7237/depth-of-field-in-macro-photography

動 態 攝 影 分 享 - 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

India guide - http://www.dchome.net/viewthread.php?tid=481974

請問點影一個人行緊過黎既情景 - http://www.dchome.net/viewthread.php?tid=753867

http://digital-photography-school.com[..]chool.com/how-to-take-great-group-photos

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 astro landscape photo - http://www.hokoon.edu.hk/astro/photocontest/astro_landscape.html

Star photo processing - http://blog.deepskycolors.com/tutorials.html

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 create landscape photo - http://www.dpreview.com/articles/9496515776/the-dslr-field-camera

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

HDR - http://500px.com/blog/750/tutorial-learn-hdr-photography http://wlcreative.com/blog/hdr-inroduction/ http://wlcreative.com/blog/hdr-partii/ http://wlcreative.com/blog/hdr-partiii/ http://wlcreative.com[..]iv-%E5%9F%B7%E8%B5%B0%E9%AC%BC%E5%BD%B1/

你也可以做得到]超簡易DIY證件相拍攝 - http://www.dcfever.com/column/read.php?id=2070

淺談燈光人像, 逆光和壓光 - http://www.dcfever.com/column/read.php?id=2020 http://wlcreative.com[..]%87%E7%87%88%E5%85%89%E4%BA%BA%E5%83%8F/ http://www.dcfever.com/column/read.php?id=3988

Top 5 Tips to Photograph Stars & Night Sky - http://www.mikkolagerstedt.com[..]top-5-tips-to-photograph-stars-night-sky http://www.mikkolagerstedt.com[..]otography-tutorial-lightroom-5-photoshop

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

How to take cloud sea photo - http://www.dcfever.com/column/read.php?id=2273

Informaton of light pillar - http://www.islandnet.com/~see/weather/eyes/pillars.htm

How to take Lightning photos - http://www.dcfever.com/column/read.php?id=2456

How to take children photo - http://www.dcfever.com/column/read.php?id=2487

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

水底攝影入門(一):水底光線的考慮 - http://www.dcfever.com/column/read.php?id=2459

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 wild life - http://cn.wsj.com/big5/20150601/PHO101044.asp

TimeLapse tutorial - http://www.dcfever.com/column/read.php?id=3381

Basic lightroom editing tutorial - http://www.dcfever.com/column/read.php?id=2934 http://wlcreative.com[..]%83%E5%80%8B%E5%B0%8F%E6%8A%80%E5%B7%A7/

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

享受長曝的樂趣 - http://photobygod.blogspot.hk/2016/05/NISIND1000.html

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

拍出令人心動的女生照片,分享如果教導模特兒擺 POSE - http://www.dcfever.com/column/read.php?id=4370

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[..]-ideas-learn-to-tone-and-color-control#_

(google search) (amazon search)


Tue Mar 14 23:52:20 HKT 2017 From /weblog/learning

code


http://www.infoq.com/articles/kids-enthusiasm-coding

How to teach kid love coding - http://cn.wsj.com/big5/20170314/LIF170612.asp

(google search) (amazon search)



Mon Mar 13 23:20:23 HKT 2017 From /weblog/health/food

Health Meal


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

(google search) (amazon search)


Sun Mar 12 16:09:32 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/

(google search) (amazon search)


Fri Mar 10 17:49:16 HKT 2017 From /weblog/java/concurrency

Map


putall can cause ConcurrentModifcationException - http://cr.openjdk.java.net[..]ses/sun/management/Agent.java.sdiff.html

Note on writing CopyOnWrite wrapper - http://flyingspaniel.blogspot.com[..]ot.com/2010/12/copyonwrite-wrappers.html

Sometime this is a bit difficult for Chinese to be a good programmer, recently some colleague and me discuss about the behaviour of this class and look like we have difficult understanding

A: ConcurrentHashMap support for locking as this is thread-safe
B: ConcurrentHashMap is thread safe for read but not for write because there is no lock, we still need to have external lock to keep it thread safe. By the way, I get ConcurrentModificationException from this before.
C: ConcurrentHashMap don't support for locking but they still thread safe for all operations, which is how "This class is fully interoperable with Hashtable in programs that rely on its thread safety but not on its synchronization details." mentioned.

Too good that we can actually take a look at the source code to see what going on nowadays rather than just guessing - http://www.google.com[..]HashMap&sourceid=opera&ie=utf-8&oe=utf-8 By the way, this constructor is useful for a lot of concurrency access but actually not many developer notice about this - http://java.sun.com[..]rrentHashMap.html#ConcurrentHashMap(int, float, int)

Lazy initialization of map values - http://artisans-serverintellect-com.si-eioswww6.com[..]ect-com.si-eioswww6.com/default.asp?W122

HashMap.get() can cause infinite loop - http://lightbody.net[..]5/07/hashmapget_can_cause_an_infini.html

Discussing the effect of initCapacity() of HashMap in Java - http://saloon.javaranch.com[..]ltimatebb.cgi?ubb=get_topic&f=1&t=021171

OpenJDK and HashMap …. Safely Teaching an Old Dog New (Off-Heap!) Tricks - http://www.infoq.com/articles/Open-JDK-and-HashMap-Off-Heap

We can run search in ConcurrenctHashMap - https://dzone.com/articles/concurrenthashmap-in-java8

(google search) (amazon search)


Fri Mar 10 17:39:38 HKT 2017 From /weblog/computer+science

Algorithm


algorithm dictionary - http://programmers.stackexchange.com[..]5/is-there-an-encyclopedia-of-algorithms https://xlinux.nist.gov/dads

How to answer algorithm question - http://blog.palantir.com[..]/26/how-to-rock-an-algorithms-interview/

List of algorithm - http://en.wikipedia.org/wiki/List_of_algorithms

Huffman encoding - http://www.dreamincode.net[..]50-an-in-depth-look-at-huffman-encoding/

Discussion of using difference algorithm to get Fibonacci number, the matrix modeling is really nice - http://bosker.wordpress.com[..]/04/29/the-worst-algorithm-in-the-world/

What O(log n ) mean - http://kevinrodrigues.com[..]log/2010/01/06/analysis-of-an-algorithm/

Introduction to pagerank - http://css.dzone.com/articles/pagerank-5-minutes

Introduction to B+ tree - http://www.ovaistariq.net[..]indexes-and-how-they-impact-performance/

Text Editors: Algorithms and Architectures - http://www.drdobbs.com[..]&siteSectionName=architecture-and-design

Matching Wildcards: An Algorithm - http://www.drdobbs.com[..]888?elq=1dd35f241fda4e7e816c3d5e4d5451c2

http://austingwalters.com[..]everyday-algorithms-elevator-allocation/

http://javarevisited.blogspot.hk[..]ructure-and-algorithm-books-in-java.html

http://www.bigocheatsheet.com/

一致性算法 - https://en.wikipedia.org/wiki/Paxos_(computer_science) http://www.infoq.com/cn/articles/raft-paper https://ramcloud.atlassian.net[..]ki/download/attachments/6586375/raft.pdf

https://newnxa.blogspot.hk[..]t-important-algorithms-of-graph-and.html
https://newnxa.blogspot.hk[..]-is-algorithm-algorithm-is-any-well.html

(google search) (amazon search)


Thu Mar 09 23:13:09 HKT 2017 From /weblog/design

visibility


Someone saying that having private method is anti-pattern, here is the discussion - http://www.infoq.com/news/2008/01/private-methods-tdd-design

Discussion of encapsulation - http://niket-this.blogspot.com[..]/encapsulation-does-it-really-exist.html

My view on this is that most of the time there's little value in self-encapsulation. The value of encapsulation is proportional to the scope of the data access. Classes are usually small (at least mine are) so direct access isn't going to be an issue within that scope. Most accessors are simple assignments for the setter and retrieval for the getter, so there's little value in using them internally. - https://martinfowler.com/bliki/SelfEncapsulation.html

(google search) (amazon search)


Tue Mar 07 22:50:23 HKT 2017 From /weblog/computer+science

Linguistics


Introduction of various java linguistics tools:

Lingpipe
OpenNLP
opennlp.maxent
Inflector

http://www.devx.com[..]/Article/35088/1954?pf=true#codeitemarea

Authors homepage - http://www.rodcoffin.com/ http://netsmith.blogspot.com/

Some other Natural Language Processing links - http://www.markhneedham.com[..]-attempt-at-natural-language-processing/

How google improve the translation - https://research.googleblog.com[..]016/09/a-neural-network-for-machine.html

(google search) (amazon search)


Sun Mar 05 00:19:01 HKT 2017 From /weblog/science/animal

current


http://www.damncoolpictures.com[..]13/12/22-amazing-facts-about-tigers.html

animals-with-insane-survival-adaptations - http://list25.com[..]th-insane-survival-adaptations/?view=all

rarest-animals-in-the-world - http://list25.com/25-of-the-rarest-animals-in-the-world/?view=all

fastest-land-animals - http://list25.com/25-fastest-land-animals/?view=all

unreal-animals-you-wont-believe-exist - http://list25.com[..]animals-you-wont-believe-exist/?view=all

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

Most hated insects - http://list25.com/25-most-hated-insects-ever-known-to-man/

awesome-animals - http://list25.com/25-awesome-animals/?view=all

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

little-known-facts-about-arctic-foxes - http://list25.com[..]known-facts-about-arctic-foxes/?view=all

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

adorable-photos-of-yawning-animals - http://list25.com/25-adorable-photos-of-yawning-animals/?view=all

animals-with-outrageous-body-proportions - http://list25.com[..]th-outrageous-body-proportions/?view=all

new-species-discovered-in-2014 - http://list25.com[..]new-species-discovered-in-2014/?view=all

lethal-animals-you-hope-to-never-see - http://www.damncoolpictures.com[..]ethal-animals-you-hope-to-never-see.html

Ant - https://www.quantamagazine.org[..]he-remarkable-self-organization-of-ants/ http://list25.com/25-reasons-that-ants-are-awesome/?view=all

Spiders - http://list25.com[..]fying-but-insanely-interesting/?view=all

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

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

Shoebill Stork - http://www.damncoolpictures.com[..]05/if-you-ever-doubted-existence-of.html

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

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

popular-myths-about-animals-that-you-probably-believe - http://list25.com[..]about-animals-that-you-probably-believe/

scary-creatures-living-in-australia - http://www.damncoolpictures.com[..]scary-creatures-living-in-australia.html

strangest-prehistoric-creatures - http://list25.com/25-strangest-prehistoric-creatures/

unusual-cat-species - http://www.damncoolpictures.com/2015/09/unusual-cat-species.html

most-powerful-bites-in-the-animal-kingdom - http://list25.com/25-most-powerful-bites-in-the-animal-kingdom/

freakish-looking-animals - http://list25.com/25-freakish-looking-animals/

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

most-invasive-creatures-on-earth - http://list25.com/25-most-invasive-creatures-on-earth/?view=all

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

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

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

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

underwater - http://list25.com[..]and-other-underwater-creatures/?view=all

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

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

biggest record - http://list25.com/25-larger-than-life-animals/?view=all

stunningly-beautiful-insects - http://list25.com/25-stunningly-beautiful-insects/?view=all

largest prey - http://list25.com/25-largest-birds-of-prey/?view=all

Manatees - http://list25.com[..]-show-how-fascinating-they-are/?view=all

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

strange-animals - http://www.damncoolpictures.com[..]ange-animals-that-will-confuse-your.html

red animal - http://list25.com[..]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.” - http://www.zmescience.com[..]gy/animals-ecology/wild-elephants-sleep/

(google search) (amazon search)


Sun Mar 05 00:10:32 HKT 2017 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

(google search) (amazon search)


Sat Mar 04 17:45:05 HKT 2017 From /weblog/learning

speak


How to prevent "um...." - https://www.nytimes.com/2017/02/24/us/verbal-ticks-like-um.html

(google search) (amazon search)


Sat Mar 04 17:44:14 HKT 2017 From /weblog/learning

Thinking


How to develop imagination - http://blog.sina.com.cn/s/blog_47841af70100ca7r.html

7 Important Creative Thinking Skills - http://www.business-strategy-innovation.com[..]06/7-important-creative-thinking-skills/

Are you interested to be genius? - http://www.studygs.net/genius.htm

4 ways of treating problems
Absolution: Ignore the problem and hope it either fixes itself or someone else solves it. Default.
Resolution: Either look to the past for previous solutions to the same problem OR identify and remove the causes of the problem. Satisfice.
Solution: Analyse using quantitative methods and / or experimentation to try to yield the best possible outcome. Optimise.
Dissolution: Eliminate the problem and prevent it from arising again by redesigning the system that has the problem or its containing system. Idealise.

http://jchyip.blogspot.hk[..]2012/06/4-ways-of-treating-problems.html

言语的非连贯性, 偏重例子, 一图抵千言,提问,回答。 http://blogs.exmertec.com/elvis/entry/5

http://www.inside.com.tw[..]014/03/05/25-things-ive-learn-about-life

阿师看世界永远像小孩子那样看,对琐碎事物的提问永远本着小孩子的好奇心,提出的问题永远是浅得像一个脑子没有发育得好的人。我是因为答不出他的浅问题而知道做学问要从最简单的层面入手,然后一层一层地加上变化。
一九六九年起我不再读他家之作。这行为八二年回港任教后多受批评,反映着中、西为学之道有别。在此之前的西雅图华大,诺斯、麦基、巴泽尔等人知道我选择不读不仅同意,且往往鼓励。他们知道传统的经济理论有很多问题,认为我是个可以全面革新该传统的人选。我自己当时的想法,是书永远读之无尽,求学有读书的时候,也有思想的时候,思想时可以不读最好不读。
http://blog.sina.com.cn/s/blog_47841af70102uxvx.html

这里有一个原则同学们要记住:不重要的学术作品大可不读,但重要的要反复重读,读多遍。不要相信重要作品的简化阐释,因为作者究竟怎样想我们不可能从简化的阐释中学到。 - http://blog.sina.com.cn/s/blog_47841af70102ux5w.html

我自己当时的想法,是书永远读之无尽,求学有读书的时候,也有思想的时候,思想时可以不读最好不读。- http://blog.sina.com.cn/s/blog_47841af70102uxvx.html

培養孩子的創業精神 - http://cn.wsj.com/big5/20140429/lif110851.asp?source=rss

什麼是思考方法? - http://chit-chit-philosophy.blogspot.hk/2015/12/blog-post.html
思考的必要態度:同情理解原則 - http://chit-chit-philosophy.blogspot.hk/2015/12/blog-post_7.html

Critical thinking is an unnatural act. We evolved to survive in a cruel world, not to play around with our hacks. To make things worse, we evolved in a herd, which means that we intuitively respect the authority of the leader. But we also have to be creative, so we have to respect ourselves first. Finding the right dose of self-respect is a crucial thing in creative work. Too little self-respect could destroy our motivation and creativity, and too much will interfere with our ability to estimate the value of our ideas, and can easily result in investing time, money and effort in worthless projects.

Noone is born a critical thinker, but almost anyone can become one. Think about what [Edward de Bono] said:

“The need to be right all the time is the biggest bar to new ideas. It is better to have enough ideas for some of them to be wrong than to be always right by having no ideas”.

http://hackaday.com[..]and-creative-thinking-in-a-hackers-work/

转谈艺术。艺术当然要讲技术,不容易,要多下功夫。论技术,我认为艺术比科学重要。一位技术超凡的画家,想象力不足道,其作品可以卖得起钱。有大成的艺术家呢?单凭技术不足够,加上想象力超凡也不足够——不可或缺的是感情的表达。后者是艺术的主要困难所在。科学是不需要表达感情的。 - http://blog.sina.com.cn/s/blog_47841af70102wca6.html

http://concurrencyfreaks.blogspot.hk[..]/dope-i-should-have-thought-of-that.html

why-facts-dont-change-our-minds - http://www.newyorker.com[..]17/02/27/why-facts-dont-change-our-minds

(google search) (amazon search)