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

Tue Dec 12 10:41:54 HKT 2017 From /weblog/design/distribute

scalability


There are two key primary ways of scaling web applications which is in practice today.
1) “Vertical Scalability” - Adding resource within the same logical unit to increase capacity. An example of this would be to add CPUs to an existing server, or expanding storage by adding hard drive on an existing RAID/SAN storage.
2) “Horizontal Scalability” - Adding multiple logical units of resources and making them work as a single unit. Most clustering solutions, distributed file systems, load-balancers help you with horizontal scalability.

Scalability can be further sub-classified based on the “scalability factor”.
1) If the scalability factor stays constant as you scale. This is called “linear scalability“.
2) But chances are that some components may not scale as well as others. A scalability factor below 1.0 is called “sub-linear scalability“.
3) Though rare, its possible to get better performance (scalability factor) just by adding more components (i/o across multiple disk spindles in a RAID gets better with more spindles). This is called “supra-linear scalability“.
4) If the application is not designed for scalability, its possible that things can actually get worse as it scales. This is called “negative scalability“.

http://www.royans.net/arch/2007/09/22/what-is-scalability/

Report of building web application with 55k pageload with rail - http://shanti.railsblog.com[..]mongrels-handled-a-550k-pageview-digging

XMPP a IM protocol about scalability - http://www.process-one.net[..]icle/the_aol_xmpp_scalability_challenge/

Presentation and resources of making you website more scalable - http://www.scribd.com[..]9/Real-World-Web-Performance-Scalability http://www.theserverside.com[..]lications&asrc=EM_NLN_3990118&uid=703565 http://www.theserverside.com[..]ionsPart2&asrc=EM_NLN_3990119&uid=703565

Brian Zimmer, architect at travel startup Yapta, highlights some worst practices jeopardizing the growth and scalability of a system:
* The Golden Hammer. Forcing a particular technology to work in ways it was not intended is sometimes counter-productive. Using a database to store key-value pairs is one example. Another example is using threads to program for concurrency.
* Resource Abuse. Manage the availability of shared resources because when they fail, by definition, their failure is experienced pervasively rather than in isolation. For example, connection management to the database through a thread pool.
* Big Ball of Mud. Failure to manage dependencies inhibits agility and scalability.
* Everything or Something. In both code and application dependency management, the worst practice is not understanding the relationships and formulating a model to facilitate their management. Failure to enforce diligent control is a contributing scalability inhibiter.
* Forgetting to check the time. To properly scale a system it is imperative to manage the time alloted for requests to be handled.
* Hero Pattern. One popular solution to the operation issue is a Hero who can and often will manage the bulk of the operational needs. For a large system of many components this approach does not scale, yet it is one of the most frequently-deployed solutions.
* Not automating. A system too dependent on human intervention, frequently the result of having a Hero, is dangerously exposed to issues of reproducibility and hit-by-a-bus syndrome.
* Monitoring. Monitoring, like testing, is often one of the first items sacrificed when time is tight.

http://highscalability.com/scalability-worst-practices

Useful Corporate Blogs that Talk About Scalability - http://highscalability.com[..]l-corporate-blogs-talk-about-scalability

Overview of mapreduce and how it compare with other distributed programming model -http://natishalom.typepad.com[..]0/is-mapreduce-going-to-main-stream.html

Paper of data store at amazon http://www.allthingsdistributed.com/2007/10/amazons_dynamo.html

Discuss how haven't sync can cause performance issue - http://www.theserverside.com[..]lications&asrc=EM_NLN_6273194&uid=703565 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6423457

Discussion about Cloud Based Memory Architectures - http://highscalability.com[..]ased-memory-architectures-next-big-thing

http://highscalability.com[..]alability-and-performance-best-practices

Interview with google engineer - http://www.zdnet.co.uk[..]gle-at-scale-everything-breaks-40093061/

Surprisingly youtube is blocking - http://highscalability.com[..]e-scalability-lessons-in-30-minutes.html

If we are seeing a sustained arrival rate of requests, greater than our system is capable of processing, then something has to give. Having the entire system degrade is not the ideal service we want to give our customers. A better approach would be to process transactions at our systems maximum possible throughput rate, while maintaining a good response time, and rejecting requests above this arrival rate. - http://mechanical-sympathy.blogspot.com.au[..]apply-back-pressure-when-overloaded.html

How twitter scaling - http://www.infoq.com/presentations/Twitter-Analytics

How Reddit scaling - http://www.infoq.com/presentations/scaling-reddit

How Hotjar scaling - https://www.hotjar.com[..]-while-scaling-hotjars-tech-architecture

How infiniteDB prevent locking and IO - http://highscalability.com[..]-scalable-relational-database-manag.html

http://highscalability.com[..]ard-way-about-scaling-a-million-use.html http://martin.kleppmann.com[..]2014/03/26/six-things-about-scaling.html

The experiences of various big companies, about network issues - http://aphyr.com/posts/288-the-network-is-reliable

Stackoverflow, scale without cloud - http://highscalability.com[..]nth-25-servers-and-i.html?SSLoginOk=true

How netflix scale - http://highscalability.com[..]ix-what-happens-when-you-press-play.html

(google search) (amazon search)


Wed Dec 06 22:29:35 HKT 2017 From /weblog/trip/travelling

China


黃山白雪 snow trip - http://go2nature.net/forum/viewtopic.php?p=1118410

鹦哥岭 http://jingdian.tuniu.com/fengjing/20005

Collection of travelling stories - http://www.dchome.net[..]y=lastpost&ascdesc=desc&searchsubmit=yes

***老虎走遍韶關***:“九峰花海、五山雲海”-20120318鐵驢美麗樂昌探路行圖記 - http://bbs.sg169.com[..]cript/forum/view.asp?article_id=32159756

縱橫廣東-賞花之旅(圖文分享) - http://go2nature.net/forum/viewtopic.php?p=1175628#1175628

二零一一年十二月,雲之南 - http://go2nature.net/forum/viewtopic.php?p=1177984#1177984 http://go2nature.net[..]t=0&sid=23fee3b247c030928b3cbdeb22a7c8de

二零一二年四月,荊楚之旅 - http://go2nature.net/forum/viewtopic.php?p=1188875#1188875 http://go2nature.net/forum/viewtopic.php?p=1193096#1193096

探尋潘家口水庫中的長城需要頑強的毅力、良好的視力和一副潛水面罩。1976年唐山大地震後,中國修建了潘家口水庫(水庫位於北京東北方向150英裡處),許多殘敗的村莊因此被淹,半英裡長(約合805米)的長城 體也沒入了水中。 - http://cn.wsj.com/big5/20120924/ahd072013.asp?source=rss

和順順和 - http://go2nature.net/forum/viewtopic.php?p=1206876 http://go2nature.net/forum/viewtopic.php?p=1209760 http://go2nature.net/forum/viewtopic.php?p=1208602

Huashan Mountain - http://www.damncoolpictures.com[..]rlds-most-dangerous-hiking-trail_16.html

2012.10 雲南之旅 Part II - 怒江大峽谷 - http://go2nature.net/forum/viewtopic.php?p=1211959#1211959

墨脱县 - https://www.google.com/search?q=墨脫

經典“白天鵝”裡的經典菜 - http://cn.wsj.com/big5/20121231/DZX090515.asp?source=rss

Bus trip at China - http://www.chinahush.com[..]02/08/brother-public-transits-trip-home/

廣東五邑 - http://thehousenews.com[..]%97%E5%B8%AB%E5%8F%96%E6%99%AF%E5%9C%B0/

贡嘎西南 - http://blogs.exmertec.com/elvis/entry/11

深圳塘朗山 - http://www.discuss.com.hk/viewthread.php?tid=22599363

广东省普宁市 - http://baike.baidu.com/view/89542.htm

新疆 - http://thehousenews.com[..]%87%E6%88%91%E7%9A%84%E6%83%85%E7%B7%A3/ http://thehousenews.com[..]%B2%E5%85%A5%E7%BE%85%E5%B8%83%E6%B3%8A/ http://thehousenews.com[..]or/%E6%96%B0%E7%96%86%E8%80%81%E5%A7%9A/

【遊內蒙】千軍萬馬祭敖包 顯蒙古男兒本色 - http://hk.apple.nextmedia.com[..]om/realtime/supplement/20140729/52742618

甘肅省張掖市臨澤與肅南縣境內的張掖丹霞國家地質公園 - http://www.dcfever.com/news/readnews.php?id=12304&link=guid http://www.mymodernmet.com[..]ational-geological-park-landscape-photos

江西三清山 - http://go2nature.net/forum/viewtopic.php?p=1285767#1285767

神仙彼岸 - 普達措 - http://www.dcfever.com/travel/article.php?id=3822

女兒國瀘沽湖 - http://www.dcfever.com/travel/article.php?id=3806

漫步重慶,尋一場陪都新夢 - http://www.dcfever.com/travel/article.php?id=3993

【中國西部】絕美景點不藏私:給攝影愛好者的天堂旅行路線! - http://blog.kkday.com/2016/06/WestChina.html

http://blog.kkday.com/2016/10/greatwall.html

一次東北之旅,你能看到怎樣的「滿洲」? - https://theinitium.com/article/20170804-initium-travel-manchu/

Native white people in China - https://www.google.com.hk[..]1%94%E4%BB%80%E5%BA%AB%E7%88%BE%E5%B9%B2

喀什位處古絲綢之路南北兩道交會點,在2,100餘年前便是中國與西方經濟、文化交流的重要門戶,商貿往來繁盛一時。 - https://dq.yam.com/post.php?id=8347

即將消失的全球最大藏學院——色達 - http://sportsroad.hk/archives/180086

莫莫格國家級自然保護區位於吉林省白城市鎮賚縣,地處松嫩平原西部,是典型的濕地類型保護區。

(google search) (amazon search)


Wed Dec 06 14:39:32 HKT 2017 From /weblog/software_engineering/team

Vision


Nice story and nice photo, really a master skill to drive the team to have same vision - http://www.taylor.se/blog/2007/06/26/team-vision/

Team Decisions: Consensus versus Consent, closely related to team vision establishing - http://www.maxwideman.com/musings/consensus.htm

https://martinfowler.com/articles/products-over-projects.html

(google search) (amazon search)


Mon Dec 04 16:35:42 HKT 2017 From /weblog/entertainment

game


http://list25.com/25-facts-about-pokemon-you-probably-didnt-know/

http://list25.com[..]ario-characters-you-probably-didnt-know/

(google search) (amazon search)


Sun Dec 03 00:34:58 HKT 2017 From /weblog/computer+science

data structure


Comparing difference set implementation - http://highlyscalable.wordpress.com[..]2/29/ultimate-sets-and-maps-for-java-p1/

https://medium.freecodecamp.org[..]-about-tree-data-structures-bceacb85490c

https://medium.com[..]a-little-help-from-dijkstra-613149fbdc8e

(google search) (amazon search)



Sun Nov 26 19:28:02 HKT 2017 From /weblog/ai

theory


What AI can done - http://www.inma.ucl.ac.be/~francois/blog/entries/entry_562.php

http://machinelearningmastery.com[..]om/a-tour-of-machine-learning-algorithms

How Quora do machine learning - http://www.infoq.com/cn/news/2015/12/Quora-ML https://www.linkedin.com[..]/machine-learning-quora-xavier-amatriain

And NLP - http://www.infoq.com/cn/news/2015/12/Quora-TF-IDF-NLP https://data.quora.com[..]on-Quora-Over-Time-through-Question-Text http://www.infoq.com/cn/news/2015/12/Twitter-api-notion

http://www.infoq.com[..]borative-filtering-for-recommend-systems https://blog.statsbot.co[..]mendation-system-algorithms-ba67f39ac9a3

Spotify’s Discover Weekly: How machine learning finds your new music - https://hackernoon.com[..]arning-finds-your-new-music-19a41ab76efe

http://deeplearning4j.org/

Books:
Artificial Intelligence, foundations of computational agents - http://artint.info/html/ArtInt.html
Deep Learning, An MIT Press book in preparation - http://www.deeplearningbook.org/
http://www.constructedintellect.com[..]com/learning-ai-resources-links-courses/
http://neuralnetworksanddeeplearning.com/

机器学习:现在与未来 - http://www.weibo.com/ttarticle/p/show?id=2309403965913404704823

网站文章如何能自动判定是抄袭?一种算法和实践架构剖析 - http://www.infoq.com[..]rticle-utomatically-determine-plagiarism

neural network - http://pages.cs.wisc.edu/~bolo/shipyard/neural/local.html

Users-AI-application-cases-enter - http://www.infoq.com[..]2016/12/Users-AI-application-cases-enter https://news.ycombinator.com/item?id=13159908

Some more discussion of AlphaGO - https://theinitium.com/article/20170105-opinion-AI-Go/

How self driving car work - http://www.nytimes.com[..]chnology/how-self-driving-cars-work.html

人工智慧 Libratus 是如何擊敗德州撲克高手的? - https://www.inside.com.tw/2017/02/03/how-libratus-work

Good video tutorial from facebook - https://code.facebook.com[..]8519962/artificial-intelligence-revealed

MindMeld’s Guide to Building Conversational Apps - https://www.infoq.com/news/2017/02/mindmeld-guide https://docs.mindmeld.com/index.html

Time Series Anomaly Detection Algorithms, The current state of anomaly detection techniques in plain language - https://blog.statsbot.co[..]nomaly-detection-algorithms-1cef5519aef2

Data science simplified: principles and process - https://becominghuman.ai[..]fied-principles-and-process-b06304d63308

从模型选择到超参调整,六步教你如何为机器学习项目选择算法 - https://mp.weixin.qq.com[..]1f7c33eb4703bd74762a13f6bb7a82cb5af5f#rd

http://horicky.blogspot.hk[..]/08/reinforcement-learning-overview.html

Difference kind of neural network - http://www.infoq.com[..]how-to-read-all-kinds-of-neural-networks

From regression to neural network - https://blog.statsbot.co/machine-learning-algorithms-183cc73197c

(google search) (amazon search)


Fri Nov 24 00:23:49 HKT 2017 From /weblog/ai

resource


https://techburst.io[..]th-machine-learning-fall-17-af5a71204c8b

(google search) (amazon search)


Wed Nov 22 00:28:10 HKT 2017 From /weblog/design

functional


Having functional program in java? http://codemonkeyism.com/functional-programming/

Functional programming in old java, with eclipse template - http://www.javacodegeeks.com[..]functional-programming-with-map-and.html

Functional Programming For The Rest of Us - http://www.defmacro.org/ramblings/fp.html?

collection-pipeline - http://martinfowler.com/articles/collection-pipeline/

Make code composable - https://hackernoon.com[..]ical-functional-programming-6d7932abc58b

(google search) (amazon search)


Sat Nov 18 16:29:46 HKT 2017 From /weblog/java/performance

memory


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

More heap, GC will get slower - http://plumbr.eu[..]ing-heap-size-beware-of-the-cobra-effect

Collection of tools to analysis GC activities - http://www.fasterj.com/tools/gcloganalysers.shtml

Another presentation of performance hint for hotspot or memory - http://www.infoq.com/presentations/Extreme-Performance-Java

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

Discussion and comparison of difference GC at Java 1.7 - http://mechanical-sympathy.blogspot.com.au[..]7/java-garbage-collection-distilled.html . And here is the detail experiment among those difference GC, look like G1 is quite promising - http://java-is-the-new-c.blogspot.com.au[..]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 - https://plumbr.eu/blog/outofmemoryerror-on-overprovisioned-heap

Introduction to metaspace - http://www.infoq.com/articles/Java-PERMGEN-Removed

http://vanillajava.blogspot.com.au[..]optimising-memory-consumption-first.html

Some comments about System.gc() - http://jeremymanson.blogspot.com[..]om/2015/12/why-i-dont-like-systemgc.html

http://blog.takipi.com[..]ng-your-java-garbage-collection-overhead

Logging stop-the-world pauses in JVM - https://plumbr.eu[..]log/logging-stop-the-world-pauses-in-jvm

Why we should put difference app in same VM - http://mydailyjava.blogspot.hk[..]0/generational-disparity-in-garbage.html

Atlassian GC tuning guide - https://confluence.atlassian.com[..]ollection-gc-tuning-guide-461504616.html

Using jemalloc to get to the bottom of a memory leak - https://gdstechnology.blog.gov.uk[..]c-to-get-to-the-bottom-of-a-memory-leak/

Troubleshooting-Java-Memory-Issues - https://www.infoq.com/articles/Troubleshooting-Java-Memory-Issues

Shenandoah Garbage Collector look good - https://www.javacodegeeks.com[..]emory-usage-right-garbage-collector.html

(google search) (amazon search)


Thu Nov 16 15:20:44 HKT 2017 From /weblog/hardware

gpu


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

GPUs don’t support interrupts and exception, and less branches - http://www.futurechips.org/chip-design-for-all/cpu-vs-gpgpu.html

Example of running stuff at GPU - http://fastml.com/running-things-on-a-gpu/

http://www.infoq.com[..]icles/which-gpu-to-get-for-deep-learning

http://www.benfrederickson.com[..]mplicit-matrix-factorization-on-the-gpu/

(google search) (amazon search)


Thu Nov 16 09:55:26 HKT 2017 From /weblog/design

static


I will prefer using static method as less as possible... there is some
side effect you are not expected, like, are you sure it thread safe? static
method easier to have thread problem.

You may take a look at http://debasishg.blogspot.com[..]007/03/making-classes-unit-testable.html , http://www.beust.com/weblog/archives/000173.html and http://discuss.joelonsoftware.com[..]Parent=7972&ixDiscussGroup=3&cReplies=29

Parameter passing vs static accessor: Should I press things around or get from public static instance? - http://groups.yahoo.com/group/refactoring/message/3342

Reason of static method is not overrided - http://groups.google.com[..]thread/ec8b924d60dd4734/99b488aa1f8106c9

Another example of thread problem with static member - http://jroller.com[..]=calendar_dateformat_and_multi_threading

How to mock static method code for testing - http://blog.xebia.com/2007/06/21/mocking-static-calls/

http://googletesting.blogspot.com[..]ic-methods-are-death-to-testability.html

Factory is bad? - http://www.yegor256.com/2017/11/14/static-factory-methods.html

(google search) (amazon search)


Wed Nov 15 11:00:37 HKT 2017 From /weblog/computer+science

CG


smallpt is a global illumination renderer. It is 99 lines of C++, is open source, and renders the above scene using unbiased Monte Carlo path tracing - http://www.kevinbeason.com/smallpt/

Code review Doom - http://fabiensanglard.net/doomIphone/doomClassicRenderer.php

Story of Game development on NES - http://games.greggman.com/game/programming_m_c__kids/

Fast Approximate Anti-Aliasing (FXAA) - http://www.codinghorror.com[..]fast-approximate-anti-aliasing-fxaa.html

Free book - http://www.gabrielgambetta.com[..]-graphics-from-scratch/introduction.html

(google search) (amazon search)



Tue Nov 14 19:26:33 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

http://vimsheet.com

(google search) (amazon search)


Mon Nov 13 00:44:30 HKT 2017 From /weblog/design

API design guideline


This is a message from a management blog, but I think the arguement is also apply API design. In fact, I think most critical difference of good and bad API is knowing which small detail is important and which is not - http://www.goodproductmanager.com[..]er.com/2007/11/08/sweat-the-small-stuff/

Design tips:
http://www.artima.com/weblogs/viewpost.jsp?thread=142428
http://openide.netbeans.org/tutorial/api-design.html
http://www.cincomsmalltalk.com[..]gView?showComments=true&entry=3258158706
http://today.java.net[..]its-of-highly-profitable-developers.html
http://www.infoq.com/news/2007/08/why-api-design-matters
http://www.infoq.com/presentations/effective-api-design
http://neuroning.com/2006/11/19/on-api-design-guidelines

About Compatibility issues
http://wiki.eclipse.org/Evolving_Java-based_APIs

A blog of using interfaces-vs-abstract-classes
http://hoskinator.blogspot.com[..]6/04/interfaces-vs-abstract-classes.html

XOM design overview - http://www.xom.nu/designprinciples.xhtml#d0e309

You need to identify the business value but not pick any tools/design just because it is cool - http://myarch.com/what-is-good-soa

A lot of links here - http://kasparov.skife.org/blog-live/src/api-design-refs.writeback http://discuss.joelonsoftware.com/default.asp?design.4.527465

An introduction of good OSS project to study their source - http://techkriti.wordpress.com[..]com/2007/06/28/learning-from-the-source/

CCCCDPIPE - http://blog.objectmentor.com/articles/2007/08/02/which-came-first

Discussion of why getting feedback quick is important - http://blog.objectmentor.com[..]u-dont-know-until-you-take-the-next-step

Someone saying that routines is the greatest invention in CS, I agree - http://www.codinghorror.com/blog/archives/001129.html

New way of modeling system then layering, The Onion Architecture - http://jeffreypalermo.com/blog/the-onion-architecture-part-1/

SOLID - http://www.lostechies.com[..]of-the-month-march-solid-principles.aspx http://dotnet.dzone.com/news/solid-software-works <-- very good picture! http://www.blackwasp.co.uk/SOLIDPrinciples.aspx

Idempotent, Orthogonality, Immutability - http://www.codinghorror.com/blog/archives/001244.html

Some example of how to driven good API - http://jdegoes.squarespace.com[..]al/2009/5/11/good-api-design-part-3.html

It's not enough to write tests for an API you develop, you have to write unit tests for code that uses your API. When you do, you learn first-hand the hurdles that your users will have to overcome when they try to test their code independently. http://butunclebob.com[..]MichaelFeathers.TheGoldenRuleOfApiDesign

Active interface vs. Passive interface, for me this is another way to under "Tell, don't ask" - http://code-o-matic.blogspot.com[..]-on-api-design-call-stack-as-source.html

The Principles of Good Programming - http://www.artima.com/weblogs/viewpost.jsp?thread=331531

http://net.tutsplus.com[..]software-principles-you-must-understand/

Difference choice of how API evolute with change - http://blog.jooq.org[..]sive-api-evolution-with-java-interfaces/

JUnit's evolving structure. - http://edmundkirwan.com/general/junit.html

API performance contract - http://queue.acm.org/detail.cfm?ref=rss&id=2576968

Consistent naming conventions
Standard terminology
Uniform error responses
Attention to detail (that’s the love part for APIs)
REST APIs that work with only 2 resources and use 4 HTTP verbs (oh, there is so much more to talk about here…)
Avoid API design by way of method-driven approach – that leads you down a slippery slope
- See more at: http://blogs.ancestry.com[..]are-like-parenting/#sthash.Ux1LHMNU.dpuf

http://blog.jooq.org[..]ake-this-mistake-when-developing-an-spi/

Guideline for webapi - https://cloud.google.com/apis/design/

(google search) (amazon search)


Sat Nov 11 11:59:17 HKT 2017 From /weblog/business

facebook


The sale strategy of facebook - http://cn.wsj.com/big5/20120203/atc125226.asp?source=rss

https://medium.com[..]ding-the-facebook-algorithm-e106dc2f7d15

(google search) (amazon search)


Sat Nov 11 11:54:29 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

http://list25.com/25-awesome-egg-facts-you-might-not-know/

二十文錢劏房飯:仿西班牙蛋餅 - https://thestandnews.com[..]%BF%E7%8F%AD%E7%89%99%E8%9B%8B%E9%A4%85/

(google search) (amazon search)


Sat Nov 11 11:02:22 HKT 2017 From /weblog/health/food

mushrooms


https://www.zmescience.com[..]on-medicine/mushrooms-antioxidants-rich/

(google search) (amazon search)


Sat Nov 11 10:51:34 HKT 2017 From /weblog/health/food

alcohol


美國人出書向世界介紹中國白酒 - http://cn.wsj.com/big5/20140311/bog144857.asp?source=rss

https://www.zmescience.com[..]e/drinking-alcohol-cancer-risk-10112017/

(google search) (amazon search)


Fri Nov 10 00:06:22 HKT 2017 From /weblog/learning

communication


https://medium.com[..]ers-i-learned-from-bartending-6a5f36829b

(google search) (amazon search)


Wed Nov 08 00:48:02 HKT 2017 From /weblog/design/examples

netflix


https://medium.com[..]ens-every-time-you-hit-play-3a40c9be254b

(google search) (amazon search)


Tue Nov 07 16:01:37 HKT 2017 From /weblog/java/performance

cases


A case showing java is faster than C++ - https://groups.google.com[..]mgroups#!topic/comp.lang.c++/7aNw3PzPvMI

Case show how to improve GC time spend on a java application - http://javaeesupportpatterns.blogspot.com.au[..]11/java-vm-beware-of-younggen-space.html

A case study of solving thread contention - http://blogs.mulesoft.org[..]fighting-thread-contention-in-your-code/

http://www.cubrid.org[..]-of-java-application-performance-tuning/

Notes about measuring map performance - http://vanillajava.blogspot.com.au[..]ronicle-map-and-yahoo-cloud-service.html

High Performance Java - Binary instead of Objects - John Davies - https://vimeo.com/138956045 http://www.infoq.com/presentations/java-low-latency

jemalloc, look like a really nice tool - https://gdstechnology.blog.gov.uk[..]c-to-get-to-the-bottom-of-a-memory-leak/

story of finding why there is so many GC - http://www.infoq.com[..]horough-jvm-thorough-analysis-ygc-part01

GC thread blocked by system call - http://www.infoq.com/cn/articles/GC-Log-Uncovers-Pause https://www.infoq.com/articles/GC-Log-Uncovers-Pause

We always need benchmark - https://arnaudroger.github.io[..]2017/06/15/forward-vs-backward-loop.html

Investigation and solutions of performance issue caused by GC log - https://engineering.linkedin.com[..]c-pauses-caused-by-background-io-traffic

(google search) (amazon search)


Fri Nov 03 09:41:42 HKT 2017 From /weblog/database/performance

numa


https://technet.microsoft.com[..]m/en-us/library/ms345403(v=sql.105).aspx

https://code.kx.com/q/cookbook/linux-production/

http://jcole.us[..]swap-insanity-and-the-numa-architecture/

(google search) (amazon search)


Fri Nov 03 00:32:07 HKT 2017 From /weblog/trip/travelling

Indonesia


遊記分享 - 詩巴丹神山十二日瘋狂之旅 (更新左最美的神山16/3) - http://go2nature.net[..]t=0&sid=af04440b821a247a2384f9f4e5ec15e1

http://martinfowler.com/bliki/Saba.htmlReally need to go this place once - http://thenatureoftheworlds.blogspot.hk[..]2/pangrango-national-park-indonesia.html

Really need to go this place once - http://thenatureoftheworlds.blogspot.hk[..]2/pangrango-national-park-indonesia.html

【印尼】峇里島十大必去景點和體驗 - http://blog.kkday.com/2016/11/Bali10mustdo.html

http://www.travelettes.net/hidden-paradise-in-indonesia/

(google search) (amazon search)