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

Mon Jul 03 01:03:21 HKT 2017 From /weblog/software_engineering

specification


Painless Functional Specifications - http://www.joelonsoftware.com/articles/fog0000000036.html

How to write a project specification - https://jaxenter.com/write-project-specification-135067.html

(google search) (amazon search)


Tue Jun 27 17:11:29 HKT 2017 From /weblog/career/jobs

interviewer tip


The best way I've found to interview candidate developers is to pair program with them to do real work on the actual code of the project that is hiring. If not possible, give programming exercise which is:

The exercise must involve working with current development tools.
The exercise must require the candidate to apply important features of the language.
The exercise must involve understanding and working with existing code.
The exercise must involve error handling.
The exercise must involve testing.
The exercise must offer scope for domain modelling.
The exercise must involve asking questions.
The exercise must be realistic.
The exercise must involve changing requirements.
The exercise must offer the candidate enough rope to hang themselves.
The exercise must test many different skills and practices.

A good interview programming exercise takes at least an hour. - http://nat.truemesh.com/archives/000630.html

The other interesting reading - http://blog.secosoft.net[..]ass-kickin-interviewscreening-questions/

Phone interview - http://www.joelonsoftware.com/articles/ThePhoneScreen.html

Questions that somebody like to ask... although I think this guy is a bit arrogance - http://softarc.blogspot.com[..]y-favorite-java-developer-interview.html

Another interview question and answer - http://journeymanjournal.blogspot.com/2005/03/sir-am-i-hired.html http://paultyma.blogspot.com[..]/howto-pass-silicon-valley-software.html http://www.codinghorror.com/blog/archives/001042.html

How about lie at CV? http://jroller.com[..]mon?entry=lying_on_your_r%C3%A9sum%C3%A9

Interviewing in google - http://pyre.third-bit.com/blog/archives/000174.html

What interviewee should asked at interview - http://blog.reindel.com[..]programmer-should-ask-on-a-job-interview

What should not waste time to ask the candidate - http://www.innerspace.com.hk/cl_life.html

http://www.ehow.com[..]303_use-technique-ace-job-interview.html

Beware of the small things during interview - http://cn.wsj.com/big5/20100115/eoe145304.asp

The concern of putting negotiable in salary - http://jobtipsforgeeks.com/2014/08/08/negotiable/

http://www.zdfs.com/code/2015/on-interviewing-software-engineers

how-to-carry-out-technical-recruitment - http://www.infoq.com[..]s/how-to-carry-out-technical-recruitment http://ramblinjan.com[..]ing-Process-is-your-engineering-process/

(google search) (amazon search)


Sat Jun 24 01:29:36 HKT 2017 From /weblog/health/food

cake


甜菜根冰皮月餅 - http://icook.tw/recipes/55680

parmesan-spinach-cake - http://www.webmd.com/food-recipes/parmesan-spinach-cake

(google search) (amazon search)


Sat Jun 17 00:56:16 HKT 2017 From /weblog/love

child


How to encourage chile? use imagination :-) http://www.metacafe.com/watch/41491/black_drawings/

And also by not doing something normal :-) http://www.thepowerofintroverts.com[..]-mother-helped-launch-my-writing-career/

父母該如何輔導孩子做作業 - http://cn.wsj.com/big5/20130102/wvh072447.asp?source=rss

總體策略是這樣的:家長不應該只關注孩子做了些什麼﹐而應該先確定他們想在孩子身上看到哪些行為 - http://cn.wsj.com/big5/20130122/lif072751.asp?source=rss

Maybe a good idea to take a video for our child - http://cn.wsj.com/big5/20130114/inv073030.asp?source=rss

What should we do if we have argument before kids - http://cn.wsj.com/big5/20131016/lif071929.asp?source=rss

我會花掉你夢想中的房子
把我生下來會花掉你一大筆錢
我會傷透你的心
開心工作,賺錢給我付托兒費。
我的零花錢一點兒也存不住
我知道你愛哥哥/姐姐/弟弟/妹妹比愛我多一些。
我弄壞了你的iPad、iPhone,還有電腦。
我看屏幕上癮都是你的錯
你大概沒法指望我來讓你抱孫子了
你會哭的,當我離開……並留給你最後一張賬單的時候

http://cn.wsj.com/big5/20131009/lif073455.asp?source=rss

相對而言,鼓勵是更好的方式。減少單純地讚美,更多地進行有意義的激勵。 - http://cn.wsj.com/big5/20140526/LUX114130.asp?source=rss

父愛,保護女兒遠離危險性行為的關鍵 - http://cn.wsj.com/big5/20170616/LIF174227.asp?source=rss

(google search) (amazon search)


Sat Jun 17 00:39:28 HKT 2017 From /weblog/health/food/fruit

apple


蘋 果 能 減 少 吸 收 熱 量 , 美 國 賓 夕 凡 尼 亞 州 立 大 學 的 一 項 研 究 , 將 體 重 正 常 參 加 者 分 成 三 組 , 在 五 個 星 期 內 , 一 組 人 在 午 餐 前 不 吃 任 何 東 西 , 第 二 組 在 午 餐 前 吃 一 個 蘋 果 , 第 三 組 則 吃 蘋 果 醬 或 飲 蘋 果 汁 , 三 組 人 再 進 食 相 同 的 午 餐 , 研 究 人 員 在 餐 後 15 分 鐘 為 各 人 進 行 熱 量 測 試 , 結 果 發 現 餐 前 吃 蘋 果 的 人 熱 量 攝 取 少 187 卡 路 里 。 研 究 結 束 後 這 一 組 人 的 體 重 更 明 顯 下 降 , 研 究 更 發 現 吃 整 個 蘋 果 的 減 肥 功 效 ,遠 超 過 飲 蘋 果 汁 。

Other than that, 蘋果鬆 is good - http://rayswchiu-ej.blogspot.com/2009/08/blog-post_9454.html


早上吃水果,可幫助消化吸收,有利通便,而且水果的酸甜滋味,可讓人一天都感覺神清氣爽。人的胃腸經過一夜的休息之後,消化功能不強。因此要選擇酸性不太強、澀味不太濃的水果,比如蘋果、梨、葡萄等。 - http://hk.apple.nextmedia.com/realtime/china/20140715/52692068

http://list25.com/25-fun-facts-about-apple-the-fruit/

(google search) (amazon search)


Wed Jun 14 18:34:19 HKT 2017 From /weblog/unix/script

development


A bash debugger - http://bashdb.sourceforge.net/

Really really good tips - http://fahdshariff.blogspot.com.au[..]3/10/shell-scripting-best-practices.html

Style guide - http://www.kfirlavi.com[..]og/2012/11/14/defensive-bash-programming

Script checker - https://www.shellcheck.net/

How to write a shell - https://indradhanush.github.io/blog/writing-a-unix-shell-part-1 https://indradhanush.github.io/blog/writing-a-unix-shell-part-2

(google search) (amazon search)


Wed Jun 14 11:13:47 HKT 2017 From /weblog/unix

Linux


How to get the system thread version - getconf GNU_LIBPTHREAD_VERSION http://groups.google.com[..]wse_thread/thread/81ff4b5d1ea3372d?hl=en

How to prevent module getting load, by edit /etc/modprobe.d/blacklist.conf : http://www.basshero.org/62/how-to-disable-devices-in-ubuntu/

Standard Linux error code - http://www.thegeekstuff.com/2010/10/linux-error-codes/

http://www.thegeekstuff.com[..]11/03/linux-performance-monitoring-intro

Discussion about why Linux is way faster than Windows for huge number of small file processing - http://stackoverflow.com[..]s-to-go-as-fast-as-linux-for-compiling-c http://games.greggman.com/game/why-is-windows-so-slow/

"sync; sudo echo 3 > /proc/sys/vm/drop_caches" - http://www.ubuntugeek.com[..]ow-to-clear-cached-memory-on-ubuntu.html

Funny linux commands - http://www.pixelstech.net/article/1370744983-Funny-Linux-commands

25 years of linux - https://medium.freecodecamp.com[..]acts-about-linux-c8d8ac30076d#.m6b9wnhni

basic-principle-of-Linux-privilege-control - http://www.infoq.com[..]sic-principle-of-Linux-privilege-control

(google search) (amazon search)


Tue Jun 13 10:45:44 HKT 2017 From /weblog/history

youtube


http://list25.com/25-intriguing-youtube-facts-you-may-not-know/

http://list25.com[..]ing-facts-about-youtube-you-should-know/

(google search) (amazon search)


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

python


https://speakerdeck.com/marcobonzanini

http://www.infoq.com[..]/2017/06/Machine-Python-math-aggregation

(google search) (amazon search)



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

git


Suggestful github project - http://rdegges.com/successful-github-development

GIT to SVN command guide - http://www.javacodegeeks.com[..]vs-svn-commandline-syntax-reference.html

pretty cool guide - http://martin.elwin.com[..]e-to-an-ioke-dev-env-from-source-part-1/ http://www.ralfebert.de/tutorials/git/ http://www.drdobbs.com[..]rticleId=240160261&siteSectionName=tools http://www.drdobbs.com[..]&siteSectionName=architecture-and-design

Some comments about possible issues - http://www.ericsink.com/entries/git_index.html

http://www.developer.com[..]an-streamline-your-writing-projects.html

Several ppl blog about why GIT better than SVN - http://inancgumus.com[..]tages-of-git-over-subversion-svn-a-brief http://altdevblogaday.org[..]03/09/its-time-to-stop-using-subversion/ http://blog.ashodnakashian.com/2011/06/git-for-personal-projects/

A suggested branching model - http://nvie.com/posts/a-successful-git-branching-model/

Some advantage of GIT over Mercurial - http://blog.extracheese.org[..]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

From http://leonardoborges.com[..]ngs/2011/05/29/a-few-useful-git-commands

Some more suggested workflow - http://eclipsesource.com/blogs/2011/06/09/git-lessons-learned/ http://sandofsky.com/blog/git-workflow.html

Move from SVN, experience of JIRA - http://www.drdobbs.com[..]from-subversion-to-git-and-the/240009175 http://blogs.atlassian.com/2013/10/git-workflows-webinar-qa

Merge or Rebase? http://blogs.atlassian.com[..]13/10/git-team-workflows-merge-or-rebase

http://www.javaworld.com[..]ntial-tips-for-git-and-github-users.html

change-default-git-commit-message-template - http://blog.ajduke.in[..]nge-default-git-commit-message-template/

https://codewords.recurse.com/issues/two/git-from-the-inside-out

Git cheat list - https://gist.github.com/aleksey-bykov/1273f4982c317c92d532

https://examples.javacodegeeks.com[..]re-development/git/git-commands-tutorial

(google search) (amazon search)


Wed Jun 07 00:33:28 HKT 2017 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

(google search) (amazon search)


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

aws


s3 tutorial - https://www.javacodegeeks.com/2017/03/amazon-s3-tutorial.html

(google search) (amazon search)


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

parsing


Introducing LALR parser in java - http://martinfowler.com/bliki/HelloCup.html

https://tomassetti.me/parsing-in-java/

(google search) (amazon search)


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

optimization


Optimizing Pixomatic for x86 Processors part II

http://www.ddj.com/architect/184405765
http://www.ddj.com/184405807
http://www.ddj.com/184405848
http://www.home.comcast.net[..]tom_forsyth/papers/pixomatic_gdc2004.ppt

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

Move 80 bytes asap - http://codereview.stackexchange.com[..]520/copying-80-bytes-as-fast-as-possible

Pass by value maybe faster than pass by reference - http://cpp-next.com/archive/2009/08/want-speed-pass-by-value/

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

case study of optimization with asm output - http://roartindon.blogspot.hk[..]2016/04/boosting-zopfli-performance.html

Thread-Local Storage - http://david-grs.github.io/tls_performance_overhead_cost_linux/

There are chance that remove branching make code run faster -
http://www.infoq.com/cn/articles/x86-high-performance-programming Other articles in same series - http://www.infoq.com[..]86-high-performance-programming-pipeline
http://www.infoq.com[..]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

http://jane.dallaway.com/articles/GimpPhotography.html
http://www.erikburrows.com[..].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

http://www.neatimage.com/

https://www.google.com/nikcollection/products/hdr-efex-pro/

(google search) (amazon search)


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

html5


GWT websocket - http://code.google.com/p/gwt-websockets/
Javascript websocket call - http://blog.chromium.org[..]web-sockets-now-available-in-google.html
pwa - https://developers.google.com/web/progressive-web-apps/


(google search) (amazon search)


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

infrastructure


Why we need tools design for provisioning - https://www.thoughtworks.com[..]anagement-and-provisioning-are-different

Cloud or not? http://www.infoq.com[..]/why-does-gitlab-persist-in-using-clouds https://about.gitlab.com[..]/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

snack


benefits-of-nuts - http://www.mr-sport.com.tw/post/benefits-of-nuts.html

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

Look like quite a lot of problem of gum - http://list25.com/25-fun-facts-about-bubblegum/

(google search) (amazon search)


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

tutorial


Another nice tutorial set of concurrency framework - http://www.javacodegeeks.com/search/label/Concurrency

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

JVM concurrency: Java and Scala concurrency basics - http://www.ibm.com[..]/java/library/j-jvmc1/index.html?ca=drs-

http://javarevisited.blogspot.com.au[..]reading-interview-questions-answers.html

5 things you didn't know about ... Multithreaded Java programming - https://www.ibm.com/developerworks/library/j-5things15

(google search) (amazon search)


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

jdbc


5 things you didn't know about ... Java Database Connectivity - https://www.ibm.com/developerworks/library/j-5things10/index.html

(google search) (amazon search)


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

monitoring


Java Flight Recorder, a tool to record all detail of how the API work for undo and replay and detail profiling - http://docs.oracle.com/cd/E15289_01/doc.40/e15070/toc.htm

Creating Custom JFR Events - http://hirt.se/blog/?p=444

Java Mission Control - http://blog.eisele.net[..]-mission-control-52-is-finally-here.html http://hirt.se/blog/?p=343 http://hirt.se/blog/?p=364&cpage=1#comment-98 https://www.infoq.com/news/2016/10/Java-Flight-Recorder-Mission

Support of JMX from common java library - http://www.javacodegeeks.com[..]ling-jmx-in-hibernate-ehcache-qurtz.html

sample code show how to get vm info at jmx - http://blogs.sun.com/jmxetc/entry/how_to_retrieve_remote_jvm

An excellent short tutorial of JMX - http://java.sun.com/developer/technicalArticles/J2SE/jmx.html

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

Task manager like jconsole plugin - http://blog.luminis.nl[..]is/entry/top_threads_plugin_for_jconsole

Performance cost of JMX - http://weblogs.java.net[..]nus/archive/2006/07/how_much_does_i.html

Monitoring Local and Remote Applications Using JMX 1.2 and JConsole - http://onjava.com/lpt/a/5226

Collections of tools - http://www.javacodegeeks.com[..]/client-side-server-monitoring-with.html

remote conenction with ssh - http://theholyjava.wordpress.com[..]nitoring-remote-jvm-over-ssh-jmx-or-not/

IBM healthcare API - http://www.ibm.com[..]rary/j-healthcareapi1/index.html?ca=drs- http://www.ibm.com/developerworks/java/jdk/tools/healthcenter/

JVM Statistics with jstat - http://marxsoftware.blogspot.hk[..]k/2017/05/jvm-statistics-with-jstat.html

(google search) (amazon search)


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

java8


Introduction of Lambdas expression in Java - http://zeroturnaround.com/labs/java-8-the-first-taste-of-lambdas/ , an example show how lambdas help to clean up the duplication - http://www.nurkiewicz.com[..]mplifying-readwritelock-with-java-8.html

Another article about Java8 change, where Lambdas is the highlight - http://www.infoq.com/news/2013/08/everything-about-java-8 http://www.shaunabram.com/java8/

Nice tutorial - http://www.dreamsyssoft.com/java-8-lambda-tutorial/index.php

Huge list of articles - http://www.baeldung.com/java8

Use lambdas to replace for-loop - http://saltnlight5.blogspot.com.au[..]creating-your-own-loop-structure-in.html https://www.ibm.com/developerworks/library/j-java8idioms3

Overview for new Date/Time library - http://www.infoq.com/articles/java.time

http://www.javacodegeeks.com[..]om/2014/05/java-8-features-tutorial.html

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

Convert SQL feature to stream - http://blog.jooq.org[..]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

kitchen


http://www.damncoolpictures.com/2014/04/microwave-hacks.html

http://list25.com/25-genius-microwave-cooking-tips/?view=all

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

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

(google search) (amazon search)


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

development


Check why process take a lot of CPU - http://javaeesupportpatterns.blogspot.ca[..]java-thread-cpu-analysis-on-windows.html

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

dbg_x86 - Offical Windows debugger - http://www.google.com.hk[..]0000FF%3BGIMP%3A0000FF%3BFORID%3A1&hl=en
ntsd - Symbolic Debugger for Windows - http://www.google.com.hk[..]0000FF%3BGIMP%3A0000FF%3BFORID%3A1&hl=en
symchk - verify the .pdb matched your dll - http://www.google.com.hk[..]0000FF%3BGIMP%3A0000FF%3BFORID%3A1&hl=en
windbg - interface from dbg - http://www.google.com.hk[..]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 - http://software.intel.com[..]icles/memory-limits-applications-windows

http://programmers.stackexchange.com[..]s-that-every-developer-should-know-about

Code for creating ISO Image - http://dotnet-snippets.com[..]/create-iso-image-from-cddvd-SID641.aspx

Code for creating virtual drive - http://dotnet-snippets.com/dns/create-a-virtual-drive-SID632.aspx

UnitTest framework for .NET - http://blog.dotnetdude.net/2012/09/net-testing-frameworks.html

Complete example of building a REST base service and GUI on Win8 device - http://www.drdobbs.com[..]icleId=240144594&siteSectionName=windows

Use msvsmon for remote debugging - https://www.google.com/search?q=msvsmon

C# chart library comparison - http://quant.stackexchange.com[..]reate-charts-in-wpf-finance-applications

CLR profiler - http://www.microsoft.com/en-us/download/details.aspx?id=16273

Debugging multi-thread program in VS - http://www.drdobbs.com[..]icleId=240158201&siteSectionName=testing

Walk through the DLL dependence - http://www.dependencywalker.com/

Debugging windows service - http://www.drdobbs.com[..]042?elq=debf26dfe54f4342a26157cc533d8209

How to skip the default init for windows programs - http://www.bigmessowires.com/2015/10/02/what-happens-before-main/

Create executable file by hand - http://www.bigmessowires.com[..]m/2015/10/08/a-handmade-executable-file/

Using var maybe costly - http://www.nimaara.com[..]6/beware-of-the-idictionary-tkey-tvalue/

Performance tuning - https://alexandrnikitin.github.io[..]blog/high-performance-dotnet-by-example/

(google search) (amazon search)