RSS feed [root] /weblog



title search:


Sat Oct 28 13:15:21 GMT 2023


log down some useful resource

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

Thu Mar 16 01:30:48 GMT 2023 From /weblog/science/math


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

Napoleon was the Best General Ever, and the Math Proves it. -[..]ever-and-the-math-proves-it-86efed303eeb[..]tal-math-tricks-that-will-blow-your-mind

The mind-bendy weirdness of the number zero, explained -[..]/7/5/17500782/zero-number-math-explained

幾何世界新成員:scutoid -

莫比烏斯環 (Möbius strip或Möbius band) -

The most beautiful and important mathematical equations -[..]athematical-equations-beautiful-30112018[..]/the-man-who-invented-modern-probability

Random -[..]ndomness-awarded-prestigious-math-prize/

calculus -[..]-calculus-and-how-to-get-the-hang-of-it/

secret-link-uncovered-between-pure-math-and-physics -[..]-uncovered-between-pure-math-and-physics

What are algorithms, and why we’d best get used to them -[..]ature-post/what-are-algorithms-06042021/

Amazing egg -[..]news-science/why-egg-egg-shape-07092021/

The appeal of the paradox — mankind’s fascination with self-contradicting ideas -[..]scination-with-self-contradicting-ideas/

Abel Prize awarded to pioneering mathematician who built bridges between seemingly different fields of math -[..]ween-seemingly-different-fields-of-math/

Top 6 Statistical Concepts Every Data Scientist Should Know -[..]-data-scientist-should-know-121c923742e1

Conservation laws are very useful for physics. Basically, when a particular measurable property of an isolated physical system does not change in time (and it is conserved), that is described by a conservation law. -[..]/?goal=0_3b5aad2288-11c151253e-242734313

Accuracy errors typically come from systematic errors — as in, your measuring device/method isn’t good enough to detect whatever you aim to detect accurately. Precision errors are more often associated with noise, randomness, electronic errors, temperature, or other factors that affect measurements. Accuracy is the measurement of conformity, precision is the measure of statistical variability. -[..]/science/precision-vs-accuracy-15082022/

A hundred years ago, a physicist tried to convince the world the universe is expanding — through math alone -[..]niverse-is-expanding-through-math-alone/

Statistics for Machine Learning A-Z -[..]r-machine-learning-a-z-66a82fbf2622#3490

What is mathematics, an art or a science? -[..]what-is-mathematics-an-art-or-a-science/

How a magician-mathematician revealed a casino loophole -[..]mathematician-revealed-a-casino-loophole

16 Math memes that make you laugh and then make you think -[..]-make-you-laugh-and-then-make-you-think/

Does Math matter? Math matters both more and less than you think… -[..]glecting-math-at-university-9d937655752b

(google search) (amazon search)

Thu Mar 16 00:27:45 GMT 2023 From /weblog/health



Robert Neubecker
這種方法被稱為“時間觀療法”(Time Perspective Therapy),其中一項內容是判斷一個人擁有以下六種不同觀念中的哪一些,這六種觀念分別是:過去積極時間觀(你喜愛自己的過去);過去消極時間觀 (你有遺憾或過去發生過不幸的事──或者你有現在被你夸大為不幸的事情);現在享受時間觀(你享受當下,喜歡犒賞自己);現在宿命時間觀(你感覺命運不受自己控制,那何必費心去控制呢?);目標導向未來時間觀(你會事先計劃,做任何決定都會權衡利弊);超驗未來時間觀(你過得很好,因為你相信獎賞是死後進天堂)。

People who are more authentic on social media have high levels of well-being -[..]ocial-media-authentic-well-being-952354/

Can positive thinking prolong your life? Science says yes -[..]ngevity-positive-thinking-prolong-health

(google search) (amazon search)

Fri Mar 10 07:42:04 GMT 2023 From /weblog/%E6%97%A5%E5%B8%B8%E7%94%9F%E6%B4%BB


Nice idea - , here is the explanation -[..]/12/how-to-reply-to-freecycle-offer.html

Why is recycling so important? The dirty truth behind our trash -[..]ortant-the-dirty-truth-behind-our-trash/

(google search) (amazon search)

Fri Mar 10 07:11:48 GMT 2023 From /weblog/science/earth


颱風啓示錄(2017年8月的天鴿/帕卡) -

雲圖 -

The most intense firestorms in the world -[..]the-most-intense-firestorms-in-the-world

Wildfire smoke is transforming clouds, making rainfall less likely -[..]rming-clouds-making-rainfall-less-likely

How scientists predict climate scenarios — enter the world of climate models -[..]limate/climate-models-what-how-30082021/

Climate model -[..]ot-so-accurate-they-earned-a-nobel-prize

There's a lot of chaos in the atmosphere. But that doesn't mean we can't model it. -[..]chaotic-how-can-we-trust-climate-models/

You can make it rain anywhere, all you need to do is some cloud seeding. At least, that's the theory. -[..]her/feature-post/cloud-seeding-22042022/

25 Things You May Not Know About Hurricanes -

thundersnow -[..]p::cmp=editorial::add=SubWeekly_20230309

(google search) (amazon search)

Wed Mar 08 13:50:11 GMT 2023 From /weblog/science/physics


The color purple is unlike all others, in a physical sense -[..]ience/color-purple-non-spectral-feature/

What color is a mirror? It’s not a trick question ( white and green ) -[..]or-is-a-mirror-its-not-a-trick-question/

why is snow white -

The Ames Room: The optical illusion that will make you doubt your eyes -[..]feature-post/optical-illusion-ames-room/

(google search) (amazon search)

Wed Mar 08 12:44:43 GMT 2023 From /weblog/java/concurrency


There is a little bit performance cost for threadlocal variable -[..]ost-of-accessing-thread-local-variables/

Look like a useful but less known API -

Forward up discussion -[..]d_id=41473&asrc=EM_NNL_406677&uid=703565 pointing out some problems of using this technique, include similar effect of GLOBLE , possible memory leak

Another discussion in higher level -[..]04/thread-local-a-convenient-abomination , Key is "An object is an abstraction of function. A thread is an abstraction of schedule" , you can read further conclusion at

Protential issue of using threadlocal, one is memory leak and the other is it is that local -[..]hreading-stories-threadlocal-in-web.html[..]shoot-yourself-in-foot-with-threadlocals

The beauty of the design of threadlocal, how it prevent locking and memory leaking -

JEP 429: Extent-Local Variables to Promote Immutability in Java -

An Introduction to Scoped Values in Java -

(google search) (amazon search)

Wed Mar 08 12:41:52 GMT 2023 From /weblog/java/performance


Debugging RAM: Java Garbage Collection - Java Heap Deep Dive, Part 1 -[..]ge-collection-java-heap-deep-dive-part-1

Concurrent Marking in G1 -

What Should I Know About Garbage Collection as a Java Developer? -[..]t-garbage-collection-as-a-java-developer

(google search) (amazon search)

Wed Mar 08 12:38:40 GMT 2023 From /weblog/java/features


The Beauty of Java Optional and Either -

(google search) (amazon search)

Mon Mar 06 11:58:46 GMT 2023 From /weblog/design


The World's Smallest Hash Table -

(google search) (amazon search)

Tue Feb 28 12:51:15 GMT 2023 From /weblog/career


How to win in senior management promote -

How body language affecting career? -[..]/how-to-stop-sabotaging-yourself-at-work

儘管管理理論家提出了警告,但公司提拔錯誤人員的傾向根深蒂固。默認情況下,許多晉升的人本身就是自戀者,他們通過讓上司驚嘆來晉升。愛出風頭的人無恥的自我膨脹為老闆們提供了一個便利的功能,為他們提供了一條捷徑——無論多麼具有誤導性——來尋找提拔候選人。許多經理太忙,無法耐心地發掘真正的人才。畢竟,他們還有其他重要的事情要做——比如給自己的老闆留下好印象。 -[..]day_7&utm_campaign=a.the-economist-today

(google search) (amazon search)

Tue Feb 28 01:49:42 GMT 2023 From /weblog/science


How on Earth did we start using “once in a blue moon”? -

(google search) (amazon search)

Tue Feb 28 00:53:04 GMT 2023 From /weblog/design/interview

Jeff Dean

How Google’s Jeff Dean became the Chuck Norris of the Internet. -[..]me-the-chuck-norris-of-the-internet.html

谷歌最好的程序员 Jeff Dean:我用过 18 种编程语言 -

The Friendship That Made Google Huge -[..]/10/the-friendship-that-made-google-huge

(google search) (amazon search)

Tue Feb 28 00:51:13 GMT 2023 From /weblog/design


Tired with duplicating Try-Catch for resource acquisition? Can try to create proxy method -[..]clarative-synchronization-with-java.html

Discussion of naming of if block -

Factors for choosing a strategic technology stack, runtime performance is not a factor for him, probably good idea -[..]1/04/factors-for-choosing-strategic.html

Don't think , stay focus -

Using class name as variable name is a bad thing? I doubt about it, but interesting idea -

The problem of using generic name -

Beware of where memory allocated, sometime there is no off side for lazy initalization -[..]ou-dare-to-change-hashmap-implementation

Some suggestion of how to code in order to prevent unreproducible bugs -[..]4/02/minimizing-unreproducible-bugs.html

More careful to check null -[..]et-paranoid-java-programming-techniques/

The fewer conditions you test for, the better your code “tastes”. -[..]ding-requirement-99749f37684a#.1glkhe7np

Think twice before running a loop -

Example of how to remove mutation status -

The Best Algorithm No One Knows About, linear randomization -[..]0/the-best-algorithm-no-one-knows-about/

Small change can make big difference -[..]ars-with-a-single-character-code-change/

Eager is Easy, Lazy is Labyrinthine -[..]s-easy-lazy-is-labyrinthine-b12605f13048

How to organize your code? -

When you have to -[..]r-tutorial-from-basics-to-best-practices

Ask HN: What's the most elegant piece of code you've seen? -

(google search) (amazon search)

Fri Feb 24 03:51:44 GMT 2023 From /weblog/trip/travelling


蘇丹之旅 -

博茨瓦纳乔贝国家公园之行 -

莫桑比克的魅力 -

遊搜好行:遊在最前 塞舌爾 -[..]/supplement/travel/art/20130322/18202846

The Complete Guide Of Things To See, Do And Eat In Madeira -[..]-of-things-to-see-do-and-eat-in-madeira/

走過500多年 奈及利亞傳統染坑等待復興 -

scuba-diving-in-egypt -[..]-best-places-to-go-scuba-diving-in-egypt

動物王國的海洋風情 在蒙巴薩遇見肯亞古城 -

看不見的撒哈拉 -

Mozambique, Chimanimani National Park -[..]gorongosa-national-park-wildlife-rebound[..]aces-to-visit/chimanimani-national-park/

Shortly after the discovery of King Tut's tomb, another intact royal burial was found—this time in the shadow of the Great Pyramid at Giza. The golden treasures inside belonged to Hetepheres, a queen of Egypt's Old Kingdom. -[..]s-tomb-lay-untouched-for-over-4000-years

How one of Africa’s great parks is rebounding from war -[..]gorongosa-national-park-wildlife-rebound

Egypt’s new billion-dollar museum is fit for a pharaoh -[..]llar-museum-is-fit-for-a-pharaoh-feature

Just discovered mummies and the upcoming opening of a blockbuster museum make the ancient land worth rediscovering. -[..]l/article/new-reasons-to-visit-egypt-now

These mighty pyramids were built by one of Africa’s earliest civilizations -[..]e/canopy-treetop-tours-malaysia-wildlife[..]ient-egypt-nubian-kingdom-pyramids-sudan

(google search) (amazon search)

Fri Feb 24 03:48:23 GMT 2023 From /weblog/trip/travelling


To see Malaysia’s elusive wildlife, take a walk in the trees -[..]e/canopy-treetop-tours-malaysia-wildlife

(google search) (amazon search)

Fri Feb 24 01:32:10 GMT 2023 From /weblog/history


Egypt -[..]t-not-know-about-ancient-egypt/?view=all[..]ight-leave-you-a-bit-surprised/?view=all

madagascar -[..]-madagascar-you-might-not-know/?view=all

“Our world is moved by the minerals of the Congo,” says Mombilo. “The positive thing I can say is that in all these advanced technologies, you’re talking about the Congo.” -[..]orgotten-mine-that-built-the-atomic-bomb

來自非洲,卻征服全世界的神奇植物「可樂果」 -

King Tut's grandparents were Egypt's royal power couple -[..]rents-tiye-amenhotep-egypt-royal-couple/

Ebou Janha, 102, is the only surviving veteran of 1 Gambia Regiment, which fought for the British against Japanese troops in then-Burma during the Second World War. -[..]f-africas-forgotten-army-gambia-and-wwii

Nefertiti was more than just a pretty face -[..]fertiti-was-more-than-just-a-pretty-face

Thonis-Heracleion, Alexandria, Meroë, and Jenne-Jeno were once centers of sophistication and wealth, but their fortunes waned over time. Although their ancient splendors disappeared from sight, archaeology is now revealing their glorious pasts. -[..]these-four-lost-cities-of-ancient-africa

The Lighthouse of Alexandria towered over the port city founded by Alexander the Great. Guiding sailors for centuries, it stood from the third century B.C. until the Middle Ages. -[..]-brightly-for-more-than-a-thousand-years

Thonis-Heracleion, Alexandria, Meroë, and Jenne-Jeno were once centers of sophistication and wealth, but their fortunes waned over time. Although their ancient splendors disappeared from sight, archaeology is now revealing their glorious pasts. -[..]these-four-lost-cities-of-ancient-africa

The 2,300-year-old royal tomb of a Kushite king appears nearly untouched—and submerged in rising groundwater. What’s an archaeologist to do? -[..]/article/dive-ancient-pyramid-nuri-sudan

The deep, long-lasting, and sometimes bizarre symbolism of the Eye of Horus -[..]s-bizarre-symbolism-of-the-eye-of-horus/

Where did the Queen of Sheba rule—Arabia or Africa? -[..]cle/where-queen-sheba-rule-arabia-africa

How was King Tut’s tomb discovered 100 years ago? Grit and luck -[..]ered-100-years-ago-grit-and-luck-feature

Ancient Egypt gave rise to one of the world's oldest Christian faiths -[..]rticle/coptic-christianity-ancient-egypt

The warriors of this West African kingdom were formidable—and female -[..]e-story-of-the-women-warriors-of-dahomey

The stunning discovery of tutankhamun’s tomb 100 years ago opened a window into egypt’s golden past. Now the world will get a new look at the young pharaoh’s riches. -[..]ower-of-king-tut-as-never-before-feature

Seven days of unwrapping the king -[..]ys-of-unwrapping-king-tutankhamuns-mummy

Mysteries of King Tut: What we still don't know -[..]ries-of-king-tut-what-we-still-dont-know

Ramses II ruled for 70 years and had 100 children. Egypt paid the price. -[..]gypt-children-pharaoh-ramses-family-tree

(google search) (amazon search)

Wed Feb 22 13:52:24 GMT 2023 From /weblog/child


He diagnosis tool was developed over 15 years by Professor Barbaro, and it is mostly aimed at identifying behaviors associated with autism, including infrequent or inconsistent use of:

gestures, like waving and pointing at objects
response to name being called
eye contact
imitation or copying others’ activities
sharing interest with others
pretend play[..]/medicine/tool-diagnose-autism-16032022/

Fever in Babies -

(google search) (amazon search)

Mon Feb 20 12:56:19 GMT 2023 From /weblog/software_engineering


Why code review beats testing: evidence from decades of programming research -[..]the-best-ways-to-find-bugs-in-your-code/

1: Review often
2: Review informal and short
3: Review with difference people
4: Keep it positive
5: Enjoy it[..]/08/06/5-tips-to-make-good-code-reviews/

Why review on naming is important -[..]code-and-code-reviews-whats-in-name.html

Maybe useful... can take a look -[..]ary/11-proven-practices-for-peer-review/

checklist -[..]com/java/code-review-checklist-for-java/[..]-with-our-code-review-checklist-example/

another doc about review -[..]ode-reviews-before-you-even-run-the-code <- also a list

giving-better-code-reviews -[..]ter-code-reviews-16109e0fdd36#.hvku9f942

Measuring software engineering competency -[..]asuring-software-engineering-competency/

code review something you don't know -[..]w-to-review-code-you-dont-understand-pc7[..]ood-code-reviews-and-win-colleagues-2dc8[..]/code-review-best-practices-19e02780015f[..]-for-effective-code-reviews-e30b5c95204a[..]80%9C-4-questions%E2%80%9D-retrospective

How to Make Your Code Reviewer Fall in Love with You -

Stop Nitpicking in Code Reviews -[..]1/02/23/stop-nitpicking-in-code-reviews/

Guide to Conducting Test Automation Code Reviews -[..]g/guide-to-test-automation-code-reviews/

I’ve code reviewed over 750 pull requests at Amazon. Here’s my exact thought process. -[..]-s-my-exact-thought-process-cec7c942a3a4

How to do a code review -

(google search) (amazon search)

Mon Feb 20 12:55:10 GMT 2023 From /weblog/computer+science

data science

Pointers -[..]science-skills-you-need-and-how-get-them

Five Advanced Data Visualizations All Data Scientists Should Know -[..]data-scientists-should-know-e042d5e1f532

101 DATA SCIENCE with Cheat Sheets (ML, DL, Scraping, Python, R, SQL, Maths & Statistics) -[..]thon-r-sql-maths-statistics-ef30b4d786eb

The 10 Statistical Techniques Data Scientists Need to Master -[..]a-scientists-need-to-master-1ef6dbd531f7

(google search) (amazon search)

Mon Feb 20 12:31:33 GMT 2023 From /weblog/trip/hk


山系830 -[..]6026780/channel/seriesdetail?sid=1349459

(google search) (amazon search)

Mon Feb 20 11:41:54 GMT 2023 From /weblog/health/sport


Shoes -[..]slideshow-different-types-athletic-shoes

The 5 Different Types of Running Shoes -

(google search) (amazon search)

Sun Feb 19 12:59:17 GMT 2023 From /weblog/business


Company DNA -[..]12/06/30/or_are_we_just_simply_spiralli/

How Microsoft fail:
1) Bureaucratism - meeting a lot, not focus on customers
2) Employee rankings
3) Low compensation
4) Only Windows and office[..]2/07/18/vanity-fair-ms-lost-decade-part1

The most interesting things I've learned about organisational culture -[..]most-interesting-things-ive-learned.html

Why pointing fingers is unhelpful -[..]/01/19/why-pointing-fingers-is-unhelpful

(google search) (amazon search)

Sat Feb 18 11:04:00 GMT 2023 From /weblog/career


See how much US and europe people earn more than Hong Kong -[..]/average-salary-for-java-developers.html

Some suggestion about estimate payment to developers -[..]1/07/how-much-should-you-pay-developers/

Hint for salary negotiation -

Describing Software Engineers (SWEs) -[..]ing-software-engineers-swes-ff2b4a407f98

The 10 commandments of salary negotiation -

Why you should know how much your coworkers get paid -[..]ld_know_how_much_your_coworkers_get_paid

(google search) (amazon search)

Fri Feb 17 12:22:14 GMT 2023 From /weblog/misc


How to write good user guide?[..]onate_users/2007/03/the_best_user_t.html

Ron Jeffries' opinions of documentation in XP -[..]s-for-writing-an-effective-tutorial.aspx[..]/08/12/documenting-software-architecture

Implementing Docs as Code – Lessons and Benefits -

Top 7 diagrams as code tools for software architecture -[..]s-for-software-architecture-1a9dd0df1815

(google search) (amazon search)