RSS feed [root] /weblog




login:

password:

title search:




 


Tue Jan 17 22:34:04 HKT 2017

weblog


log down some useful resource


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

Sat Aug 26 16:59:04 HKT 2017 From /weblog/trip/travelling

Taiwan


嘉義~東石鰲鼓濕地 - http://blog.udn.com/kocj/5954464

滋補暖胃的台灣冬季美食 - http://cn.wsj.com/big5/20130111/lux072659.asp?source=rss

食金湯經典麵食館 - http://079705551.tw.tranews.com/

2013-08 台中閒遊之旅 - http://go2nature.net/forum/viewtopic.php?p=1260087

2013-08 十天台中台北閒遊:后里 清境 日月潭 平溪線 九份 金瓜石(已全部發表,多謝收看) - http://go2nature.net/forum/viewtopic.php?p=1265218#1265218

台中南投,日光之旅。彩虹眷村,高彩國度。 - http://www.dcfever.com/travel/readtravelogue.php?id=36221

Bike routes - http://sportsroad.hk/archives/101275

【蘭嶼大哉問】看完這個指南,蘭嶼的吃喝玩樂一次搞定! - http://blog.kkday.com/2016/05/OrchidIsland.html

我的三山五嶽(六) 雲浮 玉山 ( 台灣 南投縣 ) - http://www.csleung4.com[..]%E7%B8%A3-/cmbz/57179ac70cf253d6b39a76b4

【綠島】吃住交通玩樂指南 - http://blog.kkday.com/2016/05/greenisland.html

2016多出的假期怎麼過?全台玩樂攻略! - http://blog.kkday.com/2016/10/2016vacation.html#more

【高雄】五個私房秘境報你知 - http://blog.kkday.com/2016/11/kaohsiung5spots.html

歡迎來到大稻埕!30處老舖新店探祕散步地圖 - https://theinitium.com[..]70105-city-travel-taipei-dadaocheng-map/

沁涼一夏!夏日登山,透心涼新體驗! - https://theinitium.com/article/20170810-pickup-newtaipeicity/

(google search) (amazon search)


Sat Aug 26 14:11:22 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/

safepoints - http://performantcode.com/gc/safepoints/

(google search) (amazon search)



Tue Aug 22 10:08:21 HKT 2017 From /weblog/google/development

misc


Google + API - http://developers.google.com/

google sso - http://dystopics.dump.be[..]es-of-x-google-token-and-why-it-matters/

google ajax server api - http://blogs.cocoondev.org/dims/archives/004722.html

Tips of google chat api - http://www.diegoparrilla.com[..]g-google-chart-api-from-server-side.html http://googlemapsapi.blogspot.com[..]ing-chart-api-in-kml-for-quick-data.html


String s = URLEncoder.encode("Há tantos burros mandando em homens de inteligência, que, às vezes, fico pensando que a burrice é uma Ciência", "UTF-8");
URL url = new URL("http://ajax.googleapis.com/ajax/services/language/detect?v=1.0&q="+s);
JSONObject obj = (JSONObject) ((JSONObject)JSONValue.parse(url.getContentAsString())).get("responseData");
System.out.println(obj.get("language"));
System.out.println(obj.get("confidence"));

- http://blog.furiousbob.com[..]2009/07/06/automatic-language-detection/

http://blog.0x1fff.com[..]oogle-open-source-projects-that-you.html

Google cloud platform - https://cloud.google.com/products/compute-engine/

Google JSON library articles - http://blog.ajduke.in/tag/gson/

AI api - https://cloud.google.com/products/machine-learning/

Case study of grpc from tidb - http://www.infoq.com/cn/articles/tidb-and-grpc

(google search) (amazon search)




Mon Aug 21 13:42:11 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

(google search) (amazon search)




Sun Aug 20 22:21:56 HKT 2017 From /weblog/finance

tradingPlatform


https://www.linkedin.com[..]64545-open-source-trading-platforms-list

(google search) (amazon search)


Sun Aug 20 00:55:51 HKT 2017 From /weblog/photographic

long-exposure


10+ Of The Most Epic Long Exposure Shots Ever - http://www.boredpanda.com/interesting-long-exposure-photos/ http://www.dcfever.com/news/readnews.php?id=20049&link=guid

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


(google search) (amazon search)


Sun Aug 20 00:46:47 HKT 2017 From /weblog/health/food

brain


綠茶中的綠茶素能幫助蒙古兒消除上述那個叫APP的垃圾(J. Nutr., Vol.139, pp.1987-1993),也能減低DYRK1A的作用(Plos One, Vol.4, pp.e4606-e4613);這是天然的補健食品,在一些腦筋不靈活的小孩身上,也會帶來好處。 - http://rayswchiu-ej.blogspot.com/2009/11/blog-post_736.html

地中海式飲食在結構上側重於蔬菜、水果、魚類、全麥、堅果、橄欖油﹐配以適量酒精﹐少量紅肉、甜食和白麵包、白米飯等細糧。- http://cn.wsj.com/big5/20120223/hea080615.asp?source=rss

牛油果 健腦最強 - http://hk.apple.nextmedia.com[..]20120323&sec_id=12187363&art_id=16181315
1秒辨認完熟「 牛油果 」 聰明挑選、切開、加速成熟實用法則 - http://www.weekendhk.com[..]%E6%B2%B9%E6%9E%9C-%E5%AE%8C%E7%86%9F/4/

(google search) (amazon search)


Thu Aug 17 14:26:19 HKT 2017 From /weblog/science

nature


蓋亞假說:美麗的神話 - http://thehousenews.com[..]%8E%E9%BA%97%E7%9A%84%E7%A5%9E%E8%A9%B1/

色彩斑斕的動物 - http://cn.wsj.com/big5/20131203/PHO101146.asp?source=rss

地球上仍存活的最古老生物 - http://cn.wsj.com/big5/20140430/PHO082434.asp?source=rss

deep-sea-mysteries-and-oddities-that-will-leave-you-baffled - http://list25.com[..]nd-oddities-that-will-leave-you-baffled/

rare-flowers-that-are-stunning-to-look-at - http://list25.com/25-rare-flowers-that-are-stunning-to-look-at/

earth-facts-that-might-surprise-you - http://list25.com/25-earth-facts-that-might-surprise-you/

north-pole-facts-most-people-are-not-aware-of - http://list25.com[..]s-most-people-are-not-aware-of/?view=all

earth-facts-you-probably-have-not-considered - http://list25.com[..]u-probably-have-not-considered/?view=all

http://www.attenboroughsreef.com/

amazon - http://list25.com[..]he-most-unique-places-on-earth/?view=all

25 Interesting Tidbits About Deserts That Will Make You Glad For Rain - http://list25.com[..]at-will-make-you-glad-for-rain/?view=all

Antarctica is one of the coldest, most desolate places in the world, and today you're going to learn all about it. - http://www.damncoolpictures.com[..]interesting-facts-that-you-probably.html

great-barrier-reef - http://list25.com[..]-reef-facts-youll-want-to-hear/?view=all

Types of mountains - http://www.zmescience.com[..]st/main-types-mountains-earths-ups-downs

bizarre-ocean-phenomena - http://list25.com[..]ean-phenomena-you-wont-believe-are-real/

http://www.zmescience.com[..]ology/animals-ecology/animal-speed-limit

Ocean - http://list25.com[..]ising-ocean-facts-most-people-dont-know/

(google search) (amazon search)


Wed Aug 16 17:07:52 HKT 2017 From /weblog/science

plant


mushrooms - http://list25.com/25-most-bizarre-mushrooms-you-need-to-see/

dangerous-plants - http://list25.com[..]us-plants-that-could-seriously-hurt-you/

Amber - http://www.zmescience.com/science/long-process-amber-creation

Rock - http://www.zmescience.com[..]her/feature-post/rock-cycle-geoloby-abc/

What is the Wilson Cycle, builder and slayer of supercontinents? - http://www.zmescience.com/science/what-is-wilson-cycle/

clouds - http://www.zmescience.com/science/types-of-clouds/

What is THC: the main psychoactive ingredient in marijuana - http://www.zmescience.com/science/what-is-thc-433/

oldest tree - http://www.zmescience.com/science/old-oldest-tree

(google search) (amazon search)


Tue Aug 15 23:21:02 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

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

(google search) (amazon search)


Mon Aug 14 21:30:59 HKT 2017 From /weblog/learning

maths


How to learn maths? Make a story about it - https://hackernoon.com[..]not-to-memorise-mathematics-98fef71aefcf

(google search) (amazon search)


Wed Aug 09 11:37:20 HKT 2017 From /weblog/design

null


Use present and absent rather than NULL - http://binkley.blogspot.com/2012/01/better-than-null.html

Propose of enhancement, null handelers and null reference - http://shemnon.com[..]01/null-handelers-and-null-refere-1.html

How null breaks polymorphism - http://eureka3d.com[..]s-polymorphism-or-the-problem-with-null/ http://eureka3d.com[..]orphism-or-the-problem-with-null-part-2/

Discussion about forbid NULL as parameter and return - http://javablog.co.uk[..]5/07/null-parameters-and-returning-null/

Default object in C# - http://www.kodefuguru.com[..]t/2012/09/25/Default-Objects-with-C.aspx

Discussion about using optional - http://blog.jooq.org/2015/08/20/divided-we-stand-optional/

Some suggest about do something better than use null - https://blog.jetbrains.com/idea/2017/08/code-smells-null

(google search) (amazon search)


Wed Aug 09 00:23:01 HKT 2017 From /weblog/career

productivity


Links of tips of how to be a productivity person - http://freelanceswitch.com[..]-read-productivity-tips-for-freelancers/

Ten ways to ensure that you finish work on time

1. Ensure that you learn from your calls
2. Make sure that you complete an entry for the knowledge base
3. Make sure that the users understand the help desk opening hours.
4. Ensure that you deal with calls effectively.
5. Cut out the unnecessary chatter.
6. Don’t feel guilty about finishing at your appointed time.
7. Organize your day so that the urgent stuff gets done first,
8. Start on time.
9. Some people think that the boss will be impressed by seeing you stay late. A good boss will not be fooled by this
10. A recent survey showed that the longer you stay at work the more your efficiency declines.

- http://blogs.techrepublic.com.com/helpdesk/?p=968

http://manwithnoblog.com[..]0/01/14/improving-your-listening-skills/

http://www.dextronet.com[..]0-best-tricks-of-fooling-myself-to-work/

Don't denial what really happening - http://www.michelemmartin.com[..]blog/2015/08/why-denial-doesnt-work.html

Isolation, Bimodal, habit and rest - https://medium.com[..]roduce-deep-meaningful-work-d9aafc3d32e3

Count 5 second before start - https://betterhumans.coach.me[..]done-with-the-5-second-rule-b7abea890087

(google search) (amazon search)


Tue Aug 08 22:57:56 HKT 2017 From /weblog/software_engineering/SCM

branch


Why merge often - http://queue.acm.org/detail.cfm?id=1643030

http://www.cmcrossroads.com[..]/cgi-bin/cmwiki/view/CM/BranchYesMergeNo

http://paulhammant.com/2013/12/04/what_is_your_branching_model

A lot of resource here - http://www.cmcrossroads.com[..]i-bin/cmwiki/view/CM/BranchingAndMerging

At my company, we tag each CVS module and we use those tags to build releases. That way, we know exactly which code versions each deployment has. Also, developers can check in code at any point while controlling when they release it.

Branches are a major headache, which I avoid whenever possible. You have to worry about maintaining and testing each branch, along with merging changes. I prefer to release the latest and greatest code to each customer. If different customers require different behavior, if statements and configuration files are a lot better than CVS branches.

Branches do make sense if you want to release a minor change to an old release, but upgrading the entire code base is risky. However, high-quality code and testing should reduce that risk.

http://discuss.joelonsoftware.com[..]arent=16312&ixDiscussGroup=3&cReplies=11

Subversion branching technique and tips - http://binkley.blogspot.com[..]version-best-practices-branching_01.html http://www.dehora.net[..]version_tips_dealing_with_branches.html/

Another discussion - http://www.codinghorror.com/blog/archives/000968.html

Branch visualization - http://codicesoftware.blogspot.com[..]07/05/linus-torvalds-on-git-and-scm.html http://www.youtube.com/watch?v=CABIi-Eu2zA

One way of manage branching and merging, the summary is, frequency create new branch for pre-merge instead of one time big merge - http://designbygravity.wordpress.com[..]old-you-about-svn-branching-and-merging/ My colleagues suggest subversion merge tracking can solve the problem without that pre-merge, but I am not sure how that can work... http://blogs.open.collab.net/svn/2007/09/what-subversion.html

No branch? https://cacm.acm.org[..]-of-code-in-a-single-repository/fulltext http://www.infoq.com[..]s/2017/08/How-Google-build-Web-framework

(google search) (amazon search)


Tue Aug 08 18:12:08 HKT 2017 From /weblog/design/distribute

event


Event Bus Implementation(s) - https://hackernoon.com/event-bus-implementation-s-d2854a9fafd5 http://www.infoq.com[..]2017/08/Summary-event-bus-implementation

(google search) (amazon search)


Tue Aug 08 09:54:14 HKT 2017 From /weblog/security

crack


How to use basic UNIX tool to steal other facebook identity - http://blog.mostof.it/how-to-steal-a-facebook-identity/

More on BGP Attacks - http://blog.wired.com/27bstroke6/2008/08/how-to-intercep.html

Discussion of crack protection - http://discuss.joelonsoftware.com/default.asp?design.4.579670 http://www.focusoncode.com/exe-packers-crypters-and-compressors/ , introduce tools - http://www.pelock.com/

Ten Immutable Laws of Security
Law #1: If a bad guy can persuade you to run his program on your computer, it's not your computer anymore
Law #2: If a bad guy can alter the operating system on your computer, it's not your computer anymore
Law #3: If a bad guy has unrestricted physical access to your computer, it's not your computer anymore
Law #4: If you allow a bad guy to upload programs to your website, it's not your website any more
Law #5: Weak passwords trump strong security
Law #6: A computer is only as secure as the administrator is trustworthy
Law #7: Encrypted data is only as secure as the decryption key
Law #8: An out of date virus scanner is only marginally better than no virus scanner at all
Law #9: Absolute anonymity isn't practical, in real life or on the Web
Law #10: Technology is not a panacea

http://www.microsoft.com[..]s/security/essays/10imlaws.mspx?mfr=true

An example of buffer overflow attack - http://www.thegeekstuff.com/2013/06/buffer-overflow/

hack yourself! - https://blog.codinghorror.com/hacker-hack-thyself/

(google search) (amazon search)


Sun Aug 06 17:21:16 HKT 2017 From /weblog/unix/script

text


10 awk tips - http://www.catonmat.net/blog/ten-awk-tips-tricks-and-pitfalls/

8 Powerful Awk Built-in Variables – FS, OFS, RS, ORS, NR, NF, FILENAME, FNR - http://www.thegeekstuff.com[..]iables-fs-ofs-rs-ors-nr-nf-filename-fnr/

Tutorial of text editing commands - http://www.ibm.com[..]works/aix/library/au-unixtext/index.html

wc and nl tutorial - http://www.thegeekstuff.com/2013/02/wc-nl-examples/ https://enkipro.com/insight/558ac712249a234c00842b68

tips for uniq, like show only items have duplications - http://www.thegeekstuff.com/2013/05/uniq-command-examples/

Tips of "cat", include display by column and by delimiter - http://www.thegeekstuff.com/2013/06/cut-command-examples/

Using lynx to convert HTML to text - https://enkipro.com/insight/558aaea45800843200bca364

(google search) (amazon search)


Sun Aug 06 17:20:16 HKT 2017 From /weblog/unix/script

file


Various ways to working with file - http://www.catonmat.net/blog/bash-one-liners-explained-part-one/

Use truncate to pad the file size up - http://www.lainoox.com/truncate-shrink-extend-files/

Making a file unalterable with chattr - https://enkipro.com/insight/558ac712249a234c00842b68

(google search) (amazon search)


Sun Aug 06 16:15:20 HKT 2017 From /weblog/trip

hk_beach


周末熱辣辣 落水消暑! 11個環保署評定「一級」靚水質 香港沙灘 - http://www.weekendhk.com[..]%E7%B4%9A-%E7%92%B0%E4%BF%9D%E7%BD%B2/2/

(google search) (amazon search)


Sun Aug 06 09:37:23 HKT 2017 From /weblog/database/transaction

transaction


Transaction, same as all the concept in computing, is an approach and trade-off - http://www.allthingsdistributed.com[..]d.com/2007/12/eventually_consistent.html

Transaction file system - http://www.infoq.com/news/2008/01/file-systems-transactions http://myjavatricks.com/jtfs.aspx

Explanation about database isolation level - http://highscalability.com[..]-and-their-effects-on-performance-a.html https://begriffs.com[..]08-01-practical-guide-sql-isolation.html

A nice article explain about transaction process - http://www.theserverside.com[..]Nuts-and-Bolts-of-Transaction-Processing

http://vladmihalcea.com[..]guide-to-acid-and-database-transactions/

(google search) (amazon search)