RSS feed [root] /



title search:


Sun Jul 23 22:00:11 HKT 2017

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

Mon Jun 12 15:00:14 HKT 2017 From /weblog/ai


(google search) (amazon search)

Sun Jun 11 19:36:25 HKT 2017 From /weblog/software_engineering/SCM


Suggestful github project -

GIT to SVN command guide -[..]vs-svn-commandline-syntax-reference.html

pretty cool guide -[..]e-to-an-ioke-dev-env-from-source-part-1/[..]rticleId=240160261&siteSectionName=tools[..]&siteSectionName=architecture-and-design

Some comments about possible issues -[..]an-streamline-your-writing-projects.html

Several ppl blog about why GIT better than SVN -[..]tages-of-git-over-subversion-svn-a-brief[..]03/09/its-time-to-stop-using-subversion/

A suggested branching model -

Some advantage of GIT over Mercurial -[..]hy-i-switched-to-git-from-mercurial.html

#undo last commit
git reset HEAD^

#show files in a given commit
git show --pretty="format:" --name-only rev_number

#remove untracked files and directories
git clean -f -d

#track remote branch
git branch --track branch_name origin/master

# given you created a new local branch 'branch_name'
# pushes 'branch_name' to 'origin/branch_name', creating the remote branch for you
git push origin branch_name

#delete remote branch
git push origin :remote_branch_name


Some more suggested workflow -

Move from SVN, experience of JIRA -[..]from-subversion-to-git-and-the/240009175

Merge or Rebase?[..]13/10/git-team-workflows-merge-or-rebase[..]ntial-tips-for-git-and-github-users.html

change-default-git-commit-message-template -[..]nge-default-git-commit-message-template/

Git cheat list -[..]re-development/git/git-commands-tutorial

(google search) (amazon search)

Wed Jun 07 00:33:28 HKT 2017 From /weblog/history


A History of Hard Drives -

【Lynn 寫點科普】你知道你正在用的電腦是 70 年前發明的馮紐曼架構嗎? -

(google search) (amazon search)

Sat Jun 03 17:02:54 HKT 2017 From /weblog/hardware


Inside Fermi: Nvidia's HPC Push -[..]m/page.cfm?ArticleID=RWT093009110932&p=1

GPUs don’t support interrupts and exception, and less branches -

Example of running stuff at GPU -[..]icles/which-gpu-to-get-for-deep-learning

(google search) (amazon search)

Sat Jun 03 16:44:50 HKT 2017 From /weblog/hack+and+faq


s3 tutorial -

(google search) (amazon search)

Fri Jun 02 17:55:34 HKT 2017 From /weblog/java/libraries


Introducing LALR parser in java -

(google search) (amazon search)

Thu Jun 01 23:13:08 HKT 2017 From /weblog/languages/c


Optimizing Pixomatic for x86 Processors part II[..]tom_forsyth/papers/pixomatic_gdc2004.ppt

Fast way to add null after each char from a string -[..]wse_thread/thread/51d0f84dd22ad734?hl=en

Move 80 bytes asap -[..]520/copying-80-bytes-as-fast-as-possible

Pass by value maybe faster than pass by reference -

Why is java consumer/producer so much faster than C++, a lot of analysis and optimization tips for C++ coding -[..]mgroups#!topic/comp.lang.c++/7aNw3PzPvMI

case study of optimization with asm output -[..]2016/04/boosting-zopfli-performance.html

Thread-Local Storage -

There are chance that remove branching make code run faster - Other articles in same series -[..]86-high-performance-programming-pipeline[..]igh-performance-programming-optimization

(google search) (amazon search)

Sun May 28 21:19:36 HKT 2017 From /weblog/photographic/tools

free image processing

A nice article about image processing at Linux, seem all tool are cross platform[..].php?node=Digital+Photography+with+Linux

After some research, see neat image is the best tools for noise reduction. See if it able to use with GIMP

(google search) (amazon search)

Tue May 23 15:55:04 HKT 2017 From /weblog/google/development


GWT websocket -
Javascript websocket call -[..]web-sockets-now-available-in-google.html
pwa -

(google search) (amazon search)

Tue May 23 12:56:50 HKT 2017 From /weblog/misc


Why we need tools design for provisioning -[..]anagement-and-provisioning-are-different

Cloud or not?[..]/why-does-gitlab-persist-in-using-clouds[..]/03/02/why-we-are-not-leaving-the-cloud/

(google search) (amazon search)

Sun May 21 01:00:36 HKT 2017 From /weblog/health/food


benefits-of-nuts -

女士要學會聰明吃零食-7種美味解毒又防頑症 -[..]F%92%E5%8F%88%E9%98%B2%E9%A0%91%E7%97%87

Look like quite a lot of problem of gum -

(google search) (amazon search)

Thu May 18 10:29:03 HKT 2017 From /weblog/java/concurrency


Another nice tutorial set of concurrency framework -

Java concurrency, Building and testing concurrent applications for the Java platform -[..]/training/kp/j-kp-concurrency/index.html

JVM concurrency: Java and Scala concurrency basics -[..]/java/library/j-jvmc1/index.html?ca=drs-[..]reading-interview-questions-answers.html

5 things you didn't know about ... Multithreaded Java programming -

(google search) (amazon search)

Thu May 18 10:28:15 HKT 2017 From /weblog/java/features


5 things you didn't know about ... Java Database Connectivity -

(google search) (amazon search)

Wed May 17 10:27:49 HKT 2017 From /weblog/java/tools


Java Flight Recorder, a tool to record all detail of how the API work for undo and replay and detail profiling -

Creating Custom JFR Events -

Java Mission Control -[..]-mission-control-52-is-finally-here.html

Support of JMX from common java library -[..]ling-jmx-in-hibernate-ehcache-qurtz.html

sample code show how to get vm info at jmx -

An excellent short tutorial of JMX -

Monitoring all tomcat 5 JMX information, with free tools and java startup config -[..]illiams/20050202#monitoring_tomcat_5_5_x

Task manager like jconsole plugin -[..]is/entry/top_threads_plugin_for_jconsole

Performance cost of JMX -[..]nus/archive/2006/07/how_much_does_i.html

Monitoring Local and Remote Applications Using JMX 1.2 and JConsole -

Collections of tools -[..]/client-side-server-monitoring-with.html

remote conenction with ssh -[..]nitoring-remote-jvm-over-ssh-jmx-or-not/

IBM healthcare API -[..]rary/j-healthcareapi1/index.html?ca=drs-

JVM Statistics with jstat -[..]k/2017/05/jvm-statistics-with-jstat.html

(google search) (amazon search)

Sat May 06 14:13:47 HKT 2017 From /weblog/java/features


Introduction of Lambdas expression in Java - , an example show how lambdas help to clean up the duplication -[..]mplifying-readwritelock-with-java-8.html

Another article about Java8 change, where Lambdas is the highlight -

Nice tutorial -

Huge list of articles -

Use lambdas to replace for-loop -[..]creating-your-own-loop-structure-in.html

Overview for new Date/Time library -[..]om/2014/05/java-8-features-tutorial.html

Grouping and partitioning with stream -[..]/11/java-8-streams-api-grouping-and.html
In a nutshell, make sure to never override a default method in another interface -[..]va-8-default-methods-can-break-your.html

Convert SQL feature to stream -[..]and-their-equivalents-in-java-8-streams/

(google search) (amazon search)

Fri May 05 11:31:29 HKT 2017 From /weblog/%E6%97%A5%E5%B8%B8%E7%94%9F%E6%B4%BB


【開鑊tips】生鐵鑊開鑊孖寶︰豬油+韭菜 -[..]om/realtime/supplement/20170505/56648460

【用鑊tips】不銹鋼鑊不黐底秘訣 一粒水珠幫到你 -[..]om/realtime/supplement/20170505/56648464

(google search) (amazon search)

Mon Apr 24 22:46:26 HKT 2017 From /weblog/learning


Following the curiosity -[..]chives/how-i-learn-1-follow-curiousness/

Creativity is often about 'Synthesis' -[..]9/12/what-avatar-can-teach-us-about.html

How to improve creativitiy?

最成功的人,多少都帶點率性,都忠於自己。不是嗎?天天做著不喜歡的事,又怎能出類拔萃?有 Passion,自然就投入,就有幹勁。[..]%AD%E5%8A%9B%E7%9A%84%E4%BA%BA%E6%89%8D/


Too much structured knowledge hurts creativity, shows study -

(google search) (amazon search)

Mon Apr 24 18:09:36 HKT 2017 From /weblog/microsoft


Check why process take a lot of CPU -[..]java-thread-cpu-analysis-on-windows.html

Creating Windows Runtime Components in C++ -[..]rary/windows/apps/hh441569(v=VS.85).aspx

dbg_x86 - Offical Windows debugger -[..]0000FF%3BGIMP%3A0000FF%3BFORID%3A1&hl=en
ntsd - Symbolic Debugger for Windows -[..]0000FF%3BGIMP%3A0000FF%3BFORID%3A1&hl=en
symchk - verify the .pdb matched your dll -[..]0000FF%3BGIMP%3A0000FF%3BFORID%3A1&hl=en
windbg - interface from dbg -[..]0000FF%3BGIMP%3A0000FF%3BFORID%3A1&hl=en

Run windbg.exe and open memory.dmp into windbg (File->Open Crash Dump)

Memory limits of windows applications -[..]icles/memory-limits-applications-windows[..]s-that-every-developer-should-know-about

Code for creating ISO Image -[..]/create-iso-image-from-cddvd-SID641.aspx

Code for creating virtual drive -

UnitTest framework for .NET -

Complete example of building a REST base service and GUI on Win8 device -[..]icleId=240144594&siteSectionName=windows

Use msvsmon for remote debugging -

C# chart library comparison -[..]reate-charts-in-wpf-finance-applications

CLR profiler -

Debugging multi-thread program in VS -[..]icleId=240158201&siteSectionName=testing

Walk through the DLL dependence -

Debugging windows service -[..]042?elq=debf26dfe54f4342a26157cc533d8209

How to skip the default init for windows programs -

Create executable file by hand -[..]m/2015/10/08/a-handmade-executable-file/

Using var maybe costly -[..]6/beware-of-the-idictionary-tkey-tvalue/

Performance tuning -[..]blog/high-performance-dotnet-by-example/

(google search) (amazon search)

Sun Apr 23 17:16:05 HKT 2017 From /weblog/learning


How to develop imagination -

7 Important Creative Thinking Skills -[..]06/7-important-creative-thinking-skills/

Are you interested to be genius? -

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.[..]2012/06/4-ways-of-treating-problems.html

言语的非连贯性, 偏重例子, 一图抵千言,提问,回答。[..]014/03/05/25-things-ive-learn-about-life


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


培養孩子的創業精神 -

什麼是思考方法? -
思考的必要態度:同情理解原則 -

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”.[..]and-creative-thinking-in-a-hackers-work/

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

why-facts-dont-change-our-minds -[..]17/02/27/why-facts-dont-change-our-minds

What is the scientific method: definition, steps, and pitfalls -

(google search) (amazon search)

Tue Apr 04 12:49:24 HKT 2017 From /gallery/Home/YimKan/htc


(google search) (amazon search)

Sat Apr 01 23:22:46 HKT 2017 From /weblog/science


About PI -[..]i-%E6%98%AF%E6%B0%B8%E6%81%86-%E4%BA%8C/

Interesting maths -[..]math-principles-to-challenge-your-brain/

(google search) (amazon search)

Fri Mar 31 16:56:44 HKT 2017 From /weblog/ai


(google search) (amazon search)

Thu Mar 30 14:48:57 HKT 2017 From /weblog/java/performance


Will you get any performance improvement if you manage memory yourself? -[..]ne-is-faster-java-heap-or-native-memory/

More heap, GC will get slower -[..]ing-heap-size-beware-of-the-cobra-effect

Collection of tools to analysis GC activities -

Another presentation of performance hint for hotspot or memory -

Show how to enable and analyze the verbose:gc out data -[..]3/01/java-verbose-gc-tutorial-video.html

Discussion and comparison of difference GC at Java 1.7 -[..]7/java-garbage-collection-distilled.html . And here is the detail experiment among those difference GC, look like G1 is quite promising -[..]ng-and-benchmarking-java-7s-garbage.html

Memory is not allocate to single block, thus even you allocate enough memory in term of size, it may not enough to held individual object -

Introduction to metaspace -[..]optimising-memory-consumption-first.html

Some comments about System.gc() -[..]om/2015/12/why-i-dont-like-systemgc.html[..]ng-your-java-garbage-collection-overhead

Logging stop-the-world pauses in JVM -[..]log/logging-stop-the-world-pauses-in-jvm

Why we should put difference app in same VM -[..]0/generational-disparity-in-garbage.html

Atlassian GC tuning guide -[..]ollection-gc-tuning-guide-461504616.html

Using jemalloc to get to the bottom of a memory leak -[..]c-to-get-to-the-bottom-of-a-memory-leak/

Troubleshooting-Java-Memory-Issues -

(google search) (amazon search)