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 Feb 19 00:09:01 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

(google search) (amazon search)


Fri Feb 17 08:56:37 HKT 2017 From /weblog/learning

child


When child lie... http://cn.wsj.com/big5/20120508/lif074336.asp?source=rss

How to encourage child - http://blog.sina.com.cn/s/blog_4701280b0102ek51.html

http://www.hackerchick.com[..]4/09/fun-ways-to-teach-kids-to-code.html

Give Child some duty for good - http://cn.wsj.com/big5/20141229/PHO095935.asp?source=rss

步入青春期的孩子最需要從父母那裡得到什麼? - http://cn.wsj.com/big5/20160824/LIF092635.asp?source=rss

初中男生多煩惱,父母可知道? - http://cn.wsj.com/big5/20161220/LIF162636.asp?source=rss

研究發現和沒有做家務或者十幾歲才開始做家務的孩子相比,3-4歲就開始做家務的青年成人更有可能和家人及朋友關系融洽、學習優秀、較早實現事業成功及經濟獨立。 - http://cn.wsj.com/big5/20170105/LIF172240.asp?source=rss

https://blog.google[..]uter-science-and-computational-thinking/

(google search) (amazon search)


Thu Feb 16 22:45:06 HKT 2017 From /weblog/languages/c

book


https://www.ossblog.org[..]ming-with-9-excellent-open-source-books/

https://www.ossblog.org[..]er-c-programming-with-open-source-books/

(google search) (amazon search)


Thu Feb 16 10:04:23 HKT 2017 From /weblog/database/vendor

mssql


SQL 2005 JDBC fix the resultset re-read throws exception problem. However, you need to use executeUpdate() for insert,update and delete instead of execute() for SQL 2005 JDBC, otherwise will throw exception on this.

Other that, statement.executeBatch() will throws exception: http://lab.msdn.microsoft.com[..]kid=e13a8009-7466-4803-ba19-6bfd4b5f8966

Update of newer version - http://www.infoq.com/news/2012/03/T-SQL-2012

New function of SQL server 2014, In-Memory Optimization tables, suppose to be faster? - http://www.infoq.com/news/2013/09/MOT-Indexes MOT table also support native compiled query - http://www.infoq.com/news/2013/09/Compiled-Queries , and lock free write? http://www.infoq.com/news/2013/09/Lock-Free-Writes

From microsoft, Use the columnstore index to achieve up to 10x query performance gains over traditional row-oriented storage, and up to 7x data compression over the uncompressed data size. - http://www.infoq.com/news/2013/09/Clustered-Columnstore

A tool from M$ to help sql server user to manage change of database: http://msdn.microsoft.com/vstudio/teamsystem/products/dbpro/ . Other similar product is DBGhost, also only work for SQL server http://www.innovartis.co.uk/home.aspx

There is a free version of SQL server 2005 call SQL server express, which just like MSDE http://www.microsoft.com/sql/editions/express/redistregister.mspx

Here is a comparison: http://www.sqlmag.com[..]le/ArticleID/49618/sql_server_49618.html , may be we can use that instead of MSDE 2005 and discoutinue support of SQL server 2000 so that we can test one thing less?

Import CSV to SQL server - http://www.sqlservercurry.com[..]oad-comma-delimited-file-csv-in-sql.html

Shriking DB cause performance problem... not sure how long this finding is hold - http://blog.sqlauthority.com[..]eases-fragmentation-reduces-performance/

http://beyondrelational.com[..]ver-storage-internals-part-1-basics.aspx

Get the metadata - http://gigi.nullneuron.net[..]-metadata-from-sql-server-catalog-views/

Date functions - http://www.essentialsql.com[..]roduction-to-sql-servers-date-functions/

Enhancement of 2016 - https://www.infoq.com/news/2016/06/SQl-Server-2016-Performance

Tool to rescue sql server - https://www.infoq.com/news/2017/02/SQL-First-Responder https://github.com/BrentOzarULTD/SQL-Server-First-Responder-Kit http://firstresponderkit.org/

(google search) (amazon search)


Thu Feb 16 00:11:57 HKT 2017 From /weblog/political

leadership


羅斯福 (Franklin D. Roosevelt, 1882-1945) - http://thehousenews.com[..]%9A%E5%B0%8D%E4%BA%86%E4%BB%80%E9%BA%BC/

Michael Bloomberg - http://cn.wsj.com/big5/20131022/DJF065929.asp?source=rss

Many leaders are the opposite—forceful and even dogmatic. And yet, they are very successful - https://www.vitalsmarts.com[..]from-using-crucial-conversations-skills/

(google search) (amazon search)


Thu Feb 16 00:05:43 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

(google search) (amazon search)


Thu Feb 16 00:03:22 HKT 2017 From /weblog/design/pattern

reactive


https://realm.io[..]ation-hugo-visser-rxjava-for-rest-of-us/

(google search) (amazon search)


Wed Feb 15 18:25:17 HKT 2017 From /weblog/science

human


psychology-tells-you-about-yourself - http://list25.com[..]ology-tells-you-about-yourself/?view=all

body-hacks-life-is-trying-to-hide-from-you - http://list25.com[..]ife-is-trying-to-hide-from-you/?view=all

causes-dark-circles-eyes-sleeping-people-really-tired - http://www.todayifoundout.com[..]s-sleeping-people-really-tired/?view=all

facts-about-the-human-body-you-may-not-be-aware-of - http://list25.com[..]n-body-you-may-not-be-aware-of/?view=all

blood - http://list25.com[..]you-might-not-know-about-blood/?view=all

misconceptions-about-your-body - http://list25.com[..]bout-your-body-that-arent-true/?view=all

pregnancy - http://list25.com[..]nge-the-way-you-view-pregnancy/?view=all

blindness - http://list25.com[..]you-didnt-know-about-blindness/?view=all

【趣味科普】同理心等於同情心?可以後天鍛鍊嗎? - http://hk.apple.nextmedia.com[..]om/realtime/supplement/20160712/55345201

happen-to-your-body-after-you-die - http://list25.com[..]pen-to-your-body-after-you-die/?view=all

your-body-is-weirder-than-you-think - http://list25.com[..]body-is-weirder-than-you-think/?view=all http://list25.com[..]-that-make-absolutely-no-sense/?view=all

DNA - http://list25.com[..]l-help-you-understand-yourself/?view=all http://list25.com[..]-genetics-and-the-human-genome/?view=all

「人體農場」:聽屍體說話 - http://thestandnews.com[..]%BD%E5%B1%8D%E9%AB%94%E8%AA%AA%E8%A9%B1/ http://thestandnews.com[..]8%82%89%E9%AA%A8%E6%9F%A5-q-a-episode-4/

Lie/Cheat - http://list25.com/25-scientific-facts-about-cheating/?view=all http://list25.com[..]o-know-someone-is-lying-to-you/?view=all

Albinism - http://list25.com/25-facts-about-people-with-albinism/?view=all

人腦越來越小 又關facebook事? - http://hk.apple.nextmedia.com[..]om/realtime/supplement/20160705/55315802

為什麼人類的耳朵長成這樣 - http://cn.wsj.com/big5/20161014/LIF115719.asp

oxytocin - http://list25.com[..]us-facts-about-oxytocin-that-youll-love/

(google search) (amazon search)


Wed Feb 15 17:35:52 HKT 2017 From /weblog/java/libraries

mapper


Discussion of difference Java base object to object mapper - http://halyph.blogspot.com.au[..]013/10/java-object-to-object-mapper.html

Some information about JOOQ - https://www.infoq.com/news/2017/02/data-geekery-releases-jooq-3-9

(google search) (amazon search)


Mon Feb 13 14:38:25 HKT 2017 From /weblog/unix

vim


Web base vim as tutorials - http://www.knowvim.com/ http://www.openvim.com/tutorial.html

History of VIM - http://arstechnica.com[..]f-productivity-vims-20th-anniversary.ars

Guide for editing text object, most already familiar with using 'w' for word editing, this blog discuss more about using 'p' for paragrahy and other related stuff. - http://blog.carbonfive.com[..]7/vim-text-objects-the-definitive-guide/

Seven habits of effective text editing , a lot of nice tip of using vim, like hlsearch , omni-completion

http://www.moolenaar.net/habits.pdf
http://video.google.com/videoplay?docid=2538831956647446078

vimdiff tips - http://blog.objectmentor.com[..]cles/2008/04/30/vim-as-a-diff-merge-tool http://gcody.blog.ccidnet.com[..]9899-uid-36931-do-showone-type-blog.html

How to regex with line number - http://vim.wikia.com/wiki/Insert_line_numbers_2

cheat sheet of jumping around source code - http://www.faqs.org[..]inux-HOWTO/C-editing-with-VIM-HOWTO.html

Nice analysis of good programming environment - http://www.benrady.com[..]why-i-switched-from-textmate-to-vim.html

Creating macros in vim - http://smartic.us/2010/02/03/creating-macros-in-vim

http://www.markhneedham.com/blog/2010/12/27/vim-learnings-so-far/ <- introduction to Command-T and FuzzyFinder

Some VIM tips:

Essential Vim editor navigation commands
Vim search and replace – 12 powerful find and replace examples.
How To add bookmarks inside the Vim editor
How To record and play inside the Vim editor
Correct spelling mistakes automatically inside the Vim Editor
Automatic word completion using Ctrl-X
Enable thesaurus option in the Vim editor
Vim autocommand magic. Add custom header to your files automatically.
Convert Vim editor to a beautiful source code browser.
Use the Vim editor as a bash IDE, or C/C++ IDE, or Perl IDE.

http://www.thegeekstuff.com/2010/04/vim-editor-tutorial/ https://spin.atomicobject.com[..]com/2016/04/19/vim-commands-cheat-sheet/

ctrl+w, ctrl+w , vimdiff switch folder - hack2live.blogspot.com/2009/02/vimdiff-shortcut-keys.html

tutorial - http://javarevisited.blogspot.com[..]editor-in-unix-example-tutorial-and.html https://danielmiessler.com/study/vim/ https://www.reddit.com[..]s/3mfvdg/how_do_i_go_about_learning_vim/

Compilation plugin - http://www.vim.org/scripts/script.php?script_id=3115#2.9.3

Highlight multiple searches at the same time, each with a different color. - http://www.vim.org/scripts/script.php?script_id=479 http://www.vim.org/scripts/script.php?script_id=2666#2.6.0

C/C++ IDE - http://www.vim.org/scripts/script.php?script_id=213 http://blog.wuwon.id.au[..]10/vim-plugin-for-navigating-c-with.html

Evil, putting vi in emacs - http://spin.atomicobject.com/2013/02/28/emacs-or-vim-evil/

Fixing syntax at solaris, "export TERM=xtermc", ":syntax enable" - http://kdl.nobugware.com/post/2006/12/01/23-xterm-color-on-unix

Graph your Vim undo tree in style. - http://sjl.bitbucket.org/gundo.vim/

Introduction to Selecta and Command-T, tool for fuzzy mapping and open files easier - http://marcovaltas.com/2013/12/27/selecta-on-vim-wildignore.html

http://superuser.com[..]d-the-vimrc-file-be-located-on-windows-7

Open Visual Studio config as XML - https://groups.google.com/forum/#!topic/vim_use/HzVM9tjJP08

Snippert library ( e.g. function template ) - https://www.reddit.com[..]3h7lca/which_snippet_library_do_you_use/

https://www.reddit.com[..]t_are_your_musthave_configs_and_plugins/

https://www.reddit.com[..]mments/2w22gf/edit_google_docs_with_vim/

https://www.reddit.com[..]nts/3ijsi2/original_post_a_vimrc_primer/

https://www.reddit.com[..]an_autocomplete_plugin_if_yes_which_one/

gUU to turn whole line upper case, and guu to turn whole line lower case - https://www.reddit.com[..]_guu_makes_an_entire_line_lowercase_and/

can use :TOhtml to turn a text file to HTML - http://jezenthomas.com/how-i-write-invoices-in-vim/

set encoding=utf-8 - https://www.reddit.com[..]how_to_reliably_switch_to_using_utf8_by/

If you like to test the regex for vi, can refer to this - http://www.virex.org/

http://www.hostingadvice.com[..]/blog/vim-creator-champions-charityware/

Another blog about using vim as IDE - https://spacevim.org/2017/02/11/use-vim-as-a-java-ide

(google search) (amazon search)



Sun Feb 12 17:19:06 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

(google search) (amazon search)


Sat Feb 11 22:53:30 HKT 2017 From /weblog/entertainment

movie


http://www.damncoolpictures.com[..]0-actors-who-turned-down-james-bond.html

讓我狠狠想你——王家衛電影的思念與愛情 - http://thehousenews.com[..]%9D%E5%BF%B5%E8%88%87%E6%84%9B%E6%83%85/ http://hypesphere.com/archives/33810

十大最浪漫電影 - http://thehousenews.com[..]A3%E5%B9%B4%E8%8F%AF-%E4%B8%8A%E6%A6%9C/

不按牌理出牌!影史10大即興演出 - http://hypesphere.com/?p=27716

http://www.damncoolpictures.com[..]02/top-10-deadliest-horror-villains.html

歎為觀止的一鏡到底!影史著名12顆長鏡頭畫面 - http://hypesphere.com/?p=29221 http://hypesphere.com/?p=29346

你是動作科幻迷嗎?影史40把知名槍械大集合! - http://hypesphere.com/?p=28705

「我要打十個!」 回顧甄子丹7場精彩武打場面 - http://hypesphere.com/?p=42023

喜劇之外:班史堤勒 - http://hypesphere.com/?p=42406 http://www.hypesphere.com/archives/48096

中土世界的魔法師:彼得傑克森 - http://hypesphere.com/?p=42229

Famous robots - http://hypesphere.com/?p=42483

Robin Williams - http://list25.com[..]-actor-and-comedy-genius-robin-williams/ http://hypesphere.com/?p=35616 http://hypesphere.com/?p=35671 http://www.damncoolpictures.com[..]ilarious-stand-up-comedy-jokes-from.html

鈕承澤 - http://hypesphere.com/?p=35238

Matrix - http://www.damncoolpictures.com[..]hings-you-probably-didnt-know-about.html http://www.inside.com.tw[..]/what-does-an-engineer-see-in-the-matrix http://www.hypesphere.com/archives/66843

http://backtothefuture.wikia.com/wiki/Main_Page

http://marvel.wikia.com/Main_Page

[專題] 從黑澤明的《七武士》淺談剪接在電影發展裡的奧祕 - http://www.hypesphere.com/archives/52080

About Pulp Fiction - http://www.hypesphere.com/archives/57933

Johnny Deep - http://www.hypesphere.com/archives/55863

Inception - http://www.hypesphere.com/archives/55749/3

Evolution of sound in movie - http://www.hypesphere.com/archives/57396

聽到聲就知影!8 首知名角色登場配樂! - http://www.hypesphere.com/archives/57398

[專題] 跟著老師動疵動!十部你不能錯過的歌舞電影 - http://www.hypesphere.com/archives/56366

[專題] 最熟悉的陌生人:六位你一定要認識的電影片頭設計大師 - http://www.hypesphere.com/archives/59498

傑克葛倫霍, Jake Gyllenhaal - http://www.hypesphere.com/archives/60496

About "Back to the future" - http://www.damncoolpictures.com[..]facts-you-probably-never-knew-about.html

Star war fact - http://list25.com[..]s-to-bring-out-your-inner-jedi/?view=all

Alan Rickman - http://list25.com[..]should-know-about-alan-rickman/?view=all

10 個不露骨卻讓人臉紅心跳的床戲- http://www.hypesphere.com/archives/85160


(google search) (amazon search)


Sat Feb 11 22:01:54 HKT 2017 From /weblog/business

management


Using game as training - http://cn.wsj.com/big5/20120514/eoe080717.asp?source=rss , and drawing for communication - http://cn.wsj.com/big5/20120514/eoe082405.asp?source=rss

No control, but empower - http://www.michelemmartin.com[..]01/some-thoughts-on-managing-people.html

10 rules of success, not really very insighful ideas but still nice to take a look: http://draginol.joeuser.com/articles.asp?c=1&AID=114319

Another 10 tips for product manager - http://www.brainmates.com.au/?p=109

An interesting example of how people gaming the reward system - http://www.joelonsoftware.com/items/2007/05/10.html

Interview of Jeff Bezos and learn about his management style - http://www.fastcompany.com/magazine/85/bezos_4.html

Dos and Don'ts for line manager - http://blog.jezhumble.net/?p=29

8 elements of dysfunctional management - http://jchyip.blogspot.com[..]lements-of-dysfunctional-management.html

Talk verse Action:
All Talk and No Action - http://www.thekua.com[..]ectives-go-wrong-all-talk-and-no-action/
All Action and No Talk - http://www.thekua.com[..]ectives-go-wrong-all-action-and-no-talk/
A suggestion of taking the balance - http://www.scrumalliance.org/articles/61

Discussion about issues of managing remote teams - http://inhumanresources.blogspot.com/2008/01/1.html

Team building with the way of "pointy haired boss" ?? - http://manincentral.blogspot.com/2008/02/blog-post_12.html

Promote the problem maker to make them better?? Is that work? - http://manincentral.blogspot.com/2008/02/blog-post_16.html May be it is true that problem maker are innovator, give them more work and reward can change their negative performance to more than expected positive performance.

The most consistent and intense complaint from team members was that their team leaders were unwilling to confront and resolve problems associated with poor performance by individual team members. http://www.codinghorror.com/blog/archives/001154.html

Manage to learn - http://www.ft.com[..]dd-80e9-0000779fd18c.html?nclick_check=1

Suggestion about how to delegate to other, spend time to explain to vision - http://www.kui.name[..]E6%88%96%E8%80%85%E5%B4%A9%E6%BD%B0.html

Allocate free time to employee is good for company - http://www.codinghorror.com[..]12/08/today-is-goof-off-at-work-day.html

What management should be - http://www.jrothman.com[..]-people-can-you-manage-as-a-manager.html

1. 清楚意識到您的創新意圖
2. 為彈性的工作時間設計一個架構
3、涉入,然後再把手收回去
4. 測量什麼是有意義的
5. 給予「無實質價值」的報酬
6. 象徵化
7. 不是標準化地複製他人的創新行為

http://www.inside.com.tw/2014/01/15/6-way-innovation-culture http://www.fastcodesign.com[..]6-ways-to-create-a-culture-of-innovation


1. 在公司裡跟別人吐露的心事越少,對你越好。你以為是無傷大雅的閑聊,其實有可能會造成嚴重傷害。把你的猜測和擔憂都埋在心裡吧。

2. 務必管理好和下屬的關系。花時間和公司裡的較低層員工在一起,盡量對他們友好。對電梯操作員禮貌問候,對郵遞員表示感謝,對助理說句友善的話,這些都會得到讚賞。打造名譽要從基層做起。同樣的,碰到不爽的事情,要自己消化情緒,不要在別人面前發泄。

3. 做領導是一份全職工作,職責的時鐘永不停止。每個微小的跡象都會被解讀,你的不耐煩、失望或不安全感都會被那些解讀你的人放大。不應做出隨意、毫無準備的坦白,信息必須經過深思熟慮才能發出。要特別小心書面的東西,尤其是電子郵件──它們永遠都不會消失。

4. 保持聆聽並索取建議。每周至少在公司餐廳吃一次午飯,或者時不時在咖啡機旁逗留,聽聽其他人都在聊些什麼。如果有人想跟你說話,那就沒有理由不聽。如果有人批評,即使你不讚同也要花時間仔細回應。

5. 你覺得很風趣的俏皮話通常並不風趣。你的幽默感很容易被解讀為自傲和笨拙。如果你仍然以為講笑話或引用某個幽默故事對陳述觀點很重要,那麼請先跟你的配偶或信任的朋友演練一遍。幽默是有風險的。千萬不要拿嚴肅的事情開玩笑。

6. 很重要的一點是,保証重要事務的重要性。應該經常解釋你的戰略,可以換個措辭,但要反復強調。

7. 絕不要抱怨和解釋,沒有人會聽。出了差錯就承擔責任。不要把錯誤怪到前幾屆管理層、天氣、運氣不好或競爭對手身上。但也不要露出防御姿態。向前看──除非上級要求你辭職。

8. 信任你的專業顧問,接受他們的專業意見。不要對市場做過多猜測。沒有所謂的完美數據。做出決策,往前走。

9. 謹慎使用“平均”這個詞──平均深度為6英寸河也可能淹死人。欣然接受“平均”,只會獲得虛假的安全感。假設最糟糕的情況會發生,因為通常就是如此。

10. 最後這條是陳詞濫調,但卻是至理真言:絕不要做或說你不希望在報紙頭條看到的事情。和媒體打交道時,不要回答假設性的問題,謹記麥克風永遠不會真正關閉,絕不要同意“私下”談。對一場危機唯一值得做的公開回應是誠實。

http://cn.wsj.com/big5/20140318/eoe074616.asp?source=rss http://online.wsj.com[..]0001424052702303519404579353060931625306

給新手高管的10條建議 - http://cn.wsj.com/big5/20140318/eoe074616.asp?source=rss

http://jchyip.blogspot.com[..]/causes-and-solutions-for-bystander.html

以競爭激發員工潛力有其道理,但就我過往所見,鼓催互鬥文化往往淪為非實力較量,最後變成內部互搞小動作放毒箭,對公司產生最嚴重的破壞 - 內耗。 - http://thehousenewsbloggers.net[..]%84%EF%BC%9F%EF%BC%8F%E5%BE%90%E7%B7%A3/

Good developer cannot be good manager? - http://discuss.joelonsoftware.com/default.asp?joel.3.172310

Manager guid in google - https://www.infoq.com/news/2017/02/google-managers

(google search) (amazon search)


Sat Feb 11 16:14:09 HKT 2017 From /weblog/learning

reading


智能手機時代的速讀技術 - http://cn.wsj.com/big5/20140416/lif115306.asp?source=rss

Fun testing - http://projects.wsj.com/speedread/?mod=readin

Fun information, text layout related to speed of reading: http://www.codinghorror.com/blog/archives/000618.html

Martin fowler discuss about the skill of how to read/write a big big book http://martinfowler.com/bliki/DuplexBook.html , more discussion - http://blog.jayfields.com/2007/06/reading-technical-books.html

關掉手機 享受慢閱讀的樂趣 - http://cn.wsj.com/big5/20141004/lif105708.asp?source=rss

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

Rarely will I get through every section of every book.  The idea is to create a kind of dialogue among the authors, identifying points of overlap and difference.  Very often, the ideas from one book will trigger ideas that have you scouring the other books for elaboration.  The mixture of ideas from several books will lead to a thought that is not contained in any of the books.  When you read in parallel, it's like being in the room while the authors are conversing.  The intersecting of ideas almost always stimulates fresh ways of thinking about (and applying) the topic at hand. - http://traderfeed.blogspot.hk[..]ding-in-parallel-becoming-better-at.html

Read for communication - http://cn.wsj.com/big5/20170210/OPN170636.asp

(google search) (amazon search)


Sat Feb 11 16:13:24 HKT 2017 From /weblog/trip/travelling

south america


阿根廷的觀鳥天堂 - http://cn.wsj.com/big5/20120510/trv081838.asp

http://thenatureoftheworlds.blogspot.com.au[..]m.au/2013/10/iguazu-falls-argentina.html

magnificent-torres-del-paine-national-park-photos-you-absolutely-have-to-see - http://list25.com[..]tos-you-absolutely-have-to-see/?view=all

Hotel next to Perito Moreno Glacier - http://www.eolo.com.ar/home_eng.htm

一個中國人在沒有馬奎斯的波哥大- https://theinitium.com[..]0170211-culture-travel-marquez-columbia/

(google search) (amazon search)


Sat Feb 11 16:11:56 HKT 2017 From /weblog/career/jobs

Boss


A discussion thread about how to due with boss/manager that don't give you anything to do - http://discuss.joelonsoftware.com/default.asp?joel.3.361868

Requirement of a PA of one boss - http://manincentral.blogspot.com/2008/03/blog-post_26.html

How to hire a good CEO - http://www.inside.com.tw[..]13/if-when-and-how-to-avoid-hiring-a-ceo

How if boss asking for too much - http://cn.wsj.com/big5/20170208/LIF141035.asp

(google search) (amazon search)


Thu Feb 09 23:02:10 HKT 2017 From /weblog/web

performance


One of many tips of how to design a website that deliver content faster - http://alexander.kirk.at[..]006/02/02/10-steps-to-a-faster-web-site/

The other, for user to read quick - http://www.vandelaydesign.com[..]0-ways-to-design-for-impatient-visitors/

Webmaster tools, marketing - http://www.sitepronews.com/archives/2007/aug/3.html
Webmaster tools, page development - http://manwithnoblog.com/2007/08/05/css-debugging-tools/
and tools to tune page performance - http://skytechgeek.com[..]tools-to-boost-up-your-site-performance/

Tips from codinghorror - http://www.codinghorror.com[..]og/2011/06/performance-is-a-feature.html

Tips from ACM - http://queue.acm.org/detail.cfm?ref=rss&id=2512489

Web Framework Benchmarks - http://www.techempower.com/benchmarks/

How taobao optimize their mobile app - http://www.infoq.com[..]bao-521-performance-optimization-project

The timeline of how browser showing the page, and how to optimize it - http://www.nateberkopec.com[..]rontend-performance-chrome-timeline.html https://medium.com[..]-for-the-browser-f2f51a29c572#.7ivccwl5e

How a page loaded fast - https://varvy.com/pagespeed/wicked-fast.html https://medium.baqend.com[..]d-page-loads-lessons-learned-4bb1be3ed07



(google search) (amazon search)


Wed Feb 08 10:28:42 HKT 2017 From /weblog/misc

infrastructure


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

(google search) (amazon search)


Tue Feb 07 23:18:45 HKT 2017 From /weblog/java/fundamental

time


How difference platform implement nanoTime() - http://www.javacodegeeks.com[..]12/02/what-is-behind-systemnanotime.html http://stackoverflow.com[..]62/is-system-nanotime-completely-useless

Java timezone ID reference - http://david.uebelacker.ch[..]etrive-locale-and-timezone-from-request/ http://tutorials.jenkov.com[..]m/java-date-time/java-util-timezone.html

setTimeZone affects calls to set(), but doesn’t change the existing Calendar time? So if we wanted to change the time zone we are working with, we have to adjust all the time fields too…but a SimpleDateFormatter still would show it as the current time zone. - http://keyholesoftware.wordpress.com[..]1/joda-time-the-future-of-java-datetime/

http://blog.joda.org[..]va-time-jsr-310-enhancements-java-9.html

(google search) (amazon search)


Tue Feb 07 19:07:19 HKT 2017 From /weblog/ai

google


Prediction API - http://code.google.com/apis/predict/

How google predict parking - https://research.googleblog.com[..]2/using-machine-learning-to-predict.html

(google search) (amazon search)


Tue Feb 07 15:44:58 HKT 2017 From /weblog/design

performance


http://highscalability.com[..]6/big-list-of-20-common-bottlenecks.html

Nothing specific, mostly code clean up, refactoring and simplification, the performance boost was a surprise. <- This is a good one - http://bad-concurrency.blogspot.com.au[..]12/07/disruptor-v3-faster-hopefully.html

Is there anything we can do about this when designing algorithms and data-structures? Yes there is a lot we can do. If we perform chunks of work on data that is co-located, and we stride around memory in a predictable fashion, then our algorithms can be many times faster. For example rather than using bucket and chain hash tables, like in the JDK, we can employ hash tables using open-addressing with linear-probing. Rather than using linked-lists or trees with single items in each node, we can store an array of many items in each node. - http://mechanical-sympathy.blogspot.com.au[..]emory-access-patterns-are-important.html

Skip lists are used instead of b-trees because b-trees don’t scale. - http://highscalability.com[..]ast-mvcc-inmem-lockfree-codegen-and.html

Beware about the performance issue of static initalization - http://stackoverflow.com[..]-cause-problems-with-multi-threading-how

Experiment show why arraylist is better in most cases - http://www.javaadvent.com/2013/12/arraylist-vs-linkedlist.html

How to design low latency application in java - http://vanillajava.blogspot.com.au[..]5/chronicle-and-low-latency-in-java.html

http://highscalability.com[..]ciples-of-high-performance-programs.html http://blog.libtorrent.org[..]principles-of-high-performance-programs/

Suggestion about how to determine number of thread pool - http://venkateshcm.com[..]rmine-Web-Applications-Thread-Poll-Size/

Beware the performance penalty of logging - https://plumbr.eu/blog/locking-and-logging

Keep thing dynamic - http://highscalability.com[..]ciples-of-high-performance-programs.html

http://www.rationaljava.com[..]st-rule-of-performance-optimisation.html

http://www.eecs.berkeley.edu[..]u/~rcs/research/interactive_latency.html

http://highscalability.com[..]aling-data-platforms.html?SSLoginOk=true

Discuss about developing low latency financial application - http://queue.acm.org/detail.cfm?ref=rss&id=2770868

Discussion of object pooling - http://highscalability.com[..]-but-forgotten-trick-object-pooling.html http://coffeenco.de[..]m_performance_part_1_object_pooling.html

Efficiency - the amount of work you need to do.
Performance - how fast you can do that work
Efficiency - governed by your algorithm
Performance - governed by your data structures.
http://www.rationaljava.com[..]e-difference-between-efficiency-and.html


Turning off power save mode on the CPU reduced brought the max latency from 11 msec down to 8 msec.
Guaranteeing threads will always have CPU resources using CPU isolation and thread affinity brought the maximum latency down to 14 microseconds.
http://highscalability.com[..]eduler-jitter-using-cpu-isolation-a.html
http://epickrram.blogspot.co.uk[..]o.uk/2015/09/reducing-system-jitter.html

About design for performance for webapi - http://tech.forter.com[..]y-decision-as-a-service-design-patterns/

check list - http://techbeacon.com[..]ery-software-development-team-should-ask

Beware if system utilization over 80% - http://www.infoq.com/cn/news/2016/02/utilisation-wait-latency http://robharrop.github.io[..]/20/service-latency-and-utilisation.html

scalable-io-events-vs-multithreading-based - https://thetechsolo.wordpress.com[..]lable-io-events-vs-multithreading-based/

How to find out bottleneck - https://vanilla-java.github.io[..]entile-latencies-in-Chronicle-Queue.html

(google search) (amazon search)



Sun Feb 05 20:12:00 HKT 2017 From /weblog/health/food

egg


嚴說養生 立夏吃雞蛋 - http://www.yimho.com/1443.html

烹制雞蛋美食的四種方法 - http://cn.wsj.com/big5/20140513/DJL071521.asp?source=rss

More ways of cooking egg - http://www.buzzhand.com/post_282334.html

(google search) (amazon search)


Sun Feb 05 17:20:27 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

(google search) (amazon search)