RSS feed [root] /




login:

password:

title search:




 


Wed Feb 17 21:56:00 HKT 2021



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

Wed Dec 30 20:49:03 HKT 2020 From /weblog/java/concurrency

Thread


An API to get the state of a thread, but someone say it is not reliable - http://java.sun.com[..]5.0/docs/api/java/lang/Thread.State.html http://java.silke-wingens.de/2011/03/13/threads-states/?lang=en

http://www.nabble.com[..]readed-programs-tf3627394.html#a10128844

Having said that, I have to note that using Thread#getState() is not
something you can absolutely rely on as the behavior isn't guaranteed
to be the same on all platforms. That is, it can be a useful tool for
debugging and test-driving but not ideal for regression (unit)
testing.

Overview of Java thread - http://java67.blogspot.hk[..]t-thread-and-javalangthread-in-java.html

Loom - https://webtide.com/do-looms-claims-stack-up-part-1/ https://webtide.com/do-looms-claims-stack-up-part-2/

(google search) (amazon search)


Tue Dec 29 22:18:24 HKT 2020 From /weblog/security

password


Make sure all your passwords are 12 characters or more, Use bcrypt or PBKDF2 exclusively to hash anything you need to be secure. - http://www.codinghorror.com/blog/2012/04/speed-hashing.html

Password is only worked for one time - http://www.mobileread.com/forums/showthread.php?threadid=6462

crack captcha - http://sam.zoy.org/pwntcha/

Java password mask - http://java.sun.com[..]er/technicalArticles/Security/pwordmask/

OpenID resource - http://openid.net/ http://www.arachna.com[..]ge/spidaman/20070225#the_openid_snowball http://developers.sun.com/identity/ http://www.theserverside.com[..]_id=46569&asrc=EM_NLN_2030603&uid=703565

OpenID explain - http://ravichodavarapu.blogspot.com/2007/06/what-is-openid.html

A technique that crack winxp password at 3 min - http://www.infoq.com/news/2007/09/rainbowtables

Using image as password - http://dsc.discovery.com/news/briefs/20060306/password_tec.html

The other interesting idea, Evolving Password - http://www.docuverse.com[..]uid=79730e53-1d30-47ae-98e8-abb55201429b

Passphrase Evangelism - http://www.codinghorror.com/blog/archives/000360.html

Rainbow Hash Cracking - http://www.codinghorror.com/blog/archives/000949.html , add salt (token) to prevent it - http://blog.cfelde.com/2011/04/hashing-passwords/

How to make password harder to be guessed, but I guess there should be simple way to guess "this is fun", other than take 2537 years? - http://www.baekdal.com/tips/password-security-usability

Discussion about if some old suggested rules about still valid or not - http://queue.acm.org/detail.cfm?id=2422416&ref=fullrss

Using quantum for password? - https://www.inside.com.tw/2017/03/01/quantum-key-distribution

Salted Password Hashing - Doing it Right - https://crackstation.net/hashing-security.htm http://www.infoq.com[..]w-to-encrypt-the-user-password-correctly

It sound like outsource is better - https://blog.plan99.net/building-account-systems-f790bf5fdbe0

Hash explained - https://dev.to[..]-passwords-in-your-next-application-4e2f

(google search) (amazon search)


Tue Dec 29 22:03:33 HKT 2020 From /weblog/unix

monitoring


Using unhide to check hidden process - http://www.ubuntugeek.com[..]unhide-the-opensource-forensic-tool.html

fuser, check which user using the file or directory - http://www.thegeekstuff.com/2012/02/linux-fuser-command/

htop, look much better than top - http://nerds-central.blogspot.com[..]ght-no-i-am-loving-htop-it-is-linux.html http://www.thegeekstuff.com/2011/09/linux-htop-examples

Tutorial of both lsof and pstack - http://myhowto.org[..]ternals-with-lsof-and-strace/#strace_run

Tutorial of SAR - http://www.thegeekstuff.com/2011/03/sar-examples . In Solaris, you can check SAR from previous days using "sar -f /var/adm/sa/sa30 " ( last 30th )

If we like to see the detail from "ps" command:
solaris: /usr/ucb/ps -awwx , or, use pargs, but need sudo to that user - http://javarevisited.blogspot.com.au[..]ow-long-argument-of-running-process.html
linux: ps -aef --cols [XXXX]

prstat - use prstat instead of ps in solaris http://developers.sun.com/solaris/articles/prstat.html
How to check physical memory on solaris? /usr/sbin/prtconf | grep Memory http://www.dbapool.com/faqs/Q_116.html

Other forensics tools - http://www.forensicfocus.com[..]om/computer-forensics-software-intro.php

Sun monitoring tools collections - http://blogs.sun.com[..]try/solaris_performance_monitoring_tools http://tech.varghees.com[..]sed-system-monitoring-commands-in-linux/

time, basic unix util - http://www.thegeekstuff.com/2013/10/time-command-format

http://www.baptiste-wicht.com[..]ow-level-discovery-cores-cpus-hard-disk/

10 commands for system monitoring - http://techblog.netflix.com[..]1/linux-performance-analysis-in-60s.html http://www.infoq.com/cn/news/2015/12/linux-performance

https://linuxcommando.blogspot.com[..]nxi-swiss-army-knife-for-displaying.html

Top explain - https://dzone.com/articles/different-cpu-times-unixlinux-top

(google search) (amazon search)


Fri Dec 25 22:15:53 HKT 2020 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

https://www.inkandswitch.com/slow-software.html

Compiler Performance and LLVM - http://pling.jondgoodwin.com/post/compiler-performance/

Know Thy Complexities! - https://www.bigocheatsheet.com[..]oW9D2qyCTt3qMftzYxsdz7KJs8LkSeRPWLzguwpA

10 大高性能开发宝石 - https://xie.infoq.cn/article/a0d418bf29915ecad5d5eeab0

How to detect and fix IO related performance issue - https://blog.ycrash.io/2020/11/28/i-o-waiting-cpu-time-wa-in-top/

(google search) (amazon search)


Fri Dec 25 12:40:57 HKT 2020 From /weblog/software_engineering/SCM

git


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

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

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

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

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

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

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

Some advantage of GIT over Mercurial - http://blog.extracheese.org[..]hy-i-switched-to-git-from-mercurial.html

#undo last commit
git reset HEAD^

#show files in a given commit
git show --pretty="format:" --name-only rev_number

#remove untracked files and directories
git clean -f -d

#track remote branch
git branch --track branch_name origin/master

# given you created a new local branch 'branch_name'
# pushes 'branch_name' to 'origin/branch_name', creating the remote branch for you
git push origin branch_name

#delete remote branch
git push origin :remote_branch_name

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

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

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

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

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

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

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

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

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

https://dev.to/hector6872/how-good-are-git-hooks-14ho

https://medium.freecodecamp.org[..]nds-in-less-than-10-minutes-c53922625a73

https://medium.com[..]ployment-for-non-developers-7811dcf508bb

(google search) (amazon search)


Fri Dec 25 11:28:30 HKT 2020 From /weblog/languages

smalltalk


Free tutorial - http://www.iam.unibe.ch/~ducasse/FreeBooks.html http://squeak.preeminent.org/tut2007/html/index.html

History - http://users.ipa.net[..]/design_principles_behind_smalltalk.html

Smalltalk Zoo - https://medium.com[..]troducing-the-smalltalk-zoo-25b64ebeb642

(google search) (amazon search)


Fri Dec 25 11:26:31 HKT 2020 From /weblog/health/food

herb


Peppermint - https://www.webmd.com[..]/ss/slideshow-health-benefits-peppermint

(google search) (amazon search)


Thu Dec 24 08:49:03 HKT 2020 From /weblog/languages/c

misc


The long past of C, how standard growth in C - http://esr.ibiblio.org/?p=4304

The state of C - http://drdobbs.com[..]int?articleId=223000089&siteSectionName=

Reference of C libraries - http://programmers.stackexchange.com[..]out-there-that-include-the-gnu-c-library

Reflection for C - http://altdevblogaday.com[..]/25/reflection-in-c-part-1-introduction/

Interesting idea, integrate C and lisp - http://voodoo-slide.blogspot.com/2010/01/amplifying-c.html

How to prevent code duplication in C - http://groups.google.com[..]read/thread/b4d029524579944e?hl=en&pli=1

Why need header - http://stackoverflow.com[..]7/why-does-c-need-a-separate-header-file

How to monitor file usage - http://www.thegeekstuff.com/2010/04/inotify-c-program-example

C programming questions - http://stevenkobes.com/ctest.html

Taking input for compilation - http://susam.in/blog/compiler-taking-input-while-compiling/

Understand lvalues and rvalues - http://eli.thegreenplace.net[..]standing-lvalues-and-rvalues-in-c-and-c/

http://www.thegeekstuff.com/2012/05/classic-unix-books

You may have something like
switch (x) {
case 1 ... 100:
printf("1 <= %d <= 100\n", x);
break;
http://www.lainoox.com/ranges-in-c-switch-statements/

Tutorial - http://cslibrary.stanford.edu/101/EssentialC.pdf

C Is Not a Low-level Language - https://queue.acm.org/detail.cfm?id=3212479

(google search) (amazon search)


Wed Dec 23 20:46:42 HKT 2020 From /weblog/ai

robot


https://www.zmescience.com[..]ces/the-best-gadgets-and-robots-of-2020/

(google search) (amazon search)


Wed Dec 23 20:45:42 HKT 2020 From /weblog/science

nature


蓋亞假說:美麗的神話 - http://thehousenews.com[..]%8E%E9%BA%97%E7%9A%84%E7%A5%9E%E8%A9%B1/

色彩斑斕的動物 - http://cn.wsj.com/big5/20131203/PHO101146.asp?source=rss

地球上仍存活的最古老生物 - http://cn.wsj.com/big5/20140430/PHO082434.asp?source=rss

deep-sea-mysteries-and-oddities-that-will-leave-you-baffled - http://list25.com[..]nd-oddities-that-will-leave-you-baffled/

rare-flowers-that-are-stunning-to-look-at - http://list25.com/25-rare-flowers-that-are-stunning-to-look-at/

earth-facts-that-might-surprise-you - http://list25.com/25-earth-facts-that-might-surprise-you/

north-pole-facts-most-people-are-not-aware-of - http://list25.com[..]s-most-people-are-not-aware-of/?view=all

earth-facts-you-probably-have-not-considered - http://list25.com[..]u-probably-have-not-considered/?view=all

http://www.attenboroughsreef.com/

amazon - http://list25.com[..]he-most-unique-places-on-earth/?view=all

25 Interesting Tidbits About Deserts That Will Make You Glad For Rain - http://list25.com[..]at-will-make-you-glad-for-rain/?view=all

Antarctica is one of the coldest, most desolate places in the world, and today you're going to learn all about it. - http://www.damncoolpictures.com[..]interesting-facts-that-you-probably.html

great-barrier-reef - http://list25.com[..]-reef-facts-youll-want-to-hear/?view=all

Types of mountains - http://www.zmescience.com[..]st/main-types-mountains-earths-ups-downs

bizarre-ocean-phenomena - http://list25.com[..]ean-phenomena-you-wont-believe-are-real/

http://www.zmescience.com[..]ology/animals-ecology/animal-speed-limit

Ocean - http://list25.com[..]ising-ocean-facts-most-people-dont-know/

Earth - http://list25.com/25-shocking-facts-you-never-knew-about-earth/

sinkholes - https://www.zmescience.com[..]other/science-abc/science-abc-sinkholes/

ecosystems - https://www.zmescience.com[..]what-they-are-and-why-they-are-important

https://www.zmescience.com[..]ture-post/what-is-supervolcano-18032018/

https://list25.com/25-unbelievable-cloud-formations/

https://www.zmescience.com[..]/feature-post/largest-river-world-43223/

https://list25.com/25-longest-rivers-in-the-world/

What is soil? Here’s the inside scoop - https://www.zmescience.com/science/what-is-soil-feature/

What causes an Ice Age? A simple explainer - https://www.zmescience.com/ecology/what-causes-ice-age-14092019/

https://www.zmescience.com[..]water-dont-underestimate-the-connection/

https://www.bbc.com[..]108-why-the-world-is-running-out-of-sand

Even a little extra CO2 is triggering big changes in forests - https://www.zmescience.com[..]o2-is-triggering-big-changes-in-forests/

Christmas flakes: macro photography reveals unique snowflake design - https://www.zmescience.com[..]/great-pics/christmas-snowflakes-photos/

This is the secret behind biodiversity hotspots - https://www.zmescience.com[..]ience/biodiversity-hotspot-source-35243/

Looking back on Palmyra’s recent history, Wegmann sees it as a source of hope. Tropical islands may seem fragile, but they can turn out to be surprisingly robust. The conservation story of Palmyra should remind us of two things, he says: “One, nature is resilient. And two, we as humans can engineer ourselves out of some of the major problems that we’ve caused.” - https://www.bbc.com[..]w-tropical-islands-got-rid-of-their-rats

Rivers can change colors as time passes, and this is linked to ecosystem health - https://www.zmescience.com[..]-and-this-is-linked-to-ecosystem-health/

(google search) (amazon search)


Wed Dec 23 07:38:52 HKT 2020 From /weblog/hardware

raspberry pi


Beginner guide - http://lifehacker.com[..]rs-guide-to-diying-with-the-raspberry-pi

Cool! http://blog.afkham.org[..]uilding-raspberry-pi-cluster-part-2.html

christmas-lights-with-java-and-raspberry-pi - https://www.javaadvent.com[..]s-lights-with-java-and-raspberry-pi.html

(google search) (amazon search)


Mon Dec 21 21:36:51 HKT 2020 From /weblog/health/food

carbs


https://www.consumerreports.org[..]ealthy-eating/are-potatoes-good-for-you/

https://blogs.webmd.com[..]-to-eat-carbs-and-still-lose-weight.html

healthy-carbs - https://www.webmd.com[..]eshow-your-guide-to-eating-healthy-carbs

(google search) (amazon search)


Sun Dec 20 22:24:50 HKT 2020 From /weblog/java/performance

hotspot


How can jruby take advantage of hotspot - http://headius.blogspot.com[..]nderstanding-jvm-jit-and-helping-it.html

Discussion about OOME - http://www.codingthearchitecture.com[..]01/14/jvm_lies_the_outofmemory_myth.html

How hotspot optimization ofoptimzate Polymorphism - http://blogs.azulsystems.com/cliff/2008/03/another-round-o.html

List of tools - http://www.jroller.com/lmchung/entry/java_performance_tools

an issue of hotspot but haven't handle in 5 year - http://bugs.sun.com/view_bug.do?bug_id=6186134

A test for how hotspot inline method - http://java.dzone.com/articles/how-aggressive-method-inlining http://nurkiewicz.blogspot.com.au[..]ggressive-is-method-inlining-in-jvm.html

Various JIT optimization that JVM doing - http://blog.takipi.com[..]uper-useful-jit-optimization-techniques/

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

(google search) (amazon search)


Sat Dec 19 21:29:27 HKT 2020 From /weblog/software_engineering

schedule


https://www.infoq.com/articles/volcano-prioritize-work

https://www.jrothman.com/mpd/2020/12/failure-is-always-an-option/

(google search) (amazon search)


Thu Dec 17 07:36:51 HKT 2020 From /weblog/science

math


About PI - http://thestandnews.com[..]i-%E6%98%AF%E6%B0%B8%E6%81%86-%E4%BA%8C/

Interesting maths - http://list25.com[..]-math-principles-to-challenge-your-brain

Napoleon was the Best General Ever, and the Math Proves it. - https://towardsdatascience.com[..]ever-and-the-math-proves-it-86efed303eeb

https://list25.com[..]tal-math-tricks-that-will-blow-your-mind

The mind-bendy weirdness of the number zero, explained - https://www.vox.com[..]/7/5/17500782/zero-number-math-explained

幾何世界新成員:scutoid - https://dq.yam.com/post.php?id=9695

Pattern of prime - https://www.zmescience.com[..]h/prime-numbers-crystal-lattice-17092018

莫比烏斯環 (Möbius strip或Möbius band) - https://dq.yam.com/post.php?id=10248

The most beautiful and important mathematical equations - https://www.zmescience.com[..]athematical-equations-beautiful-30112018

https://getpocket.com[..]/the-man-who-invented-modern-probability

https://www.zmescience.com/science/types-of-triangles-feature/

Random - https://www.zmescience.com[..]ndomness-awarded-prestigious-math-prize/

calculus - https://www.zmescience.com[..]-calculus-and-how-to-get-the-hang-of-it/

secret-link-uncovered-between-pure-math-and-physics - https://getpocket.com[..]-uncovered-between-pure-math-and-physics

What are prime numbers and why they matter — yes, even in your day to day life - https://www.zmescience.com[..]re-post/what-are-prime-numbers-15122020/

(google search) (amazon search)



Fri Dec 11 21:02:43 HKT 2020 From /weblog/science/animal

insect


Biggest bugs - http://list25.com/25-biggest-bugs-that-will-freak-you-out/

Ant - https://www.quantamagazine.org[..]he-remarkable-self-organization-of-ants/ http://list25.com/25-reasons-that-ants-are-awesome/?view=all http://www.zmescience.com[..]logy/fire-ants-hurricane-harvey-01092017 https://www.zmescience.com[..]tures-to-access-food-and-avoid-drowning/

看星星跳舞來找路 糞金龜比你會導航 - https://dq.yam.com/post.php?id=6056

Bufferfly act snake - http://www.zmescience.com/other/great-pics/mimicry-larvae-snakes

earwigs - http://list25.com/25-facts-about-earwigs/

bed-bugs - https://list25.com/25-most-disturbing-facts-about-bed-bugs/

Bee -
https://www.zmescience.com[..]logy/incredible-pollinating-animals-bees https://www.zmescience.com[..]ence/bees-grasp-numerical-symbols-04234/

cockroaches - https://www.zmescience.com[..]ists-discover-cockroaches-good-survivors

Butterflies - https://www.wildcreatureshongkong.org[..]g.org/single-post/2018/07/10/Butterflies

https://www.zmescience.com[..]hiny-shell-helps-it-hide-in-plain-sight/

https://getpocket.com/explore/item/top-10-myths-about-bedbugs

https://www.nationalgeographic.com[..]chers-collectors-indonesia-market-blumei

https://www.nationalgeographic.com[..]/where-have-all-the-insects-gone-feature

https://www.westernmonarchcount.org/

Photos from inside a tree reveal intimate lives of wild honeybees - https://www.nationalgeographic.com[..]ees-intimate-lives-inside-a-tree-feature

This beetle’s armor can survive being run over by a car. Here’s why it’s nearly indestructible - https://www.zmescience.com[..]car-heres-why-its-nearly-indestructible/

Honey bees use tool made of poop to repel giant hornet attacks - https://www.zmescience.com[..]/honey-bees-feces-hornet-attacks-094532/

(google search) (amazon search)


Fri Dec 04 20:24:52 HKT 2020 From /weblog/trip

roadtrip


https://bestroofbox.com[..]inners-guides/preparing-for-a-road-trip/

(google search) (amazon search)


Wed Dec 02 21:09:08 HKT 2020 From /weblog/design

logging


http://www.codemonkeyism.com[..]08/12/16/7-good-rules-to-log-exceptions/ - look obvious but a lot of program still make those mistakes.

Do you prefer log more or log smarter? It is good to log smart but if you log more, even if you not smart enough, you still have the data. - http://www.codinghorror.com/blog/archives/001192.html

Basic log techniques - http://www.ddj.com/cpp/212902973?cid=RSSfeed_DDJ_All

Advances and Challenges in Log Analysis - http://queue.acm.org/detail.cfm?id=2082137&ref=fullrss

Filtering only useful stacktrace - http://www.javacodegeeks.com[..]ter-irrelevant-stack-trace-lines-in.html

Some suggestion about logging - http://www.javacodegeeks.com[..]/10-tips-proper-application-logging.html and http://googletesting.blogspot.com.au/2013/06/optimal-logging.html

9 Logging Sins in Your Java Applications, the "Logging Plain User Input" is a good one - https://dzone.com[..]9-logging-sins-in-your-java-applications

Java Logging Best Practices: 10+ Tips You Should Know to Get the Most Out of Your Logs - https://sematext.com/blog/java-logging-best-practices/

https://snyk.io[..]ogging-what-should-you-log-and-what-not/

(google search) (amazon search)


Wed Dec 02 21:08:20 HKT 2020 From /weblog/software_engineering/team

Team work


Building trust for team - http://cocreatr.typepad.com[..]nity-of-practice-and-trust-building.html

One nice article about teamwork:

Directing (hi directive + lo supportive, for "enthusiastic beginners")
Supporting (hi directive + hi supportive, for "disillusioned learners")
Coaching (lo directive + hi supportive, for "reluctant contributors")
Delegating (lo directive + lo supportive, for "peak performers")

http://www.cmcrossroads.com[..]bbthreads/showflat.php?Cat=&Number=64809

Is it a people problem or process problem - http://blog.nayima.be[..]01/21/people-problem-or-process-problem/

importance of teamwork - http://www.butunclebob.com[..]leS.MichaelFeathers.ProgrammingOnYourOwn

5 Dysfunctions of a Team - http://www.anticlue.net/archives/000279.htm

A Leaner Start: Reducing Team Setup Times - http://www.infoq.com/articles/pat-kua-onboarding-new , I think article "letting-go" is really insightful - http://www.thekua.com[..]007/09/24/onboarding-strategy-letting-go

A good explanation of what is courage, and the result of didn't have courage. It also mention a bit of how to bulit courage within the team, but not much about it - http://www.xprogramming.com/xpmag/NotXP.htm

A potential issue of focus too much on people, rely on few heros - http://jchyip.blogspot.com[..]12/people-over-process-misses-point.html

Our agile process requires people to spend the effort to listen and talk to each other, working closely. You have to be a people person to like it. It doesn't suit sociopaths. Accidently hiring a sociopath is going to make XP impossible. Trust me, I know. To me this is XP's fundamental weakness. http://jchyip.blogspot.com[..]12/extreme-programmings-fundamental.html

What important is team but not idea - http://www.codinghorror.com[..]g/2010/01/cultivate-teams-not-ideas.html

http://www.infoq.com/news/2011/11/enable-high-performance-teams

http://www.infoq.com/presentations/Co-Making-Great-Products


A Measure of Your Team’s Health: How You Treat Your “Idiot” - http://quickbase.intuit.com[..]r-teams-health-how-you-treat-your-idiot/ http://www.inside.com.tw[..]ur-teams-health-how-you-treat-your-idiot

https://www.infoq.com/news/2018/05/culture-safety-ei-teams

How to Create a Great Team Culture (and Why It Matters) - https://queue.acm.org/detail.cfm?ref=rss&id=3323993

https://noidea.dog/glue

Psychological Safety - https://www.buildsoftwarebetter.org[..]tally-healthy-environment-for-developers https://hbr.org[..]chological-safety-heres-how-to-create-it

‘As long as everyone got a chance to talk, the team did well. But if only one person or a small group spoke all the time, the collective intelligence declined.’ - https://www.nytimes.com[..]its-quest-to-build-the-perfect-team.html

(google search) (amazon search)


Wed Dec 02 06:10:43 HKT 2020 From /weblog/health/food

diet


What is keto - https://www.zmescience.com/science/what-is-keto-052353/

Science Might Have Identified the Optimal Human Diet - https://elemental.medium.com[..]fied-the-optimal-human-diet-ec618b2fb8f2

New Mom’s Guide to Nutrition After Childbirth - https://www.webmd.com/parenting/baby/nutrition-guide-new-moms

Green Mediterranean diet may be even better for losing weight than regular Mediterranean - https://www.zmescience.com[..]osing-weight-than-regular-mediterranean/

(google search) (amazon search)


Sun Nov 29 20:24:10 HKT 2020 From /weblog/%E6%97%A5%E5%B8%B8%E7%94%9F%E6%B4%BB

clean


how-often-clean-this - https://www.webmd.com[..]guides/ss/slideshow-how-often-clean-this

natural-cleaning - https://www.webmd.com[..]s/ss/slideshow-guide-to-natural-cleaning

guide-how-to-wash - https://www.weightedblanketguides.com/guide-how-to-wash

How to Remove Stains and Sanitize - https://www.webmd.com/a-to-z-guides/ss/slideshow-stains-sanitize

Beat Germs All Over Your House - https://www.webmd.com/parenting/ss/slideshow-clean-up-germs

Is This Clean? Common myths and real ways to clean up your act — and your hands - https://www.zmescience.com[..]ays-to-clean-up-your-act-and-your-hands/

https://getpocket.com[..]ng-tips-we-learned-from-pro-housekeepers

下水道堵塞无需花上百澳元 Bunnings10澳分“神器”解决问题! - https://www.auliving.com.au/202005/139027.html

cleaning-with-bleach-harmful-mistakes-youre-making - https://www.webmd.com[..]ith-bleach-harmful-mistakes-youre-making

(1) 小梳打(Baking Soda)

小梳打加水,可以去除浴室的霉菌,也可以用來抹洗廚房,清除異味。
同樣方法也可以用來抹洗馬桶或微波爐等各項用具。
想抹走水龍頭上的污漬,可以用舊牙刷沾牙膏和小梳打刷洗,用水沖乾淨
想加點香氣,則可以滲點檸檬汁或橙汁。
(2) 醋

想去除焗爐或微波爐黏滯的污垢,可混和醋和熱水,輕輕拭走
想通渠的話,可先倒入小蘇打和醋入水管內,加蓋靜候至少10分鐘,然後以熱水沖
清洗玻璃窗 /玻璃器皿,可以混和了食鹽和醋的軟布洗擦

每天20分鐘的日常清潔程序,可讓您度過週末 - https://getpocket.com[..]tine-that-ll-give-you-your-weekends-back

(google search) (amazon search)


Sun Nov 29 20:19:22 HKT 2020 From /weblog/health

pressure


Relaxing tips - http://thehousenews.com[..]%9B%E5%A3%93%E5%B0%8F%E8%B2%BC%E5%A3%AB/


積極思考能夠緩解壓力,這一點毫不令人意外。不過明尼蘇達大學卡爾森管理學院工作及組織學教授、該報告的作者之一格隆布(Theresa Glomb)說,事實證明,積極正面的思考可能比用人單位目前采取的很多抗擊工作壓力的方法都更實用,這些方法包括提供靈活的工作安排或創建新的組織結構圖,而這實際上并沒有改變辦公室的日常生活。

寫下一天中發生的好事本身就很有價值,但格隆布說,真正的影響來自寫下為何這些事會讓你感覺良好。這樣做會凸顯出一個人在工作生活中獲得的資源和支持,比如技能、幽默感、讓你感到鼓舞的家人、或是一個富有同情心的老板。 - http://cn.wsj.com/big5/20130909/eoe073851.asp?source=rss

5 Things We Need For Sustainable Performance At Work - http://www.targetprocess.com[..]for-sustainable-performance-at-work.html

什么時候說“不”? - http://cn.wsj.com/big5/20140528/lif112842.asp?source=rss

界(刀)手 - http://thehousenews.com[..]%92%E5%BA%A6%E4%BD%9C%E6%8E%A2%E8%A8%8E/


【朝朝正能量】七招減壓秘技讓你活在當下 - http://hk.apple.nextmedia.com[..]realtime/international/20140724/52721787

【健康online】deadline趕到無氣抖 上班族5招踢走工作壓力 - http://hk.apple.nextmedia.com/realtime/news/20161227/56084029

Burnout - https://www.psychologytoday.com/au/basics/burnout https://lifelabs.psychologies.co.uk[..]u-can-do-to-replenish-your-mental-energy https://codingsans.com/blog/developer-burnout

“In many ways, anxiety is the experiential component of stress, and it’s dependent on how a person perceives that external source of stress,” - https://elemental.medium.com[..]-between-stress-and-anxiety-dc0f24a9ab0d

Short, 10-minute periods of massage or rest can help ease stress - https://www.zmescience.com[..]t-massage-rest-relaxation-stress-262452/

How to be resilient - https://psyche.co[..]-muscle-build-it-up-when-life-pulls-down

(google search) (amazon search)


Sun Nov 29 19:50:48 HKT 2020 From /christianity

moral


道德議題應該包括甚麼? - https://faith100.media[..]%2594%259a%25e9%25ba%25bc%25ef%25bc%259f

The surprising downsides of empathy - https://www.bbc.com[..]icle/20200930-can-empathy-be-bad-for-you

What other cultures can teach us about forgiveness - https://www.bbc.com[..]-cultures-can-teach-us-about-forgiveness


不過,最快速的方式還是定期支付當地的宗教司薪水,並根據他的KPI指標——也就是每個月成功將多少人變成穆斯林——給獎金。柯林感慨:「於是,有的宗教司因為懶惰,又想撈到好處,便利用原住民的無知,直接將整個部落的村民名字全部記下,沒收他們的身分證再進行改造,然後以『拯救最後的迷失靈魂』為名義,使他們在一夜之間變成穆斯林。」
輟學背後,更多的是原住民長期無法獲得主流社會認同的現實。沙克耀坦言,很多原住民小孩不愛上學,並不是因為他討厭學習,而是學校的課堂教育和課外活動,從來都不談論原住民的歷史與文化。「我們學的永遠是馬來人歷史、伊斯蘭世界史、13世紀(馬來)王朝的歷史,在那之前的呢?原住民的歷史呢?他們(歷史課本)甚至談論原始人如『霹靂人(Perak man)』的歷史,但不知道什麼原因,從原始人一下子跳到13世紀,中間的缺口去了哪裏?」(編註:「霹靂人」是馬來西亞考古學者於1991年在霹靂州的玲瓏谷發現的古人類遺骸,證明馬來西亞早在1萬年多前,就已經有人居住。玲瓏谷也是非洲大陸以外最古老的人類遺址。)
腓 2:6 他本有神的形像,不以自己與神同等為強奪的;
腓 2:7 反倒虛己,取了奴僕的形像,成為人的樣式;
腓 2:8 既有人的樣子,就自己卑微,存心順服,以至於死,且死在十字架上。

https://theinitium.com[..]laysia-batek-indigenous-people-deaths-2/

(google search) (amazon search)


Sat Nov 28 20:26:50 HKT 2020 From /weblog/science

plant


mushrooms - http://list25.com/25-most-bizarre-mushrooms-you-need-to-see/

dangerous-plants - http://list25.com[..]us-plants-that-could-seriously-hurt-you/

Amber - http://www.zmescience.com/science/long-process-amber-creation

Rock - http://www.zmescience.com[..]her/feature-post/rock-cycle-geoloby-abc/

What is the Wilson Cycle, builder and slayer of supercontinents? - http://www.zmescience.com/science/what-is-wilson-cycle/

clouds - http://www.zmescience.com/science/types-of-clouds/

What is THC: the main psychoactive ingredient in marijuana - http://www.zmescience.com/science/what-is-thc-433/

different-types-plants-world - https://www.zmescience.com[..]nce/biology/different-types-plants-world

oldest tree - http://www.zmescience.com/science/old-oldest-tree

Sugar - https://www.zmescience.com[..]her/feature-post/sugar-history-00432432/

淺談水龍捲 - https://thestandnews.com[..]%BA%E8%AB%87%E6%B0%B4%E9%BE%8D%E6%8D%B2/

The science behind why leaves change color in autumn - https://www.zmescience.com/ecology/autumn-leaves-color-432432/

螞蟻與植物竟然共同演化,原來為了… - https://thestandnews.com[..]96-%E5%8E%9F%E4%BE%86%E7%82%BA%E4%BA%86/

https://www.zmescience.com[..]e/gingko-biloba-immortal-lifespan-05264/

https://www.biodiversitylibrary.org/

受盡威脅,也要幫這些台灣植物活下去:走訪福山植物園 - https://theinitium.com[..]00605-culture-botanical-garden-taiwan-1/

Some trees may 'social distance' to avoid disease - https://www.nationalgeographic.com[..]020/07/tree-crown-shyness-forest-canopy/

https://www.zmescience.com[..]her/feature-post/why-is-the-ocean-salty/

The rare plants that ‘bleed’ nickel - https://www.bbc.com[..]ia-the-plants-that-mine-poisonous-metals

Deepest Dive Ever Under Antarctica Reveals a Shockingly Vibrant World - https://www.nationalgeographic.com[..]-frozen-beauty-exotic-creatures-penguins

As the Antarctic Peninsula heats up, the rules of life there are being ripped apart. Alarmed scientists aren’t sure what all the change means for the future. - https://www.nationalgeographic.com[..]ula-ice-melt-krill-penguin-leopard-seal/

why-leaves-fall-down-and-why-it-happens-during-autumn - https://www.zmescience.com[..]l-down-and-why-it-happens-during-autumn/

http://www.plantsoftheworldonline.org/

(google search) (amazon search)