Wed May 08 16:21:34 HKT 2013
From
/weblog/quote
複雜的事情要簡單做。 簡單的事情要認真做。 認真的事情要重複做。 重複的事情要創造性地做。
Franklin D. Roosevelt - "Men are not prisoners of fate, but only prisoners of their own minds."
Given all that fear and panic, it's no surprise that otherwise rational people sometimes (often!) ignore rational arguments.
"Women who seek to be equal with men lack ambition."
"It's not that I'm so smart, it's just that I stay with problems longer." --Albert Einstein
Friedrich Nietzsche - "It is not a lack of love, but a lack of friendship that makes unhappy marriages."
Denzel Washington - "You pray for rain, you gotta deal with the mud too. That's a part of it."
James Thurber - "Women are wiser than men because they know less and understand more."
Henry David Thoreau - "The price of anything is the amount of life you exchange for it."
Francis Bacon - "A wise man will make more opportunities than he finds."
George Burns - "You can't help getting older, but you don't have to get old."
"You're not your job. You're not how much money you have in the bank. You're not the car you drive." -
http://johnhaller.com/jh/ "In theory there is no difference between theory and practice - in practice there is." -
http://tomicic.de/BlogQuotationOfTheWeek.aspx “At twenty we worry about what others think of us; at forty we don't care about what others think of us; at sixty we discover they haven't been thinking about us at all.”
John Ruskin - "All books are divisible into two classes, the books of the hour, and the books of all time."
Winston Churchill - "this paper by its very length defends itself against the chance of being read".
Niccolo Machiavelli - It is much more secure to be feared than to be loved.
"True love is like ghosts, which everyone talks about and few have seen."
"The only place success comes before work is in the dictionary." - Vince Lombardi
"The past is a ghost, the future a dream, and all we ever have is now." - Bill Cosby
Victor Hugo - "There is nothing like a dream to create the future."
Robert Benchley - "A dog teaches a boy fidelity, perseverance, and to turn around three
times before lying down."
Plato - "There are three classes of men; lovers of wisdom, lovers of honor, and lovers of gain."
Christopher Marlowe - "Money can't buy love, but it improves your bargaining position."
Satchel Paige - "Don't pray when it rains if you don't pray when the sun shines."
Robert Half - "When one teaches, two learn."
Abigail Van Buren - "The less you talk, the more you're listened to."
Eric Butterworth - "Don't go through life, grow through life."
Oswald Chambers - "The whole point of getting things done is knowing what to leave undone."
If you keep talking… You miss the valuable things that other people have to say. Listen, reflect, and then comment. Not before. -
http://www.thekua.com/atwork/2007/10/23/if-you-keep-talking/ Paul Tournier - "Sooner or later, those who win are those who think they can."
Managers manage resources... , People are not resources.
http://digerati-illuminatus.blogspot.com[..]m/2006/12/managers-manage-resources.html "Education is the ability to listen to almost anything without losing your temper or your self-confidence." --Robert Frost
Everyone at these conferences focus on tools like value stream mapping and 5S. But the tools are only 25% of the story. Lean is about people, not about waste. Focus on the employees -- all other benefits are just by-products. -
http://jchyip.blogspot.com[..]ean-is-about-people-not-about-waste.html "Shoot for the moon. Even if you miss, you'll land among the stars." - Les Brown
“Your attitude has been affecting other departments”, he said. “And I want to thank you for it.” -
http://blog.objectmentor.com[..]-attitude-is-affecting-other-departments Defeat is not the worst of failures. Not to have tried is the true failure. - George Edward Woodberry
"Leadership cannot really be taught. It can only be learned." - Harold S. Geneen
"Doubt isn't the opposite of faith; it is an element of faith." - Paul Tillich
所以我认为同学们不要妄自菲薄,见到自己不懂的,或似懂非懂的,就认为是高深学问,畏而敬之。更不要骗自己,不懂却认为是懂。同学要问︰皇帝何来新衣了?不久前一位同学问及他高举的诺斯的某术语何解。我说不懂。我怎会不懂诺斯呢?同事十三年,好几个学期他旁听我的课。诺斯对问题重要性的感受好,这是天赋,是他的本钱,创造术语只不过是他的成名玩意,而这种颇为流行的玩意他的本领只是一般。是的,经济学行内有走不同路线的人,本领各各不同,有些成名,有些被认为是笨蛋。同学不要管这些。要管的是分析,因为这是脑子的操练,对整生的任何一方面都有好处。论分析,其中一个要点是任何术语,甚至任何一个字,其意思或理解都不要放过。坚持要知道,要明白。这样,三几年后同学会体会到学问有真假之分。是的,做学问要执着。 -
http://blog.sina.com.cn/s/blog_47841af70100cw6c.html Tough times never last, but tough people do. - Robert H. Schuller
Emile Zola - "The artist is nothing without the gift, but the gift is nothing without work."
Vivien Leigh - "Life is too short to work so hard."
Plautus - "The day, water, sun, moon, night - I do not have to purchase these things with money."
Benjamin Franklin - "Tell me and I forget. Teach me and I remember. Involve me and I learn."
Pierre Teilhard de Chardin - "The world is round so that friendship may encircle it."
Paulo Coelho - "Be brave. Take risks. Nothing can substitute experience."
‘To achieve great things, two things are needed, a plan and not quite enough time.’ — Leonard Bernstein
Edward G. Bulwer-Lytton - "Talent does what it can; genius does what it must."
Vash Young - "Any experience can be transformed into something of value."
Dwight L. Moody - "If I take care of my character, my reputation will take care of me."
Eric Hoffer "It is easier to love humanity as a whole than to love one's neighbor."
Jose Ortega y Gasset "I am I plus my circumstances."
Jean-Jacques Rousseau "The world of reality has its limits; the world of imagination is boundless."
“An expert is [someone] who has made all the mistakes which can be made, in a narrow field” – Niels Bohr
Robert Lynd - "Knowledge is power only if man knows what facts not to bother with."
Auguste Rodin "I invent nothing, I rediscover."
Ethel Waters "We are all gifted. That is our inheritance."
May Sarton - "Most people have to talk so they won't hear."
Francis Beaumont - "The true way to gain much, is never to desire to gain too much."
Jean Ingelow "I have lived to thank God that all my prayers have not been answered."
Right. Therefore the team must improve from the inside, not from the outside. -
http://tech.groups.yahoo.com[..]/group/extremeprogramming/message/157111 Will Durant - "Education is a progressive discovery of our own ignorance."
Elbert Hubbard - "Do not take life too seriously. You will never get out of it alive."
Thomas Sowell - "It takes considerable knowledge just to realize the extent of your own ignorance."
Joseph Conrad - "Facing it, always facing it, that's the way to get through. Face it."
James A. Garfield - "The truth will set you free, but first it will make you miserable."
John D. Rockefeller - "Don't be afraid to give up the good to go for the great."
(google search)
(amazon search)
Wed Apr 24 13:23:38 HKT 2013
From
/weblog/software_engineering
Introduction to story point -
http://blog.anandvishwanath.in[..]in/2011/03/questioning-story-points.html Imperative vs Declarative Scenarios in User Stories -
http://benmabey.com[..]clarative-scenarios-in-user-stories.html Turn good story to great
1. Get your story right
2. The unwritten rule of what goes inside
3. Choose your words carefully
4. Use acronyms sparingly
5. Convention over OVER-complication
-
http://jcwong.wordpress.com[..]8/08/turning-stories-from-good-to-great/ Checklist for user story -
http://marjoriepries.blogspot.com.au[..]hecklist-for-effective-user-stories.html See the picture in your backlog. -
http://winnipegagilist.blogspot.ca[..]012/03/how-to-create-user-story-map.html INVEST mnemonic to describe the characteristics of good stories:
Independent: the stories can be delivered in any order
Negotiable: the details of what's in the story are co-created by the programmers and customer during development.
Valuable: the functionality is seen as valuable by the customers or users of the software.
Estimable: the programmers can come up with a reasonable estimate for building the story
Small: stories should be built in a small amount of time, usually a matter of person-days. Certainly you should be able to build several stories within one iteration.
Testable: you should be able to write tests to verify the software for this story works correctly.
http://martinfowler.com/bliki/UserStory.html
(google search)
(amazon search)
Tue Apr 16 11:26:55 HKT 2013
From
/weblog/quote
What is the difference of software architect from software designer? About 30k
http://discuss.joelonsoftware.com/default.asp?design.4.491003 The law of conservation of energy - If there is no work, sleep.
Money is not everything. There's Mastercard & Visa.
One should love animals. They are so tasty.
Save water. Shower with your girlfriend.
Love the neighbor. But don?t get caught.
Behind every successful man, there is a man. And behind every unsuccessful man, there are two.
Every man should marry. After all, happiness is not the only thing in life.
The wise never marry, And when they marry they become otherwise.
Success is a relative term. It brings so many relatives.
Never put off the work till tomorrow what you can put off today.
Love is photogenic. It needs darkness to develop.
Children in backseats cause accidents. Accidents in backseats cause children.
Your future depends on your dreams.? So go to sleep.
There should be a better way to start a day than waking up every morning.
Hard work never killed anybody.? But why take the risk?
Work fascinates me.? I can look at it for hours!
God made relatives; Thank God we can choose our friends.
When two?s company, three?s the result!
A dress is like a barbed fence. It protects the premises without restricting the view.
The more you learn, the more you know, The more you know, the more you forget. The more you forget, the less you know. So why bother to learn.
Edward Abbey "Our culture runs on coffee and gasoline, the first often tasting like the second."
Ashley Montagu "The idea is to die young as late as possible."
Richard Roeper - "Even though we're a week and a half away from Thanksgiving, it's beginning to look a lot like Christmas."
Wendy Liebman - "I've been on so many blind dates, I should get a free dog."
Kin Hubbard - "A good listener is usually thinking about something else."
Joseph Conrad - "Gossip is what no one claims to like, but everybody enjoys."
J. P. Morgan - "A man always has two reasons for doing anything: a good reason and the real reason."
William Feather - "The reward of energy, enterprise and thrift is taxes."
(google search)
(amazon search)
Fri Apr 05 17:31:38 HKT 2013
From
/weblog/design/concurrency
How to write safer concurrency code -
http://www.artima.com/forums/flat.jsp?forum=276&thread=178345 reentrant and thread safe functions -
http://kevinrodrigues.com[..]/31/reentrant-and-thread-safe-functions/ Libraries / toolkits for multicore process -
http://www.ddj.com[..]intableArticle.jhtml?articleID=212900103 Introduction -
http://www.ddj.com[..]QQSNDLRSKHSCJUNN2JVN?articleID=212903586 http://www.ddj.com[..]CQSNDLRSKHSCJUNN2JVN?articleID=213001517 Collections of links -
http://dobbscodetalk.com[..]rallel-Or-Get-Left-Behind.html&Itemid=29 Briefing of difference modeling of threading system -
http://www.ddj.com[..]intableArticle.jhtml?articleID=215900465 http://software.intel.com[..]inners-guide-to-multithreaded-libraries/ http://natishalom.typepad.com[..]haloms_blog/2010/08/concurrency-101.html Saving the Failwhale: The Art of Concurrency (Page last updated December 2012, Added 2012-12-26, Author Dhanji R. Prasanna, Publisher informit). Tips:
1) Contention is unavoidable - some resources are just slower, and you must wait for them. The secrets to good concurrency are 1) ensuring that these slower resources are rarely used, and 2) during such waiting periods, giving the faster tiers other work to do so that they continue to be utilized well.
2) Overuse of synchronization constructs such as locks and mutexes leads to systems that perform poorly under load.
3) ConcurrentHashMap is an efficient thread-safe map while HashMap is not thread-safe.
4) ConcurrentHashMap doesn't do away with locks, it still uses them but it uses more than the single global lock, so that threads gain some measure of concurrency. It uses separate locks for partitions, so that multiple threads writing to the map are likely to access different partitions, using separate locks and therefore process their data simultaneously. This technique is known as lock-striping. Efficient striping uses a number of locks proportional to the number of CPU cores in a system.
5) The asynchronous processing model smooths resource spikes by adding requests to a queue which is serviced by a pool of workers - spikes in requests make the queue grow rather than overloading the workers. (The ExecutorService is essentially a thread pool accompanied by a task queue.)
http://www.informit.com/articles/article.aspx?p=1994789 Discussion of using difference model for concurrency -
http://highscalability.com[..]cks-application-architecture-pros-a.html
(google search)
(amazon search)
Tue Mar 26 08:57:15 HKT 2013
From
/weblog/unix
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/ 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 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 Suggestion of Hex editors -
http://www.lainoox.com/looking-for-a-hex-editor/ 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
(google search)
(amazon search)