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

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

tips


May not really useful

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

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

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

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

(google search) (amazon search)


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

Spain


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

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


(google search) (amazon search)


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

sun


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

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

(google search) (amazon search)


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

regex


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

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

Useful Regular regression

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

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

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

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

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

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

(google search) (amazon search)


Mon Sep 04 00:44:48 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 http://digiphoto.techbang.com[..]/9428-adobe-lightroom-advanced-key-cheat

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

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#_

Common shutter speed - http://digiphoto.techbang.com[..]professional-photographers-shutter-speed

12-photo-posture-tips-make-your-characters-just-like-professional-models -
http://digiphoto.techbang.com[..]-just-like-professional-models-beautiful

人像攝影經驗分享,幾個提升拍攝技巧的要點 - http://www.dcfever.com/column/read.php?id=4663

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

(google search) (amazon search)



Thu Aug 31 10:38:43 HKT 2017 From /weblog/java/tools

jhsdb


The jhsdb tool is described on its Oracle JDK 9 Documentation Early Access page, "You use the jhsdb tool to attach to a Java process or to launch a postmortem debugger to analyze the content of a core-dump from a crashed Java Virtual Machine (JVM)." The tool comes with several "modes" and several of these modes correspond in name and function with individual command-line tools available in previous JDK distributions. The jhsdb tool not only provides a single tool that encompasses functionality of multiple other tools, but it also provides a single, consistent approach to applying these different functions. For example, the jhsdb command-line syntax for getting help for each of the "modes" is identical.

http://marxsoftware.blogspot.hk/2017/06/jhsdb-jdk9.html
https://docs.oracle.com[..]UID-0345CAEB-71CE-4D71-97FE-AA53A4AB028E

(google search) (amazon search)


Thu Aug 31 10:36:38 HKT 2017 From /weblog/design

logging


http://www.codemonkeyism.com[..]08/12/16/7-good-rules-to-log-exceptions/ - look obvious but a lot of program still make those mistakes.

Do you prefer log more or log smarter? It is good to log smart but if you log more, even if you not smart enough, you still have the data. - http://www.codinghorror.com/blog/archives/001192.html

Basic log techniques - http://www.ddj.com/cpp/212902973?cid=RSSfeed_DDJ_All

Advances and Challenges in Log Analysis - http://queue.acm.org/detail.cfm?id=2082137&ref=fullrss

Filtering only useful stacktrace - http://www.javacodegeeks.com[..]ter-irrelevant-stack-trace-lines-in.html

Some suggestion about logging - http://www.javacodegeeks.com[..]/10-tips-proper-application-logging.html and http://googletesting.blogspot.com.au/2013/06/optimal-logging.html

9 Logging Sins in Your Java Applications, the "Logging Plain User Input" is a good one - https://dzone.com[..]9-logging-sins-in-your-java-applications

(google search) (amazon search)


Tue Aug 29 10:34:21 HKT 2017 From /weblog/design

documentation


Comment about the java document of jdk8 - http://marxsoftware.blogspot.com.au[..]14/03/illuminating-javadoc-of-jdk-8.html

Thoughts On Comments - http://blog.codefx.org[..]ques/documentation/thoughts-on-comments/

The Art of Crafting Architectural Diagrams - https://www.infoq.com/articles/crafting-architectural-diagrams http://www.infoq.com/cn/articles/crafting-architectural-diagrams

(google search) (amazon search)


Tue Aug 29 09:44:12 HKT 2017 From /weblog/science

weather


http://www.airconco.com/most_extreme_weather/

http://list25.com[..]zen-wonders-you-have-to-see-this-winter/

颱風啓示錄(2017年8月的天鴿/帕卡) - http://matthew-chin.blogspot.hk/2017/08/20178.html

(google search) (amazon search)



Mon Aug 28 19:17:18 HKT 2017 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

(google search) (amazon search)



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)





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)


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)


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)